Class: Azure::DataShare::Mgmt::V2019_11_01::Models::ProviderShareSubscription
- Inherits:
-
ProxyDto
- Object
- ProxyDto
- Azure::DataShare::Mgmt::V2019_11_01::Models::ProviderShareSubscription
- 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
-
#consumer_email ⇒ String
subscription.
-
#consumer_name ⇒ String
subscription.
-
#consumer_tenant_name ⇒ String
subscription.
-
#created_at ⇒ DateTime
Created at.
-
#provider_email ⇒ String
Email of the provider who created the share.
-
#provider_name ⇒ String
Name of the provider who created the share.
-
#share_subscription_object_id ⇒ String
Share Subscription Object Id.
-
#share_subscription_status ⇒ ShareSubscriptionStatus
subscription.
-
#shared_at ⇒ DateTime
Shared at.
Attributes inherited from ProxyDto
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProviderShareSubscription class as Ruby Hash.
Instance Attribute Details
#consumer_email ⇒ String
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_name ⇒ String
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_name ⇒ String
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_at ⇒ DateTime
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_email ⇒ String
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_name ⇒ String
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_id ⇒ String
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_status ⇒ ShareSubscriptionStatus
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_at ⇒ DateTime
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
.mapper ⇒ Object
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 |