// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 using System.Collections.Generic; using AWS.Deploy.Common.Recipes; namespace AWS.Deploy.CLI.ServerMode.Models { /// /// Represents a recipe returned through server mode. /// public class RecipeOptionSettingSummary { /// /// The unique id of setting. /// public string Id { get; set; } /// /// The display friendly name of the setting. /// public string Name { get; set; } /// /// The description of what the setting is used for. /// public string Description { get; set; } /// /// The type of primitive value expected for this setting. /// For example String, Int /// public string Type { get; set; } /// /// Child option settings for value types. /// public List Settings { get; set; } = new List(); public RecipeOptionSettingSummary(string id, string name, string description, string type) { Id = id; Name = name; Description = description; Type = type; } } }