#[non_exhaustive]pub struct ComponentResponseBuilder { /* private fields */ }Expand description
A builder for ComponentResponse.
Implementations§
source§impl ComponentResponseBuilder
impl ComponentResponseBuilder
sourcepub fn component_name(self, input: impl Into<String>) -> Self
pub fn component_name(self, input: impl Into<String>) -> Self
The name of the component.
sourcepub fn set_component_name(self, input: Option<String>) -> Self
pub fn set_component_name(self, input: Option<String>) -> Self
The name of the component.
sourcepub fn get_component_name(&self) -> &Option<String>
pub fn get_component_name(&self) -> &Option<String>
The name of the component.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the component type.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the component type.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the component type.
sourcepub fn component_type_id(self, input: impl Into<String>) -> Self
pub fn component_type_id(self, input: impl Into<String>) -> Self
The ID of the component type.
sourcepub fn set_component_type_id(self, input: Option<String>) -> Self
pub fn set_component_type_id(self, input: Option<String>) -> Self
The ID of the component type.
sourcepub fn get_component_type_id(&self) -> &Option<String>
pub fn get_component_type_id(&self) -> &Option<String>
The ID of the component type.
sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The status of the component type.
sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
The status of the component type.
sourcepub fn defined_in(self, input: impl Into<String>) -> Self
pub fn defined_in(self, input: impl Into<String>) -> Self
The name of the property definition set in the request.
sourcepub fn set_defined_in(self, input: Option<String>) -> Self
pub fn set_defined_in(self, input: Option<String>) -> Self
The name of the property definition set in the request.
sourcepub fn get_defined_in(&self) -> &Option<String>
pub fn get_defined_in(&self) -> &Option<String>
The name of the property definition set in the request.
sourcepub fn properties(self, k: impl Into<String>, v: PropertyResponse) -> Self
pub fn properties(self, k: impl Into<String>, v: PropertyResponse) -> Self
Adds a key-value pair to properties.
To override the contents of this collection use set_properties.
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
sourcepub fn set_properties(
self,
input: Option<HashMap<String, PropertyResponse>>
) -> Self
pub fn set_properties( self, input: Option<HashMap<String, PropertyResponse>> ) -> Self
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
sourcepub fn get_properties(&self) -> &Option<HashMap<String, PropertyResponse>>
pub fn get_properties(&self) -> &Option<HashMap<String, PropertyResponse>>
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
sourcepub fn property_groups(
self,
k: impl Into<String>,
v: ComponentPropertyGroupResponse
) -> Self
pub fn property_groups( self, k: impl Into<String>, v: ComponentPropertyGroupResponse ) -> Self
Adds a key-value pair to property_groups.
To override the contents of this collection use set_property_groups.
The property groups.
sourcepub fn set_property_groups(
self,
input: Option<HashMap<String, ComponentPropertyGroupResponse>>
) -> Self
pub fn set_property_groups( self, input: Option<HashMap<String, ComponentPropertyGroupResponse>> ) -> Self
The property groups.
sourcepub fn get_property_groups(
&self
) -> &Option<HashMap<String, ComponentPropertyGroupResponse>>
pub fn get_property_groups( &self ) -> &Option<HashMap<String, ComponentPropertyGroupResponse>>
The property groups.
sourcepub fn sync_source(self, input: impl Into<String>) -> Self
pub fn sync_source(self, input: impl Into<String>) -> Self
The syncSource of the sync job, if this entity was created by a sync job.
sourcepub fn set_sync_source(self, input: Option<String>) -> Self
pub fn set_sync_source(self, input: Option<String>) -> Self
The syncSource of the sync job, if this entity was created by a sync job.
sourcepub fn get_sync_source(&self) -> &Option<String>
pub fn get_sync_source(&self) -> &Option<String>
The syncSource of the sync job, if this entity was created by a sync job.
sourcepub fn are_all_properties_returned(self, input: bool) -> Self
pub fn are_all_properties_returned(self, input: bool) -> Self
This flag notes whether all properties of the component are returned in the API response. The maximum number of properties returned is 800.
sourcepub fn set_are_all_properties_returned(self, input: Option<bool>) -> Self
pub fn set_are_all_properties_returned(self, input: Option<bool>) -> Self
This flag notes whether all properties of the component are returned in the API response. The maximum number of properties returned is 800.
sourcepub fn get_are_all_properties_returned(&self) -> &Option<bool>
pub fn get_are_all_properties_returned(&self) -> &Option<bool>
This flag notes whether all properties of the component are returned in the API response. The maximum number of properties returned is 800.
sourcepub fn composite_components(
self,
k: impl Into<String>,
v: ComponentSummary
) -> Self
pub fn composite_components( self, k: impl Into<String>, v: ComponentSummary ) -> Self
Adds a key-value pair to composite_components.
To override the contents of this collection use set_composite_components.
This lists objects that contain information about the compositeComponents.
sourcepub fn set_composite_components(
self,
input: Option<HashMap<String, ComponentSummary>>
) -> Self
pub fn set_composite_components( self, input: Option<HashMap<String, ComponentSummary>> ) -> Self
This lists objects that contain information about the compositeComponents.
sourcepub fn get_composite_components(
&self
) -> &Option<HashMap<String, ComponentSummary>>
pub fn get_composite_components( &self ) -> &Option<HashMap<String, ComponentSummary>>
This lists objects that contain information about the compositeComponents.
sourcepub fn are_all_composite_components_returned(self, input: bool) -> Self
pub fn are_all_composite_components_returned(self, input: bool) -> Self
This flag notes whether all compositeComponents are returned in the API response.
sourcepub fn set_are_all_composite_components_returned(
self,
input: Option<bool>
) -> Self
pub fn set_are_all_composite_components_returned( self, input: Option<bool> ) -> Self
This flag notes whether all compositeComponents are returned in the API response.
sourcepub fn get_are_all_composite_components_returned(&self) -> &Option<bool>
pub fn get_are_all_composite_components_returned(&self) -> &Option<bool>
This flag notes whether all compositeComponents are returned in the API response.
sourcepub fn build(self) -> ComponentResponse
pub fn build(self) -> ComponentResponse
Consumes the builder and constructs a ComponentResponse.
Trait Implementations§
source§impl Clone for ComponentResponseBuilder
impl Clone for ComponentResponseBuilder
source§fn clone(&self) -> ComponentResponseBuilder
fn clone(&self) -> ComponentResponseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ComponentResponseBuilder
impl Debug for ComponentResponseBuilder
source§impl Default for ComponentResponseBuilder
impl Default for ComponentResponseBuilder
source§fn default() -> ComponentResponseBuilder
fn default() -> ComponentResponseBuilder
source§impl PartialEq for ComponentResponseBuilder
impl PartialEq for ComponentResponseBuilder
source§fn eq(&self, other: &ComponentResponseBuilder) -> bool
fn eq(&self, other: &ComponentResponseBuilder) -> bool
self and other values to be equal, and is used
by ==.