com.google.api.ads.adwords.v201109.mcm
Class Link

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.mcm.Link
All Implemented Interfaces:
Serializable

public class Link
extends Object
implements Serializable

Represents an AdWords manager-client link.

See Also:
Serialized Form

Constructor Summary
Link()
           
Link(CustomerId managerId, CustomerId clientId, LinkType typeOfLink, String descriptiveName, String linkType)
           
 
Method Summary
 boolean equals(Object obj)
           
 CustomerId getClientId()
          Gets the clientId value for this Link.
 String getDescriptiveName()
          Gets the descriptiveName value for this Link.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getLinkType()
          Gets the linkType value for this Link.
 CustomerId getManagerId()
          Gets the managerId value for this Link.
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
 LinkType getTypeOfLink()
          Gets the typeOfLink value for this Link.
 int hashCode()
           
 void setClientId(CustomerId clientId)
          Sets the clientId value for this Link.
 void setDescriptiveName(String descriptiveName)
          Sets the descriptiveName value for this Link.
 void setLinkType(String linkType)
          Sets the linkType value for this Link.
 void setManagerId(CustomerId managerId)
          Sets the managerId value for this Link.
 void setTypeOfLink(LinkType typeOfLink)
          Sets the typeOfLink value for this Link.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Link

public Link()

Link

public Link(CustomerId managerId,
            CustomerId clientId,
            LinkType typeOfLink,
            String descriptiveName,
            String linkType)
Method Detail

getManagerId

public CustomerId getManagerId()
Gets the managerId value for this Link.

Returns:
managerId * The ID of the manager represented in ths link.

setManagerId

public void setManagerId(CustomerId managerId)
Sets the managerId value for this Link.

Parameters:
managerId - * The ID of the manager represented in ths link.

getClientId

public CustomerId getClientId()
Gets the clientId value for this Link.

Returns:
clientId * The ID of the client represented in this link.

setClientId

public void setClientId(CustomerId clientId)
Sets the clientId value for this Link.

Parameters:
clientId - * The ID of the client represented in this link.

getTypeOfLink

public LinkType getTypeOfLink()
Gets the typeOfLink value for this Link.

Returns:
typeOfLink * Whether the link has been established.

setTypeOfLink

public void setTypeOfLink(LinkType typeOfLink)
Sets the typeOfLink value for this Link.

Parameters:
typeOfLink - * Whether the link has been established.

getDescriptiveName

public String getDescriptiveName()
Gets the descriptiveName value for this Link.

Returns:
descriptiveName * The descriptive name used by the manager to refer to the client.

setDescriptiveName

public void setDescriptiveName(String descriptiveName)
Sets the descriptiveName value for this Link.

Parameters:
descriptiveName - * The descriptive name used by the manager to refer to the client.

getLinkType

public String getLinkType()
Gets the linkType value for this Link.

Returns:
linkType * Indicates that this instance is a subtype of Link. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

setLinkType

public void setLinkType(String linkType)
Sets the linkType value for this Link.

Parameters:
linkType - * Indicates that this instance is a subtype of Link. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

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 © 2011. All Rights Reserved.