Class: Azure::Storage::Mgmt::V2018_02_01::Models::TagProperty
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2018_02_01::Models::TagProperty
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb
Overview
A tag of the LegalHold of a blob container.
Instance Attribute Summary collapse
-
#object_identifier ⇒ String
Returns the Object ID of the user who added the tag.
-
#tag ⇒ String
The tag value.
-
#tenant_id ⇒ String
user who added the tag.
-
#timestamp ⇒ DateTime
Returns the date and time the tag was added.
-
#upn ⇒ String
the tag.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TagProperty class as Ruby Hash.
Instance Attribute Details
#object_identifier ⇒ String
Returns the Object ID of the user who added the tag.
22 23 24 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb', line 22 def object_identifier @object_identifier end |
#tag ⇒ String
Returns The tag value.
16 17 18 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb', line 16 def tag @tag end |
#tenant_id ⇒ String
user who added the tag.
26 27 28 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb', line 26 def tenant_id @tenant_id end |
#timestamp ⇒ DateTime
Returns the date and time the tag was added.
19 20 21 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb', line 19 def @timestamp end |
#upn ⇒ String
the tag.
30 31 32 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb', line 30 def upn @upn end |
Class Method Details
.mapper ⇒ Object
Mapper for TagProperty class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TagProperty', type: { name: 'Composite', class_name: 'TagProperty', model_properties: { tag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tag', type: { name: 'String' } }, timestamp: { client_side_validation: true, required: false, read_only: true, serialized_name: 'timestamp', type: { name: 'DateTime' } }, object_identifier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'objectIdentifier', type: { name: 'String' } }, tenant_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tenantId', type: { name: 'String' } }, upn: { client_side_validation: true, required: false, read_only: true, serialized_name: 'upn', type: { name: 'String' } } } } } end |