com.twilio.sdk.parser.ResponseParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of twilio-java-sdk Show documentation
Show all versions of twilio-java-sdk Show documentation
Release Candidate for Next-Gen Twilio Java Helper Library
package com.twilio.sdk.parser;
import com.twilio.sdk.TwilioRestResponse;
import java.util.Map;
// TODO: Auto-generated Javadoc
/**
* The Interface ResponseParser.
*/
public interface ResponseParser {
/**
* The Enum PagingProperty.
*/
public enum PagingProperty {
/** The NEX t_ pag e_ ur i_ key. */
NEXT_PAGE_URI_KEY,
/** The STAR t_ key. */
START_KEY,
/** The EN d_ key. */
END_KEY,
/** The PAG e_ key. */
PAGE_KEY
}
/**
* Parses the.
*
* @param response the response
* @return the map
*/
public Map parse(TwilioRestResponse response);
/**
* Gets the paging property key.
*
* @param prop the prop
* @return the paging property key
*/
public String getPagingPropertyKey(PagingProperty prop);
}