Class: Azure::ApiManagement::Mgmt::V2016_10_10::Models::BackendAuthorizationHeaderCredentials

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb

Overview

Authorization header information.

Direct Known Subclasses

BackendCredentialsContract

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#parameterString

Returns Authentication Parameter value.

Returns:

  • (String)

    Authentication Parameter value.



19
20
21
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb', line 19

def parameter
  @parameter
end

#schemeString

Returns Authentication Scheme name.

Returns:

  • (String)

    Authentication Scheme name.



16
17
18
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb', line 16

def scheme
  @scheme
end

Class Method Details

.mapperObject

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



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
62
# File 'lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'BackendAuthorizationHeaderCredentials',
    type: {
      name: 'Composite',
      class_name: 'BackendAuthorizationHeaderCredentials',
      model_properties: {
        scheme: {
          client_side_validation: true,
          required: true,
          serialized_name: 'scheme',
          constraints: {
            MaxLength: 100,
            MinLength: 1
          },
          type: {
            name: 'String'
          }
        },
        parameter: {
          client_side_validation: true,
          required: true,
          serialized_name: 'parameter',
          constraints: {
            MaxLength: 300,
            MinLength: 1
          },
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end