Class UsersApi
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified.private org.springframework.web.client.RestClient.ResponseSpecLists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified.Lists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified.org.springframework.web.client.RestClient.ResponseSpecLists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified.voidsetApiClient(ApiClient apiClient)
-
Field Details
-
apiClient
-
-
Constructor Details
-
UsersApi
public UsersApi() -
UsersApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
listEmailsForAuthenticatedUserRequestCreation
private org.springframework.web.client.RestClient.ResponseSpec listEmailsForAuthenticatedUserRequestCreation() throws org.springframework.web.client.RestClientResponseExceptionLists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified. Needs the user:email scope. The authorization server only uses the address that is both primary and verified.200 - The e-mail addresses
304 - Not modified since the conditional request
401 - The access token is missing, invalid or expired
403 - The token lacks the user:email scope, or the rate limit was exceeded
404 - The resource is not available to the token
- Returns:
- List<Email>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
listEmailsForAuthenticatedUser
public List<Email> listEmailsForAuthenticatedUser() throws org.springframework.web.client.RestClientResponseExceptionLists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified. Needs the user:email scope. The authorization server only uses the address that is both primary and verified.200 - The e-mail addresses
304 - Not modified since the conditional request
401 - The access token is missing, invalid or expired
403 - The token lacks the user:email scope, or the rate limit was exceeded
404 - The resource is not available to the token
- Returns:
- List<Email>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
listEmailsForAuthenticatedUserWithHttpInfo
public org.springframework.http.ResponseEntity<List<Email>> listEmailsForAuthenticatedUserWithHttpInfo() throws org.springframework.web.client.RestClientResponseExceptionLists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified. Needs the user:email scope. The authorization server only uses the address that is both primary and verified.200 - The e-mail addresses
304 - Not modified since the conditional request
401 - The access token is missing, invalid or expired
403 - The token lacks the user:email scope, or the rate limit was exceeded
404 - The resource is not available to the token
- Returns:
- ResponseEntity<List<Email>>
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-
listEmailsForAuthenticatedUserWithResponseSpec
public org.springframework.web.client.RestClient.ResponseSpec listEmailsForAuthenticatedUserWithResponseSpec() throws org.springframework.web.client.RestClientResponseExceptionLists the e-mail addresses of the authenticated user Lists every e-mail address of the user the access token belongs to, each flagged as primary and as verified. Needs the user:email scope. The authorization server only uses the address that is both primary and verified.200 - The e-mail addresses
304 - Not modified since the conditional request
401 - The access token is missing, invalid or expired
403 - The token lacks the user:email scope, or the rate limit was exceeded
404 - The resource is not available to the token
- Returns:
- ResponseSpec
- Throws:
org.springframework.web.client.RestClientResponseException- if an error occurs while attempting to invoke the API
-