Class ProjectGroup
-
- All Implemented Interfaces:
public final class ProjectGroupDetails about a group's membership in a project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectGroup.BuilderA builder for ProjectGroup.
public final classProjectGroup.GroupTypeThe type of the group.
-
Method Summary
Modifier and Type Method Description final LongcreatedAt()Unix timestamp (in seconds) when the group was granted project access. final StringgroupId()Identifier of the group that has access to the project. final StringgroupName()Display name of the group. final ProjectGroup.GroupTypegroupType()The type of the group. final JsonValue_object_()Always project.group.final StringprojectId()Identifier of the project. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<String>_groupId()Returns the raw JSON value of groupId. final JsonField<String>_groupName()Returns the raw JSON value of groupName. final JsonField<ProjectGroup.GroupType>_groupType()Returns the raw JSON value of groupType. final JsonField<String>_projectId()Returns the raw JSON value of projectId. final Map<String, JsonValue>_additionalProperties()final ProjectGroup.BuildertoBuilder()final ProjectGroupvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectGroup.Builderbuilder()Returns a mutable builder for constructing an instance of ProjectGroup. -
-
Method Detail
-
createdAt
final Long createdAt()
Unix timestamp (in seconds) when the group was granted project access.
-
groupType
final ProjectGroup.GroupType groupType()
The type of the group.
-
_object_
final JsonValue _object_()
Always
project.group.Expected to always return the following:
JsonValue.from("project.group")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_groupId
final JsonField<String> _groupId()
Returns the raw JSON value of groupId.
Unlike groupId, this method doesn't throw if the JSON field has an unexpected type.
-
_groupName
final JsonField<String> _groupName()
Returns the raw JSON value of groupName.
Unlike groupName, this method doesn't throw if the JSON field has an unexpected type.
-
_groupType
final JsonField<ProjectGroup.GroupType> _groupType()
Returns the raw JSON value of groupType.
Unlike groupType, this method doesn't throw if the JSON field has an unexpected type.
-
_projectId
final JsonField<String> _projectId()
Returns the raw JSON value of projectId.
Unlike projectId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProjectGroup.Builder toBuilder()
-
validate
final ProjectGroup 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 ProjectGroup.Builder builder()
Returns a mutable builder for constructing an instance of ProjectGroup.
The following fields are required:
.createdAt() .groupId() .groupName() .groupType() .projectId()
-
-
-
-