Package com.onslip360
Class API.DataStream
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.DataStream>
-
- com.onslip360.API.DataStream
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.DataStream>>
- Enclosing class:
- API
public static class API.DataStream extends Onslip360Object<API.DataStream>
-
-
Constructor Summary
Constructors Constructor Description DataStream(Long size, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
data()
Optional<String>
name()
API.DataStream
name(String name)
Long
size()
API.DataStream
size(Long size)
String
type()
API.DataStream
type(String type)
-
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
-
-
-
-
Method Detail
-
size
@Nonnull public Long size()
-
type
@Nonnull public String type()
-
name
@Nonnull public API.DataStream name(@Nullable String name)
-
size
@Nonnull public API.DataStream size(Long size)
-
type
@Nonnull public API.DataStream type(String type)
-
data
@Nonnull public InputStream data()
-
-