com.google.api.ads.admanager.jaxws.v202402.Site Maven / Gradle / Ivy
Show all versions of dfp-appengine Show documentation
// Copyright 2024 Google LLC
//
// 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.admanager.jaxws.v202402;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Site complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Site">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="childNetworkCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="approvalStatus" type="{https://www.google.com/apis/ads/publisher/v202402}ApprovalStatus" minOccurs="0"/>
* <element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="disapprovalReasons" type="{https://www.google.com/apis/ads/publisher/v202402}DisapprovalReason" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Site", propOrder = {
"id",
"url",
"childNetworkCode",
"approvalStatus",
"active",
"disapprovalReasons"
})
public class Site {
protected Long id;
protected String url;
protected String childNetworkCode;
@XmlSchemaType(name = "string")
protected ApprovalStatus approvalStatus;
protected Boolean active;
protected List disapprovalReasons;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setId(Long value) {
this.id = value;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUrl(String value) {
this.url = value;
}
/**
* Gets the value of the childNetworkCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChildNetworkCode() {
return childNetworkCode;
}
/**
* Sets the value of the childNetworkCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChildNetworkCode(String value) {
this.childNetworkCode = value;
}
/**
* Gets the value of the approvalStatus property.
*
* @return
* possible object is
* {@link ApprovalStatus }
*
*/
public ApprovalStatus getApprovalStatus() {
return approvalStatus;
}
/**
* Sets the value of the approvalStatus property.
*
* @param value
* allowed object is
* {@link ApprovalStatus }
*
*/
public void setApprovalStatus(ApprovalStatus value) {
this.approvalStatus = value;
}
/**
* Gets the value of the active property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isActive() {
return active;
}
/**
* Sets the value of the active property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setActive(Boolean value) {
this.active = value;
}
/**
* Gets the value of the disapprovalReasons property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the disapprovalReasons property.
*
*
* For example, to add a new item, do as follows:
*
* getDisapprovalReasons().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DisapprovalReason }
*
*
*/
public List getDisapprovalReasons() {
if (disapprovalReasons == null) {
disapprovalReasons = new ArrayList();
}
return this.disapprovalReasons;
}
}