Model/RequestMetadata.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 Name No description available. .PARAMETER BooleanValue No description available. .PARAMETER SingleLineOrMultipleLineValue No description available. .PARAMETER UpsOrAzureAdValue No description available. .PARAMETER TermsValue No description available. .PARAMETER UserValue No description available. .PARAMETER LinkValue No description available. .PARAMETER ChoiceValue No description available. .PARAMETER Type No description available. .PARAMETER ValueString No description available. .PARAMETER Action No description available. .OUTPUTS RequestMetadata<PSCustomObject> #> function New-RequestMetadata { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [String] ${Name}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${BooleanValue}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [String] ${SingleLineOrMultipleLineValue}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${UpsOrAzureAdValue}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${TermsValue}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${UserValue}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${LinkValue}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [String[]] ${ChoiceValue}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Type}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [String] ${ValueString}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Action} ) Process { 'Creating object: Cloud.Governance.Client => RequestMetadata' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "id" = ${Id} "name" = ${Name} "booleanValue" = ${BooleanValue} "singleLineOrMultipleLineValue" = ${SingleLineOrMultipleLineValue} "upsOrAzureAdValue" = ${UpsOrAzureAdValue} "termsValue" = ${TermsValue} "userValue" = ${UserValue} "linkValue" = ${LinkValue} "choiceValue" = ${ChoiceValue} "type" = ${Type} "valueString" = ${ValueString} "action" = ${Action} } return $PSO } } |