Class ModelOperation

java.lang.Object
org.apache.ofbiz.ws.rs.model.ModelOperation

public class ModelOperation extends Object
  • Constructor Details

    • ModelOperation

      public ModelOperation()
  • Method Details

    • isAuth

      public boolean isAuth()
      Returns:
      the auth
    • setAuth

      public void setAuth(boolean auth)
      Parameters:
      auth - the auth to set
    • auth

      public ModelOperation auth(boolean auth)
      Parameters:
      auth -
      Returns:
      ModelOperation
    • getService

      public String getService()
      Gets the value of the service property.
      Returns:
      possible object is String
    • setService

      public void setService(String value)
      Sets the value of the service property.
      Parameters:
      value - allowed object is String
    • service

      public ModelOperation service(String value)
      Parameters:
      value -
      Returns:
      ModelOperation
    • getVerb

      public String getVerb()
      Gets the value of the verb property.
      Returns:
      possible object is String
    • setVerb

      public void setVerb(String value)
      Sets the value of the verb property.
      Parameters:
      value - allowed object is String
    • verb

      public ModelOperation verb(String value)
      Parameters:
      value -
      Returns:
      ModelOperation
    • getProduces

      public String getProduces()
      Gets the value of the produces property.
      Returns:
      possible object is String
    • setProduces

      public void setProduces(String value)
      Sets the value of the produces property.
      Parameters:
      value - allowed object is String
    • produces

      public ModelOperation produces(String value)
      Parameters:
      value -
      Returns:
      ModelOperation
    • getConsumes

      public String getConsumes()
      Gets the value of the consumes property.
      Returns:
      possible object is String
    • setConsumes

      public void setConsumes(String value)
      Sets the value of the consumes property.
      Parameters:
      value - allowed object is String
    • consumes

      public ModelOperation consumes(String value)
      Parameters:
      value -
      Returns:
      ModelOperation
    • getPath

      public String getPath()
      Gets the value of the path property.
      Returns:
      possible object is String
    • setPath

      public void setPath(String value)
      Sets the value of the path property.
      Parameters:
      value - allowed object is String
    • path

      public ModelOperation path(String value)
      Parameters:
      value -
      Returns:
      ModelOperation
    • getDescription

      public String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • description

      public ModelOperation description(String value)
      Parameters:
      value -
      Returns:
      ModelOperation
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      String