001
002
003
004package com.plivo.api.models.brand;
005
006import com.plivo.api.models.base.Creator;
007import com.plivo.api.util.Utils;
008import retrofit2.Call;
009
010public class BrandCreator extends Creator<BrandCreateResponse> {
011  private String brandAlias;
012  private String profileUUID;
013  private Boolean secondaryVetting;
014  private String brandType;
015  private String url;
016  private String method;
017  
018  BrandCreator(String brandAlias,String profileUUID,String brandType,Boolean secondaryVetting,String url,String method) {
019    this.brandAlias = brandAlias;
020    this.profileUUID = profileUUID;
021    this.brandType = brandType;
022    this.secondaryVetting = secondaryVetting;
023    this.url = url;
024    this.method = method;
025  }
026
027  public String brandAlias() {
028    return this.brandAlias;
029  }
030
031  public String profileUUID() {
032    return this.profileUUID;
033  }
034
035  public String brandType() {
036    return this.brandType;
037  }
038
039  public Boolean secondaryVetting(){
040      return this.secondaryVetting;
041  }
042
043  public String url(){
044    return this.url;
045  }
046
047  public String method(){
048    return this.method;
049  }
050
051  @Override
052  protected Call<BrandCreateResponse> obtainCall() {
053    return client().getApiService().createBrand(client().getAuthId(), this);
054  }
055}