#[non_exhaustive]pub struct GetFolderOutputBuilder { /* private fields */ }
Expand description
A builder for GetFolderOutput
.
Implementations§
source§impl GetFolderOutputBuilder
impl GetFolderOutputBuilder
sourcepub fn commit_id(self, input: impl Into<String>) -> Self
pub fn commit_id(self, input: impl Into<String>) -> Self
The full commit ID used as a reference for the returned version of the folder content.
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 used as a reference for the returned version of the folder content.
sourcepub fn get_commit_id(&self) -> &Option<String>
pub fn get_commit_id(&self) -> &Option<String>
The full commit ID used as a reference for the returned version of the folder content.
sourcepub fn folder_path(self, input: impl Into<String>) -> Self
pub fn folder_path(self, input: impl Into<String>) -> Self
The fully qualified path of the folder whose contents are returned.
This field is required.sourcepub fn set_folder_path(self, input: Option<String>) -> Self
pub fn set_folder_path(self, input: Option<String>) -> Self
The fully qualified path of the folder whose contents are returned.
sourcepub fn get_folder_path(&self) -> &Option<String>
pub fn get_folder_path(&self) -> &Option<String>
The fully qualified path of the folder whose contents are returned.
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 folder.
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 folder.
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 folder.
sourcepub fn sub_folders(self, input: Folder) -> Self
pub fn sub_folders(self, input: Folder) -> Self
Appends an item to sub_folders
.
To override the contents of this collection use set_sub_folders
.
The list of folders that exist under the specified folder, if any.
sourcepub fn set_sub_folders(self, input: Option<Vec<Folder>>) -> Self
pub fn set_sub_folders(self, input: Option<Vec<Folder>>) -> Self
The list of folders that exist under the specified folder, if any.
sourcepub fn get_sub_folders(&self) -> &Option<Vec<Folder>>
pub fn get_sub_folders(&self) -> &Option<Vec<Folder>>
The list of folders that exist under the specified folder, if any.
sourcepub fn files(self, input: File) -> Self
pub fn files(self, input: File) -> Self
Appends an item to files
.
To override the contents of this collection use set_files
.
The list of files in the specified folder, if any.
sourcepub fn set_files(self, input: Option<Vec<File>>) -> Self
pub fn set_files(self, input: Option<Vec<File>>) -> Self
The list of files in the specified folder, if any.
sourcepub fn get_files(&self) -> &Option<Vec<File>>
pub fn get_files(&self) -> &Option<Vec<File>>
The list of files in the specified folder, if any.
sourcepub fn symbolic_links(self, input: SymbolicLink) -> Self
pub fn symbolic_links(self, input: SymbolicLink) -> Self
Appends an item to symbolic_links
.
To override the contents of this collection use set_symbolic_links
.
The list of symbolic links to other files and folders in the specified folder, if any.
sourcepub fn set_symbolic_links(self, input: Option<Vec<SymbolicLink>>) -> Self
pub fn set_symbolic_links(self, input: Option<Vec<SymbolicLink>>) -> Self
The list of symbolic links to other files and folders in the specified folder, if any.
sourcepub fn get_symbolic_links(&self) -> &Option<Vec<SymbolicLink>>
pub fn get_symbolic_links(&self) -> &Option<Vec<SymbolicLink>>
The list of symbolic links to other files and folders in the specified folder, if any.
sourcepub fn sub_modules(self, input: SubModule) -> Self
pub fn sub_modules(self, input: SubModule) -> Self
Appends an item to sub_modules
.
To override the contents of this collection use set_sub_modules
.
The list of submodules in the specified folder, if any.
sourcepub fn set_sub_modules(self, input: Option<Vec<SubModule>>) -> Self
pub fn set_sub_modules(self, input: Option<Vec<SubModule>>) -> Self
The list of submodules in the specified folder, if any.
sourcepub fn get_sub_modules(&self) -> &Option<Vec<SubModule>>
pub fn get_sub_modules(&self) -> &Option<Vec<SubModule>>
The list of submodules in the specified folder, if any.
sourcepub fn build(self) -> Result<GetFolderOutput, BuildError>
pub fn build(self) -> Result<GetFolderOutput, BuildError>
Consumes the builder and constructs a GetFolderOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetFolderOutputBuilder
impl Clone for GetFolderOutputBuilder
source§fn clone(&self) -> GetFolderOutputBuilder
fn clone(&self) -> GetFolderOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFolderOutputBuilder
impl Debug for GetFolderOutputBuilder
source§impl Default for GetFolderOutputBuilder
impl Default for GetFolderOutputBuilder
source§fn default() -> GetFolderOutputBuilder
fn default() -> GetFolderOutputBuilder
source§impl PartialEq for GetFolderOutputBuilder
impl PartialEq for GetFolderOutputBuilder
source§fn eq(&self, other: &GetFolderOutputBuilder) -> bool
fn eq(&self, other: &GetFolderOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.