# 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::ServiceFabric::V6_2_0_9 module Models # # Information about a image store upload session # class UploadSession include MsRestAzure # @return [Array] When querying upload session by # upload session ID, the result contains only one upload session. When # querying upload session by image store relative path, the result might # contain multiple upload sessions. attr_accessor :upload_sessions # # Mapper for UploadSession class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UploadSession', type: { name: 'Composite', class_name: 'UploadSession', model_properties: { upload_sessions: { client_side_validation: true, required: false, serialized_name: 'UploadSessions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'UploadSessionInfoElementType', type: { name: 'Composite', class_name: 'UploadSessionInfo' } } } } } } } end end end end