OBJECT

InventoryModel

A type of item stored in inventory.

link GraphQL Schema definition

  • type InventoryModel implements VendoritemableInterface, NoteableInterface, FileableInterface, LoggableInterface, AccessloggableInterface {
  • # The ID of the entity.
  • id: Int64Bit!
  • # An ID that uniquely identifies this entity across the whole Sonar system.
  • sonar_unique_id: ID!
  • # The date and time this entity was created.
  • created_at: Datetime!
  • # The last date and time this entity was modified.
  • updated_at: Datetime!
  • # A string that shows the version of this entity. It will be incremented whenever
  • # the entity is modified.
  • _version: String!
  • # Sets the default vendor to be used for purchasing this inventory model.
  • default_vendor_id: Int64Bit
  • # The type of inventory model.
  • device_type: InventoryModelDeviceType!
  • # Whether or not this is enabled.
  • enabled: Boolean!
  • # Whether or not this is generic.
  • generic: Boolean!
  • # An icon.
  • icon: Icon!
  • # The ID of an InventoryModelCategory.
  • inventory_model_category_id: Int64Bit!
  • # If this is a SIM card for LTE provisioning, which provider this SIM is for.
  • lte_sim_type: LteProviderType
  • # The ID of a Manufacturer.
  • manufacturer_id: Int64Bit!
  • # The actual model name/part number.
  • model_name: String
  • # A descriptive name.
  • name: String!
  • # The ID of a `NetworkMonitoringTemplate`.
  • network_monitoring_template_id: Int64Bit
  • # The TCP port that the web interface of this type of device is available on.
  • port: Int
  • # The protocol used to access the web interface.
  • protocol: Protocol
  • # A manufacturer of an item stored in inventory.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # name: A descriptive name.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • manufacturer(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • name: String,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): Manufacturer
  • # A category of item stored in inventory.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # general_ledger_code_id: The ID of a GeneralLedgerCode.
  • # icon: An icon.
  • # name: A descriptive name.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • inventory_model_category(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • general_ledger_code_id: Int64Bit,
  • icon: Icon,
  • name: String,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): InventoryModelCategory
  • # A `NetworkMonitoringTemplate`.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # collect_interface_statistics: Whether or not to collect
  • # interface statistics.
  • # icmp_latency_threshold: ICMP latency threshold (ms).
  • # icmp_loss_threshold: ICMP loss threshold (%).
  • # icmp_monitoring: Whether or not ICMP monitoring is enabled.
  • # name: A descriptive name.
  • # snmp3_auth_passphrase: SNMPv3 auth passphrase
  • # snmp3_auth_protocol: SNMPv3 auth protocol
  • # snmp3_context_engineid: SNMPv3 context engine ID
  • # snmp3_context_name: SNMPv3 context name
  • # snmp3_priv_passphrase: SNMPv3 privacy passphrase
  • # snmp3_priv_protocol: SNMPv3 privacy protocol
  • # snmp3_sec_level: SNMPv3 security level
  • # snmp_community: SNMP community/securityName
  • # snmp_version: SNMP version
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • network_monitoring_template(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • collect_interface_statistics: Boolean,
  • icmp_latency_threshold: Int,
  • icmp_loss_threshold: Int,
  • icmp_monitoring: Boolean,
  • name: String,
  • snmp3_auth_passphrase: Text,
  • snmp3_auth_protocol: Snmp3AuthProtocol,
  • snmp3_context_engineid: Text,
  • snmp3_context_name: Text,
  • snmp3_priv_passphrase: Text,
  • snmp3_priv_protocol: Snmp3PrivProtocol,
  • snmp3_sec_level: Snmp3SecurityLevel,
  • snmp_community: Text,
  • snmp_version: SnmpVersion,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): NetworkMonitoringTemplate
  • # The default vendor that should be used for restocking this inventory model.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # archived: Archived vendors may not be used for creating new
  • # Purchase Orders or Product Requests.
  • # automate_approved_purchase_orders: Determines if approved
  • # purchase orders for this vendor should automatically dispatch an email to the
  • # vendor.
  • # currency: The currency used for all transactions with this
  • # vendor.
  • # name: A descriptive name.
  • # payment_terms: The terms of payment for deliveries from this
  • # vendor.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • default_vendor(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • archived: Boolean,
  • automate_approved_purchase_orders: Boolean,
  • currency: Currency,
  • name: String,
  • payment_terms: PaymentTerm,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): Vendor
  • # An item that can be purchased from a particular vendor.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # archived: Archived vendor items may not be used for creating
  • # new purchase orders or product requests.
  • # name: A descriptive name.
  • # part_number: Part number used by the vendor to identify this
  • # vendor item.
  • # price: The purchase price of this item from the vendor.
  • # quantity_per_unit: Number of inventory models that are included
  • # in a single unit of this vendors product.
  • # retail_item: Flag for vendor items that should create a
  • # one-time service for retail sale to customers.
  • # retail_item_price: The price of the one-time service created
  • # for this vendor item
  • # retail_item_service_id: The ID of the one-time service created
  • # when this vendor item was created.
  • # vendor_id: The ID of the vendor that sells this item
  • # vendoritemable_id: The ID of the entity that is referred to by
  • # this vendor item.
  • # vendoritemable_type: The type of entity that is referred to by
  • # this vendor item.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • vendor_items(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • archived: Boolean,
  • name: String,
  • part_number: String,
  • price: Int,
  • quantity_per_unit: Int,
  • retail_item: Boolean,
  • retail_item_price: Int,
  • retail_item_service_id: Int64Bit,
  • vendor_id: Int64Bit,
  • vendoritemable_id: Int64Bit,
  • vendoritemable_type: VendoritemableType,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): VendorItemConnection!
  • # A note.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # message: The message.
  • # noteable_id: The ID of the entity that owns this note.
  • # noteable_type: The type of entity that owns this note.
  • # priority: The priority of this item.
  • # user_id: The ID of a User.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • notes(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • message: Text,
  • noteable_id: Int64Bit,
  • noteable_type: NoteableType,
  • priority: NotePriority,
  • user_id: Int64Bit,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): NoteConnection!
  • # A file.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # description: A human readable description.
  • # file_size_in_bytes: The file size, in bytes.
  • # fileable_id: The ID of the entity that owns this file.
  • # fileable_type: The type of entity that owns this file.
  • # filename: The file name.
  • # mime_type: The MIME type of the file.
  • # primary_image: An image file may be set to the primary image.
  • # This will be used as the displayed image for the object that this file is
  • # associated to throughout Sonar.
  • # user_id: The ID of a User.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • files(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • description: String,
  • file_size_in_bytes: Int64Bit,
  • fileable_id: Int64Bit,
  • fileable_type: FileableType,
  • filename: String,
  • mime_type: String,
  • primary_image: Boolean,
  • user_id: Int64Bit,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): FileConnection!
  • # A log entry.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # current: Current data.
  • # legacy: Whether or not this log was transferred from a Sonar v1
  • # instance. If so, the formatting will not match current version logs.
  • # legacy_title: A title which is only populated on logs that were
  • # imported from Sonar v1.
  • # level: The severity level.
  • # loggable_id: The ID of the entity that this log is attached to.
  • # loggable_type: The type of entity that this log is attached to.
  • # logged_entity_id: The entity ID that triggered the log.
  • # logged_entity_type: The entity that triggered the log.
  • # message: The message.
  • # previous: Previous data.
  • # relation_data: Data from objects related to this change.
  • # type: The type.
  • # user_id: The ID of a User.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • logs(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • current: Text,
  • legacy: Boolean,
  • legacy_title: String,
  • level: LogLevel,
  • loggable_id: Int64Bit,
  • loggable_type: String,
  • logged_entity_id: Int64Bit,
  • logged_entity_type: String,
  • message: Text,
  • previous: Text,
  • relation_data: Text,
  • type: LogType,
  • user_id: Int64Bit,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): LogConnection!
  • # An access log history on an entity.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # access_datetime: The date and time that this entity was
  • # accessed.
  • # accessloggable_id: The ID of the entity that this access log
  • # belongs to.
  • # accessloggable_type: The entity that this access log belongs
  • # to.
  • # entity_id: The ID of the entity that this access log belongs
  • # to.
  • # entity_name: The entity that this access log belongs to.
  • # user_id: The ID of the user that accessed this entity.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • access_logs(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • access_datetime: Datetime,
  • accessloggable_id: Int64Bit,
  • accessloggable_type: String,
  • entity_id: Int64Bit,
  • entity_name: String,
  • user_id: Int64Bit,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): AccessLogConnection!
  • # A field on an inventory model.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # inventory_model_id: The ID of an `InventoryModel`.
  • # name: A descriptive name.
  • # primary: A single inventory model field can be set to be the
  • # primary field. This will be used as the primary identifier for items of this
  • # model throughout Sonar.
  • # regexp: A PCRE regular expression. Omit the leading and closing
  • # /.
  • # required: Whether or not this field is required.
  • # secondary_type: Secondary types that inventory model fields can
  • # be set to.
  • # type: Types that inventory model fields can be set to.
  • # unique: Whether or not the field contents must be unique.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • inventory_model_fields(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • inventory_model_id: Int64Bit,
  • name: String,
  • primary: Boolean,
  • regexp: String,
  • required: Boolean,
  • secondary_type: InventoryModelFieldSecondaryType,
  • type: InventoryModelFieldType,
  • unique: Uniqueness,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): InventoryModelFieldConnection!
  • # An inventory item.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # claimed_user_id: The ID of the `User` that claimed this.
  • # deployment_type_id: The ID of a `DeploymentType`.
  • # flapping: Whether this inventory item is flapping or not.
  • # icmp_device_status: The current ICMP monitoring status of an
  • # `InventoryItem`.
  • # icmp_status_flap_count: The number of times the ICMP status has
  • # flapped.
  • # icmp_status_last_change: The timestamp of when the ICMP status
  • # last changed.
  • # icmp_threshold_violation: The ICMP monitoring threshold
  • # violation type.
  • # inventory_model_id: The ID of an `InventoryModel`.
  • # inventoryitemable_id: The ID of the entity that this inventory
  • # item is assigned to.
  • # inventoryitemable_type: The type of entity that this inventory
  • # item is assigned to.
  • # latitude: A decimal latitude.
  • # longitude: A decimal longitude.
  • # metadata: The metadata.
  • # overall_status: The overall status of an `InventoryItem` (the
  • # worse of ICMP/SNMP status).
  • # parent_inventory_item_id: The ID of the parent `InventoryItem`.
  • # preseem_status: The status of the device, as read from Preseem.
  • # purchase_order_item_id: The ID of a purchase order item
  • # purchase_price: The purchase price of this item.
  • # snmp_device_status: The current SNMP monitoring status of an
  • # `InventoryItem`.
  • # snmp_status_flap_count: The number of times the SNMP status has
  • # flapped.
  • # snmp_status_last_change: The timestamp of when the SNMP status
  • # last changed.
  • # snmp_status_message: The SNMP monitoring status message.
  • # status: The physical status of this item.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • inventory_items(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • claimed_user_id: Int64Bit,
  • deployment_type_id: Int64Bit,
  • flapping: Boolean,
  • icmp_device_status: InventoryItemDeviceStatus,
  • icmp_status_flap_count: Int,
  • icmp_status_last_change: Datetime,
  • icmp_threshold_violation: InventoryItemIcmpThresholdViolation,
  • inventory_model_id: Int64Bit,
  • inventoryitemable_id: Int64Bit,
  • inventoryitemable_type: InventoryitemableType,
  • latitude: Latitude,
  • longitude: Longitude,
  • metadata: String,
  • overall_status: InventoryItemDeviceStatus,
  • parent_inventory_item_id: Int64Bit,
  • preseem_status: PreseemStatus,
  • purchase_order_item_id: Int64Bit,
  • purchase_price: Int,
  • snmp_device_status: InventoryItemDeviceStatus,
  • snmp_status_flap_count: Int,
  • snmp_status_last_change: Datetime,
  • snmp_status_message: String,
  • status: InventoryItemStatus,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): InventoryItemConnection!
  • # The mode that an inventory item is deployed in.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # inventory_model_id: The ID of an `InventoryModel`.
  • # name: A descriptive name.
  • # network_monitoring_template_id: The ID of a
  • # `NetworkMonitoringTemplate`.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • deployment_types(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • inventory_model_id: Int64Bit,
  • name: String,
  • network_monitoring_template_id: Int64Bit,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): DeploymentTypeConnection!
  • # A generic inventory item.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # genericinventoryitemable_id: The type of entity that owns this
  • # generic `InventoryItem`.
  • # genericinventoryitemable_type: The ID of the entity that owns
  • # this generic `InventoryItem`.
  • # inventory_model_id: The ID of an `InventoryModel`.
  • # quantity: The quantity for this service.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • generic_inventory_items(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • genericinventoryitemable_id: Int64Bit,
  • genericinventoryitemable_type: InventoryitemableType,
  • inventory_model_id: Int64Bit,
  • quantity: Int,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): GenericInventoryItemConnection!
  • # A log of an action taken against a set of generic inventory items.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # action: The action that was performed.
  • # genericinventoryitemactionloggable_id: The ID of the entity
  • # that this `GenericInventoryItemActionLog` is for.
  • # genericinventoryitemactionloggable_type: The type of entity
  • # that this `GenericInventoryItemActionLog` is for.
  • # inventory_model_id: The ID of an `InventoryModel`.
  • # purchase_price: The purchase price of this item.
  • # quantity: The quantity for this service.
  • # user_id: The ID of a User.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • generic_inventory_item_action_logs(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • action: GenericInventoryItemActionLogAction,
  • genericinventoryitemactionloggable_id: Int64Bit,
  • genericinventoryitemactionloggable_type: InventoryitemableType,
  • inventory_model_id: Int64Bit,
  • purchase_price: Float,
  • quantity: Int,
  • user_id: Int64Bit,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): GenericInventoryItemActionLogConnection!
  • # An entity which maps an inventory model field to a vendor specific integration
  • # field type (ie serial number)
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # integration_field_type: The vendor specific type for field.
  • # integrationconfigurable_id: The ID of the configuration entity
  • # which owns this mapping.
  • # integrationconfigurable_type: The type of the configuration
  • # entity which owns this mapping.
  • # inventory_model_field_id: The ID of an `InventoryModelField`.
  • # inventory_model_id: The ID of an `InventoryModel`.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • integration_field_mappings(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • integration_field_type: IntegrationFieldType,
  • integrationconfigurable_id: Int64Bit,
  • integrationconfigurable_type: String,
  • inventory_model_field_id: Int64Bit,
  • inventory_model_id: Int64Bit,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): IntegrationFieldMappingConnection!
  • # Defines the minimum and maximum of an inventory level for all locations per
  • # inventory model.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # inventory_model_id: The ID of an `InventoryModel`.
  • # maximum: Maximum value
  • # minimum: Minimum value
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • global_inventory_model_min_maxes(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • inventory_model_id: Int64Bit,
  • maximum: Int,
  • minimum: Int,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): GlobalInventoryModelMinMaxConnection!
  • # Defines the minimum and maximum of an inventory level per location per inventory
  • # model.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # inventory_location_id: The ID of an `InventoryLocation`.
  • # inventory_model_id: The ID of an `InventoryModel`.
  • # maximum: Maximum value
  • # minimum: Minimum value
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • inventory_model_min_maxes(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • inventory_location_id: Int64Bit,
  • inventory_model_id: Int64Bit,
  • maximum: Int,
  • minimum: Int,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): InventoryModelMinMaxConnection!
  • # An alerting rotation.
  • #
  • # Arguments
  • # id: The ID of the entity.
  • # sonar_unique_id: An ID that uniquely identifies this entity
  • # across the whole Sonar system.
  • # created_at: The date and time this entity was created.
  • # updated_at: The last date and time this entity was modified.
  • # _version: A string that shows the version of this entity. It
  • # will be incremented whenever the entity is modified.
  • # all_accounts: Whether to include all account equipment in this
  • # rotation.
  • # all_inventory_models: Whether to include all inventory models
  • # in this rotation.
  • # all_network_sites: Whether to include all network site
  • # equipment in this rotation.
  • # down_time_in_minutes_before_alerting: The number of minutes a
  • # device can be in a down state before generating alert.
  • # down_time_in_minutes_before_repeat: The number of minutes a
  • # device can remain in a down state before sending a repeat alert.
  • # enabled: Whether or not this is enabled.
  • # infinite_repetitions: Whether this repeats forever or not.
  • # name: A descriptive name.
  • # repetitions: The number of times this repeats.
  • # start: The start.
  • # warning_time_in_minutes_before_alerting: The number of minutes
  • # a device can be in a warning state before generating alert.
  • # warning_time_in_minutes_before_repeat: The number of minutes a
  • # device can remain in a warning state before sending a repeat alert.
  • # weeks_between_repetitions: The number of weeks between
  • # repetitions.
  • # paginator: Provides the ability to paginate through results.
  • # sorter: Provides the ability to sort results.
  • # search: Complex search parameters.
  • # general_search: Search across all string fields with partial
  • # matching.
  • # aggregation: Provides the ability to return aggregated
  • # mathematical data about your results.
  • # reverse_relation_filters: Reverse relation filters allow you to
  • # filter the result of a relation, and use that filter to affect the returned root
  • # elements.
  • alerting_rotations(
  • id: Int64Bit,
  • sonar_unique_id: ID,
  • created_at: Datetime,
  • updated_at: Datetime,
  • _version: String,
  • all_accounts: Boolean,
  • all_inventory_models: Boolean,
  • all_network_sites: Boolean,
  • down_time_in_minutes_before_alerting: Int,
  • down_time_in_minutes_before_repeat: Int,
  • enabled: Boolean,
  • infinite_repetitions: Boolean,
  • name: String,
  • repetitions: Int,
  • start: Date,
  • warning_time_in_minutes_before_alerting: Int,
  • warning_time_in_minutes_before_repeat: Int,
  • weeks_between_repetitions: Int,
  • paginator: Paginator,
  • sorter: [Sorter],
  • search: [Search],
  • general_search: String,
  • aggregation: [Aggregator],
  • reverse_relation_filters: [ReverseRelationFilter]
  • ): AlertingRotationConnection!
  • }