github.com/twilio/twilio-go@v1.20.1/rest/bulkexports/v1/model_bulkexports_v1_job.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Bulkexports
     8   * This is the public Twilio REST API.
     9   *
    10   * NOTE: This class is auto generated by OpenAPI Generator.
    11   * https://openapi-generator.tech
    12   * Do not edit the class manually.
    13   */
    14  
    15  package openapi
    16  
    17  // BulkexportsV1Job struct for BulkexportsV1Job
    18  type BulkexportsV1Job struct {
    19  	// The type of communication – Messages, Calls, Conferences, and Participants
    20  	ResourceType *string `json:"resource_type,omitempty"`
    21  	// The friendly name specified when creating the job
    22  	FriendlyName *string `json:"friendly_name,omitempty"`
    23  	// The details of a job which is an object that contains an array of status grouped by `status` state.  Each `status` object has a `status` string, a count which is the number of days in that `status`, and list of days in that `status`. The day strings are in the format yyyy-MM-dd. As an example, a currently running job may have a status object for COMPLETED and a `status` object for SUBMITTED each with its own count and list of days.
    24  	Details *interface{} `json:"details,omitempty"`
    25  	// The start time for the export specified when creating the job
    26  	StartDay *string `json:"start_day,omitempty"`
    27  	// The end time for the export specified when creating the job
    28  	EndDay *string `json:"end_day,omitempty"`
    29  	// The job_sid returned when the export was created
    30  	JobSid *string `json:"job_sid,omitempty"`
    31  	// The optional webhook url called on completion
    32  	WebhookUrl *string `json:"webhook_url,omitempty"`
    33  	// This is the method used to call the webhook
    34  	WebhookMethod *string `json:"webhook_method,omitempty"`
    35  	// The optional email to send the completion notification to
    36  	Email *string `json:"email,omitempty"`
    37  	Url   *string `json:"url,omitempty"`
    38  	// This is the job position from the 1st in line. Your queue position will never increase. As jobs ahead of yours in the queue are processed, the queue position number will decrease
    39  	JobQueuePosition *string `json:"job_queue_position,omitempty"`
    40  	// this is the time estimated until your job is complete. This is calculated each time you request the job list. The time is calculated based on the current rate of job completion (which may vary) and your job queue position
    41  	EstimatedCompletionTime *string `json:"estimated_completion_time,omitempty"`
    42  }