Class MethodSnapshot

    • Constructor Detail

      • MethodSnapshot

        public MethodSnapshot()
    • Method Detail

      • setAuthorizationType

        public void setAuthorizationType​(String authorizationType)

        Specifies the type of authorization used for the method.

        Parameters:
        authorizationType - Specifies the type of authorization used for the method.
      • getAuthorizationType

        public String getAuthorizationType()

        Specifies the type of authorization used for the method.

        Returns:
        Specifies the type of authorization used for the method.
      • withAuthorizationType

        public MethodSnapshot withAuthorizationType​(String authorizationType)

        Specifies the type of authorization used for the method.

        Parameters:
        authorizationType - Specifies the type of authorization used for the method.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setApiKeyRequired

        public void setApiKeyRequired​(Boolean apiKeyRequired)

        Specifies whether the method requires a valid ApiKey.

        Parameters:
        apiKeyRequired - Specifies whether the method requires a valid ApiKey.
      • getApiKeyRequired

        public Boolean getApiKeyRequired()

        Specifies whether the method requires a valid ApiKey.

        Returns:
        Specifies whether the method requires a valid ApiKey.
      • withApiKeyRequired

        public MethodSnapshot withApiKeyRequired​(Boolean apiKeyRequired)

        Specifies whether the method requires a valid ApiKey.

        Parameters:
        apiKeyRequired - Specifies whether the method requires a valid ApiKey.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isApiKeyRequired

        public Boolean isApiKeyRequired()

        Specifies whether the method requires a valid ApiKey.

        Returns:
        Specifies whether the method requires a valid ApiKey.
      • 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