Class AuthorizationUpdateRequest
AuthorizationUpdateRequest
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class AuthorizationUpdateRequest : IEquatable<AuthorizationUpdateRequest>
Constructors
AuthorizationUpdateRequest(Nullable<AuthorizationUpdateRequest.StatusEnum>, String)
Initializes a new instance of the AuthorizationUpdateRequest class.
Declaration
public AuthorizationUpdateRequest(AuthorizationUpdateRequest.StatusEnum? status = null, string description = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<AuthorizationUpdateRequest.StatusEnum> | status | Status of the token. If |
System.String | description | A description of the token.. |
Properties
Description
A description of the token.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | A description of the token. |
Status
Status of the token. If inactive
, requests using the token will be rejected.
Declaration
public AuthorizationUpdateRequest.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<AuthorizationUpdateRequest.StatusEnum> | Status of the token. If |
Methods
Equals(AuthorizationUpdateRequest)
Returns true if AuthorizationUpdateRequest instances are equal
Declaration
public bool Equals(AuthorizationUpdateRequest input)
Parameters
Type | Name | Description |
---|---|---|
AuthorizationUpdateRequest | input | Instance of AuthorizationUpdateRequest 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()
Gets the hash code
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 |