com.google.api.ads.dfp.axis.v201208
Class CustomFieldOption

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201208.CustomFieldOption
All Implemented Interfaces:
Serializable

public class CustomFieldOption
extends Object
implements Serializable

An option represents a permitted value for a custom field that has a CustomField.dataType of CustomFieldDataType.DROP_DOWN.

See Also:
Serialized Form

Constructor Summary
CustomFieldOption()
           
CustomFieldOption(Long id, Long customFieldId, String displayName)
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getCustomFieldId()
          Gets the customFieldId value for this CustomFieldOption.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getDisplayName()
          Gets the displayName value for this CustomFieldOption.
 Long getId()
          Gets the id value for this CustomFieldOption.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCustomFieldId(Long customFieldId)
          Sets the customFieldId value for this CustomFieldOption.
 void setDisplayName(String displayName)
          Sets the displayName value for this CustomFieldOption.
 void setId(Long id)
          Sets the id value for this CustomFieldOption.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomFieldOption

public CustomFieldOption()

CustomFieldOption

public CustomFieldOption(Long id,
                         Long customFieldId,
                         String displayName)
Method Detail

getId

public Long getId()
Gets the id value for this CustomFieldOption.

Returns:
id * Unique ID of this option. This value is readonly and is assigned by Google.

setId

public void setId(Long id)
Sets the id value for this CustomFieldOption.

Parameters:
id - * Unique ID of this option. This value is readonly and is assigned by Google.

getCustomFieldId

public Long getCustomFieldId()
Gets the customFieldId value for this CustomFieldOption.

Returns:
customFieldId * The id of the custom field this option belongs to.

setCustomFieldId

public void setCustomFieldId(Long customFieldId)
Sets the customFieldId value for this CustomFieldOption.

Parameters:
customFieldId - * The id of the custom field this option belongs to.

getDisplayName

public String getDisplayName()
Gets the displayName value for this CustomFieldOption.

Returns:
displayName * The display name of this option.

setDisplayName

public void setDisplayName(String displayName)
Sets the displayName value for this CustomFieldOption.

Parameters:
displayName - * The display name of this option.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2012. All Rights Reserved.