Class GroupPolicyUploadedLanguageFile
- java.lang.Object
-
- odata.msgraph.client.beta.complex.GroupPolicyUploadedLanguageFile
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class GroupPolicyUploadedLanguageFile extends Object implements com.github.davidmoten.odata.client.ODataType
“The entity represents an ADML (Administrative Template language) XML file uploaded by Administrator.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupPolicyUploadedLanguageFile.Builder
-
Field Summary
Fields Modifier and Type Field Description protected byte[]contentprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected StringfileNameprotected Stringidprotected StringlanguageCodeprotected OffsetDateTimelastModifiedDateTimeprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedGroupPolicyUploadedLanguageFile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupPolicyUploadedLanguageFile.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<byte[]>getContent()“The contents of the uploaded ADML file.”Optional<String>getFileName()“The file name of the uploaded ADML file.”Optional<String>getId()“Key of the entity.”Optional<String>getLanguageCode()“The language code of the uploaded ADML file.”Optional<OffsetDateTime>getLastModifiedDateTime()“The date and time the entity was last modified.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()GroupPolicyUploadedLanguageFilewithContent(byte[] content)Returns an immutable copy ofthiswith just thecontentfield changed.GroupPolicyUploadedLanguageFilewithFileName(String fileName)Returns an immutable copy ofthiswith just thefileNamefield changed.GroupPolicyUploadedLanguageFilewithId(String id)Returns an immutable copy ofthiswith just theidfield changed .GroupPolicyUploadedLanguageFilewithLanguageCode(String languageCode)Returns an immutable copy ofthiswith just thelanguageCodefield changed.GroupPolicyUploadedLanguageFilewithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.GroupPolicyUploadedLanguageFilewithUnmappedField(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
-
content
protected byte[] content
-
fileName
protected String fileName
-
id
protected String id
-
languageCode
protected String languageCode
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getContent
public Optional<byte[]> getContent()
“The contents of the uploaded ADML file.”- Returns:
- property content
-
withContent
public GroupPolicyUploadedLanguageFile withContent(byte[] content)
Returns an immutable copy ofthiswith just thecontentfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The contents of the uploaded ADML file.”
- Parameters:
content- new value ofcontentfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecontentfield changed
-
getFileName
public Optional<String> getFileName()
“The file name of the uploaded ADML file.”- Returns:
- property fileName
-
withFileName
public GroupPolicyUploadedLanguageFile withFileName(String fileName)
Returns an immutable copy ofthiswith just thefileNamefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The file name of the uploaded ADML file.”
- Parameters:
fileName- new value offileNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefileNamefield changed
-
withId
public GroupPolicyUploadedLanguageFile withId(String id)
Returns an immutable copy ofthiswith just theidfield changed . Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Key of the entity.”
- Parameters:
id- new value ofidfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theidfield changed
-
getLanguageCode
public Optional<String> getLanguageCode()
“The language code of the uploaded ADML file.”- Returns:
- property languageCode
-
withLanguageCode
public GroupPolicyUploadedLanguageFile withLanguageCode(String languageCode)
Returns an immutable copy ofthiswith just thelanguageCodefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The language code of the uploaded ADML file.”
- Parameters:
languageCode- new value oflanguageCodefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelanguageCodefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The date and time the entity was last modified.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public GroupPolicyUploadedLanguageFile withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The date and time the entity was last modified.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
withUnmappedField
public GroupPolicyUploadedLanguageFile 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 GroupPolicyUploadedLanguageFile.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
-
-