public class RegionalAndLanguageSettings extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
RegionalAndLanguageSettings.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<LocaleInfo> |
authoringLanguages |
protected String |
authoringLanguagesNextLink |
protected LocaleInfo |
defaultDisplayLanguage |
protected LocaleInfo |
defaultRegionalFormat |
protected LocaleInfo |
defaultSpeechInputLanguage |
protected LocaleInfo |
defaultTranslationLanguage |
protected RegionalFormatOverrides |
regionalFormatOverrides |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
RegionalAndLanguageSettings() |
| Modifier and Type | Method and Description |
|---|---|
static RegionalAndLanguageSettings.Builder |
builderRegionalAndLanguageSettings()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.CollectionPage<LocaleInfo> |
getAuthoringLanguages() |
com.github.davidmoten.odata.client.CollectionPage<LocaleInfo> |
getAuthoringLanguages(com.github.davidmoten.odata.client.HttpRequestOptions options) |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<LocaleInfo> |
getDefaultDisplayLanguage() |
Optional<LocaleInfo> |
getDefaultRegionalFormat() |
Optional<LocaleInfo> |
getDefaultSpeechInputLanguage() |
Optional<LocaleInfo> |
getDefaultTranslationLanguage() |
Optional<RegionalFormatOverrides> |
getRegionalFormatOverrides() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
RegionalAndLanguageSettings |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
RegionalAndLanguageSettings |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
RegionalAndLanguageSettings |
withDefaultDisplayLanguage(LocaleInfo defaultDisplayLanguage) |
RegionalAndLanguageSettings |
withDefaultRegionalFormat(LocaleInfo defaultRegionalFormat) |
RegionalAndLanguageSettings |
withDefaultSpeechInputLanguage(LocaleInfo defaultSpeechInputLanguage) |
RegionalAndLanguageSettings |
withDefaultTranslationLanguage(LocaleInfo defaultTranslationLanguage) |
RegionalAndLanguageSettings |
withRegionalFormatOverrides(RegionalFormatOverrides regionalFormatOverrides) |
protected LocaleInfo defaultDisplayLanguage
protected List<LocaleInfo> authoringLanguages
protected String authoringLanguagesNextLink
protected LocaleInfo defaultTranslationLanguage
protected LocaleInfo defaultSpeechInputLanguage
protected LocaleInfo defaultRegionalFormat
protected RegionalFormatOverrides regionalFormatOverrides
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static RegionalAndLanguageSettings.Builder builderRegionalAndLanguageSettings()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<LocaleInfo> getDefaultDisplayLanguage()
public RegionalAndLanguageSettings withDefaultDisplayLanguage(LocaleInfo defaultDisplayLanguage)
public com.github.davidmoten.odata.client.CollectionPage<LocaleInfo> getAuthoringLanguages()
public com.github.davidmoten.odata.client.CollectionPage<LocaleInfo> getAuthoringLanguages(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<LocaleInfo> getDefaultTranslationLanguage()
public RegionalAndLanguageSettings withDefaultTranslationLanguage(LocaleInfo defaultTranslationLanguage)
public Optional<LocaleInfo> getDefaultSpeechInputLanguage()
public RegionalAndLanguageSettings withDefaultSpeechInputLanguage(LocaleInfo defaultSpeechInputLanguage)
public Optional<LocaleInfo> getDefaultRegionalFormat()
public RegionalAndLanguageSettings withDefaultRegionalFormat(LocaleInfo defaultRegionalFormat)
public Optional<RegionalFormatOverrides> getRegionalFormatOverrides()
public RegionalAndLanguageSettings withRegionalFormatOverrides(RegionalFormatOverrides regionalFormatOverrides)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic RegionalAndLanguageSettings patch()
this with changed fields reset.public RegionalAndLanguageSettings put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.