Model/ScheduleItemModel.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 Days
No description available.

.PARAMETER BeginHours
No description available.

.PARAMETER EndHours
No description available.

.OUTPUTS

ScheduleItemModel<PSCustomObject>
#>


function New-ScheduleItemModel {
    [CmdletBinding()]
    Param (
        [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)]
        [PSCustomObject[]]
        ${Days},
        [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${BeginHours},
        [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)]
        [System.Nullable[Int32]]
        ${EndHours}
    )

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

        $PSO = [PSCustomObject]@{
            "days" = ${Days}
            "beginHours" = ${BeginHours}
            "endHours" = ${EndHours}
        }

        return $PSO
    }
}