public class DBItem extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DBItem() | 
| DBItem(DBItem source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDBMode()Get Database selection mode, which is required if `ObjectMode` is `partial`. | 
| String | getDbName()Get Name of the database to be migrated or synced, which is required if `ObjectMode` is `partial`. | 
| String | getEventMode()Get Sync mode. | 
| String[] | getEvents()Get This parameter is required if `EventMode` is `partial`. | 
| String | getFunctionMode()Get Sync mode. | 
| String[] | getFunctions()Get This parameter is required if `FunctionMode` is `partial`. | 
| String | getNewDbName()Get Name of the database after migration or sync, which is the same as the source database name by default. | 
| String | getNewSchemaName()Get Name of the schema after migration or sync
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getProcedureMode()Get Sync mode. | 
| String[] | getProcedures()Get This parameter is required if `ProcedureMode` is `partial`. | 
| String | getRoleMode()Get Role selection mode, which is exclusive to PostgreSQL. | 
| RoleItem[] | getRoles()Get Role, which is exclusive to PostgreSQL and required if `RoleMode` is `partial`. | 
| String | getSchemaMode()Get Schema selection mode. | 
| String | getSchemaName()Get The schema to be migrated or synced
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getTableMode()Get Table selection mode, which is required if `DBMode` is `partial`. | 
| TableItem[] | getTables()Get The set of table objects, which is required if `TableMode` is `partial`. | 
| String | getTriggerMode()Get Sync mode. | 
| String[] | getTriggers()Get This parameter is required if `TriggerMode` is `partial`. | 
| String | getViewMode()Get View selection mode. | 
| ViewItem[] | getViews()Get The set of view objects, which is required if `ViewMode` is `partial`. | 
| void | setDBMode(String DBMode)Set Database selection mode, which is required if `ObjectMode` is `partial`. | 
| void | setDbName(String DbName)Set Name of the database to be migrated or synced, which is required if `ObjectMode` is `partial`. | 
| void | setEventMode(String EventMode)Set Sync mode. | 
| void | setEvents(String[] Events)Set This parameter is required if `EventMode` is `partial`. | 
| void | setFunctionMode(String FunctionMode)Set Sync mode. | 
| void | setFunctions(String[] Functions)Set This parameter is required if `FunctionMode` is `partial`. | 
| void | setNewDbName(String NewDbName)Set Name of the database after migration or sync, which is the same as the source database name by default. | 
| void | setNewSchemaName(String NewSchemaName)Set Name of the schema after migration or sync
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setProcedureMode(String ProcedureMode)Set Sync mode. | 
| void | setProcedures(String[] Procedures)Set This parameter is required if `ProcedureMode` is `partial`. | 
| void | setRoleMode(String RoleMode)Set Role selection mode, which is exclusive to PostgreSQL. | 
| void | setRoles(RoleItem[] Roles)Set Role, which is exclusive to PostgreSQL and required if `RoleMode` is `partial`. | 
| void | setSchemaMode(String SchemaMode)Set Schema selection mode. | 
| void | setSchemaName(String SchemaName)Set The schema to be migrated or synced
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setTableMode(String TableMode)Set Table selection mode, which is required if `DBMode` is `partial`. | 
| void | setTables(TableItem[] Tables)Set The set of table objects, which is required if `TableMode` is `partial`. | 
| void | setTriggerMode(String TriggerMode)Set Sync mode. | 
| void | setTriggers(String[] Triggers)Set This parameter is required if `TriggerMode` is `partial`. | 
| void | setViewMode(String ViewMode)Set View selection mode. | 
| void | setViews(ViewItem[] Views)Set The set of view objects, which is required if `ViewMode` is `partial`. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DBItem()
public DBItem(DBItem source)
public String getDbName()
public void setDbName(String DbName)
DbName - Name of the database to be migrated or synced, which is required if `ObjectMode` is `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public String getNewDbName()
public void setNewDbName(String NewDbName)
NewDbName - Name of the database after migration or sync, which is the same as the source database name by default.
Note: This field may return null, indicating that no valid values can be obtained.public String getSchemaName()
public void setSchemaName(String SchemaName)
SchemaName - The schema to be migrated or synced
Note: This field may return null, indicating that no valid values can be obtained.public String getNewSchemaName()
public void setNewSchemaName(String NewSchemaName)
NewSchemaName - Name of the schema after migration or sync
Note: This field may return null, indicating that no valid values can be obtained.public String getDBMode()
public void setDBMode(String DBMode)
DBMode - Database selection mode, which is required if `ObjectMode` is `partial`. Valid values: `all`, `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public String getSchemaMode()
public void setSchemaMode(String SchemaMode)
SchemaMode - Schema selection mode. Valid values: `all`, `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public String getTableMode()
public void setTableMode(String TableMode)
TableMode - Table selection mode, which is required if `DBMode` is `partial`. Valid values: `all`, `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public TableItem[] getTables()
public void setTables(TableItem[] Tables)
Tables - The set of table objects, which is required if `TableMode` is `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public String getViewMode()
public void setViewMode(String ViewMode)
ViewMode - View selection mode. Valid values: `all`, `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public ViewItem[] getViews()
public void setViews(ViewItem[] Views)
Views - The set of view objects, which is required if `ViewMode` is `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public String getRoleMode()
public void setRoleMode(String RoleMode)
RoleMode - Role selection mode, which is exclusive to PostgreSQL. Valid values: `all`, `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public RoleItem[] getRoles()
public void setRoles(RoleItem[] Roles)
Roles - Role, which is exclusive to PostgreSQL and required if `RoleMode` is `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public String getFunctionMode()
public void setFunctionMode(String FunctionMode)
FunctionMode - Sync mode. Valid values: `partial`, `all`.
Note: This field may return null, indicating that no valid values can be obtained.public String getTriggerMode()
public void setTriggerMode(String TriggerMode)
TriggerMode - Sync mode. Valid values: `partial`, `all`.
Note: This field may return null, indicating that no valid values can be obtained.public String getEventMode()
public void setEventMode(String EventMode)
EventMode - Sync mode. Valid values: `partial`, `all`.
Note: This field may return null, indicating that no valid values can be obtained.public String getProcedureMode()
public void setProcedureMode(String ProcedureMode)
ProcedureMode - Sync mode. Valid values: `partial`, `all`.
Note: This field may return null, indicating that no valid values can be obtained.public String[] getFunctions()
public void setFunctions(String[] Functions)
Functions - This parameter is required if `FunctionMode` is `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public String[] getProcedures()
public void setProcedures(String[] Procedures)
Procedures - This parameter is required if `ProcedureMode` is `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public String[] getEvents()
public void setEvents(String[] Events)
Events - This parameter is required if `EventMode` is `partial`.
Note: This field may return null, indicating that no valid values can be obtained.public String[] getTriggers()
public void setTriggers(String[] Triggers)
Triggers - This parameter is required if `TriggerMode` is `partial`.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.