Class TestListResponse.Item
-
- All Implemented Interfaces:
public final class TestListResponse.Item
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTestListResponse.Item.BuilderA builder for Item.
public final classTestListResponse.Item.SubtypeThe test subtype.
public final classTestListResponse.Item.Thresholdpublic final classTestListResponse.Item.TypeThe test type.
-
Method Summary
Modifier and Type Method Description final Stringid()The test id. final LongcommentCount()The number of comments on the test. final Optional<String>creatorId()The test creator id. final Optional<OffsetDateTime>dateArchived()The date the test was archived. final OffsetDateTimedateCreated()The creation date. final OffsetDateTimedateUpdated()The last updated date. final JsonValue_description()The test description. final Stringname()The test name. final Longnumber()The test number. final Optional<String>originProjectVersionId()The project version (commit) id where the test was created. final TestListResponse.Item.Subtypesubtype()The test subtype. final Booleansuggested()Whether the test is suggested or user-created. final List<TestListResponse.Item.Threshold>thresholds()final TestListResponse.Item.Typetype()The test type. final Optional<Boolean>archived()Whether the test is archived. final Optional<Boolean>defaultToAllPipelines()Whether to apply the test to all pipelines (data sources) or to a specific set of pipelines. final Optional<Double>delayWindow()The delay window in seconds. final Optional<Double>evaluationWindow()The evaluation window in seconds. final Optional<List<String>>excludePipelines()Array of pipelines (data sources) to which the test should not be applied. final Optional<Boolean>includeHistoricalData()Whether to include historical data in the test result. final Optional<List<String>>includePipelines()Array of pipelines (data sources) to which the test should be applied. final Optional<Boolean>usesMlModel()Whether the test uses an ML model. final Optional<Boolean>usesProductionData()Whether the test uses production data (monitoring mode only). final Optional<Boolean>usesReferenceDataset()Whether the test uses a reference dataset (monitoring mode only). final Optional<Boolean>usesTrainingDataset()Whether the test uses a training dataset. final Optional<Boolean>usesValidationDataset()Whether the test uses a validation dataset. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_commentCount()Returns the raw JSON value of commentCount. final JsonField<String>_creatorId()Returns the raw JSON value of creatorId. final JsonField<OffsetDateTime>_dateArchived()Returns the raw JSON value of dateArchived. final JsonField<OffsetDateTime>_dateCreated()Returns the raw JSON value of dateCreated. final JsonField<OffsetDateTime>_dateUpdated()Returns the raw JSON value of dateUpdated. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<Long>_number()Returns the raw JSON value of number. final JsonField<String>_originProjectVersionId()Returns the raw JSON value of originProjectVersionId. final JsonField<TestListResponse.Item.Subtype>_subtype()Returns the raw JSON value of subtype. final JsonField<Boolean>_suggested()Returns the raw JSON value of suggested. final JsonField<List<TestListResponse.Item.Threshold>>_thresholds()Returns the raw JSON value of thresholds. final JsonField<TestListResponse.Item.Type>_type()Returns the raw JSON value of type. final JsonField<Boolean>_archived()Returns the raw JSON value of archived. final JsonField<Boolean>_defaultToAllPipelines()Returns the raw JSON value of defaultToAllPipelines. final JsonField<Double>_delayWindow()Returns the raw JSON value of delayWindow. final JsonField<Double>_evaluationWindow()Returns the raw JSON value of evaluationWindow. final JsonField<List<String>>_excludePipelines()Returns the raw JSON value of excludePipelines. final JsonField<Boolean>_includeHistoricalData()Returns the raw JSON value of includeHistoricalData. final JsonField<List<String>>_includePipelines()Returns the raw JSON value of includePipelines. final JsonField<Boolean>_usesMlModel()Returns the raw JSON value of usesMlModel. final JsonField<Boolean>_usesProductionData()Returns the raw JSON value of usesProductionData. final JsonField<Boolean>_usesReferenceDataset()Returns the raw JSON value of usesReferenceDataset. final JsonField<Boolean>_usesTrainingDataset()Returns the raw JSON value of usesTrainingDataset. final JsonField<Boolean>_usesValidationDataset()Returns the raw JSON value of usesValidationDataset. final Map<String, JsonValue>_additionalProperties()final TestListResponse.Item.BuildertoBuilder()final TestListResponse.Itemvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TestListResponse.Item.Builderbuilder()Returns a mutable builder for constructing an instance of Item. -
-
Method Detail
-
commentCount
final Long commentCount()
The number of comments on the test.
-
dateArchived
final Optional<OffsetDateTime> dateArchived()
The date the test was archived.
-
dateCreated
final OffsetDateTime dateCreated()
The creation date.
-
dateUpdated
final OffsetDateTime dateUpdated()
The last updated date.
-
_description
final JsonValue _description()
The test description.
-
originProjectVersionId
final Optional<String> originProjectVersionId()
The project version (commit) id where the test was created.
-
subtype
final TestListResponse.Item.Subtype subtype()
The test subtype.
-
thresholds
final List<TestListResponse.Item.Threshold> thresholds()
-
type
final TestListResponse.Item.Type type()
The test type.
-
defaultToAllPipelines
final Optional<Boolean> defaultToAllPipelines()
Whether to apply the test to all pipelines (data sources) or to a specific set of pipelines. Only applies to tests that use production data.
-
delayWindow
final Optional<Double> delayWindow()
The delay window in seconds. Only applies to tests that use production data.
-
evaluationWindow
final Optional<Double> evaluationWindow()
The evaluation window in seconds. Only applies to tests that use production data.
-
excludePipelines
final Optional<List<String>> excludePipelines()
Array of pipelines (data sources) to which the test should not be applied. Only applies to tests that use production data.
-
includeHistoricalData
final Optional<Boolean> includeHistoricalData()
Whether to include historical data in the test result. Only applies to tests that use production data.
-
includePipelines
final Optional<List<String>> includePipelines()
Array of pipelines (data sources) to which the test should be applied. Only applies to tests that use production data.
-
usesMlModel
final Optional<Boolean> usesMlModel()
Whether the test uses an ML model.
-
usesProductionData
final Optional<Boolean> usesProductionData()
Whether the test uses production data (monitoring mode only).
-
usesReferenceDataset
final Optional<Boolean> usesReferenceDataset()
Whether the test uses a reference dataset (monitoring mode only).
-
usesTrainingDataset
final Optional<Boolean> usesTrainingDataset()
Whether the test uses a training dataset.
-
usesValidationDataset
final Optional<Boolean> usesValidationDataset()
Whether the test uses a validation dataset.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_commentCount
final JsonField<Long> _commentCount()
Returns the raw JSON value of commentCount.
Unlike commentCount, this method doesn't throw if the JSON field has an unexpected type.
-
_creatorId
final JsonField<String> _creatorId()
Returns the raw JSON value of creatorId.
Unlike creatorId, this method doesn't throw if the JSON field has an unexpected type.
-
_dateArchived
final JsonField<OffsetDateTime> _dateArchived()
Returns the raw JSON value of dateArchived.
Unlike dateArchived, this method doesn't throw if the JSON field has an unexpected type.
-
_dateCreated
final JsonField<OffsetDateTime> _dateCreated()
Returns the raw JSON value of dateCreated.
Unlike dateCreated, this method doesn't throw if the JSON field has an unexpected type.
-
_dateUpdated
final JsonField<OffsetDateTime> _dateUpdated()
Returns the raw JSON value of dateUpdated.
Unlike dateUpdated, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_number
final JsonField<Long> _number()
Returns the raw JSON value of number.
Unlike number, this method doesn't throw if the JSON field has an unexpected type.
-
_originProjectVersionId
final JsonField<String> _originProjectVersionId()
Returns the raw JSON value of originProjectVersionId.
Unlike originProjectVersionId, this method doesn't throw if the JSON field has an unexpected type.
-
_subtype
final JsonField<TestListResponse.Item.Subtype> _subtype()
Returns the raw JSON value of subtype.
Unlike subtype, this method doesn't throw if the JSON field has an unexpected type.
-
_suggested
final JsonField<Boolean> _suggested()
Returns the raw JSON value of suggested.
Unlike suggested, this method doesn't throw if the JSON field has an unexpected type.
-
_thresholds
final JsonField<List<TestListResponse.Item.Threshold>> _thresholds()
Returns the raw JSON value of thresholds.
Unlike thresholds, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<TestListResponse.Item.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_archived
final JsonField<Boolean> _archived()
Returns the raw JSON value of archived.
Unlike archived, this method doesn't throw if the JSON field has an unexpected type.
-
_defaultToAllPipelines
final JsonField<Boolean> _defaultToAllPipelines()
Returns the raw JSON value of defaultToAllPipelines.
Unlike defaultToAllPipelines, this method doesn't throw if the JSON field has an unexpected type.
-
_delayWindow
final JsonField<Double> _delayWindow()
Returns the raw JSON value of delayWindow.
Unlike delayWindow, this method doesn't throw if the JSON field has an unexpected type.
-
_evaluationWindow
final JsonField<Double> _evaluationWindow()
Returns the raw JSON value of evaluationWindow.
Unlike evaluationWindow, this method doesn't throw if the JSON field has an unexpected type.
-
_excludePipelines
final JsonField<List<String>> _excludePipelines()
Returns the raw JSON value of excludePipelines.
Unlike excludePipelines, this method doesn't throw if the JSON field has an unexpected type.
-
_includeHistoricalData
final JsonField<Boolean> _includeHistoricalData()
Returns the raw JSON value of includeHistoricalData.
Unlike includeHistoricalData, this method doesn't throw if the JSON field has an unexpected type.
-
_includePipelines
final JsonField<List<String>> _includePipelines()
Returns the raw JSON value of includePipelines.
Unlike includePipelines, this method doesn't throw if the JSON field has an unexpected type.
-
_usesMlModel
final JsonField<Boolean> _usesMlModel()
Returns the raw JSON value of usesMlModel.
Unlike usesMlModel, this method doesn't throw if the JSON field has an unexpected type.
-
_usesProductionData
final JsonField<Boolean> _usesProductionData()
Returns the raw JSON value of usesProductionData.
Unlike usesProductionData, this method doesn't throw if the JSON field has an unexpected type.
-
_usesReferenceDataset
final JsonField<Boolean> _usesReferenceDataset()
Returns the raw JSON value of usesReferenceDataset.
Unlike usesReferenceDataset, this method doesn't throw if the JSON field has an unexpected type.
-
_usesTrainingDataset
final JsonField<Boolean> _usesTrainingDataset()
Returns the raw JSON value of usesTrainingDataset.
Unlike usesTrainingDataset, this method doesn't throw if the JSON field has an unexpected type.
-
_usesValidationDataset
final JsonField<Boolean> _usesValidationDataset()
Returns the raw JSON value of usesValidationDataset.
Unlike usesValidationDataset, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TestListResponse.Item.Builder toBuilder()
-
validate
final TestListResponse.Item validate()
-
builder
final static TestListResponse.Item.Builder builder()
Returns a mutable builder for constructing an instance of Item.
The following fields are required:
.id() .commentCount() .creatorId() .dateArchived() .dateCreated() .dateUpdated() .description() .name() .number() .originProjectVersionId() .subtype() .suggested() .thresholds() .type()
-
-
-
-