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

com.vmware.connectors.servicenow.ScRequest 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 sc_request table.
 */
public final class ScRequest {

    public enum Fields {

        /**
         * The system id for an item in the sc_request table.
         *
         * Example: 6eed229047801200e0ef563dbb9a71c2
         */
        SYS_ID("sys_id"),

        /**
         * The request number.
         *
         * Example: REQ0000001
         */
        NUMBER("number");

        private final String snowField;

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

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

    }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy