github.com/twilio/twilio-go@v1.20.1/rest/wireless/v1/model_wireless_v1_sim.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  // WirelessV1Sim struct for WirelessV1Sim
    22  type WirelessV1Sim struct {
    23  	// The unique string that we created to identify the Sim 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) to which the Sim resource belongs.
    28  	AccountSid *string `json:"account_sid,omitempty"`
    29  	// The SID of the [RatePlan resource](https://www.twilio.com/docs/iot/wireless/api/rateplan-resource) to which the Sim resource is assigned.
    30  	RatePlanSid *string `json:"rate_plan_sid,omitempty"`
    31  	// The string that you assigned to describe the Sim resource.
    32  	FriendlyName *string `json:"friendly_name,omitempty"`
    33  	// The [ICCID](https://en.wikipedia.org/wiki/SIM_card#ICCID) associated with the SIM.
    34  	Iccid *string `json:"iccid,omitempty"`
    35  	// Deprecated.
    36  	EId         *string `json:"e_id,omitempty"`
    37  	Status      *string `json:"status,omitempty"`
    38  	ResetStatus *string `json:"reset_status,omitempty"`
    39  	// The URL we call using the `commands_callback_method` when the SIM originates a machine-to-machine [Command](https://www.twilio.com/docs/iot/wireless/api/command-resource). Your server should respond with an HTTP status code in the 200 range; any response body will be ignored.
    40  	CommandsCallbackUrl *string `json:"commands_callback_url,omitempty"`
    41  	// The HTTP method we use to call `commands_callback_url`.  Can be: `POST` or `GET`. Default is `POST`.
    42  	CommandsCallbackMethod *string `json:"commands_callback_method,omitempty"`
    43  	// Deprecated.
    44  	SmsFallbackMethod *string `json:"sms_fallback_method,omitempty"`
    45  	// Deprecated.
    46  	SmsFallbackUrl *string `json:"sms_fallback_url,omitempty"`
    47  	// Deprecated.
    48  	SmsMethod *string `json:"sms_method,omitempty"`
    49  	// Deprecated.
    50  	SmsUrl *string `json:"sms_url,omitempty"`
    51  	// Deprecated. The HTTP method we use to call `voice_fallback_url`. Can be: `GET` or `POST`. Default is `POST`.
    52  	VoiceFallbackMethod *string `json:"voice_fallback_method,omitempty"`
    53  	// Deprecated. The URL we call using the `voice_fallback_method` when an error occurs while retrieving or executing the TwiML requested from `voice_url`.
    54  	VoiceFallbackUrl *string `json:"voice_fallback_url,omitempty"`
    55  	// Deprecated. The HTTP method we use to call `voice_url`. Can be: `GET` or `POST`. Default is `POST`.
    56  	VoiceMethod *string `json:"voice_method,omitempty"`
    57  	// Deprecated. The URL we call using the `voice_method` when the SIM-connected device makes a voice call.
    58  	VoiceUrl *string `json:"voice_url,omitempty"`
    59  	// 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.
    60  	DateCreated *time.Time `json:"date_created,omitempty"`
    61  	// The date and time in GMT when the Sim resource was last updated specified in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
    62  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    63  	// The absolute URL of the resource.
    64  	Url *string `json:"url,omitempty"`
    65  	// The URLs of related subresources.
    66  	Links *map[string]interface{} `json:"links,omitempty"`
    67  	// Deprecated.
    68  	IpAddress *string `json:"ip_address,omitempty"`
    69  }