Model/ApiUser.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 LoginName No description available. .PARAMETER DisplayName No description available. .PARAMETER IsGroup No description available. .PARAMETER Email No description available. .PARAMETER JobTitle No description available. .PARAMETER PhysicalDeliveryOfficeName No description available. .PARAMETER IsOtherTenantUser No description available. .OUTPUTS ApiUser<PSCustomObject> #> function New-ApiUser { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [String] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [String] ${LoginName}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [String] ${DisplayName}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsGroup}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [String] ${Email}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [String] ${JobTitle}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [String] ${PhysicalDeliveryOfficeName}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsOtherTenantUser} ) Process { 'Creating object: Cloud.Governance.Client => ApiUser' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "id" = ${Id} "loginName" = ${LoginName} "displayName" = ${DisplayName} "isGroup" = ${IsGroup} "email" = ${Email} "jobTitle" = ${JobTitle} "physicalDeliveryOfficeName" = ${PhysicalDeliveryOfficeName} "isOtherTenantUser" = ${IsOtherTenantUser} } return $PSO } } |