Class BetaOrganization
-
- All Implemented Interfaces:
public final class BetaOrganization
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaOrganization.BuilderA builder for BetaOrganization.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the Organization. final Stringname()Name of the Organization. final JsonValue_type()Object type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final BetaOrganization.BuildertoBuilder()final BetaOrganizationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaOrganization.Builderbuilder()Returns a mutable builder for constructing an instance of BetaOrganization. -
-
Method Detail
-
_type
final JsonValue _type()
Object type.
For Organizations, this is always
"organization".Expected to always return the following:
JsonValue.from("organization")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.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaOrganization.Builder toBuilder()
-
validate
final BetaOrganization 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 BetaOrganization.Builder builder()
Returns a mutable builder for constructing an instance of BetaOrganization.
The following fields are required:
.id() .name()
-
-
-
-