public final class GitHubEventsConfig
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Build API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
GitHubEventsConfig() |
Modifier and Type | Method and Description |
---|---|
GitHubEventsConfig |
clone() |
java.lang.Long |
getInstallationId()
The installationID that emits the GitHub event.
|
java.lang.String |
getName()
Name of the repository.
|
java.lang.String |
getOwner()
Owner of the repository.
|
PullRequestFilter |
getPullRequest()
filter to match changes in pull requests.
|
PushFilter |
getPush()
filter to match changes in refs like branches, tags.
|
GitHubEventsConfig |
set(java.lang.String fieldName,
java.lang.Object value) |
GitHubEventsConfig |
setInstallationId(java.lang.Long installationId)
The installationID that emits the GitHub event.
|
GitHubEventsConfig |
setName(java.lang.String name)
Name of the repository.
|
GitHubEventsConfig |
setOwner(java.lang.String owner)
Owner of the repository.
|
GitHubEventsConfig |
setPullRequest(PullRequestFilter pullRequest)
filter to match changes in pull requests.
|
GitHubEventsConfig |
setPush(PushFilter push)
filter to match changes in refs like branches, tags.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Long getInstallationId()
null
for nonepublic GitHubEventsConfig setInstallationId(java.lang.Long installationId)
installationId
- installationId or null
for nonepublic java.lang.String getName()
null
for nonepublic GitHubEventsConfig setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getOwner()
null
for nonepublic GitHubEventsConfig setOwner(java.lang.String owner)
owner
- owner or null
for nonepublic PullRequestFilter getPullRequest()
null
for nonepublic GitHubEventsConfig setPullRequest(PullRequestFilter pullRequest)
pullRequest
- pullRequest or null
for nonepublic PushFilter getPush()
null
for nonepublic GitHubEventsConfig setPush(PushFilter push)
push
- push or null
for nonepublic GitHubEventsConfig set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public GitHubEventsConfig clone()
clone
in class com.google.api.client.json.GenericJson