public class TelecomExpenseManagementPartner extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
TelecomExpenseManagementPartner.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
appAuthorized |
protected String |
displayName |
protected Boolean |
enabled |
protected OffsetDateTime |
lastConnectionDateTime |
protected String |
url |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
TelecomExpenseManagementPartner() |
| Modifier and Type | Method and Description |
|---|---|
static TelecomExpenseManagementPartner.Builder |
builderTelecomExpenseManagementPartner()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Boolean> |
getAppAuthorized()
“Whether the partner's AAD app has been authorized to access Intune.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDisplayName()
“Display name of the TEM partner.”
|
Optional<Boolean> |
getEnabled()
“Whether Intune's connection to the TEM service is currently enabled or disabled.”
|
Optional<OffsetDateTime> |
getLastConnectionDateTime()
“Timestamp of the last request sent to Intune by the TEM partner.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUrl()
“URL of the TEM partner's administrative control panel, where an administrator
can configure their TEM service.”
|
String |
odataTypeName() |
TelecomExpenseManagementPartner |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
TelecomExpenseManagementPartner |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
TelecomExpenseManagementPartner |
withAppAuthorized(Boolean appAuthorized)
Returns an immutable copy of
this with just the appAuthorized
field changed. |
TelecomExpenseManagementPartner |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
TelecomExpenseManagementPartner |
withEnabled(Boolean enabled)
Returns an immutable copy of
this with just the enabled field
changed. |
TelecomExpenseManagementPartner |
withLastConnectionDateTime(OffsetDateTime lastConnectionDateTime)
Returns an immutable copy of
this with just the lastConnectionDateTime field changed. |
TelecomExpenseManagementPartner |
withUrl(String url)
Returns an immutable copy of
this with just the url field
changed. |
protected String displayName
protected String url
protected Boolean appAuthorized
protected Boolean enabled
protected OffsetDateTime lastConnectionDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static TelecomExpenseManagementPartner.Builder builderTelecomExpenseManagementPartner()
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 TelecomExpenseManagementPartner 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.
“Display name of the TEM partner.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getUrl()
public TelecomExpenseManagementPartner withUrl(String url)
this with just the url 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.
“URL of the TEM partner's administrative control panel, where an administrator can configure their TEM service.”
url - new value of url field (as defined in service metadata)this with just the url field changedpublic Optional<Boolean> getAppAuthorized()
public TelecomExpenseManagementPartner withAppAuthorized(Boolean appAuthorized)
this with just the appAuthorized
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.
“Whether the partner's AAD app has been authorized to access Intune.”
appAuthorized - new value of appAuthorized field (as defined in service metadata)this with just the appAuthorized field changedpublic Optional<Boolean> getEnabled()
public TelecomExpenseManagementPartner withEnabled(Boolean enabled)
this with just the enabled 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.
“Whether Intune's connection to the TEM service is currently enabled or disabled.”
enabled - new value of enabled field (as defined in service metadata)this with just the enabled field changedpublic Optional<OffsetDateTime> getLastConnectionDateTime()
public TelecomExpenseManagementPartner withLastConnectionDateTime(OffsetDateTime lastConnectionDateTime)
this with just the lastConnectionDateTime 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.
“Timestamp of the last request sent to Intune by the TEM partner.”
lastConnectionDateTime - new value of lastConnectionDateTime field (as defined in service metadata)this with just the lastConnectionDateTime field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic TelecomExpenseManagementPartner patch()
this with changed fields reset.public TelecomExpenseManagementPartner put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.