github.com/twilio/twilio-go@v1.20.1/rest/studio/v1/model_studio_v1_engagement.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Studio
     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  import (
    18  	"time"
    19  )
    20  
    21  // StudioV1Engagement struct for StudioV1Engagement
    22  type StudioV1Engagement struct {
    23  	// The unique string that we created to identify the Engagement resource.
    24  	Sid *string `json:"sid,omitempty"`
    25  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Engagement resource.
    26  	AccountSid *string `json:"account_sid,omitempty"`
    27  	// The SID of the Flow.
    28  	FlowSid *string `json:"flow_sid,omitempty"`
    29  	// The SID of the Contact.
    30  	ContactSid *string `json:"contact_sid,omitempty"`
    31  	// The phone number, SIP address or Client identifier that triggered this Engagement. Phone numbers are in E.164 format (+16175551212). SIP addresses are formatted as `name@company.com`. Client identifiers are formatted `client:name`.
    32  	ContactChannelAddress *string `json:"contact_channel_address,omitempty"`
    33  	// The current state of the execution flow. As your flow executes, we save the state in a flow context. Your widgets can access the data in the flow context as variables, either in configuration fields or in text areas as variable substitution.
    34  	Context *interface{} `json:"context,omitempty"`
    35  	Status  *string      `json:"status,omitempty"`
    36  	// The date and time in GMT when the Engagement was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    37  	DateCreated *time.Time `json:"date_created,omitempty"`
    38  	// The date and time in GMT when the Engagement was updated in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    39  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    40  	// The absolute URL of the resource.
    41  	Url *string `json:"url,omitempty"`
    42  	// The URLs of the Engagement's nested resources.
    43  	Links *map[string]interface{} `json:"links,omitempty"`
    44  }