Class ApiClientDraftImpl
- All Implemented Interfaces:
ApiClientDraft
,io.vrap.rmf.base.client.Draft<ApiClientDraft>
,io.vrap.rmf.base.client.ModelBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Expiration time in seconds for each access token obtained by the APIClient.If set, the Client will be deleted after the specified amount of days.getName()
Name of the APIClient.Inactivity expiration time in seconds for each refresh token obtained by the APIClient.getScope()
Whitespace-separated list of OAuth scopes that can be used when obtaining an access token.int
hashCode()
void
setAccessTokenValiditySeconds
(Integer accessTokenValiditySeconds) Expiration time in seconds for each access token obtained by the APIClient.void
setDeleteDaysAfterCreation
(Long deleteDaysAfterCreation) If set, the Client will be deleted after the specified amount of days.void
Name of the APIClient.void
setRefreshTokenValiditySeconds
(Integer refreshTokenValiditySeconds) Inactivity expiration time in seconds for each refresh token obtained by the APIClient.void
Whitespace-separated list of OAuth scopes that can be used when obtaining an access token.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.api_client.ApiClientDraft
withApiClientDraft
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ApiClientDraftImpl
public ApiClientDraftImpl()create empty instance
-
-
Method Details
-
getName
Name of the APIClient.
- Specified by:
getName
in interfaceApiClientDraft
- Returns:
- name
-
getScope
Whitespace-separated list of OAuth scopes that can be used when obtaining an access token.
- Specified by:
getScope
in interfaceApiClientDraft
- Returns:
- scope
-
getDeleteDaysAfterCreation
If set, the Client will be deleted after the specified amount of days.
- Specified by:
getDeleteDaysAfterCreation
in interfaceApiClientDraft
- Returns:
- deleteDaysAfterCreation
-
getAccessTokenValiditySeconds
Expiration time in seconds for each access token obtained by the APIClient. If not set the default value applies.
- Specified by:
getAccessTokenValiditySeconds
in interfaceApiClientDraft
- Returns:
- accessTokenValiditySeconds
-
getRefreshTokenValiditySeconds
Inactivity expiration time in seconds for each refresh token obtained by the APIClient. The expiration time for refresh tokens is restarted each time the token is used. If not set the default value applies.
- Specified by:
getRefreshTokenValiditySeconds
in interfaceApiClientDraft
- Returns:
- refreshTokenValiditySeconds
-
setName
Description copied from interface:ApiClientDraft
Name of the APIClient.
- Specified by:
setName
in interfaceApiClientDraft
- Parameters:
name
- value to be set
-
setScope
Description copied from interface:ApiClientDraft
Whitespace-separated list of OAuth scopes that can be used when obtaining an access token.
- Specified by:
setScope
in interfaceApiClientDraft
- Parameters:
scope
- value to be set
-
setDeleteDaysAfterCreation
Description copied from interface:ApiClientDraft
If set, the Client will be deleted after the specified amount of days.
- Specified by:
setDeleteDaysAfterCreation
in interfaceApiClientDraft
- Parameters:
deleteDaysAfterCreation
- value to be set
-
setAccessTokenValiditySeconds
Description copied from interface:ApiClientDraft
Expiration time in seconds for each access token obtained by the APIClient. If not set the default value applies.
- Specified by:
setAccessTokenValiditySeconds
in interfaceApiClientDraft
- Parameters:
accessTokenValiditySeconds
- value to be set
-
setRefreshTokenValiditySeconds
Description copied from interface:ApiClientDraft
Inactivity expiration time in seconds for each refresh token obtained by the APIClient. The expiration time for refresh tokens is restarted each time the token is used. If not set the default value applies.
- Specified by:
setRefreshTokenValiditySeconds
in interfaceApiClientDraft
- Parameters:
refreshTokenValiditySeconds
- value to be set
-
equals
-
hashCode
public int hashCode()
-