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
TaskIdIdGets the value of the id of the task
TotalGroupsintGets the total number of groups in the shape file.
TotalZonesintGets the total number of zones in the shape file.
ZonesCreatedintGets the number of zones successfully created during the import.
GroupsCreatedintGets the number of groups successfully created during the import.
ServiceGroupGroupGets the service group associated with the import task.
StatusImportTaskStatusGets the current status of the import task.
FileNamestringGets the name of the shapefile being imported
TaskDbIdIdGets the value of the import task record id in database.
ImportTaskDetailsDto(ImportTaskDetailsDto)
protected ImportTaskDetailsDto(ImportTaskDetailsDto original)
Parameters
originalImportTaskDetailsDto
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
FileName
Gets the name of the shapefile being imported
public string FileName { get; init; }
Property Value
GroupsCreated
Gets the number of groups successfully created during the import.
public int GroupsCreated { get; init; }
Property Value
ServiceGroup
Gets the service group associated with the import task.
public Group ServiceGroup { get; init; }
Property Value
Status
Gets the current status of the import task.
public ImportTaskStatus Status { get; init; }
Property Value
TaskDbId
Gets the value of the import task record id in database.
public Id TaskDbId { get; init; }
Property Value
TaskId
Gets the value of the id of the task
public Id TaskId { get; init; }
Property Value
TotalGroups
Gets the total number of groups in the shape file.
public int TotalGroups { get; init; }
Property Value
TotalZones
Gets the total number of zones in the shape file.
public int TotalZones { get; init; }
Property Value
ZonesCreated
Gets the number of zones successfully created during the import.
public int ZonesCreated { get; init; }
Property Value
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
TaskIdIdTotalGroupsintTotalZonesintZonesCreatedintGroupsCreatedintServiceGroupGroupStatusImportTaskStatusFileNamestringTaskDbIdId
Equals(ImportTaskDetailsDto?)
public virtual bool Equals(ImportTaskDetailsDto? other)
Parameters
otherImportTaskDetailsDto
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ImportTaskDetailsDto?, ImportTaskDetailsDto?)
public static bool operator ==(ImportTaskDetailsDto? left, ImportTaskDetailsDto? right)
Parameters
leftImportTaskDetailsDtorightImportTaskDetailsDto
Returns
operator !=(ImportTaskDetailsDto?, ImportTaskDetailsDto?)
public static bool operator !=(ImportTaskDetailsDto? left, ImportTaskDetailsDto? right)
Parameters
leftImportTaskDetailsDtorightImportTaskDetailsDto