Class OrganizationInfo
-
- All Implemented Interfaces:
public final class OrganizationInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrganizationInfo.BuilderA builder for OrganizationInfo.
-
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 OrganizationInfo.BuildertoBuilder()final OrganizationInfovalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OrganizationInfo.Builderbuilder()Returns a mutable builder for constructing an instance of OrganizationInfo. -
-
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 OrganizationInfo.Builder toBuilder()
-
validate
final OrganizationInfo 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 OrganizationInfo.Builder builder()
Returns a mutable builder for constructing an instance of OrganizationInfo.
The following fields are required:
.id() .name()
-
-
-
-