Package com.flower.docs.ws.api.token
Class GenerateWithDurationRequest
- java.lang.Object
-
- com.flower.docs.ws.api.token.GenerateWithDurationRequest
-
public class GenerateWithDurationRequest extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="duration" type="{http://www.w3.org/2001/XMLSchema}long"/> <element ref="{http://flower.com/docs/domain/security}Token"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description GenerateWithDurationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDuration()
Gets the value of the duration property.com.flower.docs.domain.security.Token
getToken()
Gets the value of the token property.void
setDuration(long value)
Sets the value of the duration property.void
setToken(com.flower.docs.domain.security.Token value)
Sets the value of the token property.
-
-
-
Method Detail
-
getDuration
public long getDuration()
Gets the value of the duration property.
-
setDuration
public void setDuration(long value)
Sets the value of the duration property.
-
getToken
public com.flower.docs.domain.security.Token getToken()
Gets the value of the token property.- Returns:
- possible object is
Token
-
setToken
public void setToken(com.flower.docs.domain.security.Token value)
Sets the value of the token property.- Parameters:
value
- allowed object isToken
-
-