generated/api/Models/UpdateTimezoneForClientsReq.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;

    /// <summary>Request body for updating timezone for clients</summary>
    public partial class UpdateTimezoneForClientsReq :
        Commvault.Powershell.Models.IUpdateTimezoneForClientsReq,
        Commvault.Powershell.Models.IUpdateTimezoneForClientsReqInternal
    {

        /// <summary>Backing field for <see cref="Clients" /> property.</summary>
        private Commvault.Powershell.Models.IIdName[] _clients;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IIdName[] Clients { get => this._clients; set => this._clients = value; }

        /// <summary>Backing field for <see cref="UpdateAll" /> property.</summary>
        private bool? _updateAll;

        /// <summary>
        /// Boolean which determines if all servers(with no package) should be updated with the company timezone.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? UpdateAll { get => this._updateAll; set => this._updateAll = value; }

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

        }
    }
    /// Request body for updating timezone for clients
    public partial interface IUpdateTimezoneForClientsReq :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"clients",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })]
        Commvault.Powershell.Models.IIdName[] Clients { get; set; }
        /// <summary>
        /// Boolean which determines if all servers(with no package) should be updated with the company timezone.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Boolean which determines if all servers(with no package) should be updated with the company timezone.",
        SerializedName = @"updateAll",
        PossibleTypes = new [] { typeof(bool) })]
        bool? UpdateAll { get; set; }

    }
    /// Request body for updating timezone for clients
    internal partial interface IUpdateTimezoneForClientsReqInternal

    {
        Commvault.Powershell.Models.IIdName[] Clients { get; set; }
        /// <summary>
        /// Boolean which determines if all servers(with no package) should be updated with the company timezone.
        /// </summary>
        bool? UpdateAll { get; set; }

    }
}