public class SubscribedSku extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Referenceable = false
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = false
Org.OData.Capabilities.V1.TopSupported
false
Org.OData.Capabilities.V1.SkipSupported
false
| Modifier and Type | Class and Description |
|---|---|
static class |
SubscribedSku.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
appliesTo |
protected String |
capabilityStatus |
protected Integer |
consumedUnits |
protected LicenseUnitsDetail |
prepaidUnits |
protected List<ServicePlanInfo> |
servicePlans |
protected String |
servicePlansNextLink |
protected String |
skuId |
protected String |
skuPartNumber |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SubscribedSku() |
| Modifier and Type | Method and Description |
|---|---|
static SubscribedSku.Builder |
builderSubscribedSku()
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.ChangedFields |
getChangedFields() |
Optional<Integer> |
getConsumedUnits() |
Optional<LicenseUnitsDetail> |
getPrepaidUnits() |
com.github.davidmoten.odata.client.CollectionPage<ServicePlanInfo> |
getServicePlans() |
Optional<String> |
getSkuId() |
Optional<String> |
getSkuPartNumber() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
SubscribedSku |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
SubscribedSku |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
SubscribedSku |
withAppliesTo(String appliesTo) |
SubscribedSku |
withCapabilityStatus(String capabilityStatus) |
SubscribedSku |
withConsumedUnits(Integer consumedUnits) |
SubscribedSku |
withPrepaidUnits(LicenseUnitsDetail prepaidUnits) |
SubscribedSku |
withSkuId(String skuId) |
SubscribedSku |
withSkuPartNumber(String skuPartNumber) |
protected String capabilityStatus
protected Integer consumedUnits
protected LicenseUnitsDetail prepaidUnits
protected List<ServicePlanInfo> servicePlans
protected String servicePlansNextLink
protected String skuId
protected String skuPartNumber
protected String appliesTo
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SubscribedSku.Builder builderSubscribedSku()
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 SubscribedSku withCapabilityStatus(String capabilityStatus)
public SubscribedSku withConsumedUnits(Integer consumedUnits)
public Optional<LicenseUnitsDetail> getPrepaidUnits()
public SubscribedSku withPrepaidUnits(LicenseUnitsDetail prepaidUnits)
public com.github.davidmoten.odata.client.CollectionPage<ServicePlanInfo> getServicePlans()
public SubscribedSku withSkuId(String skuId)
public SubscribedSku withSkuPartNumber(String skuPartNumber)
public SubscribedSku withAppliesTo(String appliesTo)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SubscribedSku patch()
this with changed fields reset.public SubscribedSku put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.