blob: b8b7d43e9640363bc5f45f779e7f25bcaa50aa22 [file] [log] [blame]
Chip Boling6e27b352020-02-14 09:10:01 -06001/*
2 * Copyright (c) 2018 - present. Boling Consulting Solutions (bcsw.net)
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
13 */
14/*
15 * NOTE: This file was generated, manual edits will be overwritten!
16 *
17 * Generated by 'goCodeGenerator.py':
18 * https://github.com/cboling/OMCI-parser/README.md
19 */
20
21package generated
22
23// ClassSupport specifies the support for this Managed Entity by the ONU
24type ClassSupport int
25
26const (
27 UnknownSupport = iota
28 Supported // Supported as defined by this object
29 Unsupported // OMCI returns error code if accessed
30 PartiallySupported // some aspects of ME supported
31 Ignored // OMCI supported, but underlying function is now
32)
33
34func (cs ClassSupport) String() string {
35 return [...]string{"Unknown", "Supported", "Unsupported", "Partially Supported", "Ignored"}[cs]
36}