Class: Azure::Web::Mgmt::V2016_06_01::Models::ConsentLinkDefinition
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2016_06_01::Models::ConsentLinkDefinition
- 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
-
#display_name ⇒ String
provider’s OAuth settings.
-
#first_party_login_uri ⇒ String
URI for first party login.
-
#link ⇒ String
URI for the consent link.
-
#status ⇒ LinkState
‘Unauthenticated’, ‘Authenticated’, ‘Error’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConsentLinkDefinition class as Ruby Hash.
Instance Attribute Details
#display_name ⇒ String
provider’s OAuth settings
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_uri ⇒ String
Returns 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 @first_party_login_uri end |
#link ⇒ String
Returns 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 |
#status ⇒ LinkState
‘Unauthenticated’, ‘Authenticated’, ‘Error’
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
.mapper ⇒ Object
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 |