

package com.rackspacecloud.client.service_registry;

import com.rackspacecloud.client.service_registry.objects.Service;

public class ServiceCreateResponse {
    private final Service service;
    private final String token;
    private final HeartBeater heartbeater;

    public ServiceCreateResponse(HeartBeater heartbeater, Service service, String token) {
        this.service = service;
        this.token = token;
        this.heartbeater = heartbeater;
    }

    public Service getService() {
        return service;
    }

    public String getToken() {
        return token;
    }

    public HeartBeater getHeartbeater() {
        return heartbeater;
    }
}
