Class GetListsRequest
java.lang.Object
com.amilesend.tmdb.client.model.acount.GetListsRequest
- All Implemented Interfaces:
AccountBasedRequest
,QueryParameterBasedRequest
,SessionBasedRequest
Request to retrieve list information for an account.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
int
The account identifier (required).getPage()
The result page (optional).The session identifier that is authorized to access the account information (optional).int
hashCode()
okhttp3.HttpUrl.Builder
populateQueryParameters
(okhttp3.HttpUrl.Builder urlBuilder) Helper method to populate query parameters of aHttpUrl.Builder
.toString()
Methods inherited from interface com.amilesend.tmdb.client.model.acount.type.AccountBasedRequest
validateAccountId
Methods inherited from interface com.amilesend.tmdb.client.model.SessionBasedRequest
populateSessionIdQueryParameterIfDefined
-
Method Details
-
populateQueryParameters
public okhttp3.HttpUrl.Builder populateQueryParameters( okhttp3.HttpUrl.Builder urlBuilder) Description copied from interface:QueryParameterBasedRequest
Helper method to populate query parameters of aHttpUrl.Builder
.- Specified by:
populateQueryParameters
in interfaceQueryParameterBasedRequest
- Parameters:
urlBuilder
- the HttpUrl.Builder instance- Returns:
- the HttpUrl.Builder instance
-
builder
-
getAccountId
public int getAccountId()The account identifier (required).- Specified by:
getAccountId
in interfaceAccountBasedRequest
- Returns:
- the account identifier
-
getPage
The result page (optional). -
getSessionId
The session identifier that is authorized to access the account information (optional).- Specified by:
getSessionId
in interfaceSessionBasedRequest
- Returns:
- the session identifier
-
equals
-
hashCode
public int hashCode() -
toString
-