com.google.api.ads.admanager.jaxws.v202408.CustomField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dfp-appengine Show documentation
Show all versions of dfp-appengine Show documentation
Ad Manager specific AppEngine components.
The newest version!
// 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.v202408;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
*
* An additional, user-created field on an entity.
*
*
* Java class for CustomField complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CustomField">
* <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="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="isActive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="entityType" type="{https://www.google.com/apis/ads/publisher/v202408}CustomFieldEntityType" minOccurs="0"/>
* <element name="dataType" type="{https://www.google.com/apis/ads/publisher/v202408}CustomFieldDataType" minOccurs="0"/>
* <element name="visibility" type="{https://www.google.com/apis/ads/publisher/v202408}CustomFieldVisibility" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CustomField", propOrder = {
"id",
"name",
"description",
"isActive",
"entityType",
"dataType",
"visibility"
})
@XmlSeeAlso({
DropDownCustomField.class
})
public class CustomField {
protected Long id;
protected String name;
protected String description;
protected Boolean isActive;
@XmlSchemaType(name = "string")
protected CustomFieldEntityType entityType;
@XmlSchemaType(name = "string")
protected CustomFieldDataType dataType;
@XmlSchemaType(name = "string")
protected CustomFieldVisibility visibility;
/**
* 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 name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the isActive property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsActive() {
return isActive;
}
/**
* Sets the value of the isActive property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsActive(Boolean value) {
this.isActive = value;
}
/**
* Gets the value of the entityType property.
*
* @return
* possible object is
* {@link CustomFieldEntityType }
*
*/
public CustomFieldEntityType getEntityType() {
return entityType;
}
/**
* Sets the value of the entityType property.
*
* @param value
* allowed object is
* {@link CustomFieldEntityType }
*
*/
public void setEntityType(CustomFieldEntityType value) {
this.entityType = value;
}
/**
* Gets the value of the dataType property.
*
* @return
* possible object is
* {@link CustomFieldDataType }
*
*/
public CustomFieldDataType getDataType() {
return dataType;
}
/**
* Sets the value of the dataType property.
*
* @param value
* allowed object is
* {@link CustomFieldDataType }
*
*/
public void setDataType(CustomFieldDataType value) {
this.dataType = value;
}
/**
* Gets the value of the visibility property.
*
* @return
* possible object is
* {@link CustomFieldVisibility }
*
*/
public CustomFieldVisibility getVisibility() {
return visibility;
}
/**
* Sets the value of the visibility property.
*
* @param value
* allowed object is
* {@link CustomFieldVisibility }
*
*/
public void setVisibility(CustomFieldVisibility value) {
this.visibility = value;
}
}