azure-storage-table\src\Table\Models\Entity.php
You may obtain a copy of the License at https://github.com/azure/azure-storage-php/LICENSE
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
PHP version 5
- Author
- Azure Storage PHP SDK
- Category
- Microsoft
- Copyright
- 2016 Microsoft Corporation
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
- Package
- MicrosoftAzure\Storage\Table\Models
\MicrosoftAzure\Storage\Table\Models\Entity
- Author
- Azure Storage PHP SDK
- Category
- Microsoft
- Copyright
- 2016 Microsoft Corporation
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
Methods

addProperty(string $name, string $edmType, mixed $value, string $rawValue = '') : voidCreates new entity property.
| Name | Type | Description |
|---|---|---|
| $name | string | The property name. |
| $edmType | string | The property edm type. |
| $value | mixed | The property value. |
| $rawValue | string | The raw value of the property. |

getProperty(string $name) : \MicrosoftAzure\Storage\Table\Models\Property | nullGets property object from the entity properties.
| Name | Type | Description |
|---|---|---|
| $name | string | The property name. |
| Type | Description |
|---|---|
| \MicrosoftAzure\Storage\Table\Models\Property | null |

getPropertyValue(string $name) : mixedGets property value and if the property name is not found return null.
| Name | Type | Description |
|---|---|---|
| $name | string | The property name. |
| Type | Description |
|---|---|
| mixed |

setETag(string $etag) : voidSets entity etag.
| Name | Type | Description |
|---|---|---|
| $etag | string | The entity ETag value. |

setPartitionKey(string $partitionKey) : voidSets entity PartitionKey.
| Name | Type | Description |
|---|---|---|
| $partitionKey | string | The entity PartitionKey value. |

setProperties(array $properties) : voidSets the entity properties array.
| Name | Type | Description |
|---|---|---|
| $properties | array | The entity properties. |

setProperty(string $name, \MicrosoftAzure\Storage\Table\Models\Property $property) : voidSets entity property.
| Name | Type | Description |
|---|---|---|
| $name | string | The property name. |
| $property | \MicrosoftAzure\Storage\Table\Models\Property | The property object. |

setPropertyValue(string $name, mixed $value) : mixedSets property value.
Note that if the property doesn't exist, it doesn't add it. Use addProperty to add new properties.
| Name | Type | Description |
|---|---|---|
| $name | string | The property name. |
| $value | mixed | The property value. |
| Type | Description |
|---|---|
| mixed |

setRowKey(string $rowKey) : voidSets entity RowKey.
| Name | Type | Description |
|---|---|---|
| $rowKey | string | The entity RowKey value. |