# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Reservations::Mgmt::V2017_11_01 module Models # # Model object. # # class Catalog include MsRestAzure # @return [String] The type of resource the SKU applies to. attr_accessor :resource_type # @return [String] The name of SKU attr_accessor :name # @return [String] The tier of this SKU attr_accessor :tier # @return [String] The size of this SKU attr_accessor :size # @return [Array] Available reservation terms for this resource attr_accessor :terms # @return [Array] attr_accessor :locations # @return [Array] attr_accessor :capabilities # @return [Array] attr_accessor :restrictions # # Mapper for Catalog class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Catalog', type: { name: 'Composite', class_name: 'Catalog', model_properties: { resource_type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceType', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, tier: { client_side_validation: true, required: false, read_only: true, serialized_name: 'tier', type: { name: 'String' } }, size: { client_side_validation: true, required: false, read_only: true, serialized_name: 'size', type: { name: 'String' } }, terms: { client_side_validation: true, required: false, read_only: true, serialized_name: 'terms', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'enumElementType', type: { name: 'String' } } } }, locations: { client_side_validation: true, required: false, read_only: true, serialized_name: 'locations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, capabilities: { client_side_validation: true, required: false, read_only: true, serialized_name: 'capabilities', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SkuCapabilityElementType', type: { name: 'Composite', class_name: 'SkuCapability' } } } }, restrictions: { client_side_validation: true, required: false, read_only: true, serialized_name: 'restrictions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SkuRestrictionElementType', type: { name: 'Composite', class_name: 'SkuRestriction' } } } } } } } end end end end