pyrocko.client.wadl

WADL data model.

Classes

Application(*args, **kwargs)

Undocumented.

Doc(**kwargs)

Undocumented.

Element(*args, **kwargs)

Undocumented.

Grammars(**kwargs)

Undocumented.

HTTPMethods(...)

Any str out of ['GET', 'POST', 'PUT', 'HEAD', 'DELETE'].

Include(**kwargs)

Undocumented.

Link(**kwargs)

Undocumented.

Method(*args, **kwargs)

Undocumented.

Method2(...)

Undocumented.

Option(**kwargs)

Undocumented.

Param(*args, **kwargs)

Undocumented.

ParamStyle(...)

Any str out of ['plain', 'query', 'matrix', 'header', 'template'].

Representation(*args, **kwargs)

Undocumented.

Request(*args, **kwargs)

Undocumented.

Resource(*args, **kwargs)

Undocumented.

ResourceType(*args, **kwargs)

Undocumented.

Resources(*args, **kwargs)

Undocumented.

Response(*args, **kwargs)

Undocumented.

class HTTPMethods(...) str[source]

Bases: StringChoice

Any str out of ['GET', 'POST', 'PUT', 'HEAD', 'DELETE'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class ParamStyle(...) str[source]

Bases: StringChoice

Any str out of ['plain', 'query', 'matrix', 'header', 'template'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class Doc(**kwargs)[source]

Bases: Object

Undocumented.

title

str, optional

class Method2(...) str[source]

Bases: StringUnion

Undocumented.

class Include(**kwargs)[source]

Bases: Object

Undocumented.

href

str, optional

doc_list

list of Doc objects, default: []

class Option(**kwargs)[source]

Bases: Object

Undocumented.

value

str

media_type

str, optional

doc_list

list of Doc objects, default: []

Bases: Object

Undocumented.

resource_type

str, optional

rel

str, optional

rev

str, optional

doc_list

list of Doc objects, default: []

class Grammars(**kwargs)[source]

Bases: Object

Undocumented.

doc_list

list of Doc objects, default: []

include_list

list of Include objects, default: []

class Element(*args, **kwargs)[source]

Bases: Object

Undocumented.

class Param(*args, **kwargs)[source]

Bases: Element

Undocumented.

href

str, optional

name

str, optional

style

str (ParamStyle), optional

id

str, optional

type

str, optional, default: 'xs:string'

default

str, optional

required

bool, optional, default: 'false'

repeating

bool, optional, default: 'false'

fixed

str, optional

path

str, optional

doc_list

list of Doc objects, default: []

option_list

list of Option objects, default: []

Link, optional

class Representation(*args, **kwargs)[source]

Bases: Element

Undocumented.

id

str, optional

element

str, optional

media_type

str, optional

href

str, optional

profile

list of str objects, optional

doc_list

list of Doc objects, default: []

param_list

list of Param objects, default: []

class Request(*args, **kwargs)[source]

Bases: Element

Undocumented.

doc_list

list of Doc objects, default: []

param_list

list of Param objects, default: []

representation_list

list of Representation objects, default: []

class Response(*args, **kwargs)[source]

Bases: Element

Undocumented.

status

list of int objects, optional

doc_list

list of Doc objects, default: []

param_list

list of Param objects, default: []

representation_list

list of Representation objects, default: []

class Method(*args, **kwargs)[source]

Bases: Element

Undocumented.

id

str, optional

name

str, optional

href

str, optional

doc_list

list of Doc objects, default: []

request

Request, optional

response_list

list of Response objects, default: []

class Resource(*args, **kwargs)[source]

Bases: Element

Undocumented.

id

str, optional

type

str, optional

query_type

str, optional, default: 'application/x-www-form-urlencoded'

path

str, optional

doc_list

list of Doc objects, default: []

param_list

list of Param objects, default: []

method_list

list of Method objects, default: []

resource_list

list of Resource objects, default: []

class Resources(*args, **kwargs)[source]

Bases: Element

Undocumented.

base

str, optional

doc_list

list of Doc objects, default: []

resource_list

list of Resource objects, default: []

class ResourceType(*args, **kwargs)[source]

Bases: Element

Undocumented.

id

str, optional

doc_list

list of Doc objects, default: []

param_list

list of Param objects, default: []

method_list

list of Method objects, default: []

resource_list

list of Resource objects, default: []

class Application(*args, **kwargs)[source]

Bases: Element

Undocumented.

doc_list

list of Doc objects, default: []

grammars

Grammars, optional

resources_list

list of Resources objects, default: []

resource_type_list

list of ResourceType objects, default: []

method_list

list of Method objects, default: []

representation_list

list of Representation objects, default: []

param_list

list of Param objects, default: []