package com.ibm.watson.developer_cloud.speech_to_text.v1.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by afaisman on 12/2/16.
 */
public class SpeakerLabel {

  private Double from;
  private Double to;
  private Double confidence;
  private int speaker;

  @SerializedName("final")
  private boolean ffinal;

  public Double getFrom() {
    return from;
  }

  public void setFrom(Double from) {
    this.from = from;
  }

  public Double getTo() {
    return to;
  }

  public void setTo(Double to) {
    this.to = to;
  }

  public Double getConfidence() {
    return confidence;
  }

  public void setConfidence(Double confidence) {
    this.confidence = confidence;
  }

  public int getSpeaker() {
    return speaker;
  }

  public void setSpeaker(int speaker) {
    this.speaker = speaker;
  }

  public boolean isFinal() {
    return ffinal;
  }

  public void setFinal(boolean ffinal) {
    this.ffinal = ffinal;
  }

}

@@ -113,46 +113,96 @@
 me;%0A
-%0A/**%0A * Created by afaisman on 12/2/16
+import com.ibm.watson.developer_cloud.service.model.GenericModel;%0A%0A/**%0A * Speaker labels
 .%0A *
@@ -229,16 +229,37 @@
 erLabel 
+extends GenericModel 
 %7B%0A%0A  pri

add javadoc to speaker labels