def __init__(self,
                 id,
                 status,
                 created,
                 updated=None,
                 url=None,
                 user_token=None,
                 results=None,
                 warnings=None):
        """
        Initialize a RecognitionJob object.

        :param str id: The ID of the asynchronous job.
        :param str status: The current status of the job:
        * `waiting`: The service is preparing the job for processing. The service returns
        this status when the job is initially created or when it is waiting for capacity
        to process the job. The job remains in this state until the service has the
        capacity to begin processing it.
        * `processing`: The service is actively processing the job.
        * `completed`: The service has finished processing the job. If the job specified a
        callback URL and the event `recognitions.completed_with_results`, the service sent
        the results with the callback notification. Otherwise, you must retrieve the
        results by checking the individual job.
        * `failed`: The job failed.
        :param str created: The date and time in Coordinated Universal Time (UTC) at which
        the job was created. The value is provided in full ISO 8601 format
        (`YYYY-MM-DDThh:mm:ss.sTZD`).
        :param str updated: (optional) The date and time in Coordinated Universal Time
        (UTC) at which the job was last updated by the service. The value is provided in
        full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`). This field is returned only by
        the **Check jobs** and **Check a job** methods.
        :param str url: (optional) The URL to use to request information about the job
        with the **Check a job** method. This field is returned only by the **Create a
        job** method.
        :param str user_token: (optional) The user token associated with a job that was
        created with a callback URL and a user token. This field can be returned only by
        the **Check jobs** method.
        :param list[SpeechRecognitionResults] results: (optional) If the status is
        `completed`, the results of the recognition request as an array that includes a
        single instance of a `SpeechRecognitionResults` object. This field is returned
        only by the **Check a job** method.
        :param list[str] warnings: (optional) An array of warning messages about invalid
        parameters included with the request. Each warning includes a descriptive message
        and a list of invalid argument strings, for example, `"unexpected query parameter
        'user_token', query parameter 'callback_url' was not specified"`. The request
        succeeds despite the warnings. This field can be returned only by the **Create a
        job** method.
        """
        self.id = id
        self.status = status
        self.created = created
        self.updated = updated
        self.url = url
        self.user_token = user_token
        self.results = results
        self.warnings = warnings
def __init__ ( self , id , status , created , updated = None , url = None , user_token = None , results = None , warnings = None ) : self . id = id self . status = status self . created = created self . updated = updated self . url = url self . user_token = user_token self . results = results self . warnings = warnings
Initialize a RecognitionJob object.

        :param str id: The ID of the asynchronous job.
        :param str status: The current status of the job:
        * `waiting`: The service is preparing the job for processing. The service returns
        this status when the job is initially created or when it is waiting for capacity
        to process the job. The job remains in this state until the service has the
        capacity to begin processing it.
        * `processing`: The service is actively processing the job.
        * `completed`: The service has finished processing the job. If the job specified a
        callback URL and the event `recognitions.completed_with_results`, the service sent
        the results with the callback notification. Otherwise, you must retrieve the
        results by checking the individual job.
        * `failed`: The job failed.
        :param str created: The date and time in Coordinated Universal Time (UTC) at which
        the job was created. The value is provided in full ISO 8601 format
        (`YYYY-MM-DDThh:mm:ss.sTZD`).
        :param str updated: (optional) The date and time in Coordinated Universal Time
        (UTC) at which the job was last updated by the service. The value is provided in
        full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`). This field is returned only by
        the **Check jobs** and **Check a job** methods.
        :param str url: (optional) The URL to use to request information about the job
        with the **Check a job** method. This field is returned only by the **Create a
        job** method.
        :param str user_token: (optional) The user token associated with a job that was
        created with a callback URL and a user token. This field can be returned only by
        the **Check jobs** method.
        :param list[SpeechRecognitionResults] results: (optional) If the status is
        `completed`, the results of the recognition request as an array that includes a
        single instance of a `SpeechRecognitionResults` object. This field is returned
        only by the **Check a job** method.
        :param list[str] warnings: (optional) An array of warning messages about invalid
        parameters included with the request. Each warning includes a descriptive message
        and a list of invalid argument strings, for example, `"unexpected query parameter
        'user_token', query parameter 'callback_url' was not specified"`. The request
        succeeds despite the warnings. This field can be returned only by the **Create a
        job** method.