Class CommonWebHookCause

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<CommonWebHookCauseBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class CommonWebHookCause
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<CommonWebHookCauseBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.
    See Also:
    Serialized Form
    • Constructor Detail

      • CommonWebHookCause

        public CommonWebHookCause()
        No args constructor for use in serialization
    • Method Detail

      • getRevision

        public SourceRevision getRevision()
        CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.
      • setRevision

        public void setRevision​(SourceRevision revision)
        CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.
      • getSecret

        public String getSecret()
        secret is the obfuscated webhook secret that triggered a build.
      • setSecret

        public void setSecret​(String secret)
        secret is the obfuscated webhook secret that triggered a build.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)