Class: Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::WebLinkedServiceTypeProperties

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

Overview

Base definition of WebLinkedServiceTypeProperties, this typeProperties is polymorphic based on authenticationType, so not flattened in SDK models.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWebLinkedServiceTypeProperties

Returns a new instance of WebLinkedServiceTypeProperties.



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

def initialize
  @authenticationType = "WebLinkedServiceTypeProperties"
end

Instance Attribute Details

#authenticationTypeObject

Returns the value of attribute authenticationType.



25
26
27
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_linked_service_type_properties.rb', line 25

def authenticationType
  @authenticationType
end

#urlObject

www.microsoft.com . Type: string (or Expression with resultType string).

Returns:

  • The URL of the web service endpoint, e.g.



30
31
32
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_linked_service_type_properties.rb', line 30

def url
  @url
end

Class Method Details

.mapperObject

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



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_linked_service_type_properties.rb', line 37

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