github.com/twilio/twilio-go@v1.20.1/rest/voice/v1/model_voice_v1_ip_record.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Voice
     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  // VoiceV1IpRecord struct for VoiceV1IpRecord
    22  type VoiceV1IpRecord struct {
    23  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the IP Record resource.
    24  	AccountSid *string `json:"account_sid,omitempty"`
    25  	// The unique string that we created to identify the IP Record resource.
    26  	Sid *string `json:"sid,omitempty"`
    27  	// The string that you assigned to describe the resource.
    28  	FriendlyName *string `json:"friendly_name,omitempty"`
    29  	// An IP address in dotted decimal notation, IPv4 only.
    30  	IpAddress *string `json:"ip_address,omitempty"`
    31  	// An integer representing the length of the [CIDR](https://tools.ietf.org/html/rfc4632) prefix to use with this IP address. By default the entire IP address is used, which for IPv4 is value 32.
    32  	CidrPrefixLength *int `json:"cidr_prefix_length,omitempty"`
    33  	// The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    34  	DateCreated *time.Time `json:"date_created,omitempty"`
    35  	// The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
    36  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    37  	// The absolute URL of the resource.
    38  	Url *string `json:"url,omitempty"`
    39  }