class DefaultOperationInfo implements OperationInfo {

  private final String kind;
  private final String operationType;
  private final String name;
  private final String namespace;
  private final String group;
  private final String plural;
  private final String version;

  public DefaultOperationInfo(String kind, String operationType, String name, String namespace, String group, String plural,
      String version) {
    this.kind = kind;
    this.name = name;
    this.namespace = namespace;
    this.operationType = operationType;
    this.group = group;
    this.plural = plural;
    this.version = version;
  }

  @Override
  public String getKind() {
    return kind;
  }

  @Override
  public String getName() {
    return name;
  }

  @Override
  public String getNamespace() {
    return namespace;
  }

  @Override
  public String getOperationType() {
    return operationType;
  }

  @Override
  public OperationInfo forOperationType(String type) {<FILL_FUNCTION_BODY>}

  @Override
  public String getGroup() {
    return group;
  }

  @Override
  public String getPlural() {
    return plural;
  }

  @Override
  public String getVersion() {
    return version;
  }
}

    return new DefaultOperationInfo(kind, type, name, namespace, group, plural, version);
  
<no_super_class>