| Name | Type | Description | Notes |
|---|---|---|---|
| Data | []PromotionCodeExternal | ||
| PageNumber | int32 | ||
| PageSize | int32 | ||
| TotalObjects | int32 |
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
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
func (o *ListResponsePromotionCodeExternal) GetData() []PromotionCodeExternal
GetData returns the Data field if non-nil, zero value otherwise.
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.
func (o *ListResponsePromotionCodeExternal) SetData(v []PromotionCodeExternal)
SetData sets Data field to given value.
func (o *ListResponsePromotionCodeExternal) GetPageNumber() int32
GetPageNumber returns the PageNumber field if non-nil, zero value otherwise.
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.
func (o *ListResponsePromotionCodeExternal) SetPageNumber(v int32)
SetPageNumber sets PageNumber field to given value.
func (o *ListResponsePromotionCodeExternal) GetPageSize() int32
GetPageSize returns the PageSize field if non-nil, zero value otherwise.
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.
func (o *ListResponsePromotionCodeExternal) SetPageSize(v int32)
SetPageSize sets PageSize field to given value.
func (o *ListResponsePromotionCodeExternal) GetTotalObjects() int32
GetTotalObjects returns the TotalObjects field if non-nil, zero value otherwise.
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.
func (o *ListResponsePromotionCodeExternal) SetTotalObjects(v int32)
SetTotalObjects sets TotalObjects field to given value.