aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ncmp-service/src/test/resources/dmiAsyncRequestResponseEvent.json
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2023-08-24 10:29:34 +0100
committerToineSiebelink <toine.siebelink@est.tech>2023-08-24 17:25:16 +0100
commit4c5740094a9e7f84b72e79f691a34babbf6be344 (patch)
tree850e038ace13a0ec40dae8fdc9fe54686d149dd7 /cps-ncmp-service/src/test/resources/dmiAsyncRequestResponseEvent.json
parent7a9770088999e03f743fbea9c945e8c08a3f47b6 (diff)
Extend model loader to support model-upgrade (part 1)
- refactor existign code for easier extension (no code changes yet, just want to review refactor in this first patch...) - changed log level of some (error) logging Issue-ID: CPS-1804 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I234ad6c4057e9447cd39a83b8f48799918ca6b7f
Diffstat (limited to 'cps-ncmp-service/src/test/resources/dmiAsyncRequestResponseEvent.json')
0 files changed, 0 insertions, 0 deletions
#fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*!
 * Copyright © 2016-2018 European Support Limited
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */

export class ToscaPresentationData {
    creationTime: number;
    description: string;
    type: string;
    validTargetTypes: Array<string>;
    modificationTime: number;
    uniqueId: string;
    ownerId: string;

    constructor(toscaPresentation?: ToscaPresentationData) {
        if (toscaPresentation) {
            this.creationTime = toscaPresentation.creationTime;
            this.description = toscaPresentation.description;
            this.type = toscaPresentation.type;
            this.validTargetTypes = toscaPresentation.validTargetTypes;
            this.modificationTime = toscaPresentation.modificationTime;
            this.uniqueId = toscaPresentation.uniqueId;
            this.ownerId = toscaPresentation.ownerId;
        }
    }
}