com.mycompany.myproject.api
Class MyFunction.Request

java.lang.Object
  extended bycom.mycompany.myproject.api.MyFunction.Request
All Implemented Interfaces:
Serializable
Enclosing class:
MyFunction

public static final class MyFunction.Request
extends Object
implements Serializable

Container for the input parameters of the MyFunction function.

See Also:
Serialized Form

Constructor Summary
MyFunction.Request(String __ipArg, Gender.Item gender, String personLastName)
          Constructs a new Request instance.
 
Method Summary
 boolean equals(Object obj)
           
 Gender.Item getGender()
          Gets the value of the required input parameter gender, which is The gender of the person.
 String getPersonLastName()
          Gets the value of the required input parameter personLastName, which is The last name of the person.
 int hashCode()
           
 String remoteIP()
          Gets the IP address of the originating host.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyFunction.Request

public MyFunction.Request(String __ipArg,
                          Gender.Item gender,
                          String personLastName)
Constructs a new Request instance.

Method Detail

remoteIP

public final String remoteIP()
Gets the IP address of the originating host.

Returns:
the IP address of the originating host (e.g. "192.168.0.1"), never null.

getGender

public Gender.Item getGender()
Gets the value of the required input parameter gender, which is The gender of the person.

Returns:
the value of the gender input parameter, never null.

getPersonLastName

public String getPersonLastName()
Gets the value of the required input parameter personLastName, which is The last name of the person.

Returns:
the value of the personLastName input parameter, never null.

hashCode

public int hashCode()

equals

public boolean equals(Object obj)