Model/UserAuditGridModel.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 Object
No description available.

.PARAMETER ObjectDescription
No description available.

.PARAMETER ObjectType
No description available.

.PARAMETER ObjectTypeDescription
No description available.

.PARAMETER InstanceName
No description available.

.PARAMETER CreatedBy
No description available.

.PARAMETER Created
No description available.

.PARAMETER Action
No description available.

.PARAMETER ActionDescription
No description available.

.OUTPUTS

UserAuditGridModel<PSCustomObject>
#>


function New-UserAuditGridModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Object},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectDescription},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ObjectType},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectTypeDescription},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${InstanceName},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${CreatedBy},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${Created},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Action},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ActionDescription}
    )

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

        $PSO = [PSCustomObject]@{
            "object" = ${Object}
            "objectDescription" = ${ObjectDescription}
            "objectType" = ${ObjectType}
            "objectTypeDescription" = ${ObjectTypeDescription}
            "instanceName" = ${InstanceName}
            "createdBy" = ${CreatedBy}
            "created" = ${Created}
            "action" = ${Action}
            "actionDescription" = ${ActionDescription}
        }

        return $PSO
    }
}