Package io.tiledb.cloud.rest_api.model
Class RegisteredTaskGraph
- java.lang.Object
-
- io.tiledb.cloud.rest_api.model.RegisteredTaskGraph
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-02T12:25:58.319138+03:00[Europe/Athens]") public class RegisteredTaskGraph extends java.lang.Object
The structure and metadata of a task graph that can be stored on TileDB Cloud and executed by users who have access to it.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RegisteredTaskGraph.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>
openapiFields
static java.util.HashSet<java.lang.String>
openapiRequiredFields
static java.lang.String
SERIALIZED_NAME_LICENSE_ID
static java.lang.String
SERIALIZED_NAME_LICENSE_TEXT
static java.lang.String
SERIALIZED_NAME_NAME
static java.lang.String
SERIALIZED_NAME_NAMESPACE
static java.lang.String
SERIALIZED_NAME_NODES
static java.lang.String
SERIALIZED_NAME_README
static java.lang.String
SERIALIZED_NAME_TAGS
static java.lang.String
SERIALIZED_NAME_UUID
-
Constructor Summary
Constructors Constructor Description RegisteredTaskGraph()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisteredTaskGraph
addNodesItem(TaskGraphNode nodesItem)
RegisteredTaskGraph
addTagsItem(java.lang.String tagsItem)
boolean
equals(java.lang.Object o)
static RegisteredTaskGraph
fromJson(java.lang.String jsonString)
Create an instance of RegisteredTaskGraph given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>
getAdditionalProperties()
Return the additional (undeclared) property.java.lang.Object
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.java.lang.String
getLicenseId()
SPDX license identifier.java.lang.String
getLicenseText()
Full text of the license.java.lang.String
getName()
The name of this graph, to appear in URLs.java.lang.String
getNamespace()
The namespace that owns this task graph log.java.util.List<TaskGraphNode>
getNodes()
The structure of the graph, in the form of the nodes that make it up.java.lang.String
getReadme()
Documentation for the task graph, in Markdown format.java.util.List<java.lang.String>
getTags()
Optional tags to classify the graph.java.lang.String
getUuid()
A server-assigned unique ID for the UDF, in UUID format.int
hashCode()
RegisteredTaskGraph
licenseId(java.lang.String licenseId)
RegisteredTaskGraph
licenseText(java.lang.String licenseText)
RegisteredTaskGraph
name(java.lang.String name)
RegisteredTaskGraph
namespace(java.lang.String namespace)
RegisteredTaskGraph
nodes(java.util.List<TaskGraphNode> nodes)
RegisteredTaskGraph
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.RegisteredTaskGraph
readme(java.lang.String readme)
void
setLicenseId(java.lang.String licenseId)
void
setLicenseText(java.lang.String licenseText)
void
setName(java.lang.String name)
void
setNamespace(java.lang.String namespace)
void
setNodes(java.util.List<TaskGraphNode> nodes)
void
setReadme(java.lang.String readme)
void
setTags(java.util.List<java.lang.String> tags)
void
setUuid(java.lang.String uuid)
RegisteredTaskGraph
tags(java.util.List<java.lang.String> tags)
java.lang.String
toJson()
Convert an instance of RegisteredTaskGraph to an JSON stringjava.lang.String
toString()
RegisteredTaskGraph
uuid(java.lang.String uuid)
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_UUID
public static final java.lang.String SERIALIZED_NAME_UUID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAMESPACE
public static final java.lang.String SERIALIZED_NAME_NAMESPACE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_README
public static final java.lang.String SERIALIZED_NAME_README
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LICENSE_ID
public static final java.lang.String SERIALIZED_NAME_LICENSE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LICENSE_TEXT
public static final java.lang.String SERIALIZED_NAME_LICENSE_TEXT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final java.lang.String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NODES
public static final java.lang.String SERIALIZED_NAME_NODES
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
uuid
public RegisteredTaskGraph uuid(java.lang.String uuid)
-
getUuid
@Nullable public java.lang.String getUuid()
A server-assigned unique ID for the UDF, in UUID format.- Returns:
- uuid
-
setUuid
public void setUuid(java.lang.String uuid)
-
namespace
public RegisteredTaskGraph namespace(java.lang.String namespace)
-
getNamespace
@Nullable public java.lang.String getNamespace()
The namespace that owns this task graph log.- Returns:
- namespace
-
setNamespace
public void setNamespace(java.lang.String namespace)
-
name
public RegisteredTaskGraph name(java.lang.String name)
-
getName
@Nullable public java.lang.String getName()
The name of this graph, to appear in URLs. Must be unique per-namespace.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
readme
public RegisteredTaskGraph readme(java.lang.String readme)
-
getReadme
@Nullable public java.lang.String getReadme()
Documentation for the task graph, in Markdown format.- Returns:
- readme
-
setReadme
public void setReadme(java.lang.String readme)
-
licenseId
public RegisteredTaskGraph licenseId(java.lang.String licenseId)
-
getLicenseId
@Nullable public java.lang.String getLicenseId()
SPDX license identifier.- Returns:
- licenseId
-
setLicenseId
public void setLicenseId(java.lang.String licenseId)
-
licenseText
public RegisteredTaskGraph licenseText(java.lang.String licenseText)
-
getLicenseText
@Nullable public java.lang.String getLicenseText()
Full text of the license.- Returns:
- licenseText
-
setLicenseText
public void setLicenseText(java.lang.String licenseText)
-
tags
public RegisteredTaskGraph tags(java.util.List<java.lang.String> tags)
-
addTagsItem
public RegisteredTaskGraph addTagsItem(java.lang.String tagsItem)
-
getTags
@Nullable public java.util.List<java.lang.String> getTags()
Optional tags to classify the graph.- Returns:
- tags
-
setTags
public void setTags(java.util.List<java.lang.String> tags)
-
nodes
public RegisteredTaskGraph nodes(java.util.List<TaskGraphNode> nodes)
-
addNodesItem
public RegisteredTaskGraph addNodesItem(TaskGraphNode nodesItem)
-
getNodes
@Nullable public java.util.List<TaskGraphNode> getNodes()
The structure of the graph, in the form of the nodes that make it up. As with `TaskGraphLog`, nodes must topologically sorted, so that any node appears after all the nodes it depends on.- Returns:
- nodes
-
setNodes
public void setNodes(java.util.List<TaskGraphNode> nodes)
-
putAdditionalProperty
public RegisteredTaskGraph putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOException
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
java.io.IOException
- if the JSON Object is invalid with respect to RegisteredTaskGraph
-
fromJson
public static RegisteredTaskGraph fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of RegisteredTaskGraph given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of RegisteredTaskGraph
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to RegisteredTaskGraph
-
toJson
public java.lang.String toJson()
Convert an instance of RegisteredTaskGraph to an JSON string- Returns:
- JSON string
-
-