class Azure::DataShare::Mgmt::V2019_11_01::Models::Share

A share data transfer object.

Attributes

created_at[RW]

@return [DateTime] Time at which the share was created.

description[RW]

@return [String] Share description.

provisioning_state[RW]

@return [ProvisioningState] Gets or sets the provisioning state. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed'

share_kind[RW]

@return [ShareKind] Share kind. Possible values include: 'CopyBased', 'InPlace'

terms[RW]

@return [String] Share terms.

user_email[RW]

@return [String] Email of the user who created the resource

user_name[RW]

@return [String] Name of the user who created the resource

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Share',
    type: {
      name: 'Composite',
      class_name: 'Share',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        share_kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.shareKind',
          type: {
            name: 'String'
          }
        },
        terms: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.terms',
          type: {
            name: 'String'
          }
        },
        user_email: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.userEmail',
          type: {
            name: 'String'
          }
        },
        user_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.userName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end