com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class User

java.lang.Object
  extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.User

public class User
extends Object

Representation of a user in the JIRA REST API. Example:

 {
   self: http://localhost:8090/jira/rest/api/2/user?username=admin
   name: admin
   displayName: Administrator
 }
 

Since:
v4.3

Nested Class Summary
static class User.Expand
           
 
Field Summary
 boolean active
           
 Map<String,String> avatarUrls
           
 String displayName
           
 String emailAddress
           
 String expand
           
 Expando<Group> groups
           
 String name
           
 String self
           
 String timeZone
           
 
Constructor Summary
User()
           
 
Method Summary
 User active(boolean active)
           
 User avatarUrls(Map<String,String> avatarUrls)
           
 User displayName(String displayName)
           
 User emailAddress(String emailAddress)
           
 boolean equals(Object obj)
           
 User expand(String expand)
           
 int hashCode()
           
 User name(String name)
           
 User self(String self)
           
 User self(URI self)
           
 User timeZone(String timeZone)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

expand

public String expand

self

public String self

name

public String name

displayName

public String displayName

active

public boolean active

avatarUrls

public Map<String,String> avatarUrls

emailAddress

public String emailAddress

groups

public Expando<Group> groups

timeZone

public String timeZone
Constructor Detail

User

public User()
Method Detail

timeZone

public User timeZone(String timeZone)

expand

public User expand(String expand)

self

public User self(String self)

self

public User self(URI self)

name

public User name(String name)

displayName

public User displayName(String displayName)

active

public User active(boolean active)

avatarUrls

public User avatarUrls(Map<String,String> avatarUrls)

emailAddress

public User emailAddress(String emailAddress)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.