Class GithubConnectorData

java.lang.Object
ai.shipeasy.admin.model.GithubConnectorData

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class GithubConnectorData extends Object
GitHub connector trace — the issue it opened and, once linked, the pull request.
  • Field Details

  • Constructor Details

    • GithubConnectorData

      public GithubConnectorData()
  • Method Details

    • issue

      public GithubConnectorData issue(@Nullable GithubConnectorDataIssue issue)
    • getIssue

      @Nullable public GithubConnectorDataIssue getIssue()
      Get issue
      Returns:
      issue
    • setIssue

      public void setIssue(@Nullable GithubConnectorDataIssue issue)
    • pr

      public GithubConnectorData pr(@Nullable GithubConnectorDataPr pr)
    • getPr

      @Nullable public GithubConnectorDataPr getPr()
      Get pr
      Returns:
      pr
    • setPr

      public void setPr(@Nullable GithubConnectorDataPr pr)
    • putAdditionalProperty

      public GithubConnectorData putAdditionalProperty(String key, 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.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the GithubConnectorData instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to GithubConnectorData
    • fromJson

      public static GithubConnectorData fromJson(String jsonString) throws IOException
      Create an instance of GithubConnectorData given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of GithubConnectorData
      Throws:
      IOException - if the JSON string is invalid with respect to GithubConnectorData
    • toJson

      public String toJson()
      Convert an instance of GithubConnectorData to an JSON string
      Returns:
      JSON string