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

com.vmware.connectors.servicenow.SysUser Maven / Gradle / Ivy

There is a newer version: 2.5
Show newest version
/*
 * Copyright © 2017 VMware, Inc. All Rights Reserved.
 * SPDX-License-Identifier: BSD-2-Clause
 */

package com.vmware.connectors.servicenow;

/**
 * A class to hold API information (fields, states, etc.) for ServiceNow's sys_user table.
 */
public final class SysUser {

    public enum Fields {

        /**
         * The system id for an item in the sys_user table.
         *
         * Example: 71826bf03710200044e0bfc8bcbe5d3b
         */
        SYS_ID("sys_id"),

        /**
         * The user's login name.
         *
         * Example: aileen.mottern
         */
        USER_NAME("user_name"),

        /**
         * The user's email address.
         *
         * Example: [email protected]
         */
        EMAIL("email");

        private final String snowField;

        Fields(String snowField) {
            this.snowField = snowField;
        }

        @Override
        public String toString() {
            return this.snowField;
        }

    }

    /**
     * The name of the user table in ServiceNow.
     */
    public static final String TABLE_NAME = "sys_user";

    private SysUser() {
        // empty: utility class
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy