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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// GENERATED CODE

use crate::api_default_imports::*;

api_client!(
    ChatsMessagesRepliesApiClient,
    ChatsMessagesRepliesIdApiClient,
    ResourceIdentity::ChatsMessagesReplies
);

impl ChatsMessagesRepliesApiClient {
    get!(
        doc: "List replies",
        name: list_replies,
        path: "/replies"
    );
    post!(
        doc: "Reply to a message in a channel",
        name: create_replies,
        path: "/replies",
        body: true
    );
    get!(
        doc: "Get the number of the resource",
        name: get_replies_count,
        path: "/replies/$count"
    );
    get!(
        doc: "Invoke function delta",
        name: delta,
        path: "/replies/delta()"
    );
}

impl ChatsMessagesRepliesIdApiClient {
    delete!(
        doc: "Delete navigation property replies for chats",
        name: delete_replies,
        path: "/replies/{{RID}}"
    );
    get!(
        doc: "Get replies from chats",
        name: get_replies,
        path: "/replies/{{RID}}"
    );
    patch!(
        doc: "Update the navigation property replies in chats",
        name: update_replies,
        path: "/replies/{{RID}}",
        body: true
    );
    post!(
        doc: "Create new navigation property to hostedContents for chats",
        name: create_hosted_contents,
        path: "/replies/{{RID}}/hostedContents",
        body: true
    );
    get!(
        doc: "List hostedContents",
        name: list_hosted_contents,
        path: "/replies/{{RID}}/hostedContents"
    );
    get!(
        doc: "Get the number of the resource",
        name: get_hosted_contents_count,
        path: "/replies/{{RID}}/hostedContents/$count"
    );
    delete!(
        doc: "Delete navigation property hostedContents for chats",
        name: delete_hosted_contents,
        path: "/replies/{{RID}}/hostedContents/{{id}}",
        params: chat_message_hosted_content_id
    );
    get!(
        doc: "Get hostedContents from chats",
        name: get_hosted_contents,
        path: "/replies/{{RID}}/hostedContents/{{id}}",
        params: chat_message_hosted_content_id
    );
    patch!(
        doc: "Update the navigation property hostedContents in chats",
        name: update_hosted_contents,
        path: "/replies/{{RID}}/hostedContents/{{id}}",
        body: true,
        params: chat_message_hosted_content_id
    );
    post!(
        doc: "Invoke action softDelete",
        name: soft_delete,
        path: "/replies/{{RID}}/softDelete"
    );
    post!(
        doc: "Invoke action undoSoftDelete",
        name: undo_soft_delete,
        path: "/replies/{{RID}}/undoSoftDelete"
    );
}