Class UserResponse
java.lang.Object
com.iland.core.web.rest.response.user.UserResponse
- All Implemented Interfaces:
Serializable
User Response.
- Author:
- Nick Kasprzak
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected DomainResponseprotected Stringprotected Stringprotected UserTypeResponse -
Constructor Summary
ConstructorsConstructorDescriptionUserResponse(UserTypeResponse userType, boolean locked, String email, String phone, String company, String address, String city, String state, String zip, String country, String name, String fullname, boolean deleted, Instant createdDate, Instant deletedDate, DomainResponse domain, String firstName, String lastName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets address.getCity()Gets city.Gets company.Gets the country.Gets created date.Gets deleted date.Gets the domain.getEmail()Gets email.Gets first name.Gets fullname.Gets last name.getName()Gets name.getPhone()Gets phone.getState()Gets state.Gets user type.Gets zip code.inthashCode()booleanIs deleted boolean.booleanisLocked()Is locked boolean.toString()
-
Field Details
-
userType
-
name
-
fullname
-
deleted
@Since(1.0) @Expose protected boolean deleted -
domain
-
-
Constructor Details
-
UserResponse
public UserResponse(UserTypeResponse userType, boolean locked, String email, String phone, String company, String address, String city, String state, String zip, String country, String name, String fullname, boolean deleted, Instant createdDate, Instant deletedDate, DomainResponse domain, String firstName, String lastName)
-
-
Method Details
-
getUserType
Gets user type.- Returns:
- the user type
-
getFirstName
Gets first name.- Returns:
- the first name
-
getLastName
Gets last name.- Returns:
- the last name
-
getEmail
Gets email.- Returns:
- the email
-
getPhone
Gets phone.- Returns:
- the phone
-
isLocked
public boolean isLocked()Is locked boolean.- Returns:
- the boolean
-
getAddress
Gets address.- Returns:
- the address
-
getCompany
Gets company.- Returns:
- the company
-
getCity
Gets city.- Returns:
- the city
-
getState
Gets state.- Returns:
- the state
-
getZipCode
Gets zip code.- Returns:
- the zip code
-
getName
Gets name.- Returns:
- the name
-
getFullname
Gets fullname.- Returns:
- the fullname
-
isDeleted
public boolean isDeleted()Is deleted boolean.- Returns:
- the boolean
-
getCreatedDate
Gets created date.- Returns:
- the created date
-
getDeletedDate
Gets deleted date.- Returns:
- the deleted date
-
getDomain
Gets the domain.- Returns:
- the domain
-
getCountry
Gets the country.- Returns:
- the country
-
equals
-
hashCode
public int hashCode() -
toString
-