// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type CollectionEventsResponse struct {
	Events   []CollectionEvent `json:"events"`
	NextPage string            `json:"next_page"`
}

func (o *CollectionEventsResponse) GetEvents() []CollectionEvent {
	if o == nil {
		return nil
	}
	return o.Events
}

func (o *CollectionEventsResponse) GetNextPage() string {
	if o == nil {
		return ""
	}
	return o.NextPage
}
