Skip to content

Commit

Permalink
change o365appsettings.app to dictionary (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanapellanes-okta authored Dec 17, 2024
1 parent caacb14 commit 796663b
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 175 deletions.
2 changes: 0 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,6 @@ docs/OSVersionFourComponents.md
docs/OSVersionThreeComponents.md
docs/Office365Application.md
docs/Office365ApplicationSettings.md
docs/Office365ApplicationSettingsApplication.md
docs/Office365ProvisioningSettings.md
docs/Oidc.md
docs/OktaApplicationSettingsApi.md
Expand Down Expand Up @@ -2039,7 +2038,6 @@ src/Okta.Sdk/Model/OSVersionFourComponents.cs
src/Okta.Sdk/Model/OSVersionThreeComponents.cs
src/Okta.Sdk/Model/Office365Application.cs
src/Okta.Sdk/Model/Office365ApplicationSettings.cs
src/Okta.Sdk/Model/Office365ApplicationSettingsApplication.cs
src/Okta.Sdk/Model/Office365ProvisioningSettings.cs
src/Okta.Sdk/Model/Oidc.cs
src/Okta.Sdk/Model/OktaDeviceRiskChangeEvent.cs
Expand Down
3 changes: 1 addition & 2 deletions API_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Allows customers to easily access the Okta Management APIs
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 2024.07.0
- SDK version: 9.0.2
- SDK version: 9.0.3
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen
For more information, please visit [https://developer.okta.com/](https://developer.okta.com/)

Expand Down Expand Up @@ -1383,7 +1383,6 @@ Class | Method | HTTP request | Description
- [Model.Office365ApplicationAllOf](docs/Office365ApplicationAllOf.md)
- [Model.Office365ApplicationSettings](docs/Office365ApplicationSettings.md)
- [Model.Office365ApplicationSettingsAllOf](docs/Office365ApplicationSettingsAllOf.md)
- [Model.Office365ApplicationSettingsApplication](docs/Office365ApplicationSettingsApplication.md)
- [Model.Office365ProvisioningSettings](docs/Office365ProvisioningSettings.md)
- [Model.Oidc](docs/Oidc.md)
- [Model.OktaDeviceRiskChangeEvent](docs/OktaDeviceRiskChangeEvent.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/Office365ApplicationSettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**InlineHookId** | **string** | | [optional]
**Notes** | [**ApplicationSettingsNotes**](ApplicationSettingsNotes.md) | | [optional]
**Notifications** | [**ApplicationSettingsNotifications**](ApplicationSettingsNotifications.md) | | [optional]
**App** | [**Office365ApplicationSettingsApplication**](Office365ApplicationSettingsApplication.md) | |
**App** | **Dictionary<string, string>** | |
**SignOn** | [**OINSaml11ApplicationSettingsSignOn**](OINSaml11ApplicationSettingsSignOn.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
12 changes: 0 additions & 12 deletions docs/Office365ApplicationSettingsApplication.md

This file was deleted.

2 changes: 1 addition & 1 deletion openapi3/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"packageName" : "Okta.Sdk",
"outputDir" : "../",
"inputSpec" : "./management.yaml",
"packageVersion" : "9.0.2",
"packageVersion" : "9.0.3",
"packageDescription" : "Official .NET SDK for the Okta API",
"packageTitle" : "Official .NET SDK for the Okta API",
"packageCompany" : "Okta, Inc.",
Expand Down
17 changes: 3 additions & 14 deletions openapi3/management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40626,22 +40626,11 @@ components:
- app
properties:
app:
$ref: '#/components/schemas/Office365ApplicationSettingsApplication'
type: object
additionalProperties:
type: string
signOn:
$ref: '#/components/schemas/OINSaml11ApplicationSettingsSignOn'
Office365ApplicationSettingsApplication:
description: Office365 app instance properties
type: object
properties:
domain:
type: string
description: The domain for your Office 365 account
msftTenant:
type: string
description: Microsoft tenant name
required:
- msftTenant
- domain
Office365ProvisioningSettings:
x-okta-lifecycle:
lifecycle: GA
Expand Down
4 changes: 2 additions & 2 deletions src/Okta.Sdk/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "9.0.2";
public const string Version = "9.0.3";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -766,7 +766,7 @@ public static string ToDebugReport()
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 2024.07.0\n";
report += " SDK Package Version: 9.0.2\n";
report += " SDK Package Version: 9.0.3\n";

return report;
}
Expand Down
7 changes: 4 additions & 3 deletions src/Okta.Sdk/Model/Office365ApplicationSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public Office365ApplicationSettings() { }
/// Gets or Sets App
/// </summary>
[DataMember(Name = "app", EmitDefaultValue = true)]
public Office365ApplicationSettingsApplication App { get; set; }
public Dictionary<string, string> App { get; set; }

/// <summary>
/// Gets or Sets SignOn
Expand Down Expand Up @@ -157,8 +157,9 @@ public bool Equals(Office365ApplicationSettings input)
) &&
(
this.App == input.App ||
(this.App != null &&
this.App.Equals(input.App))
this.App != null &&
input.App != null &&
this.App.SequenceEqual(input.App)
) &&
(
this.SignOn == input.SignOn ||
Expand Down
137 changes: 0 additions & 137 deletions src/Okta.Sdk/Model/Office365ApplicationSettingsApplication.cs

This file was deleted.

2 changes: 1 addition & 1 deletion src/Okta.Sdk/Okta.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Description>Official .NET SDK for the Okta API</Description>
<Copyright>Okta, Inc.</Copyright>
<RootNamespace>Okta.Sdk</RootNamespace>
<Version>9.0.2</Version>
<Version>9.0.3</Version>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Okta.Sdk.xml</DocumentationFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
Expand Down

0 comments on commit 796663b

Please sign in to comment.