Package com.oracle.bmc.devops.model
Class GithubFilter
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.devops.model.Filter
-
- com.oracle.bmc.devops.model.GithubFilter
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class GithubFilter extends Filter
The filter for GitHub events.
Note: Objects should always be created or deserialized using theGithubFilter.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theGithubFilter.Builder
, which maintain a set of all explicitly set fields calledGithubFilter.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GithubFilter.Builder
static class
GithubFilter.Events
-
Constructor Summary
Constructors Constructor Description GithubFilter(List<GithubFilter.Events> events, GithubFilterAttributes include, GithubFilterExclusionAttributes exclude)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GithubFilter.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<GithubFilter.Events>
getEvents()
The events, for example, PUSH, PULL_REQUEST_MERGE.GithubFilterExclusionAttributes
getExclude()
GithubFilterAttributes
getInclude()
int
hashCode()
GithubFilter.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
GithubFilter
@Deprecated public GithubFilter(List<GithubFilter.Events> events, GithubFilterAttributes include, GithubFilterExclusionAttributes exclude)
Deprecated.
-
-
Method Detail
-
builder
public static GithubFilter.Builder builder()
Create a new builder.
-
toBuilder
public GithubFilter.Builder toBuilder()
-
getEvents
public List<GithubFilter.Events> getEvents()
The events, for example, PUSH, PULL_REQUEST_MERGE.- Returns:
- the value
-
getInclude
public GithubFilterAttributes getInclude()
-
getExclude
public GithubFilterExclusionAttributes getExclude()
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-