# 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 Patch include MsRestAzure # @return [Enum] Possible values include: 'Single', 'Shared' attr_accessor :applied_scope_type # @return [Array] attr_accessor :applied_scopes # # Mapper for Patch class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Patch', type: { name: 'Composite', class_name: 'Patch', model_properties: { applied_scope_type: { client_side_validation: true, required: false, serialized_name: 'properties.appliedScopeType', type: { name: 'String' } }, applied_scopes: { client_side_validation: true, required: false, serialized_name: 'properties.appliedScopes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end