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