Class InsightsRepository


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2024-04-03T23:27:37.555894Z[Etc/UTC]")
    public class InsightsRepository
    extends java.lang.Object
    InsightsRepository
    • Field Detail

      • SERIALIZED_NAME_ID

        public static final java.lang.String SERIALIZED_NAME_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_VERSION

        public static final java.lang.String SERIALIZED_NAME_VERSION
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_KEY

        public static final java.lang.String SERIALIZED_NAME_KEY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TYPE

        public static final java.lang.String SERIALIZED_NAME_TYPE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_URL

        public static final java.lang.String SERIALIZED_NAME_URL
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_MAIN_BRANCH

        public static final java.lang.String SERIALIZED_NAME_MAIN_BRANCH
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_PROJECTS

        public static final java.lang.String SERIALIZED_NAME_PROJECTS
        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
    • Constructor Detail

      • InsightsRepository

        public InsightsRepository()
    • Method Detail

      • getId

        @Nonnull
        public java.util.UUID getId()
        The repository ID
        Returns:
        id
      • setId

        public void setId​(java.util.UUID id)
      • getVersion

        @Nonnull
        public java.lang.Integer getVersion()
        The repository version
        Returns:
        version
      • setVersion

        public void setVersion​(java.lang.Integer version)
      • getKey

        @Nonnull
        public java.lang.String getKey()
        The repository key
        Returns:
        key
      • setKey

        public void setKey​(java.lang.String key)
      • getType

        @Nonnull
        public java.lang.String getType()
        The repository type
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
      • getUrl

        @Nonnull
        public java.lang.String getUrl()
        The repository URL
        Returns:
        url
      • setUrl

        public void setUrl​(java.lang.String url)
      • getMainBranch

        @Nonnull
        public java.lang.String getMainBranch()
        The repository main branch
        Returns:
        mainBranch
      • setMainBranch

        public void setMainBranch​(java.lang.String mainBranch)
      • putAdditionalProperty

        public InsightsRepository 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 class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.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 InsightsRepository
      • fromJson

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

        public java.lang.String toJson()
        Convert an instance of InsightsRepository to an JSON string
        Returns:
        JSON string