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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// GENERATED CODE

use crate::api_default_imports::*;
use crate::teamwork::*;

resource_api_client!(TeamworkApiClient, ResourceIdentity::Teamwork);

impl TeamworkApiClient {
    api_client_link_id!(deleted_team, DeletedTeamsIdApiClient);
    api_client_link!(deleted_teams, DeletedTeamsApiClient);

    get!(
        doc: "Get teamwork",
        name: get_teamwork,
        path: "/teamwork"
    );
    patch!(
        doc: "Update teamwork",
        name: update_teamwork,
        path: "/teamwork",
        body: true
    );
    post!(
        doc: "Invoke action sendActivityNotificationToRecipients",
        name: send_activity_notification_to_recipients,
        path: "/teamwork/sendActivityNotificationToRecipients",
        body: true
    );
    post!(
        doc: "Create workforceIntegration",
        name: create_workforce_integrations,
        path: "/teamwork/workforceIntegrations",
        body: true
    );
    get!(
        doc: "List workforceIntegrations",
        name: list_workforce_integrations,
        path: "/teamwork/workforceIntegrations"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_workforce_integrations_count,
        path: "/teamwork/workforceIntegrations/$count"
    );
    delete!(
        doc: "Delete navigation property workforceIntegrations for teamwork",
        name: delete_workforce_integrations,
        path: "/teamwork/workforceIntegrations/{{id}}",
        params: workforce_integration_id
    );
    get!(
        doc: "Get workforceIntegrations from teamwork",
        name: get_workforce_integrations,
        path: "/teamwork/workforceIntegrations/{{id}}",
        params: workforce_integration_id
    );
    patch!(
        doc: "Update the navigation property workforceIntegrations in teamwork",
        name: update_workforce_integrations,
        path: "/teamwork/workforceIntegrations/{{id}}",
        body: true,
        params: workforce_integration_id
    );
}