类 BaseEdgeType
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.BaseEdgeType
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class BaseEdgeType extends Object
BaseEdgeType
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classBaseEdgeType.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_TYPE_NAMEstatic StringSERIALIZED_NAME_VERTEX_TYPE_PAIR_RELATIONS
-
构造器概要
构造器 构造器 说明 BaseEdgeType()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 BaseEdgeTypeaddVertexTypePairRelationsItem(BaseEdgeTypeVertexTypePairRelationsInner vertexTypePairRelationsItem)booleanequals(Object o)static BaseEdgeTypefromJson(String jsonString)Create an instance of BaseEdgeType given an JSON stringStringgetTypeName()Get typeNameList<BaseEdgeTypeVertexTypePairRelationsInner>getVertexTypePairRelations()Get vertexTypePairRelationsinthashCode()voidsetTypeName(String typeName)voidsetVertexTypePairRelations(List<BaseEdgeTypeVertexTypePairRelationsInner> vertexTypePairRelations)StringtoJson()Convert an instance of BaseEdgeType to an JSON stringStringtoString()BaseEdgeTypetypeName(String typeName)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundBaseEdgeTypevertexTypePairRelations(List<BaseEdgeTypeVertexTypePairRelationsInner> vertexTypePairRelations)
-
-
-
方法详细资料
-
typeName
public BaseEdgeType typeName(String typeName)
-
setTypeName
public void setTypeName(String typeName)
-
vertexTypePairRelations
public BaseEdgeType vertexTypePairRelations(List<BaseEdgeTypeVertexTypePairRelationsInner> vertexTypePairRelations)
-
addVertexTypePairRelationsItem
public BaseEdgeType addVertexTypePairRelationsItem(BaseEdgeTypeVertexTypePairRelationsInner vertexTypePairRelationsItem)
-
getVertexTypePairRelations
@Nullable public List<BaseEdgeTypeVertexTypePairRelationsInner> getVertexTypePairRelations()
Get vertexTypePairRelations- 返回:
- vertexTypePairRelations
-
setVertexTypePairRelations
public void setVertexTypePairRelations(List<BaseEdgeTypeVertexTypePairRelationsInner> vertexTypePairRelations)
-
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 BaseEdgeType
-
fromJson
public static BaseEdgeType fromJson(String jsonString) throws IOException
Create an instance of BaseEdgeType given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of BaseEdgeType
- 抛出:
IOException- if the JSON string is invalid with respect to BaseEdgeType
-
toJson
public String toJson()
Convert an instance of BaseEdgeType to an JSON string- 返回:
- JSON string
-
-