| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/oci/cloud_bridge/models/ |
Upload File : |
# coding: utf-8
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220509
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@init_model_state_from_kwargs
class Nvdimm(object):
"""
The asset's NVDIMM configuration.
"""
def __init__(self, **kwargs):
"""
Initializes a new Nvdimm object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param label:
The value to assign to the label property of this Nvdimm.
:type label: str
:param unit_number:
The value to assign to the unit_number property of this Nvdimm.
:type unit_number: int
:param controller_key:
The value to assign to the controller_key property of this Nvdimm.
:type controller_key: int
"""
self.swagger_types = {
'label': 'str',
'unit_number': 'int',
'controller_key': 'int'
}
self.attribute_map = {
'label': 'label',
'unit_number': 'unitNumber',
'controller_key': 'controllerKey'
}
self._label = None
self._unit_number = None
self._controller_key = None
@property
def label(self):
"""
Gets the label of this Nvdimm.
Provides a label and summary information for the device.
:return: The label of this Nvdimm.
:rtype: str
"""
return self._label
@label.setter
def label(self, label):
"""
Sets the label of this Nvdimm.
Provides a label and summary information for the device.
:param label: The label of this Nvdimm.
:type: str
"""
self._label = label
@property
def unit_number(self):
"""
Gets the unit_number of this Nvdimm.
The unit number of NVDIMM.
:return: The unit_number of this Nvdimm.
:rtype: int
"""
return self._unit_number
@unit_number.setter
def unit_number(self, unit_number):
"""
Sets the unit_number of this Nvdimm.
The unit number of NVDIMM.
:param unit_number: The unit_number of this Nvdimm.
:type: int
"""
self._unit_number = unit_number
@property
def controller_key(self):
"""
Gets the controller_key of this Nvdimm.
Controller key.
:return: The controller_key of this Nvdimm.
:rtype: int
"""
return self._controller_key
@controller_key.setter
def controller_key(self, controller_key):
"""
Sets the controller_key of this Nvdimm.
Controller key.
:param controller_key: The controller_key of this Nvdimm.
:type: int
"""
self._controller_key = controller_key
def __repr__(self):
return formatted_flat_dict(self)
def __eq__(self, other):
if other is None:
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
return not self == other