Model/OwnershipRecertification.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 TaskId
No description available.

.PARAMETER SiteId
No description available.

.PARAMETER SiteUrl
No description available.

.PARAMETER SiteTitle
No description available.

.PARAMETER SiteDescription
No description available.

.PARAMETER Policy
No description available.

.PARAMETER GeneratedTime
No description available.

.PARAMETER PrimaryAdministrator
No description available.

.PARAMETER PrimaryContact
No description available.

.PARAMETER SecondaryContact
No description available.

.PARAMETER Template
No description available.

.PARAMETER Status
No description available.

.OUTPUTS

OwnershipRecertification<PSCustomObject>
#>


function New-OwnershipRecertification {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${TaskId},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${SiteId},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SiteUrl},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SiteTitle},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SiteDescription},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Policy},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${GeneratedTime},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${PrimaryAdministrator},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${PrimaryContact},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${SecondaryContact},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Template},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Status}
    )

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

        $PSO = [PSCustomObject]@{
            "taskId" = ${TaskId}
            "siteId" = ${SiteId}
            "siteUrl" = ${SiteUrl}
            "siteTitle" = ${SiteTitle}
            "siteDescription" = ${SiteDescription}
            "policy" = ${Policy}
            "generatedTime" = ${GeneratedTime}
            "primaryAdministrator" = ${PrimaryAdministrator}
            "primaryContact" = ${PrimaryContact}
            "secondaryContact" = ${SecondaryContact}
            "template" = ${Template}
            "status" = ${Status}
        }

        return $PSO
    }
}