Source code for azure.mgmt.servermanager.models.prompt_field_description_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class PromptFieldDescription(Model): """Field description for the implementation of PSHostUserInterface.Prompt. :param name: The name of the prompt. :type name: str :param label: The label text of the prompt. :type label: str :param help_message: The help message of the prompt. :type help_message: str :param prompt_field_type_is_list: When set to 'true' the prompt field type is a list of values. :type prompt_field_type_is_list: bool :param prompt_field_type: Possible values include: 'String', 'SecureString', 'Credential' :type prompt_field_type: str or ~azure.mgmt.servermanager.models.PromptFieldType """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'label': {'key': 'label', 'type': 'str'}, 'help_message': {'key': 'helpMessage', 'type': 'str'}, 'prompt_field_type_is_list': {'key': 'promptFieldTypeIsList', 'type': 'bool'}, 'prompt_field_type': {'key': 'promptFieldType', 'type': 'PromptFieldType'}, } def __init__(self, *, name: str=None, label: str=None, help_message: str=None, prompt_field_type_is_list: bool=None, prompt_field_type=None, **kwargs) -> None: super(PromptFieldDescription, self).__init__(**kwargs) self.name = name self.label = label self.help_message = help_message self.prompt_field_type_is_list = prompt_field_type_is_list self.prompt_field_type = prompt_field_type