Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::EnterpriseChannelCheckNameAvailabilityResponse

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_check_name_availability_response.rb

Overview

A request to Bot Service Management to check availability of an Enterprise Channel name.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#messageString

available.

Returns:

  • (String)

    Additional information about why a bot name is not



21
22
23
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_check_name_availability_response.rb', line 21

def message
  @message
end

#validBoolean

Returns Indicates if the Enterprise Channel name is valid.

Returns:

  • (Boolean)

    Indicates if the Enterprise Channel name is valid.



17
18
19
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_check_name_availability_response.rb', line 17

def valid
  @valid
end

Class Method Details

.mapperObject

Mapper for EnterpriseChannelCheckNameAvailabilityResponse class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/enterprise_channel_check_name_availability_response.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EnterpriseChannelCheckNameAvailabilityResponse',
    type: {
      name: 'Composite',
      class_name: 'EnterpriseChannelCheckNameAvailabilityResponse',
      model_properties: {
        valid: {
          client_side_validation: true,
          required: false,
          serialized_name: 'valid',
          type: {
            name: 'Boolean'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end