Package odata.msgraph.client.beta.entity
Class IosVppEBook
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ManagedEBook
-
- odata.msgraph.client.beta.entity.IosVppEBook
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class IosVppEBook extends ManagedEBook implements com.github.davidmoten.odata.client.ODataEntityType
“A class containing the properties for iOS Vpp eBook.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIosVppEBook.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappleIdprotected List<String>genresprotected StringgenresNextLinkprotected Stringlanguageprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected Stringsellerprotected IntegertotalLicenseCountprotected IntegerusedLicenseCountprotected StringvppOrganizationNameprotected UUIDvppTokenId-
Fields inherited from class odata.msgraph.client.beta.entity.ManagedEBook
createdDateTime, description, displayName, informationUrl, largeCover, lastModifiedDateTime, privacyInformationUrl, publishedDateTime, publisher
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIosVppEBook()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IosVppEBook.BuilderbuilderIosVppEBook()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAppleId()“The Apple ID associated with Vpp token.”com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()com.github.davidmoten.odata.client.CollectionPage<String>getGenres()“Genres.”com.github.davidmoten.odata.client.CollectionPage<String>getGenres(com.github.davidmoten.odata.client.HttpRequestOptions options)“Genres.”Optional<String>getLanguage()“Language.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“List of Scope Tags for this Entity instance.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of Scope Tags for this Entity instance.”Optional<String>getSeller()“Seller.”Optional<Integer>getTotalLicenseCount()“Total license count.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Integer>getUsedLicenseCount()“Used license count.”Optional<String>getVppOrganizationName()“The Vpp token's organization name.”Optional<UUID>getVppTokenId()“The Vpp token ID.”StringodataTypeName()IosVppEBookpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)IosVppEBookput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()IosVppEBookwithAppleId(String appleId)Returns an immutable copy ofthiswith just theappleIdfield changed.IosVppEBookwithGenres(List<String> genres)Returns an immutable copy ofthiswith just thegenresfield changed.IosVppEBookwithLanguage(String language)Returns an immutable copy ofthiswith just thelanguagefield changed.IosVppEBookwithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.IosVppEBookwithSeller(String seller)Returns an immutable copy ofthiswith just thesellerfield changed.IosVppEBookwithTotalLicenseCount(Integer totalLicenseCount)Returns an immutable copy ofthiswith just thetotalLicenseCountfield changed.IosVppEBookwithUnmappedField(String name, String value)IosVppEBookwithUsedLicenseCount(Integer usedLicenseCount)Returns an immutable copy ofthiswith just theusedLicenseCountfield changed.IosVppEBookwithVppOrganizationName(String vppOrganizationName)Returns an immutable copy ofthiswith just thevppOrganizationNamefield changed.IosVppEBookwithVppTokenId(UUID vppTokenId)Returns an immutable copy ofthiswith just thevppTokenIdfield changed.-
Methods inherited from class odata.msgraph.client.beta.entity.ManagedEBook
assign, getAssignments, getCategories, getCreatedDateTime, getDescription, getDeviceStates, getDisplayName, getInformationUrl, getInstallSummary, getLargeCover, getLastModifiedDateTime, getPrivacyInformationUrl, getPublishedDateTime, getPublisher, getUserStateSummary, withCreatedDateTime, withDescription, withDisplayName, withInformationUrl, withLargeCover, withLastModifiedDateTime, withPrivacyInformationUrl, withPublishedDateTime, withPublisher
-
-
-
-
Field Detail
-
appleId
protected String appleId
-
genresNextLink
protected String genresNextLink
-
language
protected String language
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
seller
protected String seller
-
totalLicenseCount
protected Integer totalLicenseCount
-
usedLicenseCount
protected Integer usedLicenseCount
-
vppOrganizationName
protected String vppOrganizationName
-
vppTokenId
protected UUID vppTokenId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classManagedEBook
-
builderIosVppEBook
public static IosVppEBook.Builder builderIosVppEBook()
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 classManagedEBook
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classManagedEBook
-
getAppleId
public Optional<String> getAppleId()
“The Apple ID associated with Vpp token.”- Returns:
- property appleId
-
withAppleId
public IosVppEBook withAppleId(String appleId)
Returns an immutable copy ofthiswith just theappleIdfield 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 Apple ID associated with Vpp token.”
- Parameters:
appleId- new value ofappleIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theappleIdfield changed
-
getGenres
public com.github.davidmoten.odata.client.CollectionPage<String> getGenres()
“Genres.”- Returns:
- property genres
-
withGenres
public IosVppEBook withGenres(List<String> genres)
Returns an immutable copy ofthiswith just thegenresfield 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.“Genres.”
- Parameters:
genres- new value ofgenresfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thegenresfield changed
-
getGenres
public com.github.davidmoten.odata.client.CollectionPage<String> getGenres(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Genres.”- Parameters:
options- specify connect and read timeouts- Returns:
- property genres
-
withLanguage
public IosVppEBook withLanguage(String language)
Returns an immutable copy ofthiswith just thelanguagefield 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.“Language.”
- Parameters:
language- new value oflanguagefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelanguagefield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public IosVppEBook withRoleScopeTagIds(List<String> roleScopeTagIds)
Returns an immutable copy ofthiswith just theroleScopeTagIdsfield 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.“List of Scope Tags for this Entity instance.”
- Parameters:
roleScopeTagIds- new value ofroleScopeTagIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagIdsfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tags for this Entity instance.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
withSeller
public IosVppEBook withSeller(String seller)
Returns an immutable copy ofthiswith just thesellerfield 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.“Seller.”
- Parameters:
seller- new value ofsellerfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thesellerfield changed
-
getTotalLicenseCount
public Optional<Integer> getTotalLicenseCount()
“Total license count.”- Returns:
- property totalLicenseCount
-
withTotalLicenseCount
public IosVppEBook withTotalLicenseCount(Integer totalLicenseCount)
Returns an immutable copy ofthiswith just thetotalLicenseCountfield 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.“Total license count.”
- Parameters:
totalLicenseCount- new value oftotalLicenseCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetotalLicenseCountfield changed
-
getUsedLicenseCount
public Optional<Integer> getUsedLicenseCount()
“Used license count.”- Returns:
- property usedLicenseCount
-
withUsedLicenseCount
public IosVppEBook withUsedLicenseCount(Integer usedLicenseCount)
Returns an immutable copy ofthiswith just theusedLicenseCountfield 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.“Used license count.”
- Parameters:
usedLicenseCount- new value ofusedLicenseCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theusedLicenseCountfield changed
-
getVppOrganizationName
public Optional<String> getVppOrganizationName()
“The Vpp token's organization name.”- Returns:
- property vppOrganizationName
-
withVppOrganizationName
public IosVppEBook withVppOrganizationName(String vppOrganizationName)
Returns an immutable copy ofthiswith just thevppOrganizationNamefield 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 Vpp token's organization name.”
- Parameters:
vppOrganizationName- new value ofvppOrganizationNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevppOrganizationNamefield changed
-
getVppTokenId
public Optional<UUID> getVppTokenId()
“The Vpp token ID.”- Returns:
- property vppTokenId
-
withVppTokenId
public IosVppEBook withVppTokenId(UUID vppTokenId)
Returns an immutable copy ofthiswith just thevppTokenIdfield 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 Vpp token ID.”
- Parameters:
vppTokenId- new value ofvppTokenIdfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thevppTokenIdfield changed
-
withUnmappedField
public IosVppEBook withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classManagedEBook
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classManagedEBook
-
patch
public IosVppEBook patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classManagedEBook- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public IosVppEBook put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classManagedEBook- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
toString
public String toString()
- Overrides:
toStringin classManagedEBook
-
-