INPUT_OBJECT

UpdateInventoryModelFieldMutationInput

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

link GraphQL Schema definition

  • input UpdateInventoryModelFieldMutationInput {
  • # 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
  • # Setting this value to `true` will set `secondary_type` to null.
  • unset_secondary_type: Boolean
  • }

link Require by