Class PostUser
PostUser
Inheritance
System.Object
PostUser
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class PostUser : IEquatable<PostUser>
Constructors
PostUser()
Initializes a new instance of the Post
Declaration
protected PostUser()
PostUser(String, String, Nullable<PostUser.StatusEnum>)
Initializes a new instance of the Post
Declaration
public PostUser(string oauthID = null, string name = null, PostUser.StatusEnum? status = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
oauthID | oauthID. |
System. |
name | name (required). |
System. |
status | If inactive the user is inactive. (default to StatusEnum.Active). |
Properties
Id
Gets or Sets Id
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System. |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System. |
OauthID
Gets or Sets OauthID
Declaration
public string OauthID { get; set; }
Property Value
Type | Description |
---|---|
System. |
Status
If inactive the user is inactive.
Declaration
public PostUser.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
System. |
If inactive the user is inactive. |
Methods
Equals(PostUser)
Returns true if PostUser instances are equal
Declaration
public bool Equals(PostUser input)
Parameters
Type | Name | Description |
---|---|---|
Post |
input | Instance of PostUser 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 |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |