use serde::{self, Deserialize, Serialize};
use crate::helpers::Class;
pub trait Property {}
#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct CommonProperty {
#[serde(rename = "_class")]
pub class: Option<String>,
#[cfg(not(feature = "extra-fields-visibility"))]
#[serde(flatten)]
extra_fields: serde_json::Value,
#[cfg(feature = "extra-fields-visibility")]
#[serde(flatten)]
pub extra_fields: serde_json::Value,
}
specialize!(CommonProperty => Property);
impl Property for CommonProperty {}
#[derive(Deserialize, Debug, Copy, Clone)]
#[serde(rename_all = "camelCase")]
pub struct GithubProjectProperty {}
register_class!("com.coravy.hudson.plugins.github.GithubProjectProperty" => GithubProjectProperty);
impl Property for GithubProjectProperty {}
#[derive(Deserialize, Debug, Copy, Clone)]
#[serde(rename_all = "camelCase")]
pub struct RateLimitBranchProperty {}
register_class!("jenkins.branch.RateLimitBranchProperty$JobPropertyImpl" => RateLimitBranchProperty);
impl Property for RateLimitBranchProperty {}
#[derive(Deserialize, Debug, Copy, Clone)]
#[serde(rename_all = "camelCase")]
pub struct BuildDiscarderProperty {}
register_class!("jenkins.model.BuildDiscarderProperty" => BuildDiscarderProperty);
impl Property for BuildDiscarderProperty {}