com.microsoft.azure.management.network.Origin Maven / Gradle / Ivy
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for Origin.
*/
public final class Origin extends ExpandableStringEnum {
/** Static value Local for Origin. */
public static final Origin LOCAL = fromString("Local");
/** Static value Inbound for Origin. */
public static final Origin INBOUND = fromString("Inbound");
/** Static value Outbound for Origin. */
public static final Origin OUTBOUND = fromString("Outbound");
/**
* Creates or finds a Origin from its string representation.
* @param name a name to look for
* @return the corresponding Origin
*/
@JsonCreator
public static Origin fromString(String name) {
return fromString(name, Origin.class);
}
/**
* @return known Origin values
*/
public static Collection values() {
return values(Origin.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy