Package com.onslip360
Class API.Shift
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.Shift>
-
- com.onslip360.API.Shift
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.Shift>>
- Enclosing class:
- API
public static class API.Shift extends Onslip360Object<API.Shift>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.Shift.Status
-
Constructor Summary
Constructors Constructor Description Shift(API.ShiftHistory[] history, String identityNumber, String name, String startDate, API.Shift.Status status, Long user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
created()
API.Shift
created(String created)
Optional<String>
deleted()
API.Shift
deleted(String deleted)
Optional<String>
endDate()
API.Shift
endDate(String endDate)
API.ShiftHistory[]
history()
API.Shift
history(API.ShiftHistory[] history)
Optional<Long>
id()
API.Shift
id(Long id)
String
identityNumber()
API.Shift
identityNumber(String identityNumber)
Optional<Long[]>
labels()
API.Shift
labels(Long[] labels)
String
name()
API.Shift
name(String name)
String
startDate()
API.Shift
startDate(String startDate)
API.Shift.Status
status()
API.Shift
status(API.Shift.Status status)
Optional<String[]>
tags()
API.Shift
tags(String[] tags)
Optional<String>
updated()
API.Shift
updated(String updated)
Optional<Long>
updatedBy()
API.Shift
updatedBy(Long updatedBy)
Optional<Long>
updatedFrom()
API.Shift
updatedFrom(Long updatedFrom)
Long
user()
API.Shift
user(Long user)
-
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
-
Shift
public Shift(API.ShiftHistory[] history, String identityNumber, String name, String startDate, API.Shift.Status status, Long user)
-
-
Method Detail
-
history
@Nonnull public API.ShiftHistory[] history()
-
identityNumber
@Nonnull public String identityNumber()
-
name
@Nonnull public String name()
-
startDate
@Nonnull public String startDate()
-
status
@Nonnull public API.Shift.Status status()
-
user
@Nonnull public Long user()
-
history
@Nonnull public API.Shift history(API.ShiftHistory[] history)
-
status
@Nonnull public API.Shift status(API.Shift.Status status)
-
-