Model/SiteList.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 Id
No description available.

.PARAMETER Description
No description available.

.PARAMETER Title
No description available.

.PARAMETER Url
No description available.

.PARAMETER Department
No description available.

.PARAMETER PolicyName
No description available.

.PARAMETER PolicyId
No description available.

.PARAMETER Template
No description available.

.PARAMETER Owner
No description available.

.PARAMETER OwnerDisplayName
No description available.

.PARAMETER PrimaryContact
No description available.

.PARAMETER PrimaryContactDisplayName
No description available.

.PARAMETER SecondaryContact
No description available.

.PARAMETER SecondaryContactDisplayName
No description available.

.PARAMETER AdditionalAdministrators
No description available.

.PARAMETER AdditionalAdministratorDisplayNames
No description available.

.PARAMETER CreatedTime
No description available.

.PARAMETER Status
No description available.

.PARAMETER StatusDescription
No description available.

.PARAMETER ClaimStatus
No description available.

.PARAMETER ClaimStatusDescription
No description available.

.PARAMETER Sharing
No description available.

.PARAMETER SharingDescription
No description available.

.PARAMETER StorageQuota
No description available.

.PARAMETER StorageUsed
No description available.

.PARAMETER InactivityThresholdTime
No description available.

.PARAMETER LeaseExpirationTime
No description available.

.PARAMETER PermissionRecertificationStatus
No description available.

.PARAMETER PermissionRecertificationStatusDescription
No description available.

.PARAMETER MetadataRecertificationStatus
No description available.

.PARAMETER MetadataRecertificationStatusDescription
No description available.

.PARAMETER OwnershipRecertificationStatus
No description available.

.PARAMETER OwnershipRecertificationStatusDescription
No description available.

.PARAMETER GeoLocation
No description available.

.PARAMETER GeoLocationDescription
No description available.

.PARAMETER Hub
No description available.

.PARAMETER Phase
No description available.

.PARAMETER PhaseDescription
No description available.

.PARAMETER Metadata
No description available.

.OUTPUTS

SiteList<PSCustomObject>
#>


function New-SiteList {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Description},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Title},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Url},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Department},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PolicyName},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${PolicyId},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Template},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Owner},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${OwnerDisplayName},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PrimaryContact},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PrimaryContactDisplayName},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SecondaryContact},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SecondaryContactDisplayName},
        [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AdditionalAdministrators},
        [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AdditionalAdministratorDisplayNames},
        [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${CreatedTime},
        [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Status},
        [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${StatusDescription},
        [Parameter(Position = 19, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ClaimStatus},
        [Parameter(Position = 20, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ClaimStatusDescription},
        [Parameter(Position = 21, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Sharing},
        [Parameter(Position = 22, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SharingDescription},
        [Parameter(Position = 23, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int64]]
        ${StorageQuota},
        [Parameter(Position = 24, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int64]]
        ${StorageUsed},
        [Parameter(Position = 25, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${InactivityThresholdTime},
        [Parameter(Position = 26, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${LeaseExpirationTime},
        [Parameter(Position = 27, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${PermissionRecertificationStatus},
        [Parameter(Position = 28, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PermissionRecertificationStatusDescription},
        [Parameter(Position = 29, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${MetadataRecertificationStatus},
        [Parameter(Position = 30, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${MetadataRecertificationStatusDescription},
        [Parameter(Position = 31, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${OwnershipRecertificationStatus},
        [Parameter(Position = 32, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${OwnershipRecertificationStatusDescription},
        [Parameter(Position = 33, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${GeoLocation},
        [Parameter(Position = 34, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${GeoLocationDescription},
        [Parameter(Position = 35, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Hub},
        [Parameter(Position = 36, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Phase},
        [Parameter(Position = 37, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PhaseDescription},
        [Parameter(Position = 38, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Metadata}
    )

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

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "description" = ${Description}
            "title" = ${Title}
            "url" = ${Url}
            "department" = ${Department}
            "policyName" = ${PolicyName}
            "policyId" = ${PolicyId}
            "template" = ${Template}
            "owner" = ${Owner}
            "ownerDisplayName" = ${OwnerDisplayName}
            "primaryContact" = ${PrimaryContact}
            "primaryContactDisplayName" = ${PrimaryContactDisplayName}
            "secondaryContact" = ${SecondaryContact}
            "secondaryContactDisplayName" = ${SecondaryContactDisplayName}
            "additionalAdministrators" = ${AdditionalAdministrators}
            "additionalAdministratorDisplayNames" = ${AdditionalAdministratorDisplayNames}
            "createdTime" = ${CreatedTime}
            "status" = ${Status}
            "statusDescription" = ${StatusDescription}
            "claimStatus" = ${ClaimStatus}
            "claimStatusDescription" = ${ClaimStatusDescription}
            "sharing" = ${Sharing}
            "sharingDescription" = ${SharingDescription}
            "storageQuota" = ${StorageQuota}
            "storageUsed" = ${StorageUsed}
            "inactivityThresholdTime" = ${InactivityThresholdTime}
            "leaseExpirationTime" = ${LeaseExpirationTime}
            "permissionRecertificationStatus" = ${PermissionRecertificationStatus}
            "permissionRecertificationStatusDescription" = ${PermissionRecertificationStatusDescription}
            "metadataRecertificationStatus" = ${MetadataRecertificationStatus}
            "metadataRecertificationStatusDescription" = ${MetadataRecertificationStatusDescription}
            "ownershipRecertificationStatus" = ${OwnershipRecertificationStatus}
            "ownershipRecertificationStatusDescription" = ${OwnershipRecertificationStatusDescription}
            "geoLocation" = ${GeoLocation}
            "geoLocationDescription" = ${GeoLocationDescription}
            "hub" = ${Hub}
            "phase" = ${Phase}
            "phaseDescription" = ${PhaseDescription}
            "metadata" = ${Metadata}
        }

        return $PSO
    }
}