Class: Azure::DataShare::Mgmt::V2019_11_01::Models::Share
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb
Overview
A share data transfer object.
Instance Attribute Summary collapse
-
#created_at ⇒ DateTime
Time at which the share was created.
-
#description ⇒ String
Share description.
-
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Succeeded’, ‘Creating’, ‘Deleting’, ‘Moving’, ‘Failed’.
-
#share_kind ⇒ ShareKind
‘InPlace’.
-
#terms ⇒ String
Share terms.
-
#user_email ⇒ String
Email of the user who created the resource.
-
#user_name ⇒ String
Name of the user who created the resource.
Attributes inherited from ProxyDto
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Share class as Ruby Hash.
Instance Attribute Details
#created_at ⇒ DateTime
Returns Time at which the share was created.
16 17 18 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb', line 16 def created_at @created_at end |
#description ⇒ String
Returns Share description.
19 20 21 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb', line 19 def description @description end |
#provisioning_state ⇒ ProvisioningState
Possible values include: ‘Succeeded’, ‘Creating’, ‘Deleting’, ‘Moving’, ‘Failed’
24 25 26 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb', line 24 def provisioning_state @provisioning_state end |
#share_kind ⇒ ShareKind
‘InPlace’
28 29 30 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb', line 28 def share_kind @share_kind end |
#terms ⇒ String
Returns Share terms.
31 32 33 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb', line 31 def terms @terms end |
#user_email ⇒ String
Returns Email of the user who created the resource.
34 35 36 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb', line 34 def user_email @user_email end |
#user_name ⇒ String
Returns Name of the user who created the resource.
37 38 39 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb', line 37 def user_name @user_name end |
Class Method Details
.mapper ⇒ Object
Mapper for Share class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/share.rb', line 44 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Share', type: { name: 'Composite', class_name: 'Share', 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' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, share_kind: { client_side_validation: true, required: false, serialized_name: 'properties.shareKind', type: { name: 'String' } }, terms: { client_side_validation: true, required: false, serialized_name: 'properties.terms', type: { name: 'String' } }, user_email: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.userEmail', type: { name: 'String' } }, user_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.userName', type: { name: 'String' } } } } } end |