Package 

Class PactDslJsonBody

    • Constructor Detail

      • PactDslJsonBody

        PactDslJsonBody()
        Constructs a new body as a root
      • PactDslJsonBody

        PactDslJsonBody(String rootPath, String rootName, DslPart parent)
        Constructs a new body as a child
        Parameters:
        rootPath - Path to prefix to this child
        rootName - Name to associate this object as in the parent
        parent - Parent to attach to
      • PactDslJsonBody

        PactDslJsonBody(String rootPath, String rootName, DslPart parent, PactDslJsonBody body)
        Constructs a new body as a child as a copy of an existing one
        Parameters:
        rootPath - Path to prefix to this child
        rootName - Name to associate this object as in the parent
        parent - Parent to attach to
        body - Body to copy values from
      • PactDslJsonBody

        PactDslJsonBody(String rootPath, String rootName, PactDslJsonArray parent, Integer examples)
        Constructs a new body as a child of an array
        Parameters:
        rootPath - Path to prefix to this child
        rootName - Name to associate this object as in the parent
        parent - Parent to attach to
        examples - Number of examples to generate