Name | Type | Description | Notes |
---|---|---|---|
Page | int64 | number of the current page: starts at 0. | |
Size | int64 | number of data per page (= maximum number of data in the associated list of data:the last page can have less data) | |
TotalCount | int64 | total count of data in the complete list. | |
Data | []Campaign | list of data in this page. |
func NewCampaignList(page int64, size int64, totalCount int64, data []Campaign, ) *CampaignList
NewCampaignList instantiates a new CampaignList object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCampaignListWithDefaults() *CampaignList
NewCampaignListWithDefaults instantiates a new CampaignList object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *CampaignList) GetPage() int64
GetPage returns the Page field if non-nil, zero value otherwise.
func (o *CampaignList) GetPageOk() (*int64, bool)
GetPageOk returns a tuple with the Page field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignList) SetPage(v int64)
SetPage sets Page field to given value.
func (o *CampaignList) GetSize() int64
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *CampaignList) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignList) SetSize(v int64)
SetSize sets Size field to given value.
func (o *CampaignList) GetTotalCount() int64
GetTotalCount returns the TotalCount field if non-nil, zero value otherwise.
func (o *CampaignList) GetTotalCountOk() (*int64, bool)
GetTotalCountOk returns a tuple with the TotalCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignList) SetTotalCount(v int64)
SetTotalCount sets TotalCount field to given value.
func (o *CampaignList) GetData() []Campaign
GetData returns the Data field if non-nil, zero value otherwise.
func (o *CampaignList) GetDataOk() (*[]Campaign, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignList) SetData(v []Campaign)
SetData sets Data field to given value.