类 VertexData
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.VertexData
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class VertexData extends Object
VertexData
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classVertexData.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_LABELstatic StringSERIALIZED_NAME_VALUES
-
构造器概要
构造器 构造器 说明 VertexData()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 VertexDataaddValuesItem(Property valuesItem)booleanequals(Object o)static VertexDatafromJson(String jsonString)Create an instance of VertexData given an JSON stringStringgetLabel()Get labelList<Property>getValues()Get valuesinthashCode()VertexDatalabel(String label)voidsetLabel(String label)voidsetValues(List<Property> values)StringtoJson()Convert an instance of VertexData to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundVertexDatavalues(List<Property> values)
-
-
-
方法详细资料
-
label
public VertexData label(String label)
-
setLabel
public void setLabel(String label)
-
values
public VertexData values(List<Property> values)
-
addValuesItem
public VertexData addValuesItem(Property valuesItem)
-
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 VertexData
-
fromJson
public static VertexData fromJson(String jsonString) throws IOException
Create an instance of VertexData given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of VertexData
- 抛出:
IOException- if the JSON string is invalid with respect to VertexData
-
toJson
public String toJson()
Convert an instance of VertexData to an JSON string- 返回:
- JSON string
-
-