Package io.github.kaposke.services
Class DocService
java.lang.Object
io.github.kaposke.services.BaseService
io.github.kaposke.services.DocService
- All Implemented Interfaces:
DocClient
-
Field Summary
Fields inherited from class io.github.kaposke.services.BaseService
httpClient -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateDocRequest input) findDocs(float offset, float limit, float artifactId) getAllApprovedByOrgSlugAndApiSlug(String orgSlug, String apiSlug, String apiVersion) getApprovedByOrgSlugAndApiSlug(String orgSlug, String apiSlug, String apiVersion) getById(float id) remove(float id) update(UpdateDocRequest input, float id) Methods inherited from class io.github.kaposke.services.BaseService
execute
-
Constructor Details
-
DocService
public DocService(okhttp3.OkHttpClient httpClient)
-
-
Method Details
-
getApprovedByOrgSlugAndApiSlug
public DocResponse getApprovedByOrgSlugAndApiSlug(String orgSlug, String apiSlug, String apiVersion) throws ApiException - Specified by:
getApprovedByOrgSlugAndApiSlugin interfaceDocClient- Throws:
ApiException
-
getAllApprovedByOrgSlugAndApiSlug
public List<DocResponse> getAllApprovedByOrgSlugAndApiSlug(String orgSlug, String apiSlug, String apiVersion) throws ApiException - Specified by:
getAllApprovedByOrgSlugAndApiSlugin interfaceDocClient- Throws:
ApiException
-
findDocs
- Specified by:
findDocsin interfaceDocClient- Throws:
ApiException
-
create
- Specified by:
createin interfaceDocClient- Throws:
ApiException
-
approve
- Specified by:
approvein interfaceDocClient- Throws:
ApiException
-
getById
- Specified by:
getByIdin interfaceDocClient- Throws:
ApiException
-
update
- Specified by:
updatein interfaceDocClient- Throws:
ApiException
-
remove
- Specified by:
removein interfaceDocClient- Throws:
ApiException
-