doppler_rs/models/update_secret_note_request.rs
1/*
2 * Core
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-oas3.1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11/*
12 * Core
13 *
14 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
15 *
16 * The version of the OpenAPI document: 1.0.0-oas3.1
17 *
18 * Generated by: https://openapi-generator.tech
19 */
20
21use crate::models;
22use serde::{Deserialize, Serialize};
23use chrono::{DateTime, NaiveDate, Utc};
24/// UpdateSecretNoteRequest
25#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
26pub struct UpdateSecretNoteRequest {
27 /// The name of the secret
28 #[serde(rename = "secret")]
29 pub secret: String ,
30 /// The note you want to set on the secret. This note will be applied to the specified secret in all environments.
31 #[serde(rename = "note")]
32 pub note: String ,
33}
34
35impl UpdateSecretNoteRequest {
36 pub fn new(secret: String , note: String ) -> UpdateSecretNoteRequest {
37 UpdateSecretNoteRequest {
38 secret: secret,
39 note: note,
40 }
41 }
42}
43