类 StoredProcedureMeta
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.StoredProcedureMeta
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class StoredProcedureMeta extends Object
StoredProcedureMeta
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classStoredProcedureMeta.CustomTypeAdapterFactorystatic classStoredProcedureMeta.TypeEnumGets or Sets type
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_ENABLEstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LIBRARYstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PARAMSstatic StringSERIALIZED_NAME_QUERYstatic StringSERIALIZED_NAME_RETURNSstatic StringSERIALIZED_NAME_TYPE
-
构造器概要
构造器 构造器 说明 StoredProcedureMeta()
-
方法概要
-
-
-
方法详细资料
-
name
public StoredProcedureMeta name(String name)
-
setName
public void setName(String name)
-
description
public StoredProcedureMeta description(String description)
-
setDescription
public void setDescription(String description)
-
type
public StoredProcedureMeta type(StoredProcedureMeta.TypeEnum type)
-
getType
@Nonnull public StoredProcedureMeta.TypeEnum getType()
Get type- 返回:
- type
-
setType
public void setType(StoredProcedureMeta.TypeEnum type)
-
query
public StoredProcedureMeta query(String query)
-
setQuery
public void setQuery(String query)
-
id
public StoredProcedureMeta id(String id)
-
setId
public void setId(String id)
-
library
public StoredProcedureMeta library(String library)
-
setLibrary
public void setLibrary(String library)
-
params
public StoredProcedureMeta params(List<Parameter> params)
-
addParamsItem
public StoredProcedureMeta addParamsItem(Parameter paramsItem)
-
returns
public StoredProcedureMeta returns(List<Parameter> returns)
-
addReturnsItem
public StoredProcedureMeta addReturnsItem(Parameter returnsItem)
-
enable
public StoredProcedureMeta enable(Boolean enable)
-
setEnable
public void setEnable(Boolean enable)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- 参数:
jsonElement- JSON Element- 抛出:
IOException- if the JSON Element is invalid with respect to StoredProcedureMeta
-
fromJson
public static StoredProcedureMeta fromJson(String jsonString) throws IOException
Create an instance of StoredProcedureMeta given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of StoredProcedureMeta
- 抛出:
IOException- if the JSON string is invalid with respect to StoredProcedureMeta
-
toJson
public String toJson()
Convert an instance of StoredProcedureMeta to an JSON string- 返回:
- JSON string
-
-