Model/SiteReport.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 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 ClaimStatus
No description available.

.PARAMETER Sharing
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 MetadataRecertificationStatus
No description available.

.PARAMETER OwnershipRecertificationStatus
No description available.

.PARAMETER GeoLocation
No description available.

.PARAMETER Hub
No description available.

.PARAMETER Phase
No description available.

.PARAMETER AllMetadata
No description available.

.OUTPUTS

SiteReport<PSCustomObject>
#>


function New-SiteReport {
    [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)]
        [String]
        ${Template},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Owner},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${OwnerDisplayName},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PrimaryContact},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PrimaryContactDisplayName},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SecondaryContact},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SecondaryContactDisplayName},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AdditionalAdministrators},
        [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AdditionalAdministratorDisplayNames},
        [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${CreatedTime},
        [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Status},
        [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ClaimStatus},
        [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Sharing},
        [Parameter(Position = 19, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int64]]
        ${StorageQuota},
        [Parameter(Position = 20, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int64]]
        ${StorageUsed},
        [Parameter(Position = 21, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${InactivityThresholdTime},
        [Parameter(Position = 22, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${LeaseExpirationTime},
        [Parameter(Position = 23, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PermissionRecertificationStatus},
        [Parameter(Position = 24, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${MetadataRecertificationStatus},
        [Parameter(Position = 25, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${OwnershipRecertificationStatus},
        [Parameter(Position = 26, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${GeoLocation},
        [Parameter(Position = 27, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Hub},
        [Parameter(Position = 28, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Phase},
        [Parameter(Position = 29, ValueFromPipelineByPropertyName = $true)]
        [Hashtable]
        ${AllMetadata}
    )

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

        $PSO = [PSCustomObject]@{
            "Id" = ${Id}
            "Description" = ${Description}
            "Title" = ${Title}
            "Url" = ${Url}
            "Department" = ${Department}
            "PolicyName" = ${PolicyName}
            "Template" = ${Template}
            "Owner" = ${Owner}
            "OwnerDisplayName" = ${OwnerDisplayName}
            "PrimaryContact" = ${PrimaryContact}
            "PrimaryContactDisplayName" = ${PrimaryContactDisplayName}
            "SecondaryContact" = ${SecondaryContact}
            "SecondaryContactDisplayName" = ${SecondaryContactDisplayName}
            "AdditionalAdministrators" = ${AdditionalAdministrators}
            "AdditionalAdministratorDisplayNames" = ${AdditionalAdministratorDisplayNames}
            "CreatedTime" = ${CreatedTime}
            "Status" = ${Status}
            "ClaimStatus" = ${ClaimStatus}
            "Sharing" = ${Sharing}
            "StorageQuota" = ${StorageQuota}
            "StorageUsed" = ${StorageUsed}
            "InactivityThresholdTime" = ${InactivityThresholdTime}
            "LeaseExpirationTime" = ${LeaseExpirationTime}
            "PermissionRecertificationStatus" = ${PermissionRecertificationStatus}
            "MetadataRecertificationStatus" = ${MetadataRecertificationStatus}
            "OwnershipRecertificationStatus" = ${OwnershipRecertificationStatus}
            "GeoLocation" = ${GeoLocation}
            "Hub" = ${Hub}
            "Phase" = ${Phase}
            "AllMetadata" = ${AllMetadata}
        }

        return $PSO
    }
}