Skip to content
Snippets Groups Projects
Commit 016bde7f authored by Pavel Šeda's avatar Pavel Šeda
Browse files

Merge branch '82-add-an-attribute-email-to-the-userrefdto-class' into 'master'

Added an attribute email to the UserRefDTO class.

Closes #82

See merge request !81
parents f0023dce 082fe642
No related branches found
No related tags found
1 merge request!81Added an attribute email to the UserRefDTO class.
Pipeline #137182 passed with stages
in 4 minutes and 1 second
......@@ -35,6 +35,8 @@ public class UserRefDTO {
private String iss;
@ApiModelProperty(value = "Identicon of a user.", example = "iVBORw0KGgoAAAANSUhEUgAAAEsAAABLCAYAAAA4TnrqAAACIUlEQVR4Xu3YsY0dSQxAQQUlpXT5Z3CS/YgxSrQa4gLlEOBb9pj/x6//fv7/t/78/XhN3yBWyz3kBX2DWC33kBf0DWK13ENe0DeI1XIPeUHfIFbLPeQFfYNYLfeQF/QNYrXcQ17QN4jVcg95Qd8gVss95AV9g1gt95AX9A1itdxDXtA3iNVyD3lB3yBWyz3kBX2DWC33kBf0DWLERGOiLdGWaEuMgeghoi3RlmhLjIHoIaIt0ZZoS4yB6CGiLdGWaEuMgeghoi3RlmhLjIHoIaIt0ZZoS4yB6CGiLdGWaEuMgeghoi3RlmhLjIHoIaIt0ZZoS4yB6CGiLdGWaEuMgeghoi3RlmhLjIHoIaIt0ZZoS4yB6CGiLdGWaEuMgeghoi3RlmhLjIHoIaIt0ZZoS6z+8b/mPha4jwXuY4H7WOA+FriPBe5jgftY4D4WuI8F7mOB+1jgPha4jwXGbzbn2xicb2Nwvo3B+TYG59sYnG9jcL6Nwfk2BufbGJxvY3C+jcH5Ngbn2xicb2Nwvq1+z2pMtCXaEm2J1XIPEW2JtkRbYrXcQ0Rboi3Rllgt9xDRlmhLtCVWyz1EtCXaEm2J1XIPEW2JtkRbYrXcQ0Rboi3Rllgt9xDRlmhLtCVWyz1EtCXaEm2J1XIPEW2JtkRbYrXcQ0Rboi3Rllgt9xDRlmhLtCVWyz1EtCXaEm2J1XIPEW2JtkRbYrXcQ0Rboi3RlvgNt34wfeJElG8AAAAASUVORK5CYII=")
private byte[] picture;
@ApiModelProperty(value = "Email of the user.", example = "johndoe@mail.muni.cz")
private String mail;
/**
* Gets user ref sub.
......@@ -164,6 +166,23 @@ public class UserRefDTO {
this.picture = picture;
}
/**
* Gets the mail of the user.
*
* @return the mail of the user.
*/
public String getMail() {
return mail;
}
/**
* Sets the mail of the user.
*
* @param mail the mail of the user.
*/
public void setMail(String mail) {
this.mail = mail;
}
@Override
public String toString() {
......@@ -174,6 +193,7 @@ public class UserRefDTO {
", userRefFamilyName='" + userRefFamilyName + '\'' +
", iss='" + iss + '\'' +
", userRefId=" + userRefId +
", mail=" + mail +
'}';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment