Class BetaUserProfileEnrollmentUrl
-
- All Implemented Interfaces:
public final class BetaUserProfileEnrollmentUrlA URL to give to the entity that a user profile represents, so that the entity can enroll in a program.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaUserProfileEnrollmentUrl.BuilderA builder for BetaUserProfileEnrollmentUrl.
-
Method Summary
Modifier and Type Method Description final OffsetDateTimeexpiresAt()When this enrollment URL expires, in RFC 3339 format. final Stringurl()Enrollment URL to send to the end user. final JsonValue_type()Object type. final JsonField<OffsetDateTime>_expiresAt()Returns the raw JSON value of expiresAt. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final BetaUserProfileEnrollmentUrl.BuildertoBuilder()final BetaUserProfileEnrollmentUrlvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaUserProfileEnrollmentUrl.Builderbuilder()Returns a mutable builder for constructing an instance of BetaUserProfileEnrollmentUrl. -
-
Method Detail
-
expiresAt
final OffsetDateTime expiresAt()
When this enrollment URL expires, in RFC 3339 format.
-
_type
final JsonValue _type()
Object type. Always
enrollment_url.Expected to always return the following:
JsonValue.from("enrollment_url")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_expiresAt
final JsonField<OffsetDateTime> _expiresAt()
Returns the raw JSON value of expiresAt.
Unlike expiresAt, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaUserProfileEnrollmentUrl.Builder toBuilder()
-
validate
final BetaUserProfileEnrollmentUrl 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 BetaUserProfileEnrollmentUrl.Builder builder()
Returns a mutable builder for constructing an instance of BetaUserProfileEnrollmentUrl.
The following fields are required:
.expiresAt() .url()
-
-
-
-