This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#### What's Changed --- ##### `GET` /providers/scim/{id}/sync_status/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` New required properties: - `is_running` - `tasks` New optional properties: - `messages` - `status` - `task_description` - `task_duration` - `task_finish_timestamp` - `task_name` * Added property `is_running` (boolean) * Added property `tasks` (array) Items (object): > Serialize TaskInfo and TaskResult * Property `task_name` (string) * Property `task_description` (string) * Property `task_finish_timestamp` (string) * Property `task_duration` (integer) > Get the duration a task took to run * Property `status` (string) > * `SUCCESSFUL` - SUCCESSFUL > * `WARNING` - WARNING > * `ERROR` - ERROR > * `UNKNOWN` - UNKNOWN Enum values: * `SUCCESSFUL` * `WARNING` * `ERROR` * `UNKNOWN` * Property `messages` (array) Items (object): * Deleted property `task_name` (string) * Deleted property `task_description` (string) * Deleted property `task_finish_timestamp` (string) * Deleted property `task_duration` (integer) > Get the duration a task took to run * Deleted property `status` (string) > * `SUCCESSFUL` - SUCCESSFUL > * `WARNING` - WARNING > * `ERROR` - ERROR > * `UNKNOWN` - UNKNOWN * Deleted property `messages` (array)
- Loading branch information
1 parent
2ef8d85
commit e4a0f34
Showing
7 changed files
with
80 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
# SCIMSyncStatus | ||
|
||
## Properties | ||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**isRunning** | **kotlin.Boolean** | | [readonly] | ||
**tasks** | [**kotlin.collections.List<Task>**](Task.md) | | [readonly] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
src/main/kotlin/io/goauthentik/api/models/SCIMSyncStatus.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/** | ||
* | ||
* Please note: | ||
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* Do not edit this file manually. | ||
* | ||
*/ | ||
|
||
@file:Suppress( | ||
"ArrayInDataClass", | ||
"EnumEntryName", | ||
"RemoveRedundantQualifierName", | ||
"UnusedImport" | ||
) | ||
|
||
package io.goauthentik.api.models | ||
|
||
import io.goauthentik.api.models.Task | ||
|
||
import com.squareup.moshi.Json | ||
import com.squareup.moshi.JsonClass | ||
|
||
/** | ||
* SCIM Provider sync status | ||
* | ||
* @param isRunning | ||
* @param tasks | ||
*/ | ||
|
||
|
||
data class SCIMSyncStatus ( | ||
|
||
@Json(name = "is_running") | ||
val isRunning: kotlin.Boolean, | ||
|
||
@Json(name = "tasks") | ||
val tasks: kotlin.collections.List<Task> | ||
|
||
) | ||
|