class Azure::DataBox::Mgmt::V2018_01_01::Models::ArmBaseObject
Base class for all objects under resource.
Attributes
id[RW]
@return [String] Id of the object.
name[RW]
@return [String] Name of the object.
type[RW]
@return [String] Type of the object.
Private Class Methods
mapper()
click to toggle source
Mapper for ArmBaseObject
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-01-01/generated/azure_mgmt_databox/models/arm_base_object.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ArmBaseObject', type: { name: 'Composite', class_name: 'ArmBaseObject', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end