Sha256: 9695278de058db1af9976137e6d2e53a8325b1e9985c788522c5e67fbe477a0a
Contents?: true
Size: 1.89 KB
Versions: 2
Compression:
Stored size: 1.89 KB
Contents
# 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::IotHub::Mgmt::V2016_02_03 module Models # # The properties indicating whether a given IoT hub name is available. # class IotHubNameAvailabilityInfo include MsRestAzure # @return [Boolean] The value which indicates whether the provided name # is available. attr_accessor :name_available # @return [IotHubNameUnavailabilityReason] The reason for unavailability. # Possible values include: 'Invalid', 'AlreadyExists' attr_accessor :reason # @return [String] The detailed reason message. attr_accessor :message # # Mapper for IotHubNameAvailabilityInfo class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'IotHubNameAvailabilityInfo', type: { name: 'Composite', class_name: 'IotHubNameAvailabilityInfo', model_properties: { name_available: { required: false, read_only: true, serialized_name: 'nameAvailable', type: { name: 'Boolean' } }, reason: { required: false, read_only: true, serialized_name: 'reason', type: { name: 'Enum', module: 'IotHubNameUnavailabilityReason' } }, message: { required: false, serialized_name: 'message', type: { name: 'String' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems