IpBlocks

Properties

NameTypeDescriptionNotes

Links

Pointer to PaginationLinks

[optional]

Href

Pointer to string

URL to the object representation (absolute path).

[optional] [readonly]

Id

Pointer to string

The resource's unique identifier.

[optional] [readonly]

Items

Pointer to []IpBlock

Array of items in the collection.

[optional] [readonly]

Limit

Pointer to float32

The limit, specified in the request (if not specified, the endpoint's default pagination limit is used).

[optional]

Offset

Pointer to float32

The offset, specified in the request (if not is specified, 0 is used by default).

[optional]

Type

Pointer to Type

The type of object that has been created.

[optional]

Methods

NewIpBlocks

func NewIpBlocks() *IpBlocks

NewIpBlocks instantiates a new IpBlocks 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

NewIpBlocksWithDefaults

func NewIpBlocksWithDefaults() *IpBlocks

NewIpBlocksWithDefaults instantiates a new IpBlocks 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 *IpBlocks) GetLinks() PaginationLinks

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *IpBlocks) GetLinksOk() (*PaginationLinks, bool)

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

func (o *IpBlocks) SetLinks(v PaginationLinks)

SetLinks sets Links field to given value.

func (o *IpBlocks) HasLinks() bool

HasLinks returns a boolean if a field has been set.

GetHref

func (o *IpBlocks) GetHref() string

GetHref returns the Href field if non-nil, zero value otherwise.

GetHrefOk

func (o *IpBlocks) GetHrefOk() (*string, bool)

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

SetHref

func (o *IpBlocks) SetHref(v string)

SetHref sets Href field to given value.

HasHref

func (o *IpBlocks) HasHref() bool

HasHref returns a boolean if a field has been set.

GetId

func (o *IpBlocks) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *IpBlocks) GetIdOk() (*string, bool)

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

SetId

func (o *IpBlocks) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *IpBlocks) HasId() bool

HasId returns a boolean if a field has been set.

GetItems

func (o *IpBlocks) GetItems() []IpBlock

GetItems returns the Items field if non-nil, zero value otherwise.

GetItemsOk

func (o *IpBlocks) GetItemsOk() (*[]IpBlock, bool)

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

SetItems

func (o *IpBlocks) SetItems(v []IpBlock)

SetItems sets Items field to given value.

HasItems

func (o *IpBlocks) HasItems() bool

HasItems returns a boolean if a field has been set.

GetLimit

func (o *IpBlocks) GetLimit() float32

GetLimit returns the Limit field if non-nil, zero value otherwise.

GetLimitOk

func (o *IpBlocks) GetLimitOk() (*float32, bool)

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

SetLimit

func (o *IpBlocks) SetLimit(v float32)

SetLimit sets Limit field to given value.

HasLimit

func (o *IpBlocks) HasLimit() bool

HasLimit returns a boolean if a field has been set.

GetOffset

func (o *IpBlocks) GetOffset() float32

GetOffset returns the Offset field if non-nil, zero value otherwise.

GetOffsetOk

func (o *IpBlocks) GetOffsetOk() (*float32, bool)

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

SetOffset

func (o *IpBlocks) SetOffset(v float32)

SetOffset sets Offset field to given value.

HasOffset

func (o *IpBlocks) HasOffset() bool

HasOffset returns a boolean if a field has been set.

GetType

func (o *IpBlocks) GetType() Type

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *IpBlocks) GetTypeOk() (*Type, bool)

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

SetType

func (o *IpBlocks) SetType(v Type)

SetType sets Type field to given value.

HasType

func (o *IpBlocks) HasType() bool

HasType returns a boolean if a field has been set.

Last updated