org.hudsonci.rest.model.build
Class UserCauseDTO

java.lang.Object
  extended by org.hudsonci.rest.model.build.CauseDTO
      extended by org.hudsonci.rest.model.build.UserCauseDTO

public class UserCauseDTO
extends CauseDTO

Java class for userCause complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="userCause">
   <complexContent>
     <extension base="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}cause">
       <sequence>
         <element name="userId" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String userId
           
 
Fields inherited from class org.hudsonci.rest.model.build.CauseDTO
description, type
 
Constructor Summary
UserCauseDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getUserId()
          Gets the value of the userId property.
 int hashCode()
           
 void setUserId(String value)
          Sets the value of the userId property.
 UserCauseDTO withDescription(String value)
           
 UserCauseDTO withType(String value)
           
 UserCauseDTO withUserId(String value)
           
 
Methods inherited from class org.hudsonci.rest.model.build.CauseDTO
getDescription, getType, setDescription, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userId

protected String userId
Constructor Detail

UserCauseDTO

public UserCauseDTO()
Method Detail

getUserId

public String getUserId()
Gets the value of the userId property.

Returns:
possible object is String

setUserId

public void setUserId(String value)
Sets the value of the userId property.

Parameters:
value - allowed object is String

withUserId

public UserCauseDTO withUserId(String value)

withType

public UserCauseDTO withType(String value)
Overrides:
withType in class CauseDTO

withDescription

public UserCauseDTO withDescription(String value)
Overrides:
withDescription in class CauseDTO

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class CauseDTO


Copyright © 2004-2011 Hudson. All Rights Reserved.