the object used to assign the properties
This property is true when either methods array does not exist
in the self link or the array exists and contains POST string.
It is false otherwise.
This property is true when either methods array does not exist
in the self link or the array exists and contains DELETE
string. It is false otherwise.
This property is true when either methods array does not exist
in the self link or the array exists and contains GET string.
It is false otherwise.
This property is true when either methods array does not exist
in the self link or the array exists and contains PUT string.
It is false otherwise.
The URI of self link.
Create a new resource in the collection identified by self link.
It makes a POST call to the URI in self link and returns an
observable for the call. The observable normally emits an accessor
for the newly created resource or undefined if Location header
was not returned by the call.
the payload for the POST method call
an observable of the resource's accessor
Delete the resource identified by self link.
an observable that emits next signal on successful delete
Returns a single embedded resource or undefined if no such
embedded exists. If the named resource is an array it returns
the first element.
the resource type
the name of the embedded resource
the resource or undefined
Returns an embedded array of resources or undefined if the named
embedded does not exist. If the named resource is not an array it
wraps the resource in an array.
the element resource type
the name of the embedded resource array
the resource array or undefined
Refresh the the resource. In other words, read the resource
identified by self link.
an observable of the refreshed resource instance
Persit the resource. Uses PUT request to send the new resource
state.
an observable of resource accessor
This class repesents an in-memory instance of a HAL resource.