Package com.growsurf.api.models.campaign
Class ParticipantList
-
- All Implemented Interfaces:
public final class ParticipantList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classParticipantList.BuilderA builder for ParticipantList.
-
Method Summary
Modifier and Type Method Description final Longlimit()final Optional<String>nextId()final List<Participant>participants()final JsonField<Long>_limit()Returns the raw JSON value of limit. final JsonField<String>_nextId()Returns the raw JSON value of nextId. final JsonField<List<Participant>>_participants()Returns the raw JSON value of participants. final Map<String, JsonValue>_additionalProperties()final ParticipantList.BuildertoBuilder()final ParticipantListvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ParticipantList.Builderbuilder()Returns a mutable builder for constructing an instance of ParticipantList. -
-
Method Detail
-
participants
final List<Participant> participants()
-
_limit
final JsonField<Long> _limit()
Returns the raw JSON value of limit.
Unlike limit, this method doesn't throw if the JSON field has an unexpected type.
-
_nextId
final JsonField<String> _nextId()
Returns the raw JSON value of nextId.
Unlike nextId, this method doesn't throw if the JSON field has an unexpected type.
-
_participants
final JsonField<List<Participant>> _participants()
Returns the raw JSON value of participants.
Unlike participants, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ParticipantList.Builder toBuilder()
-
validate
final ParticipantList 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 ParticipantList.Builder builder()
Returns a mutable builder for constructing an instance of ParticipantList.
The following fields are required:
.limit() .nextId() .participants()
-
-
-
-