Class TriggerSourcePrototype

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

    public class TriggerSourcePrototype
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools.
    • Method Detail

      • type

        public java.lang.String type()
        Gets the type. The only supported source type is "git", indicating that the source is a git repository.
        Returns:
        the type
      • xProperties

        public TriggerSourcePropertiesPrototype xProperties()
        Gets the xProperties. Properties of the source, which define the URL of the repository and a branch or pattern.
        Returns:
        the xProperties