java.lang.Object
org.miaixz.bus.gitlab.models.GitLabForm
-
Constructor Summary
ConstructorsConstructorDescriptionGitLabForm(int page, int perPage) Create a GitLabApiForm instance with the "page", and "per_page" parameters preset. -
Method Summary
Modifier and TypeMethodDescriptionFluent method for adding query and form parameters to a get() or post() call.Fluent method for adding query and form parameters to a get() or post() call.Fluent method for adding Date query and form parameters to a get() or post() call.Fluent method for adding Date query and form parameters to a get() or post() call.Fluent method for adding a List type query and form parameters to a get() or post() call.Fluent method for adding a List type query and form parameters to a get() or post() call.Fluent method for adding an array of hash type query and form parameters to a get() or post() call.withParam(String name, AccessLevel level) Fluent method for adding AccessLevel query and form parameters to a get() or post() call.withParam(String name, AccessLevel level, boolean required) Fluent method for adding AccessLevel query and form parameters to a get() or post() call.
-
Constructor Details
-
GitLabForm
public GitLabForm() -
GitLabForm
public GitLabForm(int page, int perPage) Create a GitLabApiForm instance with the "page", and "per_page" parameters preset.- Parameters:
page- the value for the "page" parameterperPage- the value for the "per_page" parameter
-
-
Method Details
-
withParam
Fluent method for adding query and form parameters to a get() or post() call.- Parameters:
name- the name of the field/attribute to addvalue- the value of the field/attribute to add- Returns:
- this
GitLabForminstance
-
withParam
Fluent method for adding Date query and form parameters to a get() or post() call.- Parameters:
name- the name of the field/attribute to adddate- the value of the field/attribute to add- Returns:
- this
GitLabForminstance
-
withParam
Fluent method for adding Date query and form parameters to a get() or post() call.- Parameters:
name- the name of the field/attribute to adddate- the value of the field/attribute to addrequired- the field is required flag- Returns:
- this
GitLabForminstance
-
withParam
Fluent method for adding AccessLevel query and form parameters to a get() or post() call.- Parameters:
name- the name of the field/attribute to addlevel- the value of the field/attribute to add- Returns:
- this
GitLabForminstance
-
withParam
Fluent method for adding AccessLevel query and form parameters to a get() or post() call.- Parameters:
name- the name of the field/attribute to addlevel- the value of the field/attribute to addrequired- the field is required flag- Returns:
- this
GitLabForminstance
-
withParam
Fluent method for adding a List type query and form parameters to a get() or post() call.- Parameters:
name- the name of the field/attribute to addvalues- a List containing the values of the field/attribute to add- Returns:
- this
GitLabForminstance
-
withParam
Fluent method for adding a List type query and form parameters to a get() or post() call.- Parameters:
name- the name of the field/attribute to addvalues- a List containing the values of the field/attribute to addrequired- the field is required flag- Returns:
- this
GitLabForminstance
-
withParam
Fluent method for adding an array of hash type query and form parameters to a get() or post() call.- Parameters:
name- the name of the field/attribute to addvariables- a Map containing array of hashesrequired- the field is required flag- Returns:
- this
GitLabForminstance
-
withParam
Fluent method for adding query and form parameters to a get() or post() call.- Parameters:
name- the name of the field/attribute to addvalue- the value of the field/attribute to addrequired- the field is required flag- Returns:
- this
GitLabForminstance
-
getFormValues
-