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 ResourceMember class.
Declaration
protected ResourceMember()
ResourceMember(Nullable<ResourceMember.RoleEnum>, String, String, Nullable<User.StatusEnum>, UserLinks)
Initializes a new instance of the ResourceMember class.
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.Nullable<ResourceMember.RoleEnum> | role | role (default to RoleEnum.Member). |
System.String | oauthID | |
System.String | name | |
System.Nullable<User.StatusEnum> | status | |
UserLinks | links |
Properties
Role
Gets or Sets Role
Declaration
public ResourceMember.RoleEnum? Role { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ResourceMember.RoleEnum> |
Methods
Equals(ResourceMember)
Returns true if ResourceMember instances are equal
Declaration
public bool Equals(ResourceMember input)
Parameters
Type | Name | Description |
---|---|---|
ResourceMember | input | Instance of ResourceMember 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 |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System.String | 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 | String presentation of the object |
Overrides
Implements
IEquatable<>