Repository: incubator-stratos Updated Branches: refs/heads/master f888f854c -> b4300d7b3
Adding missing file in rest.endpoint component SubscriptionDomainRequest.java Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/b4300d7b Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/b4300d7b Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/b4300d7b Branch: refs/heads/master Commit: b4300d7b31b5666416eddbe386a9306d34a81641 Parents: f888f85 Author: Imesh Gunaratne <[email protected]> Authored: Tue Apr 29 17:07:57 2014 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Tue Apr 29 17:07:57 2014 +0530 ---------------------------------------------------------------------- .../bean/SubscriptionDomainRequest.java | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/b4300d7b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/SubscriptionDomainRequest.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/SubscriptionDomainRequest.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/SubscriptionDomainRequest.java new file mode 100644 index 0000000..9b066cb --- /dev/null +++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/bean/SubscriptionDomainRequest.java @@ -0,0 +1,39 @@ +/* + * 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.stratos.rest.endpoint.bean; + +import javax.xml.bind.annotation.XmlRootElement; +import java.util.List; + +/** + * Defines subscription domain post request. + */ +@XmlRootElement(name = "subscriptionDomainRequest") +public class SubscriptionDomainRequest { + private List<String> domains; + + public List<String> getDomains() { + return domains; + } + + public void setDomains(List<String> domains) { + this.domains = domains; + } +}
