Class: Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ShareSubscription
- Inherits:
-
ProxyDto
- Object
- ProxyDto
- Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ShareSubscription
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb
Overview
A share subscription data transfer object.
Instance Attribute Summary collapse
-
#created_at ⇒ DateTime
Time at which the share subscription was created.
-
#created_by ⇒ String
The user who created the share subscription.
-
#invitation_id ⇒ String
The invitation id.
-
#provisioning_state ⇒ ProvisioningState
subscription.
-
#share_description ⇒ String
Description of share.
-
#share_kind ⇒ ShareKind
Kind of share.
-
#share_name ⇒ String
Name of the share.
-
#share_sender ⇒ String
Sender of the share.
-
#share_sender_company_name ⇒ String
Company name of the share sender.
-
#share_subscription_status ⇒ ShareSubscriptionStatus
subscription.
-
#share_terms ⇒ String
Terms of a share.
Attributes inherited from ProxyDto
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ShareSubscription class as Ruby Hash.
Instance Attribute Details
#created_at ⇒ DateTime
16 17 18 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 16 def created_at @created_at end |
#created_by ⇒ String
19 20 21 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 19 def created_by @created_by end |
#invitation_id ⇒ String
22 23 24 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 22 def invitation_id @invitation_id end |
#provisioning_state ⇒ ProvisioningState
subscription. Possible values include: ‘Succeeded’, ‘Creating’, ‘Deleting’, ‘Moving’, ‘Failed’
27 28 29 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 27 def provisioning_state @provisioning_state end |
#share_description ⇒ String
30 31 32 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 30 def share_description @share_description end |
#share_kind ⇒ ShareKind
33 34 35 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 33 def share_kind @share_kind end |
#share_name ⇒ String
36 37 38 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 36 def share_name @share_name end |
#share_sender ⇒ String
39 40 41 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 39 def share_sender @share_sender end |
#share_sender_company_name ⇒ String
42 43 44 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 42 def share_sender_company_name @share_sender_company_name end |
#share_subscription_status ⇒ ShareSubscriptionStatus
subscription. Possible values include: ‘Active’, ‘Revoked’, ‘SourceDeleted’, ‘Revoking’
47 48 49 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 47 def share_subscription_status @share_subscription_status end |
#share_terms ⇒ String
50 51 52 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 50 def share_terms @share_terms end |
Class Method Details
.mapper ⇒ Object
Mapper for ShareSubscription class as Ruby Hash. This will be used for serialization/deserialization.
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 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/share_subscription.rb', line 57 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ShareSubscription', type: { name: 'Composite', class_name: 'ShareSubscription', 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' } }, created_by: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdBy', type: { name: 'String' } }, invitation_id: { client_side_validation: true, required: true, serialized_name: 'properties.invitationId', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, share_description: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.shareDescription', type: { name: 'String' } }, share_kind: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.shareKind', type: { name: 'String' } }, share_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.shareName', type: { name: 'String' } }, share_sender: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.shareSender', type: { name: 'String' } }, share_sender_company_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.shareSenderCompanyName', type: { name: 'String' } }, share_subscription_status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.shareSubscriptionStatus', type: { name: 'String' } }, share_terms: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.shareTerms', type: { name: 'String' } } } } } end |