# 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 # # Description of a CheckAvailibility resource. # class CheckAvailabilityResource include MsRestAzure # @return [String] Gets or sets the id attr_accessor :id # @return [String] Gets or sets datacenter location attr_accessor :location # @return [String] Gets or sets name attr_accessor :name # @return [String] Gets or sets resource type attr_accessor :type # @return [Hash{String => String}] Gets or sets tags attr_accessor :tags # @return [Boolean] Gets or sets true if the name is available and can # be used to create new Namespace/NotificationHub. Otherwise false. attr_accessor :is_availiable # # Mapper for CheckAvailabilityResource class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'CheckAvailabilityResource', type: { name: 'Composite', class_name: 'CheckAvailabilityResource', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, location: { required: false, serialized_name: 'location', type: { name: 'String' } }, name: { required: false, serialized_name: 'name', 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' } } } }, is_availiable: { required: false, serialized_name: 'isAvailiable', type: { name: 'Boolean' } } } } } end end end end