1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::model::Request;
use serde::Serialize;

#[derive(Default, Clone, Debug, Serialize)]
pub struct PostQuery;

pub type PostRequest = Request<PostQuery>;

impl PostRequest {
    pub fn new() -> Self {
        Self {
            method: http::Method::POST,
            path: "/api/bot/account/upgrade".to_string(),
            ..Default::default()
        }
    }
}