Model/DelegatedAccessToken.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 AccessToken No description available. .PARAMETER Duration No description available. .OUTPUTS DelegatedAccessToken<PSCustomObject> #> function New-DelegatedAccessToken { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [String] ${AccessToken}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int64]] ${Duration} ) Process { 'Creating object: Cloud.Governance.Client => DelegatedAccessToken' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "access_token" = ${AccessToken} "duration" = ${Duration} } return $PSO } } |