[][src]Trait camunda_client::apis::TaskAttachmentApi

pub trait TaskAttachmentApi {
    fn add_attachment(
        &self,
        id: &str,
        attachment_name: Option<&str>,
        attachment_description: Option<&str>,
        attachment_type: Option<&str>,
        url: Option<&str>,
        content: Option<PathBuf>
    ) -> Result<AttachmentDto, Error>;
fn delete_attachment(
        &self,
        id: &str,
        attachment_id: &str
    ) -> Result<(), Error>;
fn get_attachment(
        &self,
        id: &str,
        attachment_id: &str
    ) -> Result<AttachmentDto, Error>;
fn get_attachment_data(
        &self,
        id: &str,
        attachment_id: &str
    ) -> Result<PathBuf, Error>;
fn get_attachments(&self, id: &str) -> Result<Vec<AttachmentDto>, Error>; }

Required methods

fn add_attachment(
    &self,
    id: &str,
    attachment_name: Option<&str>,
    attachment_description: Option<&str>,
    attachment_type: Option<&str>,
    url: Option<&str>,
    content: Option<PathBuf>
) -> Result<AttachmentDto, Error>

fn delete_attachment(&self, id: &str, attachment_id: &str) -> Result<(), Error>

fn get_attachment(
    &self,
    id: &str,
    attachment_id: &str
) -> Result<AttachmentDto, Error>

fn get_attachment_data(
    &self,
    id: &str,
    attachment_id: &str
) -> Result<PathBuf, Error>

fn get_attachments(&self, id: &str) -> Result<Vec<AttachmentDto>, Error>

Loading content...

Implementors

impl TaskAttachmentApi for TaskAttachmentApiClient[src]

Loading content...