Class CreateTranslatorRequest
Implements
Inherited Members
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.
|