use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct RemoteDeployConnection {
#[serde(rename = "remote_email")]
pub remote_email: String,
#[serde(rename = "proxy_key")]
pub proxy_key: String,
#[serde(rename = "connected_at")]
pub connected_at: String,
}
impl RemoteDeployConnection {
pub fn new(remote_email: String, proxy_key: String, connected_at: String) -> RemoteDeployConnection {
RemoteDeployConnection {
remote_email,
proxy_key,
connected_at,
}
}
}