class Azure::Storage::Mgmt::V2021_01_01::Models::TagProperty

A tag of the LegalHold of a blob container.

Attributes

object_identifier[RW]

@return [String] Returns the Object ID of the user who added the tag.

tag[RW]

@return [String] The tag value.

tenant_id[RW]

@return [String] Returns the Tenant ID that issued the token for the user who added the tag.

timestamp[RW]

@return [DateTime] Returns the date and time the tag was added.

upn[RW]

@return [String] Returns the User Principal Name of the user who added the tag.

Private Class Methods

mapper() click to toggle source

Mapper for TagProperty class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2021-01-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