code: public static base_response add(nitro_service client, transformaction resource) throws Exception {
  		transformaction addresource = new transformaction();
  		addresource.name = resource.name;
  		addresource.profilename = resource.profilename;
  		addresource.priority = resource.priority;
  		addresource.state = resource.state;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add transformaction.