/*
 * Copyright 2018 IBM Corp. All Rights Reserved.
 *
 * Licensed 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 com.ibm.watson.developer_cloud.discovery.v1.model;

import java.util.List;

import com.ibm.watson.developer_cloud.service.model.GenericModel;

/**
 * The list of fetched fields.
 *
 * The fields are returned using a fully qualified name format, however, the format differs slightly from that used by
 * the query operations.
 *
 * Fields which contain nested JSON objects are assigned a type of "nested".
 *
 * Fields which belong to a nested object are prefixed with `.properties` (for example, `warnings.properties.severity`
 * means that the `warnings` object has a property called `severity`).
 *
 * Fields returned from the News collection are prefixed with `v{N}-fullnews-t3-{YEAR}.mappings` (for example,
 * `v5-fullnews-t3-2016.mappings.text.properties.author`).
 */
public class ListCollectionFieldsResponse extends GenericModel {

  private List<Field> fields;

  /**
   * Gets the fields.
   *
   * An array containing information about each field in the collections.
   *
   * @return the fields
   */
  public List<Field> getFields() {
    return fields;
  }
}

@@ -928,24 +928,26 @@
 tions.%0A *%0A *
+ *
  Fields whic
@@ -1008,24 +1008,26 @@
 nested%22.%0A *%0A
+ *
  * Fields wh
@@ -1101,16 +1101,19 @@
 example,
+%0A *
  %60warnin
@@ -1135,19 +1135,16 @@
 everity%60
-%0A *
  means t
@@ -1207,16 +1207,18 @@
 y%60).%0A *%0A
+ *
  * Field

Update model comments