Package odata.msgraph.client.complex
Class AppListItem
- java.lang.Object
-
- odata.msgraph.client.complex.AppListItem
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class AppListItem extends Object implements com.github.davidmoten.odata.client.ODataType
“Represents an app in the list of managed applications”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppListItem.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappIdprotected StringappStoreUrlprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected Stringnameprotected StringodataTypeprotected Stringpublisherprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedAppListItem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppListItem.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAppId()“The application or bundle identifier of the application”Optional<String>getAppStoreUrl()“The Store URL of the application”Optional<String>getName()“The application name”Optional<String>getPublisher()“The publisher of the application”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()AppListItemwithAppId(String appId)Returns an immutable copy ofthiswith just theappIdfield changed.AppListItemwithAppStoreUrl(String appStoreUrl)Returns an immutable copy ofthiswith just theappStoreUrlfield changed.AppListItemwithName(String name)Returns an immutable copy ofthiswith just thenamefield changed.AppListItemwithPublisher(String publisher)Returns an immutable copy ofthiswith just thepublisherfield changed.AppListItemwithUnmappedField(String name, Object 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
-
appId
protected String appId
-
appStoreUrl
protected String appStoreUrl
-
name
protected String name
-
publisher
protected String publisher
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getAppId
public Optional<String> getAppId()
“The application or bundle identifier of the application”- Returns:
- property appId
-
withAppId
public AppListItem withAppId(String appId)
Returns an immutable copy ofthiswith just theappIdfield 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 application or bundle identifier of the application”
- Parameters:
appId- new value ofappIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappIdfield changed
-
getAppStoreUrl
public Optional<String> getAppStoreUrl()
“The Store URL of the application”- Returns:
- property appStoreUrl
-
withAppStoreUrl
public AppListItem withAppStoreUrl(String appStoreUrl)
Returns an immutable copy ofthiswith just theappStoreUrlfield 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 Store URL of the application”
- Parameters:
appStoreUrl- new value ofappStoreUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappStoreUrlfield changed
-
withName
public AppListItem withName(String name)
Returns an immutable copy ofthiswith just thenamefield 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 application name”
- Parameters:
name- new value ofnamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenamefield changed
-
getPublisher
public Optional<String> getPublisher()
“The publisher of the application”- Returns:
- property publisher
-
withPublisher
public AppListItem withPublisher(String publisher)
Returns an immutable copy ofthiswith just thepublisherfield 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 publisher of the application”
- Parameters:
publisher- new value ofpublisherfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepublisherfield changed
-
withUnmappedField
public AppListItem withUnmappedField(String name, Object 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 AppListItem.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
-
-