Class TranslationPreferences
- java.lang.Object
-
- odata.msgraph.client.beta.complex.TranslationPreferences
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class TranslationPreferences extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTranslationPreferences.Builder
-
Field Summary
Fields Modifier and Type Field Description protected com.github.davidmoten.odata.client.ContextPathcontextPathprotected List<TranslationLanguageOverride>languageOverridesprotected StringlanguageOverridesNextLinkprotected StringodataTypeprotected TranslationBehaviortranslationBehaviorprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFieldsprotected List<String>untranslatedLanguagesprotected StringuntranslatedLanguagesNextLink
-
Constructor Summary
Constructors Modifier Constructor Description protectedTranslationPreferences()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TranslationPreferences.Builderbuilder()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<TranslationLanguageOverride>getLanguageOverrides()com.github.davidmoten.odata.client.CollectionPage<TranslationLanguageOverride>getLanguageOverrides(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<TranslationBehavior>getTranslationBehavior()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()com.github.davidmoten.odata.client.CollectionPage<String>getUntranslatedLanguages()com.github.davidmoten.odata.client.CollectionPage<String>getUntranslatedLanguages(com.github.davidmoten.odata.client.HttpRequestOptions options)StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()TranslationPreferenceswithTranslationBehavior(TranslationBehavior translationBehavior)TranslationPreferenceswithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
languageOverrides
protected List<TranslationLanguageOverride> languageOverrides
-
languageOverridesNextLink
protected String languageOverridesNextLink
-
translationBehavior
protected TranslationBehavior translationBehavior
-
untranslatedLanguagesNextLink
protected String untranslatedLanguagesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getLanguageOverrides
public com.github.davidmoten.odata.client.CollectionPage<TranslationLanguageOverride> getLanguageOverrides()
-
getLanguageOverrides
public com.github.davidmoten.odata.client.CollectionPage<TranslationLanguageOverride> getLanguageOverrides(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getTranslationBehavior
public Optional<TranslationBehavior> getTranslationBehavior()
-
withTranslationBehavior
public TranslationPreferences withTranslationBehavior(TranslationBehavior translationBehavior)
-
getUntranslatedLanguages
public com.github.davidmoten.odata.client.CollectionPage<String> getUntranslatedLanguages()
-
getUntranslatedLanguages
public com.github.davidmoten.odata.client.CollectionPage<String> getUntranslatedLanguages(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public TranslationPreferences withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static TranslationPreferences.Builder builder()
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
-
-