// Copyright 2017 Google Inc. All Rights Reserved. // // 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. package com.google.api.ads.adwords.jaxws.v201702.cm; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * Represents a criterion belonging to a shared set. * * * <p>Java class for SharedCriterion complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="SharedCriterion"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="sharedSetId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="criterion" type="{https://adwords.google.com/api/adwords/cm/v201702}Criterion" minOccurs="0"/> * <element name="negative" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SharedCriterion", propOrder = { "sharedSetId", "criterion", "negative" }) public class SharedCriterion { protected Long sharedSetId; protected Criterion criterion; protected Boolean negative; /** * Gets the value of the sharedSetId property. * * @return * possible object is * {@link Long } * */ public Long getSharedSetId() { return sharedSetId; } /** * Sets the value of the sharedSetId property. * * @param value * allowed object is * {@link Long } * */ public void setSharedSetId(Long value) { this.sharedSetId = value; } /** * Gets the value of the criterion property. * * @return * possible object is * {@link Criterion } * */ public Criterion getCriterion() { return criterion; } /** * Sets the value of the criterion property. * * @param value * allowed object is * {@link Criterion } * */ public void setCriterion(Criterion value) { this.criterion = value; } /** * Gets the value of the negative property. * * @return * possible object is * {@link Boolean } * */ public Boolean isNegative() { return negative; } /** * Sets the value of the negative property. * * @param value * allowed object is * {@link Boolean } * */ public void setNegative(Boolean value) { this.negative = value; } }