Class UserProfileCyberTier
-
- All Implemented Interfaces:
public final class UserProfileCyberTierOne tier of the Cyber Verification Program.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserProfileCyberTier.BuilderA builder for UserProfileCyberTier.
public final classUserProfileCyberTier.Statusactivewhen the tier applies to the profile, otherwiseinactive. The response does not say why a tier isinactive: it can be in review, declined, withdrawn, never applied for, or approved but not applied to this profile.
-
Method Summary
Modifier and Type Method Description final UserProfileCyberTier.Statusstatus()activewhen the tier applies to the profile, otherwiseinactive.final JsonField<UserProfileCyberTier.Status>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final UserProfileCyberTier.BuildertoBuilder()final UserProfileCyberTiervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserProfileCyberTier.Builderbuilder()Returns a mutable builder for constructing an instance of UserProfileCyberTier. final static UserProfileCyberTierof(UserProfileCyberTier.Status status)Returns an immutable instance of UserProfileCyberTier with the required status set to the given value. -
-
Method Detail
-
status
final UserProfileCyberTier.Status status()
activewhen the tier applies to the profile, otherwiseinactive. The response does not say why a tier isinactive: it can be in review, declined, withdrawn, never applied for, or approved but not applied to this profile.
-
_status
final JsonField<UserProfileCyberTier.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UserProfileCyberTier.Builder toBuilder()
-
validate
final UserProfileCyberTier 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 UserProfileCyberTier.Builder builder()
Returns a mutable builder for constructing an instance of UserProfileCyberTier.
The following fields are required:
.status()
-
of
final static UserProfileCyberTier of(UserProfileCyberTier.Status status)
Returns an immutable instance of UserProfileCyberTier with the required status set to the given value.
-
-
-
-