Class CardListResponse
-
- All Implemented Interfaces:
public final class CardListResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCardListResponse.BuilderA builder for CardListResponse.
public final classCardListResponse.AttackMonitoringThreatLevelpublic final classCardListResponse.ModelScanSeverityThe severity of the model's latest scan
public final classCardListResponse.ModelScanThreatLevelpublic final classCardListResponse.AidrThreatLevelpublic final classCardListResponse.PolicyStatusThe status of the model's compliance with regard to any policies. A trailing asterisk indicates the model's status has been overridden.
public final classCardListResponse.SecurityPosturepublic final classCardListResponse.Tags
-
Method Summary
-
-
Method Detail
-
activeVersionCount
final Long activeVersionCount()
-
attackMonitoringThreatLevel
final CardListResponse.AttackMonitoringThreatLevel attackMonitoringThreatLevel()
-
hasGenealogy
final Boolean hasGenealogy()
A value of
trueindicates that one or more versions of this model have associated model genealogy information.
-
modelScanSeverity
final CardListResponse.ModelScanSeverity modelScanSeverity()
The severity of the model's latest scan
-
modelScanThreatLevel
@Deprecated(message = "deprecated") final CardListResponse.ModelScanThreatLevel modelScanThreatLevel()
-
plaintextName
final String plaintextName()
-
aidrThreatLevel
final Optional<CardListResponse.AidrThreatLevel> aidrThreatLevel()
-
latestScanId
final Optional<String> latestScanId()
The ID of the most recent model scanner scan for this model's latest version. Absent if no scan has been run.
-
modelScanHasError
final Optional<Boolean> modelScanHasError()
True if the model's latest scan has an error
-
policyStatus
final Optional<CardListResponse.PolicyStatus> policyStatus()
The status of the model's compliance with regard to any policies. A trailing asterisk indicates the model's status has been overridden.
-
securityPosture
final Optional<CardListResponse.SecurityPosture> securityPosture()
-
tags
final Optional<CardListResponse.Tags> tags()
-
_activeVersionCount
final JsonField<Long> _activeVersionCount()
Returns the raw JSON value of activeVersionCount.
Unlike activeVersionCount, this method doesn't throw if the JSON field has an unexpected type.
-
_attackMonitoringThreatLevel
final JsonField<CardListResponse.AttackMonitoringThreatLevel> _attackMonitoringThreatLevel()
Returns the raw JSON value of attackMonitoringThreatLevel.
Unlike attackMonitoringThreatLevel, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_hasGenealogy
final JsonField<Boolean> _hasGenealogy()
Returns the raw JSON value of hasGenealogy.
Unlike hasGenealogy, this method doesn't throw if the JSON field has an unexpected type.
-
_modelId
final JsonField<String> _modelId()
Returns the raw JSON value of modelId.
Unlike modelId, this method doesn't throw if the JSON field has an unexpected type.
-
_modelScanSeverity
final JsonField<CardListResponse.ModelScanSeverity> _modelScanSeverity()
Returns the raw JSON value of modelScanSeverity.
Unlike modelScanSeverity, this method doesn't throw if the JSON field has an unexpected type.
-
_modelScanThreatLevel
@Deprecated(message = "deprecated") final JsonField<CardListResponse.ModelScanThreatLevel> _modelScanThreatLevel()
Returns the raw JSON value of modelScanThreatLevel.
Unlike modelScanThreatLevel, this method doesn't throw if the JSON field has an unexpected type.
-
_plaintextName
final JsonField<String> _plaintextName()
Returns the raw JSON value of plaintextName.
Unlike plaintextName, this method doesn't throw if the JSON field has an unexpected type.
-
_source
final JsonField<String> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_aidrThreatLevel
final JsonField<CardListResponse.AidrThreatLevel> _aidrThreatLevel()
Returns the raw JSON value of aidrThreatLevel.
Unlike aidrThreatLevel, this method doesn't throw if the JSON field has an unexpected type.
-
_latestScanId
final JsonField<String> _latestScanId()
Returns the raw JSON value of latestScanId.
Unlike latestScanId, this method doesn't throw if the JSON field has an unexpected type.
-
_modelScanHasError
final JsonField<Boolean> _modelScanHasError()
Returns the raw JSON value of modelScanHasError.
Unlike modelScanHasError, this method doesn't throw if the JSON field has an unexpected type.
-
_policyStatus
final JsonField<CardListResponse.PolicyStatus> _policyStatus()
Returns the raw JSON value of policyStatus.
Unlike policyStatus, this method doesn't throw if the JSON field has an unexpected type.
-
_securityPosture
final JsonField<CardListResponse.SecurityPosture> _securityPosture()
Returns the raw JSON value of securityPosture.
Unlike securityPosture, this method doesn't throw if the JSON field has an unexpected type.
-
_tags
final JsonField<CardListResponse.Tags> _tags()
Returns the raw JSON value of tags.
Unlike tags, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CardListResponse.Builder toBuilder()
-
validate
final CardListResponse validate()
-
builder
final static CardListResponse.Builder builder()
Returns a mutable builder for constructing an instance of CardListResponse.
The following fields are required:
.activeVersionCount() .attackMonitoringThreatLevel() .createdAt() .hasGenealogy() .modelId() .modelScanSeverity() .modelScanThreatLevel() .plaintextName() .source()
-
-
-
-