#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct CreateTagRequest {
    #[serde(rename = "existingCommit")]
    existing_commit: super::CommitId,
    #[serde(rename = "tagName")]
    tag_name: super::TagName,
}
impl CreateTagRequest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(existing_commit: super::CommitId, tag_name: super::TagName) -> Self {
        Self::builder().existing_commit(existing_commit).tag_name(tag_name).build()
    }
    #[inline]
    pub fn existing_commit(&self) -> &super::CommitId {
        &self.existing_commit
    }
    #[inline]
    pub fn tag_name(&self) -> &super::TagName {
        &self.tag_name
    }
}
