Skip to main content

nominal_api/conjure/objects/ingest/api/
rerun_ingest_request.rs

1#[derive(
2    Debug,
3    Clone,
4    conjure_object::serde::Serialize,
5    conjure_object::serde::Deserialize,
6    PartialEq,
7    Eq,
8    PartialOrd,
9    Ord,
10    Hash
11)]
12#[serde(crate = "conjure_object::serde")]
13#[conjure_object::private::staged_builder::staged_builder]
14#[builder(crate = conjure_object::private::staged_builder, update, inline)]
15pub struct RerunIngestRequest {
16    #[serde(rename = "ingestJobRid")]
17    ingest_job_rid: super::IngestJobRid,
18}
19impl RerunIngestRequest {
20    /// Constructs a new instance of the type.
21    #[inline]
22    pub fn new(ingest_job_rid: super::IngestJobRid) -> Self {
23        Self::builder().ingest_job_rid(ingest_job_rid).build()
24    }
25    #[inline]
26    pub fn ingest_job_rid(&self) -> &super::IngestJobRid {
27        &self.ingest_job_rid
28    }
29}