class EmbeddingResponse {
    private final String object;
    private final String id;
    private final Integer created;
    private final List<EmbeddingData> data;
    private final Usage usage;
    private String errorCode;
    private String errorMsg;

    private EmbeddingResponse(Builder builder) {
        this.object = builder.object;
        this.data = builder.data;
        this.usage = builder.usage;
        this.id=builder.id;
        this.created=builder.created;
    }

    public String object() {
        return this.object;
    }

    public List<EmbeddingData> data() {
        return this.data;
    }

    public Usage usage() {
        return this.usage;
    }
    public String id() {
        return this.id;
    }
    public Integer created() {
        return this.created;
    }

    public List<Float> embedding() {
        return ((EmbeddingData)this.data.get(0)).embedding();
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}


    public static Builder builder() {
        return new Builder();
    }

    public static final class Builder {
        private  String object;
        private  String id;
        private  Integer created;
        private  List<EmbeddingData> data;
        private  Usage usage;

        private Builder() {
        }

        public Builder object(String object) {
            this.object = object;
            return this;
        }

        public Builder data(List<EmbeddingData> data) {
            if (data != null) {
                this.data = Collections.unmodifiableList(data);
            }
            return this;
        }

        public Builder usage(Usage usage) {
            this.usage = usage;
            return this;
        }
        public Builder id(String id) {
            this.id = id;
            return this;
        }
        public Builder created(Integer created) {
            this.created = created;
            return this;
        }
        public EmbeddingResponse build() {
            return new EmbeddingResponse(this);
        }
    }
}

        return "EmbeddingResponse{" +
                "object='" + object + '\'' +
                ", id='" + id + '\'' +
                ", created=" + created +
                ", data=" + data +
                ", usage=" + usage +
                '}';
    
<no_super_class>