public class SearchResultDTO extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchResultDTO.TypeEnum
Gets or Sets type
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TRANSPORT_TYPE |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
SearchResultDTO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId()
Get id
|
String |
getName()
Get name
|
String |
getTransportType()
Accepted values are HTTP, WS, SOAPTOREST, GRAPHQL
|
SearchResultDTO.TypeEnum |
getType()
Get type
|
int |
hashCode() |
SearchResultDTO |
id(String id) |
SearchResultDTO |
name(String name) |
void |
setId(String id) |
void |
setName(String name) |
void |
setTransportType(String transportType) |
void |
setType(SearchResultDTO.TypeEnum type) |
String |
toString() |
SearchResultDTO |
transportType(String transportType) |
SearchResultDTO |
type(SearchResultDTO.TypeEnum type) |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_NAME
@SerializedName(value="name") protected String name
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TRANSPORT_TYPE
public SearchResultDTO id(String id)
public void setId(String id)
public SearchResultDTO name(String name)
public String getName()
public void setName(String name)
public SearchResultDTO type(SearchResultDTO.TypeEnum type)
@Nullable public SearchResultDTO.TypeEnum getType()
public void setType(SearchResultDTO.TypeEnum type)
public SearchResultDTO transportType(String transportType)
@Nullable public String getTransportType()
public void setTransportType(String transportType)
Copyright © 2021 WSO2 Inc. All rights reserved.