Class: Azure::ApiManagement::Mgmt::V2018_01_01::Models::GroupContractProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb

Overview

Group contract Properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#built_inBoolean

(Administrators, Developers, or Guests); otherwise false.

Returns:

  • (Boolean)

    true if the group is one of the three system groups



23
24
25
# File 'lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb', line 23

def built_in
  @built_in
end

#descriptionString

Returns Group description. Can contain HTML formatting tags.

Returns:

  • (String)

    Group description. Can contain HTML formatting tags.



19
20
21
# File 'lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb', line 19

def description
  @description
end

#display_nameString

Returns Group name.

Returns:

  • (String)

    Group name.



16
17
18
# File 'lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb', line 16

def display_name
  @display_name
end

#external_idString

the group from the external identity provider, e.g. for Azure Active Directory aad://<tenant>.onmicrosoft.com/groups/<group object id>; otherwise the value is null.

Returns:

  • (String)

    For external groups, this property contains the id of



33
34
35
# File 'lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb', line 33

def external_id
  @external_id
end

#typeGroupType

‘system’, ‘external’

Returns:

  • (GroupType)

    Group type. Possible values include: ‘custom’,



27
28
29
# File 'lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb', line 27

def type
  @type
end

Class Method Details

.mapperObject

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



40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb', line 40

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GroupContractProperties',
    type: {
      name: 'Composite',
      class_name: 'GroupContractProperties',
      model_properties: {
        display_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'displayName',
          constraints: {
            MaxLength: 300,
            MinLength: 1
          },
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          constraints: {
            MaxLength: 1000
          },
          type: {
            name: 'String'
          }
        },
        built_in: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'builtIn',
          type: {
            name: 'Boolean'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'Enum',
            module: 'GroupType'
          }
        },
        external_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'externalId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end