aboutsummaryrefslogtreecommitdiffstats
path: root/sli/model/src/main/yang-gen-sal/org/opendaylight/yang/gen/v1/org/onap/ccsdk/sli/core/sliapi/rev161110/ExecuteGraphInput.java
blob: 4045483ec5ba7e16a5838657084080b1eec82dea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
package org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110;
import org.opendaylight.yangtools.yang.binding.DataObject;
import org.opendaylight.yangtools.yang.common.QName;
import java.util.List;
import org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.execute.graph.input.SliParameter;
import org.opendaylight.yangtools.yang.binding.Augmentable;

/**
 * <p>This class represents the following YANG schema fragment defined in module <b>SLI-API</b>
 * <pre>
 * container input {
 *     leaf module-name {
 *         type string;
 *     }
 *     leaf rpc-name {
 *         type string;
 *     }
 *     leaf mode {
 *         type enumeration;
 *     }
 *     list sli-parameter {
 *         key "parameter-name"
 *         leaf parameter-name {
 *             type string;
 *         }
 *         leaf int-value {
 *             type int32;
 *         }
 *         leaf string-value {
 *             type string;
 *         }
 *         leaf boolean-value {
 *             type boolean;
 *         }
 *         uses parameter-setting;
 *     }
 * }
 * </pre>
 * The schema path to identify an instance is
 * <i>SLI-API/execute-graph/input</i>
 *
 * <p>To create instances of this class use {@link org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.ExecuteGraphInputBuilder}.
 * @see org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.ExecuteGraphInputBuilder
 *
 */
public interface ExecuteGraphInput
    extends
    DataObject,
    Augmentable<org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.ExecuteGraphInput>
{


    public enum Mode {
        Sync(0, "sync"),
        
        Async(1, "async")
        ;
    
    
        java.lang.String name;
        int value;
        private static final java.util.Map<java.lang.Integer, Mode> VALUE_MAP;
    
        static {
            final com.google.common.collect.ImmutableMap.Builder<java.lang.Integer, Mode> b = com.google.common.collect.ImmutableMap.builder();
            for (Mode enumItem : Mode.values())
            {
                b.put(enumItem.value, enumItem);
            }
    
            VALUE_MAP = b.build();
        }
    
        private Mode(int value, java.lang.String name) {
            this.value = value;
            this.name = name;
        }
    
        /**
         * Returns the name of the enumeration item as it is specified in the input yang.
         *
         * @return the name of the enumeration item as it is specified in the input yang
         */
        public java.lang.String getName() {
            return name;
        }
    
        /**
         * @return integer value
         */
        public int getIntValue() {
            return value;
        }
    
        /**
         * @param valueArg
         * @return corresponding Mode item
         */
        public static Mode forValue(int valueArg) {
            return VALUE_MAP.get(valueArg);
        }
    }

    public static final QName QNAME = org.opendaylight.yangtools.yang.common.QName.create("org:onap:ccsdk:sli:core:sliapi",
        "2016-11-10", "input").intern();

    /**
     * @return <code>java.lang.String</code> <code>moduleName</code>, or <code>null</code> if not present
     */
    java.lang.String getModuleName();
    
    /**
     * @return <code>java.lang.String</code> <code>rpcName</code>, or <code>null</code> if not present
     */
    java.lang.String getRpcName();
    
    /**
     * @return <code>org.opendaylight.yang.gen.v1.org.onap.ccsdk.sli.core.sliapi.rev161110.ExecuteGraphInput.Mode</code> <code>mode</code>, or <code>null</code> if not present
     */
    Mode getMode();
    
    /**
     * @return <code>java.util.List</code> <code>sliParameter</code>, or <code>null</code> if not present
     */
    List<SliParameter> getSliParameter();

}