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
Modifier and Type Method Description final Optional<String>contributorTrustLevel()Trust level of the model contributor final Optional<String>countryOfOrigin()ISO 3166-1 alpha-2 country code of the model's primary origin final Optional<List<String>>geographicFootprint()List of countries where the model originated final Optional<List<ScanReport.Intelligence.License>>licenses()List of licenses associated with the model final Optional<List<ScanReport.Intelligence.UsagePolicy>>usagePolicies()List of usage policies associated with the model final JsonField<String>_contributorTrustLevel()Returns the raw JSON value of contributorTrustLevel. final JsonField<String>_countryOfOrigin()Returns the raw JSON value of countryOfOrigin. final JsonField<List<String>>_geographicFootprint()Returns the raw JSON value of geographicFootprint. final JsonField<List<ScanReport.Intelligence.License>>_licenses()Returns the raw JSON value of licenses. final JsonField<List<ScanReport.Intelligence.UsagePolicy>>_usagePolicies()Returns the raw JSON value of usagePolicies. final Map<String, JsonValue>_additionalProperties()final ScanReport.Intelligence.BuildertoBuilder()final ScanReport.Intelligencevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ScanReport.Intelligence.Builderbuilder()Returns a mutable builder for constructing an instance of Intelligence. -
-
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()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ScanReport.Intelligence.Builder builder()
Returns a mutable builder for constructing an instance of Intelligence.
-
-
-
-