LinkedDataItem
in package
implements
ModelInterface, ArrayAccess, JsonSerializable
LinkedDataItem Class Doc Comment
Tags
Table of Contents
Interfaces
- ModelInterface
- Interface abstracting model access.
- ArrayAccess
- JsonSerializable
Constants
- DISCRIMINATOR : mixed = null
Properties
- $attributeMap : array<string, string>
- Array of attributes where the key is the local name, and the value is the original name
- $container : array<string|int, mixed>
- Associative array for storing property values
- $getters : array<string, string>
- Array of attributes to getter functions (for serialization of requests)
- $openAPIFormats : array<string, string|null>
- Array of property to format mappings. Used for (de)serialization
- $openAPIModelName : string
- The original name of the model.
- $openAPINullables : array<string, bool>
- Array of nullable properties. Used for (de)serialization
- $openAPINullablesSetToNull : array<string, bool>
- If a nullable field gets set to null, insert it here
- $openAPITypes : array<string, string>
- Array of property to type mappings. Used for (de)serialization
- $setters : array<string, string>
- Array of attributes to setter functions (for deserialization of responses)
Methods
- __construct() : mixed
- Constructor
- __toString() : string
- Gets the string presentation of the object
- attributeMap() : array<string, string>
- Array of attributes where the key is the local name, and the value is the original name
- getCategory() : string|null
- Gets category
- getClient() : string|null
- Gets client
- getCopiedFromItemUuid() : string|null
- Gets copied_from_item_uuid
- getCreatedBy() : string|null
- Gets created_by
- getCreatedByUuid() : string|null
- Gets created_by_uuid
- getCreatedOn() : string|null
- Gets created_on
- getCreatedOnVersion() : int|null
- Gets created_on_version
- getCreatedOnVersionUuid() : string|null
- Gets created_on_version_uuid
- getDeclaredMediaType() : string|null
- Gets declared_media_type
- getDeletedBy() : string|null
- Gets deleted_by
- getDeletedOn() : string|null
- Gets deleted_on
- getDeletedReason() : string|null
- Gets deleted_reason
- getDescription() : string|null
- Gets description
- getExtension() : string|null
- Gets extension
- getFacts() : LinkedDataFacts|null
- Gets facts
- getFamily() : string|null
- Gets family
- getFilename() : string|null
- Gets filename
- getIdentifierSystem() : string|null
- Gets identifier_system
- getKind() : LinkedDataKind|null
- Gets kind
- getMediaType() : string|null
- Gets media_type
- getModelName() : string
- The original name of the model.
- getModifiedBy() : string|null
- Gets modified_by
- getModifiedOn() : string|null
- Gets modified_on
- getOwnerNodeUuid() : string|null
- Gets owner_node_uuid
- getPurgedOn() : string|null
- Gets purged_on
- getReplacesItemUuid() : string|null
- Gets replaces_item_uuid
- getRowVersion() : int|null
- Gets row_version
- getScanStatus() : string|null
- Gets scan_status
- getSha256() : string|null
- Gets sha256
- getSize() : int|null
- Gets size
- getters() : array<string, string>
- Array of attributes to getter functions (for serialization of requests)
- getTextPreview() : string|null
- Gets text_preview
- getTitle() : string|null
- Gets title
- getUuid() : string|null
- Gets uuid
- getValidUntil() : string|null
- Gets valid_until
- getValue() : string|null
- Gets value
- getVia() : LinkedDataVia|null
- Gets via
- isNullable() : bool
- Checks if a property is nullable
- isNullableSetToNull() : bool
- Checks if a nullable property is set to null.
- jsonSerialize() : mixed
- Serializes the object to a value that can be serialized natively by json_encode().
- listInvalidProperties() : array<string|int, string>
- Show all the invalid properties with reasons.
- offsetExists() : bool
- Returns true if offset exists. False otherwise.
- offsetGet() : mixed|null
- Gets offset.
- offsetSet() : void
- Sets value based on offset.
- offsetUnset() : void
- Unsets offset.
- openAPIFormats() : array<string, string|null>
- Array of property to format mappings. Used for (de)serialization
- openAPITypes() : array<string, string>
- Array of property to type mappings. Used for (de)serialization
- setCategory() : $this
- Sets category
- setClient() : $this
- Sets client
- setCopiedFromItemUuid() : $this
- Sets copied_from_item_uuid
- setCreatedBy() : $this
- Sets created_by
- setCreatedByUuid() : $this
- Sets created_by_uuid
- setCreatedOn() : $this
- Sets created_on
- setCreatedOnVersion() : $this
- Sets created_on_version
- setCreatedOnVersionUuid() : $this
- Sets created_on_version_uuid
- setDeclaredMediaType() : $this
- Sets declared_media_type
- setDeletedBy() : $this
- Sets deleted_by
- setDeletedOn() : $this
- Sets deleted_on
- setDeletedReason() : $this
- Sets deleted_reason
- setDescription() : $this
- Sets description
- setExtension() : $this
- Sets extension
- setFacts() : $this
- Sets facts
- setFamily() : $this
- Sets family
- setFilename() : $this
- Sets filename
- setIdentifierSystem() : $this
- Sets identifier_system
- setKind() : $this
- Sets kind
- setMediaType() : $this
- Sets media_type
- setModifiedBy() : $this
- Sets modified_by
- setModifiedOn() : $this
- Sets modified_on
- setOwnerNodeUuid() : $this
- Sets owner_node_uuid
- setPurgedOn() : $this
- Sets purged_on
- setReplacesItemUuid() : $this
- Sets replaces_item_uuid
- setRowVersion() : $this
- Sets row_version
- setScanStatus() : $this
- Sets scan_status
- setSha256() : $this
- Sets sha256
- setSize() : $this
- Sets size
- setters() : array<string, string>
- Array of attributes to setter functions (for deserialization of responses)
- setTextPreview() : $this
- Sets text_preview
- setTitle() : $this
- Sets title
- setUuid() : $this
- Sets uuid
- setValidUntil() : $this
- Sets valid_until
- setValue() : $this
- Sets value
- setVia() : $this
- Sets via
- toHeaderValue() : string
- Gets a header-safe presentation of the object
- valid() : bool
- Validate all the properties in the model return true if all passed
- openAPINullables() : array<string, bool>
- Array of nullable properties
- fillIfExists() : void
- Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the $this->openAPINullablesSetToNull array
- getOpenAPINullablesSetToNull() : array<string, bool>
- Array of nullable field names deliberately set to null
- setOpenAPINullablesSetToNull() : void
- Setter - Array of nullable field names deliberately set to null
Constants
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
Properties
$attributeMap
Array of attributes where the key is the local name, and the value is the original name
protected
static array<string, string>
$attributeMap
= ['uuid' => 'uuid', 'owner_node_uuid' => 'owner_node_uuid', 'kind' => 'kind', 'title' => 'title', 'description' => 'description', 'category' => 'category', 'value' => 'value', 'text_preview' => 'text_preview', 'identifier_system' => 'identifier_system', 'sha256' => 'sha256', 'media_type' => 'media_type', 'declared_media_type' => 'declared_media_type', 'family' => 'family', 'extension' => 'extension', 'filename' => 'filename', 'size' => 'size', 'facts' => 'facts', 'valid_until' => 'valid_until', 'replaces_item_uuid' => 'replaces_item_uuid', 'copied_from_item_uuid' => 'copied_from_item_uuid', 'created_on' => 'created_on', 'created_by' => 'created_by', 'created_by_uuid' => 'created_by_uuid', 'created_on_version_uuid' => 'created_on_version_uuid', 'created_on_version' => 'created_on_version', 'via' => 'via', 'client' => 'client', 'modified_on' => 'modified_on', 'modified_by' => 'modified_by', 'row_version' => 'row_version', 'scan_status' => 'scan_status', 'deleted_on' => 'deleted_on', 'deleted_by' => 'deleted_by', 'deleted_reason' => 'deleted_reason', 'purged_on' => 'purged_on']
$container
Associative array for storing property values
protected
array<string|int, mixed>
$container
= []
$getters
Array of attributes to getter functions (for serialization of requests)
protected
static array<string, string>
$getters
= ['uuid' => 'getUuid', 'owner_node_uuid' => 'getOwnerNodeUuid', 'kind' => 'getKind', 'title' => 'getTitle', 'description' => 'getDescription', 'category' => 'getCategory', 'value' => 'getValue', 'text_preview' => 'getTextPreview', 'identifier_system' => 'getIdentifierSystem', 'sha256' => 'getSha256', 'media_type' => 'getMediaType', 'declared_media_type' => 'getDeclaredMediaType', 'family' => 'getFamily', 'extension' => 'getExtension', 'filename' => 'getFilename', 'size' => 'getSize', 'facts' => 'getFacts', 'valid_until' => 'getValidUntil', 'replaces_item_uuid' => 'getReplacesItemUuid', 'copied_from_item_uuid' => 'getCopiedFromItemUuid', 'created_on' => 'getCreatedOn', 'created_by' => 'getCreatedBy', 'created_by_uuid' => 'getCreatedByUuid', 'created_on_version_uuid' => 'getCreatedOnVersionUuid', 'created_on_version' => 'getCreatedOnVersion', 'via' => 'getVia', 'client' => 'getClient', 'modified_on' => 'getModifiedOn', 'modified_by' => 'getModifiedBy', 'row_version' => 'getRowVersion', 'scan_status' => 'getScanStatus', 'deleted_on' => 'getDeletedOn', 'deleted_by' => 'getDeletedBy', 'deleted_reason' => 'getDeletedReason', 'purged_on' => 'getPurgedOn']
$openAPIFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string, string|null>
$openAPIFormats
= ['uuid' => 'uuid', 'owner_node_uuid' => 'uuid', 'kind' => null, 'title' => null, 'description' => null, 'category' => null, 'value' => null, 'text_preview' => null, 'identifier_system' => null, 'sha256' => null, 'media_type' => null, 'declared_media_type' => null, 'family' => null, 'extension' => null, 'filename' => null, 'size' => 'int64', 'facts' => null, 'valid_until' => null, 'replaces_item_uuid' => 'uuid', 'copied_from_item_uuid' => 'uuid', 'created_on' => null, 'created_by' => null, 'created_by_uuid' => 'uuid', 'created_on_version_uuid' => 'uuid', 'created_on_version' => null, 'via' => null, 'client' => null, 'modified_on' => null, 'modified_by' => null, 'row_version' => null, 'scan_status' => null, 'deleted_on' => null, 'deleted_by' => null, 'deleted_reason' => null, 'purged_on' => null]
$openAPIModelName
The original name of the model.
protected
static string
$openAPIModelName
= 'LinkedDataItem'
$openAPINullables
Array of nullable properties. Used for (de)serialization
protected
static array<string, bool>
$openAPINullables
= ['uuid' => false, 'owner_node_uuid' => false, 'kind' => false, 'title' => false, 'description' => false, 'category' => false, 'value' => false, 'text_preview' => false, 'identifier_system' => false, 'sha256' => false, 'media_type' => false, 'declared_media_type' => false, 'family' => false, 'extension' => false, 'filename' => false, 'size' => false, 'facts' => false, 'valid_until' => false, 'replaces_item_uuid' => false, 'copied_from_item_uuid' => false, 'created_on' => false, 'created_by' => false, 'created_by_uuid' => false, 'created_on_version_uuid' => false, 'created_on_version' => false, 'via' => false, 'client' => false, 'modified_on' => false, 'modified_by' => false, 'row_version' => false, 'scan_status' => false, 'deleted_on' => false, 'deleted_by' => false, 'deleted_reason' => false, 'purged_on' => false]
$openAPINullablesSetToNull
If a nullable field gets set to null, insert it here
protected
array<string, bool>
$openAPINullablesSetToNull
= []
$openAPITypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string, string>
$openAPITypes
= ['uuid' => 'string', 'owner_node_uuid' => 'string', 'kind' => '\BIMworks\Model\LinkedDataKind', 'title' => 'string', 'description' => 'string', 'category' => 'string', 'value' => 'string', 'text_preview' => 'string', 'identifier_system' => 'string', 'sha256' => 'string', 'media_type' => 'string', 'declared_media_type' => 'string', 'family' => 'string', 'extension' => 'string', 'filename' => 'string', 'size' => 'int', 'facts' => '\BIMworks\Model\LinkedDataFacts', 'valid_until' => 'string', 'replaces_item_uuid' => 'string', 'copied_from_item_uuid' => 'string', 'created_on' => 'string', 'created_by' => 'string', 'created_by_uuid' => 'string', 'created_on_version_uuid' => 'string', 'created_on_version' => 'int', 'via' => '\BIMworks\Model\LinkedDataVia', 'client' => 'string', 'modified_on' => 'string', 'modified_by' => 'string', 'row_version' => 'int', 'scan_status' => 'string', 'deleted_on' => 'string', 'deleted_by' => 'string', 'deleted_reason' => 'string', 'purged_on' => 'string']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string, string>
$setters
= ['uuid' => 'setUuid', 'owner_node_uuid' => 'setOwnerNodeUuid', 'kind' => 'setKind', 'title' => 'setTitle', 'description' => 'setDescription', 'category' => 'setCategory', 'value' => 'setValue', 'text_preview' => 'setTextPreview', 'identifier_system' => 'setIdentifierSystem', 'sha256' => 'setSha256', 'media_type' => 'setMediaType', 'declared_media_type' => 'setDeclaredMediaType', 'family' => 'setFamily', 'extension' => 'setExtension', 'filename' => 'setFilename', 'size' => 'setSize', 'facts' => 'setFacts', 'valid_until' => 'setValidUntil', 'replaces_item_uuid' => 'setReplacesItemUuid', 'copied_from_item_uuid' => 'setCopiedFromItemUuid', 'created_on' => 'setCreatedOn', 'created_by' => 'setCreatedBy', 'created_by_uuid' => 'setCreatedByUuid', 'created_on_version_uuid' => 'setCreatedOnVersionUuid', 'created_on_version' => 'setCreatedOnVersion', 'via' => 'setVia', 'client' => 'setClient', 'modified_on' => 'setModifiedOn', 'modified_by' => 'setModifiedBy', 'row_version' => 'setRowVersion', 'scan_status' => 'setScanStatus', 'deleted_on' => 'setDeletedOn', 'deleted_by' => 'setDeletedBy', 'deleted_reason' => 'setDeletedReason', 'purged_on' => 'setPurgedOn']
Methods
__construct()
Constructor
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
Associated array of property values initializing the model
__toString()
Gets the string presentation of the object
public
__toString() : string
Return values
stringattributeMap()
Array of attributes where the key is the local name, and the value is the original name
public
static attributeMap() : array<string, string>
Return values
array<string, string>getCategory()
Gets category
public
getCategory() : string|null
Return values
string|nullgetClient()
Gets client
public
getClient() : string|null
Return values
string|nullgetCopiedFromItemUuid()
Gets copied_from_item_uuid
public
getCopiedFromItemUuid() : string|null
Return values
string|nullgetCreatedBy()
Gets created_by
public
getCreatedBy() : string|null
Return values
string|nullgetCreatedByUuid()
Gets created_by_uuid
public
getCreatedByUuid() : string|null
Return values
string|nullgetCreatedOn()
Gets created_on
public
getCreatedOn() : string|null
Return values
string|nullgetCreatedOnVersion()
Gets created_on_version
public
getCreatedOnVersion() : int|null
Return values
int|nullgetCreatedOnVersionUuid()
Gets created_on_version_uuid
public
getCreatedOnVersionUuid() : string|null
Return values
string|nullgetDeclaredMediaType()
Gets declared_media_type
public
getDeclaredMediaType() : string|null
Return values
string|nullgetDeletedBy()
Gets deleted_by
public
getDeletedBy() : string|null
Return values
string|nullgetDeletedOn()
Gets deleted_on
public
getDeletedOn() : string|null
Return values
string|nullgetDeletedReason()
Gets deleted_reason
public
getDeletedReason() : string|null
Return values
string|nullgetDescription()
Gets description
public
getDescription() : string|null
Return values
string|nullgetExtension()
Gets extension
public
getExtension() : string|null
Return values
string|nullgetFacts()
Gets facts
public
getFacts() : LinkedDataFacts|null
Return values
LinkedDataFacts|nullgetFamily()
Gets family
public
getFamily() : string|null
Return values
string|nullgetFilename()
Gets filename
public
getFilename() : string|null
Return values
string|nullgetIdentifierSystem()
Gets identifier_system
public
getIdentifierSystem() : string|null
Return values
string|nullgetKind()
Gets kind
public
getKind() : LinkedDataKind|null
Return values
LinkedDataKind|nullgetMediaType()
Gets media_type
public
getMediaType() : string|null
Return values
string|nullgetModelName()
The original name of the model.
public
getModelName() : string
Return values
stringgetModifiedBy()
Gets modified_by
public
getModifiedBy() : string|null
Return values
string|nullgetModifiedOn()
Gets modified_on
public
getModifiedOn() : string|null
Return values
string|nullgetOwnerNodeUuid()
Gets owner_node_uuid
public
getOwnerNodeUuid() : string|null
Return values
string|nullgetPurgedOn()
Gets purged_on
public
getPurgedOn() : string|null
Return values
string|nullgetReplacesItemUuid()
Gets replaces_item_uuid
public
getReplacesItemUuid() : string|null
Return values
string|nullgetRowVersion()
Gets row_version
public
getRowVersion() : int|null
Return values
int|nullgetScanStatus()
Gets scan_status
public
getScanStatus() : string|null
Return values
string|nullgetSha256()
Gets sha256
public
getSha256() : string|null
Return values
string|nullgetSize()
Gets size
public
getSize() : int|null
Return values
int|nullgetters()
Array of attributes to getter functions (for serialization of requests)
public
static getters() : array<string, string>
Return values
array<string, string>getTextPreview()
Gets text_preview
public
getTextPreview() : string|null
Return values
string|nullgetTitle()
Gets title
public
getTitle() : string|null
Return values
string|nullgetUuid()
Gets uuid
public
getUuid() : string|null
Return values
string|nullgetValidUntil()
Gets valid_until
public
getValidUntil() : string|null
Return values
string|nullgetValue()
Gets value
public
getValue() : string|null
Return values
string|nullgetVia()
Gets via
public
getVia() : LinkedDataVia|null
Return values
LinkedDataVia|nullisNullable()
Checks if a property is nullable
public
static isNullable(string $property) : bool
Parameters
- $property : string
Return values
boolisNullableSetToNull()
Checks if a nullable property is set to null.
public
isNullableSetToNull(string $property) : bool
Parameters
- $property : string
Return values
booljsonSerialize()
Serializes the object to a value that can be serialized natively by json_encode().
public
jsonSerialize() : mixed
Tags
Attributes
- #[ReturnTypeWillChange]
Return values
mixed —Returns data which can be serialized by json_encode(), which is a value of any type other than a resource.
listInvalidProperties()
Show all the invalid properties with reasons.
public
listInvalidProperties() : array<string|int, string>
Return values
array<string|int, string> —invalid properties with reasons
offsetExists()
Returns true if offset exists. False otherwise.
public
offsetExists(int|string $offset) : bool
Parameters
- $offset : int|string
-
Offset
Return values
booloffsetGet()
Gets offset.
public
offsetGet(int|string $offset) : mixed|null
Parameters
- $offset : int|string
-
Offset
Attributes
- #[ReturnTypeWillChange]
Return values
mixed|nulloffsetSet()
Sets value based on offset.
public
offsetSet(int|string|null $offset, mixed $value) : void
Parameters
- $offset : int|string|null
-
Offset
- $value : mixed
-
Value to be set
offsetUnset()
Unsets offset.
public
offsetUnset(int|string $offset) : void
Parameters
- $offset : int|string
-
Offset
openAPIFormats()
Array of property to format mappings. Used for (de)serialization
public
static openAPIFormats() : array<string, string|null>
Return values
array<string, string|null>openAPITypes()
Array of property to type mappings. Used for (de)serialization
public
static openAPITypes() : array<string, string>
Return values
array<string, string>setCategory()
Sets category
public
setCategory(string|null $category) : $this
Parameters
- $category : string|null
-
category
Return values
$thissetClient()
Sets client
public
setClient(string|null $client) : $this
Parameters
- $client : string|null
-
The client that added it (its X-BIMworks-Client label)
Return values
$thissetCopiedFromItemUuid()
Sets copied_from_item_uuid
public
setCopiedFromItemUuid(string|null $copied_from_item_uuid) : $this
Parameters
- $copied_from_item_uuid : string|null
-
copied_from_item_uuid
Return values
$thissetCreatedBy()
Sets created_by
public
setCreatedBy(string|null $created_by) : $this
Parameters
- $created_by : string|null
-
created_by
Return values
$thissetCreatedByUuid()
Sets created_by_uuid
public
setCreatedByUuid(string|null $created_by_uuid) : $this
Parameters
- $created_by_uuid : string|null
-
created_by_uuid
Return values
$thissetCreatedOn()
Sets created_on
public
setCreatedOn(string|null $created_on) : $this
Parameters
- $created_on : string|null
-
created_on
Return values
$thissetCreatedOnVersion()
Sets created_on_version
public
setCreatedOnVersion(int|null $created_on_version) : $this
Parameters
- $created_on_version : int|null
-
created_on_version
Return values
$thissetCreatedOnVersionUuid()
Sets created_on_version_uuid
public
setCreatedOnVersionUuid(string|null $created_on_version_uuid) : $this
Parameters
- $created_on_version_uuid : string|null
-
created_on_version_uuid
Return values
$thissetDeclaredMediaType()
Sets declared_media_type
public
setDeclaredMediaType(string|null $declared_media_type) : $this
Parameters
- $declared_media_type : string|null
-
The media type the client declared, when it differs
Return values
$thissetDeletedBy()
Sets deleted_by
public
setDeletedBy(string|null $deleted_by) : $this
Parameters
- $deleted_by : string|null
-
deleted_by
Return values
$thissetDeletedOn()
Sets deleted_on
public
setDeletedOn(string|null $deleted_on) : $this
Parameters
- $deleted_on : string|null
-
deleted_on
Return values
$thissetDeletedReason()
Sets deleted_reason
public
setDeletedReason(string|null $deleted_reason) : $this
Parameters
- $deleted_reason : string|null
-
deleted_reason
Return values
$thissetDescription()
Sets description
public
setDescription(string|null $description) : $this
Parameters
- $description : string|null
-
description
Return values
$thissetExtension()
Sets extension
public
setExtension(string|null $extension) : $this
Parameters
- $extension : string|null
-
extension
Return values
$thissetFacts()
Sets facts
public
setFacts(LinkedDataFacts|null $facts) : $this
Parameters
- $facts : LinkedDataFacts|null
-
facts
Return values
$thissetFamily()
Sets family
public
setFamily(string|null $family) : $this
Parameters
- $family : string|null
-
The file family (see the policy), for example PDF or IMAGES
Return values
$thissetFilename()
Sets filename
public
setFilename(string|null $filename) : $this
Parameters
- $filename : string|null
-
filename
Return values
$thissetIdentifierSystem()
Sets identifier_system
public
setIdentifierSystem(string|null $identifier_system) : $this
Parameters
- $identifier_system : string|null
-
identifier_system
Return values
$thissetKind()
Sets kind
public
setKind(LinkedDataKind|null $kind) : $this
Parameters
- $kind : LinkedDataKind|null
-
kind
Return values
$thissetMediaType()
Sets media_type
public
setMediaType(string|null $media_type) : $this
Parameters
- $media_type : string|null
-
The media type the server found
Return values
$thissetModifiedBy()
Sets modified_by
public
setModifiedBy(string|null $modified_by) : $this
Parameters
- $modified_by : string|null
-
modified_by
Return values
$thissetModifiedOn()
Sets modified_on
public
setModifiedOn(string|null $modified_on) : $this
Parameters
- $modified_on : string|null
-
modified_on
Return values
$thissetOwnerNodeUuid()
Sets owner_node_uuid
public
setOwnerNodeUuid(string|null $owner_node_uuid) : $this
Parameters
- $owner_node_uuid : string|null
-
The model the item belongs to, whose rights decide who may change it
Return values
$thissetPurgedOn()
Sets purged_on
public
setPurgedOn(string|null $purged_on) : $this
Parameters
- $purged_on : string|null
-
purged_on
Return values
$thissetReplacesItemUuid()
Sets replaces_item_uuid
public
setReplacesItemUuid(string|null $replaces_item_uuid) : $this
Parameters
- $replaces_item_uuid : string|null
-
replaces_item_uuid
Return values
$thissetRowVersion()
Sets row_version
public
setRowVersion(int|null $row_version) : $this
Parameters
- $row_version : int|null
-
Send it with UpdateLinkedData
Return values
$thissetScanStatus()
Sets scan_status
public
setScanStatus(string|null $scan_status) : $this
Parameters
- $scan_status : string|null
-
scan_status
Return values
$thissetSha256()
Sets sha256
public
setSha256(string|null $sha256) : $this
Parameters
- $sha256 : string|null
-
The SHA-256 of a file or a long text, hex
Return values
$thissetSize()
Sets size
public
setSize(int|null $size) : $this
Parameters
- $size : int|null
-
Bytes
Return values
$thissetters()
Array of attributes to setter functions (for deserialization of responses)
public
static setters() : array<string, string>
Return values
array<string, string>setTextPreview()
Sets text_preview
public
setTextPreview(string|null $text_preview) : $this
Parameters
- $text_preview : string|null
-
The first KiB of a long text (which downloads whole)
Return values
$thissetTitle()
Sets title
public
setTitle(string|null $title) : $this
Parameters
- $title : string|null
-
title
Return values
$thissetUuid()
Sets uuid
public
setUuid(string|null $uuid) : $this
Parameters
- $uuid : string|null
-
uuid
Return values
$thissetValidUntil()
Sets valid_until
public
setValidUntil(string|null $valid_until) : $this
Parameters
- $valid_until : string|null
-
A date, yyyy-mm-dd
Return values
$thissetValue()
Sets value
public
setValue(string|null $value) : $this
Parameters
- $value : string|null
-
The URL, the identifier, or a short text
Return values
$thissetVia()
Sets via
public
setVia(LinkedDataVia|null $via) : $this
Parameters
- $via : LinkedDataVia|null
-
via
Return values
$thistoHeaderValue()
Gets a header-safe presentation of the object
public
toHeaderValue() : string
Return values
stringvalid()
Validate all the properties in the model return true if all passed
public
valid() : bool
Return values
bool —True if all properties are valid
openAPINullables()
Array of nullable properties
protected
static openAPINullables() : array<string, bool>
Return values
array<string, bool>fillIfExists()
Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the $this->openAPINullablesSetToNull array
private
fillIfExists(string $variableName, array<string|int, mixed> $fields, mixed $defaultValue) : void
Parameters
- $variableName : string
- $fields : array<string|int, mixed>
- $defaultValue : mixed
getOpenAPINullablesSetToNull()
Array of nullable field names deliberately set to null
private
getOpenAPINullablesSetToNull() : array<string, bool>
Return values
array<string, bool>setOpenAPINullablesSetToNull()
Setter - Array of nullable field names deliberately set to null
private
setOpenAPINullablesSetToNull(array<string, bool> $openAPINullablesSetToNull) : void
Parameters
- $openAPINullablesSetToNull : array<string, bool>