class Azure::DataShare::Mgmt::V2019_11_01::Models::ConsumerInvitation

A consumer Invitation data transfer object.

Attributes

data_set_count[RW]

@return [Integer] Number of data sets in a share

description[RW]

@return [String] Description shared when the invitation was created

invitation_id[RW]

@return [String] Unique id of the invitation.

invitation_status[RW]

@return [InvitationStatus] The status of the invitation. Possible values include: 'Pending', 'Accepted', 'Rejected', 'Withdrawn'

location[RW]

@return [String] invitation location

provider_email[RW]

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

provider_name[RW]

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

provider_tenant_name[RW]

@return [String] Tenant name of the provider who created the resource

responded_at[RW]

@return [DateTime] The time the recipient responded to the invitation.

sent_at[RW]

@return [DateTime] Gets the time at which the invitation was sent.

share_name[RW]

@return [String] Gets the source share Name.

terms_of_use[RW]

@return [String] Terms of use shared when the invitation was created

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 ConsumerInvitation class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-11-01/generated/azure_mgmt_datashare/models/consumer_invitation.rb, line 63
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConsumerInvitation',
    type: {
      name: 'Composite',
      class_name: 'ConsumerInvitation',
      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'
          }
        },
        data_set_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.dataSetCount',
          type: {
            name: 'Number'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        invitation_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.invitationId',
          type: {
            name: 'String'
          }
        },
        invitation_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.invitationStatus',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.location',
          type: {
            name: 'String'
          }
        },
        provider_email: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.providerEmail',
          type: {
            name: 'String'
          }
        },
        provider_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.providerName',
          type: {
            name: 'String'
          }
        },
        provider_tenant_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.providerTenantName',
          type: {
            name: 'String'
          }
        },
        responded_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.respondedAt',
          type: {
            name: 'DateTime'
          }
        },
        sent_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sentAt',
          type: {
            name: 'DateTime'
          }
        },
        share_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareName',
          type: {
            name: 'String'
          }
        },
        terms_of_use: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.termsOfUse',
          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