Class: Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase
- Includes:
- MsRestAzure
- Defined in:
- lib/1.0/generated/azure_cognitiveservices_customsearch/models/response_base.rb
Overview
Model object.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#_type ⇒ Object
Returns the value of attribute _type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResponseBase class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ResponseBase
constructor
A new instance of ResponseBase.
Constructor Details
#initialize ⇒ ResponseBase
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
#_type ⇒ Object
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
.mapper ⇒ Object
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 |