Package com.influxdb.client.domain
Class PermissionResource
java.lang.Object
com.influxdb.client.domain.PermissionResource
PermissionResource
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
static String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
If ID is set that is a permission for a specific resource.getName()
Optional name of the resource if the resource has a name field.getOrg()
Optional name of the organization of the organization with orgID.getOrgID()
If orgID is set that is a permission for all resources owned my that org.getType()
Get typeint
hashCode()
void
void
void
void
void
toString()
-
Field Details
-
TYPE_AUTHORIZATIONS
-
TYPE_BUCKETS
-
TYPE_DASHBOARDS
-
TYPE_ORGS
-
TYPE_SOURCES
-
TYPE_TASKS
-
TYPE_TELEGRAFS
-
TYPE_USERS
-
TYPE_VARIABLES
-
TYPE_SCRAPERS
-
TYPE_SECRETS
-
TYPE_LABELS
-
TYPE_VIEWS
-
TYPE_DOCUMENTS
-
TYPE_NOTIFICATIONRULES
-
TYPE_NOTIFICATIONENDPOINTS
-
TYPE_CHECKS
-
TYPE_DBRP
-
TYPE_NOTEBOOKS
-
TYPE_ANNOTATIONS
-
TYPE_REMOTES
-
TYPE_REPLICATIONS
-
TYPE_FLOWS
-
TYPE_FUNCTIONS
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_ORG_I_D
- See Also:
-
SERIALIZED_NAME_ORG
- See Also:
-
-
Constructor Details
-
PermissionResource
public PermissionResource()
-
-
Method Details
-
type
-
getType
Get type- Returns:
- type
-
setType
-
id
-
getId
If ID is set that is a permission for a specific resource. if it is not set it is a permission for all resources of that resource type.- Returns:
- id
-
setId
-
name
-
getName
Optional name of the resource if the resource has a name field.- Returns:
- name
-
setName
-
orgID
-
getOrgID
If orgID is set that is a permission for all resources owned my that org. if it is not set it is a permission for all resources of that resource type.- Returns:
- orgID
-
setOrgID
-
org
-
getOrg
Optional name of the organization of the organization with orgID.- Returns:
- org
-
setOrg
-
equals
-
hashCode
public int hashCode() -
toString
-