Exemple #1
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject into a new instance of <see cref="SapS4HanaSapS4HanaCredentialScanProperties" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal SapS4HanaSapS4HanaCredentialScanProperties(Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            __mitiScanProperties = new Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.MitiScanProperties(json);
            { _credential = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject>("credential"), out var __jsonCredential) ? Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.CredentialReference.FromJson(__jsonCredential) : Credential; }
            { _clientId = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("clientId"), out var __jsonClientId) ? (string)__jsonClientId : (string)ClientId; }
            { _jCoLibraryPath = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("jCoLibraryPath"), out var __jsonJCoLibraryPath) ? (string)__jsonJCoLibraryPath : (string)JCoLibraryPath; }
            AfterFromJson(json);
        }
Exemple #2
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject into a new instance of <see cref="TeradataCredentialScanProperties" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal TeradataCredentialScanProperties(Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            __mitiScanProperties = new Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.MitiScanProperties(json);
            { _credential = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject>("credential"), out var __jsonCredential) ? Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.CredentialReference.FromJson(__jsonCredential) : Credential; }
            { _schema = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("schema"), out var __jsonSchema) ? (string)__jsonSchema : (string)Schema; }
            { _driverLocation = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("driverLocation"), out var __jsonDriverLocation) ? (string)__jsonDriverLocation : (string)DriverLocation; }
            AfterFromJson(json);
        }
Exemple #3
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject into a new instance of <see cref="TeradataUserPassScanPropertiesAutoGenerated2"
        /// />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal TeradataUserPassScanPropertiesAutoGenerated2(Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            __mitiScanProperties = new Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.MitiScanProperties(json);
            { _username = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("username"), out var __jsonUsername) ? (string)__jsonUsername : (string)Username; }
            { _password = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("password"), out var __jsonPassword) ? (string)__jsonPassword : (string)Password; }
            { _schema = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("schema"), out var __jsonSchema) ? (string)__jsonSchema : (string)Schema; }
            { _driverLocation = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("driverLocation"), out var __jsonDriverLocation) ? (string)__jsonDriverLocation : (string)DriverLocation; }
            AfterFromJson(json);
        }
Exemple #4
0
        /// <summary>
        /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject into a new instance of <see cref="SapS4HanaSapS4HanaUserPassScanProperties" />.
        /// </summary>
        /// <param name="json">A Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject instance to deserialize from.</param>
        internal SapS4HanaSapS4HanaUserPassScanProperties(Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonObject json)
        {
            bool returnNow = false;

            BeforeFromJson(json, ref returnNow);
            if (returnNow)
            {
                return;
            }
            __mitiScanProperties = new Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.MitiScanProperties(json);
            { _clientId = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("clientId"), out var __jsonClientId) ? (string)__jsonClientId : (string)ClientId; }
            { _username = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("username"), out var __jsonUsername) ? (string)__jsonUsername : (string)Username; }
            { _password = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("password"), out var __jsonPassword) ? (string)__jsonPassword : (string)Password; }
            { _jCoLibraryPath = If(json?.PropertyT <Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.Json.JsonString>("jCoLibraryPath"), out var __jsonJCoLibraryPath) ? (string)__jsonJCoLibraryPath : (string)JCoLibraryPath; }
            AfterFromJson(json);
        }