Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 3.55 KB

File metadata and controls

114 lines (61 loc) · 3.55 KB

ListResponsePromotionCodeExternal

Properties

Name Type Description Notes
Data []PromotionCodeExternal
PageNumber int32
PageSize int32
TotalObjects int32

Methods

NewListResponsePromotionCodeExternal

func NewListResponsePromotionCodeExternal(data []PromotionCodeExternal, pageNumber int32, pageSize int32, totalObjects int32, ) *ListResponsePromotionCodeExternal

NewListResponsePromotionCodeExternal instantiates a new ListResponsePromotionCodeExternal 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

NewListResponsePromotionCodeExternalWithDefaults

func NewListResponsePromotionCodeExternalWithDefaults() *ListResponsePromotionCodeExternal

NewListResponsePromotionCodeExternalWithDefaults instantiates a new ListResponsePromotionCodeExternal 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

GetData

func (o *ListResponsePromotionCodeExternal) GetData() []PromotionCodeExternal

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *ListResponsePromotionCodeExternal) GetDataOk() (*[]PromotionCodeExternal, 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.

SetData

func (o *ListResponsePromotionCodeExternal) SetData(v []PromotionCodeExternal)

SetData sets Data field to given value.

GetPageNumber

func (o *ListResponsePromotionCodeExternal) GetPageNumber() int32

GetPageNumber returns the PageNumber field if non-nil, zero value otherwise.

GetPageNumberOk

func (o *ListResponsePromotionCodeExternal) GetPageNumberOk() (*int32, bool)

GetPageNumberOk returns a tuple with the PageNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPageNumber

func (o *ListResponsePromotionCodeExternal) SetPageNumber(v int32)

SetPageNumber sets PageNumber field to given value.

GetPageSize

func (o *ListResponsePromotionCodeExternal) GetPageSize() int32

GetPageSize returns the PageSize field if non-nil, zero value otherwise.

GetPageSizeOk

func (o *ListResponsePromotionCodeExternal) GetPageSizeOk() (*int32, bool)

GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPageSize

func (o *ListResponsePromotionCodeExternal) SetPageSize(v int32)

SetPageSize sets PageSize field to given value.

GetTotalObjects

func (o *ListResponsePromotionCodeExternal) GetTotalObjects() int32

GetTotalObjects returns the TotalObjects field if non-nil, zero value otherwise.

GetTotalObjectsOk

func (o *ListResponsePromotionCodeExternal) GetTotalObjectsOk() (*int32, bool)

GetTotalObjectsOk returns a tuple with the TotalObjects field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTotalObjects

func (o *ListResponsePromotionCodeExternal) SetTotalObjects(v int32)

SetTotalObjects sets TotalObjects field to given value.

[Back to Model list] [Back to API list] [Back to README]