Class: Azure::GraphRbac::V1_6::Models::Application

Inherits:
DirectoryObject show all
Includes:
MsRestAzure
Defined in:
lib/1.6/generated/azure_graph_rbac/models/application.rb

Overview

Active Directory application information.

Instance Attribute Summary collapse

Attributes inherited from DirectoryObject

#additional_properties, #deletion_timestamp, #object_id

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeApplication

Returns a new instance of Application.



16
17
18
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 16

def initialize
  @objectType = "Application"
end

Instance Attribute Details

#app_idString

Returns The application ID.

Returns:

  • (String)

    The application ID.



23
24
25
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 23

def app_id
  @app_id
end

#app_permissionsArray<String>

Returns The application permissions.

Returns:

  • (Array<String>)

    The application permissions.



26
27
28
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 26

def app_permissions
  @app_permissions
end

#available_to_other_tenantsBoolean

tenants.

Returns:

  • (Boolean)

    Whether the application is be available to other



30
31
32
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 30

def available_to_other_tenants
  @available_to_other_tenants
end

#display_nameString

Returns The display name of the application.

Returns:

  • (String)

    The display name of the application.



33
34
35
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 33

def display_name
  @display_name
end

#homepageString

Returns The home page of the application.

Returns:

  • (String)

    The home page of the application.



42
43
44
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 42

def homepage
  @homepage
end

#identifier_urisArray<String>

Returns A collection of URIs for the application.

Returns:

  • (Array<String>)

    A collection of URIs for the application.



36
37
38
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 36

def identifier_uris
  @identifier_uris
end

#oauth2allow_implicit_flowBoolean

Returns Whether to allow implicit grant flow for OAuth2.

Returns:

  • (Boolean)

    Whether to allow implicit grant flow for OAuth2



45
46
47
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 45

def oauth2allow_implicit_flow
  @oauth2allow_implicit_flow
end

#objectTypeObject

Returns the value of attribute objectType.



20
21
22
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 20

def objectType
  @objectType
end

#reply_urlsArray<String>

Returns A collection of reply URLs for the application.

Returns:

  • (Array<String>)

    A collection of reply URLs for the application.



39
40
41
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 39

def reply_urls
  @reply_urls
end

Class Method Details

.mapperObject

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



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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/1.6/generated/azure_graph_rbac/models/application.rb', line 52

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Application',
    type: {
      name: 'Composite',
      class_name: 'Application',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        object_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'objectId',
          type: {
            name: 'String'
          }
        },
        deletion_timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'deletionTimestamp',
          type: {
            name: 'DateTime'
          }
        },
        objectType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'objectType',
          type: {
            name: 'String'
          }
        },
        app_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'appId',
          type: {
            name: 'String'
          }
        },
        app_permissions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'appPermissions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        available_to_other_tenants: {
          client_side_validation: true,
          required: false,
          serialized_name: 'availableToOtherTenants',
          type: {
            name: 'Boolean'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        identifier_uris: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identifierUris',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        reply_urls: {
          client_side_validation: true,
          required: false,
          serialized_name: 'replyUrls',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        homepage: {
          client_side_validation: true,
          required: false,
          serialized_name: 'homepage',
          type: {
            name: 'String'
          }
        },
        oauth2allow_implicit_flow: {
          client_side_validation: true,
          required: false,
          serialized_name: 'oauth2AllowImplicitFlow',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end