Model/TeamsGridModel.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 TeamsId No description available. .PARAMETER TeamsName No description available. .PARAMETER TeamsSharing No description available. .PARAMETER GroupSharingDescription No description available. .PARAMETER EnableTeamsArchive No description available. .PARAMETER EnableTeamsRestore No description available. .PARAMETER Id No description available. .PARAMETER ObjectId No description available. .PARAMETER PrimaryContact No description available. .PARAMETER PrimaryContactDisplayName No description available. .PARAMETER SecondaryContact No description available. .PARAMETER SecondaryContactDisplayName No description available. .PARAMETER Owners No description available. .PARAMETER OwnersDisplayName No description available. .PARAMETER PolicyName No description available. .PARAMETER PolicyId No description available. .PARAMETER Privacy No description available. .PARAMETER PrivacyDescription No description available. .PARAMETER SubscribeMembers No description available. .PARAMETER TeamsSiteSharing No description available. .PARAMETER TeamsSharingDescription No description available. .PARAMETER SubscribeMembersDescription No description available. .PARAMETER OutsideSenders No description available. .PARAMETER OutsideSendersDescription No description available. .PARAMETER Language No description available. .PARAMETER LanguageDescription No description available. .PARAMETER SiteUrl No description available. .PARAMETER SiteQuota No description available. .PARAMETER SiteUsage No description available. .PARAMETER LeaseExpirationTime No description available. .PARAMETER CreatedTime No description available. .PARAMETER EnableLeaseExtension No description available. .PARAMETER EnablePolicyChange No description available. .PARAMETER EnableDeletion No description available. .PARAMETER EnableSiteQuotaChange No description available. .PARAMETER EnableLeaseManagement No description available. .PARAMETER EnableInactivityThreshold No description available. .PARAMETER InactivityThresholdTime No description available. .PARAMETER Classification No description available. .PARAMETER EnableHiddenMembership No description available. .PARAMETER PermissionRecertificationStatus No description available. .PARAMETER PermissionRecertificationStatusDescription No description available. .PARAMETER MembershipRecertificationStatus No description available. .PARAMETER MembershipRecertificationStatusDescription No description available. .PARAMETER Status No description available. .PARAMETER StatusDescription No description available. .PARAMETER Hub No description available. .PARAMETER GeoLocation No description available. .PARAMETER GeoLocationDescription No description available. .PARAMETER Phase No description available. .PARAMETER PhaseDescription No description available. .PARAMETER Metadata No description available. .OUTPUTS TeamsGridModel<PSCustomObject> #> function New-TeamsGridModel { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true)] [String] ${TeamsId}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true)] [String] ${TeamsName}, [Parameter(Position = 2, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${TeamsSharing}, [Parameter(Position = 3, ValueFromPipelineByPropertyName = $true)] [String] ${GroupSharingDescription}, [Parameter(Position = 4, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableTeamsArchive}, [Parameter(Position = 5, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableTeamsRestore}, [Parameter(Position = 6, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Id}, [Parameter(Position = 7, ValueFromPipelineByPropertyName = $true)] [String] ${ObjectId}, [Parameter(Position = 8, ValueFromPipelineByPropertyName = $true)] [String] ${PrimaryContact}, [Parameter(Position = 9, ValueFromPipelineByPropertyName = $true)] [String] ${PrimaryContactDisplayName}, [Parameter(Position = 10, ValueFromPipelineByPropertyName = $true)] [String] ${SecondaryContact}, [Parameter(Position = 11, ValueFromPipelineByPropertyName = $true)] [String] ${SecondaryContactDisplayName}, [Parameter(Position = 12, ValueFromPipelineByPropertyName = $true)] [String] ${Owners}, [Parameter(Position = 13, ValueFromPipelineByPropertyName = $true)] [String] ${OwnersDisplayName}, [Parameter(Position = 14, ValueFromPipelineByPropertyName = $true)] [String] ${PolicyName}, [Parameter(Position = 15, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${PolicyId}, [Parameter(Position = 16, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${Privacy}, [Parameter(Position = 17, ValueFromPipelineByPropertyName = $true)] [String] ${PrivacyDescription}, [Parameter(Position = 18, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${SubscribeMembers}, [Parameter(Position = 19, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${TeamsSiteSharing}, [Parameter(Position = 20, ValueFromPipelineByPropertyName = $true)] [String] ${TeamsSharingDescription}, [Parameter(Position = 21, ValueFromPipelineByPropertyName = $true)] [String] ${SubscribeMembersDescription}, [Parameter(Position = 22, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${OutsideSenders}, [Parameter(Position = 23, ValueFromPipelineByPropertyName = $true)] [String] ${OutsideSendersDescription}, [Parameter(Position = 24, ValueFromPipelineByPropertyName = $true)] [String] ${Language}, [Parameter(Position = 25, ValueFromPipelineByPropertyName = $true)] [String] ${LanguageDescription}, [Parameter(Position = 26, ValueFromPipelineByPropertyName = $true)] [String] ${SiteUrl}, [Parameter(Position = 27, ValueFromPipelineByPropertyName = $true)] [String] ${SiteQuota}, [Parameter(Position = 28, ValueFromPipelineByPropertyName = $true)] [String] ${SiteUsage}, [Parameter(Position = 29, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${LeaseExpirationTime}, [Parameter(Position = 30, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${CreatedTime}, [Parameter(Position = 31, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableLeaseExtension}, [Parameter(Position = 32, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnablePolicyChange}, [Parameter(Position = 33, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableDeletion}, [Parameter(Position = 34, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableSiteQuotaChange}, [Parameter(Position = 35, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableLeaseManagement}, [Parameter(Position = 36, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableInactivityThreshold}, [Parameter(Position = 37, ValueFromPipelineByPropertyName = $true)] [System.Nullable[System.DateTime]] ${InactivityThresholdTime}, [Parameter(Position = 38, ValueFromPipelineByPropertyName = $true)] [String] ${Classification}, [Parameter(Position = 39, ValueFromPipelineByPropertyName = $true)] [System.Nullable[Boolean]] ${EnableHiddenMembership}, [Parameter(Position = 40, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${PermissionRecertificationStatus}, [Parameter(Position = 41, ValueFromPipelineByPropertyName = $true)] [String] ${PermissionRecertificationStatusDescription}, [Parameter(Position = 42, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${MembershipRecertificationStatus}, [Parameter(Position = 43, ValueFromPipelineByPropertyName = $true)] [String] ${MembershipRecertificationStatusDescription}, [Parameter(Position = 44, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Status}, [Parameter(Position = 45, ValueFromPipelineByPropertyName = $true)] [String] ${StatusDescription}, [Parameter(Position = 46, ValueFromPipelineByPropertyName = $true)] [String] ${Hub}, [Parameter(Position = 47, ValueFromPipelineByPropertyName = $true)] [String] ${GeoLocation}, [Parameter(Position = 48, ValueFromPipelineByPropertyName = $true)] [String] ${GeoLocationDescription}, [Parameter(Position = 49, ValueFromPipelineByPropertyName = $true)] [PSCustomObject] ${Phase}, [Parameter(Position = 50, ValueFromPipelineByPropertyName = $true)] [String] ${PhaseDescription}, [Parameter(Position = 51, ValueFromPipelineByPropertyName = $true)] [PSCustomObject[]] ${Metadata} ) Process { 'Creating object: Cloud.Governance.Client => TeamsGridModel' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "teamsId" = ${TeamsId} "teamsName" = ${TeamsName} "teamsSharing" = ${TeamsSharing} "groupSharingDescription" = ${GroupSharingDescription} "enableTeamsArchive" = ${EnableTeamsArchive} "enableTeamsRestore" = ${EnableTeamsRestore} "id" = ${Id} "objectId" = ${ObjectId} "primaryContact" = ${PrimaryContact} "primaryContactDisplayName" = ${PrimaryContactDisplayName} "secondaryContact" = ${SecondaryContact} "secondaryContactDisplayName" = ${SecondaryContactDisplayName} "owners" = ${Owners} "ownersDisplayName" = ${OwnersDisplayName} "policyName" = ${PolicyName} "policyId" = ${PolicyId} "privacy" = ${Privacy} "privacyDescription" = ${PrivacyDescription} "subscribeMembers" = ${SubscribeMembers} "teamsSiteSharing" = ${TeamsSiteSharing} "teamsSharingDescription" = ${TeamsSharingDescription} "subscribeMembersDescription" = ${SubscribeMembersDescription} "outsideSenders" = ${OutsideSenders} "outsideSendersDescription" = ${OutsideSendersDescription} "language" = ${Language} "languageDescription" = ${LanguageDescription} "siteUrl" = ${SiteUrl} "siteQuota" = ${SiteQuota} "siteUsage" = ${SiteUsage} "leaseExpirationTime" = ${LeaseExpirationTime} "createdTime" = ${CreatedTime} "enableLeaseExtension" = ${EnableLeaseExtension} "enablePolicyChange" = ${EnablePolicyChange} "enableDeletion" = ${EnableDeletion} "enableSiteQuotaChange" = ${EnableSiteQuotaChange} "enableLeaseManagement" = ${EnableLeaseManagement} "enableInactivityThreshold" = ${EnableInactivityThreshold} "inactivityThresholdTime" = ${InactivityThresholdTime} "classification" = ${Classification} "enableHiddenMembership" = ${EnableHiddenMembership} "permissionRecertificationStatus" = ${PermissionRecertificationStatus} "permissionRecertificationStatusDescription" = ${PermissionRecertificationStatusDescription} "membershipRecertificationStatus" = ${MembershipRecertificationStatus} "membershipRecertificationStatusDescription" = ${MembershipRecertificationStatusDescription} "status" = ${Status} "statusDescription" = ${StatusDescription} "hub" = ${Hub} "geoLocation" = ${GeoLocation} "geoLocationDescription" = ${GeoLocationDescription} "phase" = ${Phase} "phaseDescription" = ${PhaseDescription} "metadata" = ${Metadata} } return $PSO } } |