Class: Azure::DataShare::Mgmt::V2019_11_01::Models::ProviderShareSubscription

Inherits:
ProxyDto
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb

Overview

A provider side share subscription data transfer object.

Instance Attribute Summary collapse

Attributes inherited from ProxyDto

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#consumer_emailString

subscription



17
18
19
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 17

def consumer_email
  @consumer_email
end

#consumer_nameString

subscription



21
22
23
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 21

def consumer_name
  @consumer_name
end

#consumer_tenant_nameString

subscription



25
26
27
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 25

def consumer_tenant_name
  @consumer_tenant_name
end

#created_atDateTime



28
29
30
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 28

def created_at
  @created_at
end

#provider_emailString



31
32
33
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 31

def provider_email
  @provider_email
end

#provider_nameString



34
35
36
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 34

def provider_name
  @provider_name
end

#share_subscription_object_idString



40
41
42
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 40

def share_subscription_object_id
  @share_subscription_object_id
end

#share_subscription_statusShareSubscriptionStatus

subscription. Possible values include: ‘Active’, ‘Revoked’, ‘SourceDeleted’, ‘Revoking’



45
46
47
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 45

def share_subscription_status
  @share_subscription_status
end

#shared_atDateTime



37
38
39
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 37

def shared_at
  @shared_at
end

Class Method Details

.mapperObject

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



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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 52

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'
          }
        },
        consumer_email: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.consumerEmail',
          type: {
            name: 'String'
          }
        },
        consumer_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.consumerName',
          type: {
            name: 'String'
          }
        },
        consumer_tenant_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.consumerTenantName',
          type: {
            name: 'String'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        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'
          }
        },
        shared_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sharedAt',
          type: {
            name: 'DateTime'
          }
        },
        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