Package odata.msgraph.client.beta.entity
Class MicrosoftTunnelSite
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.MicrosoftTunnelSite
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class MicrosoftTunnelSite extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Entity that represents a Microsoft Tunnel site”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMicrosoftTunnelSite.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Stringdescriptionprotected StringdisplayNameprotected StringinternalNetworkProbeUrlprotected StringpublicAddressprotected List<String>roleScopeTagIdsprotected StringroleScopeTagIdsNextLinkprotected BooleanupgradeAutomaticallyprotected BooleanupgradeAvailableprotected LocalTimeupgradeWindowEndTimeprotected LocalTimeupgradeWindowStartTimeprotected IntegerupgradeWindowUtcOffsetInMinutes-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMicrosoftTunnelSite()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MicrosoftTunnelSite.BuilderbuilderMicrosoftTunnelSite()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.internal.ChangedFieldsgetChangedFields()Optional<String>getDescription()“The MicrosoftTunnelSite's description”Optional<String>getDisplayName()“The MicrosoftTunnelSite's display name”Optional<String>getInternalNetworkProbeUrl()“The MicrosoftTunnelSite's Internal Network Access Probe URL”MicrosoftTunnelConfigurationRequestgetMicrosoftTunnelConfiguration()“The MicrosoftTunnelConfiguration that has been applied to this MicrosoftTunnelSite”MicrosoftTunnelServerCollectionRequestgetMicrosoftTunnelServers()“A list of MicrosoftTunnelServers that are registered to this MicrosoftTunnelSite”Optional<String>getPublicAddress()“The MicrosoftTunnelSite's public domain name or IP address”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds()“List of Scope Tags for this Entity instance.”com.github.davidmoten.odata.client.CollectionPage<String>getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)“List of Scope Tags for this Entity instance.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<Boolean>getUpgradeAutomatically()“The site's automatic upgrade setting.Optional<Boolean>getUpgradeAvailable()“True if an upgrade is available”Optional<LocalTime>getUpgradeWindowEndTime()“The site's upgrade window end time of day”Optional<LocalTime>getUpgradeWindowStartTime()“The site's upgrade window start time of day”Optional<Integer>getUpgradeWindowUtcOffsetInMinutes()“The site's timezone represented as a minute offset from UTC”StringodataTypeName()MicrosoftTunnelSitepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)MicrosoftTunnelSiteput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestNoReturnrequestUpgrade()StringtoString()MicrosoftTunnelSitewithDescription(String description)Returns an immutable copy ofthiswith just thedescriptionfield changed.MicrosoftTunnelSitewithDisplayName(String displayName)Returns an immutable copy ofthiswith just thedisplayNamefield changed.MicrosoftTunnelSitewithInternalNetworkProbeUrl(String internalNetworkProbeUrl)Returns an immutable copy ofthiswith just theinternalNetworkProbeUrlfield changed.MicrosoftTunnelSitewithPublicAddress(String publicAddress)Returns an immutable copy ofthiswith just thepublicAddressfield changed.MicrosoftTunnelSitewithRoleScopeTagIds(List<String> roleScopeTagIds)Returns an immutable copy ofthiswith just theroleScopeTagIdsfield changed.MicrosoftTunnelSitewithUnmappedField(String name, String value)MicrosoftTunnelSitewithUpgradeAutomatically(Boolean upgradeAutomatically)Returns an immutable copy ofthiswith just theupgradeAutomaticallyfield changed.MicrosoftTunnelSitewithUpgradeAvailable(Boolean upgradeAvailable)Returns an immutable copy ofthiswith just theupgradeAvailablefield changed.MicrosoftTunnelSitewithUpgradeWindowEndTime(LocalTime upgradeWindowEndTime)Returns an immutable copy ofthiswith just theupgradeWindowEndTimefield changed.MicrosoftTunnelSitewithUpgradeWindowStartTime(LocalTime upgradeWindowStartTime)Returns an immutable copy ofthiswith just theupgradeWindowStartTimefield changed.MicrosoftTunnelSitewithUpgradeWindowUtcOffsetInMinutes(Integer upgradeWindowUtcOffsetInMinutes)Returns an immutable copy ofthiswith just theupgradeWindowUtcOffsetInMinutesfield changed.
-
-
-
Field Detail
-
description
protected String description
-
displayName
protected String displayName
-
internalNetworkProbeUrl
protected String internalNetworkProbeUrl
-
publicAddress
protected String publicAddress
-
roleScopeTagIdsNextLink
protected String roleScopeTagIdsNextLink
-
upgradeAutomatically
protected Boolean upgradeAutomatically
-
upgradeAvailable
protected Boolean upgradeAvailable
-
upgradeWindowEndTime
protected LocalTime upgradeWindowEndTime
-
upgradeWindowStartTime
protected LocalTime upgradeWindowStartTime
-
upgradeWindowUtcOffsetInMinutes
protected Integer upgradeWindowUtcOffsetInMinutes
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderMicrosoftTunnelSite
public static MicrosoftTunnelSite.Builder builderMicrosoftTunnelSite()
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
-
getDescription
public Optional<String> getDescription()
“The MicrosoftTunnelSite's description”- Returns:
- property description
-
withDescription
public MicrosoftTunnelSite withDescription(String description)
Returns an immutable copy ofthiswith just thedescriptionfield 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.“The MicrosoftTunnelSite's description”
- Parameters:
description- new value ofdescriptionfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedescriptionfield changed
-
getDisplayName
public Optional<String> getDisplayName()
“The MicrosoftTunnelSite's display name”- Returns:
- property displayName
-
withDisplayName
public MicrosoftTunnelSite 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.“The MicrosoftTunnelSite's display name”
- Parameters:
displayName- new value ofdisplayNamefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedisplayNamefield changed
-
getInternalNetworkProbeUrl
public Optional<String> getInternalNetworkProbeUrl()
“The MicrosoftTunnelSite's Internal Network Access Probe URL”- Returns:
- property internalNetworkProbeUrl
-
withInternalNetworkProbeUrl
public MicrosoftTunnelSite withInternalNetworkProbeUrl(String internalNetworkProbeUrl)
Returns an immutable copy ofthiswith just theinternalNetworkProbeUrlfield 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.“The MicrosoftTunnelSite's Internal Network Access Probe URL”
- Parameters:
internalNetworkProbeUrl- new value ofinternalNetworkProbeUrlfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinternalNetworkProbeUrlfield changed
-
getPublicAddress
public Optional<String> getPublicAddress()
“The MicrosoftTunnelSite's public domain name or IP address”- Returns:
- property publicAddress
-
withPublicAddress
public MicrosoftTunnelSite withPublicAddress(String publicAddress)
Returns an immutable copy ofthiswith just thepublicAddressfield 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.“The MicrosoftTunnelSite's public domain name or IP address”
- Parameters:
publicAddress- new value ofpublicAddressfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepublicAddressfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
“List of Scope Tags for this Entity instance.”- Returns:
- property roleScopeTagIds
-
withRoleScopeTagIds
public MicrosoftTunnelSite withRoleScopeTagIds(List<String> roleScopeTagIds)
Returns an immutable copy ofthiswith just theroleScopeTagIdsfield 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.“List of Scope Tags for this Entity instance.”
- Parameters:
roleScopeTagIds- new value ofroleScopeTagIdsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theroleScopeTagIdsfield changed
-
getRoleScopeTagIds
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tags for this Entity instance.”- Parameters:
options- specify connect and read timeouts- Returns:
- property roleScopeTagIds
-
getUpgradeAutomatically
public Optional<Boolean> getUpgradeAutomatically()
“The site's automatic upgrade setting. True for automatic upgrades, false for manual control”- Returns:
- property upgradeAutomatically
-
withUpgradeAutomatically
public MicrosoftTunnelSite withUpgradeAutomatically(Boolean upgradeAutomatically)
Returns an immutable copy ofthiswith just theupgradeAutomaticallyfield 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.“The site's automatic upgrade setting. True for automatic upgrades, false for manual control”
- Parameters:
upgradeAutomatically- new value ofupgradeAutomaticallyfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theupgradeAutomaticallyfield changed
-
getUpgradeAvailable
public Optional<Boolean> getUpgradeAvailable()
“True if an upgrade is available”- Returns:
- property upgradeAvailable
-
withUpgradeAvailable
public MicrosoftTunnelSite withUpgradeAvailable(Boolean upgradeAvailable)
Returns an immutable copy ofthiswith just theupgradeAvailablefield 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.“True if an upgrade is available”
- Parameters:
upgradeAvailable- new value ofupgradeAvailablefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theupgradeAvailablefield changed
-
getUpgradeWindowEndTime
public Optional<LocalTime> getUpgradeWindowEndTime()
“The site's upgrade window end time of day”- Returns:
- property upgradeWindowEndTime
-
withUpgradeWindowEndTime
public MicrosoftTunnelSite withUpgradeWindowEndTime(LocalTime upgradeWindowEndTime)
Returns an immutable copy ofthiswith just theupgradeWindowEndTimefield 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.“The site's upgrade window end time of day”
- Parameters:
upgradeWindowEndTime- new value ofupgradeWindowEndTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theupgradeWindowEndTimefield changed
-
getUpgradeWindowStartTime
public Optional<LocalTime> getUpgradeWindowStartTime()
“The site's upgrade window start time of day”- Returns:
- property upgradeWindowStartTime
-
withUpgradeWindowStartTime
public MicrosoftTunnelSite withUpgradeWindowStartTime(LocalTime upgradeWindowStartTime)
Returns an immutable copy ofthiswith just theupgradeWindowStartTimefield 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.“The site's upgrade window start time of day”
- Parameters:
upgradeWindowStartTime- new value ofupgradeWindowStartTimefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theupgradeWindowStartTimefield changed
-
getUpgradeWindowUtcOffsetInMinutes
public Optional<Integer> getUpgradeWindowUtcOffsetInMinutes()
“The site's timezone represented as a minute offset from UTC”- Returns:
- property upgradeWindowUtcOffsetInMinutes
-
withUpgradeWindowUtcOffsetInMinutes
public MicrosoftTunnelSite withUpgradeWindowUtcOffsetInMinutes(Integer upgradeWindowUtcOffsetInMinutes)
Returns an immutable copy ofthiswith just theupgradeWindowUtcOffsetInMinutesfield 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.“The site's timezone represented as a minute offset from UTC”
- Parameters:
upgradeWindowUtcOffsetInMinutes- new value ofupgradeWindowUtcOffsetInMinutesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theupgradeWindowUtcOffsetInMinutesfield changed
-
withUnmappedField
public MicrosoftTunnelSite withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getMicrosoftTunnelConfiguration
public MicrosoftTunnelConfigurationRequest getMicrosoftTunnelConfiguration()
“The MicrosoftTunnelConfiguration that has been applied to this MicrosoftTunnelSite”- Returns:
- navigational property microsoftTunnelConfiguration
-
getMicrosoftTunnelServers
public MicrosoftTunnelServerCollectionRequest getMicrosoftTunnelServers()
“A list of MicrosoftTunnelServers that are registered to this MicrosoftTunnelSite”- Returns:
- navigational property microsoftTunnelServers
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public MicrosoftTunnelSite patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public MicrosoftTunnelSite put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
requestUpgrade
public com.github.davidmoten.odata.client.ActionRequestNoReturn requestUpgrade()
-
-