public class EmbeddedSIMActivationCodePool extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
EmbeddedSIMActivationCodePool.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
activationCodeCount |
protected List<EmbeddedSIMActivationCode> |
activationCodes |
protected String |
activationCodesNextLink |
protected OffsetDateTime |
createdDateTime |
protected String |
displayName |
protected OffsetDateTime |
modifiedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
EmbeddedSIMActivationCodePool() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmbeddedSIMActivationCodePoolAssignment> |
assign(List<EmbeddedSIMActivationCodePoolAssignment> assignments) |
static EmbeddedSIMActivationCodePool.Builder |
builderEmbeddedSIMActivationCodePool()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getActivationCodeCount()
“The total count of activation codes which belong to this pool.”
|
com.github.davidmoten.odata.client.CollectionPage<EmbeddedSIMActivationCode> |
getActivationCodes()
“The activation codes which belong to this pool.
|
EmbeddedSIMActivationCodePoolAssignmentCollectionRequest |
getAssignments()
“Navigational property to a list of targets to which this pool is assigned.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“The time the embedded SIM activation code pool was created.
|
EmbeddedSIMDeviceStateCollectionRequest |
getDeviceStates()
“Navigational property to a list of device states for this pool.”
|
Optional<String> |
getDisplayName()
“The admin defined name of the embedded SIM activation code pool.”
|
Optional<OffsetDateTime> |
getModifiedDateTime()
“The time the embedded SIM activation code pool was last modified.
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
EmbeddedSIMActivationCodePool |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
EmbeddedSIMActivationCodePool |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
EmbeddedSIMActivationCodePool |
withActivationCodeCount(Integer activationCodeCount)
Returns an immutable copy of
this with just the activationCodeCount field changed. |
EmbeddedSIMActivationCodePool |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
EmbeddedSIMActivationCodePool |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
EmbeddedSIMActivationCodePool |
withModifiedDateTime(OffsetDateTime modifiedDateTime)
Returns an immutable copy of
this with just the modifiedDateTime
field changed. |
protected String displayName
protected OffsetDateTime createdDateTime
protected OffsetDateTime modifiedDateTime
protected List<EmbeddedSIMActivationCode> activationCodes
protected String activationCodesNextLink
protected Integer activationCodeCount
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static EmbeddedSIMActivationCodePool.Builder builderEmbeddedSIMActivationCodePool()
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 Optional<String> getDisplayName()
public EmbeddedSIMActivationCodePool withDisplayName(String displayName)
this with just the displayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The admin defined name of the embedded SIM activation code pool.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
public EmbeddedSIMActivationCodePool withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The time the embedded SIM activation code pool was created. Generated service side.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getModifiedDateTime()
public EmbeddedSIMActivationCodePool withModifiedDateTime(OffsetDateTime modifiedDateTime)
this with just the modifiedDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“The time the embedded SIM activation code pool was last modified. Updated service side.”
modifiedDateTime - new value of modifiedDateTime field (as defined in service metadata)this with just the modifiedDateTime field changedpublic com.github.davidmoten.odata.client.CollectionPage<EmbeddedSIMActivationCode> getActivationCodes()
public Optional<Integer> getActivationCodeCount()
public EmbeddedSIMActivationCodePool withActivationCodeCount(Integer activationCodeCount)
this with just the activationCodeCount field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“The total count of activation codes which belong to this pool.”
activationCodeCount - new value of activationCodeCount field (as defined in service metadata)this with just the activationCodeCount field changedpublic EmbeddedSIMActivationCodePoolAssignmentCollectionRequest getAssignments()
public EmbeddedSIMDeviceStateCollectionRequest getDeviceStates()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic EmbeddedSIMActivationCodePool patch()
this with changed fields reset.public EmbeddedSIMActivationCodePool put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmbeddedSIMActivationCodePoolAssignment> assign(List<EmbeddedSIMActivationCodePoolAssignment> assignments)
Copyright © 2018–2020. All rights reserved.