ImportJobResponse class

Provides information about the status and settings of a job that imports endpoint definitions from one or more files. The files can be stored in an Amazon Simple Storage Service (Amazon S3) bucket or uploaded directly from a computer by using the Amazon Pinpoint console.

Constructors

ImportJobResponse({required String applicationId, required String creationDate, required ImportJobResource definition, required String id, required JobStatus jobStatus, required String type, int? completedPieces, String? completionDate, int? failedPieces, List<String>? failures, int? totalFailures, int? totalPieces, int? totalProcessed})
ImportJobResponse.fromJson(Map<String, dynamic> json)
factory

Properties

applicationId String
The unique identifier for the application that's associated with the import job.
final
completedPieces int?
The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.
final
completionDate String?
The date, in ISO 8601 format, when the import job was completed.
final
creationDate String
The date, in ISO 8601 format, when the import job was created.
final
definition ImportJobResource
The resource settings that apply to the import job.
final
failedPieces int?
The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.
final
failures List<String>?
An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The unique identifier for the import job.
final
jobStatus JobStatus
The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalFailures int?
The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.
final
totalPieces int?
The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.
final
totalProcessed int?
The total number of endpoint definitions that were processed by the import job.
final
type String
The job type. This value is IMPORT for import jobs.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited