Package odata.msgraph.client.beta.entity
Class OnPremisesAgent
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.OnPremisesAgent
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class OnPremisesAgent extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOnPremisesAgent.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringexternalIpprotected StringmachineNameprotected AgentStatusstatusprotected List<OnPremisesPublishingType>supportedPublishingTypesprotected StringsupportedPublishingTypesNextLink-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOnPremisesAgent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OnPremisesAgent.BuilderbuilderOnPremisesAgent()Returns a builder which is used to create a new instance of this class (given that this class is immutable).OnPremisesAgentGroupCollectionRequestgetAgentGroups()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getExternalIp()Optional<String>getMachineName()Optional<AgentStatus>getStatus()com.github.davidmoten.odata.client.CollectionPage<OnPremisesPublishingType>getSupportedPublishingTypes()com.github.davidmoten.odata.client.CollectionPage<OnPremisesPublishingType>getSupportedPublishingTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()OnPremisesAgentpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)OnPremisesAgentput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()OnPremisesAgentwithExternalIp(String externalIp)OnPremisesAgentwithMachineName(String machineName)OnPremisesAgentwithStatus(AgentStatus status)OnPremisesAgentwithSupportedPublishingTypes(List<OnPremisesPublishingType> supportedPublishingTypes)OnPremisesAgentwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
externalIp
protected String externalIp
-
machineName
protected String machineName
-
status
protected AgentStatus status
-
supportedPublishingTypes
protected List<OnPremisesPublishingType> supportedPublishingTypes
-
supportedPublishingTypesNextLink
protected String supportedPublishingTypesNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderOnPremisesAgent
public static OnPremisesAgent.Builder builderOnPremisesAgent()
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
-
withExternalIp
public OnPremisesAgent withExternalIp(String externalIp)
-
withMachineName
public OnPremisesAgent withMachineName(String machineName)
-
getStatus
public Optional<AgentStatus> getStatus()
-
withStatus
public OnPremisesAgent withStatus(AgentStatus status)
-
getSupportedPublishingTypes
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesPublishingType> getSupportedPublishingTypes()
-
withSupportedPublishingTypes
public OnPremisesAgent withSupportedPublishingTypes(List<OnPremisesPublishingType> supportedPublishingTypes)
-
getSupportedPublishingTypes
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesPublishingType> getSupportedPublishingTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public OnPremisesAgent withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getAgentGroups
public OnPremisesAgentGroupCollectionRequest getAgentGroups()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public OnPremisesAgent patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public OnPremisesAgent put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-