pub struct PatchedBulkWritablePlatformRequest {
pub id: Uuid,
pub name: Option<String>,
pub network_driver: Option<String>,
pub napalm_driver: Option<String>,
pub napalm_args: Option<Option<Value>>,
pub description: Option<String>,
pub manufacturer: Option<Option<Box<BulkWritablePlatformRequestManufacturer>>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
}Expand description
PatchedBulkWritablePlatformRequest : Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Fields§
§id: Uuid§name: Option<String>§network_driver: Option<String>The normalized network driver to use when interacting with devices, e.g. cisco_ios, arista_eos, etc. Library-specific driver names will be derived from this setting as appropriate
napalm_driver: Option<String>The name of the NAPALM driver to use when Nautobot internals interact with devices
napalm_args: Option<Option<Value>>Additional arguments to pass when initiating the NAPALM driver (JSON format)
description: Option<String>§manufacturer: Option<Option<Box<BulkWritablePlatformRequestManufacturer>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl PatchedBulkWritablePlatformRequest
impl PatchedBulkWritablePlatformRequest
Sourcepub fn new(id: Uuid) -> PatchedBulkWritablePlatformRequest
pub fn new(id: Uuid) -> PatchedBulkWritablePlatformRequest
Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Trait Implementations§
Source§impl Clone for PatchedBulkWritablePlatformRequest
impl Clone for PatchedBulkWritablePlatformRequest
Source§fn clone(&self) -> PatchedBulkWritablePlatformRequest
fn clone(&self) -> PatchedBulkWritablePlatformRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for PatchedBulkWritablePlatformRequest
impl Default for PatchedBulkWritablePlatformRequest
Source§fn default() -> PatchedBulkWritablePlatformRequest
fn default() -> PatchedBulkWritablePlatformRequest
Source§impl<'de> Deserialize<'de> for PatchedBulkWritablePlatformRequest
impl<'de> Deserialize<'de> for PatchedBulkWritablePlatformRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for PatchedBulkWritablePlatformRequest
impl PartialEq for PatchedBulkWritablePlatformRequest
Source§fn eq(&self, other: &PatchedBulkWritablePlatformRequest) -> bool
fn eq(&self, other: &PatchedBulkWritablePlatformRequest) -> bool
self and other values to be equal, and is used by ==.