chore: upgrade to latest OpenAPI (#357)
This commit is contained in:
@ -16,17 +16,17 @@ import (
|
||||
|
||||
// DBRP struct for DBRP
|
||||
type DBRP struct {
|
||||
// the mapping identifier
|
||||
// ID of the DBRP mapping.
|
||||
Id string `json:"id" yaml:"id"`
|
||||
// the organization ID that owns this mapping.
|
||||
// ID of the organization that owns this mapping.
|
||||
OrgID string `json:"orgID" yaml:"orgID"`
|
||||
// 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" yaml:"default"`
|
||||
Links *Links `json:"links,omitempty" yaml:"links,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user