Model/ClonePermissionSecuritySearchResult.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 PermissionsAfterClone
No description available.

.PARAMETER Id
No description available.

.PARAMETER DisplayName
No description available.

.PARAMETER IdentityName
No description available.

.PARAMETER ObjectUrl
No description available.

.PARAMETER ObjectTitle
No description available.

.PARAMETER ObjectType
No description available.

.PARAMETER ObjectTypeDescription
No description available.

.PARAMETER AccountType
No description available.

.PARAMETER AccountTypeDescription
No description available.

.PARAMETER SharePointGroup
No description available.

.PARAMETER PermissionLevels
No description available.

.PARAMETER Action
No description available.

.PARAMETER AccessType
No description available.

.OUTPUTS

ClonePermissionSecuritySearchResult<PSCustomObject>
#>


function New-ClonePermissionSecuritySearchResult {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PermissionsAfterClone},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${DisplayName},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${IdentityName},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectUrl},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectTitle},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectType},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectTypeDescription},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AccountType},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AccountTypeDescription},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${SharePointGroup},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${PermissionLevels},
        [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Action},
        [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${AccessType}
    )

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

        $PSO = [PSCustomObject]@{
            "permissionsAfterClone" = ${PermissionsAfterClone}
            "id" = ${Id}
            "displayName" = ${DisplayName}
            "identityName" = ${IdentityName}
            "objectUrl" = ${ObjectUrl}
            "objectTitle" = ${ObjectTitle}
            "objectType" = ${ObjectType}
            "objectTypeDescription" = ${ObjectTypeDescription}
            "accountType" = ${AccountType}
            "accountTypeDescription" = ${AccountTypeDescription}
            "sharePointGroup" = ${SharePointGroup}
            "permissionLevels" = ${PermissionLevels}
            "action" = ${Action}
            "accessType" = ${AccessType}
        }

        return $PSO
    }
}