github.com/twilio/twilio-go@v1.20.1/rest/messaging/v1/model_messaging_v1_domain_config.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 // MessagingV1DomainConfig struct for MessagingV1DomainConfig 22 type MessagingV1DomainConfig 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 // 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. 28 FallbackUrl *string `json:"fallback_url,omitempty"` 29 // URL to receive click events to your webhook whenever the recipients click on the shortened links. 30 CallbackUrl *string `json:"callback_url,omitempty"` 31 // Boolean field to set customer delivery preference when there is a failure in linkShortening service 32 ContinueOnFailure *bool `json:"continue_on_failure,omitempty"` 33 // Date this Domain Config was created. 34 DateCreated *time.Time `json:"date_created,omitempty"` 35 // Date that this Domain Config was last updated. 36 DateUpdated *time.Time `json:"date_updated,omitempty"` 37 Url *string `json:"url,omitempty"` 38 // Customer's choice to send links with/without \"https://\" attached to shortened url. If true, messages will not be sent with https:// at the beginning of the url. If false, messages will be sent with https:// at the beginning of the url. False is the default behavior if it is not specified. 39 DisableHttps *bool `json:"disable_https,omitempty"` 40 }