Package com.influxdb.client.domain
Class LegacyAuthorizationPostRequest
java.lang.Object
com.influxdb.client.domain.AuthorizationUpdateRequest
com.influxdb.client.domain.LegacyAuthorizationPostRequest
LegacyAuthorizationPostRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class com.influxdb.client.domain.AuthorizationUpdateRequest
AuthorizationUpdateRequest.StatusEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class com.influxdb.client.domain.AuthorizationUpdateRequest
SERIALIZED_NAME_DESCRIPTION, SERIALIZED_NAME_STATUS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPermissionsItem
(Permission permissionsItem) boolean
getOrgID()
ID of org that authorization is scoped to.List of permissions for an auth.getToken()
Token (name) of the authorizationID of user that authorization is scoped to.int
hashCode()
permissions
(List<Permission> permissions) void
void
setPermissions
(List<Permission> permissions) void
void
toString()
Methods inherited from class com.influxdb.client.domain.AuthorizationUpdateRequest
description, getDescription, getStatus, setDescription, setStatus, status
-
Field Details
-
SERIALIZED_NAME_ORG_I_D
- See Also:
-
SERIALIZED_NAME_USER_I_D
- See Also:
-
SERIALIZED_NAME_TOKEN
- See Also:
-
SERIALIZED_NAME_PERMISSIONS
- See Also:
-
-
Constructor Details
-
LegacyAuthorizationPostRequest
public LegacyAuthorizationPostRequest()
-
-
Method Details
-
orgID
-
getOrgID
ID of org that authorization is scoped to.- Returns:
- orgID
-
setOrgID
-
userID
-
getUserID
ID of user that authorization is scoped to.- Returns:
- userID
-
setUserID
-
token
-
getToken
Token (name) of the authorization- Returns:
- token
-
setToken
-
permissions
-
addPermissionsItem
-
getPermissions
List of permissions for an auth. An auth must have at least one Permission.- Returns:
- permissions
-
setPermissions
-
equals
- Overrides:
equals
in classAuthorizationUpdateRequest
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAuthorizationUpdateRequest
-
toString
- Overrides:
toString
in classAuthorizationUpdateRequest
-