# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Web module Models # # User crendentials used for publishing activity. # class User < MsRestAzure::Resource include MsRestAzure # @return [String] Username attr_accessor :user_name # @return [String] Username used for publishing. attr_accessor :publishing_user_name # @return [String] Password used for publishing. attr_accessor :publishing_password # @return [String] Password hash used for publishing. attr_accessor :publishing_password_hash # @return [String] Password hash salt used for publishing. attr_accessor :publishing_password_hash_salt # # Mapper for User class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'User', type: { name: 'Composite', class_name: 'User', 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' } } } }, user_name: { required: false, serialized_name: 'properties.name', type: { name: 'String' } }, publishing_user_name: { required: false, serialized_name: 'properties.publishingUserName', type: { name: 'String' } }, publishing_password: { required: false, serialized_name: 'properties.publishingPassword', type: { name: 'String' } }, publishing_password_hash: { required: false, serialized_name: 'properties.publishingPasswordHash', type: { name: 'String' } }, publishing_password_hash_salt: { required: false, serialized_name: 'properties.publishingPasswordHashSalt', type: { name: 'String' } } } } } end end end end