Class RenamableField
Describes a field that can be renamed and made visible or invisible.
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class RenamableField : IEquatable<RenamableField>
Constructors
RenamableField(String, Nullable<Boolean>)
Initializes a new instance of the Renamable
Declaration
public RenamableField(string displayName = null, bool? visible = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
displayName | The name that a field is renamed to by the user.. |
System. |
visible | Indicates whether this field should be visible on the table.. |
Properties
DisplayName
The name that a field is renamed to by the user.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System. |
The name that a field is renamed to by the user. |
InternalName
The calculated name of a field.
Declaration
public string InternalName { get; }
Property Value
Type | Description |
---|---|
System. |
The calculated name of a field. |
Visible
Indicates whether this field should be visible on the table.
Declaration
public bool? Visible { get; set; }
Property Value
Type | Description |
---|---|
System. |
Indicates whether this field should be visible on the table. |
Methods
Equals(RenamableField)
Returns true if RenamableField instances are equal
Declaration
public bool Equals(RenamableField input)
Parameters
Type | Name | Description |
---|---|---|
Renamable |
input | Instance of RenamableField 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 |