Package org.dajlab.bricksetapi.v3.vo
Class SetMinifigCollectionParameters
- java.lang.Object
-
- org.dajlab.bricksetapi.v3.vo.SetMinifigCollectionParameters
-
public class SetMinifigCollectionParameters extends Object
-
-
Constructor Summary
Constructors Constructor Description SetMinifigCollectionParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNotes()BooleangetOwn()IntegergetQuantityOwned()BooleangetWant()voidsetNotes(String notes)User notes, max 1000 characters.
Note: due to the way this method works pass eitherown/want/quantityOwnedORnotes.SetMinifigCollectionParameterssetOwn(Boolean own)If false thenquantityOwnedis automatically set to 0SetMinifigCollectionParameterssetQuantityOwned(Integer quantityOwned)0-999.SetMinifigCollectionParameterssetWant(Boolean want)
-
-
-
Method Detail
-
getOwn
public final Boolean getOwn()
- Returns:
- the own
-
setOwn
public final SetMinifigCollectionParameters setOwn(Boolean own)
If false thenquantityOwnedis automatically set to 0- Parameters:
own- the own to set- Returns:
- this
-
getWant
public final Boolean getWant()
- Returns:
- the want
-
setWant
public final SetMinifigCollectionParameters setWant(Boolean want)
- Parameters:
want- the want to set- Returns:
- this
-
getQuantityOwned
public final Integer getQuantityOwned()
- Returns:
- the quantityOwned
-
setQuantityOwned
public final SetMinifigCollectionParameters setQuantityOwned(Integer quantityOwned)
0-999. If greater than 0 thenownis automatically set to true- Parameters:
quantityOwned- the quantityOwned to set- Returns:
- this
-
getNotes
public String getNotes()
- Returns:
- the notes
-
setNotes
public void setNotes(String notes)
User notes, max 1000 characters.
Note: due to the way this method works pass eitherown/want/quantityOwnedORnotes.- Parameters:
notes- the notes to set
-
-