Interface Affiliation.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Affiliation
@ApiService("SoftLayer_Account_Affiliation") public static interface Affiliation.Service extends Service
- See Also:
- SoftLayer_Account_Affiliation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Affiliation.ServiceAsync
asAsync()
Get an async version of this serviceAffiliation
createObject(Affiliation templateObject)
Create a new affiliation to associate with an existing account.Boolean
deleteObject()
deleteObject permanently removes an account affiliationBoolean
editObject(Affiliation templateObject)
Edit an affiliation that is associated to an existing account.Account
getAccount()
The account that an affiliation belongs to.List<Affiliation>
getAccountAffiliationsByAffiliateId(String affiliateId)
Get account affiliation information associated with affiliate id.Affiliation
getObject()
void
setMask(Affiliation.Mask mask)
Affiliation.Mask
withMask()
Use the existing mask on this service or create it if not presentAffiliation.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Affiliation.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Affiliation.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Affiliation.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Affiliation.Mask mask)
-
createObject
@ApiMethod Affiliation createObject(Affiliation templateObject)
Create a new affiliation to associate with an existing account.
-
deleteObject
@ApiMethod(instanceRequired=true) Boolean deleteObject()
deleteObject permanently removes an account affiliation
-
editObject
@ApiMethod(instanceRequired=true) Boolean editObject(Affiliation templateObject)
Edit an affiliation that is associated to an existing account.
-
getAccountAffiliationsByAffiliateId
@ApiMethod List<Affiliation> getAccountAffiliationsByAffiliateId(String affiliateId)
Get account affiliation information associated with affiliate id.
-
getObject
@ApiMethod(instanceRequired=true) Affiliation getObject()
- See Also:
- SoftLayer_Account_Affiliation::getObject
-
getAccount
@ApiMethod(instanceRequired=true) Account getAccount()
The account that an affiliation belongs to.
-
-