Class GetAccountDetailsRequest
java.lang.Object
com.amilesend.tmdb.client.model.acount.GetAccountDetailsRequest
- All Implemented Interfaces:
AccountBasedRequest, QueryParameterBasedRequest, SessionBasedRequest
public class GetAccountDetailsRequest
extends Object
implements AccountBasedRequest, SessionBasedRequest
Defines a request to retrieve account details.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()intThe account identifier (required).The session identifier (optional).okhttp3.HttpUrl.BuilderpopulateQueryParameters(okhttp3.HttpUrl.Builder urlBuilder) Helper method to populate query parameters of aHttpUrl.Builder.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AccountBasedRequest
validateAccountIdMethods inherited from interface SessionBasedRequest
populateSessionIdQueryParameterIfDefined
-
Method Details
-
populateQueryParameters
public okhttp3.HttpUrl.Builder populateQueryParameters( okhttp3.HttpUrl.Builder urlBuilder) Description copied from interface:QueryParameterBasedRequestHelper method to populate query parameters of aHttpUrl.Builder.- Specified by:
populateQueryParametersin interfaceQueryParameterBasedRequest- Parameters:
urlBuilder- the HttpUrl.Builder instance- Returns:
- the HttpUrl.Builder instance
-
builder
-
getAccountId
public int getAccountId()The account identifier (required).- Specified by:
getAccountIdin interfaceAccountBasedRequest- Returns:
- the account identifier
-
getSessionId
The session identifier (optional).- Specified by:
getSessionIdin interfaceSessionBasedRequest- Returns:
- the session identifier
-