Class PICSRequest
- java.lang.Object
-
- in.dragonbra.javasteam.steam.handlers.steamapps.PICSRequest
-
public class PICSRequest extends java.lang.ObjectRepresents a PICS request used forSteamApps.picsGetProductInfo(Iterable, Iterable, boolean)
-
-
Constructor Summary
Constructors Constructor Description PICSRequest()Instantiate a PICS product info requestPICSRequest(int id)Instantiate a PICS product info request for a given app or package idPICSRequest(int id, long accessToken)Instantiate a PICS product info request for a given app or package id and an access token
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetAccessToken()intgetId()voidsetAccessToken(long accessToken)voidsetId(int id)
-
-
-
Constructor Detail
-
PICSRequest
public PICSRequest()
Instantiate a PICS product info request
-
PICSRequest
public PICSRequest(int id)
Instantiate a PICS product info request for a given app or package id- Parameters:
id- App or package ID\
-
PICSRequest
public PICSRequest(int id, long accessToken)Instantiate a PICS product info request for a given app or package id and an access token- Parameters:
id- App or package IDaccessToken- PICS access token
-
-
Method Detail
-
getId
public int getId()
- Returns:
- the ID of the app or package being requested
-
setId
public void setId(int id)
- Parameters:
id- the ID of the app or package being requested
-
getAccessToken
public long getAccessToken()
- Returns:
- the access token associated with the request
-
setAccessToken
public void setAccessToken(long accessToken)
- Parameters:
accessToken- the access token associated with the request
-
-