<?php

// Generated file. Do not edit by hand. Use update.php in project root.

namespace PHPFUI\ConstantContact\Definition;

/**
 * @property \PHPFUI\ConstantContact\UUID $activity_id Unique ID for the activity.
 * @property string $state The state of the request:
 <p><ul>
  * <li>initialized - request has been received</li>
 * <li>processing - request is being processed</li>
 * <li>completed - job completed</li>
 * <li>cancelled - request was cancelled</li>
 * <li>failed - job failed to complete</li>
 * <li>timed_out - the request timed out before completing"</li> * </ul> </p>
 * @property \PHPFUI\ConstantContact\DateTime $started_at Timestamp showing when we began processing the activity request, in ISO-8601 format.
 * @property \PHPFUI\ConstantContact\DateTime $completed_at Timestamp showing when we completed processing the activity, in ISO-8601 format.
 * @property \PHPFUI\ConstantContact\DateTime $created_at Timestamp showing when we created the activity, in ISO-8601 format.
 * @property \PHPFUI\ConstantContact\DateTime $updated_at Timestamp showing when we last updated the activity, in ISO-8601 format.
 * @property string $source_file_name Name of the file used for an file_import activity.
 * @property int $percent_done Shows the percent done for an activity that we are still processing.
 * @property array $activity_errors Array of messages describing the errors that occurred.
 * @property \PHPFUI\ConstantContact\Definition\Status $status
 * @property \PHPFUI\ConstantContact\Definition\ActivityStatusLink $_links
 */
class ActivityImport extends \PHPFUI\ConstantContact\Definition\Base
	{
	protected static $fields = [
		'activity_id' => '\PHPFUI\ConstantContact\UUID',
		'state' => 'string',
		'started_at' => '\PHPFUI\ConstantContact\DateTime',
		'completed_at' => '\PHPFUI\ConstantContact\DateTime',
		'created_at' => '\PHPFUI\ConstantContact\DateTime',
		'updated_at' => '\PHPFUI\ConstantContact\DateTime',
		'source_file_name' => 'string',
		'percent_done' => 'int',
		'activity_errors' => 'array',
		'status' => '\PHPFUI\ConstantContact\Definition\Status',
		'_links' => '\PHPFUI\ConstantContact\Definition\ActivityStatusLink',

	];
	}
