Package com.onslip360
Class API.ResourceMapItem
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.ResourceMapItem>
-
- com.onslip360.API.ResourceMapItem
-
- All Implemented Interfaces:
Cloneable,Comparable<Onslip360Object<API.ResourceMapItem>>
- Enclosing class:
- API
public static class API.ResourceMapItem extends Onslip360Object<API.ResourceMapItem>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAPI.ResourceMapItem.Shapestatic classAPI.ResourceMapItem.Type
-
Constructor Summary
Constructors Constructor Description ResourceMapItem(Integer height, API.ResourceMapItem.Shape shape, API.ResourceMapItem.Type type, Integer width, Integer x, Integer y)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerheight()API.ResourceMapItemheight(Integer height)Optional<Long>resource()API.ResourceMapItemresource(Long resource)API.ResourceMapItem.Shapeshape()API.ResourceMapItemshape(API.ResourceMapItem.Shape shape)API.ResourceMapItem.Typetype()API.ResourceMapItemtype(API.ResourceMapItem.Type type)Integerwidth()API.ResourceMapItemwidth(Integer width)Integerx()API.ResourceMapItemx(Integer x)Integery()API.ResourceMapItemy(Integer y)-
Methods inherited from class com.onslip360.Onslip360Object
clone, compareTo, equals, fromJson, fromJson, fromJsonArray, fromJsonArray, fromList, fromMap, fromObject, getExtended, hashCode, setExtended, setExtended, toJson, toJson, toJson, toJson, toList, toMap, toString
-
-
-
-
Constructor Detail
-
ResourceMapItem
public ResourceMapItem(Integer height, API.ResourceMapItem.Shape shape, API.ResourceMapItem.Type type, Integer width, Integer x, Integer y)
-
-
Method Detail
-
height
@Nonnull public Integer height()
-
shape
@Nonnull public API.ResourceMapItem.Shape shape()
-
type
@Nonnull public API.ResourceMapItem.Type type()
-
width
@Nonnull public Integer width()
-
x
@Nonnull public Integer x()
-
y
@Nonnull public Integer y()
-
height
@Nonnull public API.ResourceMapItem height(Integer height)
-
resource
@Nonnull public API.ResourceMapItem resource(@Nullable Long resource)
-
shape
@Nonnull public API.ResourceMapItem shape(API.ResourceMapItem.Shape shape)
-
type
@Nonnull public API.ResourceMapItem type(API.ResourceMapItem.Type type)
-
width
@Nonnull public API.ResourceMapItem width(Integer width)
-
x
@Nonnull public API.ResourceMapItem x(Integer x)
-
y
@Nonnull public API.ResourceMapItem y(Integer y)
-
-