Class ShardGroupManifest
ShardGroupManifest
Inheritance
System.Object
ShardGroupManifest
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class ShardGroupManifest : IEquatable<ShardGroupManifest>
Constructors
ShardGroupManifest()
Initializes a new instance of the ShardGroupManifest class.
Declaration
protected ShardGroupManifest()
ShardGroupManifest(Nullable<Int64>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, List<ShardManifest>)
Initializes a new instance of the ShardGroupManifest class.
Declaration
public ShardGroupManifest(long? id = null, DateTime? startTime = null, DateTime? endTime = null, DateTime? deletedAt = null, DateTime? truncatedAt = null, List<ShardManifest> shards = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int64> | id | id (required). |
System.Nullable<DateTime> | startTime | startTime (required). |
System.Nullable<DateTime> | endTime | endTime (required). |
System.Nullable<DateTime> | deletedAt | deletedAt. |
System.Nullable<DateTime> | truncatedAt | truncatedAt. |
List<ShardManifest> | shards | shards (required). |
Properties
DeletedAt
Gets or Sets DeletedAt
Declaration
public DateTime? DeletedAt { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
EndTime
Gets or Sets EndTime
Declaration
public DateTime? EndTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Id
Gets or Sets Id
Declaration
public long? Id { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Shards
Gets or Sets Shards
Declaration
public List<ShardManifest> Shards { get; set; }
Property Value
Type | Description |
---|---|
List<ShardManifest> |
StartTime
Gets or Sets StartTime
Declaration
public DateTime? StartTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
TruncatedAt
Gets or Sets TruncatedAt
Declaration
public DateTime? TruncatedAt { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Methods
Equals(ShardGroupManifest)
Returns true if ShardGroupManifest instances are equal
Declaration
public bool Equals(ShardGroupManifest input)
Parameters
Type | Name | Description |
---|---|---|
ShardGroupManifest | input | Instance of ShardGroupManifest 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 |