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

com.microsoft.aad.msal4j.CurrentRequest Maven / Gradle / Ivy

// Generated by delombok at Sat Mar 26 00:48:08 UTC 2022
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.aad.msal4j;

class CurrentRequest {
    private final PublicApi publicApi;
    private int cacheInfo = -1;
    private String regionUsed = StringHelper.EMPTY_STRING;
    private int regionSource = 0;
    private int regionOutcome = 0;

    CurrentRequest(PublicApi publicApi) {
        this.publicApi = publicApi;
    }

    @java.lang.SuppressWarnings("all")
    public PublicApi publicApi() {
        return this.publicApi;
    }

    @java.lang.SuppressWarnings("all")
    public int cacheInfo() {
        return this.cacheInfo;
    }

    @java.lang.SuppressWarnings("all")
    public String regionUsed() {
        return this.regionUsed;
    }

    @java.lang.SuppressWarnings("all")
    public int regionSource() {
        return this.regionSource;
    }

    @java.lang.SuppressWarnings("all")
    public int regionOutcome() {
        return this.regionOutcome;
    }

    @java.lang.SuppressWarnings("all")
    public CurrentRequest cacheInfo(final int cacheInfo) {
        this.cacheInfo = cacheInfo;
        return this;
    }

    @java.lang.SuppressWarnings("all")
    public CurrentRequest regionUsed(final String regionUsed) {
        this.regionUsed = regionUsed;
        return this;
    }

    @java.lang.SuppressWarnings("all")
    public CurrentRequest regionSource(final int regionSource) {
        this.regionSource = regionSource;
        return this;
    }

    @java.lang.SuppressWarnings("all")
    public CurrentRequest regionOutcome(final int regionOutcome) {
        this.regionOutcome = regionOutcome;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy