Class PermissionsCustomsItem


public final class PermissionsCustomsItem extends Customs
The PermissionsCustomsItem model.
  • Constructor Details

    • PermissionsCustomsItem

      public PermissionsCustomsItem()
  • Method Details

    • withName

      public PermissionsCustomsItem withName(String name)
      Set the name property: Customs permissions name.
      Overrides:
      withName in class Customs
      Parameters:
      name - the name value to set.
      Returns:
      the CustomsPermission object itself.
    • withDescription

      public PermissionsCustomsItem withDescription(String description)
      Set the description property: Customs permissions description.
      Overrides:
      withDescription in class Customs
      Parameters:
      description - the description value to set.
      Returns:
      the CustomsPermission object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class Customs
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.