public class WindowsInformationProtectionAppLockerFile extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsInformationProtectionAppLockerFile.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
displayName |
protected byte[] |
file |
protected String |
fileHash |
protected String |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsInformationProtectionAppLockerFile() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsInformationProtectionAppLockerFile.Builder |
builderWindowsInformationProtectionAppLockerFile()
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.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDisplayName()
“The friendly name”
|
Optional<byte[]> |
getFile()
“File as a byte array”
|
Optional<String> |
getFileHash()
“SHA256 hash of the file”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getVersion()
“Version of the entity.”
|
String |
odataTypeName() |
WindowsInformationProtectionAppLockerFile |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsInformationProtectionAppLockerFile |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WindowsInformationProtectionAppLockerFile |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
WindowsInformationProtectionAppLockerFile |
withFile(byte[] file)
Returns an immutable copy of
this with just the file field
changed. |
WindowsInformationProtectionAppLockerFile |
withFileHash(String fileHash)
Returns an immutable copy of
this with just the fileHash field
changed. |
WindowsInformationProtectionAppLockerFile |
withVersion(String version)
Returns an immutable copy of
this with just the version field
changed. |
protected String displayName
protected String fileHash
protected byte[] file
protected String version
protected WindowsInformationProtectionAppLockerFile()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static WindowsInformationProtectionAppLockerFile.Builder builderWindowsInformationProtectionAppLockerFile()
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<String> getDisplayName()
public WindowsInformationProtectionAppLockerFile withDisplayName(String displayName)
this with just the displayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The friendly name”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getFileHash()
public WindowsInformationProtectionAppLockerFile withFileHash(String fileHash)
this with just the fileHash field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“SHA256 hash of the file”
fileHash - new value of fileHash field (as defined in service metadata)this with just the fileHash field changedpublic Optional<byte[]> getFile()
public WindowsInformationProtectionAppLockerFile withFile(byte[] file)
this with just the file field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“File as a byte array”
file - new value of file field (as defined in service metadata)this with just the file field changedpublic WindowsInformationProtectionAppLockerFile withVersion(String version)
this with just the version field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Version of the entity.”
version - new value of version field (as defined in service metadata)this with just the version field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic WindowsInformationProtectionAppLockerFile patch()
this with changed fields reset.public WindowsInformationProtectionAppLockerFile put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.