generated/api/Models/LocationsDetails.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>Details of locations</summary> public partial class LocationsDetails : Commvault.Powershell.Models.ILocationsDetails, Commvault.Powershell.Models.ILocationsDetailsInternal { /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>id of the location</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="IsTransit" /> property.</summary> private bool? _isTransit; /// <summary>Tells if this is a transit location</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? IsTransit { get => this._isTransit; set => this._isTransit = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>name of the location</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Creates an new <see cref="LocationsDetails" /> instance.</summary> public LocationsDetails() { } } /// Details of locations public partial interface ILocationsDetails : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>id of the location</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"id of the location", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>Tells if this is a transit location</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Tells if this is a transit location", SerializedName = @"isTransit", PossibleTypes = new [] { typeof(bool) })] bool? IsTransit { get; set; } /// <summary>name of the location</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"name of the location", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } } /// Details of locations internal partial interface ILocationsDetailsInternal { /// <summary>id of the location</summary> long? Id { get; set; } /// <summary>Tells if this is a transit location</summary> bool? IsTransit { get; set; } /// <summary>name of the location</summary> string Name { get; set; } } } |