2020-09-15 23:04:29 +00:00
|
|
|
package tk.antoine_roux.wiki.model.response;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Json response object for register endpoint
|
|
|
|
*/
|
2020-09-16 17:49:19 +00:00
|
|
|
public class RegisterRunnerResponse {
|
2020-09-15 23:04:29 +00:00
|
|
|
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
|
|
|
|
String id;
|
|
|
|
@JsonProperty(access = JsonProperty.Access.READ_ONLY)
|
|
|
|
String token;
|
|
|
|
|
2020-09-16 17:49:19 +00:00
|
|
|
public RegisterRunnerResponse(String id, String token) {
|
2020-09-15 23:04:29 +00:00
|
|
|
this.id = id;
|
|
|
|
this.token = token;
|
|
|
|
}
|
|
|
|
}
|