Model/GrantPermissionSPObject.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 WebId
No description available.

.PARAMETER SiteId
No description available.

.PARAMETER WebServerRelativeUrl
No description available.

.PARAMETER ListTitle
No description available.

.PARAMETER TopInheritUrl
No description available.

.PARAMETER InheritNodeType
No description available.

.PARAMETER IsInheritedPermission
No description available.

.PARAMETER Id
No description available.

.PARAMETER Title
No description available.

.PARAMETER FullUrl
No description available.

.PARAMETER Type
No description available.

.OUTPUTS

GrantPermissionSPObject<PSCustomObject>
#>


function New-GrantPermissionSPObject {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${WebId},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${SiteId},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${WebServerRelativeUrl},
        [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${ListTitle},
        [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${TopInheritUrl},
        [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${InheritNodeType},
        [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Boolean]]
        ${IsInheritedPermission},
        [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Id},
        [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${Title},
        [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)]
        [String]
        ${FullUrl},
        [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject]
        ${Type}
    )

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

        $PSO = [PSCustomObject]@{
            "webId" = ${WebId}
            "siteId" = ${SiteId}
            "webServerRelativeUrl" = ${WebServerRelativeUrl}
            "listTitle" = ${ListTitle}
            "topInheritUrl" = ${TopInheritUrl}
            "inheritNodeType" = ${InheritNodeType}
            "isInheritedPermission" = ${IsInheritedPermission}
            "id" = ${Id}
            "title" = ${Title}
            "fullUrl" = ${FullUrl}
            "type" = ${Type}
        }

        return $PSO
    }
}