Model/WebLifecycleValidateResult.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 WebId
No description available.

.PARAMETER WebUrl
No description available.

.PARAMETER WebRelativeUrl
No description available.

.PARAMETER SiteId
No description available.

.PARAMETER SiteUrl
No description available.

.PARAMETER IsValid
No description available.

.PARAMETER ErrorMessage
No description available.

.OUTPUTS

WebLifecycleValidateResult<PSCustomObject>
#>


function New-WebLifecycleValidateResult {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${WebId},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${WebUrl},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${WebRelativeUrl},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${SiteId},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SiteUrl},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsValid},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ErrorMessage}
    )

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

        $PSO = [PSCustomObject]@{
            "webId" = ${WebId}
            "webUrl" = ${WebUrl}
            "webRelativeUrl" = ${WebRelativeUrl}
            "siteId" = ${SiteId}
            "siteUrl" = ${SiteUrl}
            "isValid" = ${IsValid}
            "errorMessage" = ${ErrorMessage}
        }

        return $PSO
    }
}