Class FunctionRef

    • Constructor Detail

      • FunctionRef

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

        public FunctionRef​(String refName)
        Parameters:
        refName -
    • Method Detail

      • getRefName

        public String getRefName()
        Name of the referenced function (Required)
      • setRefName

        public void setRefName​(String refName)
        Name of the referenced function (Required)
      • getArguments

        public com.fasterxml.jackson.databind.JsonNode getArguments()
        Function arguments
      • setArguments

        public void setArguments​(com.fasterxml.jackson.databind.JsonNode arguments)
        Function arguments
      • withArguments

        public FunctionRef withArguments​(com.fasterxml.jackson.databind.JsonNode arguments)
      • getSelectionSet

        public String getSelectionSet()
        Only used if function type is 'graphql'. A string containing a valid GraphQL selection set
      • setSelectionSet

        public void setSelectionSet​(String selectionSet)
        Only used if function type is 'graphql'. A string containing a valid GraphQL selection set
      • getInvoke

        public FunctionRef.Invoke getInvoke()
        Specifies if the function should be invoked sync or async. Default is sync.
      • setInvoke

        public void setInvoke​(FunctionRef.Invoke invoke)
        Specifies if the function should be invoked sync or async. Default is sync.