Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UserAccessRight
- Inherits:
-
Object
- Object
- Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UserAccessRight
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user_access_right.rb
Overview
The mapping between a particular user and the access type on the SMB share.
Instance Attribute Summary collapse
-
#access_type ⇒ ShareAccessType
Possible values include: ‘Change’, ‘Read’, ‘Custom’.
-
#user_id ⇒ String
User ID (already existing in the device).
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UserAccessRight class as Ruby Hash.
Instance Attribute Details
#access_type ⇒ ShareAccessType
Possible values include: ‘Change’, ‘Read’, ‘Custom’
21 22 23 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user_access_right.rb', line 21 def access_type @access_type end |
#user_id ⇒ String
Returns User ID (already existing in the device).
17 18 19 |
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/user_access_right.rb', line 17 def user_id @user_id end |
Class Method Details
.mapper ⇒ Object
Mapper for UserAccessRight 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-08-01/generated/azure_mgmt_databoxedge/models/user_access_right.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UserAccessRight', type: { name: 'Composite', class_name: 'UserAccessRight', model_properties: { user_id: { client_side_validation: true, required: true, serialized_name: 'userId', type: { name: 'String' } }, access_type: { client_side_validation: true, required: true, serialized_name: 'accessType', type: { name: 'String' } } } } } end |