Show / Hide Table of Contents

Class Statement

A statement object.

Inheritance
object
Statement
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DataflowService.Models
Assembly: OCI.DotNetSDK.Dataflow.dll
Syntax
public class Statement

Properties

Code

Declaration
[Required(ErrorMessage = "Code is required.")]
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }
Property Value
Type Description
string

The statement code to execute. Example: println(sc.version)

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public long? Id { get; set; }
Property Value
Type Description
long?

The statement ID.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public StatementLifecycleState? LifecycleState { get; set; }
Property Value
Type Description
StatementLifecycleState?

The current state of this statement.

Remarks

Required

Output

Declaration
[JsonProperty(PropertyName = "output")]
public StatementOutput Output { get; set; }
Property Value
Type Description
StatementOutput

Progress

Declaration
[JsonProperty(PropertyName = "progress")]
public double Progress { get; set; }
Property Value
Type Description
double

The execution progress.

RunId

Declaration
[JsonProperty(PropertyName = "runId")]
public string RunId { get; set; }
Property Value
Type Description
string

The ID of a run.

TimeCompleted

Declaration
[JsonProperty(PropertyName = "timeCompleted")]
public DateTime? TimeCompleted { get; set; }
Property Value
Type Description
DateTime?

The date and time a statement execution was completed, expressed in RFC 3339 timestamp format. Example: 2022-05-31T21:10:29.600Z

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the resource was created, expressed in RFC 3339 timestamp format. Example: 2018-04-03T21:10:29.600Z

Remarks

Required

In this article
Back to top