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

com.microsoft.graph.beta.generated.models.MacOSContentCachingClientPolicy Maven / Gradle / Ivy

There is a newer version: 6.26.0
Show newest version
package com.microsoft.graph.beta.models;

import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;

/**
 * Determines which clients a content cache will serve.
 */
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum MacOSContentCachingClientPolicy implements ValuedEnum {
    /** Defaults to clients in local network. */
    NotConfigured("notConfigured"),
    /** Content caches will provide content to devices only in their immediate local network. */
    ClientsInLocalNetwork("clientsInLocalNetwork"),
    /** Content caches will provide content to devices that share the same public IP address. */
    ClientsWithSamePublicIpAddress("clientsWithSamePublicIpAddress"),
    /** Content caches will provide content to devices in contentCachingClientListenRanges. */
    ClientsInCustomLocalNetworks("clientsInCustomLocalNetworks"),
    /** Content caches will provide content to devices in contentCachingClientListenRanges, contentCachingPeerListenRanges, and contentCachingParents. */
    ClientsInCustomLocalNetworksWithFallback("clientsInCustomLocalNetworksWithFallback");
    public final String value;
    MacOSContentCachingClientPolicy(final String value) {
        this.value = value;
    }
    @jakarta.annotation.Nonnull
    public String getValue() { return this.value; }
    @jakarta.annotation.Nullable
    public static MacOSContentCachingClientPolicy forValue(@jakarta.annotation.Nonnull final String searchValue) {
        Objects.requireNonNull(searchValue);
        switch(searchValue) {
            case "notConfigured": return NotConfigured;
            case "clientsInLocalNetwork": return ClientsInLocalNetwork;
            case "clientsWithSamePublicIpAddress": return ClientsWithSamePublicIpAddress;
            case "clientsInCustomLocalNetworks": return ClientsInCustomLocalNetworks;
            case "clientsInCustomLocalNetworksWithFallback": return ClientsInCustomLocalNetworksWithFallback;
            default: return null;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy