Package zendeskapi.models.macros

Examples of zendeskapi.models.macros.Action


  @Test
  public void testCreateUpdateApplyAndDeleteMacro() throws Exception {
    Macro macro = new Macro();
    macro.setTitle("Test Macro 1");
    List<Action> actions = new ArrayList<Action>();
    Action action = new Action();
    action.setField("status");
    action.setValue("open");
    actions.add(action);
    macro.setActions(actions);
   
    // Create
    Macro responseMacro = API.getMacros().createMacro(macro).getMacro();
View Full Code Here

TOP

Related Classes of zendeskapi.models.macros.Action

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.