Skip to content

Commit a27ec56

Browse files
committed
Releasing version 5.3.0
Squashed commit of the following: commit eb5a98e994d6dc349211a387d438762c33a6efd1 Author: Esteban Ginez <[email protected]> Date: Mon Apr 8 21:08:28 2019 +0000 Releasing version 5 3 0
1 parent 2e42f90 commit a27ec56

8 files changed

+30
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66

7+
## 5.3.0 - 2019-04-09
8+
### Added
9+
- Support for etag and if-match headers (for optimistic concurrency control) in the Email service
10+
711
## 5.2.0 - 2019-04-02
812
### Added
913
- Support for provider service key names on virtual circuits in the FastConnect service

common/version.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

email/create_sender_request_response.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ type CreateSenderResponse struct {
4949
// to contact Oracle about a particular request, please provide the
5050
// request ID.
5151
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
52+
53+
// For optimistic concurrency control. See `if-match`.
54+
Etag *string `presentIn:"header" name:"etag"`
5255
}
5356

5457
func (response CreateSenderResponse) String() string {

email/delete_sender_request_response.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ type DeleteSenderRequest struct {
1414
// The unique OCID of the sender.
1515
SenderId *string `mandatory:"true" contributesTo:"path" name:"senderId"`
1616

17+
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
18+
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
19+
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
20+
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
21+
1722
// The request ID for tracing from the system
1823
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
1924

email/get_sender_request_response.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ type GetSenderResponse struct {
4949
// to contact Oracle about a particular request, please provide the
5050
// request ID.
5151
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
52+
53+
// For optimistic concurrency control. See `if-match`.
54+
Etag *string `presentIn:"header" name:"etag"`
5255
}
5356

5457
func (response GetSenderResponse) String() string {

email/sender_summary.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ import (
1616
// SenderSummary The email addresses and `senderId` representing an approved sender.
1717
type SenderSummary struct {
1818

19+
// The OCID for the compartment.
20+
CompartmentId *string `mandatory:"false" json:"compartmentId"`
21+
1922
// The email address of the sender.
2023
EmailAddress *string `mandatory:"false" json:"emailAddress"`
2124

email/suppression_summary.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ import (
1616
// SuppressionSummary The full information representing a suppression.
1717
type SuppressionSummary struct {
1818

19+
// The OCID for the compartment.
20+
CompartmentId *string `mandatory:"false" json:"compartmentId"`
21+
1922
// The email address of the suppression.
2023
EmailAddress *string `mandatory:"false" json:"emailAddress"`
2124

email/update_sender_request_response.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ type UpdateSenderRequest struct {
1717
// update details for sender.
1818
UpdateSenderDetails `contributesTo:"body"`
1919

20+
// Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
21+
// parameter to the value of the etag from a previous get, create, or update response for that resource. The resource
22+
// will be updated or deleted only if the etag you provide matches the resource's current etag value.
23+
IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`
24+
2025
// The request ID for tracing from the system
2126
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
2227

@@ -52,6 +57,9 @@ type UpdateSenderResponse struct {
5257
// to contact Oracle about a particular request, please provide the
5358
// request ID.
5459
OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
60+
61+
// For optimistic concurrency control. See `if-match`.
62+
Etag *string `presentIn:"header" name:"etag"`
5563
}
5664

5765
func (response UpdateSenderResponse) String() string {

0 commit comments

Comments
 (0)