Class AnalyticsUser
-
- All Implemented Interfaces:
public final class AnalyticsUserA user in the organization, identified by tagged id and email address.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAnalyticsUser.BuilderA builder for AnalyticsUser.
-
Method Summary
Modifier and Type Method Description final Stringid()Tagged user identifier (e.g. final StringemailAddress()Email address of the user final JsonValue_type()Object type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_emailAddress()Returns the raw JSON value of emailAddress. final Map<String, JsonValue>_additionalProperties()final AnalyticsUser.BuildertoBuilder()final AnalyticsUservalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AnalyticsUser.Builderbuilder()Returns a mutable builder for constructing an instance of AnalyticsUser. -
-
Method Detail
-
emailAddress
final String emailAddress()
Email address of the user
-
_type
final JsonValue _type()
Object type. Always
user.Expected to always return the following:
JsonValue.from("user")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_emailAddress
final JsonField<String> _emailAddress()
Returns the raw JSON value of emailAddress.
Unlike emailAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AnalyticsUser.Builder toBuilder()
-
validate
final AnalyticsUser 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 AnalyticsUser.Builder builder()
Returns a mutable builder for constructing an instance of AnalyticsUser.
The following fields are required:
.id() .emailAddress()
-
-
-
-