Class MutationResponse
- java.lang.Object
-
- com.github.gpluscb.ggjava.entity.AbstractGGEntity
-
- com.github.gpluscb.ggjava.entity.object.AbstractGGObject
-
- com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject
-
- com.github.gpluscb.ggjava.entity.object.response.objects.MutationResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
public class MutationResponse extends AbstractGGResponseObject
-
-
Constructor Summary
Constructors Constructor Description MutationResponse()
MutationResponse(BooleanResponse deletePhase, BooleanResponse deleteStation, BooleanResponse deleteWave, ListResponse<SeedResponse> resolveScheduleConflicts, ListResponse<SeedResponse> swapSeeds, ListResponse<PhaseGroupResponse> updatePhaseGroups, PhaseResponse updatePhaseSeeding, PhaseResponse upsertPhase, StationsResponse upsertStation, WaveResponse upsertWave)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanResponse
getDeletePhase()
Delete a phase by idBooleanResponse
getDeleteStation()
Delete a station by idBooleanResponse
getDeleteWave()
Delete a wave by idListResponse<SeedResponse>
getResolveScheduleConflicts()
Automatically attempt to resolve all schedule conflicts.ListResponse<SeedResponse>
getSwapSeeds()
Swap two seed ids in a phaseListResponse<PhaseGroupResponse>
getUpdatePhaseGroups()
Update set of phase groups in a phasePhaseResponse
getUpdatePhaseSeeding()
Update the seeding for a phasePhaseResponse
getUpsertPhase()
Create or update a PhaseStationsResponse
getUpsertStation()
Add or update a station by idWaveResponse
getUpsertWave()
Add or update a wave by id-
Methods inherited from class com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject
checkProvided, isProvided
-
Methods inherited from class com.github.gpluscb.ggjava.entity.AbstractGGEntity
getGGEntityType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.gpluscb.ggjava.entity.GGEntity
getGGEntityType
-
-
-
-
Constructor Detail
-
MutationResponse
public MutationResponse()
-
MutationResponse
public MutationResponse(BooleanResponse deletePhase, BooleanResponse deleteStation, BooleanResponse deleteWave, ListResponse<SeedResponse> resolveScheduleConflicts, ListResponse<SeedResponse> swapSeeds, ListResponse<PhaseGroupResponse> updatePhaseGroups, PhaseResponse updatePhaseSeeding, PhaseResponse upsertPhase, StationsResponse upsertStation, WaveResponse upsertWave)
-
-
Method Detail
-
getDeletePhase
public BooleanResponse getDeletePhase()
Delete a phase by id
-
getDeleteStation
public BooleanResponse getDeleteStation()
Delete a station by id
-
getDeleteWave
public BooleanResponse getDeleteWave()
Delete a wave by id
-
getResolveScheduleConflicts
public ListResponse<SeedResponse> getResolveScheduleConflicts()
Automatically attempt to resolve all schedule conflicts. Returns a list of changed seeds
-
getSwapSeeds
public ListResponse<SeedResponse> getSwapSeeds()
Swap two seed ids in a phase
-
getUpdatePhaseGroups
public ListResponse<PhaseGroupResponse> getUpdatePhaseGroups()
Update set of phase groups in a phase
-
getUpdatePhaseSeeding
public PhaseResponse getUpdatePhaseSeeding()
Update the seeding for a phase
-
getUpsertPhase
public PhaseResponse getUpsertPhase()
Create or update a Phase
-
getUpsertStation
public StationsResponse getUpsertStation()
Add or update a station by id
-
getUpsertWave
public WaveResponse getUpsertWave()
Add or update a wave by id
-
-