Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Update API Client
Browse files Browse the repository at this point in the history
#### What's Changed
---

##### `GET` /propertymappings/rac/

###### Parameters:

Changed: `managed` in `query`
  • Loading branch information
authentik-automation[bot] committed Jan 14, 2024
1 parent 12799ea commit f24fa35
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/PropertymappingsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ RACPropertyMapping Viewset
//import io.goauthentik.api.models.*

val apiInstance = PropertymappingsApi()
val managed : kotlin.String = managed_example // kotlin.String |
val managed : kotlin.collections.List<kotlin.String> = // kotlin.collections.List<kotlin.String> |
val name : kotlin.String = name_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
Expand All @@ -1227,7 +1227,7 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**managed** | **kotlin.String**| | [optional]
**managed** | [**kotlin.collections.List&lt;kotlin.String&gt;**](kotlin.String.md)| | [optional]
**name** | **kotlin.String**| | [optional]
**ordering** | **kotlin.String**| Which field to use when ordering the results. | [optional]
**page** | **kotlin.Int**| A page number within the paginated result set. | [optional]
Expand Down
6 changes: 5 additions & 1 deletion schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13961,7 +13961,11 @@ paths:
- in: query
name: managed
schema:
type: string
type: array
items:
type: string
explode: true
style: form
- in: query
name: name
schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1787,7 +1787,7 @@ class PropertymappingsApi(basePath: kotlin.String = defaultBasePath, client: OkH
*/
@Suppress("UNCHECKED_CAST")
@Throws(IllegalStateException::class, IOException::class, UnsupportedOperationException::class, ClientException::class, ServerException::class)
fun propertymappingsRacList(managed: kotlin.String? = null, name: kotlin.String? = null, ordering: kotlin.String? = null, page: kotlin.Int? = null, pageSize: kotlin.Int? = null, search: kotlin.String? = null) : PaginatedRACPropertyMappingList {
fun propertymappingsRacList(managed: kotlin.collections.List<kotlin.String>? = null, name: kotlin.String? = null, ordering: kotlin.String? = null, page: kotlin.Int? = null, pageSize: kotlin.Int? = null, search: kotlin.String? = null) : PaginatedRACPropertyMappingList {
val localVarResponse = propertymappingsRacListWithHttpInfo(managed = managed, name = name, ordering = ordering, page = page, pageSize = pageSize, search = search)

return when (localVarResponse.responseType) {
Expand Down Expand Up @@ -1820,7 +1820,7 @@ class PropertymappingsApi(basePath: kotlin.String = defaultBasePath, client: OkH
*/
@Suppress("UNCHECKED_CAST")
@Throws(IllegalStateException::class, IOException::class)
fun propertymappingsRacListWithHttpInfo(managed: kotlin.String?, name: kotlin.String?, ordering: kotlin.String?, page: kotlin.Int?, pageSize: kotlin.Int?, search: kotlin.String?) : ApiResponse<PaginatedRACPropertyMappingList?> {
fun propertymappingsRacListWithHttpInfo(managed: kotlin.collections.List<kotlin.String>?, name: kotlin.String?, ordering: kotlin.String?, page: kotlin.Int?, pageSize: kotlin.Int?, search: kotlin.String?) : ApiResponse<PaginatedRACPropertyMappingList?> {
val localVariableConfig = propertymappingsRacListRequestConfig(managed = managed, name = name, ordering = ordering, page = page, pageSize = pageSize, search = search)

return request<Unit, PaginatedRACPropertyMappingList>(
Expand All @@ -1839,12 +1839,12 @@ class PropertymappingsApi(basePath: kotlin.String = defaultBasePath, client: OkH
* @param search A search term. (optional)
* @return RequestConfig
*/
fun propertymappingsRacListRequestConfig(managed: kotlin.String?, name: kotlin.String?, ordering: kotlin.String?, page: kotlin.Int?, pageSize: kotlin.Int?, search: kotlin.String?) : RequestConfig<Unit> {
fun propertymappingsRacListRequestConfig(managed: kotlin.collections.List<kotlin.String>?, name: kotlin.String?, ordering: kotlin.String?, page: kotlin.Int?, pageSize: kotlin.Int?, search: kotlin.String?) : RequestConfig<Unit> {
val localVariableBody = null
val localVariableQuery: MultiValueMap = mutableMapOf<kotlin.String, kotlin.collections.List<kotlin.String>>()
.apply {
if (managed != null) {
put("managed", listOf(managed.toString()))
put("managed", toMultiValue(managed.toList(), "multi"))
}
if (name != null) {
put("name", listOf(name.toString()))
Expand Down

0 comments on commit f24fa35

Please sign in to comment.