类 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
    • 字段详细资料

      • SERIALIZED_NAME_SOURCE_VERTEX

        public static final String SERIALIZED_NAME_SOURCE_VERTEX
        另请参阅:
        常量字段值
      • SERIALIZED_NAME_DESTINATION_VERTEX

        public static final String SERIALIZED_NAME_DESTINATION_VERTEX
        另请参阅:
        常量字段值
      • openapiRequiredFields

        public static HashSet<String> openapiRequiredFields
    • 构造器详细资料

      • EdgeMappingTypeTriplet

        public EdgeMappingTypeTriplet()
    • 方法详细资料

      • setEdge

        public void setEdge​(String edge)
      • getSourceVertex

        @Nullable
        public String getSourceVertex()
        Get sourceVertex
        返回:
        sourceVertex
      • setSourceVertex

        public void setSourceVertex​(String sourceVertex)
      • getDestinationVertex

        @Nullable
        public String getDestinationVertex()
        Get destinationVertex
        返回:
        destinationVertex
      • setDestinationVertex

        public void setDestinationVertex​(String destinationVertex)
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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