#[non_exhaustive]pub struct PropertyDefinitionRequestBuilder { /* private fields */ }Expand description
A builder for PropertyDefinitionRequest.
Implementations§
source§impl PropertyDefinitionRequestBuilder
impl PropertyDefinitionRequestBuilder
sourcepub fn data_type(self, input: DataType) -> Self
pub fn data_type(self, input: DataType) -> Self
An object that contains information about the data type.
sourcepub fn set_data_type(self, input: Option<DataType>) -> Self
pub fn set_data_type(self, input: Option<DataType>) -> Self
An object that contains information about the data type.
sourcepub fn get_data_type(&self) -> &Option<DataType>
pub fn get_data_type(&self) -> &Option<DataType>
An object that contains information about the data type.
sourcepub fn is_required_in_entity(self, input: bool) -> Self
pub fn is_required_in_entity(self, input: bool) -> Self
A Boolean value that specifies whether the property is required.
sourcepub fn set_is_required_in_entity(self, input: Option<bool>) -> Self
pub fn set_is_required_in_entity(self, input: Option<bool>) -> Self
A Boolean value that specifies whether the property is required.
sourcepub fn get_is_required_in_entity(&self) -> &Option<bool>
pub fn get_is_required_in_entity(&self) -> &Option<bool>
A Boolean value that specifies whether the property is required.
sourcepub fn is_external_id(self, input: bool) -> Self
pub fn is_external_id(self, input: bool) -> Self
A Boolean value that specifies whether the property ID comes from an external data store.
sourcepub fn set_is_external_id(self, input: Option<bool>) -> Self
pub fn set_is_external_id(self, input: Option<bool>) -> Self
A Boolean value that specifies whether the property ID comes from an external data store.
sourcepub fn get_is_external_id(&self) -> &Option<bool>
pub fn get_is_external_id(&self) -> &Option<bool>
A Boolean value that specifies whether the property ID comes from an external data store.
sourcepub fn is_stored_externally(self, input: bool) -> Self
pub fn is_stored_externally(self, input: bool) -> Self
A Boolean value that specifies whether the property is stored externally.
sourcepub fn set_is_stored_externally(self, input: Option<bool>) -> Self
pub fn set_is_stored_externally(self, input: Option<bool>) -> Self
A Boolean value that specifies whether the property is stored externally.
sourcepub fn get_is_stored_externally(&self) -> &Option<bool>
pub fn get_is_stored_externally(&self) -> &Option<bool>
A Boolean value that specifies whether the property is stored externally.
sourcepub fn is_time_series(self, input: bool) -> Self
pub fn is_time_series(self, input: bool) -> Self
A Boolean value that specifies whether the property consists of time series data.
sourcepub fn set_is_time_series(self, input: Option<bool>) -> Self
pub fn set_is_time_series(self, input: Option<bool>) -> Self
A Boolean value that specifies whether the property consists of time series data.
sourcepub fn get_is_time_series(&self) -> &Option<bool>
pub fn get_is_time_series(&self) -> &Option<bool>
A Boolean value that specifies whether the property consists of time series data.
sourcepub fn default_value(self, input: DataValue) -> Self
pub fn default_value(self, input: DataValue) -> Self
An object that contains the default value.
sourcepub fn set_default_value(self, input: Option<DataValue>) -> Self
pub fn set_default_value(self, input: Option<DataValue>) -> Self
An object that contains the default value.
sourcepub fn get_default_value(&self) -> &Option<DataValue>
pub fn get_default_value(&self) -> &Option<DataValue>
An object that contains the default value.
sourcepub fn configuration(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn configuration(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to configuration.
To override the contents of this collection use set_configuration.
A mapping that specifies configuration information about the property. Use this field to specify information that you read from and write to an external source.
sourcepub fn set_configuration(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_configuration(self, input: Option<HashMap<String, String>>) -> Self
A mapping that specifies configuration information about the property. Use this field to specify information that you read from and write to an external source.
sourcepub fn get_configuration(&self) -> &Option<HashMap<String, String>>
pub fn get_configuration(&self) -> &Option<HashMap<String, String>>
A mapping that specifies configuration information about the property. Use this field to specify information that you read from and write to an external source.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
A friendly name for the property.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
A friendly name for the property.
sourcepub fn get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
A friendly name for the property.
sourcepub fn build(self) -> PropertyDefinitionRequest
pub fn build(self) -> PropertyDefinitionRequest
Consumes the builder and constructs a PropertyDefinitionRequest.
Trait Implementations§
source§impl Clone for PropertyDefinitionRequestBuilder
impl Clone for PropertyDefinitionRequestBuilder
source§fn clone(&self) -> PropertyDefinitionRequestBuilder
fn clone(&self) -> PropertyDefinitionRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PropertyDefinitionRequestBuilder
impl Default for PropertyDefinitionRequestBuilder
source§fn default() -> PropertyDefinitionRequestBuilder
fn default() -> PropertyDefinitionRequestBuilder
source§impl PartialEq for PropertyDefinitionRequestBuilder
impl PartialEq for PropertyDefinitionRequestBuilder
source§fn eq(&self, other: &PropertyDefinitionRequestBuilder) -> bool
fn eq(&self, other: &PropertyDefinitionRequestBuilder) -> bool
self and other values to be equal, and is used
by ==.