Model/ExecutionModel.ps1

#
# Cloud Governance Api
# No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
# Version: 1.0
# Generated by OpenAPI Generator: https://openapi-generator.tech
#

<#
.SYNOPSIS

No summary available.

.DESCRIPTION

No description available.

.PARAMETER Enabled
No description available.

.PARAMETER WebServiceAddress
No description available.

.PARAMETER WebServiceAuthenticationType
No description available.

.PARAMETER WebServiceAppClientId
No description available.

.PARAMETER MethodName
No description available.

.PARAMETER Arguments
No description available.

.OUTPUTS

ExecutionModel<PSCustomObject>
#>


function New-ExecutionModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${Enabled},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${WebServiceAddress},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${WebServiceAuthenticationType},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${WebServiceAppClientId},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${MethodName},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Arguments}
    )

    Process {
        'Creating object: Cloud.Governance.Client => ExecutionModel' | Write-Debug
        $PSBoundParameters | Out-DebugParameter | Write-Debug

        $PSO = [PSCustomObject]@{
            "enabled" = ${Enabled}
            "webServiceAddress" = ${WebServiceAddress}
            "webServiceAuthenticationType" = ${WebServiceAuthenticationType}
            "webServiceAppClientId" = ${WebServiceAppClientId}
            "methodName" = ${MethodName}
            "arguments" = ${Arguments}
        }

        return $PSO
    }
}