Package odata.msgraph.client.entity
Class RemoteAssistancePartner
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.RemoteAssistancePartner
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class RemoteAssistancePartner extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“RemoteAssistPartner resources represent the metadata and status of a given Remote Assistance partner service.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRemoteAssistancePartner.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringdisplayNameprotected OffsetDateTimelastConnectionDateTimeprotected RemoteAssistanceOnboardingStatusonboardingStatusprotected StringonboardingUrl-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRemoteAssistancePartner()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestNoReturnbeginOnboarding()static RemoteAssistancePartner.BuilderbuilderRemoteAssistancePartner()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.ActionRequestNoReturndisconnect()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDisplayName()“Display name of the partner.”Optional<OffsetDateTime>getLastConnectionDateTime()“Timestamp of the last request sent to Intune by the TEM partner.”Optional<RemoteAssistanceOnboardingStatus>getOnboardingStatus()“A friendly description of the current TeamViewer connector status”Optional<String>getOnboardingUrl()“URL of the partner's onboarding portal, where an administrator can configure their Remote Assistance service.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()RemoteAssistancePartnerpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)RemoteAssistancePartnerput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()RemoteAssistancePartnerwithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.RemoteAssistancePartnerwithLastConnectionDateTime(OffsetDateTime lastConnectionDateTime)Returns an immutable copy ofthiswith just thelastConnectionDateTimefield changed.RemoteAssistancePartnerwithOnboardingStatus(RemoteAssistanceOnboardingStatus onboardingStatus)Returns an immutable copy ofthiswith just theonboardingStatusfield changed.RemoteAssistancePartnerwithOnboardingUrl(String onboardingUrl)Returns an immutable copy ofthiswith just theonboardingUrlfield changed.RemoteAssistancePartnerwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
displayName
protected String displayName
-
lastConnectionDateTime
protected OffsetDateTime lastConnectionDateTime
-
onboardingStatus
protected RemoteAssistanceOnboardingStatus onboardingStatus
-
onboardingUrl
protected String onboardingUrl
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderRemoteAssistancePartner
public static RemoteAssistancePartner.Builder builderRemoteAssistancePartner()
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
-
getDisplayName
public Optional<String> getDisplayName()
“Display name of the partner.”- Returns:
- property displayName
-
withDisplayName
public RemoteAssistancePartner withDisplayName(String displayName)
Returns an immutable copy ofthiswith just thedisplayNamefield 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.“Display name of the partner.”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getLastConnectionDateTime
public Optional<OffsetDateTime> getLastConnectionDateTime()
“Timestamp of the last request sent to Intune by the TEM partner.”- Returns:
- property lastConnectionDateTime
-
withLastConnectionDateTime
public RemoteAssistancePartner withLastConnectionDateTime(OffsetDateTime lastConnectionDateTime)
Returns an immutable copy ofthiswith just thelastConnectionDateTimefield 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.“Timestamp of the last request sent to Intune by the TEM partner.”
- Parameters:
lastConnectionDateTime- new value oflastConnectionDateTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thelastConnectionDateTimefield changed
-
getOnboardingStatus
public Optional<RemoteAssistanceOnboardingStatus> getOnboardingStatus()
“A friendly description of the current TeamViewer connector status”- Returns:
- property onboardingStatus
-
withOnboardingStatus
public RemoteAssistancePartner withOnboardingStatus(RemoteAssistanceOnboardingStatus onboardingStatus)
Returns an immutable copy ofthiswith just theonboardingStatusfield 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.“A friendly description of the current TeamViewer connector status”
- Parameters:
onboardingStatus- new value ofonboardingStatusfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theonboardingStatusfield changed
-
getOnboardingUrl
public Optional<String> getOnboardingUrl()
“URL of the partner's onboarding portal, where an administrator can configure their Remote Assistance service.”- Returns:
- property onboardingUrl
-
withOnboardingUrl
public RemoteAssistancePartner withOnboardingUrl(String onboardingUrl)
Returns an immutable copy ofthiswith just theonboardingUrlfield 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.“URL of the partner's onboarding portal, where an administrator can configure their Remote Assistance service.”
- Parameters:
onboardingUrl- new value ofonboardingUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theonboardingUrlfield changed
-
withUnmappedField
public RemoteAssistancePartner withUnmappedField(String name, Object 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 RemoteAssistancePartner patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public RemoteAssistancePartner put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
beginOnboarding
public com.github.davidmoten.odata.client.ActionRequestNoReturn beginOnboarding()
-
disconnect
public com.github.davidmoten.odata.client.ActionRequestNoReturn disconnect()
-
-