PageResponsePonPortDTO
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Content | Pointer to []PonPortDTO | Content | [optional] |
| First | Pointer to bool | Whether is in the first page | [optional] |
| Last | Pointer to bool | Whether is in the last page | [optional] |
| Number | Pointer to int32 | Number of the current page,starting from 0. | [optional] |
| NumberOfElements | Pointer to int32 | Actual number of current page | [optional] |
| Size | Pointer to int32 | Page size | [optional] |
| TotalElements | Pointer to int64 | Total elements | [optional] |
| TotalPages | Pointer to int32 | Total page number | [optional] |
Methods
NewPageResponsePonPortDTO
func NewPageResponsePonPortDTO() *PageResponsePonPortDTO
NewPageResponsePonPortDTO instantiates a new PageResponsePonPortDTO 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
NewPageResponsePonPortDTOWithDefaults
func NewPageResponsePonPortDTOWithDefaults() *PageResponsePonPortDTO
NewPageResponsePonPortDTOWithDefaults instantiates a new PageResponsePonPortDTO 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
GetContent
func (o *PageResponsePonPortDTO) GetContent() []PonPortDTO
GetContent returns the Content field if non-nil, zero value otherwise.
GetContentOk
func (o *PageResponsePonPortDTO) GetContentOk() (*[]PonPortDTO, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContent
func (o *PageResponsePonPortDTO) SetContent(v []PonPortDTO)
SetContent sets Content field to given value.
HasContent
func (o *PageResponsePonPortDTO) HasContent() bool
HasContent returns a boolean if a field has been set.
GetFirst
func (o *PageResponsePonPortDTO) GetFirst() bool
GetFirst returns the First field if non-nil, zero value otherwise.
GetFirstOk
func (o *PageResponsePonPortDTO) GetFirstOk() (*bool, bool)
GetFirstOk returns a tuple with the First field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFirst
func (o *PageResponsePonPortDTO) SetFirst(v bool)
SetFirst sets First field to given value.
HasFirst
func (o *PageResponsePonPortDTO) HasFirst() bool
HasFirst returns a boolean if a field has been set.
GetLast
func (o *PageResponsePonPortDTO) GetLast() bool
GetLast returns the Last field if non-nil, zero value otherwise.
GetLastOk
func (o *PageResponsePonPortDTO) GetLastOk() (*bool, bool)
GetLastOk returns a tuple with the Last field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLast
func (o *PageResponsePonPortDTO) SetLast(v bool)
SetLast sets Last field to given value.
HasLast
func (o *PageResponsePonPortDTO) HasLast() bool
HasLast returns a boolean if a field has been set.
GetNumber
func (o *PageResponsePonPortDTO) GetNumber() int32
GetNumber returns the Number field if non-nil, zero value otherwise.
GetNumberOk
func (o *PageResponsePonPortDTO) GetNumberOk() (*int32, bool)
GetNumberOk returns a tuple with the Number field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNumber
func (o *PageResponsePonPortDTO) SetNumber(v int32)
SetNumber sets Number field to given value.
HasNumber
func (o *PageResponsePonPortDTO) HasNumber() bool
HasNumber returns a boolean if a field has been set.
GetNumberOfElements
func (o *PageResponsePonPortDTO) GetNumberOfElements() int32
GetNumberOfElements returns the NumberOfElements field if non-nil, zero value otherwise.
GetNumberOfElementsOk
func (o *PageResponsePonPortDTO) GetNumberOfElementsOk() (*int32, bool)
GetNumberOfElementsOk returns a tuple with the NumberOfElements field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNumberOfElements
func (o *PageResponsePonPortDTO) SetNumberOfElements(v int32)
SetNumberOfElements sets NumberOfElements field to given value.
HasNumberOfElements
func (o *PageResponsePonPortDTO) HasNumberOfElements() bool
HasNumberOfElements returns a boolean if a field has been set.
GetSize
func (o *PageResponsePonPortDTO) GetSize() int32
GetSize returns the Size field if non-nil, zero value otherwise.
GetSizeOk
func (o *PageResponsePonPortDTO) GetSizeOk() (*int32, 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.
SetSize
func (o *PageResponsePonPortDTO) SetSize(v int32)
SetSize sets Size field to given value.
HasSize
func (o *PageResponsePonPortDTO) HasSize() bool
HasSize returns a boolean if a field has been set.
GetTotalElements
func (o *PageResponsePonPortDTO) GetTotalElements() int64
GetTotalElements returns the TotalElements field if non-nil, zero value otherwise.
GetTotalElementsOk
func (o *PageResponsePonPortDTO) GetTotalElementsOk() (*int64, bool)
GetTotalElementsOk returns a tuple with the TotalElements field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTotalElements
func (o *PageResponsePonPortDTO) SetTotalElements(v int64)
SetTotalElements sets TotalElements field to given value.
HasTotalElements
func (o *PageResponsePonPortDTO) HasTotalElements() bool
HasTotalElements returns a boolean if a field has been set.
GetTotalPages
func (o *PageResponsePonPortDTO) GetTotalPages() int32
GetTotalPages returns the TotalPages field if non-nil, zero value otherwise.
GetTotalPagesOk
func (o *PageResponsePonPortDTO) GetTotalPagesOk() (*int32, bool)
GetTotalPagesOk returns a tuple with the TotalPages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTotalPages
func (o *PageResponsePonPortDTO) SetTotalPages(v int32)
SetTotalPages sets TotalPages field to given value.
HasTotalPages
func (o *PageResponsePonPortDTO) HasTotalPages() bool
HasTotalPages returns a boolean if a field has been set.