1
/* ============================================================================
2
Copyright 2014 Hewlett Packard
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.
15
============================================================================ */
16
using System.Collections.Generic;
17
using Openstack.Administration.Domain;
18
using System.Collections;
19
using Openstack.Client.Powershell.Providers.Common;
20
using Openstack.Objects.Domain.Compute;
21
using Openstack.Objects.Domain;
23
namespace Openstack.Client.Powershell.Providers.Compute
25
public class AbsoluteLimitsUIContainer : BaseUIContainer
27
private List<BaseEntity> _absoluteLimits;
29
//=========================================================================================================
33
/// <param name="name"></param>
34
/// <param name="description"></param>
35
/// <param name="path"></param>
36
//=========================================================================================================
37
public AbsoluteLimitsUIContainer(BaseUIContainer parentContainer,
41
List<BaseEntity> absoluteLimits)
42
: base(parentContainer, name, description, path)
44
_absoluteLimits = absoluteLimits;
45
this.ObjectType = ObjectType.Container;
49
//=========================================================================================================
53
/// <typeparam name="T"></typeparam>
54
/// <returns></returns>
55
//=========================================================================================================
56
public override void Load()
60
//=========================================================================================================
64
/// <param name="id"></param>
65
/// <returns></returns>
66
//=========================================================================================================
67
public override BaseUIContainer CreateContainer(string id)
73
//=========================================================================================================
77
//=========================================================================================================
78
//public List<AbsoluteLimit> AbsoluteLimits
80
// get { return _absoluteLimits; }
81
// set { _absoluteLimits = value; }