generated/api/Models/UpdateTimezoneForClientsReq.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>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 System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> _clients;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<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,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"clients",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })]
        System.Collections.Generic.List<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,
        Read = true,
        Create = true,
        Update = true,
        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

    {
        System.Collections.Generic.List<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; }

    }
}