# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Web::Mgmt::V2020_09_01 module Models # # Static Site User ARM resource. # class StaticSiteUserARMResource < ProxyOnlyResource include MsRestAzure # @return [String] The identity provider for the static site user. attr_accessor :provider # @return [String] The user id for the static site user. attr_accessor :user_id # @return [String] The display name for the static site user. attr_accessor :display_name # @return [String] The roles for the static site user, in free-form # string format attr_accessor :roles # # Mapper for StaticSiteUserARMResource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StaticSiteUserARMResource', type: { name: 'Composite', class_name: 'StaticSiteUserARMResource', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, system_data: { client_side_validation: true, required: false, serialized_name: 'systemData', type: { name: 'Composite', class_name: 'SystemData' } }, provider: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provider', type: { name: 'String' } }, user_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.userId', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.displayName', type: { name: 'String' } }, roles: { client_side_validation: true, required: false, serialized_name: 'properties.roles', type: { name: 'String' } } } } } end end end end