public interface PlanScriptClient extends SearchableResource<PlanScript>
SearchableResource.GetByNameRequestInterceptor
Modifier and Type | Field and Description |
---|---|
static String |
PLAN_SCRIPT_DIFFERENCES_URI |
static String |
PLAN_SCRIPT_URI |
Modifier and Type | Method and Description |
---|---|
PlanScript |
create(PlanScript resource)
Creates a resource according to the provided
resource object. |
String |
delete(String resourceId)
Deletes the resource identified by the provided
resourceId . |
ScriptDifferences |
getDifferences(String resourceId,
String script)
Retrieves the modified contents of the selected Plan Script according to
the provided
requestBody object, as per the selected attributes. |
PlanScript |
update(String resourceId,
PlanScript resource)
Updates the resource identified by
resourceId according to the
provided resource object. |
getByName
static final String PLAN_SCRIPT_URI
static final String PLAN_SCRIPT_DIFFERENCES_URI
PlanScript create(PlanScript resource)
resource
object.resource
- object containing the details of the resource that should be created.PlanScript
object containing the result of this request.PlanScript update(String resourceId, PlanScript resource)
resourceId
according to the
provided resource
object.resourceId
- resource identifierresource
- object containing the details of the resource that should be created.PlanScript
object containing the result of this request.String delete(String resourceId)
resourceId
.resourceId
- resource identifierString
object containing the result of this request.ScriptDifferences getDifferences(String resourceId, String script)
requestBody
object, as per the selected attributes.resourceId
- resource identifierscript
- object containing the script to be compared.ScriptDifferences
object containing the result of this request.Copyright © 2017. All rights reserved.