Class ScanReport.Intelligence
-
- All Implemented Interfaces:
public final class ScanReport.IntelligenceIntelligence metadata about a model including origin, licensing, and usage policies
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classScanReport.Intelligence.BuilderA builder for Intelligence.
public final classScanReport.Intelligence.LicenseLicense information for a model
public final classScanReport.Intelligence.UsagePolicyUsage policy information for a model
-
Method Summary
-
-
Method Detail
-
contributorTrustLevel
final Optional<String> contributorTrustLevel()
Trust level of the model contributor
-
countryOfOrigin
final Optional<String> countryOfOrigin()
ISO 3166-1 alpha-2 country code of the model's primary origin
-
geographicFootprint
final Optional<List<String>> geographicFootprint()
List of countries where the model originated
-
licenses
final Optional<List<ScanReport.Intelligence.License>> licenses()
List of licenses associated with the model
-
usagePolicies
final Optional<List<ScanReport.Intelligence.UsagePolicy>> usagePolicies()
List of usage policies associated with the model
-
_contributorTrustLevel
final JsonField<String> _contributorTrustLevel()
Returns the raw JSON value of contributorTrustLevel.
Unlike contributorTrustLevel, this method doesn't throw if the JSON field has an unexpected type.
-
_countryOfOrigin
final JsonField<String> _countryOfOrigin()
Returns the raw JSON value of countryOfOrigin.
Unlike countryOfOrigin, this method doesn't throw if the JSON field has an unexpected type.
-
_geographicFootprint
final JsonField<List<String>> _geographicFootprint()
Returns the raw JSON value of geographicFootprint.
Unlike geographicFootprint, this method doesn't throw if the JSON field has an unexpected type.
-
_licenses
final JsonField<List<ScanReport.Intelligence.License>> _licenses()
Returns the raw JSON value of licenses.
Unlike licenses, this method doesn't throw if the JSON field has an unexpected type.
-
_usagePolicies
final JsonField<List<ScanReport.Intelligence.UsagePolicy>> _usagePolicies()
Returns the raw JSON value of usagePolicies.
Unlike usagePolicies, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ScanReport.Intelligence.Builder toBuilder()
-
validate
final ScanReport.Intelligence validate()
-
builder
final static ScanReport.Intelligence.Builder builder()
Returns a mutable builder for constructing an instance of Intelligence.
-
-
-
-