Class SearchResultDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.dto.SearchResultDTO
-
- Direct Known Subclasses:
APISearchResultDTO,DocumentSearchResultDTO
public class SearchResultDTO extends Object
SearchResultDTO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchResultDTO.TypeEnumGets or Sets type
-
Field Summary
Fields Modifier and Type Field Description protected Stringnamestatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_TRANSPORT_TYPEstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description SearchResultDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetId()Get idStringgetName()Get nameStringgetTransportType()Accepted values are HTTP, WS, SOAPTOREST, GRAPHQLSearchResultDTO.TypeEnumgetType()Get typeinthashCode()SearchResultDTOid(String id)SearchResultDTOname(String name)voidsetId(String id)voidsetName(String name)voidsetTransportType(String transportType)voidsetType(SearchResultDTO.TypeEnum type)StringtoString()SearchResultDTOtransportType(String transportType)SearchResultDTOtype(SearchResultDTO.TypeEnum type)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
name
@SerializedName("name") protected String name
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRANSPORT_TYPE
public static final String SERIALIZED_NAME_TRANSPORT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public SearchResultDTO id(String id)
-
setId
public void setId(String id)
-
name
public SearchResultDTO name(String name)
-
getName
public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
type
public SearchResultDTO type(SearchResultDTO.TypeEnum type)
-
getType
@Nullable public SearchResultDTO.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(SearchResultDTO.TypeEnum type)
-
transportType
public SearchResultDTO transportType(String transportType)
-
getTransportType
@Nullable public String getTransportType()
Accepted values are HTTP, WS, SOAPTOREST, GRAPHQL- Returns:
- transportType
-
setTransportType
public void setTransportType(String transportType)
-
-