Class FunctionDefinition

    • Constructor Detail

      • FunctionDefinition

        public FunctionDefinition()
        No args constructor for use in serialization
      • FunctionDefinition

        public FunctionDefinition​(String name)
        Parameters:
        name -
    • Method Detail

      • getName

        public String getName()
        Function unique name (Required)
      • setName

        public void setName​(String name)
        Function unique name (Required)
      • getOperation

        public String getOperation()
        If type is `rest`, #. If type is `rpc`, ##. If type is `expression`, defines the workflow expression.
      • setOperation

        public void setOperation​(String operation)
        If type is `rest`, #. If type is `rpc`, ##. If type is `expression`, defines the workflow expression.
      • getType

        public FunctionDefinition.Type getType()
        Defines the function type. Is either `rest`, `asyncapi, `rpc`, `graphql`, `odata`, `expression`, or `custom`. Default is `rest`
      • setType

        public void setType​(FunctionDefinition.Type type)
        Defines the function type. Is either `rest`, `asyncapi, `rpc`, `graphql`, `odata`, `expression`, or `custom`. Default is `rest`
      • getAuthRef

        public String getAuthRef()
        References an auth definition name to be used to access to resource defined in the operation parameter
      • setAuthRef

        public void setAuthRef​(String authRef)
        References an auth definition name to be used to access to resource defined in the operation parameter
      • setMetadata

        public void setMetadata​(Map<String,​String> metadata)
        Metadata