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