Package org.alfresco.rest.model
Class RestCompanyModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.rest.model.RestCompanyModel
- All Implemented Interfaces:
IModelAssertion<RestCompanyModel>,IRestModel<RestCompanyModel>,org.alfresco.utility.model.Model
public class RestCompanyModel
extends org.alfresco.utility.model.TestModel
implements IRestModel<RestCompanyModel>
"company": { "organization": "myCompany", "address1": "Iasi", "address2": "City", "address3": "trei", "postcode": "1234556", "telephone": "564510213453", "fax": "541", "email": "qLZ41D2QnXQcqySNK09J@yahoo.com" }
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()getFax()onModel()voidsetAddress1(String address1) voidsetAddress2(String address2) voidsetAddress3(String address3) voidvoidvoidsetOrganization(String organization) voidsetPostcode(String postcode) voidsetTelephone(String telephone) Methods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.rest.core.assertion.IModelAssertion
and, assertThat
-
Constructor Details
-
RestCompanyModel
public RestCompanyModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestCompanyModel>
-
getOrganization
-
setOrganization
-
getAddress1
-
setAddress1
-
getAddress2
-
setAddress2
-
getAddress3
-
setAddress3
-
getPostcode
-
setPostcode
-
getTelephone
-
setTelephone
-
getFax
-
setFax
-
getEmail
-
setEmail
-