Model/CreateSiteRequest.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 SiteTitle No description available. .PARAMETER SiteDescription No description available. .PARAMETER SiteUrl No description available. .PARAMETER PolicyId No description available. .PARAMETER TimeZone No description available. .PARAMETER Language No description available. .PARAMETER Template No description available. .PARAMETER DeploymentManagerPlanName No description available. .PARAMETER PrimaryAdmin No description available. .PARAMETER AdditionalAdmins No description available. .PARAMETER PrimaryContact No description available. .PARAMETER SecondaryContact No description available. .PARAMETER IsShownClassificationAndDesing No description available. .PARAMETER SiteDesign No description available. .PARAMETER Classification No description available. .PARAMETER IsShownHubsiteSettings No description available. .PARAMETER HubSiteSettings No description available. .PARAMETER UserPermissions No description available. .PARAMETER GroupPermissions No description available. .PARAMETER YammerGroupSettings No description available. .PARAMETER LeasePeriodSettings No description available. .PARAMETER MultiGeoLocation No description available. .PARAMETER InputTitle No description available. .PARAMETER Id No description available. .PARAMETER ServiceId No description available. .PARAMETER Department No description available. .PARAMETER Summary No description available. .PARAMETER NotesToApprovers No description available. .PARAMETER QuestionnaireId No description available. .PARAMETER Metadatas No description available. .PARAMETER TicketNumber No description available. .PARAMETER Type No description available. .PARAMETER TypeDescription No description available. .PARAMETER Requester No description available. .PARAMETER Status No description available. .PARAMETER ProgressStatus No description available. .PARAMETER ProgressStatusDescription No description available. .PARAMETER SubmittedTime No description available. .PARAMETER LastUpdated No description available. .PARAMETER CreatedTime No description available. .PARAMETER AssignTo No description available. .PARAMETER FullPath No description available. .OUTPUTS CreateSiteRequest<PSCustomObject> #> function New-CreateSiteRequest { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [String] ${SiteTitle}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [String] ${SiteDescription}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${SiteUrl}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${PolicyId}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${TimeZone}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${Language}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [String] ${Template}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [String] ${DeploymentManagerPlanName}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${PrimaryAdmin}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${AdditionalAdmins}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${PrimaryContact}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${SecondaryContact}, [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsShownClassificationAndDesing}, [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${SiteDesign}, [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)] [String] ${Classification}, [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsShownHubsiteSettings}, [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${HubSiteSettings}, [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${UserPermissions}, [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${GroupPermissions}, [Parameter(Position = 19, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${YammerGroupSettings}, [Parameter(Position = 20, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${LeasePeriodSettings}, [Parameter(Position = 21, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${MultiGeoLocation}, [Parameter(Position = 22, ValueFromPipelineByPropertyName = $true)] [String] ${InputTitle}, [Parameter(Position = 23, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Id}, [Parameter(Position = 24, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${ServiceId}, [Parameter(Position = 25, ValueFromPipelineByPropertyName = $true)] [String] ${Department}, [Parameter(Position = 26, ValueFromPipelineByPropertyName = $true)] [String] ${Summary}, [Parameter(Position = 27, ValueFromPipelineByPropertyName = $true)] [String] ${NotesToApprovers}, [Parameter(Position = 28, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${QuestionnaireId}, [Parameter(Position = 29, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${Metadatas}, [Parameter(Position = 30, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${TicketNumber}, [Parameter(Position = 31, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Type}, [Parameter(Position = 32, ValueFromPipelineByPropertyName = $true)] [String] ${TypeDescription}, [Parameter(Position = 33, ValueFromPipelineByPropertyName = $true)] [String] ${Requester}, [Parameter(Position = 34, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Status}, [Parameter(Position = 35, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${ProgressStatus}, [Parameter(Position = 36, ValueFromPipelineByPropertyName = $true)] [String] ${ProgressStatusDescription}, [Parameter(Position = 37, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${SubmittedTime}, [Parameter(Position = 38, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${LastUpdated}, [Parameter(Position = 39, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${CreatedTime}, [Parameter(Position = 40, ValueFromPipelineByPropertyName = $true)] [String] ${AssignTo}, [Parameter(Position = 41, ValueFromPipelineByPropertyName = $true)] [String] ${FullPath} ) Process { 'Creating object: Cloud.Governance.Client => CreateSiteRequest' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "siteTitle" = ${SiteTitle} "siteDescription" = ${SiteDescription} "siteUrl" = ${SiteUrl} "policyId" = ${PolicyId} "timeZone" = ${TimeZone} "language" = ${Language} "template" = ${Template} "deploymentManagerPlanName" = ${DeploymentManagerPlanName} "primaryAdmin" = ${PrimaryAdmin} "additionalAdmins" = ${AdditionalAdmins} "primaryContact" = ${PrimaryContact} "secondaryContact" = ${SecondaryContact} "isShownClassificationAndDesing" = ${IsShownClassificationAndDesing} "siteDesign" = ${SiteDesign} "classification" = ${Classification} "isShownHubsiteSettings" = ${IsShownHubsiteSettings} "hubSiteSettings" = ${HubSiteSettings} "userPermissions" = ${UserPermissions} "groupPermissions" = ${GroupPermissions} "yammerGroupSettings" = ${YammerGroupSettings} "leasePeriodSettings" = ${LeasePeriodSettings} "multiGeoLocation" = ${MultiGeoLocation} "inputTitle" = ${InputTitle} "id" = ${Id} "serviceId" = ${ServiceId} "department" = ${Department} "summary" = ${Summary} "notesToApprovers" = ${NotesToApprovers} "questionnaireId" = ${QuestionnaireId} "metadatas" = ${Metadatas} "ticketNumber" = ${TicketNumber} "type" = ${Type} "typeDescription" = ${TypeDescription} "requester" = ${Requester} "status" = ${Status} "progressStatus" = ${ProgressStatus} "progressStatusDescription" = ${ProgressStatusDescription} "submittedTime" = ${SubmittedTime} "lastUpdated" = ${LastUpdated} "createdTime" = ${CreatedTime} "assignTo" = ${AssignTo} "fullPath" = ${FullPath} } return $PSO } } |