Klasse UserSession
java.lang.Object
io.github.primelib.pagerduty4j.rest.model.UserSession
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UserSession
extends Object
UserSession
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic enum
The type of the sessionstatic class
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected OffsetDateTime
The date/time the user session was first created.protected String
protected String
The summary of the sessionprotected UserSession.TypeEnum
The type of the sessionprotected String
-
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
UserSession
(String id, String userId, OffsetDateTime createdAt, UserSession.TypeEnum type, String summary) Constructs a validated instance ofUserSession
.UserSession
(Consumer<UserSession> spec) Constructs a validated instance ofUserSession
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
protected boolean
The date/time the user session was first created.createdAt
(OffsetDateTime createdAt) The date/time the user session was first created.boolean
int
hashCode()
id()
summary()
The summary of the sessionThe summary of the sessiontoString()
type()
The type of the sessiontype
(UserSession.TypeEnum type) The type of the sessionuserId()
-
Felddetails
-
id
-
userId
-
createdAt
The date/time the user session was first created. -
type
The type of the session -
summary
The summary of the session
-
-
Konstruktordetails
-
UserSession
Constructs a validated instance ofUserSession
.- Parameter:
spec
- the specification to process
-
UserSession
@Internal public UserSession(String id, String userId, OffsetDateTime createdAt, UserSession.TypeEnum type, String summary) Constructs a validated instance ofUserSession
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
UserSession(Consumer)
instead.- Parameter:
id
- iduserId
- userIdcreatedAt
- The date/time the user session was first created.type
- The type of the sessionsummary
- The summary of the session
-
UserSession
protected UserSession()
-
-
Methodendetails
-
builder
-
id
-
userId
-
createdAt
The date/time the user session was first created. -
type
The type of the session -
summary
The summary of the session -
id
- Gibt zurück:
this
.
-
userId
- Gibt zurück:
this
.
-
createdAt
The date/time the user session was first created.- Gibt zurück:
this
.
-
type
The type of the session- Gibt zurück:
this
.
-
summary
The summary of the session- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-