com.google.api.services.integrations.v1alpha.model.EnterpriseCrmEventbusProtoCondition Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.integrations.v1alpha.model;
/**
* Condition that uses `operator` to evaluate the key against the value.
*
* 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 Application Integration API. For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class EnterpriseCrmEventbusProtoCondition extends com.google.api.client.json.GenericJson {
/**
* Key that's evaluated against the `value`. Please note the data type of the runtime value
* associated with the key should match the data type of `value`, else an IllegalArgumentException
* is thrown.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String eventPropertyKey;
/**
* Operator used to evaluate the condition. Please note that an operator with an inappropriate
* key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value
* pair.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String operator;
/**
* Value that's checked for the key.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private EnterpriseCrmEventbusProtoValueType value;
/**
* Key that's evaluated against the `value`. Please note the data type of the runtime value
* associated with the key should match the data type of `value`, else an IllegalArgumentException
* is thrown.
* @return value or {@code null} for none
*/
public java.lang.String getEventPropertyKey() {
return eventPropertyKey;
}
/**
* Key that's evaluated against the `value`. Please note the data type of the runtime value
* associated with the key should match the data type of `value`, else an IllegalArgumentException
* is thrown.
* @param eventPropertyKey eventPropertyKey or {@code null} for none
*/
public EnterpriseCrmEventbusProtoCondition setEventPropertyKey(java.lang.String eventPropertyKey) {
this.eventPropertyKey = eventPropertyKey;
return this;
}
/**
* Operator used to evaluate the condition. Please note that an operator with an inappropriate
* key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value
* pair.
* @return value or {@code null} for none
*/
public java.lang.String getOperator() {
return operator;
}
/**
* Operator used to evaluate the condition. Please note that an operator with an inappropriate
* key/value operand will result in IllegalArgumentException, e.g. CONTAINS with boolean key/value
* pair.
* @param operator operator or {@code null} for none
*/
public EnterpriseCrmEventbusProtoCondition setOperator(java.lang.String operator) {
this.operator = operator;
return this;
}
/**
* Value that's checked for the key.
* @return value or {@code null} for none
*/
public EnterpriseCrmEventbusProtoValueType getValue() {
return value;
}
/**
* Value that's checked for the key.
* @param value value or {@code null} for none
*/
public EnterpriseCrmEventbusProtoCondition setValue(EnterpriseCrmEventbusProtoValueType value) {
this.value = value;
return this;
}
@Override
public EnterpriseCrmEventbusProtoCondition set(String fieldName, Object value) {
return (EnterpriseCrmEventbusProtoCondition) super.set(fieldName, value);
}
@Override
public EnterpriseCrmEventbusProtoCondition clone() {
return (EnterpriseCrmEventbusProtoCondition) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy