# 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 # # Represents user crendentials used for publishing activity # class Deployment < MsRestAzure::Resource include MsRestAzure # @return [String] Id attr_accessor :deployment_id # @return [Integer] Status attr_accessor :status # @return [String] Message attr_accessor :message # @return [String] Author attr_accessor :author # @return [String] Deployer attr_accessor :deployer # @return [String] AuthorEmail attr_accessor :author_email # @return [DateTime] StartTime attr_accessor :start_time # @return [DateTime] EndTime attr_accessor :end_time # @return [Boolean] Active attr_accessor :active # @return [String] Detail attr_accessor :details # # Mapper for Deployment class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'Deployment', type: { name: 'Composite', class_name: 'Deployment', model_properties: { id: { required: false, 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' } } } }, deployment_id: { required: false, serialized_name: 'properties.id', type: { name: 'String' } }, status: { required: false, serialized_name: 'properties.status', type: { name: 'Number' } }, message: { required: false, serialized_name: 'properties.message', type: { name: 'String' } }, author: { required: false, serialized_name: 'properties.author', type: { name: 'String' } }, deployer: { required: false, serialized_name: 'properties.deployer', type: { name: 'String' } }, author_email: { required: false, serialized_name: 'properties.author_email', type: { name: 'String' } }, start_time: { required: false, serialized_name: 'properties.start_time', type: { name: 'DateTime' } }, end_time: { required: false, serialized_name: 'properties.end_time', type: { name: 'DateTime' } }, active: { required: false, serialized_name: 'properties.active', type: { name: 'Boolean' } }, details: { required: false, serialized_name: 'properties.details', type: { name: 'String' } } } } } end end end end