Class: Azure::ServerManagement::Mgmt::V2016_07_01_preview::Models::PromptFieldDescription

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#help_messageString

Returns The help message of the prompt.

Returns:

  • (String)

    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
  @help_message
end

#labelString

Returns The label text of the prompt.

Returns:

  • (String)

    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

#nameString

Returns The name of the prompt.

Returns:

  • (String)

    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_typePromptFieldType

‘SecureString’, ‘Credential’

Returns:



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_listBoolean

values.

Returns:

  • (Boolean)

    When set to ‘true’ the prompt field type is a list of



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

.mapperObject

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