Sha256: 2fc825b474ede55df82389d17cfed7c69260773c63e3c0780aa2b2fab0d33047

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 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::ARM::Web
  module Models
    #
    # The status of the last successfull slot swap operation.
    #
    class SlotSwapStatus

      include MsRestAzure

      # @return [DateTime] The time the last successful slot swap completed.
      attr_accessor :timestamp_utc

      # @return [String] The source slot of the last swap operation.
      attr_accessor :source_slot_name

      # @return [String] The destination slot of the last swap operation.
      attr_accessor :destination_slot_name


      #
      # Mapper for SlotSwapStatus class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'SlotSwapStatus',
          type: {
            name: 'Composite',
            class_name: 'SlotSwapStatus',
            model_properties: {
              timestamp_utc: {
                required: false,
                read_only: true,
                serialized_name: 'timestampUtc',
                type: {
                  name: 'DateTime'
                }
              },
              source_slot_name: {
                required: false,
                read_only: true,
                serialized_name: 'sourceSlotName',
                type: {
                  name: 'String'
                }
              },
              destination_slot_name: {
                required: false,
                read_only: true,
                serialized_name: 'destinationSlotName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.14.0 lib/generated/azure_mgmt_web/models/slot_swap_status.rb