@@ -26,7 +26,7 @@ public class DeployTokensApi extends AbstractApi {
/**
* Get a list of all deploy tokens across the GitLab instance. This endpoint requires admin access.
*
*
* <pre><code>GitLab Endpoint: GET /deploy_tokens</code></pre>
*
* @return a list of DeployToken
...
...
@@ -70,7 +70,7 @@ public class DeployTokensApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: GET /projects/:id/deploy_tokens</code></pre>
*
* @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
* @return a list of DeployToken
* @throws GitLabApiException if any exception occurs
*/
...
...
@@ -83,7 +83,7 @@ public class DeployTokensApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: GET /projects/:id/deploy_tokens</code></pre>
*
* @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance@param projectId the ID of the project
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance@param projectId the ID of the project
* @param itemsPerPage the number of DeployToken instances that will be fetched per page
* @return a Pager of DeployToken
* @throws GitLabApiException if any exception occurs
...
...
@@ -98,7 +98,7 @@ public class DeployTokensApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: GET /projects/:id/deploy_tokens</code></pre>
*
* @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
* @return a list of DeployToken
* @throws GitLabApiException if any exception occurs
*/
...
...
@@ -111,7 +111,7 @@ public class DeployTokensApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: POST /projects/:id/deploy_tokens</code></pre>
*
* @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
* @param name the new deploy token’s name, required
* @param expiresAt expiration date for the deploy token. Currently documented as not required but api fails if not provided. Does not expire if no value is provided.
* @param username the username for deploy token. Currently documented as not required but api fails if not provided. Default is gitlab+deploy-token-{n}
...
...
@@ -132,14 +132,14 @@ public class DeployTokensApi extends AbstractApi {
thrownewRuntimeException("tokenId cannot be null");
...
...
@@ -157,7 +157,7 @@ public class DeployTokensApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: GET /groups/:id/deploy_tokens</code></pre>
*
* @param groupIdOrPath the group in the form of an Integer(ID), String(path), or Group instance
* @param groupIdOrPath the group in the form of an Long(ID), String(path), or Group instance
* @return a list of DeployToken
* @throws GitLabApiException if any exception occurs
*/
...
...
@@ -170,7 +170,7 @@ public class DeployTokensApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: GET /groups/:id/deploy_tokens</code></pre>
*
* @param groupIdOrPath the group in the form of an Integer(ID), String(path), or Group instance@param groupId the ID of the group
* @param groupIdOrPath the group in the form of an Long(ID), String(path), or Group instance@param groupId the ID of the group
* @param itemsPerPage the number of DeployToken instances that will be fetched per page
* @return a Pager of DeployToken
* @throws GitLabApiException if any exception occurs
...
...
@@ -185,7 +185,7 @@ public class DeployTokensApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: GET /groups/:id/deploy_tokens</code></pre>
*
* @param groupIdOrPath the group in the form of an Integer(ID), String(path), or Group instance
* @param groupIdOrPath the group in the form of an Long(ID), String(path), or Group instance
* @return a list of DeployToken
* @throws GitLabApiException if any exception occurs
*/
...
...
@@ -198,7 +198,7 @@ public class DeployTokensApi extends AbstractApi {
*
* <pre><code>GitLab Endpoint: POST /groups/:id/deploy_tokens</code></pre>
*
* @param groupIdOrPath the group in the form of an Integer(ID), String(path), or Group instance
* @param groupIdOrPath the group in the form of an Long(ID), String(path), or Group instance
* @param name the new deploy token’s name, required
* @param expiresAt expiration date for the deploy token. Currently documented as not required but api fails if not provided. Does not expire if no value is provided.
* @param username the username for deploy token. Currently documented as not required but api fails if not provided. Default is gitlab+deploy-token-{n}
...
...
@@ -222,11 +222,11 @@ public class DeployTokensApi extends AbstractApi {