Class HostPort
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.security.entity.HostPort
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class HostPort extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHostPort.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<HostPortBanner>bannersprotected StringbannersNextLinkprotected OffsetDateTimefirstSeenDateTimeprotected OffsetDateTimelastScanDateTimeprotected OffsetDateTimelastSeenDateTimeprotected Integerportprotected HostPortProtocolprotocolprotected List<HostPortComponent>servicesprotected StringservicesNextLinkprotected HostPortStatusstatusprotected IntegertimesObserved-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHostPort()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostPort.BuilderbuilderHostPort()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.CollectionPage<HostPortBanner>getBanners()com.github.davidmoten.odata.client.CollectionPage<HostPortBanner>getBanners(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getFirstSeenDateTime()HostRequestgetHost()Optional<OffsetDateTime>getLastScanDateTime()Optional<OffsetDateTime>getLastSeenDateTime()SslCertificateRequestgetMostRecentSslCertificate()Optional<Integer>getPort()Optional<HostPortProtocol>getProtocol()com.github.davidmoten.odata.client.CollectionPage<HostPortComponent>getServices()com.github.davidmoten.odata.client.CollectionPage<HostPortComponent>getServices(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<HostPortStatus>getStatus()Optional<Integer>getTimesObserved()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()HostPortpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)HostPortput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()HostPortwithBanners(List<HostPortBanner> banners)HostPortwithFirstSeenDateTime(OffsetDateTime firstSeenDateTime)HostPortwithLastScanDateTime(OffsetDateTime lastScanDateTime)HostPortwithLastSeenDateTime(OffsetDateTime lastSeenDateTime)HostPortwithPort(Integer port)HostPortwithProtocol(HostPortProtocol protocol)HostPortwithServices(List<HostPortComponent> services)HostPortwithStatus(HostPortStatus status)HostPortwithTimesObserved(Integer timesObserved)HostPortwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
banners
protected List<HostPortBanner> banners
-
bannersNextLink
protected String bannersNextLink
-
firstSeenDateTime
protected OffsetDateTime firstSeenDateTime
-
lastScanDateTime
protected OffsetDateTime lastScanDateTime
-
lastSeenDateTime
protected OffsetDateTime lastSeenDateTime
-
port
protected Integer port
-
protocol
protected HostPortProtocol protocol
-
services
protected List<HostPortComponent> services
-
servicesNextLink
protected String servicesNextLink
-
status
protected HostPortStatus status
-
timesObserved
protected Integer timesObserved
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderHostPort
public static HostPort.Builder builderHostPort()
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
-
getBanners
public com.github.davidmoten.odata.client.CollectionPage<HostPortBanner> getBanners()
-
withBanners
public HostPort withBanners(List<HostPortBanner> banners)
-
getBanners
public com.github.davidmoten.odata.client.CollectionPage<HostPortBanner> getBanners(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getFirstSeenDateTime
public Optional<OffsetDateTime> getFirstSeenDateTime()
-
withFirstSeenDateTime
public HostPort withFirstSeenDateTime(OffsetDateTime firstSeenDateTime)
-
getLastScanDateTime
public Optional<OffsetDateTime> getLastScanDateTime()
-
withLastScanDateTime
public HostPort withLastScanDateTime(OffsetDateTime lastScanDateTime)
-
getLastSeenDateTime
public Optional<OffsetDateTime> getLastSeenDateTime()
-
withLastSeenDateTime
public HostPort withLastSeenDateTime(OffsetDateTime lastSeenDateTime)
-
getProtocol
public Optional<HostPortProtocol> getProtocol()
-
withProtocol
public HostPort withProtocol(HostPortProtocol protocol)
-
getServices
public com.github.davidmoten.odata.client.CollectionPage<HostPortComponent> getServices()
-
withServices
public HostPort withServices(List<HostPortComponent> services)
-
getServices
public com.github.davidmoten.odata.client.CollectionPage<HostPortComponent> getServices(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getStatus
public Optional<HostPortStatus> getStatus()
-
withStatus
public HostPort withStatus(HostPortStatus status)
-
withUnmappedField
public HostPort withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getHost
public HostRequest getHost()
-
getMostRecentSslCertificate
public SslCertificateRequest getMostRecentSslCertificate()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public HostPort patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public HostPort put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-