Class: Azure::EdgeGateway::Mgmt::V2019_03_01::Models::ShareAccessRight
- Inherits:
-
Object
- Object
- Azure::EdgeGateway::Mgmt::V2019_03_01::Models::ShareAccessRight
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-03-01/generated/azure_mgmt_edgegateway/models/share_access_right.rb
Overview
Specifies the mapping between this particular user and the type of access he has on shares on this device.
Instance Attribute Summary collapse
-
#access_type ⇒ ShareAccessType
this user.
-
#share_id ⇒ String
The share ID.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ShareAccessRight class as Ruby Hash.
Instance Attribute Details
#access_type ⇒ ShareAccessType
this user. Possible values include: ‘Change’, ‘Read’, ‘Custom’
21 22 23 |
# File 'lib/2019-03-01/generated/azure_mgmt_edgegateway/models/share_access_right.rb', line 21 def access_type @access_type end |
#share_id ⇒ String
Returns The share ID.
17 18 19 |
# File 'lib/2019-03-01/generated/azure_mgmt_edgegateway/models/share_access_right.rb', line 17 def share_id @share_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ShareAccessRight class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/2019-03-01/generated/azure_mgmt_edgegateway/models/share_access_right.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ShareAccessRight', type: { name: 'Composite', class_name: 'ShareAccessRight', model_properties: { share_id: { client_side_validation: true, required: true, serialized_name: 'shareId', type: { name: 'String' } }, access_type: { client_side_validation: true, required: true, serialized_name: 'accessType', type: { name: 'String' } } } } } end |