Class BetaUserProfileActionUrl
-
- All Implemented Interfaces:
public final class BetaUserProfileActionUrlA URL to give to the person who takes the requested action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaUserProfileActionUrl.BuilderA builder for BetaUserProfileActionUrl.
-
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 BetaUserProfileActionUrl.BuildertoBuilder()final BetaUserProfileActionUrlvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaUserProfileActionUrl.Builderbuilder()Returns a mutable builder for constructing an instance of BetaUserProfileActionUrl. -
-
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 BetaUserProfileActionUrl.Builder toBuilder()
-
validate
final BetaUserProfileActionUrl 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 BetaUserProfileActionUrl.Builder builder()
Returns a mutable builder for constructing an instance of BetaUserProfileActionUrl.
The following fields are required:
.expiresAt() .url()
-
-
-
-