superposition_sdk 0.100.1

Rust SDK to work with Superposition
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListOrganisation`](crate::operation::list_organisation::builders::ListOrganisationFluentBuilder) operation.
                            ///
                            /// - The fluent builder is configurable:
    ///   - [`count(i32)`](crate::operation::list_organisation::builders::ListOrganisationFluentBuilder::count) / [`set_count(Option<i32>)`](crate::operation::list_organisation::builders::ListOrganisationFluentBuilder::set_count):<br>required: **false**<br>Number of items to be returned in each page.<br>
    ///   - [`page(i32)`](crate::operation::list_organisation::builders::ListOrganisationFluentBuilder::page) / [`set_page(Option<i32>)`](crate::operation::list_organisation::builders::ListOrganisationFluentBuilder::set_page):<br>required: **false**<br>Page number to retrieve, starting from 1.<br>
    ///   - [`all(bool)`](crate::operation::list_organisation::builders::ListOrganisationFluentBuilder::all) / [`set_all(Option<bool>)`](crate::operation::list_organisation::builders::ListOrganisationFluentBuilder::set_all):<br>required: **false**<br>If true, returns all requested items, ignoring pagination parameters page and count.<br>
                            /// - On success, responds with [`ListOrganisationOutput`](crate::operation::list_organisation::ListOrganisationOutput) with field(s):
    ///   - [`total_pages(i32)`](crate::operation::list_organisation::ListOrganisationOutput::total_pages): (undocumented)
    ///   - [`total_items(i32)`](crate::operation::list_organisation::ListOrganisationOutput::total_items): (undocumented)
    ///   - [`data(Vec::<OrganisationResponse>)`](crate::operation::list_organisation::ListOrganisationOutput::data): (undocumented)
                            /// - On failure, responds with [`SdkError<ListOrganisationError>`](crate::operation::list_organisation::ListOrganisationError)
    pub fn list_organisation(&self) -> crate::operation::list_organisation::builders::ListOrganisationFluentBuilder {
                                crate::operation::list_organisation::builders::ListOrganisationFluentBuilder::new(self.handle.clone())
                            }
}