All Downloads are FREE. Search and download functionalities are using the official Maven repository.

app.knock.api.model.KnockErrorResponse Maven / Gradle / Ivy

package app.knock.api.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Builder;
import lombok.Value;
import lombok.extern.jackson.Jacksonized;

import java.util.List;

@Value
@Jacksonized
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class KnockErrorResponse {
    String code;
    String message;
    Integer status;
    String type;

    @JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
    List errors;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy