Class ModelOperation


  • public class ModelOperation
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelOperation()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ModelOperation auth​(boolean auth)  
      ModelOperation consumes​(java.lang.String value)  
      ModelOperation description​(java.lang.String value)  
      java.lang.String getConsumes()
      Gets the value of the consumes property.
      java.lang.String getDescription()
      Gets the value of the description property.
      java.lang.String getPath()
      Gets the value of the path property.
      java.lang.String getProduces()
      Gets the value of the produces property.
      java.lang.String getService()
      Gets the value of the service property.
      java.lang.String getVerb()
      Gets the value of the verb property.
      boolean isAuth()  
      ModelOperation path​(java.lang.String value)  
      ModelOperation produces​(java.lang.String value)  
      ModelOperation service​(java.lang.String value)  
      void setAuth​(boolean auth)  
      void setConsumes​(java.lang.String value)
      Sets the value of the consumes property.
      void setDescription​(java.lang.String value)
      Sets the value of the description property.
      void setPath​(java.lang.String value)
      Sets the value of the path property.
      void setProduces​(java.lang.String value)
      Sets the value of the produces property.
      void setService​(java.lang.String value)
      Sets the value of the service property.
      void setVerb​(java.lang.String value)
      Sets the value of the verb property.
      java.lang.String toString()  
      ModelOperation verb​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ModelOperation

        public ModelOperation()
    • Method Detail

      • 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 java.lang.String getService()
        Gets the value of the service property.
        Returns:
        possible object is String
      • setService

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

        public ModelOperation service​(java.lang.String value)
        Parameters:
        value -
        Returns:
        ModelOperation
      • getVerb

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

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

        public ModelOperation verb​(java.lang.String value)
        Parameters:
        value -
        Returns:
        ModelOperation
      • getProduces

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

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

        public ModelOperation produces​(java.lang.String value)
        Parameters:
        value -
        Returns:
        ModelOperation
      • getConsumes

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

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

        public ModelOperation consumes​(java.lang.String value)
        Parameters:
        value -
        Returns:
        ModelOperation
      • getPath

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

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

        public ModelOperation path​(java.lang.String value)
        Parameters:
        value -
        Returns:
        ModelOperation
      • getDescription

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

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

        public ModelOperation description​(java.lang.String value)
        Parameters:
        value -
        Returns:
        ModelOperation
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        String