generated/api/Models/DestinationMount.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>Model for destination clients id and path during Snap operations</summary>
    public partial class DestinationMount :
        Commvault.Powershell.Models.IDestinationMount,
        Commvault.Powershell.Models.IDestinationMountInternal
    {

        /// <summary>Backing field for <see cref="Id" /> property.</summary>
        private long? _id;

        /// <summary>Id of the MA where the Snap is mounted</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Id { get => this._id; set => this._id = value; }

        /// <summary>Backing field for <see cref="Path" /> property.</summary>
        private string _path;

        /// <summary>Path where the snap is mounted</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Path { get => this._path; set => this._path = value; }

        /// <summary>Creates an new <see cref="DestinationMount" /> instance.</summary>
        public DestinationMount()
        {

        }
    }
    /// Model for destination clients id and path during Snap operations
    public partial interface IDestinationMount :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Id of the MA where the Snap is mounted</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Id of the MA where the Snap is mounted",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? Id { get; set; }
        /// <summary>Path where the snap is mounted</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Path where the snap is mounted",
        SerializedName = @"path",
        PossibleTypes = new [] { typeof(string) })]
        string Path { get; set; }

    }
    /// Model for destination clients id and path during Snap operations
    internal partial interface IDestinationMountInternal

    {
        /// <summary>Id of the MA where the Snap is mounted</summary>
        long? Id { get; set; }
        /// <summary>Path where the snap is mounted</summary>
        string Path { get; set; }

    }
}