Package io.gitea.api
Class ActivitypubApi
- java.lang.Object
-
- io.gitea.api.ActivitypubApi
-
public class ActivitypubApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ActivitypubApi()ActivitypubApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityPubactivitypubPerson(java.lang.String username)Returns the Person actor for a usercom.squareup.okhttp.CallactivitypubPersonAsync(java.lang.String username, ApiCallback<ActivityPub> callback)Returns the Person actor for a user (asynchronously)com.squareup.okhttp.CallactivitypubPersonCall(java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for activitypubPersonvoidactivitypubPersonInbox(java.lang.String username)Send to the inboxcom.squareup.okhttp.CallactivitypubPersonInboxAsync(java.lang.String username, ApiCallback<java.lang.Void> callback)Send to the inbox (asynchronously)com.squareup.okhttp.CallactivitypubPersonInboxCall(java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for activitypubPersonInboxApiResponse<java.lang.Void>activitypubPersonInboxWithHttpInfo(java.lang.String username)Send to the inboxApiResponse<ActivityPub>activitypubPersonWithHttpInfo(java.lang.String username)Returns the Person actor for a userApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ActivitypubApi
public ActivitypubApi()
-
ActivitypubApi
public ActivitypubApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
activitypubPersonCall
public com.squareup.okhttp.Call activitypubPersonCall(java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for activitypubPerson- Parameters:
username- username of the user (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
activitypubPerson
public ActivityPub activitypubPerson(java.lang.String username) throws ApiException
Returns the Person actor for a user- Parameters:
username- username of the user (required)- Returns:
- ActivityPub
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
activitypubPersonWithHttpInfo
public ApiResponse<ActivityPub> activitypubPersonWithHttpInfo(java.lang.String username) throws ApiException
Returns the Person actor for a user- Parameters:
username- username of the user (required)- Returns:
- ApiResponse<ActivityPub>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
activitypubPersonAsync
public com.squareup.okhttp.Call activitypubPersonAsync(java.lang.String username, ApiCallback<ActivityPub> callback) throws ApiExceptionReturns the Person actor for a user (asynchronously)- Parameters:
username- username of the user (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
activitypubPersonInboxCall
public com.squareup.okhttp.Call activitypubPersonInboxCall(java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for activitypubPersonInbox- Parameters:
username- username of the user (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
activitypubPersonInbox
public void activitypubPersonInbox(java.lang.String username) throws ApiExceptionSend to the inbox- Parameters:
username- username of the user (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
activitypubPersonInboxWithHttpInfo
public ApiResponse<java.lang.Void> activitypubPersonInboxWithHttpInfo(java.lang.String username) throws ApiException
Send to the inbox- Parameters:
username- username of the user (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
activitypubPersonInboxAsync
public com.squareup.okhttp.Call activitypubPersonInboxAsync(java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiExceptionSend to the inbox (asynchronously)- Parameters:
username- username of the user (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-