|To define the property of a model.
|To change all the attributes that have changed by using set() method.
|To return the model’s attributes that have changed since the last set or becomes false, if there is no attribute.
|To uniquely identify the model on the client.
|To remove all attributes, which also includes the id attribute from a backbone model.
|To create a deep copy of a model or to copy one model object to another object.
|To set a default value to a model.
|To destroy or remove the model from the server.
|To get the html-escaped version of a model’s attributes.
|To extend Backbone.model class while creating a backbone model.
|To accept the data from the server by delegating sync() method in the model.
|To get the value of an attribute in the model.
|To get a true value, if the attribute value is defined with a non-null value or non-undefined value.
|To return TRUE, if the attributes have changed since the last set.
|To identify model entity uniquely.
|To specify the model’s unique identifier.
|To invoke the class’s constructor when model is created.
|To determine whether the model is a new or existing one.
|To checks the model state and to check validations for each attribute.
|To return the model’s data by passing through the response object
|To determine the previous value of the changed attribute.
|To return state of the all attributes prior to last change event.
|To save the data of the model.
|To set the value of an attribute in the model.
|To communicate with the server and to represent state of a model.
|To get a copy of the attributes as an object for JSON stringification.
|To remove an attribute from a backbone model.
|To return URL where model’s resource is located.
|To enable the URL function.
|To validate the input before displaying the result.
|To display an error, if validation fails or after the invalid event is triggered.