generated/api/Models/PathsSz5LoqV4StorageCloudCloudstorageidBucketPostResponses200ContentApplicationJsonSchema.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.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 PathsSz5LoqV4StorageCloudCloudstorageidBucketPostResponses200ContentApplicationJsonSchema : Commvault.Powershell.Models.IPathsSz5LoqV4StorageCloudCloudstorageidBucketPostResponses200ContentApplicationJsonSchema, Commvault.Powershell.Models.IPathsSz5LoqV4StorageCloudCloudstorageidBucketPostResponses200ContentApplicationJsonSchemaInternal, Commvault.Powershell.Runtime.IValidates { /// <summary> /// Backing field for Inherited model <see cref= "Commvault.Powershell.Models.IGenericResp" /> /// </summary> private Commvault.Powershell.Models.IGenericResp __genericResp = new Commvault.Powershell.Models.GenericResp(); /// <summary> /// Backing field for Inherited model <see cref= "Commvault.Powershell.Models.IIdName" /> /// </summary> private Commvault.Powershell.Models.IIdName __idName = new Commvault.Powershell.Models.IdName(); [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inherited)] public long? ErrorCode { get => ((Commvault.Powershell.Models.IGenericRespInternal)__genericResp).ErrorCode; set => ((Commvault.Powershell.Models.IGenericRespInternal)__genericResp).ErrorCode = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inherited)] public string ErrorMessage { get => ((Commvault.Powershell.Models.IGenericRespInternal)__genericResp).ErrorMessage; set => ((Commvault.Powershell.Models.IGenericRespInternal)__genericResp).ErrorMessage = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inherited)] public long? Id { get => ((Commvault.Powershell.Models.IIdNameInternal)__idName).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)__idName).Id = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inherited)] public string Name { get => ((Commvault.Powershell.Models.IIdNameInternal)__idName).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)__idName).Name = value; } /// <summary> /// Creates an new <see cref="PathsSz5LoqV4StorageCloudCloudstorageidBucketPostResponses200ContentApplicationJsonSchema" /> /// instance. /// </summary> public PathsSz5LoqV4StorageCloudCloudstorageidBucketPostResponses200ContentApplicationJsonSchema() { } /// <summary>Validates that this object meets the validation criteria.</summary> /// <param name="eventListener">an <see cref="Commvault.Powershell.Runtime.IEventListener" /> instance that will receive validation /// events.</param> /// <returns> /// A < see cref = "global::System.Threading.Tasks.Task" /> that will be complete when validation is completed. /// </returns> public async global::System.Threading.Tasks.Task Validate(Commvault.Powershell.Runtime.IEventListener eventListener) { await eventListener.AssertNotNull(nameof(__idName), __idName); await eventListener.AssertObjectIsValid(nameof(__idName), __idName); await eventListener.AssertNotNull(nameof(__genericResp), __genericResp); await eventListener.AssertObjectIsValid(nameof(__genericResp), __genericResp); } } public partial interface IPathsSz5LoqV4StorageCloudCloudstorageidBucketPostResponses200ContentApplicationJsonSchema : Commvault.Powershell.Runtime.IJsonSerializable, Commvault.Powershell.Models.IIdName, Commvault.Powershell.Models.IGenericResp { } internal partial interface IPathsSz5LoqV4StorageCloudCloudstorageidBucketPostResponses200ContentApplicationJsonSchemaInternal : Commvault.Powershell.Models.IIdNameInternal, Commvault.Powershell.Models.IGenericRespInternal { } } |