Class CreateRestApiRequest

    • Constructor Detail

      • CreateRestApiRequest

        public CreateRestApiRequest()
    • Method Detail

      • setName

        public void setName​(String name)

        The name of the RestApi.

        Parameters:
        name - The name of the RestApi.
      • withName

        public CreateRestApiRequest withName​(String name)

        The name of the RestApi.

        Parameters:
        name - The name of the RestApi.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        The description of the RestApi.

        Parameters:
        description - The description of the RestApi.
      • getDescription

        public String getDescription()

        The description of the RestApi.

        Returns:
        The description of the RestApi.
      • withDescription

        public CreateRestApiRequest withDescription​(String description)

        The description of the RestApi.

        Parameters:
        description - The description of the RestApi.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCloneFrom

        public void setCloneFrom​(String cloneFrom)

        The Id of the RestApi that you want to clone from.

        Parameters:
        cloneFrom - The Id of the RestApi that you want to clone from.
      • getCloneFrom

        public String getCloneFrom()

        The Id of the RestApi that you want to clone from.

        Returns:
        The Id of the RestApi that you want to clone from.
      • withCloneFrom

        public CreateRestApiRequest withCloneFrom​(String cloneFrom)

        The Id of the RestApi that you want to clone from.

        Parameters:
        cloneFrom - The Id of the RestApi that you want to clone from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object