generated/api/Models/TimeRange.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using static Commvault.Powershell.Runtime.Extensions; /// <summary> /// Time range is for time related token rule values to specify from and to time in unix timestamp format. /// </summary> public partial class TimeRange : Commvault.Powershell.Models.ITimeRange, Commvault.Powershell.Models.ITimeRangeInternal { /// <summary>Backing field for <see cref="FromTime" /> property.</summary> private string _fromTime; /// <summary>From time value in unix timestamp format</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string FromTime { get => this._fromTime; set => this._fromTime = value; } /// <summary>Backing field for <see cref="ToTime" /> property.</summary> private string _toTime; /// <summary>To time value in unix timestamp format</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ToTime { get => this._toTime; set => this._toTime = value; } /// <summary>Creates an new <see cref="TimeRange" /> instance.</summary> public TimeRange() { } } /// Time range is for time related token rule values to specify from and to time in unix timestamp format. public partial interface ITimeRange : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>From time value in unix timestamp format</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"From time value in unix timestamp format", SerializedName = @"fromTime", PossibleTypes = new [] { typeof(string) })] string FromTime { get; set; } /// <summary>To time value in unix timestamp format</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"To time value in unix timestamp format", SerializedName = @"toTime", PossibleTypes = new [] { typeof(string) })] string ToTime { get; set; } } /// Time range is for time related token rule values to specify from and to time in unix timestamp format. internal partial interface ITimeRangeInternal { /// <summary>From time value in unix timestamp format</summary> string FromTime { get; set; } /// <summary>To time value in unix timestamp format</summary> string ToTime { get; set; } } } |