McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 474

↗ View in doc context
page
474
source
finesse/v12.5/developer-guide/developer-guide.md
chunk_id
finesse::v12.5::developer-guide::developer-guide::458

Required Description Type Name Yes The object to retrieve the property from. Object obj Yes The property is the key of the value that will be returned. String property Returns {Object} The value of the property that was requested. hasProperty(obj, property) Determines whether the object has a property. Parameters Required Description Type Name Yes The object to check if the property exists. Object obj Yes The property is the key of the value that will be returned. String property Returns {Boolean} True if the object contains the property, else false. isLoaded() Loads the utility method for operations that require complete instantiation. Throws {Error} If this object is not fully instantiated. Returns {finesse.restservices.RestBase} The RestBase object reference. Makes the isLoaded function available to all the classes which are extending RestBase class. For example, in Dialogs, this.isloaded() can be called Dialogs.js which is the child class of RestBase. refresh(retries) Updates the RestBase object with the latest data by performing an asynchronous GET. The updated object will be returned through the onChange handler, so make sure it is registered. Parameters Required Description Type Name Yes The number of retry attempts to update the RestBase object. Integer retries Returns {Object} The end-call function that signifies the callback handler to not process the response of the asynchronous request. Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 458 Cisco Finesse JavaScript APIs REST Base