Package microsoft.dynamics.crm.entity
Class Languagelocale
- java.lang.Object
-
- microsoft.dynamics.crm.entity.Crmbaseentity
-
- microsoft.dynamics.crm.entity.Languagelocale
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Languagelocale extends Crmbaseentity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLanguagelocale.Builder
-
Field Summary
Fields Modifier and Type Field Description protected UUID_organizationid_valueprotected Stringcodeprotected Stringlanguageprotected UUIDlanguagelocaleidprotected Integerlocaleidprotected Stringnameprotected Stringregionprotected Integerstatecodeprotected Integerstatuscodeprotected Longversionnumber-
Fields inherited from class microsoft.dynamics.crm.entity.Crmbaseentity
changedFields, contextPath, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLanguagelocale()
-
Method Summary
-
-
-
Field Detail
-
region
protected String region
-
languagelocaleid
protected UUID languagelocaleid
-
language
protected String language
-
code
protected String code
-
versionnumber
protected Long versionnumber
-
statecode
protected Integer statecode
-
statuscode
protected Integer statuscode
-
_organizationid_value
protected UUID _organizationid_value
-
name
protected String name
-
localeid
protected Integer localeid
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classCrmbaseentity
-
builderLanguagelocale
public static Languagelocale.Builder builderLanguagelocale()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classCrmbaseentity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classCrmbaseentity
-
withRegion
public Languagelocale withRegion(String region)
-
withLanguagelocaleid
public Languagelocale withLanguagelocaleid(UUID languagelocaleid)
-
withLanguage
public Languagelocale withLanguage(String language)
-
withCode
public Languagelocale withCode(String code)
-
withVersionnumber
public Languagelocale withVersionnumber(Long versionnumber)
-
withStatecode
public Languagelocale withStatecode(Integer statecode)
-
withStatuscode
public Languagelocale withStatuscode(Integer statuscode)
-
with_organizationid_value
public Languagelocale with_organizationid_value(UUID _organizationid_value)
-
withName
public Languagelocale withName(String name)
-
withLocaleid
public Languagelocale withLocaleid(Integer localeid)
-
withUnmappedField
public Languagelocale withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classCrmbaseentity
-
getKnowledgearticle_languagelocaleid
public KnowledgearticleCollectionRequest getKnowledgearticle_languagelocaleid()
-
getOrganizationid
public OrganizationRequest getOrganizationid()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classCrmbaseentity
-
patch
public Languagelocale patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Languagelocale put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classCrmbaseentity- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classCrmbaseentity
-
-