Class: Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldDescription
- Inherits:
-
Object
- Object
- Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/prompt_field_description.rb
Overview
Field description for the implementation of PSHostUserInterface.Prompt
Instance Attribute Summary collapse
-
#help_message ⇒ String
The help message of the prompt.
-
#label ⇒ String
The label text of the prompt.
-
#name ⇒ String
The name of the prompt.
-
#prompt_field_type ⇒ PromptFieldType
‘SecureString’, ‘Credential’.
-
#prompt_field_type_is_list ⇒ Boolean
values.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PromptFieldDescription class as Ruby Hash.
Instance Attribute Details
#help_message ⇒ String
Returns The help message of the prompt.
22 23 24 |
# File 'lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/prompt_field_description.rb', line 22 def @help_message end |
#label ⇒ String
Returns The label text of the prompt.
19 20 21 |
# File 'lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/prompt_field_description.rb', line 19 def label @label end |
#name ⇒ String
Returns The name of the prompt.
16 17 18 |
# File 'lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/prompt_field_description.rb', line 16 def name @name end |
#prompt_field_type ⇒ PromptFieldType
‘SecureString’, ‘Credential’
30 31 32 |
# File 'lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/prompt_field_description.rb', line 30 def prompt_field_type @prompt_field_type end |
#prompt_field_type_is_list ⇒ Boolean
values.
26 27 28 |
# File 'lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/prompt_field_description.rb', line 26 def prompt_field_type_is_list @prompt_field_type_is_list end |
Class Method Details
.mapper ⇒ Object
Mapper for PromptFieldDescription class as Ruby Hash. This will be used for serialization/deserialization.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/2016-07-01-preview/generated/azure_mgmt_server_management/models/prompt_field_description.rb', line 37 def self.mapper() { required: false, serialized_name: 'PromptFieldDescription', type: { name: 'Composite', class_name: 'PromptFieldDescription', model_properties: { name: { required: false, serialized_name: 'name', type: { name: 'String' } }, label: { required: false, serialized_name: 'label', type: { name: 'String' } }, help_message: { required: false, serialized_name: 'helpMessage', type: { name: 'String' } }, prompt_field_type_is_list: { required: false, serialized_name: 'promptFieldTypeIsList', type: { name: 'Boolean' } }, prompt_field_type: { required: false, serialized_name: 'promptFieldType', type: { name: 'Enum', module: 'PromptFieldType' } } } } } end |