#[non_exhaustive]pub struct DeleteCustomMetadataInput {
pub authentication_token: Option<String>,
pub resource_id: Option<String>,
pub version_id: Option<String>,
pub keys: Option<Vec<String>>,
pub delete_all: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.authentication_token: Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
resource_id: Option<String>
The ID of the resource, either a document or folder.
version_id: Option<String>
The ID of the version, if the custom metadata is being deleted from a document version.
keys: Option<Vec<String>>
List of properties to remove.
delete_all: Option<bool>
Flag to indicate removal of all custom metadata properties from the specified resource.
Implementations§
source§impl DeleteCustomMetadataInput
impl DeleteCustomMetadataInput
sourcepub fn authentication_token(&self) -> Option<&str>
pub fn authentication_token(&self) -> Option<&str>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource, either a document or folder.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The ID of the version, if the custom metadata is being deleted from a document version.
sourcepub fn keys(&self) -> &[String]
pub fn keys(&self) -> &[String]
List of properties to remove.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .keys.is_none()
.
sourcepub fn delete_all(&self) -> Option<bool>
pub fn delete_all(&self) -> Option<bool>
Flag to indicate removal of all custom metadata properties from the specified resource.
source§impl DeleteCustomMetadataInput
impl DeleteCustomMetadataInput
sourcepub fn builder() -> DeleteCustomMetadataInputBuilder
pub fn builder() -> DeleteCustomMetadataInputBuilder
Creates a new builder-style object to manufacture DeleteCustomMetadataInput
.
Trait Implementations§
source§impl Clone for DeleteCustomMetadataInput
impl Clone for DeleteCustomMetadataInput
source§fn clone(&self) -> DeleteCustomMetadataInput
fn clone(&self) -> DeleteCustomMetadataInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteCustomMetadataInput
impl Debug for DeleteCustomMetadataInput
source§impl PartialEq for DeleteCustomMetadataInput
impl PartialEq for DeleteCustomMetadataInput
source§fn eq(&self, other: &DeleteCustomMetadataInput) -> bool
fn eq(&self, other: &DeleteCustomMetadataInput) -> bool
self
and other
values to be equal, and is used
by ==
.