Class GetCommitmentRequest
Implements
Inherited Members
Namespace: Oci.OsubsubscriptionService.Requests
Assembly: OCI.DotNetSDK.Osubsubscription.dll
Syntax
public class GetCommitmentRequest : IOciRequest
Examples
Click here to see an example of how to use GetCommitment request.
Properties
CommitmentId
Declaration
[Required(ErrorMessage = "CommitmentId is required.")]
[HttpConverter(TargetEnum.Path, "commitmentId")]
public string CommitmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The Commitment Id |
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
XOneGatewaySubscriptionId
Declaration
[HttpConverter(TargetEnum.Header, "x-one-gateway-subscription-id")]
public string XOneGatewaySubscriptionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | This header is meant to be used only for internal purposes and will be ignored on any public request. The purpose of this header is to help on Gateway to API calls identification. |
XOneOriginRegion
Declaration
[HttpConverter(TargetEnum.Header, "x-one-origin-region")]
public string XOneOriginRegion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g. ap-mumbai-1, us-phoenix-1 etc. |