class Azure::Web::Mgmt::V2016_08_01::Models::SlotSwapStatus

The status of the last successfull slot swap operation.

Attributes

destination_slot_name[RW]

@return [String] The destination slot of the last swap operation.

source_slot_name[RW]

@return [String] The source slot of the last swap operation.

timestamp_utc[RW]

@return [DateTime] The time the last successful slot swap completed.

Public Class Methods

mapper() click to toggle source

Mapper for SlotSwapStatus class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-08-01/generated/azure_mgmt_web/models/slot_swap_status.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SlotSwapStatus',
    type: {
      name: 'Composite',
      class_name: 'SlotSwapStatus',
      model_properties: {
        timestamp_utc: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'timestampUtc',
          type: {
            name: 'DateTime'
          }
        },
        source_slot_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sourceSlotName',
          type: {
            name: 'String'
          }
        },
        destination_slot_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'destinationSlotName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end