# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # Class containting details about site recovery operation. # class CsmSiteRecoveryEntity include MsRestAzure # @return [DateTime] Point in time in which the site recover should be # attempted. attr_accessor :snapshot_time # @return [Boolean] If true, then the website's configuration will be # reverted to its state at SnapshotTime attr_accessor :recover_config # @return [String] [Optional] Destination web app name into which web # app should be recovered. This is case when new web app should be # created instead. attr_accessor :site_name # @return [String] [Optional] Destination web app slot name into which # web app should be recovered attr_accessor :slot_name # # Mapper for CsmSiteRecoveryEntity class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'CsmSiteRecoveryEntity', type: { name: 'Composite', class_name: 'CsmSiteRecoveryEntity', model_properties: { snapshot_time: { required: false, serialized_name: 'snapshotTime', type: { name: 'DateTime' } }, recover_config: { required: false, serialized_name: 'recoverConfig', type: { name: 'Boolean' } }, site_name: { required: false, serialized_name: 'siteName', type: { name: 'String' } }, slot_name: { required: false, serialized_name: 'slotName', type: { name: 'String' } } } } } end end end end