public class SwapPlanRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SwapPlanRequest.Builder
Class to build instances of
SwapPlanRequest. |
| Modifier | Constructor and Description |
|---|---|
protected |
SwapPlanRequest(io.apimatic.core.types.OptionalNullable<String> newPlanVariationId,
io.apimatic.core.types.OptionalNullable<List<PhaseInput>> phases)
Initialization constructor.
|
|
SwapPlanRequest(String newPlanVariationId,
List<PhaseInput> phases)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getNewPlanVariationId()
Getter for NewPlanVariationId.
|
List<PhaseInput> |
getPhases()
Getter for Phases.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetNewPlanVariationId()
Internal Getter for NewPlanVariationId.
|
protected io.apimatic.core.types.OptionalNullable<List<PhaseInput>> |
internalGetPhases()
Internal Getter for Phases.
|
SwapPlanRequest.Builder |
toBuilder()
Builds a new
SwapPlanRequest.Builder object. |
String |
toString()
Converts this SwapPlanRequest into string format.
|
public SwapPlanRequest(String newPlanVariationId, List<PhaseInput> phases)
newPlanVariationId - String value for newPlanVariationId.phases - List of PhaseInput value for phases.protected SwapPlanRequest(io.apimatic.core.types.OptionalNullable<String> newPlanVariationId, io.apimatic.core.types.OptionalNullable<List<PhaseInput>> phases)
newPlanVariationId - String value for newPlanVariationId.phases - List of PhaseInput value for phases.protected io.apimatic.core.types.OptionalNullable<String> internalGetNewPlanVariationId()
public String getNewPlanVariationId()
protected io.apimatic.core.types.OptionalNullable<List<PhaseInput>> internalGetPhases()
public List<PhaseInput> getPhases()
public String toString()
public SwapPlanRequest.Builder toBuilder()
SwapPlanRequest.Builder object.
Creates the instance with the state of the current model.SwapPlanRequest.Builder objectCopyright © 2024. All rights reserved.