INPUT_OBJECT

CreateInventoryModelMutationInput

The input object that defines the fields for the createInventoryModel mutation.

link GraphQL Schema definition

  • input CreateInventoryModelMutationInput {
  • # Whether or not this is enabled.
  • enabled: Boolean!
  • # The ID of a Manufacturer.
  • manufacturer_id: Int64Bit!
  • # The ID of an InventoryModelCategory.
  • inventory_model_category_id: Int64Bit!
  • # An icon.
  • icon: Icon!
  • # The actual model name/part number.
  • model_name: String
  • # A descriptive name.
  • name: String!
  • # 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 generic inventory model does not have any fields, and is used for items that
  • # you don't need to track individually (for example, a box of screws, or a spool
  • # of cable.)
  • generic: Boolean!
  • # The type of inventory model.
  • device_type: InventoryModelDeviceType
  • # A note about this entity.
  • note: NoteMutationInput
  • # A list of file IDs to be associated with this object. These must first have been
  • # uploaded to the /files endpoint and must be currently unassociated.
  • files: [AssociateFileMutationInput]
  • }

link Require by