Package com.influxdb.client.domain
Class AuthorizationPostRequest
java.lang.Object
com.influxdb.client.domain.AuthorizationUpdateRequest
com.influxdb.client.domain.AuthorizationPostRequest
AuthorizationPostRequest
-
Nested Class Summary
Nested classes/interfaces inherited from class com.influxdb.client.domain.AuthorizationUpdateRequest
AuthorizationUpdateRequest.StatusEnum
-
Field Summary
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.ID of user that authorization is scoped to.int
hashCode()
permissions
(List<Permission> permissions) void
void
setPermissions
(List<Permission> permissions) 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_PERMISSIONS
- See Also:
-
-
Constructor Details
-
AuthorizationPostRequest
public AuthorizationPostRequest()
-
-
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
-
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
-