Sha256: e76e8ea27c83f23dcccbff064c8c397f338b1711ef0c1b7ecd265d651f4a44b1

Contents?: true

Size: 1.89 KB

Versions: 4

Compression:

Stored size: 1.89 KB

Contents

# 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::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10
  module Models
    #
    # Version related details.
    #
    class VersionDetails

      include MsRestAzure

      # @return [String] The agent version.
      attr_accessor :version

      # @return [DateTime] Version expiry date.
      attr_accessor :expiry_date

      # @return [AgentVersionStatus] A value indicating whether security update
      # required. Possible values include: 'Supported', 'NotSupported',
      # 'Deprecated', 'UpdateRequired', 'SecurityUpdateRequired'
      attr_accessor :status


      #
      # Mapper for VersionDetails class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VersionDetails',
          type: {
            name: 'Composite',
            class_name: 'VersionDetails',
            model_properties: {
              version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'version',
                type: {
                  name: 'String'
                }
              },
              expiry_date: {
                client_side_validation: true,
                required: false,
                serialized_name: 'expiryDate',
                type: {
                  name: 'DateTime'
                }
              },
              status: {
                client_side_validation: true,
                required: false,
                serialized_name: 'status',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.17.3 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/version_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.2 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/version_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.1 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/version_details.rb
azure_mgmt_recovery_services_site_recovery-0.17.0 lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/models/version_details.rb