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

com.shell.apitest.exceptions.FleetmanagementV1UserLoggedinuser401ErrorException Maven / Gradle / Ivy

/*
 * ShellCardManagementAPIsLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

package com.shell.apitest.exceptions;

import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.shell.apitest.models.Fault;
import io.apimatic.coreinterfaces.http.Context;

/**
 * This is a model class for FleetmanagementV1UserLoggedinuser401ErrorException type.
 */
public class FleetmanagementV1UserLoggedinuser401ErrorException extends ApiException {
    private static final long serialVersionUID = 42935961232459314L;
    private Fault fault;

    /**
     * Initialization constructor.
     * @param   reason  The reason for throwing exception
     * @param   context The context of the API exception
     */
    public FleetmanagementV1UserLoggedinuser401ErrorException(String reason, Context context) {
        super(reason, context);
    }


    /**
     * Getter for Fault.
     * @return Returns the Fault
     */
    @JsonGetter("fault")
    public Fault getFault() {
        return this.fault;
    }

    /**
     * Setter for Fault.
     * @param fault Value for Fault
     */
    @JsonSetter("fault")
    private void setFault(Fault fault) {
        this.fault = fault;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy