Interface IPerson
-
- All Superinterfaces:
one.xingyi.core.marshelling.HasJson<one.xingyi.core.marshelling.ContextForJson>,one.xingyi.core.sdk.IXingYiResource
- All Known Implementing Classes:
Person
public interface IPerson extends one.xingyi.core.sdk.IXingYiResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description one.xingyi.core.client.IResourceList<IAddress>addresses()java.lang.Integerage()java.lang.Stringname()ITelephoneNumbertelephone()IPersonwithaddresses(one.xingyi.core.client.IResourceList<IAddress> addresses)IPersonwithage(java.lang.Integer age)IPersonwithname(java.lang.String name)IPersonwithtelephone(ITelephoneNumber telephone)
-
-
-
Method Detail
-
name
java.lang.String name()
-
withname
IPerson withname(java.lang.String name)
-
age
java.lang.Integer age()
-
withage
IPerson withage(java.lang.Integer age)
-
addresses
one.xingyi.core.client.IResourceList<IAddress> addresses()
-
telephone
ITelephoneNumber telephone()
-
withtelephone
IPerson withtelephone(ITelephoneNumber telephone)
-
-