#[non_exhaustive]pub struct TestExecutionSummaryBuilder { /* private fields */ }
Expand description
A builder for TestExecutionSummary
.
Implementations§
source§impl TestExecutionSummaryBuilder
impl TestExecutionSummaryBuilder
sourcepub fn test_execution_id(self, input: impl Into<String>) -> Self
pub fn test_execution_id(self, input: impl Into<String>) -> Self
The unique identifier of the test execution.
sourcepub fn set_test_execution_id(self, input: Option<String>) -> Self
pub fn set_test_execution_id(self, input: Option<String>) -> Self
The unique identifier of the test execution.
sourcepub fn get_test_execution_id(&self) -> &Option<String>
pub fn get_test_execution_id(&self) -> &Option<String>
The unique identifier of the test execution.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time at which the test execution was created.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time at which the test execution was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time at which the test execution was created.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The date and time at which the test execution was last updated.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The date and time at which the test execution was last updated.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The date and time at which the test execution was last updated.
sourcepub fn test_execution_status(self, input: TestExecutionStatus) -> Self
pub fn test_execution_status(self, input: TestExecutionStatus) -> Self
The current status of the test execution.
sourcepub fn set_test_execution_status(
self,
input: Option<TestExecutionStatus>
) -> Self
pub fn set_test_execution_status( self, input: Option<TestExecutionStatus> ) -> Self
The current status of the test execution.
sourcepub fn get_test_execution_status(&self) -> &Option<TestExecutionStatus>
pub fn get_test_execution_status(&self) -> &Option<TestExecutionStatus>
The current status of the test execution.
sourcepub fn test_set_id(self, input: impl Into<String>) -> Self
pub fn test_set_id(self, input: impl Into<String>) -> Self
The unique identifier of the test set used in the test execution.
sourcepub fn set_test_set_id(self, input: Option<String>) -> Self
pub fn set_test_set_id(self, input: Option<String>) -> Self
The unique identifier of the test set used in the test execution.
sourcepub fn get_test_set_id(&self) -> &Option<String>
pub fn get_test_set_id(&self) -> &Option<String>
The unique identifier of the test set used in the test execution.
sourcepub fn test_set_name(self, input: impl Into<String>) -> Self
pub fn test_set_name(self, input: impl Into<String>) -> Self
The name of the test set used in the test execution.
sourcepub fn set_test_set_name(self, input: Option<String>) -> Self
pub fn set_test_set_name(self, input: Option<String>) -> Self
The name of the test set used in the test execution.
sourcepub fn get_test_set_name(&self) -> &Option<String>
pub fn get_test_set_name(&self) -> &Option<String>
The name of the test set used in the test execution.
sourcepub fn target(self, input: TestExecutionTarget) -> Self
pub fn target(self, input: TestExecutionTarget) -> Self
Contains information about the bot used for the test execution..
sourcepub fn set_target(self, input: Option<TestExecutionTarget>) -> Self
pub fn set_target(self, input: Option<TestExecutionTarget>) -> Self
Contains information about the bot used for the test execution..
sourcepub fn get_target(&self) -> &Option<TestExecutionTarget>
pub fn get_target(&self) -> &Option<TestExecutionTarget>
Contains information about the bot used for the test execution..
sourcepub fn api_mode(self, input: TestExecutionApiMode) -> Self
pub fn api_mode(self, input: TestExecutionApiMode) -> Self
Specifies whether the API mode for the test execution is streaming or non-streaming.
sourcepub fn set_api_mode(self, input: Option<TestExecutionApiMode>) -> Self
pub fn set_api_mode(self, input: Option<TestExecutionApiMode>) -> Self
Specifies whether the API mode for the test execution is streaming or non-streaming.
sourcepub fn get_api_mode(&self) -> &Option<TestExecutionApiMode>
pub fn get_api_mode(&self) -> &Option<TestExecutionApiMode>
Specifies whether the API mode for the test execution is streaming or non-streaming.
sourcepub fn test_execution_modality(self, input: TestExecutionModality) -> Self
pub fn test_execution_modality(self, input: TestExecutionModality) -> Self
Specifies whether the data used for the test execution is written or spoken.
sourcepub fn set_test_execution_modality(
self,
input: Option<TestExecutionModality>
) -> Self
pub fn set_test_execution_modality( self, input: Option<TestExecutionModality> ) -> Self
Specifies whether the data used for the test execution is written or spoken.
sourcepub fn get_test_execution_modality(&self) -> &Option<TestExecutionModality>
pub fn get_test_execution_modality(&self) -> &Option<TestExecutionModality>
Specifies whether the data used for the test execution is written or spoken.
sourcepub fn build(self) -> TestExecutionSummary
pub fn build(self) -> TestExecutionSummary
Consumes the builder and constructs a TestExecutionSummary
.
Trait Implementations§
source§impl Clone for TestExecutionSummaryBuilder
impl Clone for TestExecutionSummaryBuilder
source§fn clone(&self) -> TestExecutionSummaryBuilder
fn clone(&self) -> TestExecutionSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestExecutionSummaryBuilder
impl Debug for TestExecutionSummaryBuilder
source§impl Default for TestExecutionSummaryBuilder
impl Default for TestExecutionSummaryBuilder
source§fn default() -> TestExecutionSummaryBuilder
fn default() -> TestExecutionSummaryBuilder
source§impl PartialEq for TestExecutionSummaryBuilder
impl PartialEq for TestExecutionSummaryBuilder
source§fn eq(&self, other: &TestExecutionSummaryBuilder) -> bool
fn eq(&self, other: &TestExecutionSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.