// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, // software distributed under the License is distributed on an // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. package org.apache.cloudstack.api.response; import com.google.gson.annotations.SerializedName; import org.apache.cloudstack.api.ApiConstants; import org.apache.cloudstack.api.BaseResponse; import org.apache.cloudstack.api.EntityReference; import com.cloud.host.HostVO; import com.cloud.serializer.Param; @EntityReference(value = HostVO.class) public class SspResponse extends BaseResponse { @SerializedName(ApiConstants.HOST_ID) @Param(description = "server id of the stratosphere ssp server") private String hostId; @SerializedName(ApiConstants.ZONE_ID) @Param(description = "zone which this ssp controls") private String zoneId; @SerializedName(ApiConstants.URL) @Param(description = "url of ssp endpoint") private String url; @SerializedName(ApiConstants.NAME) @Param(description = "name") private String name; public String getHostId() { return hostId; } public void setHostId(String hostId) { this.hostId = hostId; } public String getZoneId() { return zoneId; } public void setZoneId(String zoneId) { this.zoneId = zoneId; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getName() { return name; } public void setName(String name) { this.name = name; } }