Package org.miaixz.bus.gitlab.models
Class TopicParams
java.lang.Object
org.miaixz.bus.gitlab.models.TopicParams
- All Implemented Interfaces:
Serializable
This class is utilized by the
TopicsApi.createTopic(TopicParams)
and TopicsApi.updateTopic(Integer, TopicParams) methods to set
the parameters for the call to the GitLab API.
Avatar Upload has its own Upload in TopicsApi.updateTopicAvatar(Integer, File)- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetForm(boolean isCreate) Get the form params for a group create oir update call.withDescription(String description)
-
Constructor Details
-
TopicParams
public TopicParams()
-
-
Method Details
-
withName
-
withTitle
-
withDescription
-
getForm
Get the form params for a group create oir update call.- Parameters:
isCreate- set to true for a create group call, false for update- Returns:
- a GitLabApiForm instance holding the parameters for the group create or update operation
- Throws:
RuntimeException- if required parameters are missing
-