Class PermissionResource
Inheritance
System.Object
PermissionResource
Assembly: InfluxDB.Client.dll
Syntax
public class PermissionResource : IEquatable<PermissionResource>
Constructors
PermissionResource()
Declaration
protected PermissionResource()
PermissionResource(String, String, String, String, String)
Declaration
public PermissionResource(string type = null, string id = null, string name = null, string orgID = null, string org = null)
Parameters
Type |
Name |
Description |
System.String |
type |
type (required).
|
System.String |
id |
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..
|
System.String |
name |
Optional name of the resource if the resource has a name field..
|
System.String |
orgID |
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..
|
System.String |
org |
Optional name of the organization of the organization with orgID..
|
Fields
TypeAnnotations
Declaration
public const string TypeAnnotations = null
Field Value
Type |
Description |
System.String |
|
TypeAuthorizations
Declaration
public const string TypeAuthorizations = null
Field Value
Type |
Description |
System.String |
|
TypeBuckets
Declaration
public const string TypeBuckets = null
Field Value
Type |
Description |
System.String |
|
TypeChecks
Declaration
public const string TypeChecks = null
Field Value
Type |
Description |
System.String |
|
TypeDashboards
Declaration
public const string TypeDashboards = null
Field Value
Type |
Description |
System.String |
|
TypeDbrp
Declaration
public const string TypeDbrp = null
Field Value
Type |
Description |
System.String |
|
TypeDocuments
Declaration
public const string TypeDocuments = null
Field Value
Type |
Description |
System.String |
|
TypeFlows
Declaration
public const string TypeFlows = null
Field Value
Type |
Description |
System.String |
|
TypeFunctions
Declaration
public const string TypeFunctions = null
Field Value
Type |
Description |
System.String |
|
TypeLabels
Declaration
public const string TypeLabels = null
Field Value
Type |
Description |
System.String |
|
TypeNotebooks
Declaration
public const string TypeNotebooks = null
Field Value
Type |
Description |
System.String |
|
TypeNotificationEndpoints
Declaration
public const string TypeNotificationEndpoints = null
Field Value
Type |
Description |
System.String |
|
TypeNotificationRules
Declaration
public const string TypeNotificationRules = null
Field Value
Type |
Description |
System.String |
|
TypeOrgs
Declaration
public const string TypeOrgs = null
Field Value
Type |
Description |
System.String |
|
TypeRemotes
Declaration
public const string TypeRemotes = null
Field Value
Type |
Description |
System.String |
|
TypeReplications
Declaration
public const string TypeReplications = null
Field Value
Type |
Description |
System.String |
|
TypeScrapers
Declaration
public const string TypeScrapers = null
Field Value
Type |
Description |
System.String |
|
TypeSecrets
Declaration
public const string TypeSecrets = null
Field Value
Type |
Description |
System.String |
|
TypeSources
Declaration
public const string TypeSources = null
Field Value
Type |
Description |
System.String |
|
TypeTasks
Declaration
public const string TypeTasks = null
Field Value
Type |
Description |
System.String |
|
TypeTelegrafs
Declaration
public const string TypeTelegrafs = null
Field Value
Type |
Description |
System.String |
|
TypeUsers
Declaration
public const string TypeUsers = null
Field Value
Type |
Description |
System.String |
|
TypeVariables
Declaration
public const string TypeVariables = null
Field Value
Type |
Description |
System.String |
|
TypeViews
Declaration
public const string TypeViews = null
Field Value
Type |
Description |
System.String |
|
Properties
Id
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.
Declaration
public string Id { get; set; }
Property Value
Type |
Description |
System.String |
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.
|
Name
Optional name of the resource if the resource has a name field.
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
Optional name of the resource if the resource has a name field.
|
Org
Optional name of the organization of the organization with orgID.
Declaration
public string Org { get; set; }
Property Value
Type |
Description |
System.String |
Optional name of the organization of the organization with orgID.
|
OrgID
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.
Declaration
public string OrgID { get; set; }
Property Value
Type |
Description |
System.String |
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.
|
Type
Declaration
public string Type { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Equals(PermissionResource)
Returns true if PermissionResource instances are equal
Declaration
public bool Equals(PermissionResource input)
Parameters
Type |
Name |
Description |
PermissionResource |
input |
Instance of PermissionResource to be compared
|
Returns
Type |
Description |
System.Boolean |
Boolean
|
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type |
Name |
Description |
System.Object |
input |
Object to be compared
|
Returns
Type |
Description |
System.Boolean |
Boolean
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
Hash code
|
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type |
Description |
System.String |
JSON string presentation of the object
|
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
String presentation of the object
|