/*
* Harbor API
*
* These APIs provide services for manipulating Harbor project.
*
* The version of the OpenAPI document: 2.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AdditionLink {
/// The link of the addition
#[serde(rename = "href", skip_serializing_if = "Option::is_none")]
pub href: Option<String>,
/// Determine whether the link is an absolute URL or not
#[serde(rename = "absolute", skip_serializing_if = "Option::is_none")]
pub absolute: Option<bool>,
}
impl AdditionLink {
pub fn new() -> AdditionLink {
AdditionLink {
href: None,
absolute: None,
}
}
}