Skip to content

flywheel.models.job_request_target

JobRequestTarget

Bases: object

command property writable

Gets the command of this JobRequestTarget.

Returns:

Type Description
list[str]

The command of this JobRequestTarget

dir property writable

Gets the dir of this JobRequestTarget.

Returns:

Type Description
str

The dir of this JobRequestTarget

env property writable

Gets the env of this JobRequestTarget.

Returns:

Type Description
dict(str, str)

The env of this JobRequestTarget

gid property writable

Gets the gid of this JobRequestTarget.

Returns:

Type Description
int

The gid of this JobRequestTarget

uid property writable

Gets the uid of this JobRequestTarget.

Returns:

Type Description
int

The uid of this JobRequestTarget

__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__(command=None, env=None, uid=None, gid=None, dir='/flywheel/v0')

JobRequestTarget - a model defined in Swagger

Parameters:

Name Type Description Default
command (list[str], optional)

, defaults to None

None
env (dict(str, str), optional)

, defaults to None

None
uid (int, optional)

, defaults to None

None
gid (int, optional)

, defaults to None

None
dir (str, optional)

, defaults to '/flywheel/v0'

'/flywheel/v0'

__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