Skip to content

flywheel.models.page_generic_union_generic_valid_protocol_generic_generic_wip_protocol_generic

PageGenericUnionGenericValidProtocolGenericGenericWIPProtocolGeneric

Bases: object

count property writable

Gets the count of this PageGenericUnionGenericValidProtocolGenericGenericWIPProtocolGeneric.

Returns:

Type Description
int

The count of this PageGenericUnionGenericValidProtocolGenericGenericWIPProtocolGeneric

next property writable

Gets the next of this PageGenericUnionGenericValidProtocolGenericGenericWIPProtocolGeneric.

Returns:

Type Description
str

The next of this PageGenericUnionGenericValidProtocolGenericGenericWIPProtocolGeneric

results property writable

Gets the results of this PageGenericUnionGenericValidProtocolGenericGenericWIPProtocolGeneric.

Returns:

Type Description
list[union[ValidProtocol,WIPProtocol]]

The results of this PageGenericUnionGenericValidProtocolGenericGenericWIPProtocolGeneric

total property writable

Gets the total of this PageGenericUnionGenericValidProtocolGenericGenericWIPProtocolGeneric.

Returns:

Type Description
int

The total of this PageGenericUnionGenericValidProtocolGenericGenericWIPProtocolGeneric

__contains__(key)

Checks if the given value is a key in this object

__eq__(other)

Returns true if both objects are equal

__getitem__(key)

Returns the value of key

__init__(count=None, total=None, results=None, next=None)

PageGenericUnionGenericValidProtocolGenericGenericWIPProtocolGeneric - a model defined in Swagger

Parameters:

Name Type Description Default
count (int, optional)

, defaults to None

None
total (int, optional)

, defaults to None

None
results (list[union[ValidProtocol, WIPProtocol]], optional)

, defaults to None

None
next (str, optional)

, defaults to None

None

__ne__(other)

Returns true if both objects are not equal

__repr__()

For print and pprint

__setitem__(key, value)

Sets the value of key

get(key, default=None)

Get the value of the provided json property, or default

items()

Returns the list of json property to value mapping

keys()

Returns the list of json properties in the object

positional_to_model(value) staticmethod

Converts a positional argument to a model value

return_value()

Unwraps return value from model

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

values()

Returns the list of values in the object