Model/GrantPermissionServiceDurationSettings.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 AssignBy No description available. .PARAMETER IsGrantTemporaryPermission No description available. .PARAMETER DefaultDurationInterval No description available. .PARAMETER DefaultDurationType No description available. .PARAMETER IsEnableMaxDuration No description available. .PARAMETER MaxDuration No description available. .PARAMETER MaxDurationType No description available. .PARAMETER IsEnableExpirationNotify No description available. .PARAMETER ExpirationNotifyDurationInterval No description available. .PARAMETER ExpirationNotifyDurationType No description available. .PARAMETER IsOnlyUseDefaultDuration No description available. .OUTPUTS GrantPermissionServiceDurationSettings<PSCustomObject> #> function New-GrantPermissionServiceDurationSettings { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${AssignBy}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsGrantTemporaryPermission}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${DefaultDurationInterval}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${DefaultDurationType}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsEnableMaxDuration}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${MaxDuration}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${MaxDurationType}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsEnableExpirationNotify}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${ExpirationNotifyDurationInterval}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${ExpirationNotifyDurationType}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsOnlyUseDefaultDuration} ) Process { 'Creating object: Cloud.Governance.Client => GrantPermissionServiceDurationSettings' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "assignBy" = ${AssignBy} "isGrantTemporaryPermission" = ${IsGrantTemporaryPermission} "defaultDurationInterval" = ${DefaultDurationInterval} "defaultDurationType" = ${DefaultDurationType} "isEnableMaxDuration" = ${IsEnableMaxDuration} "maxDuration" = ${MaxDuration} "maxDurationType" = ${MaxDurationType} "isEnableExpirationNotify" = ${IsEnableExpirationNotify} "expirationNotifyDurationInterval" = ${ExpirationNotifyDurationInterval} "expirationNotifyDurationType" = ${ExpirationNotifyDurationType} "isOnlyUseDefaultDuration" = ${IsOnlyUseDefaultDuration} } return $PSO } } |