Class PatchOrganizationRequest
PatchOrganizationRequest
Inheritance
System.Object
PatchOrganizationRequest
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class PatchOrganizationRequest : IEquatable<PatchOrganizationRequest>
Constructors
PatchOrganizationRequest(String, String)
Initializes a new instance of the PatchOrganizationRequest class.
Declaration
public PatchOrganizationRequest(string name = null, string description = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | New name to set on the organization. |
System.String | description | New description to set on the organization. |
Properties
Description
New description to set on the organization
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | New description to set on the organization |
Name
New name to set on the organization
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | New name to set on the organization |
Methods
Equals(PatchOrganizationRequest)
Returns true if PatchOrganizationRequest instances are equal
Declaration
public bool Equals(PatchOrganizationRequest input)
Parameters
Type | Name | Description |
---|---|---|
PatchOrganizationRequest | input | Instance of PatchOrganizationRequest 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 |