Class: Azure::Web::Mgmt::V2016_06_01::Models::ConsentLinkDefinition

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_definition.rb

Overview

A consent link

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#display_nameString

provider’s OAuth settings

Returns:

  • (String)

    Display name of the parameter in the connection



23
24
25
# File 'lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_definition.rb', line 23

def display_name
  @display_name
end

#first_party_login_uriString

Returns URI for first party login.

Returns:

  • (String)

    URI for first party login



19
20
21
# File 'lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_definition.rb', line 19

def 
  @first_party_login_uri
end

Returns URI for the consent link.

Returns:

  • (String)

    URI for the consent link



16
17
18
# File 'lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_definition.rb', line 16

def link
  @link
end

#statusLinkState

‘Unauthenticated’, ‘Authenticated’, ‘Error’

Returns:

  • (LinkState)

    Status of the link. Possible values include:



27
28
29
# File 'lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_definition.rb', line 27

def status
  @status
end

Class Method Details

.mapperObject

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



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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_definition.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConsentLinkDefinition',
    type: {
      name: 'Composite',
      class_name: 'ConsentLinkDefinition',
      model_properties: {
        link: {
          client_side_validation: true,
          required: false,
          serialized_name: 'link',
          type: {
            name: 'String'
          }
        },
        first_party_login_uri: {
          client_side_validation: true,
          required: false,
          serialized_name: 'firstPartyLoginUri',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end