Show / Hide Table of Contents

Class ImageJob

The job details for a batch image analysis.

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

Properties

CompartmentId

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

The OCID of the compartment that starts the job.

Remarks

Required

DisplayName

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

The image job display name.

Features

Declaration
[Required(ErrorMessage = "Features is required.")]
[JsonProperty(PropertyName = "features")]
public List<ImageFeature> Features { get; set; }
Property Value
Type Description
List<ImageFeature>

The list of requested document analysis types.

Remarks

Required

Id

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

The job id

Remarks

Required

InputLocation

Declaration
[JsonProperty(PropertyName = "inputLocation")]
public InputLocation InputLocation { get; set; }
Property Value
Type Description
InputLocation

IsZipOutputEnabled

Declaration
[JsonProperty(PropertyName = "isZipOutputEnabled")]
public bool? IsZipOutputEnabled { get; set; }
Property Value
Type Description
bool?

Whether or not to generate a ZIP file containing the results.

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ImageJob.LifecycleDetailsEnum? LifecycleDetails { get; set; }
Property Value
Type Description
ImageJob.LifecycleDetailsEnum?

The detailed status of FAILED state.

LifecycleState

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

The current state of the batch image job.

Remarks

Required

OutputLocation

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

Required

PercentComplete

Declaration
[JsonProperty(PropertyName = "percentComplete")]
public float? PercentComplete { get; set; }
Property Value
Type Description
float?

How much progress the operation has made, compared to the total amount of work to be performed.

TimeAccepted

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

The job acceptance time.

Remarks

Required

TimeFinished

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

The job finish time.

TimeStarted

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

The job start time.

In this article
Back to top