类 EdgeMappingTypeTriplet
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.EdgeMappingTypeTriplet
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class EdgeMappingTypeTriplet extends Object
source label -> [edge label] -> destination label
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classEdgeMappingTypeTriplet.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DESTINATION_VERTEXstatic StringSERIALIZED_NAME_EDGEstatic StringSERIALIZED_NAME_SOURCE_VERTEX
-
构造器概要
构造器 构造器 说明 EdgeMappingTypeTriplet()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 EdgeMappingTypeTripletdestinationVertex(String destinationVertex)EdgeMappingTypeTripletedge(String edge)booleanequals(Object o)static EdgeMappingTypeTripletfromJson(String jsonString)Create an instance of EdgeMappingTypeTriplet given an JSON stringStringgetDestinationVertex()Get destinationVertexStringgetEdge()Get edgeStringgetSourceVertex()Get sourceVertexinthashCode()voidsetDestinationVertex(String destinationVertex)voidsetEdge(String edge)voidsetSourceVertex(String sourceVertex)EdgeMappingTypeTripletsourceVertex(String sourceVertex)StringtoJson()Convert an instance of EdgeMappingTypeTriplet to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
方法详细资料
-
edge
public EdgeMappingTypeTriplet edge(String edge)
-
setEdge
public void setEdge(String edge)
-
sourceVertex
public EdgeMappingTypeTriplet sourceVertex(String sourceVertex)
-
setSourceVertex
public void setSourceVertex(String sourceVertex)
-
destinationVertex
public EdgeMappingTypeTriplet destinationVertex(String destinationVertex)
-
getDestinationVertex
@Nullable public String getDestinationVertex()
Get destinationVertex- 返回:
- destinationVertex
-
setDestinationVertex
public void setDestinationVertex(String destinationVertex)
-
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 EdgeMappingTypeTriplet
-
fromJson
public static EdgeMappingTypeTriplet fromJson(String jsonString) throws IOException
Create an instance of EdgeMappingTypeTriplet given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EdgeMappingTypeTriplet
- 抛出:
IOException- if the JSON string is invalid with respect to EdgeMappingTypeTriplet
-
toJson
public String toJson()
Convert an instance of EdgeMappingTypeTriplet to an JSON string- 返回:
- JSON string
-
-