package io.subutai.hub.share.dto;

public class RegistrationDto
{
    private String ownerFingerprint;

    private String ownerEmail;

    private String ownerPassword;

    private PeerInfoDto peerInfo;

    private String token;

    public RegistrationDto()
    {
    }


    public RegistrationDto( String ownerFingerprint )
    {
        this.ownerFingerprint = ownerFingerprint;
    }


    public String getOwnerFingerprint()
    {
        return ownerFingerprint;
    }


    public PeerInfoDto getPeerInfo()
    {
        return peerInfo;
    }


    public void setPeerInfo( final PeerInfoDto peerInfo )
    {
        this.peerInfo = peerInfo;
    }

    public void setPeerVersion( final String version)
    {
        this.peerInfo.setVersion( version );
    }


    public void setOwnerFingerprint( final String ownerFingerprint )
    {
        this.ownerFingerprint = ownerFingerprint;
    }


    public String getOwnerEmail()
    {
        return ownerEmail;
    }


    public void setOwnerEmail( final String ownerEmail )
    {
        this.ownerEmail = ownerEmail;
    }


    public String getOwnerPassword()
    {
        return ownerPassword;
    }


    public void setOwnerPassword( final String ownerPassword )
    {
        this.ownerPassword = ownerPassword;
    }


    public String getToken()
    {
        return token;
    }


    public void setToken( final String token )
    {
        this.token = token;
    }
}

@@ -226,16 +226,46 @@
 token;%0A%0A
+    private String tokenId;%0A%0A%0A
     publ
@@ -1469,10 +1469,176 @@
 ;%0A    %7D%0A
+%0A%0A    public String getTokenId()%0A    %7B%0A        return tokenId;%0A    %7D%0A%0A%0A    public void setTokenId( final String tokenId )%0A    %7B%0A        this.tokenId = tokenId;%0A    %7D%0A
 %7D%0A

Add user tokenId