github.com/twilio/twilio-go@v1.20.1/rest/conversations/v1/model_conversations_v1_service_conversation.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Conversations
     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  // ConversationsV1ServiceConversation struct for ConversationsV1ServiceConversation
    22  type ConversationsV1ServiceConversation struct {
    23  	// The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation.
    24  	AccountSid *string `json:"account_sid,omitempty"`
    25  	// The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to.
    26  	ChatServiceSid *string `json:"chat_service_sid,omitempty"`
    27  	// The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to.
    28  	MessagingServiceSid *string `json:"messaging_service_sid,omitempty"`
    29  	// A 34 character string that uniquely identifies this resource.
    30  	Sid *string `json:"sid,omitempty"`
    31  	// The human-readable name of this conversation, limited to 256 characters. Optional.
    32  	FriendlyName *string `json:"friendly_name,omitempty"`
    33  	// An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL.
    34  	UniqueName *string `json:"unique_name,omitempty"`
    35  	// An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified.  **Note** that if the attributes are not set \"{}\" will be returned.
    36  	Attributes *string `json:"attributes,omitempty"`
    37  	State      *string `json:"state,omitempty"`
    38  	// The date that this resource was created.
    39  	DateCreated *time.Time `json:"date_created,omitempty"`
    40  	// The date that this resource was last updated.
    41  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    42  	// Timer date values representing state update for this conversation.
    43  	Timers *interface{} `json:"timers,omitempty"`
    44  	// An absolute API resource URL for this conversation.
    45  	Url *string `json:"url,omitempty"`
    46  	// Contains absolute URLs to access the [participants](https://www.twilio.com/docs/conversations/api/conversation-participant-resource), [messages](https://www.twilio.com/docs/conversations/api/conversation-message-resource) and [webhooks](https://www.twilio.com/docs/conversations/api/conversation-scoped-webhook-resource) of this conversation.
    47  	Links    *map[string]interface{} `json:"links,omitempty"`
    48  	Bindings *interface{}            `json:"bindings,omitempty"`
    49  }