github.com/twilio/twilio-go@v1.20.1/rest/conversations/v1/model_conversations_v1_service_notification.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  // ConversationsV1ServiceNotification struct for ConversationsV1ServiceNotification
    18  type ConversationsV1ServiceNotification struct {
    19  	// The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this configuration.
    20  	AccountSid *string `json:"account_sid,omitempty"`
    21  	// The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Configuration applies to.
    22  	ChatServiceSid *string `json:"chat_service_sid,omitempty"`
    23  	// The Push Notification configuration for New Messages.
    24  	NewMessage *interface{} `json:"new_message,omitempty"`
    25  	// The Push Notification configuration for being added to a Conversation.
    26  	AddedToConversation *interface{} `json:"added_to_conversation,omitempty"`
    27  	// The Push Notification configuration for being removed from a Conversation.
    28  	RemovedFromConversation *interface{} `json:"removed_from_conversation,omitempty"`
    29  	// Weather the notification logging is enabled.
    30  	LogEnabled *bool `json:"log_enabled,omitempty"`
    31  	// An absolute API resource URL for this configuration.
    32  	Url *string `json:"url,omitempty"`
    33  }