generated/api/Models/OnedriveContentReq.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 Message to add content to onedrive app</summary> public partial class OnedriveContentReq : Commvault.Powershell.Models.IOnedriveContentReq, Commvault.Powershell.Models.IOnedriveContentReqInternal { /// <summary>Internal Acessors for Office365Plan</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IOnedriveContentReqInternal.Office365Plan { get => (this._office365Plan = this._office365Plan ?? new Commvault.Powershell.Models.IdName()); set { {_office365Plan = value;} } } /// <summary>Internal Acessors for Type</summary> string Commvault.Powershell.Models.IOnedriveContentReqInternal.Type { get => this._type; set { {_type = 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="Type" /> property.</summary> private string _type= @"ALL_USERS"; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Type { get => this._type; } /// <summary>Creates an new <see cref="OnedriveContentReq" /> instance.</summary> public OnedriveContentReq() { } } /// Request Message to add content to onedrive app public partial interface IOnedriveContentReq : 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 = true, ReadOnly = true, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string Type { get; } } /// Request Message to add content to onedrive app internal partial interface IOnedriveContentReqInternal { Commvault.Powershell.Models.IIdName Office365Plan { get; set; } long? Office365PlanId { get; set; } string Office365PlanName { get; set; } string Type { get; set; } } } |