class Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ProviderShareSubscription

A provider side share subscription data transfer object.

Attributes

company[RW]

@return [String] Company name

created_at[RW]

@return [DateTime] created at

created_by[RW]

@return [String] Created by

share_subscription_object_id[RW]

@return [String] share Subscription Object Id

share_subscription_status[RW]

@return [ShareSubscriptionStatus] Gets the status of share subscription. Possible values include: 'Active', 'Revoked', 'SourceDeleted', 'Revoking'

shared_at[RW]

@return [DateTime] Shared at

shared_by[RW]

@return [String] Shared by

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ProviderShareSubscription',
    type: {
      name: 'Composite',
      class_name: 'ProviderShareSubscription',
      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'
          }
        },
        company: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.company',
          type: {
            name: 'String'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        created_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdBy',
          type: {
            name: 'String'
          }
        },
        shared_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sharedAt',
          type: {
            name: 'DateTime'
          }
        },
        shared_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sharedBy',
          type: {
            name: 'String'
          }
        },
        share_subscription_object_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareSubscriptionObjectId',
          type: {
            name: 'String'
          }
        },
        share_subscription_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareSubscriptionStatus',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end