Package odata.msgraph.client.beta.entity
Class SubscribedSku
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.SubscribedSku
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class SubscribedSku extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Referenceable = false
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.TopSupported
false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscribedSku.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringappliesToprotected StringcapabilityStatusprotected IntegerconsumedUnitsprotected LicenseUnitsDetailprepaidUnitsprotected List<ServicePlanInfo>servicePlansprotected StringservicePlansNextLinkprotected UUIDskuIdprotected StringskuPartNumber-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSubscribedSku()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscribedSku.BuilderbuilderSubscribedSku()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<String>getAppliesTo()Optional<String>getCapabilityStatus()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Integer>getConsumedUnits()Optional<LicenseUnitsDetail>getPrepaidUnits()com.github.davidmoten.odata.client.CollectionPage<ServicePlanInfo>getServicePlans()com.github.davidmoten.odata.client.CollectionPage<ServicePlanInfo>getServicePlans(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<UUID>getSkuId()Optional<String>getSkuPartNumber()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()SubscribedSkupatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)SubscribedSkuput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()SubscribedSkuwithAppliesTo(String appliesTo)SubscribedSkuwithCapabilityStatus(String capabilityStatus)SubscribedSkuwithConsumedUnits(Integer consumedUnits)SubscribedSkuwithPrepaidUnits(LicenseUnitsDetail prepaidUnits)SubscribedSkuwithServicePlans(List<ServicePlanInfo> servicePlans)SubscribedSkuwithSkuId(UUID skuId)SubscribedSkuwithSkuPartNumber(String skuPartNumber)SubscribedSkuwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
appliesTo
protected String appliesTo
-
capabilityStatus
protected String capabilityStatus
-
consumedUnits
protected Integer consumedUnits
-
prepaidUnits
protected LicenseUnitsDetail prepaidUnits
-
servicePlans
protected List<ServicePlanInfo> servicePlans
-
servicePlansNextLink
protected String servicePlansNextLink
-
skuId
protected UUID skuId
-
skuPartNumber
protected String skuPartNumber
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSubscribedSku
public static SubscribedSku.Builder builderSubscribedSku()
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
-
withAppliesTo
public SubscribedSku withAppliesTo(String appliesTo)
-
withCapabilityStatus
public SubscribedSku withCapabilityStatus(String capabilityStatus)
-
withConsumedUnits
public SubscribedSku withConsumedUnits(Integer consumedUnits)
-
getPrepaidUnits
public Optional<LicenseUnitsDetail> getPrepaidUnits()
-
withPrepaidUnits
public SubscribedSku withPrepaidUnits(LicenseUnitsDetail prepaidUnits)
-
getServicePlans
public com.github.davidmoten.odata.client.CollectionPage<ServicePlanInfo> getServicePlans()
-
withServicePlans
public SubscribedSku withServicePlans(List<ServicePlanInfo> servicePlans)
-
getServicePlans
public com.github.davidmoten.odata.client.CollectionPage<ServicePlanInfo> getServicePlans(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withSkuId
public SubscribedSku withSkuId(UUID skuId)
-
withSkuPartNumber
public SubscribedSku withSkuPartNumber(String skuPartNumber)
-
withUnmappedField
public SubscribedSku 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 SubscribedSku patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public SubscribedSku put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-