// Copyright (C) 2016 The Android Open Source Project
//
// 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.google.gerrit.extensions.common;

public class AgreementInfo {
  public String name;
  public String description;
  public String url;
  public GroupInfo autoVerifyGroup;
}

@@ -652,108 +652,635 @@
 n;%0A%0A
-public class AgreementInfo %7B%0A  public String name;%0A  public String description;%0A  public String url;
+/**%0A * Representation of a contributor agreement in the REST API.%0A *%0A * %3Cp%3EThis class determines the JSON format of a contributor agreement in the REST API.%0A */%0Apublic class AgreementInfo %7B%0A  /** The unique name of the contributor agreement. */%0A  public String name;%0A%0A  /** The description of the contributor agreement. */%0A  public String description;%0A%0A  /** The URL of the contributor agreement. */%0A  public String url;%0A%0A  /**%0A   * Group to which a user that signs the contributor agreement online is added automatically.%0A   *%0A   * %3Cp%3EMay be %7B@code null%7D. In this case users cannot sign the contributor agreement online.%0A   */
 %0A  p

Document AgreementInfo class