Package com.qiniu.qvs
Class TemplateManager
- java.lang.Object
-
- com.qiniu.qvs.TemplateManager
-
public class TemplateManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TemplateManager(Auth auth)TemplateManager(Auth auth, java.lang.String apiServer)TemplateManager(Auth auth, java.lang.String apiServer, Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponsecreateTemplate(Template template)ResponsedeleteTemplate(java.lang.String templateId)ResponselistTemplate(int offset, int line, int templateType, java.lang.String match)ResponsequeryTemplate(java.lang.String templateId)ResponseupdateTemplate(java.lang.String templateId, PatchOperation[] patchOperation)
-
-
-
Method Detail
-
createTemplate
public Response createTemplate(Template template) throws QiniuException
- Throws:
QiniuException
-
deleteTemplate
public Response deleteTemplate(java.lang.String templateId) throws QiniuException
- Throws:
QiniuException
-
updateTemplate
public Response updateTemplate(java.lang.String templateId, PatchOperation[] patchOperation) throws QiniuException
- Throws:
QiniuException
-
queryTemplate
public Response queryTemplate(java.lang.String templateId) throws QiniuException
- Throws:
QiniuException
-
listTemplate
public Response listTemplate(int offset, int line, int templateType, java.lang.String match) throws QiniuException
- Throws:
QiniuException
-
-