Class: Azure::MixedReality::Mgmt::V2020_04_06_preview::Models::ResourceModelWithAllowedPropertySetIdentity

Inherits:
Identity
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set_identity.rb

Overview

Model object.

Instance Attribute Summary

Attributes inherited from Identity

#principal_id, #tenant_id, #type

Class Method Summary collapse

Class Method Details

.mapperObject

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



22
23
24
25
26
27
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
57
58
59
60
61
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set_identity.rb', line 22

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceModelWithAllowedPropertySet_identity',
    type: {
      name: 'Composite',
      class_name: 'ResourceModelWithAllowedPropertySetIdentity',
      model_properties: {
        principal_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'principalId',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'Enum',
            module: 'ResourceIdentityType'
          }
        }
      }
    }
  }
end