Show / Hide Table of Contents

Class CreateTranslatorRequest

Inheritance
object
CreateTranslatorRequest
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 CreateTranslatorRequest : IOciRequest
Examples

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

Properties

CreateTranslatorDetails

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

Property values to create the new Translator.

Remarks

Required

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.

Implements

IOciRequest
In this article
Back to top