# 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::V2019_04_01_preview module Models # # Model object. # # class ReservationSplitProperties include MsRestAzure # @return [Array] List of destination Resource Id that are # created due to split. Format of the resource Id is # /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId} attr_accessor :split_destinations # @return [String] Resource Id of the Reservation from which this is # split. Format of the resource Id is # /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId} attr_accessor :split_source # # Mapper for ReservationSplitProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ReservationSplitProperties', type: { name: 'Composite', class_name: 'ReservationSplitProperties', model_properties: { split_destinations: { client_side_validation: true, required: false, serialized_name: 'splitDestinations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, split_source: { client_side_validation: true, required: false, serialized_name: 'splitSource', type: { name: 'String' } } } } } end end end end