Class WriteParams

java.lang.Object
com.onenetwork.platform.restapi.WriteParams

public class WriteParams
extends java.lang.Object
Encapsulates all parameters which go into invoking write action for model rest resource programmatically
  • Constructor Summary

    Constructors 
    Constructor Description
    WriteParams()  
  • Method Summary

    Modifier and Type Method Description
    org.json.JSONArray getRecords()  
    java.lang.String getResourceActionName()  
    java.lang.String getResourceName()  
    void setRecords​(org.json.JSONArray records)  
    void setResourceActionName​(java.lang.String resourceActionName)  
    void setResourceName​(java.lang.String resourceName)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getRecords

      public org.json.JSONArray getRecords()
      Returns:
      the records
    • setRecords

      public void setRecords​(org.json.JSONArray records)
      Parameters:
      records - the records to set
    • getResourceName

      public java.lang.String getResourceName()
      Returns:
      the resourceName
    • setResourceName

      public void setResourceName​(java.lang.String resourceName)
      Parameters:
      resourceName - the resourceName to set
    • getResourceActionName

      public java.lang.String getResourceActionName()
      Returns:
      the resourceActionName
    • setResourceActionName

      public void setResourceActionName​(java.lang.String resourceActionName)
      Parameters:
      resourceActionName - the resourceActionName to set