Model/PermissionChangedActionItem.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 GroupChanges
No description available.

.PARAMETER PermissionChanges
No description available.

.PARAMETER AccountType
No description available.

.PARAMETER AccountTypeDescription
No description available.

.PARAMETER ActionType
No description available.

.PARAMETER ActionTypeDescription
No description available.

.PARAMETER ChangedBy
No description available.

.PARAMETER ObjectTitle
No description available.

.PARAMETER ObjectUrl
No description available.

.PARAMETER ObjectType
No description available.

.OUTPUTS

PermissionChangedActionItem<PSCustomObject>
#>


function New-PermissionChangedActionItem {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Name},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${GroupChanges},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PermissionChanges},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${AccountType},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AccountTypeDescription},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ActionType},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ActionTypeDescription},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ChangedBy},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectTitle},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectUrl},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectType}
    )

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

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "name" = ${Name}
            "groupChanges" = ${GroupChanges}
            "permissionChanges" = ${PermissionChanges}
            "accountType" = ${AccountType}
            "accountTypeDescription" = ${AccountTypeDescription}
            "actionType" = ${ActionType}
            "actionTypeDescription" = ${ActionTypeDescription}
            "changedBy" = ${ChangedBy}
            "objectTitle" = ${ObjectTitle}
            "objectUrl" = ${ObjectUrl}
            "objectType" = ${ObjectType}
        }

        return $PSO
    }
}