Model/MembershipRecertificationItem.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 InstanceId
No description available.

.PARAMETER Type
No description available.

.PARAMETER TaskId
No description available.

.PARAMETER Action
No description available.

.PARAMETER ActionDescription
No description available.

.PARAMETER User
No description available.

.PARAMETER UserDisplayName
No description available.

.PARAMETER MembershipType
No description available.

.PARAMETER MembershipTypeDescription
No description available.

.PARAMETER AccessType
No description available.

.PARAMETER AccessTypeDescription
No description available.

.OUTPUTS

MembershipRecertificationItem<PSCustomObject>
#>


function New-MembershipRecertificationItem {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${InstanceId},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Type},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${TaskId},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Action},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ActionDescription},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${User},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${UserDisplayName},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${MembershipType},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${MembershipTypeDescription},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${AccessType},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AccessTypeDescription}
    )

    Process {
        'Creating object: Cloud.Governance.Client => MembershipRecertificationItem' | Write-Debug
        $PSBoundParameters | Out-DebugParameter | Write-Debug

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "instanceId" = ${InstanceId}
            "type" = ${Type}
            "taskId" = ${TaskId}
            "action" = ${Action}
            "actionDescription" = ${ActionDescription}
            "user" = ${User}
            "userDisplayName" = ${UserDisplayName}
            "membershipType" = ${MembershipType}
            "membershipTypeDescription" = ${MembershipTypeDescription}
            "accessType" = ${AccessType}
            "accessTypeDescription" = ${AccessTypeDescription}
        }

        return $PSO
    }
}