Table of Contents

Class ImportTaskDetails

Namespace
Geotab.Checkmate.ObjectModel.Import
Assembly
Geotab.Checkmate.ObjectModel.dll

Represents details about an import task.

public class ImportTaskDetails
Inheritance
ImportTaskDetails
Inherited Members

Constructors

ImportTaskDetails(Id, User, Group, string, in DateTime, string)

Initializes a new instance of the ImportTaskDetails class.

public ImportTaskDetails(Id taskId, User importedBy, Group serviceGroup, string databaseName, in DateTime startTime, string fileName)

Parameters

taskId Id

The unique identifier for the import task. See Id.

importedBy User

The user who initiated the import task. See User.

serviceGroup Group

The service group associated with the import task. See Group.

databaseName string

The name of the database to which the import task belongs. See string.

startTime DateTime

The start time of the import task. See DateTime.

fileName string

Gets the name of the shapefile being imported

Properties

DatabaseName

Gets the name of the database to which the import task belongs.

public string DatabaseName { get; }

Property Value

string

The name of the database to which the import task belongs.

ErrorMessage

Gets or sets the error message, if any, associated with the import task.

public string? ErrorMessage { get; set; }

Property Value

string

The error message, if any, associated with the import task.

FileName

Gets the name of the shapefile being imported

public string FileName { get; }

Property Value

string

The name of the shapefile being imported

GroupsCreated

Gets or sets the number of groups successfully created during the import.

public int GroupsCreated { get; set; }

Property Value

int

The number of groups successfully created during the import.

ImportedBy

Gets the user who initiated the import task.

public User ImportedBy { get; }

Property Value

User

The user who initiated the import task.

LastUpdated

Gets or sets the last time the import task was updated.

public DateTime LastUpdated { get; set; }

Property Value

DateTime

The last updated time of import task.

ServiceGroup

Gets the service group associated with the import task.

public Group ServiceGroup { get; }

Property Value

Group

The service group associated with the import task.

StartTime

Gets the start time of the import task.

public DateTime StartTime { get; }

Property Value

DateTime

The start time of the import task.

Status

Gets or sets the current status of the import task.

public ImportTaskStatus Status { get; set; }

Property Value

ImportTaskStatus

The current status of the import task.

TaskId

Gets the unique identifier for the import task.

public Id TaskId { get; }

Property Value

Id

The unique identifier for the import task.

TotalGroups

Gets or sets the total number of groups in the shape file.

public int TotalGroups { get; set; }

Property Value

int

The total number of groups in the shape file.

TotalZones

Gets or sets the total number of zones in the shape file.

public int TotalZones { get; set; }

Property Value

int

The total number of zones in the shape file.

ZonesCreated

Gets or sets the number of zones successfully created during the import.

public int ZonesCreated { get; set; }

Property Value

int

The number of zones successfully created during the import.