Class ResourceMember
ResourceMember
Implements
IEquatable<ResourceMember >
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class ResourceMember : User, IEquatable<ResourceMember>
Constructors
ResourceMember()
Initializes a new instance of the Resource
Declaration
protected ResourceMember()
ResourceMember(Nullable<ResourceMember.RoleEnum>, String, String, Nullable<User.StatusEnum>, UserLinks)
Initializes a new instance of the Resource
Declaration
public ResourceMember(ResourceMember.RoleEnum? role = null, string oauthID = null, string name = null, User.StatusEnum? status = null, UserLinks links = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
role | role (default to RoleEnum.Member). |
System. |
oauthID | |
System. |
name | |
System. |
status | |
User |
links |
Properties
Role
Gets or Sets Role
Declaration
public ResourceMember.RoleEnum? Role { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Equals(ResourceMember)
Returns true if ResourceMember instances are equal
Declaration
public bool Equals(ResourceMember input)
Parameters
Type | Name | Description |
---|---|---|
Resource |
input | Instance of ResourceMember to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Object to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |
Overrides
Implements
IEquatable<>