chore: upgrade to latest OpenAPI (#357)

This commit is contained in:
Dane Strandboge
2022-02-01 14:53:34 -06:00
committed by GitHub
parent 5cd1c9d037
commit 981be7872d
18 changed files with 145 additions and 114 deletions

View File

@ -16,17 +16,17 @@ import (
// DBRPCreate struct for DBRPCreate
type DBRPCreate struct {
// the organization ID that owns this mapping.
// ID of the organization that owns this mapping.
OrgID *string `json:"orgID,omitempty" yaml:"orgID,omitempty"`
// the organization that owns this mapping.
// Name of the organization that owns this mapping.
Org *string `json:"org,omitempty" yaml:"org,omitempty"`
// the bucket ID used as target for the translation.
// ID of the bucket used as the target for the translation.
BucketID string `json:"bucketID" yaml:"bucketID"`
// InfluxDB v1 database
Database string `json:"database" yaml:"database"`
// InfluxDB v1 retention policy
RetentionPolicy string `json:"retention_policy" yaml:"retention_policy"`
// Specify if this mapping represents the default retention policy for the database specificed.
// Mapping represents the default retention policy for the database specified.
Default *bool `json:"default,omitempty" yaml:"default,omitempty"`
}