Package com.onslip360
Class API.AccessToken
- java.lang.Object
-
- com.onslip360.Onslip360Object<API.AccessToken>
-
- com.onslip360.API.AccessToken
-
- All Implemented Interfaces:
Cloneable
,Comparable<Onslip360Object<API.AccessToken>>
- Enclosing class:
- API
public static class API.AccessToken extends Onslip360Object<API.AccessToken>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
API.AccessToken.Type
-
Constructor Summary
Constructors Constructor Description AccessToken(String alias, String name, API.AccessToken.Type type)
-
Method Summary
-
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
-
AccessToken
public AccessToken(String alias, String name, API.AccessToken.Type type)
-
-
Method Detail
-
alias
@Nonnull public String alias()
-
key
@Nonnull public Optional<byte[]> key()
-
name
@Nonnull public String name()
-
permissions
@Nonnull public Optional<API.Permission[]> permissions()
-
type
@Nonnull public API.AccessToken.Type type()
-
alias
@Nonnull public API.AccessToken alias(String alias)
-
client
@Nonnull public API.AccessToken client(@Nullable Long client)
-
created
@Nonnull public API.AccessToken created(@Nullable String created)
-
deleted
@Nonnull public API.AccessToken deleted(@Nullable String deleted)
-
external
@Nonnull public API.AccessToken external(@Nullable Boolean external)
-
id
@Nonnull public API.AccessToken id(@Nullable Long id)
-
key
@Nonnull public API.AccessToken key(@Nullable byte[] key)
-
labels
@Nonnull public API.AccessToken labels(@Nullable Long[] labels)
-
location
@Nonnull public API.AccessToken location(@Nullable Long location)
-
name
@Nonnull public API.AccessToken name(String name)
-
permissions
@Nonnull public API.AccessToken permissions(@Nullable API.Permission[] permissions)
-
tags
@Nonnull public API.AccessToken tags(@Nullable String[] tags)
-
type
@Nonnull public API.AccessToken type(API.AccessToken.Type type)
-
updated
@Nonnull public API.AccessToken updated(@Nullable String updated)
-
updatedBy
@Nonnull public API.AccessToken updatedBy(@Nullable Long updatedBy)
-
updatedFrom
@Nonnull public API.AccessToken updatedFrom(@Nullable Long updatedFrom)
-
user
@Nonnull public API.AccessToken user(@Nullable Long user)
-
-