# 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_5_0_36 module Models # # Service state summary of Service Fabric Upgrade Orchestration Service. # class UpgradeOrchestrationServiceStateSummary include MsRestAzure # @return [String] The current code version of the cluster. attr_accessor :current_code_version # @return [String] The current manifest version of the cluster. attr_accessor :current_manifest_version # @return [String] The target code version of the cluster. attr_accessor :target_code_version # @return [String] The target manifest version of the cluster. attr_accessor :target_manifest_version # @return [String] The type of the pending upgrade of the cluster. attr_accessor :pending_upgrade_type # # Mapper for UpgradeOrchestrationServiceStateSummary class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UpgradeOrchestrationServiceStateSummary', type: { name: 'Composite', class_name: 'UpgradeOrchestrationServiceStateSummary', model_properties: { current_code_version: { client_side_validation: true, required: false, serialized_name: 'CurrentCodeVersion', type: { name: 'String' } }, current_manifest_version: { client_side_validation: true, required: false, serialized_name: 'CurrentManifestVersion', type: { name: 'String' } }, target_code_version: { client_side_validation: true, required: false, serialized_name: 'TargetCodeVersion', type: { name: 'String' } }, target_manifest_version: { client_side_validation: true, required: false, serialized_name: 'TargetManifestVersion', type: { name: 'String' } }, pending_upgrade_type: { client_side_validation: true, required: false, serialized_name: 'PendingUpgradeType', type: { name: 'String' } } } } } end end end end