package cz.moneta.test.dsl.wso2.objects.smallbusiness;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Response model for NAS GET_APP_IB_DATA service
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class GetAppIbDataResponse {

    @JsonProperty("DIGI_LOGIN")
    private String digiLogin;

    @JsonProperty("DIGI_ENTITY_ID")
    private Long digiEntityId;

    @JsonProperty("DIGI_CLIENT_ID")
    private Long digiClientId;

    @JsonProperty("DIGI_CONTEXT_ID")
    private Long digiContextId;

    @JsonProperty("DIGI_ENABLE_ACTIVE_OPS")
    private String digiEnableActiveOps;

    @JsonProperty("DIGI_DAILY_OPS_LIMIT")
    private Long digiDailyOpsLimit;

    @JsonProperty("fault")
    private Fault fault;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Fault {
        @JsonProperty("code")
        private String code;

        @JsonProperty("message")
        private String message;

        @JsonProperty("description")
        private String description;
    }
}

