1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// GENERATED CODE

use crate::api_default_imports::*;

resource_api_client!(
    AgreementAcceptancesApiClient,
    AgreementAcceptancesIdApiClient,
    ResourceIdentity::AgreementAcceptances
);

impl AgreementAcceptancesApiClient {
    post!(
        doc: "Add new entity to agreementAcceptances",
        name: create_agreement_acceptance,
        path: "/agreementAcceptances",
        body: true
    );
    get!(
        doc: "Get entities from agreementAcceptances",
        name: list_agreement_acceptance,
        path: "/agreementAcceptances"
    );
}

impl AgreementAcceptancesIdApiClient {
    delete!(
        doc: "Delete entity from agreementAcceptances",
        name: delete_agreement_acceptance,
        path: "/agreementAcceptances/{{RID}}"
    );
    get!(
        doc: "Get entity from agreementAcceptances by key",
        name: get_agreement_acceptance,
        path: "/agreementAcceptances/{{RID}}"
    );
    patch!(
        doc: "Update entity in agreementAcceptances",
        name: update_agreement_acceptance,
        path: "/agreementAcceptances/{{RID}}",
        body: true
    );
}