001package com.box.sdkgen.managers.trashedfiles;
002
003import static com.box.sdkgen.internal.utils.UtilsManager.mapOf;
004
005import java.util.Map;
006
007public class RestoreFileFromTrashHeaders {
008
009  /** Extra headers that will be included in the HTTP request. */
010  public Map<String, String> extraHeaders;
011
012  public RestoreFileFromTrashHeaders() {
013    this.extraHeaders = mapOf();
014  }
015
016  protected RestoreFileFromTrashHeaders(Builder builder) {
017    this.extraHeaders = builder.extraHeaders;
018  }
019
020  public Map<String, String> getExtraHeaders() {
021    return extraHeaders;
022  }
023
024  public static class Builder {
025
026    protected Map<String, String> extraHeaders;
027
028    public Builder() {}
029
030    public Builder extraHeaders(Map<String, String> extraHeaders) {
031      this.extraHeaders = extraHeaders;
032      return this;
033    }
034
035    public RestoreFileFromTrashHeaders build() {
036      if (this.extraHeaders == null) {
037        this.extraHeaders = mapOf();
038      }
039      return new RestoreFileFromTrashHeaders(this);
040    }
041  }
042}