public class PermissionResource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PermissionResource.TypeEnum
Gets or Sets type
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_ORG |
static String |
SERIALIZED_NAME_ORG_I_D |
static String |
SERIALIZED_NAME_TYPE |
| Constructor and Description |
|---|
PermissionResource() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId()
If ID is set that is a permission for a specific resource.
|
String |
getName()
Optional name of the resource if the resource has a name field.
|
String |
getOrg()
Optional name of the organization of the organization with orgID.
|
String |
getOrgID()
If orgID is set that is a permission for all resources owned my that org.
|
PermissionResource.TypeEnum |
getType()
Get type
|
int |
hashCode() |
PermissionResource |
id(String id) |
PermissionResource |
name(String name) |
PermissionResource |
org(String org) |
PermissionResource |
orgID(String orgID) |
void |
setId(String id) |
void |
setName(String name) |
void |
setOrg(String org) |
void |
setOrgID(String orgID) |
void |
setType(PermissionResource.TypeEnum type) |
String |
toString() |
PermissionResource |
type(PermissionResource.TypeEnum type) |
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_ORG_I_D
public static final String SERIALIZED_NAME_ORG
public PermissionResource type(PermissionResource.TypeEnum type)
public PermissionResource.TypeEnum getType()
public void setType(PermissionResource.TypeEnum type)
public PermissionResource id(String id)
public String getId()
public void setId(String id)
public PermissionResource name(String name)
public String getName()
public void setName(String name)
public PermissionResource orgID(String orgID)
public String getOrgID()
public void setOrgID(String orgID)
public PermissionResource org(String org)
public String getOrg()
public void setOrg(String org)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.