github.com/twilio/twilio-go@v1.20.1/rest/sync/v1/model_sync_v1_sync_list_item.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Sync
     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  // SyncV1SyncListItem struct for SyncV1SyncListItem
    22  type SyncV1SyncListItem struct {
    23  	// The automatically generated index of the List Item. The `index` values of the List Items in a Sync List can have gaps in their sequence.
    24  	Index *int `json:"index,omitempty"`
    25  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the List Item resource.
    26  	AccountSid *string `json:"account_sid,omitempty"`
    27  	// The SID of the [Sync Service](https://www.twilio.com/docs/sync/api/service) the resource is associated with.
    28  	ServiceSid *string `json:"service_sid,omitempty"`
    29  	// The SID of the Sync List that contains the List Item.
    30  	ListSid *string `json:"list_sid,omitempty"`
    31  	// The absolute URL of the List Item resource.
    32  	Url *string `json:"url,omitempty"`
    33  	// The current revision of the item, represented as a string.
    34  	Revision *string `json:"revision,omitempty"`
    35  	// An arbitrary, schema-less object that the List Item stores. Can be up to 16 KiB in length.
    36  	Data *interface{} `json:"data,omitempty"`
    37  	// The date and time in GMT when the List Item expires and will be deleted, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. If the List Item does not expire, this value is `null`. The List Item resource might not be deleted immediately after it expires.
    38  	DateExpires *time.Time `json:"date_expires,omitempty"`
    39  	// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    40  	DateCreated *time.Time `json:"date_created,omitempty"`
    41  	// The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    42  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    43  	// The identity of the List Item's creator. If the item is created from the client SDK, the value matches the Access Token's `identity` field. If the item was created from the REST API, the value is `system`.
    44  	CreatedBy *string `json:"created_by,omitempty"`
    45  }