Class: Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/1.0/generated/azure_cognitiveservices_customsearch/models/response_base.rb

Overview

Model object.

Direct Known Subclasses

Identifiable

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeResponseBase

Returns a new instance of ResponseBase.



28
29
30
# File 'lib/1.0/generated/azure_cognitiveservices_customsearch/models/response_base.rb', line 28

def initialize
  @_type = "ResponseBase"
end

Instance Attribute Details

#_typeObject

Returns the value of attribute _type.



32
33
34
# File 'lib/1.0/generated/azure_cognitiveservices_customsearch/models/response_base.rb', line 32

def _type
  @_type
end

Class Method Details

.mapperObject

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



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/1.0/generated/azure_cognitiveservices_customsearch/models/response_base.rb', line 39

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