github.com/twilio/twilio-go@v1.20.1/rest/sync/v1/model_sync_v1_sync_map.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  // SyncV1SyncMap struct for SyncV1SyncMap
    22  type SyncV1SyncMap struct {
    23  	// The unique string that we created to identify the Sync Map resource.
    24  	Sid *string `json:"sid,omitempty"`
    25  	// An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource.
    26  	UniqueName *string `json:"unique_name,omitempty"`
    27  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Sync Map resource.
    28  	AccountSid *string `json:"account_sid,omitempty"`
    29  	// The SID of the [Sync Service](https://www.twilio.com/docs/sync/api/service) the resource is associated with.
    30  	ServiceSid *string `json:"service_sid,omitempty"`
    31  	// The absolute URL of the Sync Map resource.
    32  	Url *string `json:"url,omitempty"`
    33  	// The URLs of the Sync Map's nested resources.
    34  	Links *map[string]interface{} `json:"links,omitempty"`
    35  	// The current revision of the Sync Map, represented as a string.
    36  	Revision *string `json:"revision,omitempty"`
    37  	// The date and time in GMT when the Sync Map expires and will be deleted, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. If the Sync Map does not expire, this value is `null`. The Sync Map 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 Sync Map's creator. If the Sync Map is created from the client SDK, the value matches the Access Token's `identity` field. If the Sync Map was created from the REST API, the value is `system`.
    44  	CreatedBy *string `json:"created_by,omitempty"`
    45  }