Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Nov 26, 2024
1 parent ed88989 commit 47b1433
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions records.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,14 +269,17 @@ func (s *RecordsService) Delete(ctx context.Context, domainName, subName, record
}

/*
Bulk operation
Bulk operations
*/

// UpdateMode the mode used to bulk update operations.
type UpdateMode string

const (
FullResourceUpdateMode = http.MethodPut
OnlyFields UpdateMode = http.MethodPatch
// FullResourceUpdateMode the full resource must be specified.
FullResourceUpdateMode = http.MethodPut
// OnlyFields only fields you would like to modify need to be provided.
OnlyFields UpdateMode = http.MethodPatch
)

// BulkCreate creates new RRSets in bulk.
Expand Down

0 comments on commit 47b1433

Please sign in to comment.