Class: Azure::ARM::Search::Models::CheckNameAvailabilityInput
- Inherits:
-
Object
- Object
- Azure::ARM::Search::Models::CheckNameAvailabilityInput
- Includes:
- MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_search/models/check_name_availability_input.rb
Overview
Input of check name availability API.
Instance Attribute Summary collapse
-
#name ⇒ String
names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length.
-
#type ⇒ String
validated.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CheckNameAvailabilityInput class as Ruby Hash.
Instance Attribute Details
#name ⇒ String
names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length.
19 20 21 |
# File 'lib/generated/azure_mgmt_search/models/check_name_availability_input.rb', line 19 def name @name end |
#type ⇒ String
validated. This value must always be ‘searchServices’. Default value: ‘searchServices’ .
24 25 26 |
# File 'lib/generated/azure_mgmt_search/models/check_name_availability_input.rb', line 24 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for CheckNameAvailabilityInput class as Ruby Hash. This will be used for serialization/deserialization.
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 58 |
# File 'lib/generated/azure_mgmt_search/models/check_name_availability_input.rb', line 31 def self.mapper() { required: false, serialized_name: 'CheckNameAvailabilityInput', type: { name: 'Composite', class_name: 'CheckNameAvailabilityInput', model_properties: { name: { required: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: true, is_constant: true, serialized_name: 'type', default_value: 'searchServices', type: { name: 'String' } } } } } end |