github.com/twilio/twilio-go@v1.20.1/rest/sync/v1/model_sync_v1_document_permission.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  // SyncV1DocumentPermission struct for SyncV1DocumentPermission
    18  type SyncV1DocumentPermission struct {
    19  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Document Permission resource.
    20  	AccountSid *string `json:"account_sid,omitempty"`
    21  	// The SID of the [Sync Service](https://www.twilio.com/docs/sync/api/service) the resource is associated with.
    22  	ServiceSid *string `json:"service_sid,omitempty"`
    23  	// The SID of the Sync Document to which the Document Permission applies.
    24  	DocumentSid *string `json:"document_sid,omitempty"`
    25  	// The application-defined string that uniquely identifies the resource's User within the Service to an FPA token.
    26  	Identity *string `json:"identity,omitempty"`
    27  	// Whether the identity can read the Sync Document.
    28  	Read *bool `json:"read,omitempty"`
    29  	// Whether the identity can update the Sync Document.
    30  	Write *bool `json:"write,omitempty"`
    31  	// Whether the identity can delete the Sync Document.
    32  	Manage *bool `json:"manage,omitempty"`
    33  	// The absolute URL of the Sync Document Permission resource.
    34  	Url *string `json:"url,omitempty"`
    35  }