Package odata.msgraph.client.beta.entity
Class RegionalAndLanguageSettings
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.RegionalAndLanguageSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class RegionalAndLanguageSettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegionalAndLanguageSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<LocaleInfo>authoringLanguagesprotected StringauthoringLanguagesNextLinkprotected LocaleInfodefaultDisplayLanguageprotected LocaleInfodefaultRegionalFormatprotected LocaleInfodefaultSpeechInputLanguageprotected LocaleInfodefaultTranslationLanguageprotected RegionalFormatOverridesregionalFormatOverridesprotected TranslationPreferencestranslationPreferences-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRegionalAndLanguageSettings()
-
Method Summary
-
-
-
Field Detail
-
authoringLanguages
protected List<LocaleInfo> authoringLanguages
-
authoringLanguagesNextLink
protected String authoringLanguagesNextLink
-
defaultDisplayLanguage
protected LocaleInfo defaultDisplayLanguage
-
defaultRegionalFormat
protected LocaleInfo defaultRegionalFormat
-
defaultSpeechInputLanguage
protected LocaleInfo defaultSpeechInputLanguage
-
defaultTranslationLanguage
protected LocaleInfo defaultTranslationLanguage
-
regionalFormatOverrides
protected RegionalFormatOverrides regionalFormatOverrides
-
translationPreferences
protected TranslationPreferences translationPreferences
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderRegionalAndLanguageSettings
public static RegionalAndLanguageSettings.Builder builderRegionalAndLanguageSettings()
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 classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAuthoringLanguages
public com.github.davidmoten.odata.client.CollectionPage<LocaleInfo> getAuthoringLanguages()
-
withAuthoringLanguages
public RegionalAndLanguageSettings withAuthoringLanguages(List<LocaleInfo> authoringLanguages)
-
getAuthoringLanguages
public com.github.davidmoten.odata.client.CollectionPage<LocaleInfo> getAuthoringLanguages(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getDefaultDisplayLanguage
public Optional<LocaleInfo> getDefaultDisplayLanguage()
-
withDefaultDisplayLanguage
public RegionalAndLanguageSettings withDefaultDisplayLanguage(LocaleInfo defaultDisplayLanguage)
-
getDefaultRegionalFormat
public Optional<LocaleInfo> getDefaultRegionalFormat()
-
withDefaultRegionalFormat
public RegionalAndLanguageSettings withDefaultRegionalFormat(LocaleInfo defaultRegionalFormat)
-
getDefaultSpeechInputLanguage
public Optional<LocaleInfo> getDefaultSpeechInputLanguage()
-
withDefaultSpeechInputLanguage
public RegionalAndLanguageSettings withDefaultSpeechInputLanguage(LocaleInfo defaultSpeechInputLanguage)
-
getDefaultTranslationLanguage
public Optional<LocaleInfo> getDefaultTranslationLanguage()
-
withDefaultTranslationLanguage
public RegionalAndLanguageSettings withDefaultTranslationLanguage(LocaleInfo defaultTranslationLanguage)
-
getRegionalFormatOverrides
public Optional<RegionalFormatOverrides> getRegionalFormatOverrides()
-
withRegionalFormatOverrides
public RegionalAndLanguageSettings withRegionalFormatOverrides(RegionalFormatOverrides regionalFormatOverrides)
-
getTranslationPreferences
public Optional<TranslationPreferences> getTranslationPreferences()
-
withTranslationPreferences
public RegionalAndLanguageSettings withTranslationPreferences(TranslationPreferences translationPreferences)
-
withUnmappedField
public RegionalAndLanguageSettings withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public RegionalAndLanguageSettings patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public RegionalAndLanguageSettings put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-