Model/SiteInfo.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 FullUrl No description available. .PARAMETER Id No description available. .PARAMETER HubSiteId No description available. .PARAMETER IsHubSite No description available. .PARAMETER HubSiteTitle No description available. .PARAMETER WebAppId No description available. .PARAMETER IsOnlineSite No description available. .PARAMETER PrimarySiteContact No description available. .PARAMETER PrimarySiteContactIdentityName No description available. .PARAMETER PrimarySiteContactEmail No description available. .PARAMETER SecondarySiteContact No description available. .PARAMETER SecondarySiteContactIdentityName No description available. .PARAMETER SecondarySiteContactEmail No description available. .PARAMETER SiteOwner No description available. .PARAMETER SiteOwnerEmail No description available. .PARAMETER CreatedTime No description available. .PARAMETER Status No description available. .PARAMETER SecondaryAdmin No description available. .PARAMETER AdditionalAdmin No description available. .PARAMETER AdditionalAdminEmail No description available. .PARAMETER FarmId No description available. .PARAMETER ModifiedTime No description available. .PARAMETER HostHeader No description available. .PARAMETER RootWebId No description available. .PARAMETER QuotaTemplateName No description available. .PARAMETER Size No description available. .PARAMETER SizeValue No description available. .PARAMETER ManagedPath No description available. .PARAMETER IsDeleted No description available. .PARAMETER RequestId No description available. .PARAMETER ContentDBName No description available. .PARAMETER PolicyId No description available. .PARAMETER LifecycleActionLockId No description available. .PARAMETER AutoLifecycleLockId No description available. .PARAMETER SiteTemplate No description available. .PARAMETER SiteTemplateTitle No description available. .PARAMETER ServerRelativeUrl No description available. .PARAMETER TimeLastChecked No description available. .PARAMETER LastAccessedTime No description available. .PARAMETER NoAccessThreshold No description available. .PARAMETER ExpiredThreshold No description available. .PARAMETER Properties No description available. .PARAMETER QuotaSize No description available. .PARAMETER RecurrenceProperties No description available. .PARAMETER ClaimStatus No description available. .PARAMETER LockProperties No description available. .PARAMETER EnableManualArchive No description available. .PARAMETER Phase No description available. .PARAMETER PhaseTime No description available. .PARAMETER AutoImportProfileId No description available. .PARAMETER SharingCapabilities No description available. .PARAMETER AccessThresholdExpirationDate No description available. .PARAMETER LeasePeriodExpirationDate No description available. .PARAMETER PermissionRecertificationStatus No description available. .PARAMETER OwnershipRecertificationStatus No description available. .PARAMETER MetadataRecertificationStatus No description available. .PARAMETER SharingCapabilitiesDesc No description available. .PARAMETER ExtensionProperties No description available. .PARAMETER PhaseTimeDisplay No description available. .PARAMETER CurrentRenewers No description available. .PARAMETER RenewDueDate No description available. .PARAMETER AutoImportProfileName No description available. .PARAMETER PhaseDisplay No description available. .PARAMETER Title No description available. .PARAMETER Department No description available. .PARAMETER Description No description available. .PARAMETER PolicyName No description available. .PARAMETER MaxDepth No description available. .PARAMETER QuotaSizeValue No description available. .PARAMETER ApplyPolicyStatus No description available. .PARAMETER AppliedDeploymentPlans No description available. .PARAMETER Location No description available. .OUTPUTS SiteInfo<PSCustomObject> #> function New-SiteInfo { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [String] ${FullUrl}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Id}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${HubSiteId}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsHubSite}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [String] ${HubSiteTitle}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${WebAppId}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsOnlineSite}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [String] ${PrimarySiteContact}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [String] ${PrimarySiteContactIdentityName}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [String] ${PrimarySiteContactEmail}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [String] ${SecondarySiteContact}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [String] ${SecondarySiteContactIdentityName}, [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)] [String] ${SecondarySiteContactEmail}, [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)] [String] ${SiteOwner}, [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)] [String] ${SiteOwnerEmail}, [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${CreatedTime}, [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Status}, [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)] [String] ${SecondaryAdmin}, [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)] [String] ${AdditionalAdmin}, [Parameter(Position = 19, ValueFromPipelineByPropertyName = $true)] [String] ${AdditionalAdminEmail}, [Parameter(Position = 20, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${FarmId}, [Parameter(Position = 21, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${ModifiedTime}, [Parameter(Position = 22, ValueFromPipelineByPropertyName = $true)] [String] ${HostHeader}, [Parameter(Position = 23, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${RootWebId}, [Parameter(Position = 24, ValueFromPipelineByPropertyName = $true)] [String] ${QuotaTemplateName}, [Parameter(Position = 25, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int64]] ${Size}, [Parameter(Position = 26, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${SizeValue}, [Parameter(Position = 27, ValueFromPipelineByPropertyName = $true)] [String] ${ManagedPath}, [Parameter(Position = 28, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${IsDeleted}, [Parameter(Position = 29, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${RequestId}, [Parameter(Position = 30, ValueFromPipelineByPropertyName = $true)] [String] ${ContentDBName}, [Parameter(Position = 31, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${PolicyId}, [Parameter(Position = 32, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${LifecycleActionLockId}, [Parameter(Position = 33, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${AutoLifecycleLockId}, [Parameter(Position = 34, ValueFromPipelineByPropertyName = $true)] [String] ${SiteTemplate}, [Parameter(Position = 35, ValueFromPipelineByPropertyName = $true)] [String] ${SiteTemplateTitle}, [Parameter(Position = 36, ValueFromPipelineByPropertyName = $true)] [String] ${ServerRelativeUrl}, [Parameter(Position = 37, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${TimeLastChecked}, [Parameter(Position = 38, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${LastAccessedTime}, [Parameter(Position = 39, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${NoAccessThreshold}, [Parameter(Position = 40, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${ExpiredThreshold}, [Parameter(Position = 41, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Properties}, [Parameter(Position = 42, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Double]] ${QuotaSize}, [Parameter(Position = 43, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${RecurrenceProperties}, [Parameter(Position = 44, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${ClaimStatus}, [Parameter(Position = 45, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${LockProperties}, [Parameter(Position = 46, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableManualArchive}, [Parameter(Position = 47, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${Phase}, [Parameter(Position = 48, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${PhaseTime}, [Parameter(Position = 49, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${AutoImportProfileId}, [Parameter(Position = 50, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${SharingCapabilities}, [Parameter(Position = 51, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${AccessThresholdExpirationDate}, [Parameter(Position = 52, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${LeasePeriodExpirationDate}, [Parameter(Position = 53, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${PermissionRecertificationStatus}, [Parameter(Position = 54, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${OwnershipRecertificationStatus}, [Parameter(Position = 55, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${MetadataRecertificationStatus}, [Parameter(Position = 56, ValueFromPipelineByPropertyName = $true)] [String] ${SharingCapabilitiesDesc}, [Parameter(Position = 57, ValueFromPipelineByPropertyName = $true)] [Hashtable] ${ExtensionProperties}, [Parameter(Position = 58, ValueFromPipelineByPropertyName = $true)] [String] ${PhaseTimeDisplay}, [Parameter(Position = 59, ValueFromPipelineByPropertyName = $true)] [String] ${CurrentRenewers}, [Parameter(Position = 60, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${RenewDueDate}, [Parameter(Position = 61, ValueFromPipelineByPropertyName = $true)] [String] ${AutoImportProfileName}, [Parameter(Position = 62, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${PhaseDisplay}, [Parameter(Position = 63, ValueFromPipelineByPropertyName = $true)] [String] ${Title}, [Parameter(Position = 64, ValueFromPipelineByPropertyName = $true)] [String] ${Department}, [Parameter(Position = 65, ValueFromPipelineByPropertyName = $true)] [String] ${Description}, [Parameter(Position = 66, ValueFromPipelineByPropertyName = $true)] [String] ${PolicyName}, [Parameter(Position = 67, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${MaxDepth}, [Parameter(Position = 68, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int64]] ${QuotaSizeValue}, [Parameter(Position = 69, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${ApplyPolicyStatus}, [Parameter(Position = 70, ValueFromPipelineByPropertyName = $true)] [String] ${AppliedDeploymentPlans}, [Parameter(Position = 71, ValueFromPipelineByPropertyName = $true)] [String] ${Location} ) Process { 'Creating object: Cloud.Governance.Client => SiteInfo' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "fullUrl" = ${FullUrl} "id" = ${Id} "hubSiteId" = ${HubSiteId} "isHubSite" = ${IsHubSite} "hubSiteTitle" = ${HubSiteTitle} "webAppId" = ${WebAppId} "isOnlineSite" = ${IsOnlineSite} "primarySiteContact" = ${PrimarySiteContact} "primarySiteContactIdentityName" = ${PrimarySiteContactIdentityName} "primarySiteContactEmail" = ${PrimarySiteContactEmail} "secondarySiteContact" = ${SecondarySiteContact} "secondarySiteContactIdentityName" = ${SecondarySiteContactIdentityName} "secondarySiteContactEmail" = ${SecondarySiteContactEmail} "siteOwner" = ${SiteOwner} "siteOwnerEmail" = ${SiteOwnerEmail} "createdTime" = ${CreatedTime} "status" = ${Status} "secondaryAdmin" = ${SecondaryAdmin} "additionalAdmin" = ${AdditionalAdmin} "additionalAdminEmail" = ${AdditionalAdminEmail} "farmId" = ${FarmId} "modifiedTime" = ${ModifiedTime} "hostHeader" = ${HostHeader} "rootWebId" = ${RootWebId} "quotaTemplateName" = ${QuotaTemplateName} "size" = ${Size} "sizeValue" = ${SizeValue} "managedPath" = ${ManagedPath} "isDeleted" = ${IsDeleted} "requestId" = ${RequestId} "contentDBName" = ${ContentDBName} "policyId" = ${PolicyId} "lifecycleActionLockId" = ${LifecycleActionLockId} "autoLifecycleLockId" = ${AutoLifecycleLockId} "siteTemplate" = ${SiteTemplate} "siteTemplateTitle" = ${SiteTemplateTitle} "serverRelativeUrl" = ${ServerRelativeUrl} "timeLastChecked" = ${TimeLastChecked} "lastAccessedTime" = ${LastAccessedTime} "noAccessThreshold" = ${NoAccessThreshold} "expiredThreshold" = ${ExpiredThreshold} "properties" = ${Properties} "quotaSize" = ${QuotaSize} "recurrenceProperties" = ${RecurrenceProperties} "claimStatus" = ${ClaimStatus} "lockProperties" = ${LockProperties} "enableManualArchive" = ${EnableManualArchive} "phase" = ${Phase} "phaseTime" = ${PhaseTime} "autoImportProfileId" = ${AutoImportProfileId} "sharingCapabilities" = ${SharingCapabilities} "accessThresholdExpirationDate" = ${AccessThresholdExpirationDate} "leasePeriodExpirationDate" = ${LeasePeriodExpirationDate} "permissionRecertificationStatus" = ${PermissionRecertificationStatus} "ownershipRecertificationStatus" = ${OwnershipRecertificationStatus} "metadataRecertificationStatus" = ${MetadataRecertificationStatus} "sharingCapabilitiesDesc" = ${SharingCapabilitiesDesc} "extensionProperties" = ${ExtensionProperties} "phaseTimeDisplay" = ${PhaseTimeDisplay} "currentRenewers" = ${CurrentRenewers} "renewDueDate" = ${RenewDueDate} "autoImportProfileName" = ${AutoImportProfileName} "phaseDisplay" = ${PhaseDisplay} "title" = ${Title} "department" = ${Department} "description" = ${Description} "policyName" = ${PolicyName} "maxDepth" = ${MaxDepth} "quotaSizeValue" = ${QuotaSizeValue} "applyPolicyStatus" = ${ApplyPolicyStatus} "appliedDeploymentPlans" = ${AppliedDeploymentPlans} "location" = ${Location} } return $PSO } } |