class Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable
Defines the identity of a resource.
Attributes
_type[RW]
id[RW]
@return [String] A String identifier.
Private Class Methods
mapper()
click to toggle source
Mapper for Identifiable
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.0/generated/azure_cognitiveservices_customsearch/models/identifiable.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Identifiable', type: { name: 'Composite', class_name: 'Identifiable', model_properties: { _type: { client_side_validation: true, required: true, serialized_name: '_type', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } } } } } end
new()
click to toggle source
# File lib/1.0/generated/azure_cognitiveservices_customsearch/models/identifiable.rb, line 16 def initialize @_type = "Identifiable" end