Skip to content

flywheel.models.site

Site

Bases: object

api_url property writable

Gets the api_url of this Site.

Returns:

Type Description
str

The api_url of this Site

crawler_url property writable

Gets the crawler_url of this Site.

Returns:

Type Description
str

The crawler_url of this Site

deid_log_url property writable

Gets the deid_log_url of this Site.

Returns:

Type Description
str

The deid_log_url of this Site

dimse_host property writable

Gets the dimse_host of this Site.

Returns:

Type Description
str

The dimse_host of this Site

dimse_port property writable

Gets the dimse_port of this Site.

Returns:

Type Description
int

The dimse_port of this Site

id property writable

Gets the id of this Site.

Returns:

Type Description
str

The id of this Site

inactivity_timeout property writable

Gets the inactivity_timeout of this Site.

Returns:

Type Description
int

The inactivity_timeout of this Site

mfa_code_length property writable

Gets the mfa_code_length of this Site.

Returns:

Type Description
int

The mfa_code_length of this Site

mfa_delete_totp_batch_size property writable

Gets the mfa_delete_totp_batch_size of this Site.

Returns:

Type Description
int

The mfa_delete_totp_batch_size of this Site

name property writable

Gets the name of this Site.

Returns:

Type Description
str

The name of this Site

pagination_limit property writable

Gets the pagination_limit of this Site.

Returns:

Type Description
int

The pagination_limit of this Site

proxy_cdn property writable

Gets the proxy_cdn of this Site.

Returns:

Type Description
bool

The proxy_cdn of this Site

redirect_url property writable

Gets the redirect_url of this Site.

Returns:

Type Description
str

The redirect_url of this Site

registered property writable

Gets the registered of this Site.

Returns:

Type Description
bool

The registered of this Site

ssl_cert property writable

Gets the ssl_cert of this Site.

Returns:

Type Description
str

The ssl_cert of this Site

upload_maximum_bytes property writable

Gets the upload_maximum_bytes of this Site.

Returns:

Type Description
str

The upload_maximum_bytes of this Site

__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__(id='local', api_url='https://localhost/api', deid_log_url=None, dimse_host=None, dimse_port=None, mfa_code_length=6, mfa_delete_totp_batch_size=10, inactivity_timeout=None, name='Local', redirect_url='https://local.flywheel.io', registered=False, ssl_cert=None, upload_maximum_bytes='10737418240', proxy_cdn=False, pagination_limit=100, crawler_url='flywheel-crawler.flywheel')

Site - a model defined in Swagger

Parameters:

Name Type Description Default
id (str, optional)

, defaults to 'local'

'local'
api_url (str, optional)

, defaults to 'https://localhost/api'

'https://localhost/api'
deid_log_url (str, optional)

, defaults to None

None
dimse_host (str, optional)

, defaults to None

None
dimse_port (int, optional)

, defaults to None

None
mfa_code_length (int, optional)

, defaults to 6

6
mfa_delete_totp_batch_size (int, optional)

, defaults to 10

10
inactivity_timeout (int, optional)

, defaults to None

None
name (str, optional)

, defaults to 'Local'

'Local'
redirect_url (str, optional)

, defaults to 'https://local.flywheel.io'

'https://local.flywheel.io'
registered (bool, optional)

, defaults to False

False
ssl_cert (str, optional)

, defaults to None

None
upload_maximum_bytes (str, optional)

, defaults to '10737418240'

'10737418240'
proxy_cdn (bool, optional)

, defaults to False

False
pagination_limit (int, optional)

, defaults to 100

100
crawler_url (str, optional)

, defaults to 'flywheel-crawler.flywheel'

'flywheel-crawler.flywheel'

__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