类 EdgeRequest
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.EdgeRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class EdgeRequest extends Object
EdgeRequest
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classEdgeRequest.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DST_LABELstatic StringSERIALIZED_NAME_DST_PRIMARY_KEY_VALUEstatic StringSERIALIZED_NAME_EDGE_LABELstatic StringSERIALIZED_NAME_PROPERTIESstatic StringSERIALIZED_NAME_SRC_LABELstatic StringSERIALIZED_NAME_SRC_PRIMARY_KEY_VALUE
-
构造器概要
构造器 构造器 说明 EdgeRequest()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 EdgeRequestaddPropertiesItem(Property propertiesItem)EdgeRequestdstLabel(String dstLabel)EdgeRequestdstPrimaryKeyValue(Object dstPrimaryKeyValue)EdgeRequestedgeLabel(String edgeLabel)booleanequals(Object o)static EdgeRequestfromJson(String jsonString)Create an instance of EdgeRequest given an JSON stringStringgetDstLabel()Get dstLabelObjectgetDstPrimaryKeyValue()Get dstPrimaryKeyValueStringgetEdgeLabel()Get edgeLabelList<Property>getProperties()Get propertiesStringgetSrcLabel()Get srcLabelObjectgetSrcPrimaryKeyValue()Get srcPrimaryKeyValueinthashCode()EdgeRequestproperties(List<Property> properties)voidsetDstLabel(String dstLabel)voidsetDstPrimaryKeyValue(Object dstPrimaryKeyValue)voidsetEdgeLabel(String edgeLabel)voidsetProperties(List<Property> properties)voidsetSrcLabel(String srcLabel)voidsetSrcPrimaryKeyValue(Object srcPrimaryKeyValue)EdgeRequestsrcLabel(String srcLabel)EdgeRequestsrcPrimaryKeyValue(Object srcPrimaryKeyValue)StringtoJson()Convert an instance of EdgeRequest to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
方法详细资料
-
srcLabel
public EdgeRequest srcLabel(String srcLabel)
-
setSrcLabel
public void setSrcLabel(String srcLabel)
-
dstLabel
public EdgeRequest dstLabel(String dstLabel)
-
setDstLabel
public void setDstLabel(String dstLabel)
-
edgeLabel
public EdgeRequest edgeLabel(String edgeLabel)
-
setEdgeLabel
public void setEdgeLabel(String edgeLabel)
-
srcPrimaryKeyValue
public EdgeRequest srcPrimaryKeyValue(Object srcPrimaryKeyValue)
-
getSrcPrimaryKeyValue
@Nullable public Object getSrcPrimaryKeyValue()
Get srcPrimaryKeyValue- 返回:
- srcPrimaryKeyValue
-
setSrcPrimaryKeyValue
public void setSrcPrimaryKeyValue(Object srcPrimaryKeyValue)
-
dstPrimaryKeyValue
public EdgeRequest dstPrimaryKeyValue(Object dstPrimaryKeyValue)
-
getDstPrimaryKeyValue
@Nullable public Object getDstPrimaryKeyValue()
Get dstPrimaryKeyValue- 返回:
- dstPrimaryKeyValue
-
setDstPrimaryKeyValue
public void setDstPrimaryKeyValue(Object dstPrimaryKeyValue)
-
properties
public EdgeRequest properties(List<Property> properties)
-
addPropertiesItem
public EdgeRequest addPropertiesItem(Property propertiesItem)
-
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 EdgeRequest
-
fromJson
public static EdgeRequest fromJson(String jsonString) throws IOException
Create an instance of EdgeRequest given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EdgeRequest
- 抛出:
IOException- if the JSON string is invalid with respect to EdgeRequest
-
toJson
public String toJson()
Convert an instance of EdgeRequest to an JSON string- 返回:
- JSON string
-
-