Class PermissionResource

java.lang.Object
com.influxdb.client.domain.PermissionResource

public class PermissionResource extends Object
PermissionResource
  • Field Details

    • TYPE_AUTHORIZATIONS

      public static String TYPE_AUTHORIZATIONS
    • TYPE_BUCKETS

      public static String TYPE_BUCKETS
    • TYPE_DASHBOARDS

      public static String TYPE_DASHBOARDS
    • TYPE_ORGS

      public static String TYPE_ORGS
    • TYPE_SOURCES

      public static String TYPE_SOURCES
    • TYPE_TASKS

      public static String TYPE_TASKS
    • TYPE_TELEGRAFS

      public static String TYPE_TELEGRAFS
    • TYPE_USERS

      public static String TYPE_USERS
    • TYPE_VARIABLES

      public static String TYPE_VARIABLES
    • TYPE_SCRAPERS

      public static String TYPE_SCRAPERS
    • TYPE_SECRETS

      public static String TYPE_SECRETS
    • TYPE_LABELS

      public static String TYPE_LABELS
    • TYPE_VIEWS

      public static String TYPE_VIEWS
    • TYPE_DOCUMENTS

      public static String TYPE_DOCUMENTS
    • TYPE_NOTIFICATIONRULES

      public static String TYPE_NOTIFICATIONRULES
    • TYPE_NOTIFICATIONENDPOINTS

      public static String TYPE_NOTIFICATIONENDPOINTS
    • TYPE_CHECKS

      public static String TYPE_CHECKS
    • TYPE_DBRP

      public static String TYPE_DBRP
    • TYPE_NOTEBOOKS

      public static String TYPE_NOTEBOOKS
    • TYPE_ANNOTATIONS

      public static String TYPE_ANNOTATIONS
    • TYPE_REMOTES

      public static String TYPE_REMOTES
    • TYPE_REPLICATIONS

      public static String TYPE_REPLICATIONS
    • TYPE_FLOWS

      public static String TYPE_FLOWS
    • TYPE_FUNCTIONS

      public static String TYPE_FUNCTIONS
    • SERIALIZED_NAME_TYPE

      public static final String SERIALIZED_NAME_TYPE
      See Also:
    • SERIALIZED_NAME_ID

      public static final String SERIALIZED_NAME_ID
      See Also:
    • SERIALIZED_NAME_NAME

      public static final String SERIALIZED_NAME_NAME
      See Also:
    • SERIALIZED_NAME_ORG_I_D

      public static final String SERIALIZED_NAME_ORG_I_D
      See Also:
    • SERIALIZED_NAME_ORG

      public static final String SERIALIZED_NAME_ORG
      See Also:
  • Constructor Details

    • PermissionResource

      public PermissionResource()
  • Method Details

    • type

      public PermissionResource type(String type)
    • getType

      public String getType()
      Get type
      Returns:
      type
    • setType

      public void setType(String type)
    • id

      public PermissionResource id(String id)
    • getId

      public String 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

      public void setId(String id)
    • name

      public PermissionResource name(String name)
    • getName

      public String getName()
      Optional name of the resource if the resource has a name field.
      Returns:
      name
    • setName

      public void setName(String name)
    • orgID

      public PermissionResource orgID(String orgID)
    • getOrgID

      public String 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

      public void setOrgID(String orgID)
    • org

      public PermissionResource org(String org)
    • getOrg

      public String getOrg()
      Optional name of the organization of the organization with orgID.
      Returns:
      org
    • setOrg

      public void setOrg(String org)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object