Skip to content

flywheel.models.deleted_result

DeletedResult

Bases: object

delete_scheduled property writable

Gets the delete_scheduled of this DeletedResult.

The number of containers that were not deleted immediately, but have been scheduled for deletion

Returns:

Type Description
int

The delete_scheduled of this DeletedResult

deleted property writable

Gets the deleted of this DeletedResult.

The number of containers that were deleted

Returns:

Type Description
int

The deleted of this DeletedResult

not_found property writable

Gets the not_found of this DeletedResult.

The number of containers that were specified by ID to be deleted, but were not found because they don't exist or were already deleted

Returns:

Type Description
int

The not_found of this DeletedResult

__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__(deleted=0, not_found=0, delete_scheduled=0)

DeletedResult - a model defined in Swagger

Parameters:

Name Type Description Default
deleted (int, optional)

The number of containers that were deleted, defaults to 0

0
not_found (int, optional)

The number of containers that were specified by ID to be deleted, but were not found because they don't exist or were already deleted, defaults to 0

0
delete_scheduled (int, optional)

The number of containers that were not deleted immediately, but have been scheduled for deletion, defaults to 0

0

__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