func (o *OutgoingCallerIDService) GetPageIterator(data url.Values) *OutgoingCallerIDPageIterator {
	iter := NewPageIterator(o.client, data, callerIDPathPart)
	return &OutgoingCallerIDPageIterator{
		p: iter,
	}
}
GetPageIterator returns a OutgoingCallerIDPageIterator with the given page
filters. Call iterator.Next() to get the first page of resources (and again
to retrieve subsequent pages).
package twilio
import (
	"context"
	"net/url"
)
const callerIDPathPart = "OutgoingCallerIds"
type OutgoingCallerIDService struct {
	client *Client
}
type OutgoingCallerID struct {
	Sid          string      `json:"sid"`
	FriendlyName string      `json:"friendly_name"`
	PhoneNumber  PhoneNumber `json:"phone_number"`
	AccountSid   string      `json:"account_sid"`
	DateCreated  TwilioTime  `json:"date_created"`
	DateUpdated  TwilioTime  `json:"date_updated"`
	URI          string      `json:"uri"`
}
type CallerIDRequest struct {
	AccountSid   string      `json:"account_sid"`
	PhoneNumber  PhoneNumber `json:"phone_number"`
	FriendlyName string      `json:"friendly_name"`
	ValidationCode string `json:"validation_code"`
	CallSid        string `json:"call_sid"`
}
type OutgoingCallerIDPage struct {
	Page
	OutgoingCallerIDs []*OutgoingCallerID `json:"outgoing_caller_ids"`
}
func (c *OutgoingCallerIDService) Create(ctx context.Context, data url.Values) (*CallerIDRequest, error) {
	id := new(CallerIDRequest)
	err := c.client.CreateResource(ctx, callerIDPathPart, data, id)
	return id, err
}
func (o *OutgoingCallerIDService) Get(ctx context.Context, sid string) (*OutgoingCallerID, error) {
	id := new(OutgoingCallerID)
	err := o.client.GetResource(ctx, callerIDPathPart, sid, id)
	return id, err
}
func (o *OutgoingCallerIDService) GetPage(ctx context.Context, data url.Values) (*OutgoingCallerIDPage, error) {
	op := new(OutgoingCallerIDPage)
	err := o.client.ListResource(ctx, callerIDPathPart, data, op)
	return op, err
}
func (o *OutgoingCallerIDService) Update(ctx context.Context, sid string, data url.Values) (*OutgoingCallerID, error) {
	id := new(OutgoingCallerID)
	err := o.client.UpdateResource(ctx, callerIDPathPart, sid, data, id)
	return id, err
}
func (o *OutgoingCallerIDService) Delete(ctx context.Context, sid string) error {
	return o.client.DeleteResource(ctx, callerIDPathPart, sid)
}
type OutgoingCallerIDPageIterator struct {
	p *PageIterator
}