Package com.onslip360
Class API.Role
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.Role>
-
- com.onslip360.API.Role
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.Role>>
- Enclosing class:
- API
public static class API.Role extends Onslip360Object<API.Role>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
created()
API.Role
created(String created)
Optional<String>
deleted()
API.Role
deleted(String deleted)
Optional<Long>
id()
API.Role
id(Long id)
Optional<Long[]>
labels()
API.Role
labels(Long[] labels)
String
name()
API.Role
name(String name)
Optional<API.Permission[]>
permissions()
API.Role
permissions(API.Permission[] permissions)
Optional<String[]>
tags()
API.Role
tags(String[] tags)
Optional<String>
updated()
API.Role
updated(String updated)
Optional<Long>
updatedBy()
API.Role
updatedBy(Long updatedBy)
Optional<Long>
updatedFrom()
API.Role
updatedFrom(Long updatedFrom)
-
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
-
Role
public Role(String name)
-
-
Method Detail
-
name
@Nonnull public String name()
-
permissions
@Nonnull public Optional<API.Permission[]> permissions()
-
permissions
@Nonnull public API.Role permissions(@Nullable API.Permission[] permissions)
-
-