A link in the broad hypermedia sense
The url for this link
Returns a two character representation of the link factor.
Returns True if this link is simply to be followed
The HTTP method of the link
Returns the active form for the link. Returns None if there is no form.
Returns the validation errors belonging to the form
Returns a link representing the result of the action taken. The resource_item of the link may represent the updated/created object or in the case of a collection resource item you get access to the filter items
Follows the link to the endpoint in a subrequest Returns a link representing the endpoint response
Incapsulates logic related to a link. This class is responsible for:
Checks the state and returns False if the link is not active.
Return type: | boolean |
---|
Return type: | dict |
---|
Return type: | dict |
---|
Creates and returns the link
Return type: | Link |
---|
Called when the link is submitted. Returns a link representing the response.
Return type: | Link |
---|
Returns a link for a successful submission
Return type: | Link |
---|