# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # A snapshot of an app. # class Snapshot < MsRestAzure::Resource include MsRestAzure include MsRest::JSONable # @return [DateTime] The time the snapshot was taken. attr_accessor :time # # Mapper for Snapshot class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'Snapshot', type: { name: 'Composite', class_name: 'Snapshot', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', type: { name: 'String' } }, kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, location: { required: true, serialized_name: 'location', type: { name: 'String' } }, type: { required: false, serialized_name: 'type', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, time: { required: false, read_only: true, serialized_name: 'properties.time', type: { name: 'DateTime' } } } } } end end end end