fizzy-sdk 0.2.4

Official Fizzy API client, generated from the Smithy model in spec/
Documentation
// Generated by fizzy-sdk-generator from openapi.json and behavior-model.json. DO NOT EDIT.

use crate::client::{AccountClient, Client};
use crate::generated::services;

impl Client {
    /// The `AccessTokens` operations that need no account.
    pub fn access_tokens(&self) -> services::access_tokens::AccessTokensService<'_> {
        services::access_tokens::AccessTokensService::new(self.scope())
    }

    /// The `Identity` operations that need no account.
    pub fn identity(&self) -> services::identity::IdentityService<'_> {
        services::identity::IdentityService::new(self.scope())
    }

    /// The `Sessions` operations that need no account.
    pub fn sessions(&self) -> services::sessions::SessionsService<'_> {
        services::sessions::SessionsService::new(self.scope())
    }
}

impl AccountClient {
    /// The `Account` operations, scoped to this account.
    pub fn account(&self) -> services::account::AccountService<'_> {
        services::account::AccountService::new(self.scope())
    }

    /// The `Boards` operations, scoped to this account.
    pub fn boards(&self) -> services::boards::BoardsService<'_> {
        services::boards::BoardsService::new(self.scope())
    }

    /// The `Cards` operations, scoped to this account.
    pub fn cards(&self) -> services::cards::CardsService<'_> {
        services::cards::CardsService::new(self.scope())
    }

    /// The `Columns` operations, scoped to this account.
    pub fn columns(&self) -> services::columns::ColumnsService<'_> {
        services::columns::ColumnsService::new(self.scope())
    }

    /// The `Comments` operations, scoped to this account.
    pub fn comments(&self) -> services::comments::CommentsService<'_> {
        services::comments::CommentsService::new(self.scope())
    }

    /// The `Devices` operations, scoped to this account.
    pub fn devices(&self) -> services::devices::DevicesService<'_> {
        services::devices::DevicesService::new(self.scope())
    }

    /// The `Identity` operations, scoped to this account.
    pub fn identity(&self) -> services::identity::IdentityService<'_> {
        services::identity::IdentityService::new(self.scope())
    }

    /// The `Notifications` operations, scoped to this account.
    pub fn notifications(&self) -> services::notifications::NotificationsService<'_> {
        services::notifications::NotificationsService::new(self.scope())
    }

    /// The `Pins` operations, scoped to this account.
    pub fn pins(&self) -> services::pins::PinsService<'_> {
        services::pins::PinsService::new(self.scope())
    }

    /// The `Reactions` operations, scoped to this account.
    pub fn reactions(&self) -> services::reactions::ReactionsService<'_> {
        services::reactions::ReactionsService::new(self.scope())
    }

    /// The `Search` operations, scoped to this account.
    pub fn search(&self) -> services::search::SearchService<'_> {
        services::search::SearchService::new(self.scope())
    }

    /// The `Steps` operations, scoped to this account.
    pub fn steps(&self) -> services::steps::StepsService<'_> {
        services::steps::StepsService::new(self.scope())
    }

    /// The `Tags` operations, scoped to this account.
    pub fn tags(&self) -> services::tags::TagsService<'_> {
        services::tags::TagsService::new(self.scope())
    }

    /// The `Uploads` operations, scoped to this account.
    pub fn uploads(&self) -> services::uploads::UploadsService<'_> {
        services::uploads::UploadsService::new(self.scope())
    }

    /// The `Users` operations, scoped to this account.
    pub fn users(&self) -> services::users::UsersService<'_> {
        services::users::UsersService::new(self.scope())
    }

    /// The `Webhooks` operations, scoped to this account.
    pub fn webhooks(&self) -> services::webhooks::WebhooksService<'_> {
        services::webhooks::WebhooksService::new(self.scope())
    }
}