class Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareAccessRight

Specifies the mapping between this particular user and the type of access he has on shares on this device.

Attributes

access_type[RW]

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

share_id[RW]

@return [String] The share ID.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_databoxedge/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