private/api-extensions/VmBootDevice.cs
namespace Nutanix.Powershell.Models { /// <summary> /// Indicates which device a VM should boot from. One of disk_address or mac_address should be provided. /// </summary> [System.ComponentModel.TypeConverter(typeof(VmBootDeviceTypeConverter))] public partial class VmBootDevice { /// <summary> /// Creates a new instance of <see cref="VmBootDevice" />, deserializing the content from a json string. /// </summary> /// <param name="jsonText">a string containing a JSON serialized instance of this model.</param> /// <returns>an instance of the <see cref="className" /> model class.</returns> public static Nutanix.Powershell.Models.IVmBootDevice FromJsonString(string jsonText) => FromJson(Carbon.Json.JsonNode.Parse(jsonText)); /// <summary>Serializes this instance to a json string.</summary> /// <returns>a <see cref="System.String" /> containing this model serialized to JSON text.</returns> public string ToJsonString() => ToJson(null, Microsoft.Rest.ClientRuntime.SerializationMode.IncludeAll)?.ToString(); } /// Indicates which device a VM should boot from. One of disk_address or mac_address should be provided. [System.ComponentModel.TypeConverter(typeof(VmBootDeviceTypeConverter))] public partial interface IVmBootDevice { } } |