generated/api/Models/DayAndTime.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415)
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Commvault.Powershell.Models
{
    using static Commvault.Powershell.Runtime.Extensions;

    public partial class DayAndTime :
        Commvault.Powershell.Models.IDayAndTime,
        Commvault.Powershell.Models.IDayAndTimeInternal
    {

        /// <summary>Backing field for <see cref="DayOfWeek" /> property.</summary>
        private string[] _dayOfWeek;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string[] DayOfWeek { get => this._dayOfWeek; set => this._dayOfWeek = value; }

        /// <summary>Backing field for <see cref="EndTime" /> property.</summary>
        private long? _endTime;

        /// <summary>Time in seconds since the beginning of the day</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? EndTime { get => this._endTime; set => this._endTime = value; }

        /// <summary>Backing field for <see cref="StartTime" /> property.</summary>
        private long? _startTime;

        /// <summary>Time in seconds since the beginning of the day</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? StartTime { get => this._startTime; set => this._startTime = value; }

        /// <summary>Creates an new <see cref="DayAndTime" /> instance.</summary>
        public DayAndTime()
        {

        }
    }
    public partial interface IDayAndTime :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"dayOfWeek",
        PossibleTypes = new [] { typeof(string) })]
        string[] DayOfWeek { get; set; }
        /// <summary>Time in seconds since the beginning of the day</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Time in seconds since the beginning of the day",
        SerializedName = @"endTime",
        PossibleTypes = new [] { typeof(long) })]
        long? EndTime { get; set; }
        /// <summary>Time in seconds since the beginning of the day</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Time in seconds since the beginning of the day",
        SerializedName = @"startTime",
        PossibleTypes = new [] { typeof(long) })]
        long? StartTime { get; set; }

    }
    internal partial interface IDayAndTimeInternal

    {
        string[] DayOfWeek { get; set; }
        /// <summary>Time in seconds since the beginning of the day</summary>
        long? EndTime { get; set; }
        /// <summary>Time in seconds since the beginning of the day</summary>
        long? StartTime { get; set; }

    }
}