Package odata.msgraph.client.beta.entity
Class AppVulnerabilityMobileApp
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AppVulnerabilityMobileApp
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AppVulnerabilityMobileApp extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“An app vulnerability mobile app.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppVulnerabilityMobileApp.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimecreatedDateTimeprotected StringdisplayNameprotected OffsetDateTimelastModifiedDateTimeprotected StringmobileAppIdprotected StringmobileAppTypeprotected Stringversion-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAppVulnerabilityMobileApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppVulnerabilityMobileApp.BuilderbuilderAppVulnerabilityMobileApp()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.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getCreatedDateTime()“The created date.”Optional<String>getDisplayName()“The device name.”Optional<OffsetDateTime>getLastModifiedDateTime()“The last modified date.”Optional<String>getMobileAppId()“The Intune mobile app ID.”Optional<String>getMobileAppType()“The app type.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getVersion()“The app version.”StringodataTypeName()AppVulnerabilityMobileApppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)AppVulnerabilityMobileAppput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()AppVulnerabilityMobileAppwithCreatedDateTime(OffsetDateTime createdDateTime)Returns an immutable copy ofthiswith just thecreatedDateTimefield changed.AppVulnerabilityMobileAppwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.AppVulnerabilityMobileAppwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Returns an immutable copy ofthiswith just thelastModifiedDateTimefield changed.AppVulnerabilityMobileAppwithMobileAppId(String mobileAppId)Returns an immutable copy ofthiswith just themobileAppIdfield changed.AppVulnerabilityMobileAppwithMobileAppType(String mobileAppType)Returns an immutable copy ofthiswith just themobileAppTypefield changed.AppVulnerabilityMobileAppwithUnmappedField(String name, String value)AppVulnerabilityMobileAppwithVersion(String version)Returns an immutable copy ofthiswith just theversionfield changed.
-
-
-
Field Detail
-
createdDateTime
protected OffsetDateTime createdDateTime
-
displayName
protected String displayName
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
mobileAppId
protected String mobileAppId
-
mobileAppType
protected String mobileAppType
-
version
protected String version
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAppVulnerabilityMobileApp
public static AppVulnerabilityMobileApp.Builder builderAppVulnerabilityMobileApp()
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
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
“The created date.”- Returns:
- property createdDateTime
-
withCreatedDateTime
public AppVulnerabilityMobileApp withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy ofthiswith just thecreatedDateTimefield 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 created date.”
- Parameters:
createdDateTime- new value ofcreatedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecreatedDateTimefield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The device name.”- Returns:
- property displayName
-
withDisplayName
public AppVulnerabilityMobileApp withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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 device name.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
“The last modified date.”- Returns:
- property lastModifiedDateTime
-
withLastModifiedDateTime
public AppVulnerabilityMobileApp 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 last modified date.”
- Parameters:
lastModifiedDateTime- new value oflastModifiedDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastModifiedDateTimefield changed
-
getMobileAppId
public Optional<String> getMobileAppId()
“The Intune mobile app ID.”- Returns:
- property mobileAppId
-
withMobileAppId
public AppVulnerabilityMobileApp withMobileAppId(String mobileAppId)
Returns an immutable copy ofthiswith just themobileAppIdfield 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 Intune mobile app ID.”
- Parameters:
mobileAppId- new value ofmobileAppIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themobileAppIdfield changed
-
getMobileAppType
public Optional<String> getMobileAppType()
“The app type.”- Returns:
- property mobileAppType
-
withMobileAppType
public AppVulnerabilityMobileApp withMobileAppType(String mobileAppType)
Returns an immutable copy ofthiswith just themobileAppTypefield 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 app type.”
- Parameters:
mobileAppType- new value ofmobileAppTypefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themobileAppTypefield changed
-
withVersion
public AppVulnerabilityMobileApp withVersion(String version)
Returns an immutable copy ofthiswith just theversionfield 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 app version.”
- Parameters:
version- new value ofversionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theversionfield changed
-
withUnmappedField
public AppVulnerabilityMobileApp 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 AppVulnerabilityMobileApp patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AppVulnerabilityMobileApp put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-