Package io.dialob.api.client
Interface DialobFormServiceApi
-
- All Superinterfaces:
ApiClient.Api
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2022-09-10T07:26:15.013471Z[Etc/UTC]") public interface DialobFormServiceApi extends ApiClient.Api
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDialobFormServiceApi.GetFormQueryParamsA convenience class for generating query parameters for thegetFormmethod in a fluent style.static classDialobFormServiceApi.GetTagsQueryParamsA convenience class for generating query parameters for thegetTagsmethod in a fluent style.static classDialobFormServiceApi.PostFormTagQueryParamsA convenience class for generating query parameters for thepostFormTagmethod in a fluent style.static classDialobFormServiceApi.PutFormQueryParamsA convenience class for generating query parameters for theputFormmethod in a fluent style.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponsedeleteForm(String formId)deleteFormFormgetForm(String formId, String rev)getFormFormgetForm(String formId, Map<String,Object> queryParams)getForm Note, this is equivalent to the othergetFormmethod, but with the query parameters collected into a single Map parameter.FormTaggetFormTag(String formId, String tagName)getFormTagList<FormTag>getFormTags(String formId)getFormTagsList<FormTag>getTags(String formId, String formName, String name)getTagsList<FormTag>getTags(Map<String,Object> queryParams)getTags Note, this is equivalent to the othergetTagsmethod, but with the query parameters collected into a single Map parameter.FormpostForm(Form body)postFormResponsepostFormTag(FormTag body, String formId, String rev, Boolean snapshot)postFormTagResponsepostFormTag(FormTag body, String formId, Map<String,Object> queryParams)postFormTag Note, this is equivalent to the otherpostFormTagmethod, but with the query parameters collected into a single Map parameter.FormPutResponseputForm(Form body, String formId, Boolean force, String newId, String oldId)putFormFormPutResponseputForm(Form body, String formId, Map<String,Object> queryParams)putForm Note, this is equivalent to the otherputFormmethod, but with the query parameters collected into a single Map parameter.ResponseputFormTagLatest(FormTag body, String formId)putFormTagLatest
-
-
-
Method Detail
-
deleteForm
Response deleteForm(String formId)
deleteForm- Parameters:
formId- formId (required)- Returns:
- Response
-
getForm
Form getForm(String formId, String rev)
getForm- Parameters:
formId- formId (required)rev- rev (optional)- Returns:
- Form
-
getForm
Form getForm(String formId, Map<String,Object> queryParams)
getForm Note, this is equivalent to the othergetFormmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theDialobFormServiceApi.GetFormQueryParamsclass that allows for building up this map in a fluent style.- Parameters:
formId- formId (required)queryParams- Map of query parameters as name-value pairsThe following elements may be specified in the query map:
- rev - rev (optional)
- Returns:
- Form
-
getFormTag
FormTag getFormTag(String formId, String tagName)
getFormTag- Parameters:
formId- formId (required)tagName- tagName (required)- Returns:
- FormTag
-
getFormTags
List<FormTag> getFormTags(String formId)
getFormTags- Parameters:
formId- formId (required)- Returns:
- List<FormTag>
-
getTags
List<FormTag> getTags(String formId, String formName, String name)
getTags- Parameters:
formId- formId (optional)formName- formName (optional)name- name (optional)- Returns:
- List<FormTag>
-
getTags
List<FormTag> getTags(Map<String,Object> queryParams)
getTags Note, this is equivalent to the othergetTagsmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theDialobFormServiceApi.GetTagsQueryParamsclass that allows for building up this map in a fluent style.- Parameters:
queryParams- Map of query parameters as name-value pairsThe following elements may be specified in the query map:
- formId - formId (optional)
- formName - formName (optional)
- name - name (optional)
- Returns:
- List<FormTag>
-
postFormTag
Response postFormTag(FormTag body, String formId, String rev, Boolean snapshot)
postFormTag- Parameters:
body- New tag (required)formId- formId (required)rev- rev (optional)snapshot- snapshot (optional, default to false)- Returns:
- Response
-
postFormTag
Response postFormTag(FormTag body, String formId, Map<String,Object> queryParams)
postFormTag Note, this is equivalent to the otherpostFormTagmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theDialobFormServiceApi.PostFormTagQueryParamsclass that allows for building up this map in a fluent style.- Parameters:
body- New tag (required)formId- formId (required)queryParams- Map of query parameters as name-value pairsThe following elements may be specified in the query map:
- rev - rev (optional)
- snapshot - snapshot (optional, default to false)
- Returns:
- Response
-
putForm
FormPutResponse putForm(Form body, String formId, Boolean force, String newId, String oldId)
putForm- Parameters:
body- New form data (required)formId- formId (required)force- Should update ignore revision number check. (forced update) (optional, default to false)newId- New name for identifier (optional)oldId- Identifier to rename (optional)- Returns:
- FormPutResponse
-
putForm
FormPutResponse putForm(Form body, String formId, Map<String,Object> queryParams)
putForm Note, this is equivalent to the otherputFormmethod, but with the query parameters collected into a single Map parameter. This is convenient for services with optional query parameters, especially when used with theDialobFormServiceApi.PutFormQueryParamsclass that allows for building up this map in a fluent style.- Parameters:
body- New form data (required)formId- formId (required)queryParams- Map of query parameters as name-value pairsThe following elements may be specified in the query map:
- force - Should update ignore revision number check. (forced update) (optional, default to false)
- newId - New name for identifier (optional)
- oldId - Identifier to rename (optional)
- Returns:
- FormPutResponse
-
-