Class ChangeAdminProductCompartmentRequest
Implements
Inherited Members
Namespace: Oci.OciproductcatalogService.Requests
Assembly: OCI.DotNetSDK.Ociproductcatalog.dll
Syntax
public class ChangeAdminProductCompartmentRequest : IOciRequest
Examples
Click here to see an example of how to use ChangeAdminProductCompartment request.
Properties
ChangeProductCompartmentDetails
Declaration
[Required(ErrorMessage = "ChangeProductCompartmentDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public ChangeProductCompartmentDetails ChangeProductCompartmentDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| ChangeProductCompartmentDetails | The payload for moving a product to a different compartment. |
Remarks
Required
IfMatch
Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the |
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. |
OpcRetryToken
Declaration
[HttpConverter(TargetEnum.Header, "opc-retry-token")]
public string OpcRetryToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. |
ProductId
Declaration
[Required(ErrorMessage = "ProductId is required.")]
[HttpConverter(TargetEnum.Path, "productId")]
public string ProductId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | OCID of the product |
Remarks
Required