@Test public void testToStringFormat() throws Exception { final Upload upload = readObjectFromResource("/dataset/uploads/upload.json", Upload.class); assertThat(upload.toString(), matchesPattern(Upload.class.getSimpleName() + "\\[.*\\]")); }
@Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); }
Upload { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } }
Upload { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } Upload(@JsonProperty("msg") String message,
            @JsonProperty("progress") Double progress,
            @JsonProperty("status") String status,
            @JsonProperty("fullUpload") @JsonDeserialize(using = BooleanDeserializer.class) Boolean fullUpload,
            @JsonProperty("uri") String uri,
            @JsonProperty("createdAt") @JsonDeserialize(using = GDZonedDateTimeDeserializer.class) ZonedDateTime createdAt,
            @JsonProperty("fileSize") Integer size,
            @JsonProperty("processedAt") @JsonDeserialize(using = GDZonedDateTimeDeserializer.class) ZonedDateTime processedAt); }
Upload { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } Upload(@JsonProperty("msg") String message,
            @JsonProperty("progress") Double progress,
            @JsonProperty("status") String status,
            @JsonProperty("fullUpload") @JsonDeserialize(using = BooleanDeserializer.class) Boolean fullUpload,
            @JsonProperty("uri") String uri,
            @JsonProperty("createdAt") @JsonDeserialize(using = GDZonedDateTimeDeserializer.class) ZonedDateTime createdAt,
            @JsonProperty("fileSize") Integer size,
            @JsonProperty("processedAt") @JsonDeserialize(using = GDZonedDateTimeDeserializer.class) ZonedDateTime processedAt); String getUri(); String getStatus(); double getProgress(); String getMessage(); UploadMode getUploadMode(); Integer getSize(); ZonedDateTime getCreatedAt(); ZonedDateTime getProcessedAt(); @Override String toString(); }
Upload { @Override public String toString() { return GoodDataToStringBuilder.defaultToString(this); } Upload(@JsonProperty("msg") String message,
            @JsonProperty("progress") Double progress,
            @JsonProperty("status") String status,
            @JsonProperty("fullUpload") @JsonDeserialize(using = BooleanDeserializer.class) Boolean fullUpload,
            @JsonProperty("uri") String uri,
            @JsonProperty("createdAt") @JsonDeserialize(using = GDZonedDateTimeDeserializer.class) ZonedDateTime createdAt,
            @JsonProperty("fileSize") Integer size,
            @JsonProperty("processedAt") @JsonDeserialize(using = GDZonedDateTimeDeserializer.class) ZonedDateTime processedAt); String getUri(); String getStatus(); double getProgress(); String getMessage(); UploadMode getUploadMode(); Integer getSize(); ZonedDateTime getCreatedAt(); ZonedDateTime getProcessedAt(); @Override String toString(); static final String URI; }