public class Behavior extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
Boolean |
attachmentDelete
If `true`, delete the file stored in `attachment`.
|
byte[] |
attachmentFile
Certain behaviors may require a file, for instance, the `watermark` behavior requires a watermark image.
|
String |
attachmentUrl
URL for attached file
|
String |
behavior
Behavior type.
|
String |
description
Description for this behavior.
|
Boolean |
disableParentFolderBehavior
If true, the parent folder's behavior will be disabled for this folder and its children.
|
Long |
id
Folder behavior ID
|
String |
name
Name for this behavior.
|
String |
path
Folder path.
|
Boolean |
recursive
Is behavior recursive?
|
Map<String,String> |
value
Settings for this behavior.
|
| Constructor and Description |
|---|
Behavior() |
Behavior(HashMap<String,Object> parameters) |
Behavior(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static ListIterator<Behavior> |
all() |
static ListIterator<Behavior> |
all(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Behavior |
create(HashMap<String,Object> parameters)
Parameters:
value - string - This field stores a hash of data specific to the type of behavior.
|
static Behavior |
create(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
delete() |
static void |
delete(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
delete(Long id,
HashMap<String,Object> parameters) |
static void |
delete(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
destroy() |
void |
destroy(HashMap<String,Object> parameters) |
static void |
destroy(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Behavior |
find(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Behavior |
find(Long id,
HashMap<String,Object> parameters)
Parameters:
id (required) - int64 - Behavior ID.
|
static Behavior |
find(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Behavior |
get() |
static Behavior |
get(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<Behavior> |
list()
Parameters:
cursor - string - Used for pagination.
|
static ListIterator<Behavior> |
list(HashMap<String,Object> parameters) |
static ListIterator<Behavior> |
list(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<Behavior> |
listFor()
Parameters:
cursor - string - Used for pagination.
|
static ListIterator<Behavior> |
listFor(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<Behavior> |
listFor(String path,
HashMap<String,Object> parameters) |
static ListIterator<Behavior> |
listFor(String path,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
Behavior |
update()
Parameters:
value - string - This field stores a hash of data specific to the type of behavior.
|
static Behavior |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Behavior |
update(Long id,
HashMap<String,Object> parameters)
Parameters:
value - string - This field stores a hash of data specific to the type of behavior.
|
static Behavior |
update(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
webhookTest(HashMap<String,Object> parameters)
Parameters:
url (required) - string - URL for testing the webhook.
|
static void |
webhookTest(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic Long id
public String path
public String attachmentUrl
public String behavior
public String name
public String description
public Map<String,String> value
public Boolean disableParentFolderBehavior
public Boolean recursive
public byte[] attachmentFile
public Boolean attachmentDelete
public Behavior update() throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void destroy(HashMap<String,Object> parameters) throws IOException
IOExceptionpublic void save()
throws IOException
IOExceptionpublic static ListIterator<Behavior> list() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Behavior> list(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Behavior> list(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Behavior> all() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Behavior> all(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Behavior find(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Behavior find(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Behavior find(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Behavior get() throws RuntimeException
RuntimeExceptionpublic static Behavior get(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Behavior> listFor() throws RuntimeException
RuntimeExceptionpublic static ListIterator<Behavior> listFor(String path, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Behavior> listFor(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<Behavior> listFor(String path, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Behavior create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Behavior create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void webhookTest(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void webhookTest(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Behavior update(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Behavior update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Behavior update(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void delete(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void destroy()
throws RuntimeException
RuntimeExceptionpublic static void destroy(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionCopyright © 2024 com.github.files-com. All rights reserved.