com.google.api.ads.dfp.axis.v201201
Class Label

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

public class Label
extends Object
implements Serializable

A Label is additional information that can be added to an entity.

See Also:
Serialized Form

Constructor Summary
Label()
           
Label(Long id, String name, String description, Boolean isActive, LabelType type)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          Gets the description value for this Label.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Long getId()
          Gets the id value for this Label.
 Boolean getIsActive()
          Gets the isActive value for this Label.
 String getName()
          Gets the name value for this Label.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 LabelType getType()
          Gets the type value for this Label.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setDescription(String description)
          Sets the description value for this Label.
 void setId(Long id)
          Sets the id value for this Label.
 void setIsActive(Boolean isActive)
          Sets the isActive value for this Label.
 void setName(String name)
          Sets the name value for this Label.
 void setType(LabelType type)
          Sets the type value for this Label.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Label

public Label()

Label

public Label(Long id,
             String name,
             String description,
             Boolean isActive,
             LabelType type)
Method Detail

getId

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

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

setId

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

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

getName

public String getName()
Gets the name value for this Label.

Returns:
name * Name of the Label. This is value is required to create a label and has a maximum length of 127 characters.

setName

public void setName(String name)
Sets the name value for this Label.

Parameters:
name - * Name of the Label. This is value is required to create a label and has a maximum length of 127 characters.

getDescription

public String getDescription()
Gets the description value for this Label.

Returns:
description * A description of the label. This value is optional and its maximum length is 255 characters.

setDescription

public void setDescription(String description)
Sets the description value for this Label.

Parameters:
description - * A description of the label. This value is optional and its maximum length is 255 characters.

getIsActive

public Boolean getIsActive()
Gets the isActive value for this Label.

Returns:
isActive * Specifies whether or not the label is active. This attribute is read-only.

setIsActive

public void setIsActive(Boolean isActive)
Sets the isActive value for this Label.

Parameters:
isActive - * Specifies whether or not the label is active. This attribute is read-only.

getType

public LabelType getType()
Gets the type value for this Label.

Returns:
type * The type of the Label. This value is required to create a label.

setType

public void setType(LabelType type)
Sets the type value for this Label.

Parameters:
type - * The type of the Label. This value is required to create a label.

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.