generated/api/Models/Office365CommonInfo.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; public partial class Office365CommonInfo : Commvault.Powershell.Models.IOffice365CommonInfo, Commvault.Powershell.Models.IOffice365CommonInfoInternal { /// <summary>Internal Acessors for Office365Plan</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IOffice365CommonInfoInternal.Office365Plan { get => (this._office365Plan = this._office365Plan ?? new Commvault.Powershell.Models.IdName()); set { {_office365Plan = value;} } } /// <summary>Backing field for <see cref="Office365Plan" /> property.</summary> private Commvault.Powershell.Models.IIdName _office365Plan; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IIdName Office365Plan { get => (this._office365Plan = this._office365Plan ?? new Commvault.Powershell.Models.IdName()); set => this._office365Plan = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? Office365PlanId { get => ((Commvault.Powershell.Models.IIdNameInternal)Office365Plan).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)Office365Plan).Id = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string Office365PlanName { get => ((Commvault.Powershell.Models.IIdNameInternal)Office365Plan).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)Office365Plan).Name = value ?? null; } /// <summary>Backing field for <see cref="Status" /> property.</summary> private string _status; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Status { get => this._status; set => this._status = value; } /// <summary>Creates an new <see cref="Office365CommonInfo" /> instance.</summary> public Office365CommonInfo() { } } public partial interface IOffice365CommonInfo : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Office365PlanId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Office365PlanName { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"status", PossibleTypes = new [] { typeof(string) })] string Status { get; set; } } internal partial interface IOffice365CommonInfoInternal { Commvault.Powershell.Models.IIdName Office365Plan { get; set; } long? Office365PlanId { get; set; } string Office365PlanName { get; set; } string Status { get; set; } } } |