Class GetRowRequest
Implements
Inherited Members
Namespace: Oci.NosqlService.Requests
Assembly: OCI.DotNetSDK.Nosql.dll
Syntax
public class GetRowRequest : IOciRequest
Examples
Click here to see an example of how to use GetRow request.
Properties
CompartmentId
Declaration
[HttpConverter(TargetEnum.Query, "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of a table's compartment. When a table is identified by name, the compartmentId is often needed to provide context for interpreting the name. |
Consistency
Declaration
[HttpConverter(TargetEnum.Query, "consistency")]
public GetRowRequest.ConsistencyEnum? Consistency { get; set; }
Property Value
Type | Description |
---|---|
GetRowRequest.ConsistencyEnum? | Consistency requirement for a read operation. |
Key
Declaration
[Required(ErrorMessage = "Key is required.")]
[HttpConverter(TargetEnum.Query, "key", CollectionFormatType.Multi)]
public List<string> Key { get; set; }
Property Value
Type | Description |
---|---|
List<string> | An array of strings, each of the format "column-name:value", representing the primary key of the row. |
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. |
TableNameOrId
Declaration
[Required(ErrorMessage = "TableNameOrId is required.")]
[HttpConverter(TargetEnum.Path, "tableNameOrId")]
public string TableNameOrId { get; set; }
Property Value
Type | Description |
---|---|
string | A table name within the compartment, or a table OCID. |
Remarks
Required
TimeoutInMs
Declaration
[HttpConverter(TargetEnum.Query, "timeoutInMs")]
public int? TimeoutInMs { get; set; }
Property Value
Type | Description |
---|---|
int? | Timeout setting for this operation. |