github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/model_api_v2010_sip_ip_address.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 // ApiV2010SipIpAddress struct for ApiV2010SipIpAddress 18 type ApiV2010SipIpAddress struct { 19 // A 34 character string that uniquely identifies this resource. 20 Sid *string `json:"sid,omitempty"` 21 // The unique id of the Account that is responsible for this resource. 22 AccountSid *string `json:"account_sid,omitempty"` 23 // A human readable descriptive text for this resource, up to 255 characters long. 24 FriendlyName *string `json:"friendly_name,omitempty"` 25 // An IP address in dotted decimal notation from which you want to accept traffic. Any SIP requests from this IP address will be allowed by Twilio. IPv4 only supported today. 26 IpAddress *string `json:"ip_address,omitempty"` 27 // An integer representing the length of the CIDR prefix to use with this IP address when accepting traffic. By default the entire IP address is used. 28 CidrPrefixLength *int `json:"cidr_prefix_length,omitempty"` 29 // The unique id of the IpAccessControlList resource that includes this resource. 30 IpAccessControlListSid *string `json:"ip_access_control_list_sid,omitempty"` 31 // The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. 32 DateCreated *string `json:"date_created,omitempty"` 33 // The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format. 34 DateUpdated *string `json:"date_updated,omitempty"` 35 // The URI for this resource, relative to `https://api.twilio.com` 36 Uri *string `json:"uri,omitempty"` 37 }