Class: Azure::ADHybridHealthService::Mgmt::V2014_01_01::Models::Credential

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/credential.rb

Overview

The credential for a given server.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#credential_dataArray<String>

Returns The credential data.

Returns:

  • (Array<String>)

    The credential data.



22
23
24
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/credential.rb', line 22

def credential_data
  @credential_data
end

#identifierString

Returns The credential identifier.

Returns:

  • (String)

    The credential identifier.



16
17
18
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/credential.rb', line 16

def identifier
  @identifier
end

#typeString

Returns The type of credential.

Returns:

  • (String)

    The type of credential.



19
20
21
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/credential.rb', line 19

def type
  @type
end

Class Method Details

.mapperObject

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



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
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/credential.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Credential',
    type: {
      name: 'Composite',
      class_name: 'Credential',
      model_properties: {
        identifier: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identifier',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        credential_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'credentialData',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end