Class BucketMetadataManifest
BucketMetadataManifest
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class BucketMetadataManifest : IEquatable<BucketMetadataManifest>
Constructors
BucketMetadataManifest()
Initializes a new instance of the Bucket
Declaration
protected BucketMetadataManifest()
BucketMetadataManifest(String, String, String, String, String, String, List<RetentionPolicyManifest>)
Initializes a new instance of the Bucket
Declaration
public BucketMetadataManifest(string organizationID = null, string organizationName = null, string bucketID = null, string bucketName = null, string description = null, string defaultRetentionPolicy = null, List<RetentionPolicyManifest> retentionPolicies = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
organizationID | organizationID (required). |
System. |
organizationName | organizationName (required). |
System. |
bucketID | bucketID (required). |
System. |
bucketName | bucketName (required). |
System. |
description | description. |
System. |
defaultRetentionPolicy | defaultRetentionPolicy (required). |
List<Retention |
retentionPolicies | retentionPolicies (required). |
Properties
BucketID
Gets or Sets BucketID
Declaration
public string BucketID { get; set; }
Property Value
Type | Description |
---|---|
System. |
BucketName
Gets or Sets BucketName
Declaration
public string BucketName { get; set; }
Property Value
Type | Description |
---|---|
System. |
DefaultRetentionPolicy
Gets or Sets DefaultRetentionPolicy
Declaration
public string DefaultRetentionPolicy { get; set; }
Property Value
Type | Description |
---|---|
System. |
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System. |
OrganizationID
Gets or Sets OrganizationID
Declaration
public string OrganizationID { get; set; }
Property Value
Type | Description |
---|---|
System. |
OrganizationName
Gets or Sets OrganizationName
Declaration
public string OrganizationName { get; set; }
Property Value
Type | Description |
---|---|
System. |
RetentionPolicies
Gets or Sets RetentionPolicies
Declaration
public List<RetentionPolicyManifest> RetentionPolicies { get; set; }
Property Value
Type | Description |
---|---|
List<Retention |
Methods
Equals(BucketMetadataManifest)
Returns true if BucketMetadataManifest instances are equal
Declaration
public bool Equals(BucketMetadataManifest input)
Parameters
Type | Name | Description |
---|---|---|
Bucket |
input | Instance of BucketMetadataManifest 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 |