INPUT_OBJECT

CreateInventoryModelFieldMutationInput

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

link GraphQL Schema definition

  • input CreateInventoryModelFieldMutationInput {
  • # The ID of an `InventoryModel`.
  • inventory_model_id: Int64Bit!
  • # A descriptive name.
  • name: String!
  • # Types that inventory model fields can be set to.
  • type: InventoryModelFieldType!
  • # Secondary types that inventory model fields can be set to.
  • secondary_type: InventoryModelFieldSecondaryType
  • # Whether or not this field is required.
  • required: Boolean!
  • # Whether or not the field contents must be unique.
  • unique: Uniqueness!
  • # A PCRE regular expression. Omit the leading and closing /.
  • regexp: String
  • # 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.
  • primary: Boolean!
  • # A note about this entity.
  • note: NoteMutationInput
  • }

link Require by