github.com/twilio/twilio-go@v1.20.1/rest/messaging/v1/model_messaging_v1_domain_config_messaging_service.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Messaging
     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  // MessagingV1DomainConfigMessagingService struct for MessagingV1DomainConfigMessagingService
    22  type MessagingV1DomainConfigMessagingService struct {
    23  	// The unique string that we created to identify the Domain resource.
    24  	DomainSid *string `json:"domain_sid,omitempty"`
    25  	// The unique string that we created to identify the Domain config (prefix ZK).
    26  	ConfigSid *string `json:"config_sid,omitempty"`
    27  	// The unique string that identifies the messaging service
    28  	MessagingServiceSid *string `json:"messaging_service_sid,omitempty"`
    29  	// Any requests we receive to this domain that do not match an existing shortened message will be redirected to the fallback url. These will likely be either expired messages, random misdirected traffic, or intentional scraping.
    30  	FallbackUrl *string `json:"fallback_url,omitempty"`
    31  	// URL to receive click events to your webhook whenever the recipients click on the shortened links.
    32  	CallbackUrl *string `json:"callback_url,omitempty"`
    33  	// Boolean field to set customer delivery preference when there is a failure in linkShortening service
    34  	ContinueOnFailure *bool `json:"continue_on_failure,omitempty"`
    35  	// Date this Domain Config was created.
    36  	DateCreated *time.Time `json:"date_created,omitempty"`
    37  	// Date that this Domain Config was last updated.
    38  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    39  	Url         *string    `json:"url,omitempty"`
    40  }