github.com/twilio/twilio-go@v1.20.1/rest/events/v1/model_events_v1_subscription.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Events
     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  // EventsV1Subscription struct for EventsV1Subscription
    22  type EventsV1Subscription struct {
    23  	// The unique SID identifier of the Account.
    24  	AccountSid *string `json:"account_sid,omitempty"`
    25  	// A 34 character string that uniquely identifies this Subscription.
    26  	Sid *string `json:"sid,omitempty"`
    27  	// The date that this Subscription was created, given in ISO 8601 format.
    28  	DateCreated *time.Time `json:"date_created,omitempty"`
    29  	// The date that this Subscription was updated, given in ISO 8601 format.
    30  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    31  	// A human readable description for the Subscription
    32  	Description *string `json:"description,omitempty"`
    33  	// The SID of the sink that events selected by this subscription should be sent to. Sink must be active for the subscription to be created.
    34  	SinkSid *string `json:"sink_sid,omitempty"`
    35  	// The URL of this resource.
    36  	Url *string `json:"url,omitempty"`
    37  	// Contains a dictionary of URL links to nested resources of this Subscription.
    38  	Links *map[string]interface{} `json:"links,omitempty"`
    39  }