generated/api/Models/CompareXmlReq.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>This is the data model to compare two objects</summary>
    public partial class CompareXmlReq :
        Commvault.Powershell.Models.ICompareXmlReq,
        Commvault.Powershell.Models.ICompareXmlReqInternal
    {

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

        /// <summary>second xml object in string format</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string NewXml { get => this._newXml; set => this._newXml = value; }

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

        /// <summary>first xml object in string format</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string OldXml { get => this._oldXml; set => this._oldXml = value; }

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

        }
    }
    /// This is the data model to compare two objects
    public partial interface ICompareXmlReq :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>second xml object in string format</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"second xml object in string format",
        SerializedName = @"NewXML",
        PossibleTypes = new [] { typeof(string) })]
        string NewXml { get; set; }
        /// <summary>first xml object in string format</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"first xml object in string format",
        SerializedName = @"OldXML",
        PossibleTypes = new [] { typeof(string) })]
        string OldXml { get; set; }

    }
    /// This is the data model to compare two objects
    internal partial interface ICompareXmlReqInternal

    {
        /// <summary>second xml object in string format</summary>
        string NewXml { get; set; }
        /// <summary>first xml object in string format</summary>
        string OldXml { get; set; }

    }
}