Class PostBucketRequest
PostBucketRequest
Inheritance
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class PostBucketRequest : IEquatable<PostBucketRequest>
Constructors
PostBucketRequest()
Initializes a new instance of the Post
Declaration
protected PostBucketRequest()
PostBucketRequest(String, String, String, String, List<BucketRetentionRules>, Nullable<SchemaType>)
Initializes a new instance of the Post
Declaration
public PostBucketRequest(string orgID = null, string name = null, string description = null, string rp = null, List<BucketRetentionRules> retentionRules = null, SchemaType? schemaType = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
orgID | orgID (required). |
System. |
name | name (required). |
System. |
description | description. |
System. |
rp | rp. |
List<Bucket |
retentionRules | Rules to expire or retain data. No rules means data never expires. (required). |
System. |
schemaType | schemaType. |
Properties
Description
Gets or Sets Description
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System. |
Name
Gets or Sets Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System. |
OrgID
Gets or Sets OrgID
Declaration
public string OrgID { get; set; }
Property Value
Type | Description |
---|---|
System. |
RetentionRules
Rules to expire or retain data. No rules means data never expires.
Declaration
public List<BucketRetentionRules> RetentionRules { get; set; }
Property Value
Type | Description |
---|---|
List<Bucket |
Rules to expire or retain data. No rules means data never expires. |
Rp
Gets or Sets Rp
Declaration
public string Rp { get; set; }
Property Value
Type | Description |
---|---|
System. |
SchemaType
Gets or Sets SchemaType
Declaration
public SchemaType? SchemaType { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Equals(PostBucketRequest)
Returns true if PostBucketRequest instances are equal
Declaration
public bool Equals(PostBucketRequest input)
Parameters
Type | Name | Description |
---|---|---|
Post |
input | Instance of PostBucketRequest 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 |