#[non_exhaustive]pub struct DeleteFileOutputBuilder { /* private fields */ }
Expand description
A builder for DeleteFileOutput
.
Implementations§
source§impl DeleteFileOutputBuilder
impl DeleteFileOutputBuilder
sourcepub fn commit_id(self, input: impl Into<String>) -> Self
pub fn commit_id(self, input: impl Into<String>) -> Self
The full commit ID of the commit that contains the change that deletes the file.
This field is required.sourcepub fn set_commit_id(self, input: Option<String>) -> Self
pub fn set_commit_id(self, input: Option<String>) -> Self
The full commit ID of the commit that contains the change that deletes the file.
sourcepub fn get_commit_id(&self) -> &Option<String>
pub fn get_commit_id(&self) -> &Option<String>
The full commit ID of the commit that contains the change that deletes the file.
sourcepub fn blob_id(self, input: impl Into<String>) -> Self
pub fn blob_id(self, input: impl Into<String>) -> Self
The blob ID removed from the tree as part of deleting the file.
This field is required.sourcepub fn set_blob_id(self, input: Option<String>) -> Self
pub fn set_blob_id(self, input: Option<String>) -> Self
The blob ID removed from the tree as part of deleting the file.
sourcepub fn get_blob_id(&self) -> &Option<String>
pub fn get_blob_id(&self) -> &Option<String>
The blob ID removed from the tree as part of deleting the file.
sourcepub fn tree_id(self, input: impl Into<String>) -> Self
pub fn tree_id(self, input: impl Into<String>) -> Self
The full SHA-1 pointer of the tree information for the commit that contains the delete file change.
This field is required.sourcepub fn set_tree_id(self, input: Option<String>) -> Self
pub fn set_tree_id(self, input: Option<String>) -> Self
The full SHA-1 pointer of the tree information for the commit that contains the delete file change.
sourcepub fn get_tree_id(&self) -> &Option<String>
pub fn get_tree_id(&self) -> &Option<String>
The full SHA-1 pointer of the tree information for the commit that contains the delete file change.
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
The fully qualified path to the file to be deleted, including the full name and extension of that file.
This field is required.sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
The fully qualified path to the file to be deleted, including the full name and extension of that file.
sourcepub fn get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
The fully qualified path to the file to be deleted, including the full name and extension of that file.
sourcepub fn build(self) -> Result<DeleteFileOutput, BuildError>
pub fn build(self) -> Result<DeleteFileOutput, BuildError>
Consumes the builder and constructs a DeleteFileOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DeleteFileOutputBuilder
impl Clone for DeleteFileOutputBuilder
source§fn clone(&self) -> DeleteFileOutputBuilder
fn clone(&self) -> DeleteFileOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteFileOutputBuilder
impl Debug for DeleteFileOutputBuilder
source§impl Default for DeleteFileOutputBuilder
impl Default for DeleteFileOutputBuilder
source§fn default() -> DeleteFileOutputBuilder
fn default() -> DeleteFileOutputBuilder
source§impl PartialEq for DeleteFileOutputBuilder
impl PartialEq for DeleteFileOutputBuilder
source§fn eq(&self, other: &DeleteFileOutputBuilder) -> bool
fn eq(&self, other: &DeleteFileOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.