11#ifndef GI_INV_DNSSERVER_HPP
12#define GI_INV_DNSSERVER_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
22 :
public opflex::modb::mointernal::MO
29 static const opflex::modb::class_id_t
CLASS_ID = 131;
44 boost::optional<const std::string&>
getName()
98 static boost::optional<OF_SHARED_PTR<modelgbp::inv::DNSServer> >
resolve(
100 const opflex::modb::URI&
uri)
102 return opflex::modb::mointernal::MO::resolve<modelgbp::inv::DNSServer>(
framework,
CLASS_ID,
uri);
116 static boost::optional<OF_SHARED_PTR<modelgbp::inv::DNSServer> >
resolve(
117 const opflex::modb::URI&
uri)
119 return opflex::modb::mointernal::MO::resolve<modelgbp::inv::DNSServer>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
258 const opflex::modb::URI&
uri)
275 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
397 opflex::modb::ObjectListener*
listener)
399 opflex::modb::mointernal
415 opflex::modb::ObjectListener*
listener)
428 opflex::modb::ObjectListener*
listener)
430 opflex::modb::mointernal
441 opflex::modb::ObjectListener*
listener)
452 const opflex::modb::URI&
uri,
Definition DNSServer.hpp:23
modelgbp::inv::DNSServer & unsetName()
Unset name in the currently-active mutator.
Definition DNSServer.hpp:81
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for DNSServer.
Definition DNSServer.hpp:29
DNSServer(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of DNSServer.
Definition DNSServer.hpp:450
static void removeUnderInvUniverseInvLocalEndpointInventoryInvLocalInventoryEpInvDHCPv4Config(const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invDNSServerName)
Remove the DNSServer object with the specified path elements from the managed object store using the ...
Definition DNSServer.hpp:323
void remove()
Remove this instance using the currently-active mutator.
Definition DNSServer.hpp:242
static void remove(const opflex::modb::URI &uri)
Remove the DNSServer object with the specified URI using the currently-active mutator and the default...
Definition DNSServer.hpp:273
static void removeUnderInvUniverseInvLocalEndpointInventoryInvLocalInventoryEpInvDHCPv6Config(opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invDNSServerName)
Remove the DNSServer object with the specified path elements from the managed object store.
Definition DNSServer.hpp:349
static void registerListener(opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class with the default framework...
Definition DNSServer.hpp:414
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition DNSServer.hpp:440
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DNSServer > > resolveUnderInvUniverseInvLocalEndpointInventoryInvLocalInventoryEpInvDHCPv6Config(opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invDNSServerName)
Retrieve an instance of DNSServer from the managed object store by constructing its URI from the path...
Definition DNSServer.hpp:198
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DNSServer > > resolveUnderInvUniverseInvLocalEndpointInventoryInvLocalInventoryEpInvDHCPv4Config(const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invDNSServerName)
Retrieve an instance of DNSServer from the default managed object store by constructing its URI from ...
Definition DNSServer.hpp:170
static void removeUnderInvUniverseInvLocalEndpointInventoryInvLocalInventoryEpInvDHCPv4Config(opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invDNSServerName)
Remove the DNSServer object with the specified path elements from the managed object store.
Definition DNSServer.hpp:296
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the DNSServer object with the specified URI using the currently-active mutator.
Definition DNSServer.hpp:257
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition DNSServer.hpp:426
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DNSServer > > resolveUnderInvUniverseInvLocalEndpointInventoryInvLocalInventoryEpInvDHCPv6Config(const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invDNSServerName)
Retrieve an instance of DNSServer from the default managed object store by constructing its URI from ...
Definition DNSServer.hpp:226
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition DNSServer.hpp:44
static void removeUnderInvUniverseInvLocalEndpointInventoryInvLocalInventoryEpInvDHCPv6Config(const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invDNSServerName)
Remove the DNSServer object with the specified path elements from the managed object store using the ...
Definition DNSServer.hpp:376
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DNSServer > > resolveUnderInvUniverseInvLocalEndpointInventoryInvLocalInventoryEpInvDHCPv4Config(opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invDNSServerName)
Retrieve an instance of DNSServer from the managed object store by constructing its URI from the path...
Definition DNSServer.hpp:142
bool isNameSet()
Check whether name has been set.
Definition DNSServer.hpp:35
const std::string & getName(const std::string &defaultValue)
Get the value of name if set, otherwise the value of default passed in.
Definition DNSServer.hpp:56
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DNSServer > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of DNSServer from the managed object store.
Definition DNSServer.hpp:98
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DNSServer > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of DNSServer from the managed object store using the default framework instance.
Definition DNSServer.hpp:116
static void registerListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class.
Definition DNSServer.hpp:395
modelgbp::inv::DNSServer & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition DNSServer.hpp:69
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12