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 class
API.ResourceMapItem.Shape
static class
API.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 Integer
height()
API.ResourceMapItem
height(Integer height)
Optional<Long>
resource()
API.ResourceMapItem
resource(Long resource)
API.ResourceMapItem.Shape
shape()
API.ResourceMapItem
shape(API.ResourceMapItem.Shape shape)
API.ResourceMapItem.Type
type()
API.ResourceMapItem
type(API.ResourceMapItem.Type type)
Integer
width()
API.ResourceMapItem
width(Integer width)
Integer
x()
API.ResourceMapItem
x(Integer x)
Integer
y()
API.ResourceMapItem
y(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)
-
-