Model/WorkspaceAuditGridModel.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 ObjectName
No description available.

.PARAMETER ObjectUrl
No description available.

.PARAMETER ObjectType
No description available.

.PARAMETER ObjectTypeDescription
No description available.

.PARAMETER InitiatedBy
No description available.

.PARAMETER InitiatedByDisplayName
No description available.

.PARAMETER Activity
No description available.

.PARAMETER ActivityDescription
No description available.

.PARAMETER ActionTime
No description available.

.PARAMETER Status
No description available.

.PARAMETER StatusDescription
No description available.

.OUTPUTS

WorkspaceAuditGridModel<PSCustomObject>
#>


function New-WorkspaceAuditGridModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectName},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectUrl},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${ObjectType},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ObjectTypeDescription},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${InitiatedBy},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${InitiatedByDisplayName},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Activity},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ActivityDescription},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[System.DateTime]]
        ${ActionTime},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Status},
        [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${StatusDescription}
    )

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

        $PSO = [PSCustomObject]@{
            "id" = ${Id}
            "objectName" = ${ObjectName}
            "objectUrl" = ${ObjectUrl}
            "objectType" = ${ObjectType}
            "objectTypeDescription" = ${ObjectTypeDescription}
            "initiatedBy" = ${InitiatedBy}
            "initiatedByDisplayName" = ${InitiatedByDisplayName}
            "activity" = ${Activity}
            "activityDescription" = ${ActivityDescription}
            "actionTime" = ${ActionTime}
            "status" = ${Status}
            "statusDescription" = ${StatusDescription}
        }

        return $PSO
    }
}