Table of Contents

Class ImportTaskDetailsDto

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

Represents details about an import task.

public record ImportTaskDetailsDto : IEquatable<ImportTaskDetailsDto>
Inheritance
ImportTaskDetailsDto
Implements
Inherited Members

Constructors

ImportTaskDetailsDto(Id, int, int, int, int, Group, ImportTaskStatus, string, Id)

Represents details about an import task.

public ImportTaskDetailsDto(Id TaskId, int TotalGroups, int TotalZones, int ZonesCreated, int GroupsCreated, Group ServiceGroup, ImportTaskStatus Status, string FileName, Id TaskDbId)

Parameters

TaskId Id

Gets the value of the id of the task

TotalGroups int

Gets the total number of groups in the shape file.

TotalZones int

Gets the total number of zones in the shape file.

ZonesCreated int

Gets the number of zones successfully created during the import.

GroupsCreated int

Gets the number of groups successfully created during the import.

ServiceGroup Group

Gets the service group associated with the import task.

Status ImportTaskStatus

Gets the current status of the import task.

FileName string

Gets the name of the shapefile being imported

TaskDbId Id

Gets the value of the import task record id in database.

ImportTaskDetailsDto(ImportTaskDetailsDto)

protected ImportTaskDetailsDto(ImportTaskDetailsDto original)

Parameters

original ImportTaskDetailsDto

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

FileName

Gets the name of the shapefile being imported

public string FileName { get; init; }

Property Value

string

GroupsCreated

Gets the number of groups successfully created during the import.

public int GroupsCreated { get; init; }

Property Value

int

ServiceGroup

Gets the service group associated with the import task.

public Group ServiceGroup { get; init; }

Property Value

Group

Status

Gets the current status of the import task.

public ImportTaskStatus Status { get; init; }

Property Value

ImportTaskStatus

TaskDbId

Gets the value of the import task record id in database.

public Id TaskDbId { get; init; }

Property Value

Id

TaskId

Gets the value of the id of the task

public Id TaskId { get; init; }

Property Value

Id

TotalGroups

Gets the total number of groups in the shape file.

public int TotalGroups { get; init; }

Property Value

int

TotalZones

Gets the total number of zones in the shape file.

public int TotalZones { get; init; }

Property Value

int

ZonesCreated

Gets the number of zones successfully created during the import.

public int ZonesCreated { get; init; }

Property Value

int

Methods

Deconstruct(out Id, out int, out int, out int, out int, out Group, out ImportTaskStatus, out string, out Id)

public void Deconstruct(out Id TaskId, out int TotalGroups, out int TotalZones, out int ZonesCreated, out int GroupsCreated, out Group ServiceGroup, out ImportTaskStatus Status, out string FileName, out Id TaskDbId)

Parameters

TaskId Id
TotalGroups int
TotalZones int
ZonesCreated int
GroupsCreated int
ServiceGroup Group
Status ImportTaskStatus
FileName string
TaskDbId Id

Equals(ImportTaskDetailsDto?)

public virtual bool Equals(ImportTaskDetailsDto? other)

Parameters

other ImportTaskDetailsDto

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ImportTaskDetailsDto?, ImportTaskDetailsDto?)

public static bool operator ==(ImportTaskDetailsDto? left, ImportTaskDetailsDto? right)

Parameters

left ImportTaskDetailsDto
right ImportTaskDetailsDto

Returns

bool

operator !=(ImportTaskDetailsDto?, ImportTaskDetailsDto?)

public static bool operator !=(ImportTaskDetailsDto? left, ImportTaskDetailsDto? right)

Parameters

left ImportTaskDetailsDto
right ImportTaskDetailsDto

Returns

bool