private/api-extensions/TaskPollResponse.cs
namespace Nutanix.Powershell.Models { /// <summary>Response from a task poll request</summary> [System.ComponentModel.TypeConverter(typeof(TaskPollResponseTypeConverter))] public partial class TaskPollResponse { /// <summary> /// Creates a new instance of <see cref="TaskPollResponse" />, 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.ITaskPollResponse 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(); } /// Response from a task poll request [System.ComponentModel.TypeConverter(typeof(TaskPollResponseTypeConverter))] public partial interface ITaskPollResponse { } } |