Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::WebAnonymousAuthentication

Inherits:
WebLinkedServiceTypeProperties show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_anonymous_authentication.rb

Overview

A WebLinkedService that uses anonymous authentication to communicate with an HTTP endpoint.

Instance Attribute Summary collapse

Attributes inherited from WebLinkedServiceTypeProperties

#url

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWebAnonymousAuthentication

Returns a new instance of WebAnonymousAuthentication.



17
18
19
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_anonymous_authentication.rb', line 17

def initialize
  @authenticationType = "Anonymous"
end

Instance Attribute Details

#authenticationTypeObject

Returns the value of attribute authenticationType.



21
22
23
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_anonymous_authentication.rb', line 21

def authenticationType
  @authenticationType
end

Class Method Details

.mapperObject

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



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
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_anonymous_authentication.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Anonymous',
    type: {
      name: 'Composite',
      class_name: 'WebAnonymousAuthentication',
      model_properties: {
        url: {
          client_side_validation: true,
          required: true,
          serialized_name: 'url',
          type: {
            name: 'Object'
          }
        },
        authenticationType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'authenticationType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end