class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UserAccessRight

The mapping between a particular user and the access type on the SMB share.

Attributes

access_type[RW]

@return [ShareAccessType] Type of access to be allowed for the user. Possible values include: 'Change', 'Read', 'Custom'

user_id[RW]

@return [String] User ID (already existing in the device).

Private Class Methods

mapper() click to toggle source

Mapper for UserAccessRight class as Ruby Hash. This will be used for serialization/deserialization.

# 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