Model/PolicySharingSetting.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 IsEnabled No description available. .PARAMETER SharingCapabilities No description available. .PARAMETER TurnOffForNonOwnerUserSharing No description available. .PARAMETER MembersCanShare No description available. .PARAMETER AllowMembersEditMembership No description available. .PARAMETER AllowAccessRequests No description available. .PARAMETER RequestAccessEmail No description available. .PARAMETER AccessRequestType No description available. .PARAMETER AccessRequestMessage No description available. .OUTPUTS PolicySharingSetting<PSCustomObject> #> function New-PolicySharingSetting { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${IsEnabled}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${SharingCapabilities}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${TurnOffForNonOwnerUserSharing}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${MembersCanShare}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowMembersEditMembership}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${AllowAccessRequests}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [String] ${RequestAccessEmail}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${AccessRequestType}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [String] ${AccessRequestMessage} ) Process { 'Creating object: Cloud.Governance.Client => PolicySharingSetting' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "isEnabled" = ${IsEnabled} "sharingCapabilities" = ${SharingCapabilities} "turnOffForNonOwnerUserSharing" = ${TurnOffForNonOwnerUserSharing} "membersCanShare" = ${MembersCanShare} "allowMembersEditMembership" = ${AllowMembersEditMembership} "allowAccessRequests" = ${AllowAccessRequests} "requestAccessEmail" = ${RequestAccessEmail} "accessRequestType" = ${AccessRequestType} "accessRequestMessage" = ${AccessRequestMessage} } return $PSO } } |