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
IdGets the value of the id of the task
TotalGroups
intGets the total number of groups in the shape file.
TotalZones
intGets the total number of zones in the shape file.
ZonesCreated
intGets the number of zones successfully created during the import.
GroupsCreated
intGets the number of groups successfully created during the import.
ServiceGroup
GroupGets the service group associated with the import task.
Status
ImportTaskStatusGets the current status of the import task.
FileName
stringGets the name of the shapefile being imported
TaskDbId
IdGets 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
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
TaskId
IdTotalGroups
intTotalZones
intZonesCreated
intGroupsCreated
intServiceGroup
GroupStatus
ImportTaskStatusFileName
stringTaskDbId
Id
Equals(ImportTaskDetailsDto?)
public virtual bool Equals(ImportTaskDetailsDto? other)
Parameters
other
ImportTaskDetailsDto
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ImportTaskDetailsDto?, ImportTaskDetailsDto?)
public static bool operator ==(ImportTaskDetailsDto? left, ImportTaskDetailsDto? right)
Parameters
left
ImportTaskDetailsDtoright
ImportTaskDetailsDto
Returns
operator !=(ImportTaskDetailsDto?, ImportTaskDetailsDto?)
public static bool operator !=(ImportTaskDetailsDto? left, ImportTaskDetailsDto? right)
Parameters
left
ImportTaskDetailsDtoright
ImportTaskDetailsDto