类 CreateGraphSchemaRequest
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.CreateGraphSchemaRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class CreateGraphSchemaRequest extends Object
CreateGraphSchemaRequest
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classCreateGraphSchemaRequest.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EDGE_TYPESstatic StringSERIALIZED_NAME_VERTEX_TYPES
-
构造器概要
构造器 构造器 说明 CreateGraphSchemaRequest()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 CreateGraphSchemaRequestaddEdgeTypesItem(CreateEdgeType edgeTypesItem)CreateGraphSchemaRequestaddVertexTypesItem(CreateVertexType vertexTypesItem)CreateGraphSchemaRequestedgeTypes(List<CreateEdgeType> edgeTypes)booleanequals(Object o)static CreateGraphSchemaRequestfromJson(String jsonString)Create an instance of CreateGraphSchemaRequest given an JSON stringList<CreateEdgeType>getEdgeTypes()Get edgeTypesList<CreateVertexType>getVertexTypes()Get vertexTypesinthashCode()voidsetEdgeTypes(List<CreateEdgeType> edgeTypes)voidsetVertexTypes(List<CreateVertexType> vertexTypes)StringtoJson()Convert an instance of CreateGraphSchemaRequest to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundCreateGraphSchemaRequestvertexTypes(List<CreateVertexType> vertexTypes)
-
-
-
方法详细资料
-
vertexTypes
public CreateGraphSchemaRequest vertexTypes(List<CreateVertexType> vertexTypes)
-
addVertexTypesItem
public CreateGraphSchemaRequest addVertexTypesItem(CreateVertexType vertexTypesItem)
-
getVertexTypes
@Nullable public List<CreateVertexType> getVertexTypes()
Get vertexTypes- 返回:
- vertexTypes
-
setVertexTypes
public void setVertexTypes(List<CreateVertexType> vertexTypes)
-
edgeTypes
public CreateGraphSchemaRequest edgeTypes(List<CreateEdgeType> edgeTypes)
-
addEdgeTypesItem
public CreateGraphSchemaRequest addEdgeTypesItem(CreateEdgeType edgeTypesItem)
-
getEdgeTypes
@Nullable public List<CreateEdgeType> getEdgeTypes()
Get edgeTypes- 返回:
- edgeTypes
-
setEdgeTypes
public void setEdgeTypes(List<CreateEdgeType> edgeTypes)
-
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 CreateGraphSchemaRequest
-
fromJson
public static CreateGraphSchemaRequest fromJson(String jsonString) throws IOException
Create an instance of CreateGraphSchemaRequest given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of CreateGraphSchemaRequest
- 抛出:
IOException- if the JSON string is invalid with respect to CreateGraphSchemaRequest
-
toJson
public String toJson()
Convert an instance of CreateGraphSchemaRequest to an JSON string- 返回:
- JSON string
-
-