Class Organization
Organization
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class Organization : IEquatable<Organization>
Constructors
Organization()
Initializes a new instance of the Organization class.
Declaration
protected Organization()
Organization(OrganizationLinks, String, String, Nullable<Organization.StatusEnum>)
Initializes a new instance of the Organization class.
Declaration
public Organization(OrganizationLinks links = null, string name = null, string description = null, Organization.StatusEnum? status = null)
Parameters
| Type | Name | Description |
|---|---|---|
| OrganizationLinks | links | links. |
| System.String | name | name (required). |
| System.String | description | description. |
| System.Nullable<Organization.StatusEnum> | status | If inactive the organization is inactive. (default to StatusEnum.Active). |
Properties
CreatedAt
Gets or Sets CreatedAt
Declaration
public DateTime? CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DateTime> |
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
Gets or Sets Id
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Links
Gets or Sets Links
Declaration
public OrganizationLinks Links { get; set; }
Property Value
| Type | Description |
|---|---|
| OrganizationLinks |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Status
If inactive the organization is inactive.
Declaration
public Organization.StatusEnum? Status { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<Organization.StatusEnum> | If inactive the organization is inactive. |
UpdatedAt
Gets or Sets UpdatedAt
Declaration
public DateTime? UpdatedAt { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DateTime> |
Methods
Equals(Organization)
Returns true if Organization instances are equal
Declaration
public bool Equals(Organization input)
Parameters
| Type | Name | Description |
|---|---|---|
| Organization | input | Instance of Organization 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 |