Back to Hydra

TokenPaginationResponseHeaders

internal/httpclient/docs/TokenPaginationResponseHeaders.md

26.2.03.3 KB
Original Source

TokenPaginationResponseHeaders

Properties

NameTypeDescriptionNotes
LinkPointer to stringThe Link HTTP Header The `Link` header contains a comma-delimited list of links to the following pages: first: The first page of results. next: The next page of results. prev: The previous page of results. last: The last page of results. Pages are omitted if they do not exist. For example, if there is no next page, the `next` link is omitted. Examples: </clients?page_size=5&page_token=0>; rel=&quot;first&quot;,</clients?page_size=5&page_token=15>; rel=&quot;next&quot;,</clients?page_size=5&page_token=5>; rel=&quot;prev&quot;,</clients?page_size=5&page_token=20>; rel=&quot;last&quot;[optional]
XTotalCountPointer to int64The X-Total-Count HTTP Header The `X-Total-Count` header contains the total number of items in the collection.[optional]

Methods

NewTokenPaginationResponseHeaders

func NewTokenPaginationResponseHeaders() *TokenPaginationResponseHeaders

NewTokenPaginationResponseHeaders instantiates a new TokenPaginationResponseHeaders 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

NewTokenPaginationResponseHeadersWithDefaults

func NewTokenPaginationResponseHeadersWithDefaults() *TokenPaginationResponseHeaders

NewTokenPaginationResponseHeadersWithDefaults instantiates a new TokenPaginationResponseHeaders 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 *TokenPaginationResponseHeaders) GetLink() string

GetLink returns the Link field if non-nil, zero value otherwise.

GetLinkOk

func (o *TokenPaginationResponseHeaders) GetLinkOk() (*string, bool)

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

func (o *TokenPaginationResponseHeaders) SetLink(v string)

SetLink sets Link field to given value.

func (o *TokenPaginationResponseHeaders) HasLink() bool

HasLink returns a boolean if a field has been set.

GetXTotalCount

func (o *TokenPaginationResponseHeaders) GetXTotalCount() int64

GetXTotalCount returns the XTotalCount field if non-nil, zero value otherwise.

GetXTotalCountOk

func (o *TokenPaginationResponseHeaders) GetXTotalCountOk() (*int64, bool)

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

SetXTotalCount

func (o *TokenPaginationResponseHeaders) SetXTotalCount(v int64)

SetXTotalCount sets XTotalCount field to given value.

HasXTotalCount

func (o *TokenPaginationResponseHeaders) HasXTotalCount() bool

HasXTotalCount returns a boolean if a field has been set.

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