ironic.api.controllers.v1.collection module

ironic.api.controllers.v1.collection module

class ironic.api.controllers.v1.collection.Collection(**kw)[source]

Bases: ironic.api.controllers.base.Base

collection
classmethod get_key_field()[source]
get_next(limit, url=None, **kwargs)[source]

Return a link to the next subset of the collection.

has_next(limit)[source]

Return whether collection has more items.

next

alias of builtins.str

ironic.api.controllers.v1.collection.get_next(collection, limit, url=None, key_field='uuid', **kwargs)[source]

Return a link to the next subset of the collection.

ironic.api.controllers.v1.collection.has_next(collection, limit)[source]

Return whether collection has more items.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.