Class BranchCreation


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class BranchCreation
    extends Object
    BranchCreation
    • Constructor Detail

      • BranchCreation

        public BranchCreation()
    • Method Detail

      • setName

        public void setName​(String name)
      • getSource

        @Nonnull
        public String getSource()
        Get source
        Returns:
        source
      • setSource

        public void setSource​(String source)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to BranchCreation
      • fromJson

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

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