1 # Copyright (c) 2017 Cable Television Laboratories, Inc. ("CableLabs")
2 # and others. All rights reserved.
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:
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 __author__ = 'spisarski'
19 class CloudObject(object):
21 Base class for all cloud objects to create or manage
26 Method used to initialize object via queries
29 raise NotImplementedError('Please implement this abstract method')
33 Method to be called to create this cloud object. First line should
34 generally be a call to initialize()
37 raise NotImplementedError('Please implement this abstract method')
41 Method used to delete objects on the cloud
44 raise NotImplementedError('Please implement this abstract method')