# 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::NotificationHubs module Models # # Parameters supplied to the CreateOrUpdate Namespace operation. # class NamespaceCreateOrUpdateParameters include MsRestAzure # @return [String] Gets or sets Namespace data center location. attr_accessor :location # @return [Hash{String => String}] Gets or sets Namespace tags. attr_accessor :tags # @return [NamespaceProperties] Gets or sets properties of the Namespace. attr_accessor :properties # # Mapper for NamespaceCreateOrUpdateParameters class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'NamespaceCreateOrUpdateParameters', type: { name: 'Composite', class_name: 'NamespaceCreateOrUpdateParameters', model_properties: { location: { required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, properties: { required: true, serialized_name: 'properties', type: { name: 'Composite', class_name: 'NamespaceProperties' } } } } } end end end end