github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/model_api_v2010_new_key.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Api
     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  // ApiV2010NewKey struct for ApiV2010NewKey
    18  type ApiV2010NewKey struct {
    19  	// The unique string that that we created to identify the NewKey resource. You will use this as the basic-auth `user` when authenticating to the API.
    20  	Sid *string `json:"sid,omitempty"`
    21  	// The string that you assigned to describe the resource.
    22  	FriendlyName *string `json:"friendly_name,omitempty"`
    23  	// The date and time in GMT that the API Key was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    24  	DateCreated *string `json:"date_created,omitempty"`
    25  	// The date and time in GMT that the new API Key was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    26  	DateUpdated *string `json:"date_updated,omitempty"`
    27  	// The secret your application uses to sign Access Tokens and to authenticate to the REST API (you will use this as the basic-auth `password`).  **Note that for security reasons, this field is ONLY returned when the API Key is first created.**
    28  	Secret *string `json:"secret,omitempty"`
    29  }