pipedrive_rs/models/comment_post_put_object.rs
1/*
2 * Pipedrive API v1
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CommentPostPutObject {
16 /// The content of the comment in HTML format. Subject to sanitization on the back-end.
17 #[serde(rename = "content")]
18 pub content: String,
19}
20
21impl CommentPostPutObject {
22 pub fn new(content: String) -> CommentPostPutObject {
23 CommentPostPutObject {
24 content,
25 }
26 }
27}
28
29