class Netbox::API::Hosts

Defined in:

class/netbox/api/hosts.cr

Constructors

Instance Method Summary

Instance methods inherited from class Netbox::API::HostsCommon

cluster : API::ClustersBase | Nil cluster, cluster=(cluster : API::ClustersBase | Nil) cluster=, comments : String comments, comments=(comments : String) comments=, created : String created, created=(created : String) created=, host_name host_name, last_updated : String last_updated, last_updated=(last_updated : String) last_updated=, local_context_data : String | Nil local_context_data, local_context_data=(local_context_data : String | Nil) local_context_data=, platform : API::Platform | Nil platform, platform=(platform : API::Platform | Nil) platform=, primary_ip : API::IPsBase | Nil primary_ip, primary_ip4 : API::IPsBase | Nil primary_ip4, primary_ip4=(primary_ip4 : API::IPsBase | Nil) primary_ip4=, primary_ip6 : API::IPsBase | Nil primary_ip6, primary_ip6=(primary_ip6 : API::IPsBase | Nil) primary_ip6=, primary_ip=(primary_ip : API::IPsBase | Nil) primary_ip=, site : API::SitesBase | Nil site, site=(site : API::SitesBase | Nil) site=, status : Status status, status=(status : Status) status=, tags : Array(API::TagsBase) | Nil tags, tags=(tags : Array(API::TagsBase) | Nil) tags=, tenant : API::TenantsBase tenant, tenant=(tenant : API::TenantsBase) tenant=, type : String type, type=(type : String) type=

Constructor methods inherited from class Netbox::API::HostsCommon

new(pull : JSON::PullParser) new

Constructor methods inherited from class Netbox::API::HostsBase

new(pull : JSON::PullParser) new

Instance methods inherited from class Netbox::API::EntityWURL

url : String url, url=(url : String) url=

Constructor methods inherited from class Netbox::API::EntityWURL

new(pull : JSON::PullParser) new

Instance methods inherited from class Netbox::API::Entity

display : String | Nil display, display=(display : String | Nil) display=, id : Int32 id, id=(id : Int32) id=, name : String | Nil name, name=(name : String | Nil) name=

Constructor methods inherited from class Netbox::API::Entity

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def asset_tag : String | Nil #

[View source]
def asset_tag=(asset_tag : String | Nil) #

[View source]
def device_type : API::DeviceTypesBase #

[View source]
def device_type=(device_type : API::DeviceTypesBase) #

[View source]
def display_name : String #

[View source]
def display_name=(display_name : String) #

[View source]
def face : Face | Nil #

[View source]
def face=(face : Face | Nil) #

[View source]
def location : API::Location | Nil #

[View source]
def location=(location : API::Location | Nil) #

[View source]
def parent_device : API::Entity | Nil #

[View source]
def parent_device=(parent_device : API::Entity | Nil) #

[View source]
def position : Int32 | Nil #

[View source]
def position=(position : Int32 | Nil) #

[View source]
def rack : API::Rack | Nil #

[View source]
def rack=(rack : API::Rack | Nil) #

[View source]
def role : API::DeviceRole #

[View source]
def role=(role : API::DeviceRole) #

[View source]
def serial : String | Nil #

[View source]
def serial=(serial : String | Nil) #

[View source]