Class ContractTest

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ContractTest
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Contains the contract test status and related metadata.
    • Method Detail

      • newBuilder

        public ContractTest.Builder newBuilder()
        New builder.
        Returns:
        a ContractTest builder
      • status

        public java.lang.String status()
        Gets the status. Status of the contract test (pass or fail).
        Returns:
        the status
      • lastTestedTime

        public java.util.Date lastTestedTime()
        Gets the lastTestedTime. Timestamp of when the contract was last tested.
        Returns:
        the lastTestedTime
      • dataContractId

        public java.lang.String dataContractId()
        Gets the dataContractId. The unique identifier of the data contract associated with this test.
        Returns:
        the dataContractId
      • projectId

        public java.lang.String projectId()
        Gets the projectId. The unique identifier of the project associated with this test.
        Returns:
        the projectId
      • message

        public java.lang.String message()
        Gets the message. Optional message or details about the contract test.
        Returns:
        the message
      • testRunId

        public java.lang.String testRunId()
        Gets the testRunId. The unique identifier of the test run.
        Returns:
        the testRunId
      • testSummary

        public java.util.List<ContractTestSummary> testSummary()
        Gets the testSummary. Array of test summary results.
        Returns:
        the testSummary