Home Reference Source Repository
import InputPort from 'rodan-client/js/Models/InputPort.js'
public class | source

InputPort

Extends:

backbone~Backbone.ModelBaseModel → InputPort

InputPort.

Method Summary

Public Methods
public

Override of Backbone.Model.defaults.

public

Returns human-readable descriptive text.

Inherited Summary

From class BaseModel
public

destroy(options: object)

Override of destroy to allow for generic handling.

public

fetch(options: object)

Override of fetch to allow for generic handling.

public

Returns descriptive string for model.

public

Parses ID out of resource type URL.

public

save(attributes: object, options: object): *

Override of save to allow for generic handling.

public

url(): string

URL override to add trailing slash.

Public Methods

public defaults(): object source

Override of Backbone.Model.defaults. Sets default label to null.

Return:

object

defaults

public getDescription(): string source

Returns human-readable descriptive text.

Override:

BaseModel#getDescription

Return:

string

'label' property