github.com/twilio/twilio-go@v1.20.1/rest/supersim/v1/model_supersim_v1_ip_command.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Supersim 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 // SupersimV1IpCommand struct for SupersimV1IpCommand 22 type SupersimV1IpCommand struct { 23 // The unique string that we created to identify the IP 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 IP Command resource. 26 AccountSid *string `json:"account_sid,omitempty"` 27 // The SID of the [Super SIM](https://www.twilio.com/docs/iot/supersim/api/sim-resource) that this IP Command was sent to or from. 28 SimSid *string `json:"sim_sid,omitempty"` 29 // The [ICCID](https://en.wikipedia.org/wiki/Subscriber_identity_module#ICCID) of the [Super SIM](https://www.twilio.com/docs/iot/supersim/api/sim-resource) that this IP Command was sent to or from. 30 SimIccid *string `json:"sim_iccid,omitempty"` 31 Status *string `json:"status,omitempty"` 32 Direction *string `json:"direction,omitempty"` 33 // The IP address of the device that the IP Command was sent to or received from. For an IP Command sent to a Super SIM, `device_ip` starts out as `null`, and once the IP Command is “sent”, the `device_ip` will be filled out. An IP Command sent from a Super SIM have its `device_ip` always set. 34 DeviceIp *string `json:"device_ip,omitempty"` 35 // For an IP Command sent to a Super SIM, it would be the destination port of the IP message. For an IP Command sent from a Super SIM, it would be the source port of the IP message. 36 DevicePort *int `json:"device_port,omitempty"` 37 PayloadType *string `json:"payload_type,omitempty"` 38 // The payload that is carried in the IP/UDP message. The payload can be encoded in either text or binary format. For text payload, UTF-8 encoding must be used. For an IP Command sent to a Super SIM, the payload is appended to the IP/UDP message “as is”. The payload should not exceed 1300 bytes. For an IP Command sent from a Super SIM, the payload from the received IP/UDP message is extracted and sent in binary encoding. For an IP Command sent from a Super SIM, the payload should not exceed 1300 bytes. If it is larger than 1300 bytes, there might be fragmentation on the upstream and the message may appear truncated. 39 Payload *string `json:"payload,omitempty"` 40 // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 41 DateCreated *time.Time `json:"date_created,omitempty"` 42 // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 43 DateUpdated *time.Time `json:"date_updated,omitempty"` 44 // The absolute URL of the IP Command resource. 45 Url *string `json:"url,omitempty"` 46 }