beta/src/PSSailpoint.Beta/Model/LoadAccountsTaskTaskAttributes.ps1
# # Identity Security Cloud Beta API # Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. These APIs are in beta and are subject to change. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. # Version: 3.1.0-beta # Generated by OpenAPI Generator: https://openapi-generator.tech # <# .SYNOPSIS No summary available. .DESCRIPTION Extra attributes map(dictionary) for the task. .PARAMETER AppId The id of the source .PARAMETER OptimizedAggregation The indicator if the aggregation process was enabled/disabled for the aggregation job .OUTPUTS LoadAccountsTaskTaskAttributes<PSCustomObject> #> function Initialize-BetaLoadAccountsTaskTaskAttributes { [CmdletBinding()] Param ( [Parameter(ValueFromPipelineByPropertyName = $true)] [String] ${AppId}, [Parameter(ValueFromPipelineByPropertyName = $true)] [String] ${OptimizedAggregation} ) Process { 'Creating PSCustomObject: PSSailpoint.Beta => BetaLoadAccountsTaskTaskAttributes' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $PSO = [PSCustomObject]@{ "appId" = ${AppId} "optimizedAggregation" = ${OptimizedAggregation} } return $PSO } } <# .SYNOPSIS Convert from JSON to LoadAccountsTaskTaskAttributes<PSCustomObject> .DESCRIPTION Convert from JSON to LoadAccountsTaskTaskAttributes<PSCustomObject> .PARAMETER Json Json object .OUTPUTS LoadAccountsTaskTaskAttributes<PSCustomObject> #> function ConvertFrom-BetaJsonToLoadAccountsTaskTaskAttributes { Param( [AllowEmptyString()] [string]$Json ) Process { 'Converting JSON to PSCustomObject: PSSailpoint.Beta => BetaLoadAccountsTaskTaskAttributes' | Write-Debug $PSBoundParameters | Out-DebugParameter | Write-Debug $JsonParameters = ConvertFrom-Json -InputObject $Json $BetaLoadAccountsTaskTaskAttributesAdditionalProperties = @{} # check if Json contains properties not defined in BetaLoadAccountsTaskTaskAttributes $AllProperties = ("appId", "optimizedAggregation") foreach ($name in $JsonParameters.PsObject.Properties.Name) { # store undefined properties in additionalProperties if (!($AllProperties.Contains($name))) { $BetaLoadAccountsTaskTaskAttributesAdditionalProperties[$name] = $JsonParameters.PSobject.Properties[$name].value } } if (!([bool]($JsonParameters.PSobject.Properties.name -match "appId"))) { #optional property not found $AppId = $null } else { $AppId = $JsonParameters.PSobject.Properties["appId"].value } if (!([bool]($JsonParameters.PSobject.Properties.name -match "optimizedAggregation"))) { #optional property not found $OptimizedAggregation = $null } else { $OptimizedAggregation = $JsonParameters.PSobject.Properties["optimizedAggregation"].value } $PSO = [PSCustomObject]@{ "appId" = ${AppId} "optimizedAggregation" = ${OptimizedAggregation} "AdditionalProperties" = $BetaLoadAccountsTaskTaskAttributesAdditionalProperties } return $PSO } } |