public class RetrieveCustomerSegmentResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RetrieveCustomerSegmentResponse.Builder
Class to build instances of
RetrieveCustomerSegmentResponse. |
| Constructor and Description |
|---|
RetrieveCustomerSegmentResponse(List<Error> errors,
CustomerSegment segment)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
HttpContext |
getContext() |
List<Error> |
getErrors()
Getter for Errors.
|
CustomerSegment |
getSegment()
Getter for Segment.
|
int |
hashCode() |
RetrieveCustomerSegmentResponse.Builder |
toBuilder()
Builds a new
RetrieveCustomerSegmentResponse.Builder object. |
String |
toString()
Converts this RetrieveCustomerSegmentResponse into string format.
|
public RetrieveCustomerSegmentResponse(List<Error> errors, CustomerSegment segment)
errors - List of Error value for errors.segment - CustomerSegment value for segment.public HttpContext getContext()
public List<Error> getErrors()
public CustomerSegment getSegment()
public String toString()
public RetrieveCustomerSegmentResponse.Builder toBuilder()
RetrieveCustomerSegmentResponse.Builder object.
Creates the instance with the state of the current model.RetrieveCustomerSegmentResponse.Builder objectCopyright © 2022. All rights reserved.