Skip to content

Commit

Permalink
Merge pull request #98 from sailpoint-oss/fix/AnyOfSchemas
Browse files Browse the repository at this point in the history
Fix/any of schemas
  • Loading branch information
tyler-mairose-sp authored Dec 5, 2024
2 parents 0edead2 + 1f11a9b commit 00b9607
Show file tree
Hide file tree
Showing 33 changed files with 78 additions and 78 deletions.
2 changes: 1 addition & 1 deletion PSSailpoint/beta/docs/AccountUsage.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes

- Prepare the resource
```powershell
$AccountUsage = Initialize-PSSailpoint.BetaAccountUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
$AccountUsage = Initialize-PSSailpoint.BetaAccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
-Count 10
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ $NonEmployeeRequestWithoutApprovalItem = Initialize-PSSailpoint.BetaNonEmployeeR
-ApprovalStatus null `
-Comment approved `
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
-StartDate Tue Mar 24 00:00:00 UTC 2020 `
-EndDate Thu Mar 25 00:00:00 UTC 2021 `
-StartDate Mon Mar 23 20:00:00 EDT 2020 `
-EndDate Wed Mar 24 20:00:00 EDT 2021 `
-Modified 2020-03-24T11:11:41.139-05:00 `
-Created 2020-03-24T11:11:41.139-05:00
```
Expand Down
2 changes: 1 addition & 1 deletion PSSailpoint/beta/docs/SourceUsage.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes

- Prepare the resource
```powershell
$SourceUsage = Initialize-PSSailpoint.BetaSourceUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
$SourceUsage = Initialize-PSSailpoint.BetaSourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
-Count 10.45
```

Expand Down
6 changes: 3 additions & 3 deletions PSSailpoint/beta/src/PSSailpoint.Beta/Model/ArrayInner.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ConvertFrom-BetaJsonToArrayInner {
$matchType = $null
$matchInstance = $null

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match Int32 defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToInt32 $Json
Expand All @@ -52,7 +52,7 @@ function ConvertFrom-BetaJsonToArrayInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match String defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToString $Json
Expand All @@ -70,7 +70,7 @@ function ConvertFrom-BetaJsonToArrayInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match SystemCollectionsHashtable defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToSystemCollectionsHashtable $Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ConvertFrom-BetaJsonToArrayInner1 {
$matchType = $null
$matchInstance = $null

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match String defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToString $Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ConvertFrom-BetaJsonToGetHistoricalIdentityEvents200ResponseInner {
$matchType = $null
$matchInstance = $null

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match AccessItemAssociated defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToAccessItemAssociated $Json
Expand All @@ -52,7 +52,7 @@ function ConvertFrom-BetaJsonToGetHistoricalIdentityEvents200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match AccessItemRemoved defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToAccessItemRemoved $Json
Expand All @@ -70,7 +70,7 @@ function ConvertFrom-BetaJsonToGetHistoricalIdentityEvents200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match AccessRequested defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToAccessRequested $Json
Expand All @@ -88,7 +88,7 @@ function ConvertFrom-BetaJsonToGetHistoricalIdentityEvents200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match AccountStatusChanged defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToAccountStatusChanged $Json
Expand All @@ -106,7 +106,7 @@ function ConvertFrom-BetaJsonToGetHistoricalIdentityEvents200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match AttributesChanged defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToAttributesChanged $Json
Expand All @@ -124,7 +124,7 @@ function ConvertFrom-BetaJsonToGetHistoricalIdentityEvents200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match IdentityCertified defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToIdentityCertified $Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ConvertFrom-BetaJsonToGetRoleAssignments200ResponseInner {
$matchType = $null
$matchInstance = $null

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match RoleAssignmentDto defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToRoleAssignmentDto $Json
Expand All @@ -52,7 +52,7 @@ function ConvertFrom-BetaJsonToGetRoleAssignments200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match RoleAssignmentRef defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToRoleAssignmentRef $Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ConvertFrom-BetaJsonToListCompleteWorkflowLibrary200ResponseInner {
$matchType = $null
$matchInstance = $null

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match WorkflowLibraryAction defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToWorkflowLibraryAction $Json
Expand All @@ -52,7 +52,7 @@ function ConvertFrom-BetaJsonToListCompleteWorkflowLibrary200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match WorkflowLibraryOperator defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToWorkflowLibraryOperator $Json
Expand All @@ -70,7 +70,7 @@ function ConvertFrom-BetaJsonToListCompleteWorkflowLibrary200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match WorkflowLibraryTrigger defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToWorkflowLibraryTrigger $Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ConvertFrom-BetaJsonToSubscriptionPatchRequestInnerValue {
$matchType = $null
$matchInstance = $null

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match Int32 defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToInt32 $Json
Expand All @@ -52,7 +52,7 @@ function ConvertFrom-BetaJsonToSubscriptionPatchRequestInnerValue {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match String defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToString $Json
Expand All @@ -70,7 +70,7 @@ function ConvertFrom-BetaJsonToSubscriptionPatchRequestInnerValue {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match SubscriptionPatchRequestInnerValueAnyOfInner[] defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToSubscriptionPatchRequestInnerValueAnyOfInner[] $Json
Expand All @@ -88,7 +88,7 @@ function ConvertFrom-BetaJsonToSubscriptionPatchRequestInnerValue {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match SystemCollectionsHashtable defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToSystemCollectionsHashtable $Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ConvertFrom-BetaJsonToSubscriptionPatchRequestInnerValueAnyOfInner {
$matchType = $null
$matchInstance = $null

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match Int32 defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToInt32 $Json
Expand All @@ -52,7 +52,7 @@ function ConvertFrom-BetaJsonToSubscriptionPatchRequestInnerValueAnyOfInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match String defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToString $Json
Expand All @@ -70,7 +70,7 @@ function ConvertFrom-BetaJsonToSubscriptionPatchRequestInnerValueAnyOfInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match SystemCollectionsHashtable defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToSystemCollectionsHashtable $Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function ConvertFrom-BetaJsonToWorkflowTriggerAttributes {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match EventAttributes defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToEventAttributes $Json
Expand All @@ -61,7 +61,7 @@ function ConvertFrom-BetaJsonToWorkflowTriggerAttributes {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match ExternalAttributes defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToExternalAttributes $Json
Expand All @@ -79,7 +79,7 @@ function ConvertFrom-BetaJsonToWorkflowTriggerAttributes {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match ScheduledAttributes defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-BetaJsonToScheduledAttributes $Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: OpenAPI Generator Team
#
# Generated on: 12/03/2024
# Generated on: 12/5/2024
#

@{
Expand Down
2 changes: 1 addition & 1 deletion PSSailpoint/v2024/docs/AccountUsage.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes

- Prepare the resource
```powershell
$AccountUsage = Initialize-PSSailpoint.V2024AccountUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
$AccountUsage = Initialize-PSSailpoint.V2024AccountUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
-Count 10
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ $NonEmployeeRequestWithoutApprovalItem = Initialize-PSSailpoint.V2024NonEmployee
-ApprovalStatus null `
-Comment approved `
-CompletionDate 2020-03-24T11:11:41.139-05:00 `
-StartDate Tue Mar 24 00:00:00 UTC 2020 `
-EndDate Thu Mar 25 00:00:00 UTC 2021 `
-StartDate Mon Mar 23 20:00:00 EDT 2020 `
-EndDate Wed Mar 24 20:00:00 EDT 2021 `
-Modified 2020-03-24T11:11:41.139-05:00 `
-Created 2020-03-24T11:11:41.139-05:00
```
Expand Down
2 changes: 1 addition & 1 deletion PSSailpoint/v2024/docs/SourceUsage.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes

- Prepare the resource
```powershell
$SourceUsage = Initialize-PSSailpoint.V2024SourceUsage -Date Fri Apr 21 00:00:00 UTC 2023 `
$SourceUsage = Initialize-PSSailpoint.V2024SourceUsage -Date Thu Apr 20 20:00:00 EDT 2023 `
-Count 10.45
```

Expand Down
6 changes: 3 additions & 3 deletions PSSailpoint/v2024/src/PSSailpoint.V2024/Model/ArrayInner.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ConvertFrom-V2024JsonToArrayInner {
$matchType = $null
$matchInstance = $null

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match Int32 defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToInt32 $Json
Expand All @@ -52,7 +52,7 @@ function ConvertFrom-V2024JsonToArrayInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match String defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToString $Json
Expand All @@ -70,7 +70,7 @@ function ConvertFrom-V2024JsonToArrayInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match SystemCollectionsHashtable defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToSystemCollectionsHashtable $Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ConvertFrom-V2024JsonToGetActiveCampaigns200ResponseInner {
$matchType = $null
$matchInstance = $null

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match Campaign defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToCampaign $Json
Expand All @@ -52,7 +52,7 @@ function ConvertFrom-V2024JsonToGetActiveCampaigns200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match SlimCampaign defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToSlimCampaign $Json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ConvertFrom-V2024JsonToGetHistoricalIdentityEvents200ResponseInner {
$matchType = $null
$matchInstance = $null

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match AccessItemAssociated defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToAccessItemAssociated $Json
Expand All @@ -52,7 +52,7 @@ function ConvertFrom-V2024JsonToGetHistoricalIdentityEvents200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match AccessItemRemoved defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToAccessItemRemoved $Json
Expand All @@ -70,7 +70,7 @@ function ConvertFrom-V2024JsonToGetHistoricalIdentityEvents200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match AccessRequested defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToAccessRequested $Json
Expand All @@ -88,7 +88,7 @@ function ConvertFrom-V2024JsonToGetHistoricalIdentityEvents200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match AccountStatusChanged defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToAccountStatusChanged $Json
Expand All @@ -106,7 +106,7 @@ function ConvertFrom-V2024JsonToGetHistoricalIdentityEvents200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match AttributesChanged defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToAttributesChanged $Json
Expand All @@ -124,7 +124,7 @@ function ConvertFrom-V2024JsonToGetHistoricalIdentityEvents200ResponseInner {
}
}

if ($match -ne 0) { # no match yet
if ($match -eq 0) { # no match yet
# try to match IdentityCertified defined in the anyOf schemas
try {
$matchInstance = ConvertFrom-V2024JsonToIdentityCertified $Json
Expand Down
Loading

0 comments on commit 00b9607

Please sign in to comment.