github.com/twilio/twilio-go@v1.20.1/rest/wireless/v1/model_wireless_v1_command.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Wireless
     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  // WirelessV1Command struct for WirelessV1Command
    22  type WirelessV1Command struct {
    23  	// The unique string that we created to identify the Command resource.
    24  	Sid *string `json:"sid,omitempty"`
    25  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Command resource.
    26  	AccountSid *string `json:"account_sid,omitempty"`
    27  	// The SID of the [Sim resource](https://www.twilio.com/docs/iot/wireless/api/sim-resource) that the Command was sent to or from.
    28  	SimSid *string `json:"sim_sid,omitempty"`
    29  	// The message being sent to or from the SIM. For text mode messages, this can be up to 160 characters. For binary mode messages, this is a series of up to 140 bytes of data encoded using base64.
    30  	Command     *string `json:"command,omitempty"`
    31  	CommandMode *string `json:"command_mode,omitempty"`
    32  	Transport   *string `json:"transport,omitempty"`
    33  	// Whether to request a delivery receipt.
    34  	DeliveryReceiptRequested *bool   `json:"delivery_receipt_requested,omitempty"`
    35  	Status                   *string `json:"status,omitempty"`
    36  	Direction                *string `json:"direction,omitempty"`
    37  	// The date and time in GMT when the resource was created specified in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
    38  	DateCreated *time.Time `json:"date_created,omitempty"`
    39  	// The date and time in GMT when the resource was last updated specified in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
    40  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    41  	// The absolute URL of the resource.
    42  	Url *string `json:"url,omitempty"`
    43  }