CopyReference
class CopyReference extends BaseModel (View source)
Properties
protected array | $data | Model Data | from BaseModel |
protected DateTime | $expires | The expiration date of the copy reference | |
protected string | $reference | The copy reference | |
protected FileMetadata|FolderMetadata | $metadata | File or Folder Metadata |
Methods
__construct(array $data)
Create a new CopyReference instance
mixed|null
__set(string $property, string $value)
Handle calls to undefined properties.
from BaseModel
setMetadata()
Set Metadata
getExpirationDate()
Get the expiration date of the copy reference
getMetadata()
The metadata for the file/folder
string
getReference()
Get the copy reference
Details
at line line 36
__construct(array $data)
Create a new CopyReference instance
mixed|null
__get(string $property)
Handle calls to undefined properties.
Check whether an item with the key, same as the property, is available on the data property.
mixed|null
__set(string $property, string $value)
Handle calls to undefined properties.
Sets an item with the defined value on the data property.
at line line 47
protected
setMetadata()
Set Metadata
at line line 60
getExpirationDate()
Get the expiration date of the copy reference
at line line 70
FileMetadata|FolderMetadata
getMetadata()
The metadata for the file/folder
at line line 80
string
getReference()
Get the copy reference