Package org.dajlab.bricksetapi.v3.vo
Class GetMinifigCollectionParameters
- java.lang.Object
-
- org.dajlab.bricksetapi.v3.vo.GetMinifigCollectionParameters
-
public class GetMinifigCollectionParameters extends Object
-
-
Constructor Summary
Constructors Constructor Description GetMinifigCollectionParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BooleangetOwned()StringgetQuery()protected BooleangetWanted()GetMinifigCollectionParametersonlyOwned()Retrieve minifigs ownedGetMinifigCollectionParametersonlyWanted()Retrieve minifigs wantedprotected voidsetOwned(Boolean owned)Set to true to retrieve minifigs ownedGetMinifigCollectionParameterssetQuery(String query)This can be a minifig number or name.protected voidsetWanted(Boolean wanted)Set to true to retrieve minifigs wanted
-
-
-
Method Detail
-
onlyOwned
public final GetMinifigCollectionParameters onlyOwned()
Retrieve minifigs owned- Returns:
- this
-
onlyWanted
public final GetMinifigCollectionParameters onlyWanted()
Retrieve minifigs wanted- Returns:
- this
-
getOwned
protected final Boolean getOwned()
- Returns:
- the owned
-
setOwned
protected final void setOwned(Boolean owned)
Set to true to retrieve minifigs owned- Parameters:
owned- the owned to set
-
getWanted
protected final Boolean getWanted()
- Returns:
- the wanted
-
setWanted
protected final void setWanted(Boolean wanted)
Set to true to retrieve minifigs wanted- Parameters:
wanted- the wanted to set
-
getQuery
public final String getQuery()
- Returns:
- the query
-
setQuery
public final GetMinifigCollectionParameters setQuery(String query)
This can be a minifig number or name. If omitted, all minifigs owned are returned.- Parameters:
query- the query to set- Returns:
- this
-
-