# 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 ReservationMergeProperties include MsRestAzure # @return [String] Reservation Resource Id Created due to the merge. # Format of the resource Id is # /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId} attr_accessor :merge_destination # @return [Array] Resource Ids of the Source Reservation's merged # to form this Reservation. Format of the resource Id is # /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId} attr_accessor :merge_sources # # Mapper for ReservationMergeProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ReservationMergeProperties', type: { name: 'Composite', class_name: 'ReservationMergeProperties', model_properties: { merge_destination: { client_side_validation: true, required: false, serialized_name: 'mergeDestination', type: { name: 'String' } }, merge_sources: { client_side_validation: true, required: false, serialized_name: 'mergeSources', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end