Interface Contact.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Contact
@ApiService("SoftLayer_Account_Contact") public static interface Contact.Service extends Service
- See Also:
- SoftLayer_Account_Contact
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Contact.ServiceAsync
asAsync()
Get an async version of this serviceContact
createComplianceReportRequestorContact(Contact requestorTemplate)
<Contact
createObject(Contact templateObject)
This method creates an account contact.Boolean
deleteObject()
deleteObject permanently removes an account contactBoolean
editObject(Contact templateObject)
This method allows you to modify an account contact.Account
getAccount()
List<Type>
getAllContactTypes()
This method will return an array of SoftLayer_Account_Contact_Type objects which can be used when creating or editing an account contact.Contact
getObject()
Type
getType()
void
setMask(Contact.Mask mask)
Contact.Mask
withMask()
Use the existing mask on this service or create it if not presentContact.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
Contact.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Contact.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
Contact.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Contact.Mask mask)
-
createComplianceReportRequestorContact
@ApiMethod Contact createComplianceReportRequestorContact(Contact requestorTemplate)
<-
createObject
@ApiMethod Contact createObject(Contact templateObject)
This method creates an account contact. The accountId is fixed, other properties can be set during creation. The typeId indicates the SoftLayer_Account_Contact_Type for the contact. This method returns the SoftLayer_Account_Contact object that is created.- See Also:
- SoftLayer_Account_Contact::createObject
-
deleteObject
@ApiMethod(instanceRequired=true) Boolean deleteObject()
deleteObject permanently removes an account contact- See Also:
- SoftLayer_Account_Contact::deleteObject
-
editObject
@ApiMethod(instanceRequired=true) Boolean editObject(Contact templateObject)
This method allows you to modify an account contact. Only master users are permitted to modify an account contact.- See Also:
- SoftLayer_Account_Contact::editObject
-
getAllContactTypes
@ApiMethod List<Type> getAllContactTypes()
This method will return an array of SoftLayer_Account_Contact_Type objects which can be used when creating or editing an account contact.
-
getObject
@ApiMethod(instanceRequired=true) Contact getObject()
- See Also:
- SoftLayer_Account_Contact::getObject
-
getAccount
@ApiMethod(instanceRequired=true) Account getAccount()
- See Also:
- SoftLayer_Account_Contact::getAccount
-
getType
@ApiMethod(instanceRequired=true) Type getType()
- See Also:
- SoftLayer_Account_Contact::getType
-
-
-