Class UserProfileActionUrl
-
- All Implemented Interfaces:
public final class UserProfileActionUrlA URL to give to the person who takes the requested action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserProfileActionUrl.BuilderA builder for UserProfileActionUrl.
-
Method Summary
Modifier and Type Method Description final OffsetDateTimeexpiresAt()When the URL stops working, in RFC 3339 format. final Stringurl()The URL to give to the person who takes the action. 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 UserProfileActionUrl.BuildertoBuilder()final UserProfileActionUrlvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserProfileActionUrl.Builderbuilder()Returns a mutable builder for constructing an instance of UserProfileActionUrl. -
-
Method Detail
-
expiresAt
final OffsetDateTime expiresAt()
When the URL stops working, in RFC 3339 format.
-
url
final String url()
The URL to give to the person who takes the action. Anyone who holds it can open it until
expires_at.
-
_type
final JsonValue _type()
Object type. Always
user_profile_action_url.Expected to always return the following:
JsonValue.from("user_profile_action_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 UserProfileActionUrl.Builder toBuilder()
-
validate
final UserProfileActionUrl 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 UserProfileActionUrl.Builder builder()
Returns a mutable builder for constructing an instance of UserProfileActionUrl.
The following fields are required:
.expiresAt() .url()
-
-
-
-