Class: Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ProviderShareSubscription
- Inherits:
-
ProxyDto
- Object
- ProxyDto
- Azure::DataShare::Mgmt::V2018_11_01_preview::Models::ProviderShareSubscription
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb
Overview
A provider side share subscription data transfer object.
Instance Attribute Summary collapse
-
#company ⇒ String
Company name.
-
#created_at ⇒ DateTime
Created at.
-
#created_by ⇒ String
Created by.
-
#share_subscription_object_id ⇒ String
Share Subscription Object Id.
-
#share_subscription_status ⇒ ShareSubscriptionStatus
subscription.
-
#shared_at ⇒ DateTime
Shared at.
-
#shared_by ⇒ String
Shared by.
Attributes inherited from ProxyDto
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProviderShareSubscription class as Ruby Hash.
Instance Attribute Details
#company ⇒ String
16 17 18 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 16 def company @company end |
#created_at ⇒ DateTime
19 20 21 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 19 def created_at @created_at end |
#created_by ⇒ String
22 23 24 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 22 def created_by @created_by end |
#share_subscription_object_id ⇒ String
31 32 33 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 31 def share_subscription_object_id @share_subscription_object_id end |
#share_subscription_status ⇒ ShareSubscriptionStatus
subscription. Possible values include: ‘Active’, ‘Revoked’, ‘SourceDeleted’, ‘Revoking’
36 37 38 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 36 def share_subscription_status @share_subscription_status end |
#shared_at ⇒ DateTime
25 26 27 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 25 def shared_at @shared_at end |
#shared_by ⇒ String
28 29 30 |
# File 'lib/2018-11-01-preview/generated/azure_mgmt_datashare/models/provider_share_subscription.rb', line 28 def shared_by @shared_by end |
Class Method Details
.mapper ⇒ Object
Mapper for ProviderShareSubscription class as Ruby Hash. This will be used for serialization/deserialization.
43 44 45 46 47 48 49 50 51 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 |
# 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 |