Model/BriefGroupPolicy.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 Name No description available. .PARAMETER Description No description available. .PARAMETER EnableLeaseExpiration No description available. .PARAMETER LeaseExpiredInterval No description available. .PARAMETER LeaseExpiredIntervalType No description available. .PARAMETER EnableManageGroupSharing No description available. .PARAMETER EnableInviteAuthorizedGuestUser No description available. .PARAMETER EnableInviteGuestUser No description available. .OUTPUTS BriefGroupPolicy<PSCustomObject> #> function New-BriefGroupPolicy { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Id}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [String] ${Name}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [String] ${Description}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableLeaseExpiration}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Int32]] ${LeaseExpiredInterval}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${LeaseExpiredIntervalType}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableManageGroupSharing}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableInviteAuthorizedGuestUser}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableInviteGuestUser} ) Process { 'Creating object: Cloud.Governance.Client => BriefGroupPolicy' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "id" = ${Id} "name" = ${Name} "description" = ${Description} "enableLeaseExpiration" = ${EnableLeaseExpiration} "leaseExpiredInterval" = ${LeaseExpiredInterval} "leaseExpiredIntervalType" = ${LeaseExpiredIntervalType} "enableManageGroupSharing" = ${EnableManageGroupSharing} "enableInviteAuthorizedGuestUser" = ${EnableInviteAuthorizedGuestUser} "enableInviteGuestUser" = ${EnableInviteGuestUser} } return $PSO } } |