Skip to main content

fizzy_sdk/generated/
accessors.rs

1// Generated by fizzy-sdk-generator from openapi.json and behavior-model.json. DO NOT EDIT.
2
3use crate::client::{AccountClient, Client};
4use crate::generated::services;
5
6impl Client {
7    /// The `AccessTokens` operations that need no account.
8    pub fn access_tokens(&self) -> services::access_tokens::AccessTokensService<'_> {
9        services::access_tokens::AccessTokensService::new(self.scope())
10    }
11
12    /// The `Identity` operations that need no account.
13    pub fn identity(&self) -> services::identity::IdentityService<'_> {
14        services::identity::IdentityService::new(self.scope())
15    }
16
17    /// The `Sessions` operations that need no account.
18    pub fn sessions(&self) -> services::sessions::SessionsService<'_> {
19        services::sessions::SessionsService::new(self.scope())
20    }
21}
22
23impl AccountClient {
24    /// The `Account` operations, scoped to this account.
25    pub fn account(&self) -> services::account::AccountService<'_> {
26        services::account::AccountService::new(self.scope())
27    }
28
29    /// The `Boards` operations, scoped to this account.
30    pub fn boards(&self) -> services::boards::BoardsService<'_> {
31        services::boards::BoardsService::new(self.scope())
32    }
33
34    /// The `Cards` operations, scoped to this account.
35    pub fn cards(&self) -> services::cards::CardsService<'_> {
36        services::cards::CardsService::new(self.scope())
37    }
38
39    /// The `Columns` operations, scoped to this account.
40    pub fn columns(&self) -> services::columns::ColumnsService<'_> {
41        services::columns::ColumnsService::new(self.scope())
42    }
43
44    /// The `Comments` operations, scoped to this account.
45    pub fn comments(&self) -> services::comments::CommentsService<'_> {
46        services::comments::CommentsService::new(self.scope())
47    }
48
49    /// The `Devices` operations, scoped to this account.
50    pub fn devices(&self) -> services::devices::DevicesService<'_> {
51        services::devices::DevicesService::new(self.scope())
52    }
53
54    /// The `Identity` operations, scoped to this account.
55    pub fn identity(&self) -> services::identity::IdentityService<'_> {
56        services::identity::IdentityService::new(self.scope())
57    }
58
59    /// The `Notifications` operations, scoped to this account.
60    pub fn notifications(&self) -> services::notifications::NotificationsService<'_> {
61        services::notifications::NotificationsService::new(self.scope())
62    }
63
64    /// The `Pins` operations, scoped to this account.
65    pub fn pins(&self) -> services::pins::PinsService<'_> {
66        services::pins::PinsService::new(self.scope())
67    }
68
69    /// The `Reactions` operations, scoped to this account.
70    pub fn reactions(&self) -> services::reactions::ReactionsService<'_> {
71        services::reactions::ReactionsService::new(self.scope())
72    }
73
74    /// The `Search` operations, scoped to this account.
75    pub fn search(&self) -> services::search::SearchService<'_> {
76        services::search::SearchService::new(self.scope())
77    }
78
79    /// The `Steps` operations, scoped to this account.
80    pub fn steps(&self) -> services::steps::StepsService<'_> {
81        services::steps::StepsService::new(self.scope())
82    }
83
84    /// The `Tags` operations, scoped to this account.
85    pub fn tags(&self) -> services::tags::TagsService<'_> {
86        services::tags::TagsService::new(self.scope())
87    }
88
89    /// The `Uploads` operations, scoped to this account.
90    pub fn uploads(&self) -> services::uploads::UploadsService<'_> {
91        services::uploads::UploadsService::new(self.scope())
92    }
93
94    /// The `Users` operations, scoped to this account.
95    pub fn users(&self) -> services::users::UsersService<'_> {
96        services::users::UsersService::new(self.scope())
97    }
98
99    /// The `Webhooks` operations, scoped to this account.
100    pub fn webhooks(&self) -> services::webhooks::WebhooksService<'_> {
101        services::webhooks::WebhooksService::new(self.scope())
102    }
103}