1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: app.blebbit.authr.folder.updateFolderRelationship
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8#[jacquard_derive::lexicon]
9#[derive(
10 serde::Serialize,
11 serde::Deserialize,
12 Debug,
13 Clone,
14 PartialEq,
15 Eq,
16 jacquard_derive::IntoStatic,
17 Default
18)]
19#[serde(rename_all = "camelCase")]
20pub struct UpdateFolderRelationship<'a> {
21 #[serde(borrow)]
22 pub relation: jacquard_common::CowStr<'a>,
23 #[serde(borrow)]
24 pub resource: jacquard_common::CowStr<'a>,
25 #[serde(borrow)]
26 pub subject: jacquard_common::CowStr<'a>,
27}
28
29///Response type for
30///app.blebbit.authr.folder.updateFolderRelationship
31pub struct UpdateFolderRelationshipResponse;
32impl jacquard_common::xrpc::XrpcResp for UpdateFolderRelationshipResponse {
33 const NSID: &'static str = "app.blebbit.authr.folder.updateFolderRelationship";
34 const ENCODING: &'static str = "application/json";
35 type Output<'de> = ();
36 type Err<'de> = jacquard_common::xrpc::GenericError<'de>;
37}
38
39impl<'a> jacquard_common::xrpc::XrpcRequest for UpdateFolderRelationship<'a> {
40 const NSID: &'static str = "app.blebbit.authr.folder.updateFolderRelationship";
41 const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
42 "application/json",
43 );
44 type Response = UpdateFolderRelationshipResponse;
45}
46
47///Endpoint type for
48///app.blebbit.authr.folder.updateFolderRelationship
49pub struct UpdateFolderRelationshipRequest;
50impl jacquard_common::xrpc::XrpcEndpoint for UpdateFolderRelationshipRequest {
51 const PATH: &'static str = "/xrpc/app.blebbit.authr.folder.updateFolderRelationship";
52 const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Procedure(
53 "application/json",
54 );
55 type Request<'de> = UpdateFolderRelationship<'de>;
56 type Response = UpdateFolderRelationshipResponse;
57}