|
| 1 | +/* |
| 2 | + * Copyright 2018 IBM Corp. All Rights Reserved. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with |
| 5 | + * the License. You may obtain a copy of the License at |
| 6 | + * |
| 7 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | + * |
| 9 | + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on |
| 10 | + * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the |
| 11 | + * specific language governing permissions and limitations under the License. |
| 12 | + */ |
| 13 | +package com.ibm.watson.discovery.v1.model; |
| 14 | + |
| 15 | +import java.util.List; |
| 16 | + |
| 17 | +import com.google.gson.annotations.SerializedName; |
| 18 | +import com.ibm.cloud.sdk.core.service.model.GenericModel; |
| 19 | + |
| 20 | +/** |
| 21 | + * DeleteConfigurationResponse. |
| 22 | + */ |
| 23 | +public class DeleteConfigurationResponse extends GenericModel { |
| 24 | + |
| 25 | + /** |
| 26 | + * Status of the configuration. A deleted configuration has the status deleted. |
| 27 | + */ |
| 28 | + public interface Status { |
| 29 | + /** deleted. */ |
| 30 | + String DELETED = "deleted"; |
| 31 | + } |
| 32 | + |
| 33 | + @SerializedName("configuration_id") |
| 34 | + private String configurationId; |
| 35 | + private String status; |
| 36 | + private List<Notice> notices; |
| 37 | + |
| 38 | + /** |
| 39 | + * Gets the configurationId. |
| 40 | + * |
| 41 | + * The unique identifier for the configuration. |
| 42 | + * |
| 43 | + * @return the configurationId |
| 44 | + */ |
| 45 | + public String getConfigurationId() { |
| 46 | + return configurationId; |
| 47 | + } |
| 48 | + |
| 49 | + /** |
| 50 | + * Gets the status. |
| 51 | + * |
| 52 | + * Status of the configuration. A deleted configuration has the status deleted. |
| 53 | + * |
| 54 | + * @return the status |
| 55 | + */ |
| 56 | + public String getStatus() { |
| 57 | + return status; |
| 58 | + } |
| 59 | + |
| 60 | + /** |
| 61 | + * Gets the notices. |
| 62 | + * |
| 63 | + * An array of notice messages, if any. |
| 64 | + * |
| 65 | + * @return the notices |
| 66 | + */ |
| 67 | + public List<Notice> getNotices() { |
| 68 | + return notices; |
| 69 | + } |
| 70 | +} |
0 commit comments