Package com.oracle.bmc.devops.model
Class GitlabFilter
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.devops.model.Filter
-
- com.oracle.bmc.devops.model.GitlabFilter
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210630") public final class GitlabFilter extends Filter
The filter for GitLab events.
Note: Objects should always be created or deserialized using theGitlabFilter.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 theGitlabFilter.Builder
, which maintain a set of all explicitly set fields calledGitlabFilter.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
GitlabFilter.Builder
static class
GitlabFilter.Events
-
Constructor Summary
Constructors Constructor Description GitlabFilter(List<GitlabFilter.Events> events, GitlabFilterAttributes include, GitlabFilterExclusionAttributes exclude)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GitlabFilter.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<GitlabFilter.Events>
getEvents()
The events, for example, PUSH, PULL_REQUEST_MERGE.GitlabFilterExclusionAttributes
getExclude()
GitlabFilterAttributes
getInclude()
int
hashCode()
GitlabFilter.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
GitlabFilter
@Deprecated public GitlabFilter(List<GitlabFilter.Events> events, GitlabFilterAttributes include, GitlabFilterExclusionAttributes exclude)
Deprecated.
-
-
Method Detail
-
builder
public static GitlabFilter.Builder builder()
Create a new builder.
-
toBuilder
public GitlabFilter.Builder toBuilder()
-
getEvents
public List<GitlabFilter.Events> getEvents()
The events, for example, PUSH, PULL_REQUEST_MERGE.- Returns:
- the value
-
getInclude
public GitlabFilterAttributes getInclude()
-
getExclude
public GitlabFilterExclusionAttributes getExclude()
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-