Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat

- API version: v5.27.5.10198
- Package version: 0.1.1 <!--- x-release-please-version -->
- Generator version: 7.17.0
- Generator version: 7.18.0
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`

## Installation
Expand Down
2 changes: 1 addition & 1 deletion src/apis/blocklist_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ pub async fn get_blocklist(configuration: &configuration::Configuration, page: O
req_builder = req_builder.query(&[("sortKey", &param_value.to_string())]);
}
if let Some(ref param_value) = p_query_sort_direction {
req_builder = req_builder.query(&[("sortDirection", &param_value.to_string())]);
req_builder = req_builder.query(&[("sortDirection", &serde_json::to_string(param_value)?)]);
}
if let Some(ref param_value) = p_query_movie_ids {
req_builder = match "multi" {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/cutoff_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub async fn get_wanted_cutoff(configuration: &configuration::Configuration, pag
req_builder = req_builder.query(&[("sortKey", &param_value.to_string())]);
}
if let Some(ref param_value) = p_query_sort_direction {
req_builder = req_builder.query(&[("sortDirection", &param_value.to_string())]);
req_builder = req_builder.query(&[("sortDirection", &serde_json::to_string(param_value)?)]);
}
if let Some(ref param_value) = p_query_monitored {
req_builder = req_builder.query(&[("monitored", &param_value.to_string())]);
Expand Down
6 changes: 3 additions & 3 deletions src/apis/history_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub async fn get_history(configuration: &configuration::Configuration, page: Opt
req_builder = req_builder.query(&[("sortKey", &param_value.to_string())]);
}
if let Some(ref param_value) = p_query_sort_direction {
req_builder = req_builder.query(&[("sortDirection", &param_value.to_string())]);
req_builder = req_builder.query(&[("sortDirection", &serde_json::to_string(param_value)?)]);
}
if let Some(ref param_value) = p_query_include_movie {
req_builder = req_builder.query(&[("includeMovie", &param_value.to_string())]);
Expand Down Expand Up @@ -201,7 +201,7 @@ pub async fn list_history_movie(configuration: &configuration::Configuration, mo
req_builder = req_builder.query(&[("movieId", &param_value.to_string())]);
}
if let Some(ref param_value) = p_query_event_type {
req_builder = req_builder.query(&[("eventType", &param_value.to_string())]);
req_builder = req_builder.query(&[("eventType", &serde_json::to_string(param_value)?)]);
}
if let Some(ref param_value) = p_query_include_movie {
req_builder = req_builder.query(&[("includeMovie", &param_value.to_string())]);
Expand Down Expand Up @@ -264,7 +264,7 @@ pub async fn list_history_since(configuration: &configuration::Configuration, da
req_builder = req_builder.query(&[("date", &param_value.to_string())]);
}
if let Some(ref param_value) = p_query_event_type {
req_builder = req_builder.query(&[("eventType", &param_value.to_string())]);
req_builder = req_builder.query(&[("eventType", &serde_json::to_string(param_value)?)]);
}
if let Some(ref param_value) = p_query_include_movie {
req_builder = req_builder.query(&[("includeMovie", &param_value.to_string())]);
Expand Down
2 changes: 1 addition & 1 deletion src/apis/import_list_exclusion_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ pub async fn get_exclusions_paged(configuration: &configuration::Configuration,
req_builder = req_builder.query(&[("sortKey", &param_value.to_string())]);
}
if let Some(ref param_value) = p_query_sort_direction {
req_builder = req_builder.query(&[("sortDirection", &param_value.to_string())]);
req_builder = req_builder.query(&[("sortDirection", &serde_json::to_string(param_value)?)]);
}
if let Some(ref apikey) = configuration.api_key {
let key = apikey.key.clone();
Expand Down
2 changes: 1 addition & 1 deletion src/apis/log_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub async fn get_log(configuration: &configuration::Configuration, page: Option<
req_builder = req_builder.query(&[("sortKey", &param_value.to_string())]);
}
if let Some(ref param_value) = p_query_sort_direction {
req_builder = req_builder.query(&[("sortDirection", &param_value.to_string())]);
req_builder = req_builder.query(&[("sortDirection", &serde_json::to_string(param_value)?)]);
}
if let Some(ref param_value) = p_query_level {
req_builder = req_builder.query(&[("level", &param_value.to_string())]);
Expand Down
2 changes: 1 addition & 1 deletion src/apis/missing_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub async fn get_wanted_missing(configuration: &configuration::Configuration, pa
req_builder = req_builder.query(&[("sortKey", &param_value.to_string())]);
}
if let Some(ref param_value) = p_query_sort_direction {
req_builder = req_builder.query(&[("sortDirection", &param_value.to_string())]);
req_builder = req_builder.query(&[("sortDirection", &serde_json::to_string(param_value)?)]);
}
if let Some(ref param_value) = p_query_monitored {
req_builder = req_builder.query(&[("monitored", &param_value.to_string())]);
Expand Down
2 changes: 1 addition & 1 deletion src/apis/naming_config_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ pub async fn get_naming_config_examples(configuration: &configuration::Configura
req_builder = req_builder.query(&[("replaceIllegalCharacters", &param_value.to_string())]);
}
if let Some(ref param_value) = p_query_colon_replacement_format {
req_builder = req_builder.query(&[("colonReplacementFormat", &param_value.to_string())]);
req_builder = req_builder.query(&[("colonReplacementFormat", &serde_json::to_string(param_value)?)]);
}
if let Some(ref param_value) = p_query_standard_movie_format {
req_builder = req_builder.query(&[("standardMovieFormat", &param_value.to_string())]);
Expand Down
4 changes: 2 additions & 2 deletions src/apis/queue_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub async fn get_queue(configuration: &configuration::Configuration, page: Optio
req_builder = req_builder.query(&[("sortKey", &param_value.to_string())]);
}
if let Some(ref param_value) = p_query_sort_direction {
req_builder = req_builder.query(&[("sortDirection", &param_value.to_string())]);
req_builder = req_builder.query(&[("sortDirection", &serde_json::to_string(param_value)?)]);
}
if let Some(ref param_value) = p_query_include_unknown_movie_items {
req_builder = req_builder.query(&[("includeUnknownMovieItems", &param_value.to_string())]);
Expand All @@ -194,7 +194,7 @@ pub async fn get_queue(configuration: &configuration::Configuration, page: Optio
};
}
if let Some(ref param_value) = p_query_protocol {
req_builder = req_builder.query(&[("protocol", &param_value.to_string())]);
req_builder = req_builder.query(&[("protocol", &serde_json::to_string(param_value)?)]);
}
if let Some(ref param_value) = p_query_languages {
req_builder = match "multi" {
Expand Down