Show / Hide Table of Contents

Class UpdateImportedPackageRequest

Inheritance
object
UpdateImportedPackageRequest
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.OdaService.Requests
Assembly: OCI.DotNetSDK.Oda.dll
Syntax
public class UpdateImportedPackageRequest : IOciRequest
Examples

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

Properties

IfMatch

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

For optimistic concurrency control in a PUT or DELETE call for a Digital Assistant instance, set the if-match query parameter to the value of the ETAG header from a previous GET or POST response for that instance. The service updates or deletes the instance only if the etag that you provide matches the instance's current etag value.

IsReplaceSkills

Declaration
[HttpConverter(TargetEnum.Query, "isReplaceSkills")]
public bool? IsReplaceSkills { get; set; }
Property Value
Type Description
bool?

Should old skills be replaced by new skills if packageId differs from already imported package?

OdaInstanceId

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

Unique Digital Assistant instance identifier.

Remarks

Required

OpcRequestId

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

The client request ID for tracing. This value is included in the opc-request-id response header.

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 that you can retry the request if there's a timeout or server error without the risk of executing that same action again.
Retry tokens expire after 24 hours, but they can become invalid before then if there are conflicting operations. For example, if an instance was deleted and purged from the system, then the service might reject a retry of the original creation request.

PackageId

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

Unique Digital Assistant package identifier.

Remarks

Required

UpdateImportedPackageDetails

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

Parameter values required to import the package, with updated values.

Remarks

Required

Implements

IOciRequest
In this article
Back to top