public class HotelRoom extends APINode
| Modifier and Type | Class and Description |
|---|---|
static class |
HotelRoom.APIRequestDelete |
static class |
HotelRoom.APIRequestGet |
static class |
HotelRoom.APIRequestUpdate |
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
HotelRoom(Long id,
APIContext context) |
HotelRoom(String id,
APIContext context) |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic HotelRoom(Long id, APIContext context)
public HotelRoom(String id, APIContext context)
public HotelRoom fetch() throws APIException
APIExceptionpublic static HotelRoom fetchById(Long id, APIContext context) throws APIException
APIExceptionpublic static HotelRoom fetchById(String id, APIContext context) throws APIException
APIExceptionpublic static APINodeList<HotelRoom> fetchByIds(List<String> ids, List<String> fields, APIContext context) throws APIException
APIExceptionpublic static HotelRoom loadJSON(String json, APIContext context)
public static APINodeList<HotelRoom> parseResponse(String json, APIContext context, APIRequest request) throws APIException.MalformedResponseException
public APIContext getContext()
getContext in class APINodepublic void setContext(APIContext context)
setContext in class APINodepublic HotelRoom.APIRequestDelete delete()
public HotelRoom.APIRequestGet get()
public HotelRoom.APIRequestUpdate update()
public AppLinks getFieldApplinks()
public String getFieldBasePrice()
public String getFieldCurrency()
public String getFieldDescription()
public String getFieldId()
public String getFieldMarginLevel()
public String getFieldName()
public String getFieldRoomId()
public String getFieldSalePrice()
public String getFieldUrl()
public static APIRequest.ResponseParser<HotelRoom> getParser()
Copyright © 2017. All rights reserved.