Show / Hide Table of Contents

Class ChangeSenderCompartmentRequest

Inheritance
object
ChangeSenderCompartmentRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.EmailService.Requests
Assembly: OCI.DotNetSDK.Email.dll
Syntax
public class ChangeSenderCompartmentRequest : IOciRequest
Examples

Click here to see an example of how to use ChangeSenderCompartment request.

Properties

ChangeSenderCompartmentDetails

Declaration
[Required(ErrorMessage = "ChangeSenderCompartmentDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public ChangeSenderCompartmentDetails ChangeSenderCompartmentDetails { get; set; }
Property Value
Type Description
ChangeSenderCompartmentDetails

Details for moving a sender into a different compartment.

Remarks

Required

IfMatch

Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type Description
string

Used for optimistic concurrency control. In the update or delete call for a resource, set the if-match parameter to the value of the etag from a previous get, create, or update response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

The request ID for tracing from the system

SenderId

Declaration
[Required(ErrorMessage = "SenderId is required.")]
[HttpConverter(TargetEnum.Path, "senderId")]
public string SenderId { get; set; }
Property Value
Type Description
string

The unique OCID of the sender.

Remarks

Required

Implements

IOciRequest
In this article
Back to top