#[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 CommentParentResource {
#[serde(rename = "resourceType")]
resource_type: super::ResourceType,
#[serde(rename = "resourceRid")]
resource_rid: conjure_object::ResourceIdentifier,
}
impl CommentParentResource {
#[inline]
pub fn new(
resource_type: super::ResourceType,
resource_rid: conjure_object::ResourceIdentifier,
) -> Self {
Self::builder().resource_type(resource_type).resource_rid(resource_rid).build()
}
#[inline]
pub fn resource_type(&self) -> &super::ResourceType {
&self.resource_type
}
#[inline]
pub fn resource_rid(&self) -> &conjure_object::ResourceIdentifier {
&self.resource_rid
}
}