client

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	AccessRequestsApi *AccessRequestsApiService

	AdminApi *AdminApiService

	AlertManagementApi *AlertManagementApiService

	ApplicationApi *ApplicationApiService

	ApplicationsApi *ApplicationsApiService

	AvatarApi *AvatarApiService

	BadgesApi *BadgesApiService

	BatchedBackgroundMigrationsApi *BatchedBackgroundMigrationsApiService

	BranchesApi *BranchesApiService

	BroadcastMessagesApi *BroadcastMessagesApiService

	BulkImportsApi *BulkImportsApiService

	CiLintApi *CiLintApiService

	CiResourceGroupsApi *CiResourceGroupsApiService

	CiVariablesApi *CiVariablesApiService

	ClusterAgentsApi *ClusterAgentsApiService

	ClustersApi *ClustersApiService

	CommitsApi *CommitsApiService

	ComposerPackagesApi *ComposerPackagesApiService

	ConanPackagesApi *ConanPackagesApiService

	ContainerRegistryApi *ContainerRegistryApiService

	ContainerRegistryEventApi *ContainerRegistryEventApiService

	DebianDistributionApi *DebianDistributionApiService

	DebianPackagesApi *DebianPackagesApiService

	DependencyProxyApi *DependencyProxyApiService

	DeployKeysApi *DeployKeysApiService

	DeployTokensApi *DeployTokensApiService

	DeploymentsApi *DeploymentsApiService

	EnvironmentsApi *EnvironmentsApiService

	ErrorTrackingClientKeysApi *ErrorTrackingClientKeysApiService

	ErrorTrackingProjectSettingsApi *ErrorTrackingProjectSettingsApiService

	EventsApi *EventsApiService

	FeatureFlagsApi *FeatureFlagsApiService

	FeatureFlagsUserListsApi *FeatureFlagsUserListsApiService

	FeaturesApi *FeaturesApiService

	FreezePeriodsApi *FreezePeriodsApiService

	GenericPackagesApi *GenericPackagesApiService

	GeoApi *GeoApiService

	GoProxyApi *GoProxyApiService

	GroupAccessTokensApi *GroupAccessTokensApiService

	GroupAvatarApi *GroupAvatarApiService

	GroupExportApi *GroupExportApiService

	GroupImportApi *GroupImportApiService

	GroupPackagesApi *GroupPackagesApiService

	GroupsApi *GroupsApiService

	HelmPackagesApi *HelmPackagesApiService

	HooksApi *HooksApiService

	ImportApi *ImportApiService

	IntegrationsApi *IntegrationsApiService

	InvitationsApi *InvitationsApiService

	IssueLinksApi *IssueLinksApiService

	JiraConnectSubscriptionsApi *JiraConnectSubscriptionsApiService

	JobApi *JobApiService

	JobsApi *JobsApiService

	KeysApi *KeysApiService

	MarkdownApi *MarkdownApiService

	MavenPackagesApi *MavenPackagesApiService

	MembersApi *MembersApiService

	MergeRequestsApi *MergeRequestsApiService

	MetadataApi *MetadataApiService

	MetricsApi *MetricsApiService

	MigrationsApi *MigrationsApiService

	MlModelRegistryApi *MlModelRegistryApiService

	NamespacesApi *NamespacesApiService

	NpmPackagesApi *NpmPackagesApiService

	NugetPackagesApi *NugetPackagesApiService

	PackageFilesApi *PackageFilesApiService

	PagesApi *PagesApiService

	PagesDomainsApi *PagesDomainsApiService

	PersonalAccessTokensApi *PersonalAccessTokensApiService

	PlanLimitsApi *PlanLimitsApiService

	ProjectAccessTokensApi *ProjectAccessTokensApiService

	ProjectAvatarApi *ProjectAvatarApiService

	ProjectExportApi *ProjectExportApiService

	ProjectHooksApi *ProjectHooksApiService

	ProjectImportApi *ProjectImportApiService

	ProjectImportBitbucketApi *ProjectImportBitbucketApiService

	ProjectImportGithubApi *ProjectImportGithubApiService

	ProjectPackagesApi *ProjectPackagesApiService

	ProjectRepositoryStorageMovesApi *ProjectRepositoryStorageMovesApiService

	ProjectSnippetsApi *ProjectSnippetsApiService

	ProjectsApi *ProjectsApiService

	ProjectsJobTokenScopeApi *ProjectsJobTokenScopeApiService

	ProtectedTagsApi *ProtectedTagsApiService

	PypiPackagesApi *PypiPackagesApiService

	ReleaseLinksApi *ReleaseLinksApiService

	ReleasesApi *ReleasesApiService

	RemoteMirrorsApi *RemoteMirrorsApiService

	ResourceMilestoneEventsApi *ResourceMilestoneEventsApiService

	RpmPackagesApi *RpmPackagesApiService

	RubygemPackagesApi *RubygemPackagesApiService

	RunnersApi *RunnersApiService

	SecureFilesApi *SecureFilesApiService

	SlackApi *SlackApiService

	SnippetRepositoryStorageMovesApi *SnippetRepositoryStorageMovesApiService

	SnippetsApi *SnippetsApiService

	SuggestionsApi *SuggestionsApiService

	SystemHooksApi *SystemHooksApiService

	TagsApi *TagsApiService

	TerraformRegistryApi *TerraformRegistryApiService

	TerraformStateApi *TerraformStateApiService

	TopicsApi *TopicsApiService

	UnleashApiApi *UnleashApiApiService

	UsageDataApi *UsageDataApiService

	UserApi *UserApiService

	UserCountsApi *UserCountsApiService

	UsersApi *UsersApiService

	WebCommitsApi *WebCommitsApiService

	WikisApi *WikisApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the GitLab API API vv4 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AccessRequestsApiGetApiV4GroupsIdAccessRequestsOpts

type AccessRequestsApiGetApiV4GroupsIdAccessRequestsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type AccessRequestsApiGetApiV4ProjectsIdAccessRequestsOpts

type AccessRequestsApiGetApiV4ProjectsIdAccessRequestsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type AccessRequestsApiService

type AccessRequestsApiService service

func (*AccessRequestsApiService) DeleteApiV4GroupsIdAccessRequestsUserId

func (a *AccessRequestsApiService) DeleteApiV4GroupsIdAccessRequestsUserId(ctx context.Context, id string, userId int32) (*http.Response, error)

AccessRequestsApiService Denies an access request for the given user. This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user
  • @param userId The user ID of the access requester

func (*AccessRequestsApiService) DeleteApiV4ProjectsIdAccessRequestsUserId

func (a *AccessRequestsApiService) DeleteApiV4ProjectsIdAccessRequestsUserId(ctx context.Context, id string, userId int32) (*http.Response, error)

AccessRequestsApiService Denies an access request for the given user. This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param userId The user ID of the access requester

func (*AccessRequestsApiService) GetApiV4GroupsIdAccessRequests

func (*AccessRequestsApiService) GetApiV4ProjectsIdAccessRequests

func (*AccessRequestsApiService) PostApiV4GroupsIdAccessRequests

func (a *AccessRequestsApiService) PostApiV4GroupsIdAccessRequests(ctx context.Context, id string) (ApiEntitiesAccessRequester, *http.Response, error)

AccessRequestsApiService Requests access for the authenticated user to a group. This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user

@return ApiEntitiesAccessRequester

func (*AccessRequestsApiService) PostApiV4ProjectsIdAccessRequests

func (a *AccessRequestsApiService) PostApiV4ProjectsIdAccessRequests(ctx context.Context, id string) (ApiEntitiesAccessRequester, *http.Response, error)

AccessRequestsApiService Requests access for the authenticated user to a project. This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user

@return ApiEntitiesAccessRequester

func (*AccessRequestsApiService) PutApiV4GroupsIdAccessRequestsUserIdApprove

func (a *AccessRequestsApiService) PutApiV4GroupsIdAccessRequestsUserIdApprove(ctx context.Context, id string, userId int32, putApiV4GroupsIdAccessRequestsUserIdApprove PutApiV4GroupsIdAccessRequestsUserIdApprove) (ApiEntitiesAccessRequester, *http.Response, error)

AccessRequestsApiService Approves an access request for the given user. This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user
  • @param userId The user ID of the access requester
  • @param putApiV4GroupsIdAccessRequestsUserIdApprove

@return ApiEntitiesAccessRequester

func (*AccessRequestsApiService) PutApiV4ProjectsIdAccessRequestsUserIdApprove

func (a *AccessRequestsApiService) PutApiV4ProjectsIdAccessRequestsUserIdApprove(ctx context.Context, id string, userId int32, putApiV4ProjectsIdAccessRequestsUserIdApprove PutApiV4ProjectsIdAccessRequestsUserIdApprove) (ApiEntitiesAccessRequester, *http.Response, error)

AccessRequestsApiService Approves an access request for the given user. This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param userId The user ID of the access requester
  • @param putApiV4ProjectsIdAccessRequestsUserIdApprove

@return ApiEntitiesAccessRequester

type AdminApiService

type AdminApiService service

func (*AdminApiService) GetApiV4AdminDatabasesDatabaseNameDictionaryTablesTableName

func (a *AdminApiService) GetApiV4AdminDatabasesDatabaseNameDictionaryTablesTableName(ctx context.Context, databaseName string, tableName string) (ApiEntitiesDictionaryTable, *http.Response, error)

AdminApiService Retrieve dictionary details

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param databaseName The database name
  • @param tableName The table name

@return ApiEntitiesDictionaryTable

type AlertManagementApiPostApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesOpts

type AlertManagementApiPostApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesOpts struct {
	Url     optional.String
	UrlText optional.String
}

type AlertManagementApiPutApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageIdOpts

type AlertManagementApiPutApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageIdOpts struct {
	Url     optional.String
	UrlText optional.String
}

type AlertManagementApiService

type AlertManagementApiService service

func (*AlertManagementApiService) DeleteApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageId

func (a *AlertManagementApiService) DeleteApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageId(ctx context.Context, id string, alertIid int32, metricImageId int32) (ApiEntitiesMetricImage, *http.Response, error)

AlertManagementApiService Remove a metric image for an alert

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param alertIid The IID of the Alert
  • @param metricImageId The ID of metric image

@return ApiEntitiesMetricImage

func (*AlertManagementApiService) GetApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImages

func (a *AlertManagementApiService) GetApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImages(ctx context.Context, id string, alertIid int32) ([]ApiEntitiesMetricImage, *http.Response, error)

AlertManagementApiService Metric Images for alert

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param alertIid The IID of the Alert

@return []ApiEntitiesMetricImage

func (*AlertManagementApiService) PostApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImages

func (a *AlertManagementApiService) PostApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImages(ctx context.Context, id string, alertIid int32, file *os.File, localVarOptionals *AlertManagementApiPostApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesOpts) (ApiEntitiesMetricImage, *http.Response, error)

func (*AlertManagementApiService) PostApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesAuthorize

func (a *AlertManagementApiService) PostApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesAuthorize(ctx context.Context, id string, alertIid int32) (*http.Response, error)

AlertManagementApiService Workhorse authorize metric image file upload

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param alertIid The IID of the Alert

func (*AlertManagementApiService) PutApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageId

func (a *AlertManagementApiService) PutApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageId(ctx context.Context, id string, alertIid int32, metricImageId int32, localVarOptionals *AlertManagementApiPutApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesMetricImageIdOpts) (ApiEntitiesMetricImage, *http.Response, error)

type ApiEntitiesAccessRequester

type ApiEntitiesAccessRequester struct {
	Id               int32                        `json:"id,omitempty"`
	Username         string                       `json:"username,omitempty"`
	Name             string                       `json:"name,omitempty"`
	State            string                       `json:"state,omitempty"`
	Locked           bool                         `json:"locked,omitempty"`
	AvatarUrl        string                       `json:"avatar_url,omitempty"`
	AvatarPath       string                       `json:"avatar_path,omitempty"`
	CustomAttributes []ApiEntitiesCustomAttribute `json:"custom_attributes,omitempty"`
	WebUrl           string                       `json:"web_url,omitempty"`
	RequestedAt      string                       `json:"requested_at,omitempty"`
}

API_Entities_AccessRequester model

type ApiEntitiesAppearance

type ApiEntitiesAppearance struct {
	Title                       string `json:"title,omitempty"`
	Description                 string `json:"description,omitempty"`
	PwaName                     string `json:"pwa_name,omitempty"`
	PwaShortName                string `json:"pwa_short_name,omitempty"`
	PwaDescription              string `json:"pwa_description,omitempty"`
	PwaIcon                     string `json:"pwa_icon,omitempty"`
	Favicon                     string `json:"favicon,omitempty"`
	NewProjectGuidelines        string `json:"new_project_guidelines,omitempty"`
	MemberGuidelines            string `json:"member_guidelines,omitempty"`
	ProfileImageGuidelines      string `json:"profile_image_guidelines,omitempty"`
	HeaderMessage               string `json:"header_message,omitempty"`
	FooterMessage               string `json:"footer_message,omitempty"`
	MessageBackgroundColor      string `json:"message_background_color,omitempty"`
	MessageFontColor            string `json:"message_font_color,omitempty"`
	EmailHeaderAndFooterEnabled string `json:"email_header_and_footer_enabled,omitempty"`
}

API_Entities_Appearance model

type ApiEntitiesApplication

type ApiEntitiesApplication struct {
	Id              string `json:"id,omitempty"`
	ApplicationId   string `json:"application_id,omitempty"`
	ApplicationName string `json:"application_name,omitempty"`
	CallbackUrl     string `json:"callback_url,omitempty"`
	Confidential    bool   `json:"confidential,omitempty"`
}

API_Entities_Application model

type ApiEntitiesApplicationStatistics

type ApiEntitiesApplicationStatistics struct {
	// Approximate number of repo forks
	Forks int32 `json:"forks,omitempty"`
	// Approximate number of issues
	Issues int32 `json:"issues,omitempty"`
	// Approximate number of merge requests
	MergeRequests int32 `json:"merge_requests,omitempty"`
	// Approximate number of notes
	Notes int32 `json:"notes,omitempty"`
	// Approximate number of snippets
	Snippets int32 `json:"snippets,omitempty"`
	// Approximate number of SSH keys
	SshKeys int32 `json:"ssh_keys,omitempty"`
	// Approximate number of milestones
	Milestones int32 `json:"milestones,omitempty"`
	// Approximate number of users
	Users int32 `json:"users,omitempty"`
	// Approximate number of projects
	Projects int32 `json:"projects,omitempty"`
	// Approximate number of projects
	Groups int32 `json:"groups,omitempty"`
	// Number of active users
	ActiveUsers int32 `json:"active_users,omitempty"`
}

API_Entities_ApplicationStatistics model

type ApiEntitiesApplicationWithSecret

type ApiEntitiesApplicationWithSecret struct {
	Id              string `json:"id,omitempty"`
	ApplicationId   string `json:"application_id,omitempty"`
	ApplicationName string `json:"application_name,omitempty"`
	CallbackUrl     string `json:"callback_url,omitempty"`
	Confidential    bool   `json:"confidential,omitempty"`
	Secret          string `json:"secret,omitempty"`
}

API_Entities_ApplicationWithSecret model

type ApiEntitiesApprovals

type ApiEntitiesApprovals struct {
	User *ApiEntitiesUserBasic `json:"user,omitempty"`
}

type ApiEntitiesAvatar

type ApiEntitiesAvatar struct {
	AvatarUrl string `json:"avatar_url,omitempty"`
}

API_Entities_Avatar model

type ApiEntitiesBadge

type ApiEntitiesBadge struct {
	Name             string `json:"name,omitempty"`
	LinkUrl          string `json:"link_url,omitempty"`
	ImageUrl         string `json:"image_url,omitempty"`
	RenderedLinkUrl  string `json:"rendered_link_url,omitempty"`
	RenderedImageUrl string `json:"rendered_image_url,omitempty"`
	Id               string `json:"id,omitempty"`
	Kind             string `json:"kind,omitempty"`
}

API_Entities_Badge model

type ApiEntitiesBasicBadgeDetails

type ApiEntitiesBasicBadgeDetails struct {
	Name             string `json:"name,omitempty"`
	LinkUrl          string `json:"link_url,omitempty"`
	ImageUrl         string `json:"image_url,omitempty"`
	RenderedLinkUrl  string `json:"rendered_link_url,omitempty"`
	RenderedImageUrl string `json:"rendered_image_url,omitempty"`
}

API_Entities_BasicBadgeDetails model

type ApiEntitiesBasicGroupDetails

type ApiEntitiesBasicGroupDetails struct {
	Id     string `json:"id,omitempty"`
	WebUrl string `json:"web_url,omitempty"`
	Name   string `json:"name,omitempty"`
}

API_Entities_BasicGroupDetails model

type ApiEntitiesBasicProjectDetails

type ApiEntitiesBasicProjectDetails struct {
	Id                int32                       `json:"id,omitempty"`
	Description       string                      `json:"description,omitempty"`
	Name              string                      `json:"name,omitempty"`
	NameWithNamespace string                      `json:"name_with_namespace,omitempty"`
	Path              string                      `json:"path,omitempty"`
	PathWithNamespace string                      `json:"path_with_namespace,omitempty"`
	CreatedAt         time.Time                   `json:"created_at,omitempty"`
	DefaultBranch     string                      `json:"default_branch,omitempty"`
	TagList           []string                    `json:"tag_list,omitempty"`
	Topics            []string                    `json:"topics,omitempty"`
	SshUrlToRepo      string                      `json:"ssh_url_to_repo,omitempty"`
	HttpUrlToRepo     string                      `json:"http_url_to_repo,omitempty"`
	WebUrl            string                      `json:"web_url,omitempty"`
	ReadmeUrl         string                      `json:"readme_url,omitempty"`
	ForksCount        int32                       `json:"forks_count,omitempty"`
	LicenseUrl        string                      `json:"license_url,omitempty"`
	License           *ApiEntitiesLicenseBasic    `json:"license,omitempty"`
	AvatarUrl         string                      `json:"avatar_url,omitempty"`
	StarCount         int32                       `json:"star_count,omitempty"`
	LastActivityAt    time.Time                   `json:"last_activity_at,omitempty"`
	Namespace         *ApiEntitiesNamespaceBasic  `json:"namespace,omitempty"`
	CustomAttributes  *ApiEntitiesCustomAttribute `json:"custom_attributes,omitempty"`
	RepositoryStorage string                      `json:"repository_storage,omitempty"`
}

API_Entities_BasicProjectDetails model

type ApiEntitiesBasicRef

type ApiEntitiesBasicRef struct {
	Type_ string `json:"type,omitempty"`
	Name  string `json:"name,omitempty"`
}

API_Entities_BasicRef model

type ApiEntitiesBasicSnippet

type ApiEntitiesBasicSnippet struct {
	Id            int32                 `json:"id,omitempty"`
	Title         string                `json:"title,omitempty"`
	Description   string                `json:"description,omitempty"`
	Visibility    string                `json:"visibility,omitempty"`
	Author        *ApiEntitiesUserBasic `json:"author,omitempty"`
	CreatedAt     time.Time             `json:"created_at,omitempty"`
	UpdatedAt     time.Time             `json:"updated_at,omitempty"`
	ProjectId     int32                 `json:"project_id,omitempty"`
	WebUrl        string                `json:"web_url,omitempty"`
	RawUrl        string                `json:"raw_url,omitempty"`
	SshUrlToRepo  string                `json:"ssh_url_to_repo,omitempty"`
	HttpUrlToRepo string                `json:"http_url_to_repo,omitempty"`
}

type ApiEntitiesBasicSuccess

type ApiEntitiesBasicSuccess struct {
	Success interface{} `json:"success,omitempty"`
}

API_Entities_BasicSuccess model

type ApiEntitiesBatchedBackgroundMigration

type ApiEntitiesBatchedBackgroundMigration struct {
	Id           string    `json:"id,omitempty"`
	JobClassName string    `json:"job_class_name,omitempty"`
	TableName    string    `json:"table_name,omitempty"`
	ColumnName   string    `json:"column_name,omitempty"`
	Status       string    `json:"status,omitempty"`
	Progress     float32   `json:"progress,omitempty"`
	CreatedAt    time.Time `json:"created_at,omitempty"`
}

API_Entities_BatchedBackgroundMigration model

type ApiEntitiesBranch

type ApiEntitiesBranch struct {
	Name               string             `json:"name,omitempty"`
	Commit             *ApiEntitiesCommit `json:"commit,omitempty"`
	Merged             bool               `json:"merged,omitempty"`
	Protected          bool               `json:"protected,omitempty"`
	DevelopersCanPush  bool               `json:"developers_can_push,omitempty"`
	DevelopersCanMerge bool               `json:"developers_can_merge,omitempty"`
	CanPush            bool               `json:"can_push,omitempty"`
	Default_           bool               `json:"default,omitempty"`
	WebUrl             string             `json:"web_url,omitempty"`
}

API_Entities_Branch model

type ApiEntitiesBulkImport

type ApiEntitiesBulkImport struct {
	Id          int32     `json:"id,omitempty"`
	Status      string    `json:"status,omitempty"`
	SourceType  string    `json:"source_type,omitempty"`
	CreatedAt   time.Time `json:"created_at,omitempty"`
	UpdatedAt   time.Time `json:"updated_at,omitempty"`
	HasFailures bool      `json:"has_failures,omitempty"`
}

API_Entities_BulkImport model

type ApiEntitiesBulkImports

type ApiEntitiesBulkImports struct {
	Id                   int32                                 `json:"id,omitempty"`
	BulkImportId         int32                                 `json:"bulk_import_id,omitempty"`
	Status               string                                `json:"status,omitempty"`
	EntityType           string                                `json:"entity_type,omitempty"`
	SourceFullPath       string                                `json:"source_full_path,omitempty"`
	DestinationFullPath  string                                `json:"destination_full_path,omitempty"`
	DestinationName      string                                `json:"destination_name,omitempty"`
	DestinationSlug      string                                `json:"destination_slug,omitempty"`
	DestinationNamespace string                                `json:"destination_namespace,omitempty"`
	ParentId             int32                                 `json:"parent_id,omitempty"`
	NamespaceId          int32                                 `json:"namespace_id,omitempty"`
	ProjectId            int32                                 `json:"project_id,omitempty"`
	CreatedAt            time.Time                             `json:"created_at,omitempty"`
	UpdatedAt            time.Time                             `json:"updated_at,omitempty"`
	Failures             []ApiEntitiesBulkImportsEntityFailure `json:"failures,omitempty"`
	MigrateProjects      bool                                  `json:"migrate_projects,omitempty"`
	HasFailures          bool                                  `json:"has_failures,omitempty"`
	Stats                interface{}                           `json:"stats,omitempty"`
}

API_Entities_BulkImports model

type ApiEntitiesBulkImportsEntityFailure

type ApiEntitiesBulkImportsEntityFailure struct {
	Relation           string `json:"relation,omitempty"`
	ExceptionMessage   string `json:"exception_message,omitempty"`
	ExceptionClass     string `json:"exception_class,omitempty"`
	CorrelationIdValue string `json:"correlation_id_value,omitempty"`
	SourceUrl          string `json:"source_url,omitempty"`
	SourceTitle        string `json:"source_title,omitempty"`
}

API_Entities_BulkImports_EntityFailure model

type ApiEntitiesBulkImportsExportBatchStatus

type ApiEntitiesBulkImportsExportBatchStatus struct {
	Status       string    `json:"status,omitempty"`
	BatchNumber  int32     `json:"batch_number,omitempty"`
	ObjectsCount int32     `json:"objects_count,omitempty"`
	Error_       string    `json:"error,omitempty"`
	UpdatedAt    time.Time `json:"updated_at,omitempty"`
}

type ApiEntitiesBulkImportsExportStatus

type ApiEntitiesBulkImportsExportStatus struct {
	Relation          string                                   `json:"relation,omitempty"`
	Status            string                                   `json:"status,omitempty"`
	Error_            string                                   `json:"error,omitempty"`
	UpdatedAt         time.Time                                `json:"updated_at,omitempty"`
	Batched           bool                                     `json:"batched,omitempty"`
	BatchesCount      int32                                    `json:"batches_count,omitempty"`
	TotalObjectsCount int32                                    `json:"total_objects_count,omitempty"`
	Batches           *ApiEntitiesBulkImportsExportBatchStatus `json:"batches,omitempty"`
}

API_Entities_BulkImports_ExportStatus model

type ApiEntitiesChangelog

type ApiEntitiesChangelog struct {
	Notes string `json:"notes,omitempty"`
}

API_Entities_Changelog model

type ApiEntitiesCiBridge

type ApiEntitiesCiBridge struct {
	Id           int32     `json:"id,omitempty"`
	Status       string    `json:"status,omitempty"`
	Stage        string    `json:"stage,omitempty"`
	Name         string    `json:"name,omitempty"`
	Ref          string    `json:"ref,omitempty"`
	Tag          bool      `json:"tag,omitempty"`
	Coverage     float32   `json:"coverage,omitempty"`
	AllowFailure bool      `json:"allow_failure,omitempty"`
	CreatedAt    time.Time `json:"created_at,omitempty"`
	StartedAt    time.Time `json:"started_at,omitempty"`
	FinishedAt   time.Time `json:"finished_at,omitempty"`
	ErasedAt     time.Time `json:"erased_at,omitempty"`
	// Time spent running
	Duration float32 `json:"duration,omitempty"`
	// Time spent enqueued
	QueuedDuration     float32                     `json:"queued_duration,omitempty"`
	User               *ApiEntitiesUser            `json:"user,omitempty"`
	Commit             *ApiEntitiesCommit          `json:"commit,omitempty"`
	Pipeline           *ApiEntitiesCiPipelineBasic `json:"pipeline,omitempty"`
	FailureReason      string                      `json:"failure_reason,omitempty"`
	WebUrl             string                      `json:"web_url,omitempty"`
	Project            *ApiEntitiesCiJobProject    `json:"project,omitempty"`
	DownstreamPipeline *ApiEntitiesCiPipelineBasic `json:"downstream_pipeline,omitempty"`
}

API_Entities_Ci_Bridge model

type ApiEntitiesCiJob

type ApiEntitiesCiJob struct {
	Id           int32     `json:"id,omitempty"`
	Status       string    `json:"status,omitempty"`
	Stage        string    `json:"stage,omitempty"`
	Name         string    `json:"name,omitempty"`
	Ref          string    `json:"ref,omitempty"`
	Tag          bool      `json:"tag,omitempty"`
	Coverage     float32   `json:"coverage,omitempty"`
	AllowFailure bool      `json:"allow_failure,omitempty"`
	CreatedAt    time.Time `json:"created_at,omitempty"`
	StartedAt    time.Time `json:"started_at,omitempty"`
	FinishedAt   time.Time `json:"finished_at,omitempty"`
	ErasedAt     time.Time `json:"erased_at,omitempty"`
	// Time spent running
	Duration float32 `json:"duration,omitempty"`
	// Time spent enqueued
	QueuedDuration    float32                       `json:"queued_duration,omitempty"`
	User              *ApiEntitiesUser              `json:"user,omitempty"`
	Commit            *ApiEntitiesCommit            `json:"commit,omitempty"`
	Pipeline          *ApiEntitiesCiPipelineBasic   `json:"pipeline,omitempty"`
	FailureReason     string                        `json:"failure_reason,omitempty"`
	WebUrl            string                        `json:"web_url,omitempty"`
	Project           *ApiEntitiesCiJobProject      `json:"project,omitempty"`
	ArtifactsFile     *ApiEntitiesCiJobArtifactFile `json:"artifacts_file,omitempty"`
	Artifacts         []ApiEntitiesCiJobArtifact    `json:"artifacts,omitempty"`
	Runner            *ApiEntitiesCiRunner          `json:"runner,omitempty"`
	RunnerManager     *ApiEntitiesCiRunnerManager   `json:"runner_manager,omitempty"`
	ArtifactsExpireAt time.Time                     `json:"artifacts_expire_at,omitempty"`
	Archived          bool                          `json:"archived,omitempty"`
	TagList           []string                      `json:"tag_list,omitempty"`
}

API_Entities_Ci_Job model

type ApiEntitiesCiJobArtifact

type ApiEntitiesCiJobArtifact struct {
	FileType   string `json:"file_type,omitempty"`
	Size       int32  `json:"size,omitempty"`
	Filename   string `json:"filename,omitempty"`
	FileFormat string `json:"file_format,omitempty"`
}

type ApiEntitiesCiJobArtifactFile

type ApiEntitiesCiJobArtifactFile struct {
	Filename string `json:"filename,omitempty"`
	Size     int32  `json:"size,omitempty"`
}

type ApiEntitiesCiJobBasic

type ApiEntitiesCiJobBasic struct {
	Id           int32     `json:"id,omitempty"`
	Status       string    `json:"status,omitempty"`
	Stage        string    `json:"stage,omitempty"`
	Name         string    `json:"name,omitempty"`
	Ref          string    `json:"ref,omitempty"`
	Tag          bool      `json:"tag,omitempty"`
	Coverage     float32   `json:"coverage,omitempty"`
	AllowFailure bool      `json:"allow_failure,omitempty"`
	CreatedAt    time.Time `json:"created_at,omitempty"`
	StartedAt    time.Time `json:"started_at,omitempty"`
	FinishedAt   time.Time `json:"finished_at,omitempty"`
	ErasedAt     time.Time `json:"erased_at,omitempty"`
	// Time spent running
	Duration float32 `json:"duration,omitempty"`
	// Time spent enqueued
	QueuedDuration float32                     `json:"queued_duration,omitempty"`
	User           *ApiEntitiesUser            `json:"user,omitempty"`
	Commit         *ApiEntitiesCommit          `json:"commit,omitempty"`
	Pipeline       *ApiEntitiesCiPipelineBasic `json:"pipeline,omitempty"`
	FailureReason  string                      `json:"failure_reason,omitempty"`
	WebUrl         string                      `json:"web_url,omitempty"`
	Project        *ApiEntitiesCiJobProject    `json:"project,omitempty"`
}

API_Entities_Ci_JobBasic model

type ApiEntitiesCiJobBasicWithProject

type ApiEntitiesCiJobBasicWithProject struct {
	Id           int32     `json:"id,omitempty"`
	Status       string    `json:"status,omitempty"`
	Stage        string    `json:"stage,omitempty"`
	Name         string    `json:"name,omitempty"`
	Ref          string    `json:"ref,omitempty"`
	Tag          bool      `json:"tag,omitempty"`
	Coverage     float32   `json:"coverage,omitempty"`
	AllowFailure bool      `json:"allow_failure,omitempty"`
	CreatedAt    time.Time `json:"created_at,omitempty"`
	StartedAt    time.Time `json:"started_at,omitempty"`
	FinishedAt   time.Time `json:"finished_at,omitempty"`
	ErasedAt     time.Time `json:"erased_at,omitempty"`
	// Time spent running
	Duration float32 `json:"duration,omitempty"`
	// Time spent enqueued
	QueuedDuration float32                     `json:"queued_duration,omitempty"`
	User           *ApiEntitiesUser            `json:"user,omitempty"`
	Commit         *ApiEntitiesCommit          `json:"commit,omitempty"`
	Pipeline       *ApiEntitiesCiPipelineBasic `json:"pipeline,omitempty"`
	FailureReason  string                      `json:"failure_reason,omitempty"`
	WebUrl         string                      `json:"web_url,omitempty"`
	Project        *ApiEntitiesProjectIdentity `json:"project,omitempty"`
}

API_Entities_Ci_JobBasicWithProject model

type ApiEntitiesCiJobProject

type ApiEntitiesCiJobProject struct {
	CiJobTokenScopeEnabled string `json:"ci_job_token_scope_enabled,omitempty"`
}

type ApiEntitiesCiLintResult

type ApiEntitiesCiLintResult struct {
	Valid      bool          `json:"valid,omitempty"`
	Errors     []string      `json:"errors,omitempty"`
	Warnings   []string      `json:"warnings,omitempty"`
	MergedYaml string        `json:"merged_yaml,omitempty"`
	Includes   []interface{} `json:"includes,omitempty"`
	Jobs       []interface{} `json:"jobs,omitempty"`
}

API_Entities_Ci_Lint_Result model

type ApiEntitiesCiPipeline

type ApiEntitiesCiPipeline struct {
	Id          int32                 `json:"id,omitempty"`
	Iid         int32                 `json:"iid,omitempty"`
	ProjectId   int32                 `json:"project_id,omitempty"`
	Sha         string                `json:"sha,omitempty"`
	Ref         string                `json:"ref,omitempty"`
	Status      string                `json:"status,omitempty"`
	Source      string                `json:"source,omitempty"`
	CreatedAt   time.Time             `json:"created_at,omitempty"`
	UpdatedAt   time.Time             `json:"updated_at,omitempty"`
	WebUrl      string                `json:"web_url,omitempty"`
	BeforeSha   string                `json:"before_sha,omitempty"`
	Tag         bool                  `json:"tag,omitempty"`
	YamlErrors  string                `json:"yaml_errors,omitempty"`
	User        *ApiEntitiesUserBasic `json:"user,omitempty"`
	StartedAt   time.Time             `json:"started_at,omitempty"`
	FinishedAt  time.Time             `json:"finished_at,omitempty"`
	CommittedAt time.Time             `json:"committed_at,omitempty"`
	// Time spent running in seconds
	Duration int32 `json:"duration,omitempty"`
	// Time spent enqueued in seconds
	QueuedDuration int32                 `json:"queued_duration,omitempty"`
	Coverage       float32               `json:"coverage,omitempty"`
	DetailedStatus *DetailedStatusEntity `json:"detailed_status,omitempty"`
}

API_Entities_Ci_Pipeline model

type ApiEntitiesCiPipelineBasic

type ApiEntitiesCiPipelineBasic struct {
	Id        int32     `json:"id,omitempty"`
	Iid       int32     `json:"iid,omitempty"`
	ProjectId int32     `json:"project_id,omitempty"`
	Sha       string    `json:"sha,omitempty"`
	Ref       string    `json:"ref,omitempty"`
	Status    string    `json:"status,omitempty"`
	Source    string    `json:"source,omitempty"`
	CreatedAt time.Time `json:"created_at,omitempty"`
	UpdatedAt time.Time `json:"updated_at,omitempty"`
	WebUrl    string    `json:"web_url,omitempty"`
}

API_Entities_Ci_PipelineBasic model

type ApiEntitiesCiPipelineSchedule

type ApiEntitiesCiPipelineSchedule struct {
	Id           int32                 `json:"id,omitempty"`
	Description  string                `json:"description,omitempty"`
	Ref          string                `json:"ref,omitempty"`
	Cron         string                `json:"cron,omitempty"`
	CronTimezone string                `json:"cron_timezone,omitempty"`
	NextRunAt    time.Time             `json:"next_run_at,omitempty"`
	Active       bool                  `json:"active,omitempty"`
	CreatedAt    time.Time             `json:"created_at,omitempty"`
	UpdatedAt    time.Time             `json:"updated_at,omitempty"`
	Owner        *ApiEntitiesUserBasic `json:"owner,omitempty"`
}

API_Entities_Ci_PipelineSchedule model

type ApiEntitiesCiPipelineScheduleDetails

type ApiEntitiesCiPipelineScheduleDetails struct {
	Id           int32                       `json:"id,omitempty"`
	Description  string                      `json:"description,omitempty"`
	Ref          string                      `json:"ref,omitempty"`
	Cron         string                      `json:"cron,omitempty"`
	CronTimezone string                      `json:"cron_timezone,omitempty"`
	NextRunAt    time.Time                   `json:"next_run_at,omitempty"`
	Active       bool                        `json:"active,omitempty"`
	CreatedAt    time.Time                   `json:"created_at,omitempty"`
	UpdatedAt    time.Time                   `json:"updated_at,omitempty"`
	Owner        *ApiEntitiesUserBasic       `json:"owner,omitempty"`
	LastPipeline *ApiEntitiesCiPipelineBasic `json:"last_pipeline,omitempty"`
	Variables    *ApiEntitiesCiVariable      `json:"variables,omitempty"`
}

API_Entities_Ci_PipelineScheduleDetails model

type ApiEntitiesCiPipelineWithMetadata

type ApiEntitiesCiPipelineWithMetadata struct {
	Id          int32                 `json:"id,omitempty"`
	Iid         int32                 `json:"iid,omitempty"`
	ProjectId   int32                 `json:"project_id,omitempty"`
	Sha         string                `json:"sha,omitempty"`
	Ref         string                `json:"ref,omitempty"`
	Status      string                `json:"status,omitempty"`
	Source      string                `json:"source,omitempty"`
	CreatedAt   time.Time             `json:"created_at,omitempty"`
	UpdatedAt   time.Time             `json:"updated_at,omitempty"`
	WebUrl      string                `json:"web_url,omitempty"`
	BeforeSha   string                `json:"before_sha,omitempty"`
	Tag         bool                  `json:"tag,omitempty"`
	YamlErrors  string                `json:"yaml_errors,omitempty"`
	User        *ApiEntitiesUserBasic `json:"user,omitempty"`
	StartedAt   time.Time             `json:"started_at,omitempty"`
	FinishedAt  time.Time             `json:"finished_at,omitempty"`
	CommittedAt time.Time             `json:"committed_at,omitempty"`
	// Time spent running in seconds
	Duration int32 `json:"duration,omitempty"`
	// Time spent enqueued in seconds
	QueuedDuration int32                 `json:"queued_duration,omitempty"`
	Coverage       float32               `json:"coverage,omitempty"`
	DetailedStatus *DetailedStatusEntity `json:"detailed_status,omitempty"`
	Name           string                `json:"name,omitempty"`
}

API_Entities_Ci_PipelineWithMetadata model

type ApiEntitiesCiResetTokenResult

type ApiEntitiesCiResetTokenResult struct {
	Token          string `json:"token,omitempty"`
	TokenExpiresAt string `json:"token_expires_at,omitempty"`
}

API_Entities_Ci_ResetTokenResult model

type ApiEntitiesCiResourceGroup

type ApiEntitiesCiResourceGroup struct {
	Id          int32     `json:"id,omitempty"`
	Key         string    `json:"key,omitempty"`
	ProcessMode string    `json:"process_mode,omitempty"`
	CreatedAt   time.Time `json:"created_at,omitempty"`
	UpdatedAt   time.Time `json:"updated_at,omitempty"`
}

API_Entities_Ci_ResourceGroup model

type ApiEntitiesCiRunner

type ApiEntitiesCiRunner struct {
	Id          int32  `json:"id,omitempty"`
	Description string `json:"description,omitempty"`
	IpAddress   string `json:"ip_address,omitempty"`
	Active      bool   `json:"active,omitempty"`
	Paused      bool   `json:"paused,omitempty"`
	IsShared    bool   `json:"is_shared,omitempty"`
	RunnerType  string `json:"runner_type,omitempty"`
	Name        string `json:"name,omitempty"`
	Online      bool   `json:"online,omitempty"`
	Status      string `json:"status,omitempty"`
}

API_Entities_Ci_Runner model

type ApiEntitiesCiRunnerDetails

type ApiEntitiesCiRunnerDetails struct {
	Id              int32                           `json:"id,omitempty"`
	Description     string                          `json:"description,omitempty"`
	IpAddress       string                          `json:"ip_address,omitempty"`
	Active          bool                            `json:"active,omitempty"`
	Paused          bool                            `json:"paused,omitempty"`
	IsShared        bool                            `json:"is_shared,omitempty"`
	RunnerType      string                          `json:"runner_type,omitempty"`
	Name            string                          `json:"name,omitempty"`
	Online          bool                            `json:"online,omitempty"`
	Status          string                          `json:"status,omitempty"`
	TagList         string                          `json:"tag_list,omitempty"`
	RunUntagged     string                          `json:"run_untagged,omitempty"`
	Locked          string                          `json:"locked,omitempty"`
	MaximumTimeout  string                          `json:"maximum_timeout,omitempty"`
	AccessLevel     string                          `json:"access_level,omitempty"`
	Version         string                          `json:"version,omitempty"`
	Revision        string                          `json:"revision,omitempty"`
	Platform        string                          `json:"platform,omitempty"`
	Architecture    string                          `json:"architecture,omitempty"`
	ContactedAt     string                          `json:"contacted_at,omitempty"`
	MaintenanceNote string                          `json:"maintenance_note,omitempty"`
	Projects        *ApiEntitiesBasicProjectDetails `json:"projects,omitempty"`
	Groups          *ApiEntitiesBasicGroupDetails   `json:"groups,omitempty"`
}

API_Entities_Ci_RunnerDetails model

type ApiEntitiesCiRunnerManager

type ApiEntitiesCiRunnerManager struct {
	Id           int32  `json:"id,omitempty"`
	SystemId     string `json:"system_id,omitempty"`
	Version      string `json:"version,omitempty"`
	Revision     string `json:"revision,omitempty"`
	Platform     string `json:"platform,omitempty"`
	Architecture string `json:"architecture,omitempty"`
	CreatedAt    string `json:"created_at,omitempty"`
	ContactedAt  string `json:"contacted_at,omitempty"`
	IpAddress    string `json:"ip_address,omitempty"`
	Status       string `json:"status,omitempty"`
}

type ApiEntitiesCiRunnerRegistrationDetails

type ApiEntitiesCiRunnerRegistrationDetails struct {
	Id             string `json:"id,omitempty"`
	Token          string `json:"token,omitempty"`
	TokenExpiresAt string `json:"token_expires_at,omitempty"`
}

API_Entities_Ci_RunnerRegistrationDetails model

type ApiEntitiesCiSecureFile

type ApiEntitiesCiSecureFile struct {
	Id                int32       `json:"id,omitempty"`
	Name              string      `json:"name,omitempty"`
	Checksum          string      `json:"checksum,omitempty"`
	ChecksumAlgorithm string      `json:"checksum_algorithm,omitempty"`
	CreatedAt         time.Time   `json:"created_at,omitempty"`
	ExpiresAt         time.Time   `json:"expires_at,omitempty"`
	Metadata          interface{} `json:"metadata,omitempty"`
	FileExtension     string      `json:"file_extension,omitempty"`
}

API_Entities_Ci_SecureFile model

type ApiEntitiesCiVariable

type ApiEntitiesCiVariable struct {
	VariableType     string `json:"variable_type,omitempty"`
	Key              string `json:"key,omitempty"`
	Value            string `json:"value,omitempty"`
	Hidden           bool   `json:"hidden,omitempty"`
	Protected        bool   `json:"protected,omitempty"`
	Masked           bool   `json:"masked,omitempty"`
	Raw              bool   `json:"raw,omitempty"`
	EnvironmentScope string `json:"environment_scope,omitempty"`
	Description      string `json:"description,omitempty"`
}

API_Entities_Ci_Variable model

type ApiEntitiesCluster

type ApiEntitiesCluster struct {
	Id                      string                         `json:"id,omitempty"`
	Name                    string                         `json:"name,omitempty"`
	CreatedAt               string                         `json:"created_at,omitempty"`
	Domain                  string                         `json:"domain,omitempty"`
	Enabled                 string                         `json:"enabled,omitempty"`
	Managed                 string                         `json:"managed,omitempty"`
	ProviderType            string                         `json:"provider_type,omitempty"`
	PlatformType            string                         `json:"platform_type,omitempty"`
	EnvironmentScope        string                         `json:"environment_scope,omitempty"`
	ClusterType             string                         `json:"cluster_type,omitempty"`
	NamespacePerEnvironment string                         `json:"namespace_per_environment,omitempty"`
	User                    *ApiEntitiesUserBasic          `json:"user,omitempty"`
	PlatformKubernetes      *ApiEntitiesPlatformKubernetes `json:"platform_kubernetes,omitempty"`
	ProviderGcp             *ApiEntitiesProviderGcp        `json:"provider_gcp,omitempty"`
	ManagementProject       *ApiEntitiesProjectIdentity    `json:"management_project,omitempty"`
}

API_Entities_Cluster model

type ApiEntitiesClusterGroup

type ApiEntitiesClusterGroup struct {
	Id                      string                         `json:"id,omitempty"`
	Name                    string                         `json:"name,omitempty"`
	CreatedAt               string                         `json:"created_at,omitempty"`
	Domain                  string                         `json:"domain,omitempty"`
	Enabled                 string                         `json:"enabled,omitempty"`
	Managed                 string                         `json:"managed,omitempty"`
	ProviderType            string                         `json:"provider_type,omitempty"`
	PlatformType            string                         `json:"platform_type,omitempty"`
	EnvironmentScope        string                         `json:"environment_scope,omitempty"`
	ClusterType             string                         `json:"cluster_type,omitempty"`
	NamespacePerEnvironment string                         `json:"namespace_per_environment,omitempty"`
	User                    *ApiEntitiesUserBasic          `json:"user,omitempty"`
	PlatformKubernetes      *ApiEntitiesPlatformKubernetes `json:"platform_kubernetes,omitempty"`
	ProviderGcp             *ApiEntitiesProviderGcp        `json:"provider_gcp,omitempty"`
	ManagementProject       *ApiEntitiesProjectIdentity    `json:"management_project,omitempty"`
	Group                   *ApiEntitiesBasicGroupDetails  `json:"group,omitempty"`
}

API_Entities_ClusterGroup model

type ApiEntitiesClusterProject

type ApiEntitiesClusterProject struct {
	Id                      string                          `json:"id,omitempty"`
	Name                    string                          `json:"name,omitempty"`
	CreatedAt               string                          `json:"created_at,omitempty"`
	Domain                  string                          `json:"domain,omitempty"`
	Enabled                 string                          `json:"enabled,omitempty"`
	Managed                 string                          `json:"managed,omitempty"`
	ProviderType            string                          `json:"provider_type,omitempty"`
	PlatformType            string                          `json:"platform_type,omitempty"`
	EnvironmentScope        string                          `json:"environment_scope,omitempty"`
	ClusterType             string                          `json:"cluster_type,omitempty"`
	NamespacePerEnvironment string                          `json:"namespace_per_environment,omitempty"`
	User                    *ApiEntitiesUserBasic           `json:"user,omitempty"`
	PlatformKubernetes      *ApiEntitiesPlatformKubernetes  `json:"platform_kubernetes,omitempty"`
	ProviderGcp             *ApiEntitiesProviderGcp         `json:"provider_gcp,omitempty"`
	ManagementProject       *ApiEntitiesProjectIdentity     `json:"management_project,omitempty"`
	Project                 *ApiEntitiesBasicProjectDetails `json:"project,omitempty"`
}

API_Entities_ClusterProject model

type ApiEntitiesClustersAgent

type ApiEntitiesClustersAgent struct {
	Id              string                      `json:"id,omitempty"`
	Name            string                      `json:"name,omitempty"`
	ConfigProject   *ApiEntitiesProjectIdentity `json:"config_project,omitempty"`
	CreatedAt       string                      `json:"created_at,omitempty"`
	CreatedByUserId string                      `json:"created_by_user_id,omitempty"`
}

API_Entities_Clusters_Agent model

type ApiEntitiesClustersAgentToken

type ApiEntitiesClustersAgentToken struct {
	Id              string `json:"id,omitempty"`
	Name            string `json:"name,omitempty"`
	Description     string `json:"description,omitempty"`
	AgentId         string `json:"agent_id,omitempty"`
	Status          string `json:"status,omitempty"`
	CreatedAt       string `json:"created_at,omitempty"`
	CreatedByUserId string `json:"created_by_user_id,omitempty"`
	LastUsedAt      string `json:"last_used_at,omitempty"`
}

API_Entities_Clusters_AgentToken model

type ApiEntitiesClustersAgentTokenBasic

type ApiEntitiesClustersAgentTokenBasic struct {
	Id              string `json:"id,omitempty"`
	Name            string `json:"name,omitempty"`
	Description     string `json:"description,omitempty"`
	AgentId         string `json:"agent_id,omitempty"`
	Status          string `json:"status,omitempty"`
	CreatedAt       string `json:"created_at,omitempty"`
	CreatedByUserId string `json:"created_by_user_id,omitempty"`
}

API_Entities_Clusters_AgentTokenBasic model

type ApiEntitiesClustersAgentTokenWithToken

type ApiEntitiesClustersAgentTokenWithToken struct {
	Id              string `json:"id,omitempty"`
	Name            string `json:"name,omitempty"`
	Description     string `json:"description,omitempty"`
	AgentId         string `json:"agent_id,omitempty"`
	Status          string `json:"status,omitempty"`
	CreatedAt       string `json:"created_at,omitempty"`
	CreatedByUserId string `json:"created_by_user_id,omitempty"`
	LastUsedAt      string `json:"last_used_at,omitempty"`
	Token           string `json:"token,omitempty"`
}

API_Entities_Clusters_AgentTokenWithToken model

type ApiEntitiesCommit

type ApiEntitiesCommit struct {
	Id               string      `json:"id,omitempty"`
	ShortId          string      `json:"short_id,omitempty"`
	CreatedAt        time.Time   `json:"created_at,omitempty"`
	ParentIds        []string    `json:"parent_ids,omitempty"`
	Title            string      `json:"title,omitempty"`
	Message          string      `json:"message,omitempty"`
	AuthorName       string      `json:"author_name,omitempty"`
	AuthorEmail      string      `json:"author_email,omitempty"`
	AuthoredDate     time.Time   `json:"authored_date,omitempty"`
	CommitterName    string      `json:"committer_name,omitempty"`
	CommitterEmail   string      `json:"committer_email,omitempty"`
	CommittedDate    time.Time   `json:"committed_date,omitempty"`
	Trailers         interface{} `json:"trailers,omitempty"`
	ExtendedTrailers interface{} `json:"extended_trailers,omitempty"`
	WebUrl           string      `json:"web_url,omitempty"`
}

API_Entities_Commit model

type ApiEntitiesCommitDetail

type ApiEntitiesCommitDetail struct {
	Id               string                      `json:"id,omitempty"`
	ShortId          string                      `json:"short_id,omitempty"`
	CreatedAt        time.Time                   `json:"created_at,omitempty"`
	ParentIds        []string                    `json:"parent_ids,omitempty"`
	Title            string                      `json:"title,omitempty"`
	Message          string                      `json:"message,omitempty"`
	AuthorName       string                      `json:"author_name,omitempty"`
	AuthorEmail      string                      `json:"author_email,omitempty"`
	AuthoredDate     time.Time                   `json:"authored_date,omitempty"`
	CommitterName    string                      `json:"committer_name,omitempty"`
	CommitterEmail   string                      `json:"committer_email,omitempty"`
	CommittedDate    time.Time                   `json:"committed_date,omitempty"`
	Trailers         interface{}                 `json:"trailers,omitempty"`
	ExtendedTrailers interface{}                 `json:"extended_trailers,omitempty"`
	WebUrl           string                      `json:"web_url,omitempty"`
	Stats            *ApiEntitiesCommitStats     `json:"stats,omitempty"`
	Status           string                      `json:"status,omitempty"`
	ProjectId        int32                       `json:"project_id,omitempty"`
	LastPipeline     *ApiEntitiesCiPipelineBasic `json:"last_pipeline,omitempty"`
}

API_Entities_CommitDetail model

type ApiEntitiesCommitNote

type ApiEntitiesCommitNote struct {
	Note      string                `json:"note,omitempty"`
	Path      string                `json:"path,omitempty"`
	Line      int32                 `json:"line,omitempty"`
	LineType  string                `json:"line_type,omitempty"`
	Author    *ApiEntitiesUserBasic `json:"author,omitempty"`
	CreatedAt time.Time             `json:"created_at,omitempty"`
}

API_Entities_CommitNote model

type ApiEntitiesCommitSequence

type ApiEntitiesCommitSequence struct {
	Count int32 `json:"count,omitempty"`
}

API_Entities_CommitSequence model

type ApiEntitiesCommitSignature

type ApiEntitiesCommitSignature struct {
	SignatureType string `json:"signature_type,omitempty"`
	Signature     string `json:"signature,omitempty"`
	CommitSource  string `json:"commit_source,omitempty"`
}

API_Entities_CommitSignature model

type ApiEntitiesCommitStats

type ApiEntitiesCommitStats struct {
	Additions int32 `json:"additions,omitempty"`
	Deletions int32 `json:"deletions,omitempty"`
	Total     int32 `json:"total,omitempty"`
}

type ApiEntitiesCommitStatus

type ApiEntitiesCommitStatus struct {
	Id           int32                 `json:"id,omitempty"`
	Sha          string                `json:"sha,omitempty"`
	Ref          string                `json:"ref,omitempty"`
	Status       string                `json:"status,omitempty"`
	Name         string                `json:"name,omitempty"`
	TargetUrl    string                `json:"target_url,omitempty"`
	Description  string                `json:"description,omitempty"`
	CreatedAt    time.Time             `json:"created_at,omitempty"`
	StartedAt    time.Time             `json:"started_at,omitempty"`
	FinishedAt   time.Time             `json:"finished_at,omitempty"`
	AllowFailure bool                  `json:"allow_failure,omitempty"`
	Coverage     float32               `json:"coverage,omitempty"`
	PipelineId   int32                 `json:"pipeline_id,omitempty"`
	Author       *ApiEntitiesUserBasic `json:"author,omitempty"`
}

API_Entities_CommitStatus model

type ApiEntitiesCompare

type ApiEntitiesCompare struct {
	Commit         *ApiEntitiesCommit  `json:"commit,omitempty"`
	Commits        []ApiEntitiesCommit `json:"commits,omitempty"`
	Diffs          []ApiEntitiesDiff   `json:"diffs,omitempty"`
	CompareTimeout bool                `json:"compare_timeout,omitempty"`
	CompareSameRef bool                `json:"compare_same_ref,omitempty"`
	WebUrl         string              `json:"web_url,omitempty"`
}

API_Entities_Compare model

type ApiEntitiesConanPackageConanPackageManifest

type ApiEntitiesConanPackageConanPackageManifest struct {
	PackageUrls interface{} `json:"package_urls,omitempty"`
}

API_Entities_ConanPackage_ConanPackageManifest model

type ApiEntitiesConanPackageConanPackageSnapshot

type ApiEntitiesConanPackageConanPackageSnapshot struct {
	PackageSnapshot interface{} `json:"package_snapshot,omitempty"`
}

API_Entities_ConanPackage_ConanPackageSnapshot model

type ApiEntitiesConanPackageConanRecipeManifest

type ApiEntitiesConanPackageConanRecipeManifest struct {
	RecipeUrls interface{} `json:"recipe_urls,omitempty"`
}

API_Entities_ConanPackage_ConanRecipeManifest model

type ApiEntitiesConanPackageConanRecipeSnapshot

type ApiEntitiesConanPackageConanRecipeSnapshot struct {
	RecipeSnapshot interface{} `json:"recipe_snapshot,omitempty"`
}

API_Entities_ConanPackage_ConanRecipeSnapshot model

type ApiEntitiesConanPackageConanUploadUrls

type ApiEntitiesConanPackageConanUploadUrls struct {
	UploadUrls interface{} `json:"upload_urls,omitempty"`
}

API_Entities_ConanPackage_ConanUploadUrls model

type ApiEntitiesContainerExpirationPolicy

type ApiEntitiesContainerExpirationPolicy struct {
	Cadence       string `json:"cadence,omitempty"`
	Enabled       string `json:"enabled,omitempty"`
	KeepN         string `json:"keep_n,omitempty"`
	OlderThan     string `json:"older_than,omitempty"`
	NameRegex     string `json:"name_regex,omitempty"`
	NameRegexKeep string `json:"name_regex_keep,omitempty"`
	NextRunAt     string `json:"next_run_at,omitempty"`
}

type ApiEntitiesContainerRegistryRepository

type ApiEntitiesContainerRegistryRepository struct {
	Id                     int32                            `json:"id,omitempty"`
	Name                   string                           `json:"name,omitempty"`
	Path                   string                           `json:"path,omitempty"`
	ProjectId              int32                            `json:"project_id,omitempty"`
	Location               string                           `json:"location,omitempty"`
	CreatedAt              time.Time                        `json:"created_at,omitempty"`
	CleanupPolicyStartedAt time.Time                        `json:"cleanup_policy_started_at,omitempty"`
	TagsCount              int32                            `json:"tags_count,omitempty"`
	Tags                   *ApiEntitiesContainerRegistryTag `json:"tags,omitempty"`
	DeleteApiPath          string                           `json:"delete_api_path,omitempty"`
	Size                   int32                            `json:"size,omitempty"`
	Status                 string                           `json:"status,omitempty"`
}

API_Entities_ContainerRegistry_Repository model

type ApiEntitiesContainerRegistryTag

type ApiEntitiesContainerRegistryTag struct {
	Name     string `json:"name,omitempty"`
	Path     string `json:"path,omitempty"`
	Location string `json:"location,omitempty"`
}

API_Entities_ContainerRegistry_Tag model

type ApiEntitiesContainerRegistryTagDetails

type ApiEntitiesContainerRegistryTagDetails struct {
	Name          string    `json:"name,omitempty"`
	Path          string    `json:"path,omitempty"`
	Location      string    `json:"location,omitempty"`
	Revision      string    `json:"revision,omitempty"`
	ShortRevision string    `json:"short_revision,omitempty"`
	Digest        string    `json:"digest,omitempty"`
	CreatedAt     time.Time `json:"created_at,omitempty"`
	TotalSize     int32     `json:"total_size,omitempty"`
}

API_Entities_ContainerRegistry_TagDetails model

type ApiEntitiesContributor

type ApiEntitiesContributor struct {
	Name      string `json:"name,omitempty"`
	Email     string `json:"email,omitempty"`
	Commits   int32  `json:"commits,omitempty"`
	Additions int32  `json:"additions,omitempty"`
	Deletions int32  `json:"deletions,omitempty"`
}

API_Entities_Contributor model

type ApiEntitiesCustomAttribute

type ApiEntitiesCustomAttribute struct {
	Key   string `json:"key,omitempty"`
	Value string `json:"value,omitempty"`
}

API_Entities_CustomAttribute model

type ApiEntitiesDeployKey

type ApiEntitiesDeployKey struct {
	Id                         int32                       `json:"id,omitempty"`
	Title                      string                      `json:"title,omitempty"`
	CreatedAt                  time.Time                   `json:"created_at,omitempty"`
	ExpiresAt                  time.Time                   `json:"expires_at,omitempty"`
	Key                        string                      `json:"key,omitempty"`
	UsageType                  string                      `json:"usage_type,omitempty"`
	Fingerprint                string                      `json:"fingerprint,omitempty"`
	FingerprintSha256          string                      `json:"fingerprint_sha256,omitempty"`
	ProjectsWithWriteAccess    *ApiEntitiesProjectIdentity `json:"projects_with_write_access,omitempty"`
	ProjectsWithReadonlyAccess *ApiEntitiesProjectIdentity `json:"projects_with_readonly_access,omitempty"`
}

API_Entities_DeployKey model

type ApiEntitiesDeployKeysProject

type ApiEntitiesDeployKeysProject struct {
	Id                         int32                       `json:"id,omitempty"`
	Title                      string                      `json:"title,omitempty"`
	CreatedAt                  time.Time                   `json:"created_at,omitempty"`
	ExpiresAt                  time.Time                   `json:"expires_at,omitempty"`
	Key                        string                      `json:"key,omitempty"`
	UsageType                  string                      `json:"usage_type,omitempty"`
	Fingerprint                string                      `json:"fingerprint,omitempty"`
	FingerprintSha256          string                      `json:"fingerprint_sha256,omitempty"`
	ProjectsWithWriteAccess    *ApiEntitiesProjectIdentity `json:"projects_with_write_access,omitempty"`
	ProjectsWithReadonlyAccess *ApiEntitiesProjectIdentity `json:"projects_with_readonly_access,omitempty"`
	CanPush                    bool                        `json:"can_push,omitempty"`
}

API_Entities_DeployKeysProject model

type ApiEntitiesDeployToken

type ApiEntitiesDeployToken struct {
	Id        int32     `json:"id,omitempty"`
	Name      string    `json:"name,omitempty"`
	Username  string    `json:"username,omitempty"`
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	Scopes    []string  `json:"scopes,omitempty"`
	Revoked   bool      `json:"revoked,omitempty"`
	Expired   bool      `json:"expired,omitempty"`
}

API_Entities_DeployToken model

type ApiEntitiesDeployTokenWithToken

type ApiEntitiesDeployTokenWithToken struct {
	Id        int32     `json:"id,omitempty"`
	Name      string    `json:"name,omitempty"`
	Username  string    `json:"username,omitempty"`
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	Scopes    []string  `json:"scopes,omitempty"`
	Revoked   bool      `json:"revoked,omitempty"`
	Expired   bool      `json:"expired,omitempty"`
	Token     string    `json:"token,omitempty"`
}

API_Entities_DeployTokenWithToken model

type ApiEntitiesDeployment

type ApiEntitiesDeployment struct {
	Id          int32                        `json:"id,omitempty"`
	Iid         int32                        `json:"iid,omitempty"`
	Ref         string                       `json:"ref,omitempty"`
	Sha         string                       `json:"sha,omitempty"`
	CreatedAt   time.Time                    `json:"created_at,omitempty"`
	UpdatedAt   time.Time                    `json:"updated_at,omitempty"`
	User        *ApiEntitiesUserBasic        `json:"user,omitempty"`
	Environment *ApiEntitiesEnvironmentBasic `json:"environment,omitempty"`
	Deployable  *ApiEntitiesCiJob            `json:"deployable,omitempty"`
	Status      string                       `json:"status,omitempty"`
}

API_Entities_Deployment model

type ApiEntitiesDeploymentExtended

type ApiEntitiesDeploymentExtended struct {
	Id                   int32                                  `json:"id,omitempty"`
	Iid                  int32                                  `json:"iid,omitempty"`
	Ref                  string                                 `json:"ref,omitempty"`
	Sha                  string                                 `json:"sha,omitempty"`
	CreatedAt            time.Time                              `json:"created_at,omitempty"`
	UpdatedAt            time.Time                              `json:"updated_at,omitempty"`
	User                 *ApiEntitiesUserBasic                  `json:"user,omitempty"`
	Environment          *ApiEntitiesEnvironmentBasic           `json:"environment,omitempty"`
	Deployable           *ApiEntitiesCiJob                      `json:"deployable,omitempty"`
	Status               string                                 `json:"status,omitempty"`
	PendingApprovalCount int32                                  `json:"pending_approval_count,omitempty"`
	Approvals            *ApiEntitiesDeploymentsApproval        `json:"approvals,omitempty"`
	ApprovalSummary      *ApiEntitiesDeploymentsApprovalSummary `json:"approval_summary,omitempty"`
}

API_Entities_DeploymentExtended model

type ApiEntitiesDeploymentsApproval

type ApiEntitiesDeploymentsApproval struct {
	User      *ApiEntitiesUserBasic `json:"user,omitempty"`
	Status    string                `json:"status,omitempty"`
	CreatedAt time.Time             `json:"created_at,omitempty"`
	Comment   string                `json:"comment,omitempty"`
}

API_Entities_Deployments_Approval model

type ApiEntitiesDeploymentsApprovalSummary

type ApiEntitiesDeploymentsApprovalSummary struct {
	Rules *ApiEntitiesProtectedEnvironmentsApprovalRuleForSummary `json:"rules,omitempty"`
}

type ApiEntitiesDictionaryTable

type ApiEntitiesDictionaryTable struct {
	TableName         string   `json:"table_name,omitempty"`
	FeatureCategories []string `json:"feature_categories,omitempty"`
}

API_Entities_Dictionary_Table model

type ApiEntitiesDiff

type ApiEntitiesDiff struct {
	Diff          string `json:"diff,omitempty"`
	NewPath       string `json:"new_path,omitempty"`
	OldPath       string `json:"old_path,omitempty"`
	AMode         string `json:"a_mode,omitempty"`
	BMode         string `json:"b_mode,omitempty"`
	NewFile       bool   `json:"new_file,omitempty"`
	RenamedFile   bool   `json:"renamed_file,omitempty"`
	DeletedFile   bool   `json:"deleted_file,omitempty"`
	GeneratedFile bool   `json:"generated_file,omitempty"`
}

API_Entities_Diff model

type ApiEntitiesDiffRefs

type ApiEntitiesDiffRefs struct {
	BaseSha  string `json:"base_sha,omitempty"`
	HeadSha  string `json:"head_sha,omitempty"`
	StartSha string `json:"start_sha,omitempty"`
}

type ApiEntitiesDraftNote

type ApiEntitiesDraftNote struct {
	Id                int32       `json:"id,omitempty"`
	AuthorId          int32       `json:"author_id,omitempty"`
	MergeRequestId    int32       `json:"merge_request_id,omitempty"`
	ResolveDiscussion bool        `json:"resolve_discussion,omitempty"`
	DiscussionId      int32       `json:"discussion_id,omitempty"`
	Note              string      `json:"note,omitempty"`
	CommitId          int32       `json:"commit_id,omitempty"`
	LineCode          string      `json:"line_code,omitempty"`
	Position          interface{} `json:"position,omitempty"`
}

API_Entities_DraftNote model

type ApiEntitiesEmail

type ApiEntitiesEmail struct {
	Id          string `json:"id,omitempty"`
	Email       string `json:"email,omitempty"`
	ConfirmedAt string `json:"confirmed_at,omitempty"`
}

API_Entities_Email model

type ApiEntitiesEnvironment

type ApiEntitiesEnvironment struct {
	Id             int32                           `json:"id,omitempty"`
	Name           string                          `json:"name,omitempty"`
	Slug           string                          `json:"slug,omitempty"`
	ExternalUrl    string                          `json:"external_url,omitempty"`
	CreatedAt      time.Time                       `json:"created_at,omitempty"`
	UpdatedAt      time.Time                       `json:"updated_at,omitempty"`
	Tier           string                          `json:"tier,omitempty"`
	Project        *ApiEntitiesBasicProjectDetails `json:"project,omitempty"`
	LastDeployment *ApiEntitiesDeployment          `json:"last_deployment,omitempty"`
	State          string                          `json:"state,omitempty"`
	AutoStopAt     time.Time                       `json:"auto_stop_at,omitempty"`
}

API_Entities_Environment model

type ApiEntitiesEnvironmentBasic

type ApiEntitiesEnvironmentBasic struct {
	Id          int32     `json:"id,omitempty"`
	Name        string    `json:"name,omitempty"`
	Slug        string    `json:"slug,omitempty"`
	ExternalUrl string    `json:"external_url,omitempty"`
	CreatedAt   time.Time `json:"created_at,omitempty"`
	UpdatedAt   time.Time `json:"updated_at,omitempty"`
}

API_Entities_EnvironmentBasic model

type ApiEntitiesErrorTrackingClientKey

type ApiEntitiesErrorTrackingClientKey struct {
	Id        int32  `json:"id,omitempty"`
	Active    bool   `json:"active,omitempty"`
	PublicKey string `json:"public_key,omitempty"`
	SentryDsn string `json:"sentry_dsn,omitempty"`
}

API_Entities_ErrorTracking_ClientKey model

type ApiEntitiesErrorTrackingProjectSetting

type ApiEntitiesErrorTrackingProjectSetting struct {
	Active            bool   `json:"active,omitempty"`
	ProjectName       string `json:"project_name,omitempty"`
	SentryExternalUrl string `json:"sentry_external_url,omitempty"`
	ApiUrl            string `json:"api_url,omitempty"`
	Integrated        bool   `json:"integrated,omitempty"`
}

API_Entities_ErrorTracking_ProjectSetting model

type ApiEntitiesEvent

type ApiEntitiesEvent struct {
	Id             int32                        `json:"id,omitempty"`
	ProjectId      int32                        `json:"project_id,omitempty"`
	ActionName     string                       `json:"action_name,omitempty"`
	TargetId       int32                        `json:"target_id,omitempty"`
	TargetIid      int32                        `json:"target_iid,omitempty"`
	TargetType     string                       `json:"target_type,omitempty"`
	AuthorId       int32                        `json:"author_id,omitempty"`
	TargetTitle    string                       `json:"target_title,omitempty"`
	CreatedAt      string                       `json:"created_at,omitempty"`
	Note           *ApiEntitiesNote             `json:"note,omitempty"`
	Author         *ApiEntitiesUserBasic        `json:"author,omitempty"`
	WikiPage       *ApiEntitiesWikiPageBasic    `json:"wiki_page,omitempty"`
	Imported       bool                         `json:"imported,omitempty"`
	ImportedFrom   string                       `json:"imported_from,omitempty"`
	PushData       *ApiEntitiesPushEventPayload `json:"push_data,omitempty"`
	AuthorUsername string                       `json:"author_username,omitempty"`
}

API_Entities_Event model

type ApiEntitiesFeature

type ApiEntitiesFeature struct {
	Name       string                        `json:"name,omitempty"`
	State      string                        `json:"state,omitempty"`
	Gates      *ApiEntitiesFeatureGate       `json:"gates,omitempty"`
	Definition *ApiEntitiesFeatureDefinition `json:"definition,omitempty"`
}

API_Entities_Feature model

type ApiEntitiesFeatureDefinition

type ApiEntitiesFeatureDefinition struct {
	Name            string `json:"name,omitempty"`
	FeatureIssueUrl string `json:"feature_issue_url,omitempty"`
	IntroducedByUrl string `json:"introduced_by_url,omitempty"`
	RolloutIssueUrl string `json:"rollout_issue_url,omitempty"`
	Milestone       string `json:"milestone,omitempty"`
	LogStateChanges string `json:"log_state_changes,omitempty"`
	Type_           string `json:"type,omitempty"`
	Group           string `json:"group,omitempty"`
	DefaultEnabled  string `json:"default_enabled,omitempty"`
}

API_Entities_Feature_Definition model

type ApiEntitiesFeatureFlag

type ApiEntitiesFeatureFlag struct {
	Name        string                          `json:"name,omitempty"`
	Description string                          `json:"description,omitempty"`
	Active      bool                            `json:"active,omitempty"`
	Version     string                          `json:"version,omitempty"`
	CreatedAt   time.Time                       `json:"created_at,omitempty"`
	UpdatedAt   time.Time                       `json:"updated_at,omitempty"`
	Scopes      string                          `json:"scopes,omitempty"`
	Strategies  *ApiEntitiesFeatureFlagStrategy `json:"strategies,omitempty"`
}

API_Entities_FeatureFlag model

type ApiEntitiesFeatureFlagBasicUserList

type ApiEntitiesFeatureFlagBasicUserList struct {
	Id       int32  `json:"id,omitempty"`
	Iid      int32  `json:"iid,omitempty"`
	Name     string `json:"name,omitempty"`
	UserXids string `json:"user_xids,omitempty"`
}

type ApiEntitiesFeatureFlagScope

type ApiEntitiesFeatureFlagScope struct {
	Id               int32  `json:"id,omitempty"`
	EnvironmentScope string `json:"environment_scope,omitempty"`
}

type ApiEntitiesFeatureFlagStrategy

type ApiEntitiesFeatureFlagStrategy struct {
	Id         int32                                `json:"id,omitempty"`
	Name       string                               `json:"name,omitempty"`
	Parameters string                               `json:"parameters,omitempty"`
	Scopes     *ApiEntitiesFeatureFlagScope         `json:"scopes,omitempty"`
	UserList   *ApiEntitiesFeatureFlagBasicUserList `json:"user_list,omitempty"`
}

type ApiEntitiesFeatureFlagUserList

type ApiEntitiesFeatureFlagUserList struct {
	Id        int32     `json:"id,omitempty"`
	Iid       int32     `json:"iid,omitempty"`
	Name      string    `json:"name,omitempty"`
	UserXids  string    `json:"user_xids,omitempty"`
	ProjectId int32     `json:"project_id,omitempty"`
	CreatedAt time.Time `json:"created_at,omitempty"`
	UpdatedAt time.Time `json:"updated_at,omitempty"`
	Path      string    `json:"path,omitempty"`
	EditPath  string    `json:"edit_path,omitempty"`
}

API_Entities_FeatureFlag_UserList model

type ApiEntitiesFeatureGate

type ApiEntitiesFeatureGate struct {
	Key   string `json:"key,omitempty"`
	Value int32  `json:"value,omitempty"`
}

type ApiEntitiesFreezePeriod

type ApiEntitiesFreezePeriod struct {
	Id           int32     `json:"id,omitempty"`
	FreezeStart  string    `json:"freeze_start,omitempty"`
	FreezeEnd    string    `json:"freeze_end,omitempty"`
	CronTimezone string    `json:"cron_timezone,omitempty"`
	CreatedAt    time.Time `json:"created_at,omitempty"`
	UpdatedAt    time.Time `json:"updated_at,omitempty"`
}

API_Entities_FreezePeriod model

type ApiEntitiesGitlabSubscription

type ApiEntitiesGitlabSubscription struct {
	Plan    *ApiEntitiesGitlabSubscriptionPlan    `json:"plan,omitempty"`
	Usage   *ApiEntitiesGitlabSubscriptionUsage   `json:"usage,omitempty"`
	Billing *ApiEntitiesGitlabSubscriptionBilling `json:"billing,omitempty"`
}

API_Entities_GitlabSubscription model

type ApiEntitiesGitlabSubscriptionBilling

type ApiEntitiesGitlabSubscriptionBilling struct {
	SubscriptionStartDate string `json:"subscription_start_date,omitempty"`
	SubscriptionEndDate   string `json:"subscription_end_date,omitempty"`
	TrialEndsOn           string `json:"trial_ends_on,omitempty"`
}

type ApiEntitiesGitlabSubscriptionPlan

type ApiEntitiesGitlabSubscriptionPlan struct {
	Code          string `json:"code,omitempty"`
	Name          string `json:"name,omitempty"`
	Trial         string `json:"trial,omitempty"`
	AutoRenew     string `json:"auto_renew,omitempty"`
	Upgradable    string `json:"upgradable,omitempty"`
	ExcludeGuests string `json:"exclude_guests,omitempty"`
}

type ApiEntitiesGitlabSubscriptionUsage

type ApiEntitiesGitlabSubscriptionUsage struct {
	SeatsInSubscription string `json:"seats_in_subscription,omitempty"`
	SeatsInUse          string `json:"seats_in_use,omitempty"`
	MaxSeatsUsed        string `json:"max_seats_used,omitempty"`
	SeatsOwed           string `json:"seats_owed,omitempty"`
}

type ApiEntitiesGoModuleVersion

type ApiEntitiesGoModuleVersion struct {
	Version string `json:"Version,omitempty"`
	Time    string `json:"Time,omitempty"`
}

API_Entities_GoModuleVersion model

type ApiEntitiesGpgKey

type ApiEntitiesGpgKey struct {
	Id        string `json:"id,omitempty"`
	Key       string `json:"key,omitempty"`
	CreatedAt string `json:"created_at,omitempty"`
}

API_Entities_GpgKey model

type ApiEntitiesGroup

type ApiEntitiesGroup struct {
	Id                              string                      `json:"id,omitempty"`
	WebUrl                          string                      `json:"web_url,omitempty"`
	Name                            string                      `json:"name,omitempty"`
	Path                            string                      `json:"path,omitempty"`
	Description                     string                      `json:"description,omitempty"`
	Visibility                      string                      `json:"visibility,omitempty"`
	ShareWithGroupLock              string                      `json:"share_with_group_lock,omitempty"`
	RequireTwoFactorAuthentication  string                      `json:"require_two_factor_authentication,omitempty"`
	TwoFactorGracePeriod            string                      `json:"two_factor_grace_period,omitempty"`
	ProjectCreationLevel            string                      `json:"project_creation_level,omitempty"`
	AutoDevopsEnabled               string                      `json:"auto_devops_enabled,omitempty"`
	SubgroupCreationLevel           string                      `json:"subgroup_creation_level,omitempty"`
	EmailsDisabled                  bool                        `json:"emails_disabled,omitempty"`
	EmailsEnabled                   bool                        `json:"emails_enabled,omitempty"`
	MentionsDisabled                string                      `json:"mentions_disabled,omitempty"`
	LfsEnabled                      string                      `json:"lfs_enabled,omitempty"`
	MathRenderingLimitsEnabled      bool                        `json:"math_rendering_limits_enabled,omitempty"`
	LockMathRenderingLimitsEnabled  bool                        `json:"lock_math_rendering_limits_enabled,omitempty"`
	DefaultBranch                   string                      `json:"default_branch,omitempty"`
	DefaultBranchProtection         string                      `json:"default_branch_protection,omitempty"`
	DefaultBranchProtectionDefaults string                      `json:"default_branch_protection_defaults,omitempty"`
	AvatarUrl                       string                      `json:"avatar_url,omitempty"`
	RequestAccessEnabled            string                      `json:"request_access_enabled,omitempty"`
	FullName                        string                      `json:"full_name,omitempty"`
	FullPath                        string                      `json:"full_path,omitempty"`
	CreatedAt                       string                      `json:"created_at,omitempty"`
	ParentId                        string                      `json:"parent_id,omitempty"`
	OrganizationId                  string                      `json:"organization_id,omitempty"`
	SharedRunnersSetting            string                      `json:"shared_runners_setting,omitempty"`
	CustomAttributes                *ApiEntitiesCustomAttribute `json:"custom_attributes,omitempty"`
	Statistics                      *ApiEntitiesGroupStatistics `json:"statistics,omitempty"`
	LdapCn                          string                      `json:"ldap_cn,omitempty"`
	LdapAccess                      string                      `json:"ldap_access,omitempty"`
	LdapGroupLinks                  *EeApiEntitiesLdapGroupLink `json:"ldap_group_links,omitempty"`
	SamlGroupLinks                  *EeApiEntitiesSamlGroupLink `json:"saml_group_links,omitempty"`
	FileTemplateProjectId           string                      `json:"file_template_project_id,omitempty"`
	MarkedForDeletionOn             string                      `json:"marked_for_deletion_on,omitempty"`
	WikiAccessLevel                 string                      `json:"wiki_access_level,omitempty"`
	RepositoryStorage               string                      `json:"repository_storage,omitempty"`
	DuoFeaturesEnabled              string                      `json:"duo_features_enabled,omitempty"`
	LockDuoFeaturesEnabled          string                      `json:"lock_duo_features_enabled,omitempty"`
}

API_Entities_Group model

type ApiEntitiesGroupAccess

type ApiEntitiesGroupAccess struct {
	AccessLevel       string `json:"access_level,omitempty"`
	NotificationLevel string `json:"notification_level,omitempty"`
}

type ApiEntitiesGroupDetail

type ApiEntitiesGroupDetail struct {
	Id                                          string                      `json:"id,omitempty"`
	WebUrl                                      string                      `json:"web_url,omitempty"`
	Name                                        string                      `json:"name,omitempty"`
	Path                                        string                      `json:"path,omitempty"`
	Description                                 string                      `json:"description,omitempty"`
	Visibility                                  string                      `json:"visibility,omitempty"`
	ShareWithGroupLock                          string                      `json:"share_with_group_lock,omitempty"`
	RequireTwoFactorAuthentication              string                      `json:"require_two_factor_authentication,omitempty"`
	TwoFactorGracePeriod                        string                      `json:"two_factor_grace_period,omitempty"`
	ProjectCreationLevel                        string                      `json:"project_creation_level,omitempty"`
	AutoDevopsEnabled                           string                      `json:"auto_devops_enabled,omitempty"`
	SubgroupCreationLevel                       string                      `json:"subgroup_creation_level,omitempty"`
	EmailsDisabled                              bool                        `json:"emails_disabled,omitempty"`
	EmailsEnabled                               bool                        `json:"emails_enabled,omitempty"`
	MentionsDisabled                            string                      `json:"mentions_disabled,omitempty"`
	LfsEnabled                                  string                      `json:"lfs_enabled,omitempty"`
	MathRenderingLimitsEnabled                  bool                        `json:"math_rendering_limits_enabled,omitempty"`
	LockMathRenderingLimitsEnabled              bool                        `json:"lock_math_rendering_limits_enabled,omitempty"`
	DefaultBranch                               string                      `json:"default_branch,omitempty"`
	DefaultBranchProtection                     string                      `json:"default_branch_protection,omitempty"`
	DefaultBranchProtectionDefaults             string                      `json:"default_branch_protection_defaults,omitempty"`
	AvatarUrl                                   string                      `json:"avatar_url,omitempty"`
	RequestAccessEnabled                        string                      `json:"request_access_enabled,omitempty"`
	FullName                                    string                      `json:"full_name,omitempty"`
	FullPath                                    string                      `json:"full_path,omitempty"`
	CreatedAt                                   string                      `json:"created_at,omitempty"`
	ParentId                                    string                      `json:"parent_id,omitempty"`
	OrganizationId                              string                      `json:"organization_id,omitempty"`
	SharedRunnersSetting                        string                      `json:"shared_runners_setting,omitempty"`
	CustomAttributes                            *ApiEntitiesCustomAttribute `json:"custom_attributes,omitempty"`
	Statistics                                  *ApiEntitiesGroupStatistics `json:"statistics,omitempty"`
	LdapCn                                      string                      `json:"ldap_cn,omitempty"`
	LdapAccess                                  string                      `json:"ldap_access,omitempty"`
	LdapGroupLinks                              *EeApiEntitiesLdapGroupLink `json:"ldap_group_links,omitempty"`
	SamlGroupLinks                              *EeApiEntitiesSamlGroupLink `json:"saml_group_links,omitempty"`
	FileTemplateProjectId                       string                      `json:"file_template_project_id,omitempty"`
	MarkedForDeletionOn                         string                      `json:"marked_for_deletion_on,omitempty"`
	WikiAccessLevel                             string                      `json:"wiki_access_level,omitempty"`
	RepositoryStorage                           string                      `json:"repository_storage,omitempty"`
	DuoFeaturesEnabled                          string                      `json:"duo_features_enabled,omitempty"`
	LockDuoFeaturesEnabled                      string                      `json:"lock_duo_features_enabled,omitempty"`
	SharedWithGroups                            string                      `json:"shared_with_groups,omitempty"`
	RunnersToken                                string                      `json:"runners_token,omitempty"`
	EnabledGitAccessProtocol                    string                      `json:"enabled_git_access_protocol,omitempty"`
	PreventSharingGroupsOutsideHierarchy        string                      `json:"prevent_sharing_groups_outside_hierarchy,omitempty"`
	Projects                                    *ApiEntitiesProject         `json:"projects,omitempty"`
	SharedProjects                              *ApiEntitiesProject         `json:"shared_projects,omitempty"`
	SharedRunnersMinutesLimit                   string                      `json:"shared_runners_minutes_limit,omitempty"`
	ExtraSharedRunnersMinutesLimit              string                      `json:"extra_shared_runners_minutes_limit,omitempty"`
	PreventForkingOutsideGroup                  string                      `json:"prevent_forking_outside_group,omitempty"`
	ServiceAccessTokensExpirationEnforced       string                      `json:"service_access_tokens_expiration_enforced,omitempty"`
	MembershipLock                              string                      `json:"membership_lock,omitempty"`
	IpRestrictionRanges                         string                      `json:"ip_restriction_ranges,omitempty"`
	UniqueProjectDownloadLimit                  string                      `json:"unique_project_download_limit,omitempty"`
	UniqueProjectDownloadLimitIntervalInSeconds string                      `json:"unique_project_download_limit_interval_in_seconds,omitempty"`
	UniqueProjectDownloadLimitAllowlist         string                      `json:"unique_project_download_limit_allowlist,omitempty"`
	UniqueProjectDownloadLimitAlertlist         string                      `json:"unique_project_download_limit_alertlist,omitempty"`
	AutoBanUserOnExcessiveProjectsDownload      string                      `json:"auto_ban_user_on_excessive_projects_download,omitempty"`
}

API_Entities_GroupDetail model

type ApiEntitiesGroupStatistics

type ApiEntitiesGroupStatistics struct {
	StorageSize           string `json:"storage_size,omitempty"`
	RepositorySize        string `json:"repository_size,omitempty"`
	WikiSize              string `json:"wiki_size,omitempty"`
	LfsObjectsSize        string `json:"lfs_objects_size,omitempty"`
	JobArtifactsSize      string `json:"job_artifacts_size,omitempty"`
	PipelineArtifactsSize string `json:"pipeline_artifacts_size,omitempty"`
	PackagesSize          string `json:"packages_size,omitempty"`
	SnippetsSize          string `json:"snippets_size,omitempty"`
	UploadsSize           string `json:"uploads_size,omitempty"`
}

type ApiEntitiesHook

type ApiEntitiesHook struct {
	Id                     string        `json:"id,omitempty"`
	Url                    string        `json:"url,omitempty"`
	Name                   string        `json:"name,omitempty"`
	Description            string        `json:"description,omitempty"`
	CreatedAt              time.Time     `json:"created_at,omitempty"`
	PushEvents             bool          `json:"push_events,omitempty"`
	TagPushEvents          bool          `json:"tag_push_events,omitempty"`
	MergeRequestsEvents    bool          `json:"merge_requests_events,omitempty"`
	RepositoryUpdateEvents bool          `json:"repository_update_events,omitempty"`
	EnableSslVerification  bool          `json:"enable_ssl_verification,omitempty"`
	DisabledUntil          time.Time     `json:"disabled_until,omitempty"`
	UrlVariables           []interface{} `json:"url_variables,omitempty"`
	CustomWebhookTemplate  string        `json:"custom_webhook_template,omitempty"`
}

API_Entities_Hook model

type ApiEntitiesIdentity

type ApiEntitiesIdentity struct {
	Provider       string `json:"provider,omitempty"`
	ExternUid      string `json:"extern_uid,omitempty"`
	SamlProviderId string `json:"saml_provider_id,omitempty"`
}

type ApiEntitiesImpersonationToken

type ApiEntitiesImpersonationToken struct {
	Id            int32     `json:"id,omitempty"`
	Name          string    `json:"name,omitempty"`
	Revoked       bool      `json:"revoked,omitempty"`
	CreatedAt     time.Time `json:"created_at,omitempty"`
	Scopes        []string  `json:"scopes,omitempty"`
	UserId        int32     `json:"user_id,omitempty"`
	LastUsedAt    time.Time `json:"last_used_at,omitempty"`
	Active        bool      `json:"active,omitempty"`
	ExpiresAt     time.Time `json:"expires_at,omitempty"`
	Impersonation string    `json:"impersonation,omitempty"`
}

API_Entities_ImpersonationToken model

type ApiEntitiesImpersonationTokenWithToken

type ApiEntitiesImpersonationTokenWithToken struct {
	Id            int32     `json:"id,omitempty"`
	Name          string    `json:"name,omitempty"`
	Revoked       bool      `json:"revoked,omitempty"`
	CreatedAt     time.Time `json:"created_at,omitempty"`
	Scopes        []string  `json:"scopes,omitempty"`
	UserId        int32     `json:"user_id,omitempty"`
	LastUsedAt    time.Time `json:"last_used_at,omitempty"`
	Active        bool      `json:"active,omitempty"`
	ExpiresAt     time.Time `json:"expires_at,omitempty"`
	Token         string    `json:"token,omitempty"`
	Impersonation string    `json:"impersonation,omitempty"`
}

API_Entities_ImpersonationTokenWithToken model

type ApiEntitiesInvitation

type ApiEntitiesInvitation struct {
	AccessLevel   string `json:"access_level,omitempty"`
	CreatedAt     string `json:"created_at,omitempty"`
	ExpiresAt     string `json:"expires_at,omitempty"`
	InviteEmail   string `json:"invite_email,omitempty"`
	InviteToken   string `json:"invite_token,omitempty"`
	UserName      string `json:"user_name,omitempty"`
	CreatedByName string `json:"created_by_name,omitempty"`
}

API_Entities_Invitation model

type ApiEntitiesIssuableReferences

type ApiEntitiesIssuableReferences struct {
	Short    string `json:"short,omitempty"`
	Relative string `json:"relative,omitempty"`
	Full     string `json:"full,omitempty"`
}

type ApiEntitiesIssuableTimeStats

type ApiEntitiesIssuableTimeStats struct {
	TimeEstimate        int32  `json:"time_estimate,omitempty"`
	TotalTimeSpent      int32  `json:"total_time_spent,omitempty"`
	HumanTimeEstimate   string `json:"human_time_estimate,omitempty"`
	HumanTotalTimeSpent string `json:"human_total_time_spent,omitempty"`
}

API_Entities_IssuableTimeStats model

type ApiEntitiesIssueBasic

type ApiEntitiesIssueBasic struct {
	Id          int32                 `json:"id,omitempty"`
	Iid         int32                 `json:"iid,omitempty"`
	ProjectId   int32                 `json:"project_id,omitempty"`
	Title       string                `json:"title,omitempty"`
	Description string                `json:"description,omitempty"`
	State       string                `json:"state,omitempty"`
	CreatedAt   time.Time             `json:"created_at,omitempty"`
	UpdatedAt   time.Time             `json:"updated_at,omitempty"`
	ClosedAt    time.Time             `json:"closed_at,omitempty"`
	ClosedBy    *ApiEntitiesUserBasic `json:"closed_by,omitempty"`
	Labels      []string              `json:"labels,omitempty"`
	Milestone   *ApiEntitiesMilestone `json:"milestone,omitempty"`
	Assignees   *ApiEntitiesUserBasic `json:"assignees,omitempty"`
	Author      *ApiEntitiesUserBasic `json:"author,omitempty"`
	// One of [\"ISSUE\", \"INCIDENT\", \"TEST_CASE\", \"REQUIREMENT\", \"TASK\"]
	Type_                string                        `json:"type,omitempty"`
	Assignee             *ApiEntitiesUserBasic         `json:"assignee,omitempty"`
	UserNotesCount       string                        `json:"user_notes_count,omitempty"`
	MergeRequestsCount   string                        `json:"merge_requests_count,omitempty"`
	Upvotes              string                        `json:"upvotes,omitempty"`
	Downvotes            string                        `json:"downvotes,omitempty"`
	DueDate              string                        `json:"due_date,omitempty"`
	Confidential         bool                          `json:"confidential,omitempty"`
	DiscussionLocked     bool                          `json:"discussion_locked,omitempty"`
	IssueType            string                        `json:"issue_type,omitempty"`
	WebUrl               string                        `json:"web_url,omitempty"`
	TimeStats            *ApiEntitiesIssuableTimeStats `json:"time_stats,omitempty"`
	TaskCompletionStatus string                        `json:"task_completion_status,omitempty"`
	Weight               string                        `json:"weight,omitempty"`
	BlockingIssuesCount  string                        `json:"blocking_issues_count,omitempty"`
}
type ApiEntitiesIssueLink struct {
	SourceIssue *ApiEntitiesIssueBasic `json:"source_issue,omitempty"`
	TargetIssue *ApiEntitiesIssueBasic `json:"target_issue,omitempty"`
	LinkType    string                 `json:"link_type,omitempty"`
}

API_Entities_IssueLink model

type ApiEntitiesIteration

type ApiEntitiesIteration struct {
	Id          string `json:"id,omitempty"`
	Iid         string `json:"iid,omitempty"`
	Sequence    string `json:"sequence,omitempty"`
	GroupId     string `json:"group_id,omitempty"`
	Title       string `json:"title,omitempty"`
	Description string `json:"description,omitempty"`
	State       string `json:"state,omitempty"`
	CreatedAt   string `json:"created_at,omitempty"`
	UpdatedAt   string `json:"updated_at,omitempty"`
	StartDate   string `json:"start_date,omitempty"`
	DueDate     string `json:"due_date,omitempty"`
	WebUrl      string `json:"web_url,omitempty"`
}

type ApiEntitiesLicense

type ApiEntitiesLicense struct {
	Key         string   `json:"key,omitempty"`
	Name        string   `json:"name,omitempty"`
	Nickname    string   `json:"nickname,omitempty"`
	HtmlUrl     string   `json:"html_url,omitempty"`
	SourceUrl   string   `json:"source_url,omitempty"`
	Popular     bool     `json:"popular,omitempty"`
	Description string   `json:"description,omitempty"`
	Conditions  []string `json:"conditions,omitempty"`
	Permissions []string `json:"permissions,omitempty"`
	Limitations []string `json:"limitations,omitempty"`
	Content     string   `json:"content,omitempty"`
}

API_Entities_License model

type ApiEntitiesLicenseBasic

type ApiEntitiesLicenseBasic struct {
	Key       string `json:"key,omitempty"`
	Name      string `json:"name,omitempty"`
	Nickname  string `json:"nickname,omitempty"`
	HtmlUrl   string `json:"html_url,omitempty"`
	SourceUrl string `json:"source_url,omitempty"`
}

type ApiEntitiesMarkdown

type ApiEntitiesMarkdown struct {
	Html string `json:"html,omitempty"`
}

API_Entities_Markdown model

type ApiEntitiesMember

type ApiEntitiesMember struct {
	Id                int32                        `json:"id,omitempty"`
	Username          string                       `json:"username,omitempty"`
	Name              string                       `json:"name,omitempty"`
	State             string                       `json:"state,omitempty"`
	Locked            bool                         `json:"locked,omitempty"`
	AvatarUrl         string                       `json:"avatar_url,omitempty"`
	AvatarPath        string                       `json:"avatar_path,omitempty"`
	CustomAttributes  []ApiEntitiesCustomAttribute `json:"custom_attributes,omitempty"`
	WebUrl            string                       `json:"web_url,omitempty"`
	AccessLevel       string                       `json:"access_level,omitempty"`
	CreatedAt         string                       `json:"created_at,omitempty"`
	CreatedBy         *ApiEntitiesUserBasic        `json:"created_by,omitempty"`
	ExpiresAt         string                       `json:"expires_at,omitempty"`
	GroupSamlIdentity *ApiEntitiesIdentity         `json:"group_saml_identity,omitempty"`
	Email             string                       `json:"email,omitempty"`
	IsUsingSeat       string                       `json:"is_using_seat,omitempty"`
	Override          string                       `json:"override,omitempty"`
	MembershipState   string                       `json:"membership_state,omitempty"`
	MemberRole        *EeApiEntitiesMemberRole     `json:"member_role,omitempty"`
}

API_Entities_Member model

type ApiEntitiesMembership

type ApiEntitiesMembership struct {
	SourceId    string `json:"source_id,omitempty"`
	SourceName  string `json:"source_name,omitempty"`
	SourceType  string `json:"source_type,omitempty"`
	AccessLevel string `json:"access_level,omitempty"`
}

API_Entities_Membership model

type ApiEntitiesMergeRequest

type ApiEntitiesMergeRequest struct {
	Id                          int32                          `json:"id,omitempty"`
	Iid                         int32                          `json:"iid,omitempty"`
	ProjectId                   int32                          `json:"project_id,omitempty"`
	Title                       string                         `json:"title,omitempty"`
	Description                 string                         `json:"description,omitempty"`
	State                       string                         `json:"state,omitempty"`
	CreatedAt                   time.Time                      `json:"created_at,omitempty"`
	UpdatedAt                   time.Time                      `json:"updated_at,omitempty"`
	MergedBy                    *ApiEntitiesUserBasic          `json:"merged_by,omitempty"`
	MergeUser                   *ApiEntitiesUserBasic          `json:"merge_user,omitempty"`
	MergedAt                    string                         `json:"merged_at,omitempty"`
	ClosedBy                    *ApiEntitiesUserBasic          `json:"closed_by,omitempty"`
	ClosedAt                    string                         `json:"closed_at,omitempty"`
	TitleHtml                   string                         `json:"title_html,omitempty"`
	DescriptionHtml             string                         `json:"description_html,omitempty"`
	TargetBranch                string                         `json:"target_branch,omitempty"`
	SourceBranch                string                         `json:"source_branch,omitempty"`
	UserNotesCount              string                         `json:"user_notes_count,omitempty"`
	Upvotes                     string                         `json:"upvotes,omitempty"`
	Downvotes                   string                         `json:"downvotes,omitempty"`
	Author                      *ApiEntitiesUserBasic          `json:"author,omitempty"`
	Assignees                   *ApiEntitiesUserBasic          `json:"assignees,omitempty"`
	Assignee                    *ApiEntitiesUserBasic          `json:"assignee,omitempty"`
	Reviewers                   *ApiEntitiesUserBasic          `json:"reviewers,omitempty"`
	SourceProjectId             string                         `json:"source_project_id,omitempty"`
	TargetProjectId             string                         `json:"target_project_id,omitempty"`
	Labels                      string                         `json:"labels,omitempty"`
	Draft                       string                         `json:"draft,omitempty"`
	Imported                    string                         `json:"imported,omitempty"`
	ImportedFrom                string                         `json:"imported_from,omitempty"`
	WorkInProgress              string                         `json:"work_in_progress,omitempty"`
	Milestone                   *ApiEntitiesMilestone          `json:"milestone,omitempty"`
	MergeWhenPipelineSucceeds   string                         `json:"merge_when_pipeline_succeeds,omitempty"`
	MergeStatus                 string                         `json:"merge_status,omitempty"`
	DetailedMergeStatus         string                         `json:"detailed_merge_status,omitempty"`
	Sha                         string                         `json:"sha,omitempty"`
	MergeCommitSha              string                         `json:"merge_commit_sha,omitempty"`
	SquashCommitSha             string                         `json:"squash_commit_sha,omitempty"`
	DiscussionLocked            string                         `json:"discussion_locked,omitempty"`
	ShouldRemoveSourceBranch    string                         `json:"should_remove_source_branch,omitempty"`
	ForceRemoveSourceBranch     string                         `json:"force_remove_source_branch,omitempty"`
	PreparedAt                  string                         `json:"prepared_at,omitempty"`
	AllowCollaboration          string                         `json:"allow_collaboration,omitempty"`
	AllowMaintainerToPush       string                         `json:"allow_maintainer_to_push,omitempty"`
	Reference                   string                         `json:"reference,omitempty"`
	References                  *ApiEntitiesIssuableReferences `json:"references,omitempty"`
	WebUrl                      string                         `json:"web_url,omitempty"`
	TimeStats                   *ApiEntitiesIssuableTimeStats  `json:"time_stats,omitempty"`
	Squash                      string                         `json:"squash,omitempty"`
	SquashOnMerge               string                         `json:"squash_on_merge,omitempty"`
	TaskCompletionStatus        string                         `json:"task_completion_status,omitempty"`
	HasConflicts                string                         `json:"has_conflicts,omitempty"`
	BlockingDiscussionsResolved string                         `json:"blocking_discussions_resolved,omitempty"`
	ApprovalsBeforeMerge        string                         `json:"approvals_before_merge,omitempty"`
	Subscribed                  string                         `json:"subscribed,omitempty"`
	ChangesCount                string                         `json:"changes_count,omitempty"`
	LatestBuildStartedAt        string                         `json:"latest_build_started_at,omitempty"`
	LatestBuildFinishedAt       string                         `json:"latest_build_finished_at,omitempty"`
	FirstDeployedToProductionAt string                         `json:"first_deployed_to_production_at,omitempty"`
	Pipeline                    *ApiEntitiesCiPipelineBasic    `json:"pipeline,omitempty"`
	HeadPipeline                *ApiEntitiesCiPipeline         `json:"head_pipeline,omitempty"`
	DiffRefs                    *ApiEntitiesDiffRefs           `json:"diff_refs,omitempty"`
	MergeError                  string                         `json:"merge_error,omitempty"`
	RebaseInProgress            string                         `json:"rebase_in_progress,omitempty"`
	DivergedCommitsCount        string                         `json:"diverged_commits_count,omitempty"`
	FirstContribution           string                         `json:"first_contribution,omitempty"`
	User                        *ApiEntitiesMergeRequestUser   `json:"user,omitempty"`
}

API_Entities_MergeRequest model

type ApiEntitiesMergeRequestApprovals

type ApiEntitiesMergeRequestApprovals struct {
	UserHasApproved bool                  `json:"user_has_approved,omitempty"`
	UserCanApprove  bool                  `json:"user_can_approve,omitempty"`
	Approved        bool                  `json:"approved,omitempty"`
	ApprovedBy      *ApiEntitiesApprovals `json:"approved_by,omitempty"`
}

API_Entities_MergeRequestApprovals model

type ApiEntitiesMergeRequestBasic

type ApiEntitiesMergeRequestBasic struct {
	Id                          int32                          `json:"id,omitempty"`
	Iid                         int32                          `json:"iid,omitempty"`
	ProjectId                   int32                          `json:"project_id,omitempty"`
	Title                       string                         `json:"title,omitempty"`
	Description                 string                         `json:"description,omitempty"`
	State                       string                         `json:"state,omitempty"`
	CreatedAt                   time.Time                      `json:"created_at,omitempty"`
	UpdatedAt                   time.Time                      `json:"updated_at,omitempty"`
	MergedBy                    *ApiEntitiesUserBasic          `json:"merged_by,omitempty"`
	MergeUser                   *ApiEntitiesUserBasic          `json:"merge_user,omitempty"`
	MergedAt                    string                         `json:"merged_at,omitempty"`
	ClosedBy                    *ApiEntitiesUserBasic          `json:"closed_by,omitempty"`
	ClosedAt                    string                         `json:"closed_at,omitempty"`
	TitleHtml                   string                         `json:"title_html,omitempty"`
	DescriptionHtml             string                         `json:"description_html,omitempty"`
	TargetBranch                string                         `json:"target_branch,omitempty"`
	SourceBranch                string                         `json:"source_branch,omitempty"`
	UserNotesCount              string                         `json:"user_notes_count,omitempty"`
	Upvotes                     string                         `json:"upvotes,omitempty"`
	Downvotes                   string                         `json:"downvotes,omitempty"`
	Author                      *ApiEntitiesUserBasic          `json:"author,omitempty"`
	Assignees                   *ApiEntitiesUserBasic          `json:"assignees,omitempty"`
	Assignee                    *ApiEntitiesUserBasic          `json:"assignee,omitempty"`
	Reviewers                   *ApiEntitiesUserBasic          `json:"reviewers,omitempty"`
	SourceProjectId             string                         `json:"source_project_id,omitempty"`
	TargetProjectId             string                         `json:"target_project_id,omitempty"`
	Labels                      string                         `json:"labels,omitempty"`
	Draft                       string                         `json:"draft,omitempty"`
	Imported                    string                         `json:"imported,omitempty"`
	ImportedFrom                string                         `json:"imported_from,omitempty"`
	WorkInProgress              string                         `json:"work_in_progress,omitempty"`
	Milestone                   *ApiEntitiesMilestone          `json:"milestone,omitempty"`
	MergeWhenPipelineSucceeds   string                         `json:"merge_when_pipeline_succeeds,omitempty"`
	MergeStatus                 string                         `json:"merge_status,omitempty"`
	DetailedMergeStatus         string                         `json:"detailed_merge_status,omitempty"`
	Sha                         string                         `json:"sha,omitempty"`
	MergeCommitSha              string                         `json:"merge_commit_sha,omitempty"`
	SquashCommitSha             string                         `json:"squash_commit_sha,omitempty"`
	DiscussionLocked            string                         `json:"discussion_locked,omitempty"`
	ShouldRemoveSourceBranch    string                         `json:"should_remove_source_branch,omitempty"`
	ForceRemoveSourceBranch     string                         `json:"force_remove_source_branch,omitempty"`
	PreparedAt                  string                         `json:"prepared_at,omitempty"`
	AllowCollaboration          string                         `json:"allow_collaboration,omitempty"`
	AllowMaintainerToPush       string                         `json:"allow_maintainer_to_push,omitempty"`
	Reference                   string                         `json:"reference,omitempty"`
	References                  *ApiEntitiesIssuableReferences `json:"references,omitempty"`
	WebUrl                      string                         `json:"web_url,omitempty"`
	TimeStats                   *ApiEntitiesIssuableTimeStats  `json:"time_stats,omitempty"`
	Squash                      string                         `json:"squash,omitempty"`
	SquashOnMerge               string                         `json:"squash_on_merge,omitempty"`
	TaskCompletionStatus        string                         `json:"task_completion_status,omitempty"`
	HasConflicts                string                         `json:"has_conflicts,omitempty"`
	BlockingDiscussionsResolved string                         `json:"blocking_discussions_resolved,omitempty"`
	ApprovalsBeforeMerge        string                         `json:"approvals_before_merge,omitempty"`
}

API_Entities_MergeRequestBasic model

type ApiEntitiesMergeRequestChanges

type ApiEntitiesMergeRequestChanges struct {
	Id                          int32                          `json:"id,omitempty"`
	Iid                         int32                          `json:"iid,omitempty"`
	ProjectId                   int32                          `json:"project_id,omitempty"`
	Title                       string                         `json:"title,omitempty"`
	Description                 string                         `json:"description,omitempty"`
	State                       string                         `json:"state,omitempty"`
	CreatedAt                   time.Time                      `json:"created_at,omitempty"`
	UpdatedAt                   time.Time                      `json:"updated_at,omitempty"`
	MergedBy                    *ApiEntitiesUserBasic          `json:"merged_by,omitempty"`
	MergeUser                   *ApiEntitiesUserBasic          `json:"merge_user,omitempty"`
	MergedAt                    string                         `json:"merged_at,omitempty"`
	ClosedBy                    *ApiEntitiesUserBasic          `json:"closed_by,omitempty"`
	ClosedAt                    string                         `json:"closed_at,omitempty"`
	TitleHtml                   string                         `json:"title_html,omitempty"`
	DescriptionHtml             string                         `json:"description_html,omitempty"`
	TargetBranch                string                         `json:"target_branch,omitempty"`
	SourceBranch                string                         `json:"source_branch,omitempty"`
	UserNotesCount              string                         `json:"user_notes_count,omitempty"`
	Upvotes                     string                         `json:"upvotes,omitempty"`
	Downvotes                   string                         `json:"downvotes,omitempty"`
	Author                      *ApiEntitiesUserBasic          `json:"author,omitempty"`
	Assignees                   *ApiEntitiesUserBasic          `json:"assignees,omitempty"`
	Assignee                    *ApiEntitiesUserBasic          `json:"assignee,omitempty"`
	Reviewers                   *ApiEntitiesUserBasic          `json:"reviewers,omitempty"`
	SourceProjectId             string                         `json:"source_project_id,omitempty"`
	TargetProjectId             string                         `json:"target_project_id,omitempty"`
	Labels                      string                         `json:"labels,omitempty"`
	Draft                       string                         `json:"draft,omitempty"`
	Imported                    string                         `json:"imported,omitempty"`
	ImportedFrom                string                         `json:"imported_from,omitempty"`
	WorkInProgress              string                         `json:"work_in_progress,omitempty"`
	Milestone                   *ApiEntitiesMilestone          `json:"milestone,omitempty"`
	MergeWhenPipelineSucceeds   string                         `json:"merge_when_pipeline_succeeds,omitempty"`
	MergeStatus                 string                         `json:"merge_status,omitempty"`
	DetailedMergeStatus         string                         `json:"detailed_merge_status,omitempty"`
	Sha                         string                         `json:"sha,omitempty"`
	MergeCommitSha              string                         `json:"merge_commit_sha,omitempty"`
	SquashCommitSha             string                         `json:"squash_commit_sha,omitempty"`
	DiscussionLocked            string                         `json:"discussion_locked,omitempty"`
	ShouldRemoveSourceBranch    string                         `json:"should_remove_source_branch,omitempty"`
	ForceRemoveSourceBranch     string                         `json:"force_remove_source_branch,omitempty"`
	PreparedAt                  string                         `json:"prepared_at,omitempty"`
	AllowCollaboration          string                         `json:"allow_collaboration,omitempty"`
	AllowMaintainerToPush       string                         `json:"allow_maintainer_to_push,omitempty"`
	Reference                   string                         `json:"reference,omitempty"`
	References                  *ApiEntitiesIssuableReferences `json:"references,omitempty"`
	WebUrl                      string                         `json:"web_url,omitempty"`
	TimeStats                   *ApiEntitiesIssuableTimeStats  `json:"time_stats,omitempty"`
	Squash                      string                         `json:"squash,omitempty"`
	SquashOnMerge               string                         `json:"squash_on_merge,omitempty"`
	TaskCompletionStatus        string                         `json:"task_completion_status,omitempty"`
	HasConflicts                string                         `json:"has_conflicts,omitempty"`
	BlockingDiscussionsResolved string                         `json:"blocking_discussions_resolved,omitempty"`
	ApprovalsBeforeMerge        string                         `json:"approvals_before_merge,omitempty"`
	Subscribed                  string                         `json:"subscribed,omitempty"`
	ChangesCount                string                         `json:"changes_count,omitempty"`
	LatestBuildStartedAt        string                         `json:"latest_build_started_at,omitempty"`
	LatestBuildFinishedAt       string                         `json:"latest_build_finished_at,omitempty"`
	FirstDeployedToProductionAt string                         `json:"first_deployed_to_production_at,omitempty"`
	Pipeline                    *ApiEntitiesCiPipelineBasic    `json:"pipeline,omitempty"`
	HeadPipeline                *ApiEntitiesCiPipeline         `json:"head_pipeline,omitempty"`
	DiffRefs                    *ApiEntitiesDiffRefs           `json:"diff_refs,omitempty"`
	MergeError                  string                         `json:"merge_error,omitempty"`
	RebaseInProgress            string                         `json:"rebase_in_progress,omitempty"`
	DivergedCommitsCount        string                         `json:"diverged_commits_count,omitempty"`
	FirstContribution           string                         `json:"first_contribution,omitempty"`
	User                        *ApiEntitiesMergeRequestUser   `json:"user,omitempty"`
	Changes                     *ApiEntitiesDiff               `json:"changes,omitempty"`
	Overflow                    string                         `json:"overflow,omitempty"`
}

API_Entities_MergeRequestChanges model

type ApiEntitiesMergeRequestDiff

type ApiEntitiesMergeRequestDiff struct {
	Id             string `json:"id,omitempty"`
	HeadCommitSha  string `json:"head_commit_sha,omitempty"`
	BaseCommitSha  string `json:"base_commit_sha,omitempty"`
	StartCommitSha string `json:"start_commit_sha,omitempty"`
	CreatedAt      string `json:"created_at,omitempty"`
	MergeRequestId string `json:"merge_request_id,omitempty"`
	State          string `json:"state,omitempty"`
	RealSize       string `json:"real_size,omitempty"`
	PatchIdSha     string `json:"patch_id_sha,omitempty"`
}

API_Entities_MergeRequestDiff model

type ApiEntitiesMergeRequestDiffFull

type ApiEntitiesMergeRequestDiffFull struct {
	Id             string             `json:"id,omitempty"`
	HeadCommitSha  string             `json:"head_commit_sha,omitempty"`
	BaseCommitSha  string             `json:"base_commit_sha,omitempty"`
	StartCommitSha string             `json:"start_commit_sha,omitempty"`
	CreatedAt      string             `json:"created_at,omitempty"`
	MergeRequestId string             `json:"merge_request_id,omitempty"`
	State          string             `json:"state,omitempty"`
	RealSize       string             `json:"real_size,omitempty"`
	PatchIdSha     string             `json:"patch_id_sha,omitempty"`
	Commits        *ApiEntitiesCommit `json:"commits,omitempty"`
	Diffs          *ApiEntitiesDiff   `json:"diffs,omitempty"`
}

API_Entities_MergeRequestDiffFull model

type ApiEntitiesMergeRequestReviewer

type ApiEntitiesMergeRequestReviewer struct {
	User      *ApiEntitiesUserBasic `json:"user,omitempty"`
	State     string                `json:"state,omitempty"`
	CreatedAt string                `json:"created_at,omitempty"`
}

API_Entities_MergeRequestReviewer model

type ApiEntitiesMergeRequestUser

type ApiEntitiesMergeRequestUser struct {
	CanMerge string `json:"can_merge,omitempty"`
}

type ApiEntitiesMetadata

type ApiEntitiesMetadata struct {
	Version    string                  `json:"version,omitempty"`
	Revision   string                  `json:"revision,omitempty"`
	Kas        *ApiEntitiesMetadataKas `json:"kas,omitempty"`
	Enterprise bool                    `json:"enterprise,omitempty"`
}

API_Entities_Metadata model

type ApiEntitiesMetadataKas

type ApiEntitiesMetadataKas struct {
	Enabled     bool   `json:"enabled,omitempty"`
	ExternalUrl string `json:"externalUrl,omitempty"`
	Version     string `json:"version,omitempty"`
}

type ApiEntitiesMetricImage

type ApiEntitiesMetricImage struct {
	Id        int32     `json:"id,omitempty"`
	CreatedAt time.Time `json:"created_at,omitempty"`
	Filename  string    `json:"filename,omitempty"`
	FilePath  string    `json:"file_path,omitempty"`
	Url       string    `json:"url,omitempty"`
	UrlText   string    `json:"url_text,omitempty"`
}

API_Entities_MetricImage model

type ApiEntitiesMilestone

type ApiEntitiesMilestone struct {
	Id          string `json:"id,omitempty"`
	Iid         string `json:"iid,omitempty"`
	ProjectId   string `json:"project_id,omitempty"`
	GroupId     string `json:"group_id,omitempty"`
	Title       string `json:"title,omitempty"`
	Description string `json:"description,omitempty"`
	State       string `json:"state,omitempty"`
	CreatedAt   string `json:"created_at,omitempty"`
	UpdatedAt   string `json:"updated_at,omitempty"`
	DueDate     string `json:"due_date,omitempty"`
	StartDate   string `json:"start_date,omitempty"`
	Expired     string `json:"expired,omitempty"`
	WebUrl      string `json:"web_url,omitempty"`
}

type ApiEntitiesMilestoneWithStats

type ApiEntitiesMilestoneWithStats struct {
	Id          string                                   `json:"id,omitempty"`
	Iid         string                                   `json:"iid,omitempty"`
	ProjectId   string                                   `json:"project_id,omitempty"`
	GroupId     string                                   `json:"group_id,omitempty"`
	Title       string                                   `json:"title,omitempty"`
	Description string                                   `json:"description,omitempty"`
	State       string                                   `json:"state,omitempty"`
	CreatedAt   string                                   `json:"created_at,omitempty"`
	UpdatedAt   string                                   `json:"updated_at,omitempty"`
	DueDate     string                                   `json:"due_date,omitempty"`
	StartDate   string                                   `json:"start_date,omitempty"`
	Expired     string                                   `json:"expired,omitempty"`
	WebUrl      string                                   `json:"web_url,omitempty"`
	IssueStats  *ApiEntitiesMilestoneWithStatsIssueStats `json:"issue_stats,omitempty"`
}

type ApiEntitiesMilestoneWithStatsIssueStats

type ApiEntitiesMilestoneWithStatsIssueStats struct {
	Total  string `json:"total,omitempty"`
	Closed string `json:"closed,omitempty"`
}

type ApiEntitiesMrNote

type ApiEntitiesMrNote struct {
	Note   string                `json:"note,omitempty"`
	Author *ApiEntitiesUserBasic `json:"author,omitempty"`
}

API_Entities_MRNote model

type ApiEntitiesNamespace

type ApiEntitiesNamespace struct {
	Id                               int32  `json:"id,omitempty"`
	Name                             string `json:"name,omitempty"`
	Path                             string `json:"path,omitempty"`
	Kind                             string `json:"kind,omitempty"`
	FullPath                         string `json:"full_path,omitempty"`
	ParentId                         int32  `json:"parent_id,omitempty"`
	AvatarUrl                        string `json:"avatar_url,omitempty"`
	WebUrl                           string `json:"web_url,omitempty"`
	MembersCountWithDescendants      int32  `json:"members_count_with_descendants,omitempty"`
	RootRepositorySize               int32  `json:"root_repository_size,omitempty"`
	ProjectsCount                    int32  `json:"projects_count,omitempty"`
	SharedRunnersMinutesLimit        int32  `json:"shared_runners_minutes_limit,omitempty"`
	ExtraSharedRunnersMinutesLimit   int32  `json:"extra_shared_runners_minutes_limit,omitempty"`
	AdditionalPurchasedStorageSize   int32  `json:"additional_purchased_storage_size,omitempty"`
	AdditionalPurchasedStorageEndsOn string `json:"additional_purchased_storage_ends_on,omitempty"`
	BillableMembersCount             int32  `json:"billable_members_count,omitempty"`
	SeatsInUse                       int32  `json:"seats_in_use,omitempty"`
	MaxSeatsUsed                     int32  `json:"max_seats_used,omitempty"`
	MaxSeatsUsedChangedAt            string `json:"max_seats_used_changed_at,omitempty"`
	EndDate                          string `json:"end_date,omitempty"`
	Plan                             string `json:"plan,omitempty"`
	TrialEndsOn                      string `json:"trial_ends_on,omitempty"`
	Trial                            bool   `json:"trial,omitempty"`
}

API_Entities_Namespace model

type ApiEntitiesNamespaceBasic

type ApiEntitiesNamespaceBasic struct {
	Id        int32  `json:"id,omitempty"`
	Name      string `json:"name,omitempty"`
	Path      string `json:"path,omitempty"`
	Kind      string `json:"kind,omitempty"`
	FullPath  string `json:"full_path,omitempty"`
	ParentId  int32  `json:"parent_id,omitempty"`
	AvatarUrl string `json:"avatar_url,omitempty"`
	WebUrl    string `json:"web_url,omitempty"`
}

type ApiEntitiesNamespaceExistence

type ApiEntitiesNamespaceExistence struct {
	Exists   bool     `json:"exists,omitempty"`
	Suggests []string `json:"suggests,omitempty"`
}

API_Entities_NamespaceExistence model

type ApiEntitiesNamespacesStorageLimitExclusion

type ApiEntitiesNamespacesStorageLimitExclusion struct {
	Id            int32  `json:"id,omitempty"`
	NamespaceId   int32  `json:"namespace_id,omitempty"`
	NamespaceName string `json:"namespace_name,omitempty"`
	Reason        string `json:"reason,omitempty"`
}

API_Entities_Namespaces_Storage_LimitExclusion model

type ApiEntitiesNote

type ApiEntitiesNote struct {
	Id              string                `json:"id,omitempty"`
	Type_           string                `json:"type,omitempty"`
	Body            string                `json:"body,omitempty"`
	Attachment      string                `json:"attachment,omitempty"`
	Author          *ApiEntitiesUserBasic `json:"author,omitempty"`
	CreatedAt       string                `json:"created_at,omitempty"`
	UpdatedAt       string                `json:"updated_at,omitempty"`
	System          string                `json:"system,omitempty"`
	NoteableId      string                `json:"noteable_id,omitempty"`
	NoteableType    string                `json:"noteable_type,omitempty"`
	ProjectId       string                `json:"project_id,omitempty"`
	CommitId        string                `json:"commit_id,omitempty"`
	Position        string                `json:"position,omitempty"`
	Resolvable      string                `json:"resolvable,omitempty"`
	Resolved        string                `json:"resolved,omitempty"`
	ResolvedBy      *ApiEntitiesUserBasic `json:"resolved_by,omitempty"`
	ResolvedAt      string                `json:"resolved_at,omitempty"`
	Confidential    string                `json:"confidential,omitempty"`
	Internal        string                `json:"internal,omitempty"`
	Imported        string                `json:"imported,omitempty"`
	ImportedFrom    string                `json:"imported_from,omitempty"`
	NoteableIid     string                `json:"noteable_iid,omitempty"`
	CommandsChanges string                `json:"commands_changes,omitempty"`
}

type ApiEntitiesNpmPackage

type ApiEntitiesNpmPackage struct {
	Name     string      `json:"name,omitempty"`
	Versions interface{} `json:"versions,omitempty"`
	DistTags interface{} `json:"dist-tags,omitempty"`
}

API_Entities_NpmPackage model

type ApiEntitiesNpmPackageTag

type ApiEntitiesNpmPackageTag struct {
	DistTags interface{} `json:"dist_tags,omitempty"`
}

API_Entities_NpmPackageTag model

type ApiEntitiesNugetDependency

type ApiEntitiesNugetDependency struct {
	Id     string `json:"@id,omitempty"`
	Type_  string `json:"@type,omitempty"`
	Range_ string `json:"range,omitempty"`
}

type ApiEntitiesNugetDependencyGroup

type ApiEntitiesNugetDependencyGroup struct {
	Id              string                       `json:"@id,omitempty"`
	Type_           string                       `json:"@type,omitempty"`
	TargetFramework string                       `json:"targetFramework,omitempty"`
	Dependencies    []ApiEntitiesNugetDependency `json:"dependencies,omitempty"`
}

type ApiEntitiesNugetPackageMetadata

type ApiEntitiesNugetPackageMetadata struct {
	Id             string                                       `json:"@id,omitempty"`
	PackageContent string                                       `json:"packageContent,omitempty"`
	CatalogEntry   *ApiEntitiesNugetPackageMetadataCatalogEntry `json:"catalogEntry,omitempty"`
}

API_Entities_Nuget_PackageMetadata model

type ApiEntitiesNugetPackageMetadataCatalogEntry

type ApiEntitiesNugetPackageMetadataCatalogEntry struct {
	Id               string                            `json:"@id,omitempty"`
	DependencyGroups []ApiEntitiesNugetDependencyGroup `json:"dependencyGroups,omitempty"`
	Version          string                            `json:"version,omitempty"`
	Tags             string                            `json:"tags,omitempty"`
	PackageContent   string                            `json:"packageContent,omitempty"`
	Authors          string                            `json:"authors,omitempty"`
	Description      string                            `json:"description,omitempty"`
	Summary          string                            `json:"summary,omitempty"`
	ProjectUrl       string                            `json:"projectUrl,omitempty"`
	LicenseUrl       string                            `json:"licenseUrl,omitempty"`
	IconUrl          string                            `json:"iconUrl,omitempty"`
	Published        string                            `json:"published,omitempty"`
}

type ApiEntitiesNugetPackagesMetadata

type ApiEntitiesNugetPackagesMetadata struct {
	Count int32                                  `json:"count,omitempty"`
	Items []ApiEntitiesNugetPackagesMetadataItem `json:"items,omitempty"`
}

API_Entities_Nuget_PackagesMetadata model

type ApiEntitiesNugetPackagesMetadataItem

type ApiEntitiesNugetPackagesMetadataItem struct {
	Id    string                            `json:"@id,omitempty"`
	Lower string                            `json:"lower,omitempty"`
	Upper string                            `json:"upper,omitempty"`
	Count int32                             `json:"count,omitempty"`
	Items []ApiEntitiesNugetPackageMetadata `json:"items,omitempty"`
}

type ApiEntitiesNugetPackagesVersions

type ApiEntitiesNugetPackagesVersions struct {
	Versions []string `json:"versions,omitempty"`
}

API_Entities_Nuget_PackagesVersions model

type ApiEntitiesNugetSearchResult

type ApiEntitiesNugetSearchResult struct {
	Type_          string                               `json:"@type,omitempty"`
	Id             string                               `json:"id,omitempty"`
	Title          string                               `json:"title,omitempty"`
	TotalDownloads int32                                `json:"totalDownloads,omitempty"`
	Verified       bool                                 `json:"verified,omitempty"`
	Version        string                               `json:"version,omitempty"`
	Versions       *ApiEntitiesNugetSearchResultVersion `json:"versions,omitempty"`
	Tags           string                               `json:"tags,omitempty"`
	Authors        string                               `json:"authors,omitempty"`
	Description    string                               `json:"description,omitempty"`
	Summary        string                               `json:"summary,omitempty"`
	ProjectUrl     string                               `json:"projectUrl,omitempty"`
	LicenseUrl     string                               `json:"licenseUrl,omitempty"`
	IconUrl        string                               `json:"iconUrl,omitempty"`
}

type ApiEntitiesNugetSearchResultVersion

type ApiEntitiesNugetSearchResultVersion struct {
	Id        string `json:"@id,omitempty"`
	Version   string `json:"version,omitempty"`
	Downloads int32  `json:"downloads,omitempty"`
}

type ApiEntitiesNugetSearchResults

type ApiEntitiesNugetSearchResults struct {
	TotalHits int32                          `json:"totalHits,omitempty"`
	Data      []ApiEntitiesNugetSearchResult `json:"data,omitempty"`
}

API_Entities_Nuget_SearchResults model

type ApiEntitiesNugetServiceIndex

type ApiEntitiesNugetServiceIndex struct {
	Version   string        `json:"version,omitempty"`
	Resources []interface{} `json:"resources,omitempty"`
}

API_Entities_Nuget_ServiceIndex model

type ApiEntitiesPackage

type ApiEntitiesPackage struct {
	Id               int32                       `json:"id,omitempty"`
	Name             string                      `json:"name,omitempty"`
	ConanPackageName string                      `json:"conan_package_name,omitempty"`
	Version          string                      `json:"version,omitempty"`
	PackageType      string                      `json:"package_type,omitempty"`
	Status           string                      `json:"status,omitempty"`
	Links            *ApiEntitiesPackageLinks    `json:"_links,omitempty"`
	CreatedAt        time.Time                   `json:"created_at,omitempty"`
	LastDownloadedAt time.Time                   `json:"last_downloaded_at,omitempty"`
	ProjectId        int32                       `json:"project_id,omitempty"`
	ProjectPath      string                      `json:"project_path,omitempty"`
	Tags             string                      `json:"tags,omitempty"`
	Pipeline         *ApiEntitiesPackagePipeline `json:"pipeline,omitempty"`
	Pipelines        *ApiEntitiesPackagePipeline `json:"pipelines,omitempty"`
	Versions         *ApiEntitiesPackageVersion  `json:"versions,omitempty"`
}

API_Entities_Package model

type ApiEntitiesPackageFile

type ApiEntitiesPackageFile struct {
	Id         int32                       `json:"id,omitempty"`
	PackageId  int32                       `json:"package_id,omitempty"`
	CreatedAt  time.Time                   `json:"created_at,omitempty"`
	FileName   string                      `json:"file_name,omitempty"`
	Size       int32                       `json:"size,omitempty"`
	FileMd5    string                      `json:"file_md5,omitempty"`
	FileSha1   string                      `json:"file_sha1,omitempty"`
	FileSha256 string                      `json:"file_sha256,omitempty"`
	Pipelines  *ApiEntitiesPackagePipeline `json:"pipelines,omitempty"`
}

API_Entities_PackageFile model

type ApiEntitiesPackageLinks struct {
	WebPath       string `json:"web_path,omitempty"`
	DeleteApiPath string `json:"delete_api_path,omitempty"`
}

type ApiEntitiesPackagePipeline

type ApiEntitiesPackagePipeline struct {
	Id        int32                 `json:"id,omitempty"`
	Iid       int32                 `json:"iid,omitempty"`
	ProjectId int32                 `json:"project_id,omitempty"`
	Sha       string                `json:"sha,omitempty"`
	Ref       string                `json:"ref,omitempty"`
	Status    string                `json:"status,omitempty"`
	Source    string                `json:"source,omitempty"`
	CreatedAt time.Time             `json:"created_at,omitempty"`
	UpdatedAt time.Time             `json:"updated_at,omitempty"`
	WebUrl    string                `json:"web_url,omitempty"`
	User      *ApiEntitiesUserBasic `json:"user,omitempty"`
}

API_Entities_Package_Pipeline model

type ApiEntitiesPackageVersion

type ApiEntitiesPackageVersion struct {
	Id        string                      `json:"id,omitempty"`
	Version   string                      `json:"version,omitempty"`
	CreatedAt string                      `json:"created_at,omitempty"`
	Tags      string                      `json:"tags,omitempty"`
	Pipeline  *ApiEntitiesPackagePipeline `json:"pipeline,omitempty"`
}

type ApiEntitiesPackagesDebianDistribution

type ApiEntitiesPackagesDebianDistribution struct {
	Id                       int32    `json:"id,omitempty"`
	Codename                 string   `json:"codename,omitempty"`
	Suite                    string   `json:"suite,omitempty"`
	Origin                   string   `json:"origin,omitempty"`
	Label                    string   `json:"label,omitempty"`
	Version                  string   `json:"version,omitempty"`
	Description              string   `json:"description,omitempty"`
	ValidTimeDurationSeconds int32    `json:"valid_time_duration_seconds,omitempty"`
	Components               []string `json:"components,omitempty"`
	Architectures            []string `json:"architectures,omitempty"`
}

API_Entities_Packages_Debian_Distribution model

type ApiEntitiesPagesDomain

type ApiEntitiesPagesDomain struct {
	Domain           string                             `json:"domain,omitempty"`
	Url              string                             `json:"url,omitempty"`
	Verified         string                             `json:"verified,omitempty"`
	VerificationCode string                             `json:"verification_code,omitempty"`
	EnabledUntil     string                             `json:"enabled_until,omitempty"`
	AutoSslEnabled   string                             `json:"auto_ssl_enabled,omitempty"`
	Certificate      *ApiEntitiesPagesDomainCertificate `json:"certificate,omitempty"`
}

API_Entities_PagesDomain model

type ApiEntitiesPagesDomainBasic

type ApiEntitiesPagesDomainBasic struct {
	Domain                string                                       `json:"domain,omitempty"`
	Url                   string                                       `json:"url,omitempty"`
	ProjectId             string                                       `json:"project_id,omitempty"`
	Verified              string                                       `json:"verified,omitempty"`
	VerificationCode      string                                       `json:"verification_code,omitempty"`
	EnabledUntil          string                                       `json:"enabled_until,omitempty"`
	AutoSslEnabled        string                                       `json:"auto_ssl_enabled,omitempty"`
	CertificateExpiration *ApiEntitiesPagesDomainCertificateExpiration `json:"certificate_expiration,omitempty"`
}

API_Entities_PagesDomainBasic model

type ApiEntitiesPagesDomainCertificate

type ApiEntitiesPagesDomainCertificate struct {
	Subject         string `json:"subject,omitempty"`
	Expired         string `json:"expired,omitempty"`
	Certificate     string `json:"certificate,omitempty"`
	CertificateText string `json:"certificate_text,omitempty"`
}

type ApiEntitiesPagesDomainCertificateExpiration

type ApiEntitiesPagesDomainCertificateExpiration struct {
	Expired    string `json:"expired,omitempty"`
	Expiration string `json:"expiration,omitempty"`
}

type ApiEntitiesPersonalAccessToken

type ApiEntitiesPersonalAccessToken struct {
	Id         int32     `json:"id,omitempty"`
	Name       string    `json:"name,omitempty"`
	Revoked    bool      `json:"revoked,omitempty"`
	CreatedAt  time.Time `json:"created_at,omitempty"`
	Scopes     []string  `json:"scopes,omitempty"`
	UserId     int32     `json:"user_id,omitempty"`
	LastUsedAt time.Time `json:"last_used_at,omitempty"`
	Active     bool      `json:"active,omitempty"`
	ExpiresAt  time.Time `json:"expires_at,omitempty"`
}

API_Entities_PersonalAccessToken model

type ApiEntitiesPersonalAccessTokenWithToken

type ApiEntitiesPersonalAccessTokenWithToken struct {
	Id         int32     `json:"id,omitempty"`
	Name       string    `json:"name,omitempty"`
	Revoked    bool      `json:"revoked,omitempty"`
	CreatedAt  time.Time `json:"created_at,omitempty"`
	Scopes     []string  `json:"scopes,omitempty"`
	UserId     int32     `json:"user_id,omitempty"`
	LastUsedAt time.Time `json:"last_used_at,omitempty"`
	Active     bool      `json:"active,omitempty"`
	ExpiresAt  time.Time `json:"expires_at,omitempty"`
	Token      string    `json:"token,omitempty"`
}

API_Entities_PersonalAccessTokenWithToken model

type ApiEntitiesPersonalSnippet

type ApiEntitiesPersonalSnippet struct {
	Id                int32                 `json:"id,omitempty"`
	Title             string                `json:"title,omitempty"`
	Description       string                `json:"description,omitempty"`
	Visibility        string                `json:"visibility,omitempty"`
	Author            *ApiEntitiesUserBasic `json:"author,omitempty"`
	CreatedAt         time.Time             `json:"created_at,omitempty"`
	UpdatedAt         time.Time             `json:"updated_at,omitempty"`
	ProjectId         int32                 `json:"project_id,omitempty"`
	WebUrl            string                `json:"web_url,omitempty"`
	RawUrl            string                `json:"raw_url,omitempty"`
	SshUrlToRepo      string                `json:"ssh_url_to_repo,omitempty"`
	HttpUrlToRepo     string                `json:"http_url_to_repo,omitempty"`
	FileName          string                `json:"file_name,omitempty"`
	Files             []string              `json:"files,omitempty"`
	Imported          bool                  `json:"imported,omitempty"`
	ImportedFrom      string                `json:"imported_from,omitempty"`
	RepositoryStorage string                `json:"repository_storage,omitempty"`
}

API_Entities_PersonalSnippet model

type ApiEntitiesPlanLimit

type ApiEntitiesPlanLimit struct {
	CiInstanceLevelVariables   int32       `json:"ci_instance_level_variables,omitempty"`
	CiPipelineSize             int32       `json:"ci_pipeline_size,omitempty"`
	CiActiveJobs               int32       `json:"ci_active_jobs,omitempty"`
	CiProjectSubscriptions     int32       `json:"ci_project_subscriptions,omitempty"`
	CiPipelineSchedules        int32       `json:"ci_pipeline_schedules,omitempty"`
	CiNeedsSizeLimit           int32       `json:"ci_needs_size_limit,omitempty"`
	CiRegisteredGroupRunners   int32       `json:"ci_registered_group_runners,omitempty"`
	CiRegisteredProjectRunners int32       `json:"ci_registered_project_runners,omitempty"`
	ConanMaxFileSize           int32       `json:"conan_max_file_size,omitempty"`
	EnforcementLimit           int32       `json:"enforcement_limit,omitempty"`
	GenericPackagesMaxFileSize int32       `json:"generic_packages_max_file_size,omitempty"`
	HelmMaxFileSize            int32       `json:"helm_max_file_size,omitempty"`
	LimitsHistory              interface{} `json:"limits_history,omitempty"`
	MavenMaxFileSize           int32       `json:"maven_max_file_size,omitempty"`
	NotificationLimit          int32       `json:"notification_limit,omitempty"`
	NpmMaxFileSize             int32       `json:"npm_max_file_size,omitempty"`
	NugetMaxFileSize           int32       `json:"nuget_max_file_size,omitempty"`
	PipelineHierarchySize      int32       `json:"pipeline_hierarchy_size,omitempty"`
	PypiMaxFileSize            int32       `json:"pypi_max_file_size,omitempty"`
	TerraformModuleMaxFileSize int32       `json:"terraform_module_max_file_size,omitempty"`
	StorageSizeLimit           int32       `json:"storage_size_limit,omitempty"`
}

API_Entities_PlanLimit model

type ApiEntitiesPlatformKubernetes

type ApiEntitiesPlatformKubernetes struct {
	ApiUrl            string `json:"api_url,omitempty"`
	Namespace         string `json:"namespace,omitempty"`
	AuthorizationType string `json:"authorization_type,omitempty"`
	CaCert            string `json:"ca_cert,omitempty"`
}

type ApiEntitiesProject

type ApiEntitiesProject struct {
	Id                                        int32                                 `json:"id,omitempty"`
	Description                               string                                `json:"description,omitempty"`
	Name                                      string                                `json:"name,omitempty"`
	NameWithNamespace                         string                                `json:"name_with_namespace,omitempty"`
	Path                                      string                                `json:"path,omitempty"`
	PathWithNamespace                         string                                `json:"path_with_namespace,omitempty"`
	CreatedAt                                 time.Time                             `json:"created_at,omitempty"`
	DefaultBranch                             string                                `json:"default_branch,omitempty"`
	TagList                                   []string                              `json:"tag_list,omitempty"`
	Topics                                    []string                              `json:"topics,omitempty"`
	SshUrlToRepo                              string                                `json:"ssh_url_to_repo,omitempty"`
	HttpUrlToRepo                             string                                `json:"http_url_to_repo,omitempty"`
	WebUrl                                    string                                `json:"web_url,omitempty"`
	ReadmeUrl                                 string                                `json:"readme_url,omitempty"`
	ForksCount                                int32                                 `json:"forks_count,omitempty"`
	LicenseUrl                                string                                `json:"license_url,omitempty"`
	License                                   *ApiEntitiesLicenseBasic              `json:"license,omitempty"`
	AvatarUrl                                 string                                `json:"avatar_url,omitempty"`
	StarCount                                 int32                                 `json:"star_count,omitempty"`
	LastActivityAt                            time.Time                             `json:"last_activity_at,omitempty"`
	Namespace                                 *ApiEntitiesNamespaceBasic            `json:"namespace,omitempty"`
	CustomAttributes                          *ApiEntitiesCustomAttribute           `json:"custom_attributes,omitempty"`
	RepositoryStorage                         string                                `json:"repository_storage,omitempty"`
	ContainerRegistryImagePrefix              string                                `json:"container_registry_image_prefix,omitempty"`
	Links                                     *ApiEntitiesProjectLinks              `json:"_links,omitempty"`
	PackagesEnabled                           bool                                  `json:"packages_enabled,omitempty"`
	EmptyRepo                                 bool                                  `json:"empty_repo,omitempty"`
	Archived                                  bool                                  `json:"archived,omitempty"`
	Visibility                                string                                `json:"visibility,omitempty"`
	Owner                                     *ApiEntitiesUserBasic                 `json:"owner,omitempty"`
	ResolveOutdatedDiffDiscussions            bool                                  `json:"resolve_outdated_diff_discussions,omitempty"`
	ContainerExpirationPolicy                 *ApiEntitiesContainerExpirationPolicy `json:"container_expiration_policy,omitempty"`
	RepositoryObjectFormat                    string                                `json:"repository_object_format,omitempty"`
	IssuesEnabled                             bool                                  `json:"issues_enabled,omitempty"`
	MergeRequestsEnabled                      bool                                  `json:"merge_requests_enabled,omitempty"`
	WikiEnabled                               bool                                  `json:"wiki_enabled,omitempty"`
	JobsEnabled                               bool                                  `json:"jobs_enabled,omitempty"`
	SnippetsEnabled                           bool                                  `json:"snippets_enabled,omitempty"`
	ContainerRegistryEnabled                  bool                                  `json:"container_registry_enabled,omitempty"`
	ServiceDeskEnabled                        bool                                  `json:"service_desk_enabled,omitempty"`
	ServiceDeskAddress                        string                                `json:"service_desk_address,omitempty"`
	CanCreateMergeRequestIn                   bool                                  `json:"can_create_merge_request_in,omitempty"`
	IssuesAccessLevel                         string                                `json:"issues_access_level,omitempty"`
	RepositoryAccessLevel                     string                                `json:"repository_access_level,omitempty"`
	MergeRequestsAccessLevel                  string                                `json:"merge_requests_access_level,omitempty"`
	ForkingAccessLevel                        string                                `json:"forking_access_level,omitempty"`
	WikiAccessLevel                           string                                `json:"wiki_access_level,omitempty"`
	BuildsAccessLevel                         string                                `json:"builds_access_level,omitempty"`
	SnippetsAccessLevel                       string                                `json:"snippets_access_level,omitempty"`
	PagesAccessLevel                          string                                `json:"pages_access_level,omitempty"`
	AnalyticsAccessLevel                      string                                `json:"analytics_access_level,omitempty"`
	ContainerRegistryAccessLevel              string                                `json:"container_registry_access_level,omitempty"`
	SecurityAndComplianceAccessLevel          string                                `json:"security_and_compliance_access_level,omitempty"`
	ReleasesAccessLevel                       string                                `json:"releases_access_level,omitempty"`
	EnvironmentsAccessLevel                   string                                `json:"environments_access_level,omitempty"`
	FeatureFlagsAccessLevel                   string                                `json:"feature_flags_access_level,omitempty"`
	InfrastructureAccessLevel                 string                                `json:"infrastructure_access_level,omitempty"`
	MonitorAccessLevel                        string                                `json:"monitor_access_level,omitempty"`
	ModelExperimentsAccessLevel               string                                `json:"model_experiments_access_level,omitempty"`
	ModelRegistryAccessLevel                  string                                `json:"model_registry_access_level,omitempty"`
	EmailsDisabled                            bool                                  `json:"emails_disabled,omitempty"`
	EmailsEnabled                             bool                                  `json:"emails_enabled,omitempty"`
	SharedRunnersEnabled                      bool                                  `json:"shared_runners_enabled,omitempty"`
	LfsEnabled                                bool                                  `json:"lfs_enabled,omitempty"`
	CreatorId                                 int32                                 `json:"creator_id,omitempty"`
	ForkedFromProject                         *ApiEntitiesBasicProjectDetails       `json:"forked_from_project,omitempty"`
	MrDefaultTargetSelf                       bool                                  `json:"mr_default_target_self,omitempty"`
	ImportUrl                                 string                                `json:"import_url,omitempty"`
	ImportType                                string                                `json:"import_type,omitempty"`
	ImportStatus                              string                                `json:"import_status,omitempty"`
	ImportError                               string                                `json:"import_error,omitempty"`
	OpenIssuesCount                           int32                                 `json:"open_issues_count,omitempty"`
	DescriptionHtml                           string                                `json:"description_html,omitempty"`
	UpdatedAt                                 time.Time                             `json:"updated_at,omitempty"`
	CiDefaultGitDepth                         int32                                 `json:"ci_default_git_depth,omitempty"`
	CiForwardDeploymentEnabled                bool                                  `json:"ci_forward_deployment_enabled,omitempty"`
	CiForwardDeploymentRollbackAllowed        bool                                  `json:"ci_forward_deployment_rollback_allowed,omitempty"`
	CiJobTokenScopeEnabled                    bool                                  `json:"ci_job_token_scope_enabled,omitempty"`
	CiSeparatedCaches                         bool                                  `json:"ci_separated_caches,omitempty"`
	CiAllowForkPipelinesToRunInParentProject  bool                                  `json:"ci_allow_fork_pipelines_to_run_in_parent_project,omitempty"`
	BuildGitStrategy                          string                                `json:"build_git_strategy,omitempty"`
	KeepLatestArtifact                        bool                                  `json:"keep_latest_artifact,omitempty"`
	RestrictUserDefinedVariables              bool                                  `json:"restrict_user_defined_variables,omitempty"`
	CiPipelineVariablesMinimumOverrideRole    string                                `json:"ci_pipeline_variables_minimum_override_role,omitempty"`
	RunnersToken                              string                                `json:"runners_token,omitempty"`
	RunnerTokenExpirationInterval             int32                                 `json:"runner_token_expiration_interval,omitempty"`
	GroupRunnersEnabled                       bool                                  `json:"group_runners_enabled,omitempty"`
	AutoCancelPendingPipelines                string                                `json:"auto_cancel_pending_pipelines,omitempty"`
	BuildTimeout                              int32                                 `json:"build_timeout,omitempty"`
	AutoDevopsEnabled                         bool                                  `json:"auto_devops_enabled,omitempty"`
	AutoDevopsDeployStrategy                  string                                `json:"auto_devops_deploy_strategy,omitempty"`
	CiConfigPath                              string                                `json:"ci_config_path,omitempty"`
	PublicJobs                                bool                                  `json:"public_jobs,omitempty"`
	SharedWithGroups                          []string                              `json:"shared_with_groups,omitempty"`
	OnlyAllowMergeIfPipelineSucceeds          bool                                  `json:"only_allow_merge_if_pipeline_succeeds,omitempty"`
	AllowMergeOnSkippedPipeline               bool                                  `json:"allow_merge_on_skipped_pipeline,omitempty"`
	RequestAccessEnabled                      bool                                  `json:"request_access_enabled,omitempty"`
	OnlyAllowMergeIfAllDiscussionsAreResolved bool                                  `json:"only_allow_merge_if_all_discussions_are_resolved,omitempty"`
	RemoveSourceBranchAfterMerge              bool                                  `json:"remove_source_branch_after_merge,omitempty"`
	PrintingMergeRequestLinkEnabled           bool                                  `json:"printing_merge_request_link_enabled,omitempty"`
	MergeMethod                               string                                `json:"merge_method,omitempty"`
	SquashOption                              string                                `json:"squash_option,omitempty"`
	EnforceAuthChecksOnUploads                bool                                  `json:"enforce_auth_checks_on_uploads,omitempty"`
	SuggestionCommitMessage                   string                                `json:"suggestion_commit_message,omitempty"`
	MergeCommitTemplate                       string                                `json:"merge_commit_template,omitempty"`
	SquashCommitTemplate                      string                                `json:"squash_commit_template,omitempty"`
	IssueBranchTemplate                       string                                `json:"issue_branch_template,omitempty"`
	Statistics                                *ApiEntitiesProjectStatistics         `json:"statistics,omitempty"`
	WarnAboutPotentiallyUnwantedCharacters    bool                                  `json:"warn_about_potentially_unwanted_characters,omitempty"`
	AutocloseReferencedIssues                 bool                                  `json:"autoclose_referenced_issues,omitempty"`
	ApprovalsBeforeMerge                      string                                `json:"approvals_before_merge,omitempty"`
	Mirror                                    string                                `json:"mirror,omitempty"`
	MirrorUserId                              string                                `json:"mirror_user_id,omitempty"`
	MirrorTriggerBuilds                       string                                `json:"mirror_trigger_builds,omitempty"`
	OnlyMirrorProtectedBranches               string                                `json:"only_mirror_protected_branches,omitempty"`
	MirrorOverwritesDivergedBranches          string                                `json:"mirror_overwrites_diverged_branches,omitempty"`
	ExternalAuthorizationClassificationLabel  string                                `json:"external_authorization_classification_label,omitempty"`
	MarkedForDeletionAt                       string                                `json:"marked_for_deletion_at,omitempty"`
	MarkedForDeletionOn                       string                                `json:"marked_for_deletion_on,omitempty"`
	RequirementsEnabled                       string                                `json:"requirements_enabled,omitempty"`
	RequirementsAccessLevel                   string                                `json:"requirements_access_level,omitempty"`
	SecurityAndComplianceEnabled              string                                `json:"security_and_compliance_enabled,omitempty"`
	ComplianceFrameworks                      string                                `json:"compliance_frameworks,omitempty"`
	IssuesTemplate                            string                                `json:"issues_template,omitempty"`
	MergeRequestsTemplate                     string                                `json:"merge_requests_template,omitempty"`
	CiRestrictPipelineCancellationRole        string                                `json:"ci_restrict_pipeline_cancellation_role,omitempty"`
	MergePipelinesEnabled                     string                                `json:"merge_pipelines_enabled,omitempty"`
	MergeTrainsEnabled                        string                                `json:"merge_trains_enabled,omitempty"`
	MergeTrainsSkipTrainAllowed               string                                `json:"merge_trains_skip_train_allowed,omitempty"`
	OnlyAllowMergeIfAllStatusChecksPassed     string                                `json:"only_allow_merge_if_all_status_checks_passed,omitempty"`
	AllowPipelineTriggerApproveDeployment     bool                                  `json:"allow_pipeline_trigger_approve_deployment,omitempty"`
	PreventMergeWithoutJiraIssue              string                                `json:"prevent_merge_without_jira_issue,omitempty"`
}

API_Entities_Project model

type ApiEntitiesProjectAccess

type ApiEntitiesProjectAccess struct {
	AccessLevel       string `json:"access_level,omitempty"`
	NotificationLevel string `json:"notification_level,omitempty"`
}

type ApiEntitiesProjectDailyFetches

type ApiEntitiesProjectDailyFetches struct {
	Count int32  `json:"count,omitempty"`
	Date  string `json:"date,omitempty"`
}

type ApiEntitiesProjectDailyStatistics

type ApiEntitiesProjectDailyStatistics struct {
	Fetches *ApiEntitiesProjectDailyStatisticsFetches `json:"fetches,omitempty"`
}

API_Entities_ProjectDailyStatistics model

type ApiEntitiesProjectDailyStatisticsFetches

type ApiEntitiesProjectDailyStatisticsFetches struct {
	Total int32                            `json:"total,omitempty"`
	Days  []ApiEntitiesProjectDailyFetches `json:"days,omitempty"`
}

type ApiEntitiesProjectExportStatus

type ApiEntitiesProjectExportStatus struct {
	Id                int32                                `json:"id,omitempty"`
	Description       string                               `json:"description,omitempty"`
	Name              string                               `json:"name,omitempty"`
	NameWithNamespace string                               `json:"name_with_namespace,omitempty"`
	Path              string                               `json:"path,omitempty"`
	PathWithNamespace string                               `json:"path_with_namespace,omitempty"`
	CreatedAt         time.Time                            `json:"created_at,omitempty"`
	ExportStatus      string                               `json:"export_status,omitempty"`
	Links             *ApiEntitiesProjectExportStatusLinks `json:"_links,omitempty"`
}

API_Entities_ProjectExportStatus model

type ApiEntitiesProjectExportStatusLinks struct {
	ApiUrl string `json:"api_url,omitempty"`
	WebUrl string `json:"web_url,omitempty"`
}
type ApiEntitiesProjectGroupLink struct {
	Id          int32  `json:"id,omitempty"`
	ProjectId   int32  `json:"project_id,omitempty"`
	GroupId     int32  `json:"group_id,omitempty"`
	GroupAccess int32  `json:"group_access,omitempty"`
	ExpiresAt   string `json:"expires_at,omitempty"`
}

API_Entities_ProjectGroupLink model

type ApiEntitiesProjectHook

type ApiEntitiesProjectHook struct {
	Id                        string        `json:"id,omitempty"`
	Url                       string        `json:"url,omitempty"`
	Name                      string        `json:"name,omitempty"`
	Description               string        `json:"description,omitempty"`
	CreatedAt                 time.Time     `json:"created_at,omitempty"`
	PushEvents                bool          `json:"push_events,omitempty"`
	TagPushEvents             bool          `json:"tag_push_events,omitempty"`
	MergeRequestsEvents       bool          `json:"merge_requests_events,omitempty"`
	RepositoryUpdateEvents    bool          `json:"repository_update_events,omitempty"`
	EnableSslVerification     bool          `json:"enable_ssl_verification,omitempty"`
	DisabledUntil             time.Time     `json:"disabled_until,omitempty"`
	UrlVariables              []interface{} `json:"url_variables,omitempty"`
	CustomWebhookTemplate     string        `json:"custom_webhook_template,omitempty"`
	ProjectId                 string        `json:"project_id,omitempty"`
	IssuesEvents              bool          `json:"issues_events,omitempty"`
	ConfidentialIssuesEvents  bool          `json:"confidential_issues_events,omitempty"`
	NoteEvents                bool          `json:"note_events,omitempty"`
	ConfidentialNoteEvents    bool          `json:"confidential_note_events,omitempty"`
	PipelineEvents            bool          `json:"pipeline_events,omitempty"`
	WikiPageEvents            bool          `json:"wiki_page_events,omitempty"`
	DeploymentEvents          bool          `json:"deployment_events,omitempty"`
	JobEvents                 bool          `json:"job_events,omitempty"`
	ReleasesEvents            bool          `json:"releases_events,omitempty"`
	PushEventsBranchFilter    string        `json:"push_events_branch_filter,omitempty"`
	EmojiEvents               bool          `json:"emoji_events,omitempty"`
	ResourceAccessTokenEvents bool          `json:"resource_access_token_events,omitempty"`
}

API_Entities_ProjectHook model

type ApiEntitiesProjectIdentity

type ApiEntitiesProjectIdentity struct {
	Id                int32     `json:"id,omitempty"`
	Description       string    `json:"description,omitempty"`
	Name              string    `json:"name,omitempty"`
	NameWithNamespace string    `json:"name_with_namespace,omitempty"`
	Path              string    `json:"path,omitempty"`
	PathWithNamespace string    `json:"path_with_namespace,omitempty"`
	CreatedAt         time.Time `json:"created_at,omitempty"`
}

type ApiEntitiesProjectImportFailedRelation

type ApiEntitiesProjectImportFailedRelation struct {
	Id               string    `json:"id,omitempty"`
	CreatedAt        time.Time `json:"created_at,omitempty"`
	ExceptionClass   string    `json:"exception_class,omitempty"`
	Source           string    `json:"source,omitempty"`
	ExceptionMessage string    `json:"exception_message,omitempty"`
	RelationName     string    `json:"relation_name,omitempty"`
	LineNumber       int32     `json:"line_number,omitempty"`
}

type ApiEntitiesProjectImportStatus

type ApiEntitiesProjectImportStatus struct {
	Id                int32                                    `json:"id,omitempty"`
	Description       string                                   `json:"description,omitempty"`
	Name              string                                   `json:"name,omitempty"`
	NameWithNamespace string                                   `json:"name_with_namespace,omitempty"`
	Path              string                                   `json:"path,omitempty"`
	PathWithNamespace string                                   `json:"path_with_namespace,omitempty"`
	CreatedAt         time.Time                                `json:"created_at,omitempty"`
	ImportStatus      string                                   `json:"import_status,omitempty"`
	ImportType        string                                   `json:"import_type,omitempty"`
	CorrelationId     string                                   `json:"correlation_id,omitempty"`
	FailedRelations   []ApiEntitiesProjectImportFailedRelation `json:"failed_relations,omitempty"`
	ImportError       string                                   `json:"import_error,omitempty"`
	Stats             interface{}                              `json:"stats,omitempty"`
}

API_Entities_ProjectImportStatus model

type ApiEntitiesProjectIntegration

type ApiEntitiesProjectIntegration struct {
	Id                       int32       `json:"id,omitempty"`
	Title                    string      `json:"title,omitempty"`
	Slug                     int32       `json:"slug,omitempty"`
	CreatedAt                time.Time   `json:"created_at,omitempty"`
	UpdatedAt                time.Time   `json:"updated_at,omitempty"`
	Active                   bool        `json:"active,omitempty"`
	CommitEvents             bool        `json:"commit_events,omitempty"`
	PushEvents               bool        `json:"push_events,omitempty"`
	IssuesEvents             bool        `json:"issues_events,omitempty"`
	IncidentEvents           bool        `json:"incident_events,omitempty"`
	AlertEvents              bool        `json:"alert_events,omitempty"`
	ConfidentialIssuesEvents bool        `json:"confidential_issues_events,omitempty"`
	MergeRequestsEvents      bool        `json:"merge_requests_events,omitempty"`
	TagPushEvents            bool        `json:"tag_push_events,omitempty"`
	DeploymentEvents         bool        `json:"deployment_events,omitempty"`
	NoteEvents               bool        `json:"note_events,omitempty"`
	ConfidentialNoteEvents   bool        `json:"confidential_note_events,omitempty"`
	PipelineEvents           bool        `json:"pipeline_events,omitempty"`
	WikiPageEvents           bool        `json:"wiki_page_events,omitempty"`
	JobEvents                bool        `json:"job_events,omitempty"`
	CommentOnEventEnabled    bool        `json:"comment_on_event_enabled,omitempty"`
	VulnerabilityEvents      bool        `json:"vulnerability_events,omitempty"`
	Properties               interface{} `json:"properties,omitempty"`
}

API_Entities_ProjectIntegration model

type ApiEntitiesProjectIntegrationBasic

type ApiEntitiesProjectIntegrationBasic struct {
	Id                       int32     `json:"id,omitempty"`
	Title                    string    `json:"title,omitempty"`
	Slug                     int32     `json:"slug,omitempty"`
	CreatedAt                time.Time `json:"created_at,omitempty"`
	UpdatedAt                time.Time `json:"updated_at,omitempty"`
	Active                   bool      `json:"active,omitempty"`
	CommitEvents             bool      `json:"commit_events,omitempty"`
	PushEvents               bool      `json:"push_events,omitempty"`
	IssuesEvents             bool      `json:"issues_events,omitempty"`
	IncidentEvents           bool      `json:"incident_events,omitempty"`
	AlertEvents              bool      `json:"alert_events,omitempty"`
	ConfidentialIssuesEvents bool      `json:"confidential_issues_events,omitempty"`
	MergeRequestsEvents      bool      `json:"merge_requests_events,omitempty"`
	TagPushEvents            bool      `json:"tag_push_events,omitempty"`
	DeploymentEvents         bool      `json:"deployment_events,omitempty"`
	NoteEvents               bool      `json:"note_events,omitempty"`
	ConfidentialNoteEvents   bool      `json:"confidential_note_events,omitempty"`
	PipelineEvents           bool      `json:"pipeline_events,omitempty"`
	WikiPageEvents           bool      `json:"wiki_page_events,omitempty"`
	JobEvents                bool      `json:"job_events,omitempty"`
	CommentOnEventEnabled    bool      `json:"comment_on_event_enabled,omitempty"`
	VulnerabilityEvents      bool      `json:"vulnerability_events,omitempty"`
}

API_Entities_ProjectIntegrationBasic model

type ApiEntitiesProjectJobTokenScope

type ApiEntitiesProjectJobTokenScope struct {
	InboundEnabled  bool `json:"inbound_enabled,omitempty"`
	OutboundEnabled bool `json:"outbound_enabled,omitempty"`
}

API_Entities_ProjectJobTokenScope model

type ApiEntitiesProjectLinks struct {
	Self          string `json:"self,omitempty"`
	Issues        string `json:"issues,omitempty"`
	MergeRequests string `json:"merge_requests,omitempty"`
	RepoBranches  string `json:"repo_branches,omitempty"`
	Labels        string `json:"labels,omitempty"`
	Events        string `json:"events,omitempty"`
	Members       string `json:"members,omitempty"`
	ClusterAgents string `json:"cluster_agents,omitempty"`
}

type ApiEntitiesProjectRepositoryStorage

type ApiEntitiesProjectRepositoryStorage struct {
	DiskPath          string    `json:"disk_path,omitempty"`
	ProjectId         int32     `json:"project_id,omitempty"`
	RepositoryStorage string    `json:"repository_storage,omitempty"`
	CreatedAt         time.Time `json:"created_at,omitempty"`
}

API_Entities_ProjectRepositoryStorage model

type ApiEntitiesProjectSnippet

type ApiEntitiesProjectSnippet struct {
	Id                int32                 `json:"id,omitempty"`
	Title             string                `json:"title,omitempty"`
	Description       string                `json:"description,omitempty"`
	Visibility        string                `json:"visibility,omitempty"`
	Author            *ApiEntitiesUserBasic `json:"author,omitempty"`
	CreatedAt         time.Time             `json:"created_at,omitempty"`
	UpdatedAt         time.Time             `json:"updated_at,omitempty"`
	ProjectId         int32                 `json:"project_id,omitempty"`
	WebUrl            string                `json:"web_url,omitempty"`
	RawUrl            string                `json:"raw_url,omitempty"`
	SshUrlToRepo      string                `json:"ssh_url_to_repo,omitempty"`
	HttpUrlToRepo     string                `json:"http_url_to_repo,omitempty"`
	FileName          string                `json:"file_name,omitempty"`
	Files             []string              `json:"files,omitempty"`
	Imported          bool                  `json:"imported,omitempty"`
	ImportedFrom      string                `json:"imported_from,omitempty"`
	RepositoryStorage string                `json:"repository_storage,omitempty"`
}

API_Entities_ProjectSnippet model

type ApiEntitiesProjectStatistics

type ApiEntitiesProjectStatistics struct {
	CommitCount           string `json:"commit_count,omitempty"`
	StorageSize           string `json:"storage_size,omitempty"`
	RepositorySize        string `json:"repository_size,omitempty"`
	WikiSize              string `json:"wiki_size,omitempty"`
	LfsObjectsSize        string `json:"lfs_objects_size,omitempty"`
	JobArtifactsSize      string `json:"job_artifacts_size,omitempty"`
	PipelineArtifactsSize string `json:"pipeline_artifacts_size,omitempty"`
	PackagesSize          string `json:"packages_size,omitempty"`
	SnippetsSize          string `json:"snippets_size,omitempty"`
	UploadsSize           string `json:"uploads_size,omitempty"`
	ContainerRegistrySize string `json:"container_registry_size,omitempty"`
}

type ApiEntitiesProjectUpload

type ApiEntitiesProjectUpload struct {
	Alt      string `json:"alt,omitempty"`
	Url      string `json:"url,omitempty"`
	FullPath string `json:"full_path,omitempty"`
	Markdown string `json:"markdown,omitempty"`
}

API_Entities_ProjectUpload model

type ApiEntitiesProjectWithAccess

type ApiEntitiesProjectWithAccess struct {
	Id                                        int32                                    `json:"id,omitempty"`
	Description                               string                                   `json:"description,omitempty"`
	Name                                      string                                   `json:"name,omitempty"`
	NameWithNamespace                         string                                   `json:"name_with_namespace,omitempty"`
	Path                                      string                                   `json:"path,omitempty"`
	PathWithNamespace                         string                                   `json:"path_with_namespace,omitempty"`
	CreatedAt                                 time.Time                                `json:"created_at,omitempty"`
	DefaultBranch                             string                                   `json:"default_branch,omitempty"`
	TagList                                   []string                                 `json:"tag_list,omitempty"`
	Topics                                    []string                                 `json:"topics,omitempty"`
	SshUrlToRepo                              string                                   `json:"ssh_url_to_repo,omitempty"`
	HttpUrlToRepo                             string                                   `json:"http_url_to_repo,omitempty"`
	WebUrl                                    string                                   `json:"web_url,omitempty"`
	ReadmeUrl                                 string                                   `json:"readme_url,omitempty"`
	ForksCount                                int32                                    `json:"forks_count,omitempty"`
	LicenseUrl                                string                                   `json:"license_url,omitempty"`
	License                                   *ApiEntitiesLicenseBasic                 `json:"license,omitempty"`
	AvatarUrl                                 string                                   `json:"avatar_url,omitempty"`
	StarCount                                 int32                                    `json:"star_count,omitempty"`
	LastActivityAt                            time.Time                                `json:"last_activity_at,omitempty"`
	Namespace                                 *ApiEntitiesNamespaceBasic               `json:"namespace,omitempty"`
	CustomAttributes                          *ApiEntitiesCustomAttribute              `json:"custom_attributes,omitempty"`
	RepositoryStorage                         string                                   `json:"repository_storage,omitempty"`
	ContainerRegistryImagePrefix              string                                   `json:"container_registry_image_prefix,omitempty"`
	Links                                     *ApiEntitiesProjectLinks                 `json:"_links,omitempty"`
	PackagesEnabled                           bool                                     `json:"packages_enabled,omitempty"`
	EmptyRepo                                 bool                                     `json:"empty_repo,omitempty"`
	Archived                                  bool                                     `json:"archived,omitempty"`
	Visibility                                string                                   `json:"visibility,omitempty"`
	Owner                                     *ApiEntitiesUserBasic                    `json:"owner,omitempty"`
	ResolveOutdatedDiffDiscussions            bool                                     `json:"resolve_outdated_diff_discussions,omitempty"`
	ContainerExpirationPolicy                 *ApiEntitiesContainerExpirationPolicy    `json:"container_expiration_policy,omitempty"`
	RepositoryObjectFormat                    string                                   `json:"repository_object_format,omitempty"`
	IssuesEnabled                             bool                                     `json:"issues_enabled,omitempty"`
	MergeRequestsEnabled                      bool                                     `json:"merge_requests_enabled,omitempty"`
	WikiEnabled                               bool                                     `json:"wiki_enabled,omitempty"`
	JobsEnabled                               bool                                     `json:"jobs_enabled,omitempty"`
	SnippetsEnabled                           bool                                     `json:"snippets_enabled,omitempty"`
	ContainerRegistryEnabled                  bool                                     `json:"container_registry_enabled,omitempty"`
	ServiceDeskEnabled                        bool                                     `json:"service_desk_enabled,omitempty"`
	ServiceDeskAddress                        string                                   `json:"service_desk_address,omitempty"`
	CanCreateMergeRequestIn                   bool                                     `json:"can_create_merge_request_in,omitempty"`
	IssuesAccessLevel                         string                                   `json:"issues_access_level,omitempty"`
	RepositoryAccessLevel                     string                                   `json:"repository_access_level,omitempty"`
	MergeRequestsAccessLevel                  string                                   `json:"merge_requests_access_level,omitempty"`
	ForkingAccessLevel                        string                                   `json:"forking_access_level,omitempty"`
	WikiAccessLevel                           string                                   `json:"wiki_access_level,omitempty"`
	BuildsAccessLevel                         string                                   `json:"builds_access_level,omitempty"`
	SnippetsAccessLevel                       string                                   `json:"snippets_access_level,omitempty"`
	PagesAccessLevel                          string                                   `json:"pages_access_level,omitempty"`
	AnalyticsAccessLevel                      string                                   `json:"analytics_access_level,omitempty"`
	ContainerRegistryAccessLevel              string                                   `json:"container_registry_access_level,omitempty"`
	SecurityAndComplianceAccessLevel          string                                   `json:"security_and_compliance_access_level,omitempty"`
	ReleasesAccessLevel                       string                                   `json:"releases_access_level,omitempty"`
	EnvironmentsAccessLevel                   string                                   `json:"environments_access_level,omitempty"`
	FeatureFlagsAccessLevel                   string                                   `json:"feature_flags_access_level,omitempty"`
	InfrastructureAccessLevel                 string                                   `json:"infrastructure_access_level,omitempty"`
	MonitorAccessLevel                        string                                   `json:"monitor_access_level,omitempty"`
	ModelExperimentsAccessLevel               string                                   `json:"model_experiments_access_level,omitempty"`
	ModelRegistryAccessLevel                  string                                   `json:"model_registry_access_level,omitempty"`
	EmailsDisabled                            bool                                     `json:"emails_disabled,omitempty"`
	EmailsEnabled                             bool                                     `json:"emails_enabled,omitempty"`
	SharedRunnersEnabled                      bool                                     `json:"shared_runners_enabled,omitempty"`
	LfsEnabled                                bool                                     `json:"lfs_enabled,omitempty"`
	CreatorId                                 int32                                    `json:"creator_id,omitempty"`
	ForkedFromProject                         *ApiEntitiesBasicProjectDetails          `json:"forked_from_project,omitempty"`
	MrDefaultTargetSelf                       bool                                     `json:"mr_default_target_self,omitempty"`
	ImportUrl                                 string                                   `json:"import_url,omitempty"`
	ImportType                                string                                   `json:"import_type,omitempty"`
	ImportStatus                              string                                   `json:"import_status,omitempty"`
	ImportError                               string                                   `json:"import_error,omitempty"`
	OpenIssuesCount                           int32                                    `json:"open_issues_count,omitempty"`
	DescriptionHtml                           string                                   `json:"description_html,omitempty"`
	UpdatedAt                                 time.Time                                `json:"updated_at,omitempty"`
	CiDefaultGitDepth                         int32                                    `json:"ci_default_git_depth,omitempty"`
	CiForwardDeploymentEnabled                bool                                     `json:"ci_forward_deployment_enabled,omitempty"`
	CiForwardDeploymentRollbackAllowed        bool                                     `json:"ci_forward_deployment_rollback_allowed,omitempty"`
	CiJobTokenScopeEnabled                    bool                                     `json:"ci_job_token_scope_enabled,omitempty"`
	CiSeparatedCaches                         bool                                     `json:"ci_separated_caches,omitempty"`
	CiAllowForkPipelinesToRunInParentProject  bool                                     `json:"ci_allow_fork_pipelines_to_run_in_parent_project,omitempty"`
	BuildGitStrategy                          string                                   `json:"build_git_strategy,omitempty"`
	KeepLatestArtifact                        bool                                     `json:"keep_latest_artifact,omitempty"`
	RestrictUserDefinedVariables              bool                                     `json:"restrict_user_defined_variables,omitempty"`
	CiPipelineVariablesMinimumOverrideRole    string                                   `json:"ci_pipeline_variables_minimum_override_role,omitempty"`
	RunnersToken                              string                                   `json:"runners_token,omitempty"`
	RunnerTokenExpirationInterval             int32                                    `json:"runner_token_expiration_interval,omitempty"`
	GroupRunnersEnabled                       bool                                     `json:"group_runners_enabled,omitempty"`
	AutoCancelPendingPipelines                string                                   `json:"auto_cancel_pending_pipelines,omitempty"`
	BuildTimeout                              int32                                    `json:"build_timeout,omitempty"`
	AutoDevopsEnabled                         bool                                     `json:"auto_devops_enabled,omitempty"`
	AutoDevopsDeployStrategy                  string                                   `json:"auto_devops_deploy_strategy,omitempty"`
	CiConfigPath                              string                                   `json:"ci_config_path,omitempty"`
	PublicJobs                                bool                                     `json:"public_jobs,omitempty"`
	SharedWithGroups                          []string                                 `json:"shared_with_groups,omitempty"`
	OnlyAllowMergeIfPipelineSucceeds          bool                                     `json:"only_allow_merge_if_pipeline_succeeds,omitempty"`
	AllowMergeOnSkippedPipeline               bool                                     `json:"allow_merge_on_skipped_pipeline,omitempty"`
	RequestAccessEnabled                      bool                                     `json:"request_access_enabled,omitempty"`
	OnlyAllowMergeIfAllDiscussionsAreResolved bool                                     `json:"only_allow_merge_if_all_discussions_are_resolved,omitempty"`
	RemoveSourceBranchAfterMerge              bool                                     `json:"remove_source_branch_after_merge,omitempty"`
	PrintingMergeRequestLinkEnabled           bool                                     `json:"printing_merge_request_link_enabled,omitempty"`
	MergeMethod                               string                                   `json:"merge_method,omitempty"`
	SquashOption                              string                                   `json:"squash_option,omitempty"`
	EnforceAuthChecksOnUploads                bool                                     `json:"enforce_auth_checks_on_uploads,omitempty"`
	SuggestionCommitMessage                   string                                   `json:"suggestion_commit_message,omitempty"`
	MergeCommitTemplate                       string                                   `json:"merge_commit_template,omitempty"`
	SquashCommitTemplate                      string                                   `json:"squash_commit_template,omitempty"`
	IssueBranchTemplate                       string                                   `json:"issue_branch_template,omitempty"`
	Statistics                                *ApiEntitiesProjectStatistics            `json:"statistics,omitempty"`
	WarnAboutPotentiallyUnwantedCharacters    bool                                     `json:"warn_about_potentially_unwanted_characters,omitempty"`
	AutocloseReferencedIssues                 bool                                     `json:"autoclose_referenced_issues,omitempty"`
	ApprovalsBeforeMerge                      string                                   `json:"approvals_before_merge,omitempty"`
	Mirror                                    string                                   `json:"mirror,omitempty"`
	MirrorUserId                              string                                   `json:"mirror_user_id,omitempty"`
	MirrorTriggerBuilds                       string                                   `json:"mirror_trigger_builds,omitempty"`
	OnlyMirrorProtectedBranches               string                                   `json:"only_mirror_protected_branches,omitempty"`
	MirrorOverwritesDivergedBranches          string                                   `json:"mirror_overwrites_diverged_branches,omitempty"`
	ExternalAuthorizationClassificationLabel  string                                   `json:"external_authorization_classification_label,omitempty"`
	MarkedForDeletionAt                       string                                   `json:"marked_for_deletion_at,omitempty"`
	MarkedForDeletionOn                       string                                   `json:"marked_for_deletion_on,omitempty"`
	RequirementsEnabled                       string                                   `json:"requirements_enabled,omitempty"`
	RequirementsAccessLevel                   string                                   `json:"requirements_access_level,omitempty"`
	SecurityAndComplianceEnabled              string                                   `json:"security_and_compliance_enabled,omitempty"`
	ComplianceFrameworks                      string                                   `json:"compliance_frameworks,omitempty"`
	IssuesTemplate                            string                                   `json:"issues_template,omitempty"`
	MergeRequestsTemplate                     string                                   `json:"merge_requests_template,omitempty"`
	CiRestrictPipelineCancellationRole        string                                   `json:"ci_restrict_pipeline_cancellation_role,omitempty"`
	MergePipelinesEnabled                     string                                   `json:"merge_pipelines_enabled,omitempty"`
	MergeTrainsEnabled                        string                                   `json:"merge_trains_enabled,omitempty"`
	MergeTrainsSkipTrainAllowed               string                                   `json:"merge_trains_skip_train_allowed,omitempty"`
	OnlyAllowMergeIfAllStatusChecksPassed     string                                   `json:"only_allow_merge_if_all_status_checks_passed,omitempty"`
	AllowPipelineTriggerApproveDeployment     bool                                     `json:"allow_pipeline_trigger_approve_deployment,omitempty"`
	PreventMergeWithoutJiraIssue              string                                   `json:"prevent_merge_without_jira_issue,omitempty"`
	Permissions                               *ApiEntitiesProjectWithAccessPermissions `json:"permissions,omitempty"`
}

API_Entities_ProjectWithAccess model

type ApiEntitiesProjectWithAccessPermissions

type ApiEntitiesProjectWithAccessPermissions struct {
	ProjectAccess *ApiEntitiesProjectAccess `json:"project_access,omitempty"`
	GroupAccess   *ApiEntitiesGroupAccess   `json:"group_access,omitempty"`
}

type ApiEntitiesProjectsRepositoryStorageMove

type ApiEntitiesProjectsRepositoryStorageMove struct {
	Id                     int32                       `json:"id,omitempty"`
	CreatedAt              time.Time                   `json:"created_at,omitempty"`
	State                  string                      `json:"state,omitempty"`
	SourceStorageName      string                      `json:"source_storage_name,omitempty"`
	DestinationStorageName string                      `json:"destination_storage_name,omitempty"`
	ErrorMessage           string                      `json:"error_message,omitempty"`
	Project                *ApiEntitiesProjectIdentity `json:"project,omitempty"`
}

API_Entities_Projects_RepositoryStorageMove model

type ApiEntitiesProjectsTopic

type ApiEntitiesProjectsTopic struct {
	Id                 string `json:"id,omitempty"`
	Name               string `json:"name,omitempty"`
	Title              string `json:"title,omitempty"`
	Description        string `json:"description,omitempty"`
	TotalProjectsCount string `json:"total_projects_count,omitempty"`
	AvatarUrl          string `json:"avatar_url,omitempty"`
}

API_Entities_Projects_Topic model

type ApiEntitiesProtectedBranch

type ApiEntitiesProtectedBranch struct {
	Id                        int32                           `json:"id,omitempty"`
	Name                      string                          `json:"name,omitempty"`
	PushAccessLevels          []ApiEntitiesProtectedRefAccess `json:"push_access_levels,omitempty"`
	MergeAccessLevels         []ApiEntitiesProtectedRefAccess `json:"merge_access_levels,omitempty"`
	AllowForcePush            bool                            `json:"allow_force_push,omitempty"`
	UnprotectAccessLevels     []ApiEntitiesProtectedRefAccess `json:"unprotect_access_levels,omitempty"`
	CodeOwnerApprovalRequired bool                            `json:"code_owner_approval_required,omitempty"`
	Inherited                 bool                            `json:"inherited,omitempty"`
}

API_Entities_ProtectedBranch model

type ApiEntitiesProtectedEnvironmentsApprovalRuleForSummary

type ApiEntitiesProtectedEnvironmentsApprovalRuleForSummary struct {
	Id                     string                          `json:"id,omitempty"`
	UserId                 string                          `json:"user_id,omitempty"`
	GroupId                string                          `json:"group_id,omitempty"`
	AccessLevel            string                          `json:"access_level,omitempty"`
	AccessLevelDescription string                          `json:"access_level_description,omitempty"`
	RequiredApprovals      string                          `json:"required_approvals,omitempty"`
	GroupInheritanceType   string                          `json:"group_inheritance_type,omitempty"`
	DeploymentApprovals    *ApiEntitiesDeploymentsApproval `json:"deployment_approvals,omitempty"`
}

type ApiEntitiesProtectedRefAccess

type ApiEntitiesProtectedRefAccess struct {
	Id                     int32  `json:"id,omitempty"`
	AccessLevel            int32  `json:"access_level,omitempty"`
	AccessLevelDescription string `json:"access_level_description,omitempty"`
	DeployKeyId            int32  `json:"deploy_key_id,omitempty"`
	UserId                 int32  `json:"user_id,omitempty"`
	GroupId                int32  `json:"group_id,omitempty"`
}

type ApiEntitiesProtectedTag

type ApiEntitiesProtectedTag struct {
	Name               string                         `json:"name,omitempty"`
	CreateAccessLevels *ApiEntitiesProtectedRefAccess `json:"create_access_levels,omitempty"`
}

API_Entities_ProtectedTag model

type ApiEntitiesProviderGcp

type ApiEntitiesProviderGcp struct {
	ClusterId    string `json:"cluster_id,omitempty"`
	StatusName   string `json:"status_name,omitempty"`
	GcpProjectId string `json:"gcp_project_id,omitempty"`
	Zone         string `json:"zone,omitempty"`
	MachineType  string `json:"machine_type,omitempty"`
	NumNodes     string `json:"num_nodes,omitempty"`
	Endpoint     string `json:"endpoint,omitempty"`
}

type ApiEntitiesPublicGroupDetails

type ApiEntitiesPublicGroupDetails struct {
	Id        string `json:"id,omitempty"`
	WebUrl    string `json:"web_url,omitempty"`
	Name      string `json:"name,omitempty"`
	AvatarUrl string `json:"avatar_url,omitempty"`
	FullName  string `json:"full_name,omitempty"`
	FullPath  string `json:"full_path,omitempty"`
}

API_Entities_PublicGroupDetails model

type ApiEntitiesPushEventPayload

type ApiEntitiesPushEventPayload struct {
	CommitCount int32  `json:"commit_count,omitempty"`
	Action      string `json:"action,omitempty"`
	RefType     string `json:"ref_type,omitempty"`
	CommitFrom  string `json:"commit_from,omitempty"`
	CommitTo    string `json:"commit_to,omitempty"`
	Ref         string `json:"ref,omitempty"`
	CommitTitle string `json:"commit_title,omitempty"`
	RefCount    int32  `json:"ref_count,omitempty"`
}

type ApiEntitiesRelatedIssue

type ApiEntitiesRelatedIssue struct {
	Id          int32                 `json:"id,omitempty"`
	Iid         int32                 `json:"iid,omitempty"`
	ProjectId   int32                 `json:"project_id,omitempty"`
	Title       string                `json:"title,omitempty"`
	Description string                `json:"description,omitempty"`
	State       string                `json:"state,omitempty"`
	CreatedAt   time.Time             `json:"created_at,omitempty"`
	UpdatedAt   time.Time             `json:"updated_at,omitempty"`
	ClosedAt    time.Time             `json:"closed_at,omitempty"`
	ClosedBy    *ApiEntitiesUserBasic `json:"closed_by,omitempty"`
	Labels      []string              `json:"labels,omitempty"`
	Milestone   *ApiEntitiesMilestone `json:"milestone,omitempty"`
	Assignees   *ApiEntitiesUserBasic `json:"assignees,omitempty"`
	Author      *ApiEntitiesUserBasic `json:"author,omitempty"`
	// One of [\"ISSUE\", \"INCIDENT\", \"TEST_CASE\", \"REQUIREMENT\", \"TASK\"]
	Type_                string                         `json:"type,omitempty"`
	Assignee             *ApiEntitiesUserBasic          `json:"assignee,omitempty"`
	UserNotesCount       string                         `json:"user_notes_count,omitempty"`
	MergeRequestsCount   string                         `json:"merge_requests_count,omitempty"`
	Upvotes              string                         `json:"upvotes,omitempty"`
	Downvotes            string                         `json:"downvotes,omitempty"`
	DueDate              string                         `json:"due_date,omitempty"`
	Confidential         bool                           `json:"confidential,omitempty"`
	DiscussionLocked     bool                           `json:"discussion_locked,omitempty"`
	IssueType            string                         `json:"issue_type,omitempty"`
	WebUrl               string                         `json:"web_url,omitempty"`
	TimeStats            *ApiEntitiesIssuableTimeStats  `json:"time_stats,omitempty"`
	TaskCompletionStatus string                         `json:"task_completion_status,omitempty"`
	Weight               string                         `json:"weight,omitempty"`
	BlockingIssuesCount  string                         `json:"blocking_issues_count,omitempty"`
	HasTasks             string                         `json:"has_tasks,omitempty"`
	TaskStatus           string                         `json:"task_status,omitempty"`
	Links                *ApiEntitiesRelatedIssueLinks  `json:"_links,omitempty"`
	References           *ApiEntitiesIssuableReferences `json:"references,omitempty"`
	// One of [\"UNKNOWN\", \"LOW\", \"MEDIUM\", \"HIGH\", \"CRITICAL\"]
	Severity           string                `json:"severity,omitempty"`
	Subscribed         string                `json:"subscribed,omitempty"`
	MovedToId          string                `json:"moved_to_id,omitempty"`
	Imported           string                `json:"imported,omitempty"`
	ImportedFrom       string                `json:"imported_from,omitempty"`
	ServiceDeskReplyTo string                `json:"service_desk_reply_to,omitempty"`
	EpicIid            string                `json:"epic_iid,omitempty"`
	Epic               *EpicBaseEntity       `json:"epic,omitempty"`
	Iteration          *ApiEntitiesIteration `json:"iteration,omitempty"`
	HealthStatus       string                `json:"health_status,omitempty"`
	IssueLinkId        string                `json:"issue_link_id,omitempty"`
	LinkType           string                `json:"link_type,omitempty"`
	LinkCreatedAt      string                `json:"link_created_at,omitempty"`
	LinkUpdatedAt      string                `json:"link_updated_at,omitempty"`
}

API_Entities_RelatedIssue model

type ApiEntitiesRelatedIssueLinks struct {
	Self                string `json:"self,omitempty"`
	Notes               string `json:"notes,omitempty"`
	AwardEmoji          string `json:"award_emoji,omitempty"`
	Project             string `json:"project,omitempty"`
	ClosedAsDuplicateOf string `json:"closed_as_duplicate_of,omitempty"`
}

type ApiEntitiesRelationImportTracker

type ApiEntitiesRelationImportTracker struct {
	Id          int32     `json:"id,omitempty"`
	ProjectPath string    `json:"project_path,omitempty"`
	Relation    string    `json:"relation,omitempty"`
	Status      string    `json:"status,omitempty"`
	CreatedAt   time.Time `json:"created_at,omitempty"`
	UpdatedAt   time.Time `json:"updated_at,omitempty"`
}

API_Entities_RelationImportTracker model

type ApiEntitiesRelease

type ApiEntitiesRelease struct {
	Name            string                         `json:"name,omitempty"`
	TagName         string                         `json:"tag_name,omitempty"`
	Description     string                         `json:"description,omitempty"`
	CreatedAt       time.Time                      `json:"created_at,omitempty"`
	ReleasedAt      time.Time                      `json:"released_at,omitempty"`
	UpcomingRelease bool                           `json:"upcoming_release,omitempty"`
	DescriptionHtml string                         `json:"description_html,omitempty"`
	Author          *ApiEntitiesUserBasic          `json:"author,omitempty"`
	Commit          *ApiEntitiesCommit             `json:"commit,omitempty"`
	Milestones      *ApiEntitiesMilestoneWithStats `json:"milestones,omitempty"`
	CommitPath      string                         `json:"commit_path,omitempty"`
	TagPath         string                         `json:"tag_path,omitempty"`
	Assets          *ApiEntitiesReleaseAssets      `json:"assets,omitempty"`
	Evidences       *ApiEntitiesReleasesEvidence   `json:"evidences,omitempty"`
	Links           *ApiEntitiesReleaseLinks       `json:"_links,omitempty"`
}

API_Entities_Release model

type ApiEntitiesReleaseAssets

type ApiEntitiesReleaseAssets struct {
	Count   int32                      `json:"count,omitempty"`
	Sources *ApiEntitiesReleasesSource `json:"sources,omitempty"`
	Links   *ApiEntitiesReleasesLink   `json:"links,omitempty"`
}
type ApiEntitiesReleaseLinks struct {
	ClosedIssuesUrl        string `json:"closed_issues_url,omitempty"`
	ClosedMergeRequestsUrl string `json:"closed_merge_requests_url,omitempty"`
	EditUrl                string `json:"edit_url,omitempty"`
	MergedMergeRequestsUrl string `json:"merged_merge_requests_url,omitempty"`
	OpenedIssuesUrl        string `json:"opened_issues_url,omitempty"`
	OpenedMergeRequestsUrl string `json:"opened_merge_requests_url,omitempty"`
	Self                   string `json:"self,omitempty"`
}

type ApiEntitiesReleasesEvidence

type ApiEntitiesReleasesEvidence struct {
	Sha         string    `json:"sha,omitempty"`
	Filepath    string    `json:"filepath,omitempty"`
	CollectedAt time.Time `json:"collected_at,omitempty"`
}
type ApiEntitiesReleasesLink struct {
	Id             int32  `json:"id,omitempty"`
	Name           string `json:"name,omitempty"`
	Url            string `json:"url,omitempty"`
	DirectAssetUrl string `json:"direct_asset_url,omitempty"`
	LinkType       string `json:"link_type,omitempty"`
}

API_Entities_Releases_Link model

type ApiEntitiesReleasesSource

type ApiEntitiesReleasesSource struct {
	Format string `json:"format,omitempty"`
	Url    string `json:"url,omitempty"`
}

type ApiEntitiesRemoteMirror

type ApiEntitiesRemoteMirror struct {
	Id                     int32     `json:"id,omitempty"`
	Enabled                bool      `json:"enabled,omitempty"`
	Url                    string    `json:"url,omitempty"`
	UpdateStatus           string    `json:"update_status,omitempty"`
	LastUpdateAt           time.Time `json:"last_update_at,omitempty"`
	LastUpdateStartedAt    time.Time `json:"last_update_started_at,omitempty"`
	LastSuccessfulUpdateAt time.Time `json:"last_successful_update_at,omitempty"`
	LastError              int32     `json:"last_error,omitempty"`
	OnlyProtectedBranches  bool      `json:"only_protected_branches,omitempty"`
	KeepDivergentRefs      bool      `json:"keep_divergent_refs,omitempty"`
	AuthMethod             string    `json:"auth_method,omitempty"`
	MirrorBranchRegex      string    `json:"mirror_branch_regex,omitempty"`
}

API_Entities_RemoteMirror model

type ApiEntitiesResourceAccessToken

type ApiEntitiesResourceAccessToken struct {
	Id          int32     `json:"id,omitempty"`
	Name        string    `json:"name,omitempty"`
	Revoked     bool      `json:"revoked,omitempty"`
	CreatedAt   time.Time `json:"created_at,omitempty"`
	Scopes      []string  `json:"scopes,omitempty"`
	UserId      int32     `json:"user_id,omitempty"`
	LastUsedAt  time.Time `json:"last_used_at,omitempty"`
	Active      bool      `json:"active,omitempty"`
	ExpiresAt   time.Time `json:"expires_at,omitempty"`
	AccessLevel int32     `json:"access_level,omitempty"`
}

API_Entities_ResourceAccessToken model

type ApiEntitiesResourceAccessTokenWithToken

type ApiEntitiesResourceAccessTokenWithToken struct {
	Id          int32     `json:"id,omitempty"`
	Name        string    `json:"name,omitempty"`
	Revoked     bool      `json:"revoked,omitempty"`
	CreatedAt   time.Time `json:"created_at,omitempty"`
	Scopes      []string  `json:"scopes,omitempty"`
	UserId      int32     `json:"user_id,omitempty"`
	LastUsedAt  time.Time `json:"last_used_at,omitempty"`
	Active      bool      `json:"active,omitempty"`
	ExpiresAt   time.Time `json:"expires_at,omitempty"`
	AccessLevel int32     `json:"access_level,omitempty"`
	Token       string    `json:"token,omitempty"`
}

API_Entities_ResourceAccessTokenWithToken model

type ApiEntitiesResourceMilestoneEvent

type ApiEntitiesResourceMilestoneEvent struct {
	Id           int32                 `json:"id,omitempty"`
	User         *ApiEntitiesUserBasic `json:"user,omitempty"`
	CreatedAt    time.Time             `json:"created_at,omitempty"`
	ResourceType string                `json:"resource_type,omitempty"`
	ResourceId   int32                 `json:"resource_id,omitempty"`
	Milestone    *ApiEntitiesMilestone `json:"milestone,omitempty"`
	Action       string                `json:"action,omitempty"`
	State        string                `json:"state,omitempty"`
}

API_Entities_ResourceMilestoneEvent model

type ApiEntitiesScimIdentity

type ApiEntitiesScimIdentity struct {
	ExternUid string `json:"extern_uid,omitempty"`
	GroupId   string `json:"group_id,omitempty"`
	Active    string `json:"active,omitempty"`
}

type ApiEntitiesSnippet

type ApiEntitiesSnippet struct {
	Id                int32                 `json:"id,omitempty"`
	Title             string                `json:"title,omitempty"`
	Description       string                `json:"description,omitempty"`
	Visibility        string                `json:"visibility,omitempty"`
	Author            *ApiEntitiesUserBasic `json:"author,omitempty"`
	CreatedAt         time.Time             `json:"created_at,omitempty"`
	UpdatedAt         time.Time             `json:"updated_at,omitempty"`
	ProjectId         int32                 `json:"project_id,omitempty"`
	WebUrl            string                `json:"web_url,omitempty"`
	RawUrl            string                `json:"raw_url,omitempty"`
	SshUrlToRepo      string                `json:"ssh_url_to_repo,omitempty"`
	HttpUrlToRepo     string                `json:"http_url_to_repo,omitempty"`
	FileName          string                `json:"file_name,omitempty"`
	Files             []string              `json:"files,omitempty"`
	Imported          bool                  `json:"imported,omitempty"`
	ImportedFrom      string                `json:"imported_from,omitempty"`
	RepositoryStorage string                `json:"repository_storage,omitempty"`
}

API_Entities_Snippet model

type ApiEntitiesSnippetsRepositoryStorageMove

type ApiEntitiesSnippetsRepositoryStorageMove struct {
	Id                     int32                    `json:"id,omitempty"`
	CreatedAt              time.Time                `json:"created_at,omitempty"`
	State                  string                   `json:"state,omitempty"`
	SourceStorageName      string                   `json:"source_storage_name,omitempty"`
	DestinationStorageName string                   `json:"destination_storage_name,omitempty"`
	ErrorMessage           string                   `json:"error_message,omitempty"`
	Snippet                *ApiEntitiesBasicSnippet `json:"snippet,omitempty"`
}

API_Entities_Snippets_RepositoryStorageMove model

type ApiEntitiesSshKey

type ApiEntitiesSshKey struct {
	Id        int32     `json:"id,omitempty"`
	Title     string    `json:"title,omitempty"`
	CreatedAt time.Time `json:"created_at,omitempty"`
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	Key       string    `json:"key,omitempty"`
	UsageType string    `json:"usage_type,omitempty"`
}

API_Entities_SSHKey model

type ApiEntitiesSshKeyWithUser

type ApiEntitiesSshKeyWithUser struct {
	Id        int32                  `json:"id,omitempty"`
	Title     string                 `json:"title,omitempty"`
	CreatedAt time.Time              `json:"created_at,omitempty"`
	ExpiresAt time.Time              `json:"expires_at,omitempty"`
	Key       string                 `json:"key,omitempty"`
	UsageType string                 `json:"usage_type,omitempty"`
	User      *ApiEntitiesUserPublic `json:"user,omitempty"`
}

API_Entities_SSHKeyWithUser model

type ApiEntitiesSuggestion

type ApiEntitiesSuggestion struct {
	Id          string `json:"id,omitempty"`
	FromLine    string `json:"from_line,omitempty"`
	ToLine      string `json:"to_line,omitempty"`
	Appliable   string `json:"appliable,omitempty"`
	Applied     string `json:"applied,omitempty"`
	FromContent string `json:"from_content,omitempty"`
	ToContent   string `json:"to_content,omitempty"`
}

API_Entities_Suggestion model

type ApiEntitiesSystemBroadcastMessage

type ApiEntitiesSystemBroadcastMessage struct {
	Id                 string `json:"id,omitempty"`
	Message            string `json:"message,omitempty"`
	StartsAt           string `json:"starts_at,omitempty"`
	EndsAt             string `json:"ends_at,omitempty"`
	Color              string `json:"color,omitempty"`
	Font               string `json:"font,omitempty"`
	TargetAccessLevels string `json:"target_access_levels,omitempty"`
	TargetPath         string `json:"target_path,omitempty"`
	BroadcastType      string `json:"broadcast_type,omitempty"`
	Dismissable        string `json:"dismissable,omitempty"`
	Active             string `json:"active,omitempty"`
}

API_Entities_System_BroadcastMessage model

type ApiEntitiesTag

type ApiEntitiesTag struct {
	Name      string                 `json:"name,omitempty"`
	Message   string                 `json:"message,omitempty"`
	Target    string                 `json:"target,omitempty"`
	Commit    *ApiEntitiesCommit     `json:"commit,omitempty"`
	Release   *ApiEntitiesTagRelease `json:"release,omitempty"`
	Protected bool                   `json:"protected,omitempty"`
	CreatedAt time.Time              `json:"created_at,omitempty"`
}

API_Entities_Tag model

type ApiEntitiesTagRelease

type ApiEntitiesTagRelease struct {
	TagName     string `json:"tag_name,omitempty"`
	Description string `json:"description,omitempty"`
}

type ApiEntitiesTagSignature

type ApiEntitiesTagSignature struct {
	SignatureType string `json:"signature_type,omitempty"`
	Signature     string `json:"signature,omitempty"`
}

API_Entities_TagSignature model

type ApiEntitiesTemplatesList

type ApiEntitiesTemplatesList struct {
	Key  string `json:"key,omitempty"`
	Name string `json:"name,omitempty"`
}

API_Entities_TemplatesList model

type ApiEntitiesTerraformModuleVersion

type ApiEntitiesTerraformModuleVersion struct {
	Name       string `json:"name,omitempty"`
	Provider   string `json:"provider,omitempty"`
	Providers  string `json:"providers,omitempty"`
	Root       string `json:"root,omitempty"`
	Source     string `json:"source,omitempty"`
	Submodules string `json:"submodules,omitempty"`
	Version    string `json:"version,omitempty"`
	Versions   string `json:"versions,omitempty"`
}

API_Entities_Terraform_ModuleVersion model

type ApiEntitiesTerraformModuleVersions

type ApiEntitiesTerraformModuleVersions struct {
	Modules string `json:"modules,omitempty"`
}

API_Entities_Terraform_ModuleVersions model

type ApiEntitiesTreeObject

type ApiEntitiesTreeObject struct {
	Id    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
	Type_ string `json:"type,omitempty"`
	Path  string `json:"path,omitempty"`
	Mode  string `json:"mode,omitempty"`
}

API_Entities_TreeObject model

type ApiEntitiesTrigger

type ApiEntitiesTrigger struct {
	Id          int32                 `json:"id,omitempty"`
	Token       string                `json:"token,omitempty"`
	Description string                `json:"description,omitempty"`
	CreatedAt   time.Time             `json:"created_at,omitempty"`
	UpdatedAt   time.Time             `json:"updated_at,omitempty"`
	LastUsed    time.Time             `json:"last_used,omitempty"`
	Owner       *ApiEntitiesUserBasic `json:"owner,omitempty"`
}

API_Entities_Trigger model

type ApiEntitiesUser

type ApiEntitiesUser struct {
	Id               int32                        `json:"id,omitempty"`
	Username         string                       `json:"username,omitempty"`
	Name             string                       `json:"name,omitempty"`
	State            string                       `json:"state,omitempty"`
	Locked           bool                         `json:"locked,omitempty"`
	AvatarUrl        string                       `json:"avatar_url,omitempty"`
	AvatarPath       string                       `json:"avatar_path,omitempty"`
	CustomAttributes []ApiEntitiesCustomAttribute `json:"custom_attributes,omitempty"`
	WebUrl           string                       `json:"web_url,omitempty"`
	CreatedAt        string                       `json:"created_at,omitempty"`
	Bio              string                       `json:"bio,omitempty"`
	Location         string                       `json:"location,omitempty"`
	PublicEmail      string                       `json:"public_email,omitempty"`
	Skype            string                       `json:"skype,omitempty"`
	Linkedin         string                       `json:"linkedin,omitempty"`
	Twitter          string                       `json:"twitter,omitempty"`
	Discord          string                       `json:"discord,omitempty"`
	WebsiteUrl       string                       `json:"website_url,omitempty"`
	Organization     string                       `json:"organization,omitempty"`
	JobTitle         string                       `json:"job_title,omitempty"`
	Pronouns         string                       `json:"pronouns,omitempty"`
	Bot              string                       `json:"bot,omitempty"`
	WorkInformation  string                       `json:"work_information,omitempty"`
	Followers        string                       `json:"followers,omitempty"`
	Following        string                       `json:"following,omitempty"`
	IsFollowed       string                       `json:"is_followed,omitempty"`
	LocalTime        string                       `json:"local_time,omitempty"`
}

API_Entities_User model

type ApiEntitiesUserAgentDetail

type ApiEntitiesUserAgentDetail struct {
	UserAgent        string `json:"user_agent,omitempty"`
	IpAddress        string `json:"ip_address,omitempty"`
	AkismetSubmitted bool   `json:"akismet_submitted,omitempty"`
}

API_Entities_UserAgentDetail model

type ApiEntitiesUserBasic

type ApiEntitiesUserBasic struct {
	Id               int32                        `json:"id,omitempty"`
	Username         string                       `json:"username,omitempty"`
	Name             string                       `json:"name,omitempty"`
	State            string                       `json:"state,omitempty"`
	Locked           bool                         `json:"locked,omitempty"`
	AvatarUrl        string                       `json:"avatar_url,omitempty"`
	AvatarPath       string                       `json:"avatar_path,omitempty"`
	CustomAttributes []ApiEntitiesCustomAttribute `json:"custom_attributes,omitempty"`
	WebUrl           string                       `json:"web_url,omitempty"`
}

API_Entities_UserBasic model

type ApiEntitiesUserCounts

type ApiEntitiesUserCounts struct {
	MergeRequests                int32 `json:"merge_requests,omitempty"`
	AssignedIssues               int32 `json:"assigned_issues,omitempty"`
	AssignedMergeRequests        int32 `json:"assigned_merge_requests,omitempty"`
	ReviewRequestedMergeRequests int32 `json:"review_requested_merge_requests,omitempty"`
	Todos                        int32 `json:"todos,omitempty"`
}

API_Entities_UserCounts model

type ApiEntitiesUserCreditCardValidations

type ApiEntitiesUserCreditCardValidations struct {
	UserId                string `json:"user_id,omitempty"`
	CreditCardValidatedAt string `json:"credit_card_validated_at,omitempty"`
}

API_Entities_UserCreditCardValidations model

type ApiEntitiesUserPreferences

type ApiEntitiesUserPreferences struct {
	Id                        string `json:"id,omitempty"`
	UserId                    string `json:"user_id,omitempty"`
	ViewDiffsFileByFile       string `json:"view_diffs_file_by_file,omitempty"`
	ShowWhitespaceInDiffs     string `json:"show_whitespace_in_diffs,omitempty"`
	PassUserIdentitiesToCiJwt string `json:"pass_user_identities_to_ci_jwt,omitempty"`
}

API_Entities_UserPreferences model

type ApiEntitiesUserPublic

type ApiEntitiesUserPublic struct {
	Id                             int32                        `json:"id,omitempty"`
	Username                       string                       `json:"username,omitempty"`
	Name                           string                       `json:"name,omitempty"`
	State                          string                       `json:"state,omitempty"`
	Locked                         bool                         `json:"locked,omitempty"`
	AvatarUrl                      string                       `json:"avatar_url,omitempty"`
	AvatarPath                     string                       `json:"avatar_path,omitempty"`
	CustomAttributes               []ApiEntitiesCustomAttribute `json:"custom_attributes,omitempty"`
	WebUrl                         string                       `json:"web_url,omitempty"`
	CreatedAt                      string                       `json:"created_at,omitempty"`
	Bio                            string                       `json:"bio,omitempty"`
	Location                       string                       `json:"location,omitempty"`
	PublicEmail                    string                       `json:"public_email,omitempty"`
	Skype                          string                       `json:"skype,omitempty"`
	Linkedin                       string                       `json:"linkedin,omitempty"`
	Twitter                        string                       `json:"twitter,omitempty"`
	Discord                        string                       `json:"discord,omitempty"`
	WebsiteUrl                     string                       `json:"website_url,omitempty"`
	Organization                   string                       `json:"organization,omitempty"`
	JobTitle                       string                       `json:"job_title,omitempty"`
	Pronouns                       string                       `json:"pronouns,omitempty"`
	Bot                            string                       `json:"bot,omitempty"`
	WorkInformation                string                       `json:"work_information,omitempty"`
	Followers                      string                       `json:"followers,omitempty"`
	Following                      string                       `json:"following,omitempty"`
	IsFollowed                     string                       `json:"is_followed,omitempty"`
	LocalTime                      string                       `json:"local_time,omitempty"`
	LastSignInAt                   time.Time                    `json:"last_sign_in_at,omitempty"`
	ConfirmedAt                    time.Time                    `json:"confirmed_at,omitempty"`
	LastActivityOn                 time.Time                    `json:"last_activity_on,omitempty"`
	Email                          string                       `json:"email,omitempty"`
	ThemeId                        int32                        `json:"theme_id,omitempty"`
	ColorSchemeId                  int32                        `json:"color_scheme_id,omitempty"`
	ProjectsLimit                  int32                        `json:"projects_limit,omitempty"`
	CurrentSignInAt                time.Time                    `json:"current_sign_in_at,omitempty"`
	Identities                     *ApiEntitiesIdentity         `json:"identities,omitempty"`
	CanCreateGroup                 bool                         `json:"can_create_group,omitempty"`
	CanCreateProject               bool                         `json:"can_create_project,omitempty"`
	TwoFactorEnabled               bool                         `json:"two_factor_enabled,omitempty"`
	External                       string                       `json:"external,omitempty"`
	PrivateProfile                 bool                         `json:"private_profile,omitempty"`
	CommitEmail                    string                       `json:"commit_email,omitempty"`
	SharedRunnersMinutesLimit      string                       `json:"shared_runners_minutes_limit,omitempty"`
	ExtraSharedRunnersMinutesLimit string                       `json:"extra_shared_runners_minutes_limit,omitempty"`
	ScimIdentities                 *ApiEntitiesScimIdentity     `json:"scim_identities,omitempty"`
}

API_Entities_UserPublic model

type ApiEntitiesUserStatus

type ApiEntitiesUserStatus struct {
	Emoji         string `json:"emoji,omitempty"`
	Message       string `json:"message,omitempty"`
	Availability  string `json:"availability,omitempty"`
	MessageHtml   string `json:"message_html,omitempty"`
	ClearStatusAt string `json:"clear_status_at,omitempty"`
}

API_Entities_UserStatus model

type ApiEntitiesUserWithAdmin

type ApiEntitiesUserWithAdmin struct {
	Id                             int32                        `json:"id,omitempty"`
	Username                       string                       `json:"username,omitempty"`
	Name                           string                       `json:"name,omitempty"`
	State                          string                       `json:"state,omitempty"`
	Locked                         bool                         `json:"locked,omitempty"`
	AvatarUrl                      string                       `json:"avatar_url,omitempty"`
	AvatarPath                     string                       `json:"avatar_path,omitempty"`
	CustomAttributes               []ApiEntitiesCustomAttribute `json:"custom_attributes,omitempty"`
	WebUrl                         string                       `json:"web_url,omitempty"`
	CreatedAt                      string                       `json:"created_at,omitempty"`
	Bio                            string                       `json:"bio,omitempty"`
	Location                       string                       `json:"location,omitempty"`
	PublicEmail                    string                       `json:"public_email,omitempty"`
	Skype                          string                       `json:"skype,omitempty"`
	Linkedin                       string                       `json:"linkedin,omitempty"`
	Twitter                        string                       `json:"twitter,omitempty"`
	Discord                        string                       `json:"discord,omitempty"`
	WebsiteUrl                     string                       `json:"website_url,omitempty"`
	Organization                   string                       `json:"organization,omitempty"`
	JobTitle                       string                       `json:"job_title,omitempty"`
	Pronouns                       string                       `json:"pronouns,omitempty"`
	Bot                            string                       `json:"bot,omitempty"`
	WorkInformation                string                       `json:"work_information,omitempty"`
	Followers                      string                       `json:"followers,omitempty"`
	Following                      string                       `json:"following,omitempty"`
	IsFollowed                     string                       `json:"is_followed,omitempty"`
	LocalTime                      string                       `json:"local_time,omitempty"`
	LastSignInAt                   time.Time                    `json:"last_sign_in_at,omitempty"`
	ConfirmedAt                    time.Time                    `json:"confirmed_at,omitempty"`
	LastActivityOn                 time.Time                    `json:"last_activity_on,omitempty"`
	Email                          string                       `json:"email,omitempty"`
	ThemeId                        int32                        `json:"theme_id,omitempty"`
	ColorSchemeId                  int32                        `json:"color_scheme_id,omitempty"`
	ProjectsLimit                  int32                        `json:"projects_limit,omitempty"`
	CurrentSignInAt                time.Time                    `json:"current_sign_in_at,omitempty"`
	Identities                     *ApiEntitiesIdentity         `json:"identities,omitempty"`
	CanCreateGroup                 bool                         `json:"can_create_group,omitempty"`
	CanCreateProject               bool                         `json:"can_create_project,omitempty"`
	TwoFactorEnabled               bool                         `json:"two_factor_enabled,omitempty"`
	External                       string                       `json:"external,omitempty"`
	PrivateProfile                 bool                         `json:"private_profile,omitempty"`
	CommitEmail                    string                       `json:"commit_email,omitempty"`
	SharedRunnersMinutesLimit      string                       `json:"shared_runners_minutes_limit,omitempty"`
	ExtraSharedRunnersMinutesLimit string                       `json:"extra_shared_runners_minutes_limit,omitempty"`
	ScimIdentities                 *ApiEntitiesScimIdentity     `json:"scim_identities,omitempty"`
	IsAdmin                        string                       `json:"is_admin,omitempty"`
	Note                           string                       `json:"note,omitempty"`
	NamespaceId                    string                       `json:"namespace_id,omitempty"`
	CreatedBy                      *ApiEntitiesUserBasic        `json:"created_by,omitempty"`
	EmailResetOfferedAt            string                       `json:"email_reset_offered_at,omitempty"`
	UsingLicenseSeat               string                       `json:"using_license_seat,omitempty"`
	IsAuditor                      string                       `json:"is_auditor,omitempty"`
	ProvisionedByGroupId           string                       `json:"provisioned_by_group_id,omitempty"`
	EnterpriseGroupId              string                       `json:"enterprise_group_id,omitempty"`
	EnterpriseGroupAssociatedAt    string                       `json:"enterprise_group_associated_at,omitempty"`
}

API_Entities_UserWithAdmin model

type ApiEntitiesWebCommits

type ApiEntitiesWebCommits struct {
	PublicKey string `json:"public_key,omitempty"`
}

type ApiEntitiesWikiAttachment

type ApiEntitiesWikiAttachment struct {
	FileName string                         `json:"file_name,omitempty"`
	FilePath string                         `json:"file_path,omitempty"`
	Branch   string                         `json:"branch,omitempty"`
	Link     *ApiEntitiesWikiAttachmentLink `json:"link,omitempty"`
}

API_Entities_WikiAttachment model

type ApiEntitiesWikiAttachmentLink struct {
	Url      string `json:"url,omitempty"`
	Markdown string `json:"markdown,omitempty"`
}

type ApiEntitiesWikiPage

type ApiEntitiesWikiPage struct {
	Format      string      `json:"format,omitempty"`
	Slug        string      `json:"slug,omitempty"`
	Title       string      `json:"title,omitempty"`
	Content     string      `json:"content,omitempty"`
	Encoding    string      `json:"encoding,omitempty"`
	FrontMatter interface{} `json:"front_matter,omitempty"`
}

API_Entities_WikiPage model

type ApiEntitiesWikiPageBasic

type ApiEntitiesWikiPageBasic struct {
	Format string `json:"format,omitempty"`
	Slug   string `json:"slug,omitempty"`
	Title  string `json:"title,omitempty"`
}

API_Entities_WikiPageBasic model

type ApplicationApiPutApiV4ApplicationAppearanceOpts

type ApplicationApiPutApiV4ApplicationAppearanceOpts struct {
	Title                       optional.String
	Description                 optional.String
	PwaName                     optional.String
	PwaShortName                optional.String
	PwaDescription              optional.String
	PwaIcon                     optional.Interface
	Favicon                     optional.Interface
	MemberGuidelines            optional.String
	NewProjectGuidelines        optional.String
	ProfileImageGuidelines      optional.String
	HeaderMessage               optional.String
	FooterMessage               optional.String
	MessageBackgroundColor      optional.String
	MessageFontColor            optional.String
	EmailHeaderAndFooterEnabled optional.Bool
}

type ApplicationApiService

type ApplicationApiService service

func (*ApplicationApiService) GetApiV4ApplicationAppearance

func (a *ApplicationApiService) GetApiV4ApplicationAppearance(ctx context.Context) (ApiEntitiesAppearance, *http.Response, error)

ApplicationApiService Get the current appearance

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesAppearance

func (*ApplicationApiService) GetApiV4ApplicationStatistics

func (a *ApplicationApiService) GetApiV4ApplicationStatistics(ctx context.Context) (ApiEntitiesApplicationStatistics, *http.Response, error)

ApplicationApiService Get the current application statistics

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesApplicationStatistics

func (*ApplicationApiService) PutApiV4ApplicationAppearance

type ApplicationsApiService

type ApplicationsApiService service

func (*ApplicationsApiService) DeleteApiV4ApplicationsId

func (a *ApplicationsApiService) DeleteApiV4ApplicationsId(ctx context.Context, id int32) (*http.Response, error)

ApplicationsApiService Delete an application Delete a specific application

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the application (not the application_id)

func (*ApplicationsApiService) GetApiV4Applications

func (a *ApplicationsApiService) GetApiV4Applications(ctx context.Context) ([]ApiEntitiesApplication, *http.Response, error)

ApplicationsApiService Get applications List all registered applications

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []ApiEntitiesApplication

func (*ApplicationsApiService) PostApiV4Applications

func (a *ApplicationsApiService) PostApiV4Applications(ctx context.Context, postApiV4Applications PostApiV4Applications) (ApiEntitiesApplicationWithSecret, *http.Response, error)

ApplicationsApiService Create a new application This feature was introduced in GitLab 10.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4Applications

@return ApiEntitiesApplicationWithSecret

func (*ApplicationsApiService) PostApiV4ApplicationsIdRenewSecret

func (a *ApplicationsApiService) PostApiV4ApplicationsIdRenewSecret(ctx context.Context, id int32) (ApiEntitiesApplicationWithSecret, *http.Response, error)

ApplicationsApiService Renew an application secret Renew the secret of a specific application

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the application (not the application_id)

@return ApiEntitiesApplicationWithSecret

type AvatarApiGetApiV4AvatarOpts

type AvatarApiGetApiV4AvatarOpts struct {
	Size optional.Int32
}

type AvatarApiService

type AvatarApiService service

func (*AvatarApiService) GetApiV4Avatar

func (a *AvatarApiService) GetApiV4Avatar(ctx context.Context, email string, localVarOptionals *AvatarApiGetApiV4AvatarOpts) (ApiEntitiesAvatar, *http.Response, error)

type BadgesApiGetApiV4GroupsIdBadgesOpts

type BadgesApiGetApiV4GroupsIdBadgesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Name    optional.String
}

type BadgesApiGetApiV4ProjectsIdBadgesOpts

type BadgesApiGetApiV4ProjectsIdBadgesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Name    optional.String
}

type BadgesApiService

type BadgesApiService service

func (*BadgesApiService) DeleteApiV4GroupsIdBadgesBadgeId

func (a *BadgesApiService) DeleteApiV4GroupsIdBadgesBadgeId(ctx context.Context, id string, badgeId int32) (*http.Response, error)

BadgesApiService Removes a badge from the group. This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user.
  • @param badgeId The badge ID

func (*BadgesApiService) DeleteApiV4ProjectsIdBadgesBadgeId

func (a *BadgesApiService) DeleteApiV4ProjectsIdBadgesBadgeId(ctx context.Context, id string, badgeId int32) (*http.Response, error)

BadgesApiService Removes a badge from the project. This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user.
  • @param badgeId The badge ID

func (*BadgesApiService) GetApiV4GroupsIdBadges

func (a *BadgesApiService) GetApiV4GroupsIdBadges(ctx context.Context, id string, localVarOptionals *BadgesApiGetApiV4GroupsIdBadgesOpts) ([]ApiEntitiesBadge, *http.Response, error)

func (*BadgesApiService) GetApiV4GroupsIdBadgesBadgeId

func (a *BadgesApiService) GetApiV4GroupsIdBadgesBadgeId(ctx context.Context, id string, badgeId int32) (ApiEntitiesBadge, *http.Response, error)

BadgesApiService Gets a badge of a group. This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user.
  • @param badgeId The badge ID

@return ApiEntitiesBadge

func (*BadgesApiService) GetApiV4GroupsIdBadgesRender

func (a *BadgesApiService) GetApiV4GroupsIdBadgesRender(ctx context.Context, id string, linkUrl string, imageUrl string) (ApiEntitiesBasicBadgeDetails, *http.Response, error)

BadgesApiService Preview a badge from a group. This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user.
  • @param linkUrl URL of the badge link
  • @param imageUrl URL of the badge image

@return ApiEntitiesBasicBadgeDetails

func (*BadgesApiService) GetApiV4ProjectsIdBadges

func (a *BadgesApiService) GetApiV4ProjectsIdBadges(ctx context.Context, id string, localVarOptionals *BadgesApiGetApiV4ProjectsIdBadgesOpts) ([]ApiEntitiesBadge, *http.Response, error)

func (*BadgesApiService) GetApiV4ProjectsIdBadgesBadgeId

func (a *BadgesApiService) GetApiV4ProjectsIdBadgesBadgeId(ctx context.Context, id string, badgeId int32) (ApiEntitiesBadge, *http.Response, error)

BadgesApiService Gets a badge of a project. This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user.
  • @param badgeId The badge ID

@return ApiEntitiesBadge

func (*BadgesApiService) GetApiV4ProjectsIdBadgesRender

func (a *BadgesApiService) GetApiV4ProjectsIdBadgesRender(ctx context.Context, id string, linkUrl string, imageUrl string) (ApiEntitiesBasicBadgeDetails, *http.Response, error)

BadgesApiService Preview a badge from a project. This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user.
  • @param linkUrl URL of the badge link
  • @param imageUrl URL of the badge image

@return ApiEntitiesBasicBadgeDetails

func (*BadgesApiService) PostApiV4GroupsIdBadges

func (a *BadgesApiService) PostApiV4GroupsIdBadges(ctx context.Context, id string, postApiV4GroupsIdBadges PostApiV4GroupsIdBadges) (ApiEntitiesBadge, *http.Response, error)

BadgesApiService Adds a badge to a group. This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user.
  • @param postApiV4GroupsIdBadges

@return ApiEntitiesBadge

func (*BadgesApiService) PostApiV4ProjectsIdBadges

func (a *BadgesApiService) PostApiV4ProjectsIdBadges(ctx context.Context, id string, postApiV4ProjectsIdBadges PostApiV4ProjectsIdBadges) (ApiEntitiesBadge, *http.Response, error)

BadgesApiService Adds a badge to a project. This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user.
  • @param postApiV4ProjectsIdBadges

@return ApiEntitiesBadge

func (*BadgesApiService) PutApiV4GroupsIdBadgesBadgeId

func (a *BadgesApiService) PutApiV4GroupsIdBadgesBadgeId(ctx context.Context, id string, badgeId int32, putApiV4GroupsIdBadgesBadgeId PutApiV4GroupsIdBadgesBadgeId) (ApiEntitiesBadge, *http.Response, error)

BadgesApiService Updates a badge of a group. This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user.
  • @param badgeId
  • @param putApiV4GroupsIdBadgesBadgeId

@return ApiEntitiesBadge

func (*BadgesApiService) PutApiV4ProjectsIdBadgesBadgeId

func (a *BadgesApiService) PutApiV4ProjectsIdBadgesBadgeId(ctx context.Context, id string, badgeId int32, putApiV4ProjectsIdBadgesBadgeId PutApiV4ProjectsIdBadgesBadgeId) (ApiEntitiesBadge, *http.Response, error)

BadgesApiService Updates a badge of a project. This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user.
  • @param badgeId
  • @param putApiV4ProjectsIdBadgesBadgeId

@return ApiEntitiesBadge

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BatchedBackgroundMigrationsApiGetApiV4AdminBatchedBackgroundMigrationsIdOpts

type BatchedBackgroundMigrationsApiGetApiV4AdminBatchedBackgroundMigrationsIdOpts struct {
	Database optional.String
}

type BatchedBackgroundMigrationsApiGetApiV4AdminBatchedBackgroundMigrationsOpts

type BatchedBackgroundMigrationsApiGetApiV4AdminBatchedBackgroundMigrationsOpts struct {
	Database optional.String
}

type BatchedBackgroundMigrationsApiService

type BatchedBackgroundMigrationsApiService service

func (*BatchedBackgroundMigrationsApiService) PutApiV4AdminBatchedBackgroundMigrationsIdPause

func (a *BatchedBackgroundMigrationsApiService) PutApiV4AdminBatchedBackgroundMigrationsIdPause(ctx context.Context, id int32, putApiV4AdminBatchedBackgroundMigrationsIdPause PutApiV4AdminBatchedBackgroundMigrationsIdPause) (ApiEntitiesBatchedBackgroundMigration, *http.Response, error)

BatchedBackgroundMigrationsApiService Pause a batched background migration

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The batched background migration id
  • @param putApiV4AdminBatchedBackgroundMigrationsIdPause

@return ApiEntitiesBatchedBackgroundMigration

func (*BatchedBackgroundMigrationsApiService) PutApiV4AdminBatchedBackgroundMigrationsIdResume

func (a *BatchedBackgroundMigrationsApiService) PutApiV4AdminBatchedBackgroundMigrationsIdResume(ctx context.Context, id int32, putApiV4AdminBatchedBackgroundMigrationsIdResume PutApiV4AdminBatchedBackgroundMigrationsIdResume) (ApiEntitiesBatchedBackgroundMigration, *http.Response, error)

BatchedBackgroundMigrationsApiService Resume a batched background migration

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The batched background migration id
  • @param putApiV4AdminBatchedBackgroundMigrationsIdResume

@return ApiEntitiesBatchedBackgroundMigration

type BranchesApiGetApiV4ProjectsIdRepositoryBranchesOpts

type BranchesApiGetApiV4ProjectsIdRepositoryBranchesOpts struct {
	Page      optional.Int32
	PerPage   optional.Int32
	Search    optional.String
	Regex     optional.String
	Sort      optional.String
	PageToken optional.String
}

type BranchesApiService

type BranchesApiService service

func (*BranchesApiService) DeleteApiV4ProjectsIdRepositoryBranchesBranch

func (a *BranchesApiService) DeleteApiV4ProjectsIdRepositoryBranchesBranch(ctx context.Context, id string, branch string) (*http.Response, error)

BranchesApiService Delete a branch

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param branch The name of the branch

func (*BranchesApiService) DeleteApiV4ProjectsIdRepositoryMergedBranches

func (a *BranchesApiService) DeleteApiV4ProjectsIdRepositoryMergedBranches(ctx context.Context, id string) (*http.Response, error)

BranchesApiService Delete all merged branches

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*BranchesApiService) GetApiV4ProjectsIdRepositoryBranches

func (a *BranchesApiService) GetApiV4ProjectsIdRepositoryBranches(ctx context.Context, id string, localVarOptionals *BranchesApiGetApiV4ProjectsIdRepositoryBranchesOpts) ([]ApiEntitiesBranch, *http.Response, error)

func (*BranchesApiService) GetApiV4ProjectsIdRepositoryBranchesBranch

func (a *BranchesApiService) GetApiV4ProjectsIdRepositoryBranchesBranch(ctx context.Context, id string, branch int32) (ApiEntitiesBranch, *http.Response, error)

BranchesApiService Get a single repository branch

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param branch

@return ApiEntitiesBranch

func (*BranchesApiService) HeadApiV4ProjectsIdRepositoryBranchesBranch

func (a *BranchesApiService) HeadApiV4ProjectsIdRepositoryBranchesBranch(ctx context.Context, id string, branch string) (*http.Response, error)

BranchesApiService Check if a branch exists

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param branch The name of the branch

func (*BranchesApiService) PostApiV4ProjectsIdRepositoryBranches

func (a *BranchesApiService) PostApiV4ProjectsIdRepositoryBranches(ctx context.Context, id string, postApiV4ProjectsIdRepositoryBranches PostApiV4ProjectsIdRepositoryBranches) (ApiEntitiesBranch, *http.Response, error)

BranchesApiService Create branch

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdRepositoryBranches

@return ApiEntitiesBranch

func (*BranchesApiService) PutApiV4ProjectsIdRepositoryBranchesBranchProtect

func (a *BranchesApiService) PutApiV4ProjectsIdRepositoryBranchesBranchProtect(ctx context.Context, id string, branch string, putApiV4ProjectsIdRepositoryBranchesBranchProtect PutApiV4ProjectsIdRepositoryBranchesBranchProtect) (ApiEntitiesBranch, *http.Response, error)

BranchesApiService Protect a single branch

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param branch The name of the branch
  • @param putApiV4ProjectsIdRepositoryBranchesBranchProtect

@return ApiEntitiesBranch

func (*BranchesApiService) PutApiV4ProjectsIdRepositoryBranchesBranchUnprotect

func (a *BranchesApiService) PutApiV4ProjectsIdRepositoryBranchesBranchUnprotect(ctx context.Context, id string, branch string) (ApiEntitiesBranch, *http.Response, error)

BranchesApiService Unprotect a single branch

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param branch The name of the branch

@return ApiEntitiesBranch

type BroadcastMessagesApiGetApiV4BroadcastMessagesOpts

type BroadcastMessagesApiGetApiV4BroadcastMessagesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type BroadcastMessagesApiService

type BroadcastMessagesApiService service

func (*BroadcastMessagesApiService) DeleteApiV4BroadcastMessagesId

func (a *BroadcastMessagesApiService) DeleteApiV4BroadcastMessagesId(ctx context.Context, id int32) (ApiEntitiesSystemBroadcastMessage, *http.Response, error)

BroadcastMessagesApiService Delete a broadcast message This feature was introduced in GitLab 8.12.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id Broadcast message ID

@return ApiEntitiesSystemBroadcastMessage

func (*BroadcastMessagesApiService) GetApiV4BroadcastMessages

func (*BroadcastMessagesApiService) GetApiV4BroadcastMessagesId

BroadcastMessagesApiService Get a specific broadcast message This feature was introduced in GitLab 8.12.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id Broadcast message ID

@return ApiEntitiesSystemBroadcastMessage

func (*BroadcastMessagesApiService) PostApiV4BroadcastMessages

func (a *BroadcastMessagesApiService) PostApiV4BroadcastMessages(ctx context.Context, postApiV4BroadcastMessages PostApiV4BroadcastMessages) (ApiEntitiesSystemBroadcastMessage, *http.Response, error)

BroadcastMessagesApiService Create a broadcast message This feature was introduced in GitLab 8.12.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4BroadcastMessages

@return ApiEntitiesSystemBroadcastMessage

func (*BroadcastMessagesApiService) PutApiV4BroadcastMessagesId

func (a *BroadcastMessagesApiService) PutApiV4BroadcastMessagesId(ctx context.Context, id int32, putApiV4BroadcastMessagesId PutApiV4BroadcastMessagesId) (ApiEntitiesSystemBroadcastMessage, *http.Response, error)

BroadcastMessagesApiService Update a broadcast message This feature was introduced in GitLab 8.12.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id Broadcast message ID
  • @param putApiV4BroadcastMessagesId

@return ApiEntitiesSystemBroadcastMessage

type BulkImportsApiGetApiV4BulkImportsEntitiesOpts

type BulkImportsApiGetApiV4BulkImportsEntitiesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Sort    optional.String
	Status  optional.String
}

type BulkImportsApiGetApiV4BulkImportsImportIdEntitiesOpts

type BulkImportsApiGetApiV4BulkImportsImportIdEntitiesOpts struct {
	Status  optional.String
	Page    optional.Int32
	PerPage optional.Int32
}

type BulkImportsApiGetApiV4BulkImportsOpts

type BulkImportsApiGetApiV4BulkImportsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Sort    optional.String
	Status  optional.String
}

type BulkImportsApiPostApiV4BulkImportsOpts

type BulkImportsApiPostApiV4BulkImportsOpts struct {
	EntitiesDestinationSlug optional.Interface
	EntitiesDestinationName optional.Interface
	EntitiesMigrateProjects optional.Interface
}

type BulkImportsApiService

type BulkImportsApiService service

func (*BulkImportsApiService) GetApiV4BulkImports

func (*BulkImportsApiService) GetApiV4BulkImportsEntities

func (*BulkImportsApiService) GetApiV4BulkImportsImportId

func (a *BulkImportsApiService) GetApiV4BulkImportsImportId(ctx context.Context, importId int32) (ApiEntitiesBulkImport, *http.Response, error)

BulkImportsApiService Get GitLab Migration details This feature was introduced in GitLab 14.1.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param importId The ID of user's GitLab Migration

@return ApiEntitiesBulkImport

func (*BulkImportsApiService) GetApiV4BulkImportsImportIdEntities

func (a *BulkImportsApiService) GetApiV4BulkImportsImportIdEntities(ctx context.Context, importId int32, localVarOptionals *BulkImportsApiGetApiV4BulkImportsImportIdEntitiesOpts) ([]ApiEntitiesBulkImports, *http.Response, error)

func (*BulkImportsApiService) GetApiV4BulkImportsImportIdEntitiesEntityId

func (a *BulkImportsApiService) GetApiV4BulkImportsImportIdEntitiesEntityId(ctx context.Context, importId int32, entityId int32) (ApiEntitiesBulkImports, *http.Response, error)

BulkImportsApiService Get GitLab Migration entity details This feature was introduced in GitLab 14.1.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param importId The ID of user's GitLab Migration
  • @param entityId The ID of GitLab Migration entity

@return ApiEntitiesBulkImports

func (*BulkImportsApiService) GetApiV4BulkImportsImportIdEntitiesEntityIdFailures

func (a *BulkImportsApiService) GetApiV4BulkImportsImportIdEntitiesEntityIdFailures(ctx context.Context, importId int32, entityId int32) (ApiEntitiesBulkImportsEntityFailure, *http.Response, error)

BulkImportsApiService Get GitLab Migration entity failures This feature was introduced in GitLab 16.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param importId The ID of user's GitLab Migration
  • @param entityId The ID of GitLab Migration entity

@return ApiEntitiesBulkImportsEntityFailure

func (*BulkImportsApiService) PostApiV4BulkImports

func (a *BulkImportsApiService) PostApiV4BulkImports(ctx context.Context, configurationUrl string, configurationAccessToken string, entitiesSourceType []string, entitiesSourceFullPath []string, entitiesDestinationNamespace []string, localVarOptionals *BulkImportsApiPostApiV4BulkImportsOpts) (ApiEntitiesBulkImport, *http.Response, error)

func (*BulkImportsApiService) PostApiV4BulkImportsImportIdCancel

func (a *BulkImportsApiService) PostApiV4BulkImportsImportIdCancel(ctx context.Context, importId int32) (ApiEntitiesBulkImport, *http.Response, error)

BulkImportsApiService Cancel GitLab Migration This feature was introduced in GitLab 17.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param importId The ID of user's GitLab Migration

@return ApiEntitiesBulkImport

type CiLintApiGetApiV4ProjectsIdCiLintOpts

type CiLintApiGetApiV4ProjectsIdCiLintOpts struct {
	Sha         optional.String
	ContentRef  optional.String
	DryRun      optional.Bool
	IncludeJobs optional.Bool
	Ref         optional.String
	DryRunRef   optional.String
}

type CiLintApiService

type CiLintApiService service

func (*CiLintApiService) GetApiV4ProjectsIdCiLint

func (a *CiLintApiService) GetApiV4ProjectsIdCiLint(ctx context.Context, id int32, localVarOptionals *CiLintApiGetApiV4ProjectsIdCiLintOpts) (ApiEntitiesCiLintResult, *http.Response, error)

func (*CiLintApiService) PostApiV4ProjectsIdCiLint

func (a *CiLintApiService) PostApiV4ProjectsIdCiLint(ctx context.Context, id int32, postApiV4ProjectsIdCiLint PostApiV4ProjectsIdCiLint) (ApiEntitiesCiLintResult, *http.Response, error)

CiLintApiService Validate a CI YAML configuration with a namespace Checks if CI/CD YAML configuration is valid. This endpoint has namespace specific context

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param postApiV4ProjectsIdCiLint

@return ApiEntitiesCiLintResult

type CiResourceGroupsApiGetApiV4ProjectsIdResourceGroupsKeyUpcomingJobsOpts

type CiResourceGroupsApiGetApiV4ProjectsIdResourceGroupsKeyUpcomingJobsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type CiResourceGroupsApiGetApiV4ProjectsIdResourceGroupsOpts

type CiResourceGroupsApiGetApiV4ProjectsIdResourceGroupsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type CiResourceGroupsApiService

type CiResourceGroupsApiService service

func (*CiResourceGroupsApiService) GetApiV4ProjectsIdResourceGroups

func (*CiResourceGroupsApiService) GetApiV4ProjectsIdResourceGroupsKey

func (a *CiResourceGroupsApiService) GetApiV4ProjectsIdResourceGroupsKey(ctx context.Context, id string, key string) (ApiEntitiesCiResourceGroup, *http.Response, error)

CiResourceGroupsApiService Get a specific resource group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param key The key of the resource group

@return ApiEntitiesCiResourceGroup

func (*CiResourceGroupsApiService) GetApiV4ProjectsIdResourceGroupsKeyUpcomingJobs

func (a *CiResourceGroupsApiService) GetApiV4ProjectsIdResourceGroupsKeyUpcomingJobs(ctx context.Context, id string, key string, localVarOptionals *CiResourceGroupsApiGetApiV4ProjectsIdResourceGroupsKeyUpcomingJobsOpts) ([]ApiEntitiesCiJobBasic, *http.Response, error)

func (*CiResourceGroupsApiService) PutApiV4ProjectsIdResourceGroupsKey

func (a *CiResourceGroupsApiService) PutApiV4ProjectsIdResourceGroupsKey(ctx context.Context, id string, key string, putApiV4ProjectsIdResourceGroupsKey PutApiV4ProjectsIdResourceGroupsKey) (ApiEntitiesCiResourceGroup, *http.Response, error)

CiResourceGroupsApiService Edit an existing resource group Updates an existing resource group's properties.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param key The key of the resource group
  • @param putApiV4ProjectsIdResourceGroupsKey

@return ApiEntitiesCiResourceGroup

type CiVariablesApiDeleteApiV4ProjectsIdVariablesKeyOpts

type CiVariablesApiDeleteApiV4ProjectsIdVariablesKeyOpts struct {
	FilterEnvironmentScope optional.String
}

type CiVariablesApiGetApiV4AdminCiVariablesOpts

type CiVariablesApiGetApiV4AdminCiVariablesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type CiVariablesApiGetApiV4GroupsIdVariablesOpts

type CiVariablesApiGetApiV4GroupsIdVariablesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type CiVariablesApiGetApiV4ProjectsIdVariablesKeyOpts

type CiVariablesApiGetApiV4ProjectsIdVariablesKeyOpts struct {
	FilterEnvironmentScope optional.String
}

type CiVariablesApiGetApiV4ProjectsIdVariablesOpts

type CiVariablesApiGetApiV4ProjectsIdVariablesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type CiVariablesApiService

type CiVariablesApiService service

func (*CiVariablesApiService) DeleteApiV4AdminCiVariablesKey

func (a *CiVariablesApiService) DeleteApiV4AdminCiVariablesKey(ctx context.Context, key string) (ApiEntitiesCiVariable, *http.Response, error)

CiVariablesApiService Delete an existing instance-level variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of a variable

@return ApiEntitiesCiVariable

func (*CiVariablesApiService) DeleteApiV4GroupsIdVariablesKey

func (a *CiVariablesApiService) DeleteApiV4GroupsIdVariablesKey(ctx context.Context, id string, key string) (ApiEntitiesCiVariable, *http.Response, error)

CiVariablesApiService Delete an existing variable from a group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group or URL-encoded path of the group owned by the authenticated user
  • @param key The key of a variable

@return ApiEntitiesCiVariable

func (*CiVariablesApiService) DeleteApiV4ProjectsIdVariablesKey

func (a *CiVariablesApiService) DeleteApiV4ProjectsIdVariablesKey(ctx context.Context, id string, key string, localVarOptionals *CiVariablesApiDeleteApiV4ProjectsIdVariablesKeyOpts) (ApiEntitiesCiVariable, *http.Response, error)

func (*CiVariablesApiService) GetApiV4AdminCiVariables

func (*CiVariablesApiService) GetApiV4AdminCiVariablesKey

func (a *CiVariablesApiService) GetApiV4AdminCiVariablesKey(ctx context.Context, key string) (ApiEntitiesCiVariable, *http.Response, error)

CiVariablesApiService Get the details of a specific instance-level variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of a variable

@return ApiEntitiesCiVariable

func (*CiVariablesApiService) GetApiV4GroupsIdVariables

func (*CiVariablesApiService) GetApiV4GroupsIdVariablesKey

func (a *CiVariablesApiService) GetApiV4GroupsIdVariablesKey(ctx context.Context, id string, key string) (ApiEntitiesCiVariable, *http.Response, error)

CiVariablesApiService Get the details of a group’s specific variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group or URL-encoded path of the group owned by the authenticated user
  • @param key The key of the variable

@return ApiEntitiesCiVariable

func (*CiVariablesApiService) GetApiV4ProjectsIdVariables

func (*CiVariablesApiService) GetApiV4ProjectsIdVariablesKey

func (a *CiVariablesApiService) GetApiV4ProjectsIdVariablesKey(ctx context.Context, id string, key string, localVarOptionals *CiVariablesApiGetApiV4ProjectsIdVariablesKeyOpts) (ApiEntitiesCiVariable, *http.Response, error)

func (*CiVariablesApiService) PostApiV4AdminCiVariables

func (a *CiVariablesApiService) PostApiV4AdminCiVariables(ctx context.Context, postApiV4AdminCiVariables PostApiV4AdminCiVariables) (ApiEntitiesCiVariable, *http.Response, error)

CiVariablesApiService Create a new instance-level variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4AdminCiVariables

@return ApiEntitiesCiVariable

func (*CiVariablesApiService) PostApiV4GroupsIdVariables

func (a *CiVariablesApiService) PostApiV4GroupsIdVariables(ctx context.Context, id string, postApiV4GroupsIdVariables PostApiV4GroupsIdVariables) (ApiEntitiesCiVariable, *http.Response, error)

CiVariablesApiService Create a new variable in a group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group or URL-encoded path of the group owned by the authenticated user
  • @param postApiV4GroupsIdVariables

@return ApiEntitiesCiVariable

func (*CiVariablesApiService) PostApiV4ProjectsIdVariables

func (a *CiVariablesApiService) PostApiV4ProjectsIdVariables(ctx context.Context, id string, postApiV4ProjectsIdVariables PostApiV4ProjectsIdVariables) (ApiEntitiesCiVariable, *http.Response, error)

CiVariablesApiService Create a new variable in a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project or URL-encoded NAMESPACE/PROJECT_NAME of the project owned by the authenticated user
  • @param postApiV4ProjectsIdVariables

@return ApiEntitiesCiVariable

func (*CiVariablesApiService) PutApiV4AdminCiVariablesKey

func (a *CiVariablesApiService) PutApiV4AdminCiVariablesKey(ctx context.Context, key string, putApiV4AdminCiVariablesKey PutApiV4AdminCiVariablesKey) (ApiEntitiesCiVariable, *http.Response, error)

CiVariablesApiService Update an instance-level variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of a variable
  • @param putApiV4AdminCiVariablesKey

@return ApiEntitiesCiVariable

func (*CiVariablesApiService) PutApiV4GroupsIdVariablesKey

func (a *CiVariablesApiService) PutApiV4GroupsIdVariablesKey(ctx context.Context, id string, key string, putApiV4GroupsIdVariablesKey PutApiV4GroupsIdVariablesKey) (ApiEntitiesCiVariable, *http.Response, error)

CiVariablesApiService Update an existing variable from a group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group or URL-encoded path of the group owned by the authenticated user
  • @param key The key of a variable
  • @param putApiV4GroupsIdVariablesKey

@return ApiEntitiesCiVariable

func (*CiVariablesApiService) PutApiV4ProjectsIdVariablesKey

func (a *CiVariablesApiService) PutApiV4ProjectsIdVariablesKey(ctx context.Context, id string, key string, putApiV4ProjectsIdVariablesKey PutApiV4ProjectsIdVariablesKey) (ApiEntitiesCiVariable, *http.Response, error)

CiVariablesApiService Update an existing variable from a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project or URL-encoded NAMESPACE/PROJECT_NAME of the project owned by the authenticated user
  • @param key The key of a variable
  • @param putApiV4ProjectsIdVariablesKey

@return ApiEntitiesCiVariable

type ClusterAgentsApiGetApiV4ProjectsIdClusterAgentsAgentIdTokensOpts

type ClusterAgentsApiGetApiV4ProjectsIdClusterAgentsAgentIdTokensOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ClusterAgentsApiGetApiV4ProjectsIdClusterAgentsOpts

type ClusterAgentsApiGetApiV4ProjectsIdClusterAgentsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ClusterAgentsApiService

type ClusterAgentsApiService service

func (*ClusterAgentsApiService) DeleteApiV4ProjectsIdClusterAgentsAgentId

func (a *ClusterAgentsApiService) DeleteApiV4ProjectsIdClusterAgentsAgentId(ctx context.Context, id string, agentId int32) (*http.Response, error)

ClusterAgentsApiService Delete a registered agent This feature was introduced in GitLab 14.10. Deletes an existing agent registration.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param agentId The ID of an agent

func (*ClusterAgentsApiService) DeleteApiV4ProjectsIdClusterAgentsAgentIdTokensTokenId

func (a *ClusterAgentsApiService) DeleteApiV4ProjectsIdClusterAgentsAgentIdTokensTokenId(ctx context.Context, id string, agentId int32, tokenId int32) (*http.Response, error)

ClusterAgentsApiService Revoke an agent token This feature was introduced in GitLab 15.0. Revokes an agent token.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param agentId The ID of an agent
  • @param tokenId The ID of the agent token

func (*ClusterAgentsApiService) GetApiV4ProjectsIdClusterAgents

func (*ClusterAgentsApiService) GetApiV4ProjectsIdClusterAgentsAgentId

func (a *ClusterAgentsApiService) GetApiV4ProjectsIdClusterAgentsAgentId(ctx context.Context, id string, agentId int32) (ApiEntitiesClustersAgent, *http.Response, error)

ClusterAgentsApiService Get details about an agent This feature was introduced in GitLab 14.10. Gets a single agent details.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param agentId The ID of an agent

@return ApiEntitiesClustersAgent

func (*ClusterAgentsApiService) GetApiV4ProjectsIdClusterAgentsAgentIdTokens

func (a *ClusterAgentsApiService) GetApiV4ProjectsIdClusterAgentsAgentIdTokens(ctx context.Context, id string, agentId int32, localVarOptionals *ClusterAgentsApiGetApiV4ProjectsIdClusterAgentsAgentIdTokensOpts) (ApiEntitiesClustersAgentTokenBasic, *http.Response, error)

func (*ClusterAgentsApiService) GetApiV4ProjectsIdClusterAgentsAgentIdTokensTokenId

func (a *ClusterAgentsApiService) GetApiV4ProjectsIdClusterAgentsAgentIdTokensTokenId(ctx context.Context, id string, agentId int32, tokenId int32) (ApiEntitiesClustersAgentToken, *http.Response, error)

ClusterAgentsApiService Get a single agent token This feature was introduced in GitLab 15.0. Gets a single agent token.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param agentId The ID of an agent
  • @param tokenId The ID of the agent token

@return ApiEntitiesClustersAgentToken

func (*ClusterAgentsApiService) PostApiV4ProjectsIdClusterAgents

func (a *ClusterAgentsApiService) PostApiV4ProjectsIdClusterAgents(ctx context.Context, id string, postApiV4ProjectsIdClusterAgents PostApiV4ProjectsIdClusterAgents) (ApiEntitiesClustersAgent, *http.Response, error)

ClusterAgentsApiService Register an agent with a project This feature was introduced in GitLab 14.10. Registers an agent to the project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdClusterAgents

@return ApiEntitiesClustersAgent

func (*ClusterAgentsApiService) PostApiV4ProjectsIdClusterAgentsAgentIdTokens

func (a *ClusterAgentsApiService) PostApiV4ProjectsIdClusterAgentsAgentIdTokens(ctx context.Context, id string, agentId int32, postApiV4ProjectsIdClusterAgentsAgentIdTokens PostApiV4ProjectsIdClusterAgentsAgentIdTokens) (ApiEntitiesClustersAgentTokenWithToken, *http.Response, error)

ClusterAgentsApiService Create an agent token This feature was introduced in GitLab 15.0. Creates a new token for an agent.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param agentId The ID of an agent
  • @param postApiV4ProjectsIdClusterAgentsAgentIdTokens

@return ApiEntitiesClustersAgentTokenWithToken

type ClustersApiGetApiV4GroupsIdClustersOpts

type ClustersApiGetApiV4GroupsIdClustersOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ClustersApiGetApiV4ProjectsIdClustersOpts

type ClustersApiGetApiV4ProjectsIdClustersOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ClustersApiService

type ClustersApiService service

func (*ClustersApiService) DeleteApiV4AdminClustersClusterId

func (a *ClustersApiService) DeleteApiV4AdminClustersClusterId(ctx context.Context, clusterId int32) (ApiEntitiesCluster, *http.Response, error)

ClustersApiService Delete instance cluster This feature was introduced in GitLab 13.2. Deletes an existing instance cluster. Does not remove existing resources within the connected Kubernetes cluster.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The cluster ID

@return ApiEntitiesCluster

func (*ClustersApiService) DeleteApiV4GroupsIdClustersClusterId

func (a *ClustersApiService) DeleteApiV4GroupsIdClustersClusterId(ctx context.Context, id string, clusterId int32) (ApiEntitiesClusterGroup, *http.Response, error)

ClustersApiService Delete group cluster This feature was introduced in GitLab 12.1. Deletes an existing group cluster. Does not remove existing resources within the connected Kubernetes cluster.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the group
  • @param clusterId The Cluster ID

@return ApiEntitiesClusterGroup

func (*ClustersApiService) DeleteApiV4ProjectsIdClustersClusterId

func (a *ClustersApiService) DeleteApiV4ProjectsIdClustersClusterId(ctx context.Context, id string, clusterId int32) (ApiEntitiesClusterProject, *http.Response, error)

ClustersApiService Delete project cluster This feature was introduced in GitLab 11.7. Deletes an existing project cluster. Does not remove existing resources within the connected Kubernetes cluster.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param clusterId The Cluster ID

@return ApiEntitiesClusterProject

func (*ClustersApiService) GetApiV4AdminClusters

func (a *ClustersApiService) GetApiV4AdminClusters(ctx context.Context) ([]ApiEntitiesCluster, *http.Response, error)

ClustersApiService List instance clusters This feature was introduced in GitLab 13.2. Returns a list of instance clusters.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []ApiEntitiesCluster

func (*ClustersApiService) GetApiV4AdminClustersClusterId

func (a *ClustersApiService) GetApiV4AdminClustersClusterId(ctx context.Context, clusterId int32) (ApiEntitiesCluster, *http.Response, error)

ClustersApiService Get a single instance cluster This feature was introduced in GitLab 13.2. Returns a single instance cluster.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The cluster ID

@return ApiEntitiesCluster

func (*ClustersApiService) GetApiV4GroupsIdClusters

func (a *ClustersApiService) GetApiV4GroupsIdClusters(ctx context.Context, id string, localVarOptionals *ClustersApiGetApiV4GroupsIdClustersOpts) ([]ApiEntitiesCluster, *http.Response, error)

func (*ClustersApiService) GetApiV4GroupsIdClustersClusterId

func (a *ClustersApiService) GetApiV4GroupsIdClustersClusterId(ctx context.Context, id string, clusterId int32) (ApiEntitiesClusterGroup, *http.Response, error)

ClustersApiService Get a single group cluster This feature was introduced in GitLab 12.1. Gets a single group cluster.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the group
  • @param clusterId The cluster ID

@return ApiEntitiesClusterGroup

func (*ClustersApiService) GetApiV4ProjectsIdClusters

func (a *ClustersApiService) GetApiV4ProjectsIdClusters(ctx context.Context, id string, localVarOptionals *ClustersApiGetApiV4ProjectsIdClustersOpts) ([]ApiEntitiesCluster, *http.Response, error)

func (*ClustersApiService) GetApiV4ProjectsIdClustersClusterId

func (a *ClustersApiService) GetApiV4ProjectsIdClustersClusterId(ctx context.Context, id string, clusterId int32) (ApiEntitiesClusterProject, *http.Response, error)

ClustersApiService Get a single project cluster This feature was introduced in GitLab 11.7. Gets a single project cluster.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param clusterId The cluster ID

@return ApiEntitiesClusterProject

func (*ClustersApiService) PostApiV4AdminClustersAdd

func (a *ClustersApiService) PostApiV4AdminClustersAdd(ctx context.Context, postApiV4AdminClustersAdd PostApiV4AdminClustersAdd) (ApiEntitiesCluster, *http.Response, error)

ClustersApiService Add existing instance cluster This feature was introduced in GitLab 13.2. Adds an existing Kubernetes instance cluster.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4AdminClustersAdd

@return ApiEntitiesCluster

func (*ClustersApiService) PostApiV4GroupsIdClustersUser

func (a *ClustersApiService) PostApiV4GroupsIdClustersUser(ctx context.Context, id string, postApiV4GroupsIdClustersUser PostApiV4GroupsIdClustersUser) (ApiEntitiesClusterGroup, *http.Response, error)

ClustersApiService Add existing cluster to group This feature was introduced in GitLab 12.1. Adds an existing Kubernetes cluster to the group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the group
  • @param postApiV4GroupsIdClustersUser

@return ApiEntitiesClusterGroup

func (*ClustersApiService) PostApiV4ProjectsIdClustersUser

func (a *ClustersApiService) PostApiV4ProjectsIdClustersUser(ctx context.Context, id string, postApiV4ProjectsIdClustersUser PostApiV4ProjectsIdClustersUser) (ApiEntitiesClusterProject, *http.Response, error)

ClustersApiService Add existing cluster to project This feature was introduced in GitLab 11.7. Adds an existing Kubernetes cluster to the project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdClustersUser

@return ApiEntitiesClusterProject

func (*ClustersApiService) PutApiV4AdminClustersClusterId

func (a *ClustersApiService) PutApiV4AdminClustersClusterId(ctx context.Context, clusterId int32, putApiV4AdminClustersClusterId PutApiV4AdminClustersClusterId) (ApiEntitiesCluster, *http.Response, error)

ClustersApiService Edit instance cluster This feature was introduced in GitLab 13.2. Updates an existing instance cluster.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param clusterId The cluster ID
  • @param putApiV4AdminClustersClusterId

@return ApiEntitiesCluster

func (*ClustersApiService) PutApiV4GroupsIdClustersClusterId

func (a *ClustersApiService) PutApiV4GroupsIdClustersClusterId(ctx context.Context, id string, clusterId int32, putApiV4GroupsIdClustersClusterId PutApiV4GroupsIdClustersClusterId) (ApiEntitiesClusterGroup, *http.Response, error)

ClustersApiService Edit group cluster This feature was introduced in GitLab 12.1. Updates an existing group cluster.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the group
  • @param clusterId The cluster ID
  • @param putApiV4GroupsIdClustersClusterId

@return ApiEntitiesClusterGroup

func (*ClustersApiService) PutApiV4ProjectsIdClustersClusterId

func (a *ClustersApiService) PutApiV4ProjectsIdClustersClusterId(ctx context.Context, id string, clusterId int32, putApiV4ProjectsIdClustersClusterId PutApiV4ProjectsIdClustersClusterId) (ApiEntitiesClusterProject, *http.Response, error)

ClustersApiService Edit project cluster This feature was introduced in GitLab 11.7. Updates an existing project cluster.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param clusterId The cluster ID
  • @param putApiV4ProjectsIdClustersClusterId

@return ApiEntitiesClusterProject

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsOpts

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsOpts struct {
	RefName     optional.String
	Since       optional.Time
	Until       optional.Time
	Path        optional.String
	Author      optional.String
	All         optional.Bool
	WithStats   optional.Bool
	FirstParent optional.Bool
	Order       optional.String
	Trailers    optional.Bool
	Page        optional.Int32
	PerPage     optional.Int32
}

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaCommentsOpts

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaCommentsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaDiffOpts

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaDiffOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Unidiff optional.Bool
}

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaMergeRequestsOpts

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaMergeRequestsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaOpts

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaOpts struct {
	Stats optional.Bool
}

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaRefsOpts

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaRefsOpts struct {
	Type_   optional.String
	Page    optional.Int32
	PerPage optional.Int32
}

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaSequenceOpts

type CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaSequenceOpts struct {
	FirstParent optional.Bool
}

type CommitsApiService

type CommitsApiService service

func (*CommitsApiService) GetApiV4ProjectsIdRepositoryCommits

func (a *CommitsApiService) GetApiV4ProjectsIdRepositoryCommits(ctx context.Context, id string, localVarOptionals *CommitsApiGetApiV4ProjectsIdRepositoryCommitsOpts) ([]ApiEntitiesCommit, *http.Response, error)

func (*CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsSha

func (a *CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsSha(ctx context.Context, id string, sha string, localVarOptionals *CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaOpts) (ApiEntitiesCommitDetail, *http.Response, error)

func (*CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaComments

func (a *CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaComments(ctx context.Context, id string, sha string, localVarOptionals *CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaCommentsOpts) ([]ApiEntitiesCommitNote, *http.Response, error)

func (*CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaDiff

func (a *CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaDiff(ctx context.Context, id string, sha string, localVarOptionals *CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaDiffOpts) ([]ApiEntitiesDiff, *http.Response, error)

func (*CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaMergeRequests

func (a *CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaMergeRequests(ctx context.Context, id string, sha string, localVarOptionals *CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaMergeRequestsOpts) ([]ApiEntitiesMergeRequestBasic, *http.Response, error)

func (*CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaRefs

func (a *CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaRefs(ctx context.Context, id string, sha string, localVarOptionals *CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaRefsOpts) ([]ApiEntitiesBasicRef, *http.Response, error)

func (*CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaSequence

func (a *CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaSequence(ctx context.Context, id string, sha string, localVarOptionals *CommitsApiGetApiV4ProjectsIdRepositoryCommitsShaSequenceOpts) (ApiEntitiesCommitSequence, *http.Response, error)

func (*CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaSignature

func (a *CommitsApiService) GetApiV4ProjectsIdRepositoryCommitsShaSignature(ctx context.Context, id string, sha string) (ApiEntitiesCommitSignature, *http.Response, error)

CommitsApiService Get a commit's signature

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param sha A commit sha, or the name of a branch or tag

@return ApiEntitiesCommitSignature

func (*CommitsApiService) PostApiV4ProjectsIdRepositoryCommits

func (a *CommitsApiService) PostApiV4ProjectsIdRepositoryCommits(ctx context.Context, id string, postApiV4ProjectsIdRepositoryCommits PostApiV4ProjectsIdRepositoryCommits) (ApiEntitiesCommitDetail, *http.Response, error)

CommitsApiService Commit multiple file changes as one commit This feature was introduced in GitLab 8.13

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdRepositoryCommits

@return ApiEntitiesCommitDetail

func (*CommitsApiService) PostApiV4ProjectsIdRepositoryCommitsShaCherryPick

func (a *CommitsApiService) PostApiV4ProjectsIdRepositoryCommitsShaCherryPick(ctx context.Context, id string, sha string, postApiV4ProjectsIdRepositoryCommitsShaCherryPick PostApiV4ProjectsIdRepositoryCommitsShaCherryPick) (ApiEntitiesCommit, *http.Response, error)

CommitsApiService Cherry pick commit into a branch This feature was introduced in GitLab 8.15

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param sha A commit sha, or the name of a branch or tag to be cherry picked
  • @param postApiV4ProjectsIdRepositoryCommitsShaCherryPick

@return ApiEntitiesCommit

func (*CommitsApiService) PostApiV4ProjectsIdRepositoryCommitsShaComments

func (a *CommitsApiService) PostApiV4ProjectsIdRepositoryCommitsShaComments(ctx context.Context, id string, sha string, postApiV4ProjectsIdRepositoryCommitsShaComments PostApiV4ProjectsIdRepositoryCommitsShaComments) (ApiEntitiesCommitNote, *http.Response, error)

CommitsApiService Post comment to commit

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param sha A commit sha, or the name of a branch or tag on which to post a comment
  • @param postApiV4ProjectsIdRepositoryCommitsShaComments

@return ApiEntitiesCommitNote

func (*CommitsApiService) PostApiV4ProjectsIdRepositoryCommitsShaRevert

func (a *CommitsApiService) PostApiV4ProjectsIdRepositoryCommitsShaRevert(ctx context.Context, id string, sha string, postApiV4ProjectsIdRepositoryCommitsShaRevert PostApiV4ProjectsIdRepositoryCommitsShaRevert) (ApiEntitiesCommit, *http.Response, error)

CommitsApiService Revert a commit in a branch This feature was introduced in GitLab 11.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param sha Commit SHA to revert
  • @param postApiV4ProjectsIdRepositoryCommitsShaRevert

@return ApiEntitiesCommit

type ComposerPackagesApiService

type ComposerPackagesApiService service

func (*ComposerPackagesApiService) GetApiV4GroupIdPackagesComposerP2packageName

func (a *ComposerPackagesApiService) GetApiV4GroupIdPackagesComposerP2packageName(ctx context.Context, id string, packageName string) (*http.Response, error)

ComposerPackagesApiService Composer v2 packages p2 endpoint at group level for package versions metadata This feature was introduced in GitLab 13.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of a group
  • @param packageName The Composer package name

func (*ComposerPackagesApiService) GetApiV4GroupIdPackagesComposerPSha

func (a *ComposerPackagesApiService) GetApiV4GroupIdPackagesComposerPSha(ctx context.Context, id string, sha string) (*http.Response, error)

ComposerPackagesApiService Composer packages endpoint at group level for packages list This feature was introduced in GitLab 13.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of a group
  • @param sha Shasum of current json

func (*ComposerPackagesApiService) GetApiV4GroupIdPackagesComposerPackages

func (a *ComposerPackagesApiService) GetApiV4GroupIdPackagesComposerPackages(ctx context.Context, id string) (*http.Response, error)

ComposerPackagesApiService Composer packages endpoint at group level This feature was introduced in GitLab 13.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of a group

func (*ComposerPackagesApiService) GetApiV4GroupIdPackagesComposerpackageName

func (a *ComposerPackagesApiService) GetApiV4GroupIdPackagesComposerpackageName(ctx context.Context, id string, packageName string) (*http.Response, error)

ComposerPackagesApiService Composer packages endpoint at group level for package versions metadata This feature was introduced in GitLab 12.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of a group
  • @param packageName The Composer package name

func (*ComposerPackagesApiService) GetApiV4ProjectsIdPackagesComposerArchivespackageName

func (a *ComposerPackagesApiService) GetApiV4ProjectsIdPackagesComposerArchivespackageName(ctx context.Context, id string, sha string, packageName string) (*http.Response, error)

ComposerPackagesApiService Composer package endpoint to download a package archive This feature was introduced in GitLab 13.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of a project
  • @param sha Shasum of current json
  • @param packageName The Composer package name

func (*ComposerPackagesApiService) PostApiV4ProjectsIdPackagesComposer

func (a *ComposerPackagesApiService) PostApiV4ProjectsIdPackagesComposer(ctx context.Context, id string, postApiV4ProjectsIdPackagesComposer PostApiV4ProjectsIdPackagesComposer) (*http.Response, error)

ComposerPackagesApiService Composer packages endpoint for registering packages This feature was introduced in GitLab 13.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of a project
  • @param postApiV4ProjectsIdPackagesComposer

type ConanPackagesApiService

type ConanPackagesApiService service

func (*ConanPackagesApiService) DeleteApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel

func (a *ConanPackagesApiService) DeleteApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string) (*http.Response, error)

ConanPackagesApiService Delete Package This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel

func (*ConanPackagesApiService) DeleteApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel

func (a *ConanPackagesApiService) DeleteApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string) (*http.Response, error)

ConanPackagesApiService Delete Package This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel

func (*ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string) (ApiEntitiesConanPackageConanRecipeSnapshot, *http.Response, error)

ConanPackagesApiService Recipe Snapshot This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel

@return ApiEntitiesConanPackageConanRecipeSnapshot

func (*ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDigest

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDigest(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string) (ApiEntitiesConanPackageConanRecipeManifest, *http.Response, error)

ConanPackagesApiService Recipe Digest This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel

@return ApiEntitiesConanPackageConanRecipeManifest

func (*ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDownloadUrls

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDownloadUrls(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string) (ApiEntitiesConanPackageConanRecipeManifest, *http.Response, error)

ConanPackagesApiService Recipe Download Urls This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel

@return ApiEntitiesConanPackageConanRecipeManifest

func (*ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReference

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReference(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string, conanPackageReference string) (ApiEntitiesConanPackageConanPackageSnapshot, *http.Response, error)

ConanPackagesApiService Package Snapshot This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param conanPackageReference Conan package ID

@return ApiEntitiesConanPackageConanPackageSnapshot

func (*ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDigest

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDigest(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string, conanPackageReference string) (ApiEntitiesConanPackageConanPackageManifest, *http.Response, error)

ConanPackagesApiService Package Digest This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param conanPackageReference Conan package ID

@return ApiEntitiesConanPackageConanPackageManifest

func (*ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDownloadUrls

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDownloadUrls(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string, conanPackageReference string) (ApiEntitiesConanPackageConanPackageManifest, *http.Response, error)

ConanPackagesApiService Package Download Urls This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param conanPackageReference Conan package ID

@return ApiEntitiesConanPackageConanPackageManifest

func (*ConanPackagesApiService) GetApiV4PackagesConanV1ConansSearch

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1ConansSearch(ctx context.Context, q string) (*http.Response, error)

ConanPackagesApiService Search for packages This feature was introduced in GitLab 12.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param q Search query

func (*ConanPackagesApiService) GetApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, fileName string) (*http.Response, error)

ConanPackagesApiService Download recipe files This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param fileName Package file name

func (*ConanPackagesApiService) GetApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, conanPackageReference string, packageRevision string, fileName string) (*http.Response, error)

ConanPackagesApiService Download package files This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param conanPackageReference Conan Package ID
  • @param packageRevision Conan Package Revision
  • @param fileName Package file name

func (*ConanPackagesApiService) GetApiV4PackagesConanV1Ping

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1Ping(ctx context.Context) (*http.Response, error)

ConanPackagesApiService Ping the Conan API This feature was introduced in GitLab 12.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*ConanPackagesApiService) GetApiV4PackagesConanV1UsersAuthenticate

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1UsersAuthenticate(ctx context.Context) (*http.Response, error)

ConanPackagesApiService Authenticate user against conan CLI This feature was introduced in GitLab 12.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*ConanPackagesApiService) GetApiV4PackagesConanV1UsersCheckCredentials

func (a *ConanPackagesApiService) GetApiV4PackagesConanV1UsersCheckCredentials(ctx context.Context) (*http.Response, error)

ConanPackagesApiService Check for valid user credentials per conan CLI This feature was introduced in GitLab 12.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string) (ApiEntitiesConanPackageConanRecipeSnapshot, *http.Response, error)

ConanPackagesApiService Recipe Snapshot This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel

@return ApiEntitiesConanPackageConanRecipeSnapshot

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDigest

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDigest(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string) (ApiEntitiesConanPackageConanRecipeManifest, *http.Response, error)

ConanPackagesApiService Recipe Digest This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel

@return ApiEntitiesConanPackageConanRecipeManifest

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDownloadUrls

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDownloadUrls(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string) (ApiEntitiesConanPackageConanRecipeManifest, *http.Response, error)

ConanPackagesApiService Recipe Download Urls This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel

@return ApiEntitiesConanPackageConanRecipeManifest

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReference

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReference(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string, conanPackageReference string) (ApiEntitiesConanPackageConanPackageSnapshot, *http.Response, error)

ConanPackagesApiService Package Snapshot This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param conanPackageReference Conan package ID

@return ApiEntitiesConanPackageConanPackageSnapshot

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDigest

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDigest(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string, conanPackageReference string) (ApiEntitiesConanPackageConanPackageManifest, *http.Response, error)

ConanPackagesApiService Package Digest This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param conanPackageReference Conan package ID

@return ApiEntitiesConanPackageConanPackageManifest

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDownloadUrls

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDownloadUrls(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string, conanPackageReference string) (ApiEntitiesConanPackageConanPackageManifest, *http.Response, error)

ConanPackagesApiService Package Download Urls This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param conanPackageReference Conan package ID

@return ApiEntitiesConanPackageConanPackageManifest

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansSearch

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1ConansSearch(ctx context.Context, id string, q string) (*http.Response, error)

ConanPackagesApiService Search for packages This feature was introduced in GitLab 12.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param q Search query

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, fileName string) (*http.Response, error)

ConanPackagesApiService Download recipe files This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param fileName Package file name

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, conanPackageReference string, packageRevision string, fileName string) (*http.Response, error)

ConanPackagesApiService Download package files This feature was introduced in GitLab 12.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param conanPackageReference Conan Package ID
  • @param packageRevision Conan Package Revision
  • @param fileName Package file name

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1Ping

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1Ping(ctx context.Context, id string) (*http.Response, error)

ConanPackagesApiService Ping the Conan API This feature was introduced in GitLab 12.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1UsersAuthenticate

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1UsersAuthenticate(ctx context.Context, id string) (*http.Response, error)

ConanPackagesApiService Authenticate user against conan CLI This feature was introduced in GitLab 12.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1UsersCheckCredentials

func (a *ConanPackagesApiService) GetApiV4ProjectsIdPackagesConanV1UsersCheckCredentials(ctx context.Context, id string) (*http.Response, error)

ConanPackagesApiService Check for valid user credentials per conan CLI This feature was introduced in GitLab 12.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ConanPackagesApiService) PostApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceUploadUrls

func (a *ConanPackagesApiService) PostApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceUploadUrls(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string, conanPackageReference string) (ApiEntitiesConanPackageConanUploadUrls, *http.Response, error)

ConanPackagesApiService Package Upload Urls This feature was introduced in GitLab 12.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param conanPackageReference Conan package ID

@return ApiEntitiesConanPackageConanUploadUrls

func (*ConanPackagesApiService) PostApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelUploadUrls

func (a *ConanPackagesApiService) PostApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelUploadUrls(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string) (ApiEntitiesConanPackageConanUploadUrls, *http.Response, error)

ConanPackagesApiService Recipe Upload Urls This feature was introduced in GitLab 12.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel

@return ApiEntitiesConanPackageConanUploadUrls

func (*ConanPackagesApiService) PostApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceUploadUrls

func (a *ConanPackagesApiService) PostApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceUploadUrls(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string, conanPackageReference string) (ApiEntitiesConanPackageConanUploadUrls, *http.Response, error)

ConanPackagesApiService Package Upload Urls This feature was introduced in GitLab 12.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param conanPackageReference Conan package ID

@return ApiEntitiesConanPackageConanUploadUrls

func (*ConanPackagesApiService) PostApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelUploadUrls

func (a *ConanPackagesApiService) PostApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelUploadUrls(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string) (ApiEntitiesConanPackageConanUploadUrls, *http.Response, error)

ConanPackagesApiService Recipe Upload Urls This feature was introduced in GitLab 12.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel

@return ApiEntitiesConanPackageConanUploadUrls

func (*ConanPackagesApiService) PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName

func (a *ConanPackagesApiService) PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, fileName string, putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName) (*http.Response, error)

ConanPackagesApiService Upload recipe package files This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param fileName Package file name
  • @param putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName

func (*ConanPackagesApiService) PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameAuthorize

func (a *ConanPackagesApiService) PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameAuthorize(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, fileName string) (*http.Response, error)

ConanPackagesApiService Workhorse authorize the conan recipe file This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param fileName Package file name

func (*ConanPackagesApiService) PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName

func (a *ConanPackagesApiService) PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, conanPackageReference string, packageRevision string, fileName string, putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName) (*http.Response, error)

ConanPackagesApiService Upload package files This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param conanPackageReference Conan Package ID
  • @param packageRevision Conan Package Revision
  • @param fileName Package file name
  • @param putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName

func (*ConanPackagesApiService) PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameAuthorize

func (a *ConanPackagesApiService) PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameAuthorize(ctx context.Context, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, conanPackageReference string, packageRevision string, fileName string) (*http.Response, error)

ConanPackagesApiService Workhorse authorize the conan package file This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param conanPackageReference Conan Package ID
  • @param packageRevision Conan Package Revision
  • @param fileName Package file name

func (*ConanPackagesApiService) PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName

func (a *ConanPackagesApiService) PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, fileName string, putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName) (*http.Response, error)

ConanPackagesApiService Upload recipe package files This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param fileName Package file name
  • @param putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName

func (*ConanPackagesApiService) PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameAuthorize

func (a *ConanPackagesApiService) PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameAuthorize(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, fileName string) (*http.Response, error)

ConanPackagesApiService Workhorse authorize the conan recipe file This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param fileName Package file name

func (*ConanPackagesApiService) PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName

func (a *ConanPackagesApiService) PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, conanPackageReference string, packageRevision string, fileName string, putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName) (*http.Response, error)

ConanPackagesApiService Upload package files This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param conanPackageReference Conan Package ID
  • @param packageRevision Conan Package Revision
  • @param fileName Package file name
  • @param putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName

func (*ConanPackagesApiService) PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameAuthorize

func (a *ConanPackagesApiService) PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameAuthorize(ctx context.Context, id string, packageName string, packageVersion string, packageUsername string, packageChannel string, recipeRevision string, conanPackageReference string, packageRevision string, fileName string) (*http.Response, error)

ConanPackagesApiService Workhorse authorize the conan package file This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param packageVersion Package version
  • @param packageUsername Package username
  • @param packageChannel Package channel
  • @param recipeRevision Conan Recipe Revision
  • @param conanPackageReference Conan Package ID
  • @param packageRevision Conan Package Revision
  • @param fileName Package file name

type Configuration

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	HTTPClient    *http.Client
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

type ContainerRegistryApiDeleteApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsOpts

type ContainerRegistryApiDeleteApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsOpts struct {
	NameRegexDelete optional.String
	NameRegex       optional.String
	NameRegexKeep   optional.String
	KeepN           optional.Int32
	OlderThan       optional.String
}

type ContainerRegistryApiGetApiV4GroupsIdRegistryRepositoriesOpts

type ContainerRegistryApiGetApiV4GroupsIdRegistryRepositoriesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ContainerRegistryApiGetApiV4ProjectsIdRegistryRepositoriesOpts

type ContainerRegistryApiGetApiV4ProjectsIdRegistryRepositoriesOpts struct {
	Page      optional.Int32
	PerPage   optional.Int32
	Tags      optional.Bool
	TagsCount optional.Bool
}

type ContainerRegistryApiGetApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsOpts

type ContainerRegistryApiGetApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ContainerRegistryApiGetApiV4RegistryRepositoriesIdOpts

type ContainerRegistryApiGetApiV4RegistryRepositoriesIdOpts struct {
	Tags      optional.Bool
	TagsCount optional.Bool
	Size      optional.Bool
}

type ContainerRegistryApiService

type ContainerRegistryApiService service

func (*ContainerRegistryApiService) DeleteApiV4ProjectsIdRegistryRepositoriesRepositoryId

func (a *ContainerRegistryApiService) DeleteApiV4ProjectsIdRegistryRepositoriesRepositoryId(ctx context.Context, id string, repositoryId int32) (*http.Response, error)

ContainerRegistryApiService Delete repository This feature was introduced in GitLab 11.8.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param repositoryId The ID of the repository

func (*ContainerRegistryApiService) DeleteApiV4ProjectsIdRegistryRepositoriesRepositoryIdTags

func (a *ContainerRegistryApiService) DeleteApiV4ProjectsIdRegistryRepositoriesRepositoryIdTags(ctx context.Context, id string, repositoryId int32, localVarOptionals *ContainerRegistryApiDeleteApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsOpts) (*http.Response, error)

func (*ContainerRegistryApiService) DeleteApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsTagName

func (a *ContainerRegistryApiService) DeleteApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsTagName(ctx context.Context, id string, repositoryId int32, tagName string) (*http.Response, error)

ContainerRegistryApiService Delete repository tag This feature was introduced in GitLab 11.8.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param repositoryId The ID of the repository
  • @param tagName The name of the tag

func (*ContainerRegistryApiService) GetApiV4ProjectsIdRegistryRepositoriesRepositoryIdTags

func (a *ContainerRegistryApiService) GetApiV4ProjectsIdRegistryRepositoriesRepositoryIdTags(ctx context.Context, id string, repositoryId int32, localVarOptionals *ContainerRegistryApiGetApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsOpts) ([]ApiEntitiesContainerRegistryTag, *http.Response, error)

func (*ContainerRegistryApiService) GetApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsTagName

func (a *ContainerRegistryApiService) GetApiV4ProjectsIdRegistryRepositoriesRepositoryIdTagsTagName(ctx context.Context, id string, repositoryId int32, tagName string) (ApiEntitiesContainerRegistryTagDetails, *http.Response, error)

ContainerRegistryApiService Get details about a repository tag This feature was introduced in GitLab 11.8.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param repositoryId The ID of the repository
  • @param tagName The name of the tag

@return ApiEntitiesContainerRegistryTagDetails

type ContainerRegistryEventApiService

type ContainerRegistryEventApiService service

func (*ContainerRegistryEventApiService) PostApiV4ContainerRegistryEventEvents

func (a *ContainerRegistryEventApiService) PostApiV4ContainerRegistryEventEvents(ctx context.Context) (*http.Response, error)

ContainerRegistryEventApiService Receives notifications from the container registry when an operation occurs This feature was introduced in GitLab 12.10

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

type DebianDistributionApiDeleteApiV4GroupsIdDebianDistributionsCodenameOpts

type DebianDistributionApiDeleteApiV4GroupsIdDebianDistributionsCodenameOpts struct {
	Suite                    optional.String
	Origin                   optional.String
	Label                    optional.String
	Version                  optional.String
	Description              optional.String
	ValidTimeDurationSeconds optional.Int32
	Components               optional.Interface
	Architectures            optional.Interface
}

type DebianDistributionApiDeleteApiV4ProjectsIdDebianDistributionsCodenameOpts

type DebianDistributionApiDeleteApiV4ProjectsIdDebianDistributionsCodenameOpts struct {
	Suite                    optional.String
	Origin                   optional.String
	Label                    optional.String
	Version                  optional.String
	Description              optional.String
	ValidTimeDurationSeconds optional.Int32
	Components               optional.Interface
	Architectures            optional.Interface
}

type DebianDistributionApiGetApiV4GroupsIdDebianDistributionsOpts

type DebianDistributionApiGetApiV4GroupsIdDebianDistributionsOpts struct {
	Page                     optional.Int32
	PerPage                  optional.Int32
	Codename                 optional.String
	Suite                    optional.String
	Origin                   optional.String
	Label                    optional.String
	Version                  optional.String
	Description              optional.String
	ValidTimeDurationSeconds optional.Int32
	Components               optional.Interface
	Architectures            optional.Interface
}

type DebianDistributionApiGetApiV4ProjectsIdDebianDistributionsOpts

type DebianDistributionApiGetApiV4ProjectsIdDebianDistributionsOpts struct {
	Page                     optional.Int32
	PerPage                  optional.Int32
	Codename                 optional.String
	Suite                    optional.String
	Origin                   optional.String
	Label                    optional.String
	Version                  optional.String
	Description              optional.String
	ValidTimeDurationSeconds optional.Int32
	Components               optional.Interface
	Architectures            optional.Interface
}

type DebianDistributionApiService

type DebianDistributionApiService service

func (*DebianDistributionApiService) DeleteApiV4GroupsIdDebianDistributionsCodename

func (a *DebianDistributionApiService) DeleteApiV4GroupsIdDebianDistributionsCodename(ctx context.Context, id string, codename string, localVarOptionals *DebianDistributionApiDeleteApiV4GroupsIdDebianDistributionsCodenameOpts) (*http.Response, error)

func (*DebianDistributionApiService) DeleteApiV4ProjectsIdDebianDistributionsCodename

func (a *DebianDistributionApiService) DeleteApiV4ProjectsIdDebianDistributionsCodename(ctx context.Context, id string, codename string, localVarOptionals *DebianDistributionApiDeleteApiV4ProjectsIdDebianDistributionsCodenameOpts) (*http.Response, error)

func (*DebianDistributionApiService) GetApiV4GroupsIdDebianDistributionsCodename

func (a *DebianDistributionApiService) GetApiV4GroupsIdDebianDistributionsCodename(ctx context.Context, id string, codename string) (ApiEntitiesPackagesDebianDistribution, *http.Response, error)

DebianDistributionApiService Get a Debian Distribution This feature was introduced in 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group
  • @param codename The Debian Codename

@return ApiEntitiesPackagesDebianDistribution

func (*DebianDistributionApiService) GetApiV4GroupsIdDebianDistributionsCodenameKeyAsc

func (a *DebianDistributionApiService) GetApiV4GroupsIdDebianDistributionsCodenameKeyAsc(ctx context.Context, id string, codename string) (ApiEntitiesPackagesDebianDistribution, *http.Response, error)

DebianDistributionApiService Get a Debian Distribution Key This feature was introduced in 14.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group
  • @param codename The Debian Codename

@return ApiEntitiesPackagesDebianDistribution

func (*DebianDistributionApiService) GetApiV4ProjectsIdDebianDistributionsCodename

func (a *DebianDistributionApiService) GetApiV4ProjectsIdDebianDistributionsCodename(ctx context.Context, id string, codename string) (ApiEntitiesPackagesDebianDistribution, *http.Response, error)

DebianDistributionApiService Get a Debian Distribution This feature was introduced in 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param codename The Debian Codename

@return ApiEntitiesPackagesDebianDistribution

func (*DebianDistributionApiService) GetApiV4ProjectsIdDebianDistributionsCodenameKeyAsc

func (a *DebianDistributionApiService) GetApiV4ProjectsIdDebianDistributionsCodenameKeyAsc(ctx context.Context, id string, codename string) (ApiEntitiesPackagesDebianDistribution, *http.Response, error)

DebianDistributionApiService Get a Debian Distribution Key This feature was introduced in 14.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param codename The Debian Codename

@return ApiEntitiesPackagesDebianDistribution

func (*DebianDistributionApiService) PostApiV4GroupsIdDebianDistributions

func (a *DebianDistributionApiService) PostApiV4GroupsIdDebianDistributions(ctx context.Context, id string, postApiV4GroupsIdDebianDistributions PostApiV4GroupsIdDebianDistributions) (ApiEntitiesPackagesDebianDistribution, *http.Response, error)

DebianDistributionApiService Create a Debian Distribution This feature was introduced in 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group
  • @param postApiV4GroupsIdDebianDistributions

@return ApiEntitiesPackagesDebianDistribution

func (*DebianDistributionApiService) PostApiV4ProjectsIdDebianDistributions

func (a *DebianDistributionApiService) PostApiV4ProjectsIdDebianDistributions(ctx context.Context, id string, postApiV4ProjectsIdDebianDistributions PostApiV4ProjectsIdDebianDistributions) (ApiEntitiesPackagesDebianDistribution, *http.Response, error)

DebianDistributionApiService Create a Debian Distribution This feature was introduced in 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdDebianDistributions

@return ApiEntitiesPackagesDebianDistribution

func (*DebianDistributionApiService) PutApiV4GroupsIdDebianDistributionsCodename

func (a *DebianDistributionApiService) PutApiV4GroupsIdDebianDistributionsCodename(ctx context.Context, id string, codename string, putApiV4GroupsIdDebianDistributionsCodename PutApiV4GroupsIdDebianDistributionsCodename) (ApiEntitiesPackagesDebianDistribution, *http.Response, error)

DebianDistributionApiService Update a Debian Distribution This feature was introduced in 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group
  • @param codename The Debian Codename
  • @param putApiV4GroupsIdDebianDistributionsCodename

@return ApiEntitiesPackagesDebianDistribution

func (*DebianDistributionApiService) PutApiV4ProjectsIdDebianDistributionsCodename

func (a *DebianDistributionApiService) PutApiV4ProjectsIdDebianDistributionsCodename(ctx context.Context, id string, codename string, putApiV4ProjectsIdDebianDistributionsCodename PutApiV4ProjectsIdDebianDistributionsCodename) (ApiEntitiesPackagesDebianDistribution, *http.Response, error)

DebianDistributionApiService Update a Debian Distribution This feature was introduced in 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param codename The Debian Codename
  • @param putApiV4ProjectsIdDebianDistributionsCodename

@return ApiEntitiesPackagesDebianDistribution

type DebianPackagesApiService

type DebianPackagesApiService service

func (*DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentBinaryArchitectureByHashSha256FileSha256

func (a *DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentBinaryArchitectureByHashSha256FileSha256(ctx context.Context, id string, distribution string, component string, architecture string, fileSha256 int32) (*http.Response, error)

DebianPackagesApiService The binary files index by hash This feature was introduced in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component
  • @param architecture The Debian Architecture
  • @param fileSha256

func (*DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentBinaryArchitecturePackages

func (a *DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentBinaryArchitecturePackages(ctx context.Context, id string, distribution string, component string, architecture string) (*http.Response, error)

DebianPackagesApiService The binary files index This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component
  • @param architecture The Debian Architecture

func (*DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentDebianInstallerBinaryArchitectureByHashSha256FileSha256

func (a *DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentDebianInstallerBinaryArchitectureByHashSha256FileSha256(ctx context.Context, id string, distribution string, component string, architecture string, fileSha256 int32) (*http.Response, error)

DebianPackagesApiService The installer (udeb) binary files index by hash This feature was introduced in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component
  • @param architecture The Debian Architecture
  • @param fileSha256

func (*DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentDebianInstallerBinaryArchitecturePackages

func (a *DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentDebianInstallerBinaryArchitecturePackages(ctx context.Context, id string, distribution string, component string, architecture string) (*http.Response, error)

DebianPackagesApiService The installer (udeb) binary files index This feature was introduced in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component
  • @param architecture The Debian Architecture

func (*DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentSourceByHashSha256FileSha256

func (a *DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentSourceByHashSha256FileSha256(ctx context.Context, id string, distribution string, component string, fileSha256 int32) (*http.Response, error)

DebianPackagesApiService The source files index by hash This feature was introduced in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component
  • @param fileSha256

func (*DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentSourceSources

func (a *DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionComponentSourceSources(ctx context.Context, id string, distribution string, component string) (*http.Response, error)

DebianPackagesApiService The source files index This feature was introduced in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component

func (*DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionInrelease

func (a *DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionInrelease(ctx context.Context, id string, distribution string) (*http.Response, error)

DebianPackagesApiService The signed Release file This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param distribution The Debian Codename or Suite

func (*DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionRelease

func (a *DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionRelease(ctx context.Context, id string, distribution string) (*http.Response, error)

DebianPackagesApiService The unsigned Release file This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param distribution The Debian Codename or Suite

func (*DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionReleaseGpg

func (a *DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianDistsdistributionReleaseGpg(ctx context.Context, id string, distribution string) (*http.Response, error)

DebianPackagesApiService The Release file signature This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param distribution The Debian Codename or Suite

func (*DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianPoolDistributionProjectIdLetterPackageNamePackageVersionFileName

func (a *DebianPackagesApiService) GetApiV4GroupsIdPackagesDebianPoolDistributionProjectIdLetterPackageNamePackageVersionFileName(ctx context.Context, id string, projectId int32, distribution string, letter string, packageName string, packageVersion string, fileName string) (*http.Response, error)

DebianPackagesApiService Download Debian package This feature was introduced in GitLab 14.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param projectId The Project Id
  • @param distribution The Debian Codename or Suite
  • @param letter The Debian Classification (first-letter or lib-first-letter)
  • @param packageName The Debian Source Package Name
  • @param packageVersion The Debian Source Package Version
  • @param fileName The Debian File Name

func (*DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentBinaryArchitectureByHashSha256FileSha256

func (a *DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentBinaryArchitectureByHashSha256FileSha256(ctx context.Context, id string, distribution string, component string, architecture string, fileSha256 int32) (*http.Response, error)

DebianPackagesApiService The binary files index by hash This feature was introduced in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component
  • @param architecture The Debian Architecture
  • @param fileSha256

func (*DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentBinaryArchitecturePackages

func (a *DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentBinaryArchitecturePackages(ctx context.Context, id string, distribution string, component string, architecture string) (*http.Response, error)

DebianPackagesApiService The binary files index This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component
  • @param architecture The Debian Architecture

func (*DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentDebianInstallerBinaryArchitectureByHashSha256FileSha256

func (a *DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentDebianInstallerBinaryArchitectureByHashSha256FileSha256(ctx context.Context, id string, distribution string, component string, architecture string, fileSha256 int32) (*http.Response, error)

DebianPackagesApiService The installer (udeb) binary files index by hash This feature was introduced in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component
  • @param architecture The Debian Architecture
  • @param fileSha256

func (*DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentDebianInstallerBinaryArchitecturePackages

func (a *DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentDebianInstallerBinaryArchitecturePackages(ctx context.Context, id string, distribution string, component string, architecture string) (*http.Response, error)

DebianPackagesApiService The installer (udeb) binary files index This feature was introduced in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component
  • @param architecture The Debian Architecture

func (*DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentSourceByHashSha256FileSha256

func (a *DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentSourceByHashSha256FileSha256(ctx context.Context, id string, distribution string, component string, fileSha256 int32) (*http.Response, error)

DebianPackagesApiService The source files index by hash This feature was introduced in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component
  • @param fileSha256

func (*DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentSourceSources

func (a *DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionComponentSourceSources(ctx context.Context, id string, distribution string, component string) (*http.Response, error)

DebianPackagesApiService The source files index This feature was introduced in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param distribution The Debian Codename or Suite
  • @param component The Debian Component

func (*DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionInrelease

func (a *DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionInrelease(ctx context.Context, id string, distribution string) (*http.Response, error)

DebianPackagesApiService The signed Release file This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param distribution The Debian Codename or Suite

func (*DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionRelease

func (a *DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionRelease(ctx context.Context, id string, distribution string) (*http.Response, error)

DebianPackagesApiService The unsigned Release file This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param distribution The Debian Codename or Suite

func (*DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionReleaseGpg

func (a *DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianDistsdistributionReleaseGpg(ctx context.Context, id string, distribution string) (*http.Response, error)

DebianPackagesApiService The Release file signature This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param distribution The Debian Codename or Suite

func (*DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianPoolDistributionLetterPackageNamePackageVersionFileName

func (a *DebianPackagesApiService) GetApiV4ProjectsIdPackagesDebianPoolDistributionLetterPackageNamePackageVersionFileName(ctx context.Context, id string, distribution string, letter string, packageName string, packageVersion string, fileName string) (*http.Response, error)

DebianPackagesApiService Download Debian package This feature was introduced in GitLab 14.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param distribution The Debian Codename or Suite
  • @param letter The Debian Classification (first-letter or lib-first-letter)
  • @param packageName The Debian Source Package Name
  • @param packageVersion The Debian Source Package Version
  • @param fileName The Debian File Name

func (*DebianPackagesApiService) PutApiV4ProjectsIdPackagesDebianFileName

func (a *DebianPackagesApiService) PutApiV4ProjectsIdPackagesDebianFileName(ctx context.Context, id string, fileName string, putApiV4ProjectsIdPackagesDebianFileName PutApiV4ProjectsIdPackagesDebianFileName) (*http.Response, error)

DebianPackagesApiService Upload Debian package This feature was introduced in GitLab 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param fileName The filename
  • @param putApiV4ProjectsIdPackagesDebianFileName

func (*DebianPackagesApiService) PutApiV4ProjectsIdPackagesDebianFileNameAuthorize

func (a *DebianPackagesApiService) PutApiV4ProjectsIdPackagesDebianFileNameAuthorize(ctx context.Context, id string, fileName string, putApiV4ProjectsIdPackagesDebianFileNameAuthorize PutApiV4ProjectsIdPackagesDebianFileNameAuthorize) (*http.Response, error)

DebianPackagesApiService Authorize Debian package upload This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param fileName The filename
  • @param putApiV4ProjectsIdPackagesDebianFileNameAuthorize

type DependencyProxyApiService

type DependencyProxyApiService service

func (*DependencyProxyApiService) DeleteApiV4GroupsIdDependencyProxyCache

func (a *DependencyProxyApiService) DeleteApiV4GroupsIdDependencyProxyCache(ctx context.Context, id string) (*http.Response, error)

DependencyProxyApiService Purge the dependency proxy for a group Schedules for deletion the cached manifests and blobs for a group.This endpoint requires the Owner role for the group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user

type DeployKeysApiGetApiV4DeployKeysOpts

type DeployKeysApiGetApiV4DeployKeysOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Public  optional.Bool
}

type DeployKeysApiGetApiV4ProjectsIdDeployKeysOpts

type DeployKeysApiGetApiV4ProjectsIdDeployKeysOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type DeployKeysApiService

type DeployKeysApiService service

func (*DeployKeysApiService) DeleteApiV4ProjectsIdDeployKeysKeyId

func (a *DeployKeysApiService) DeleteApiV4ProjectsIdDeployKeysKeyId(ctx context.Context, id string, keyId int32) (*http.Response, error)

DeployKeysApiService Delete deploy key Removes a deploy key from the project. If the deploy key is used only for this project, it's deleted from the system.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param keyId The ID of the deploy key

func (*DeployKeysApiService) GetApiV4DeployKeys

func (*DeployKeysApiService) GetApiV4ProjectsIdDeployKeys

func (*DeployKeysApiService) GetApiV4ProjectsIdDeployKeysKeyId

func (a *DeployKeysApiService) GetApiV4ProjectsIdDeployKeysKeyId(ctx context.Context, id string, keyId int32) (ApiEntitiesDeployKeysProject, *http.Response, error)

DeployKeysApiService Get a single deploy key Get a single key.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param keyId The ID of the deploy key

@return ApiEntitiesDeployKeysProject

func (*DeployKeysApiService) PostApiV4ProjectsIdDeployKeys

func (a *DeployKeysApiService) PostApiV4ProjectsIdDeployKeys(ctx context.Context, id string, postApiV4ProjectsIdDeployKeys PostApiV4ProjectsIdDeployKeys) (ApiEntitiesDeployKeysProject, *http.Response, error)

DeployKeysApiService Add deploy key Creates a new deploy key for a project. If the deploy key already exists in another project, it's joined to the current project only if the original one is accessible by the same user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param postApiV4ProjectsIdDeployKeys

@return ApiEntitiesDeployKeysProject

func (*DeployKeysApiService) PostApiV4ProjectsIdDeployKeysKeyIdEnable

func (a *DeployKeysApiService) PostApiV4ProjectsIdDeployKeysKeyIdEnable(ctx context.Context, id string, keyId int32) (ApiEntitiesDeployKey, *http.Response, error)

DeployKeysApiService Enable a deploy key Enables a deploy key for a project so this can be used. Returns the enabled key, with a status code 201 when successful. This feature was added in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param keyId The ID of the deploy key

@return ApiEntitiesDeployKey

func (*DeployKeysApiService) PutApiV4ProjectsIdDeployKeysKeyId

func (a *DeployKeysApiService) PutApiV4ProjectsIdDeployKeysKeyId(ctx context.Context, id string, keyId int32, putApiV4ProjectsIdDeployKeysKeyId PutApiV4ProjectsIdDeployKeysKeyId) (ApiEntitiesDeployKey, *http.Response, error)

DeployKeysApiService Update deploy key Updates a deploy key for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param keyId The ID of the deploy key
  • @param putApiV4ProjectsIdDeployKeysKeyId

@return ApiEntitiesDeployKey

type DeployTokensApiGetApiV4DeployTokensOpts

type DeployTokensApiGetApiV4DeployTokensOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Active  optional.Bool
}

type DeployTokensApiGetApiV4GroupsIdDeployTokensOpts

type DeployTokensApiGetApiV4GroupsIdDeployTokensOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Active  optional.Bool
}

type DeployTokensApiGetApiV4ProjectsIdDeployTokensOpts

type DeployTokensApiGetApiV4ProjectsIdDeployTokensOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Active  optional.Bool
}

type DeployTokensApiService

type DeployTokensApiService service

func (*DeployTokensApiService) DeleteApiV4GroupsIdDeployTokensTokenId

func (a *DeployTokensApiService) DeleteApiV4GroupsIdDeployTokensTokenId(ctx context.Context, id int32, tokenId int32) (*http.Response, error)

DeployTokensApiService Delete a group deploy token Removes a deploy token from the group. This feature was introduced in GitLab 12.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user
  • @param tokenId The ID of the deploy token

func (*DeployTokensApiService) DeleteApiV4ProjectsIdDeployTokensTokenId

func (a *DeployTokensApiService) DeleteApiV4ProjectsIdDeployTokensTokenId(ctx context.Context, id string, tokenId int32) (*http.Response, error)

DeployTokensApiService Delete a project deploy token This feature was introduced in GitLab 12.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param tokenId The ID of the deploy token

func (*DeployTokensApiService) GetApiV4DeployTokens

func (*DeployTokensApiService) GetApiV4GroupsIdDeployTokens

func (a *DeployTokensApiService) GetApiV4GroupsIdDeployTokens(ctx context.Context, id int32, localVarOptionals *DeployTokensApiGetApiV4GroupsIdDeployTokensOpts) ([]ApiEntitiesDeployToken, *http.Response, error)

func (*DeployTokensApiService) GetApiV4GroupsIdDeployTokensTokenId

func (a *DeployTokensApiService) GetApiV4GroupsIdDeployTokensTokenId(ctx context.Context, id int32, tokenId int32) (ApiEntitiesDeployToken, *http.Response, error)

DeployTokensApiService Get a group deploy token Get a single group's deploy token by ID. This feature was introduced in GitLab 14.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user
  • @param tokenId The ID of the deploy token

@return ApiEntitiesDeployToken

func (*DeployTokensApiService) GetApiV4ProjectsIdDeployTokens

func (a *DeployTokensApiService) GetApiV4ProjectsIdDeployTokens(ctx context.Context, id string, localVarOptionals *DeployTokensApiGetApiV4ProjectsIdDeployTokensOpts) ([]ApiEntitiesDeployToken, *http.Response, error)

func (*DeployTokensApiService) GetApiV4ProjectsIdDeployTokensTokenId

func (a *DeployTokensApiService) GetApiV4ProjectsIdDeployTokensTokenId(ctx context.Context, id string, tokenId int32) (ApiEntitiesDeployToken, *http.Response, error)

DeployTokensApiService Get a project deploy token Get a single project's deploy token by ID. This feature was introduced in GitLab 14.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param tokenId The ID of the deploy token

@return ApiEntitiesDeployToken

func (*DeployTokensApiService) PostApiV4GroupsIdDeployTokens

func (a *DeployTokensApiService) PostApiV4GroupsIdDeployTokens(ctx context.Context, id int32, postApiV4GroupsIdDeployTokens PostApiV4GroupsIdDeployTokens) (ApiEntitiesDeployTokenWithToken, *http.Response, error)

DeployTokensApiService Create a group deploy token Creates a new deploy token for a group. This feature was introduced in GitLab 12.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group owned by the authenticated user
  • @param postApiV4GroupsIdDeployTokens

@return ApiEntitiesDeployTokenWithToken

func (*DeployTokensApiService) PostApiV4ProjectsIdDeployTokens

func (a *DeployTokensApiService) PostApiV4ProjectsIdDeployTokens(ctx context.Context, id string, postApiV4ProjectsIdDeployTokens PostApiV4ProjectsIdDeployTokens) (ApiEntitiesDeployTokenWithToken, *http.Response, error)

DeployTokensApiService Create a project deploy token Creates a new deploy token for a project. This feature was introduced in GitLab 12.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param postApiV4ProjectsIdDeployTokens

@return ApiEntitiesDeployTokenWithToken

type DeploymentsApiGetApiV4ProjectsIdDeploymentsDeploymentIdMergeRequestsOpts

type DeploymentsApiGetApiV4ProjectsIdDeploymentsDeploymentIdMergeRequestsOpts struct {
	Page                   optional.Int32
	PerPage                optional.Int32
	AuthorId               optional.Int32
	AuthorUsername         optional.String
	AssigneeId             optional.Int32
	AssigneeUsername       optional.Interface
	ReviewerUsername       optional.String
	Labels                 optional.Interface
	Milestone              optional.String
	MyReactionEmoji        optional.String
	ReviewerId             optional.Int32
	State                  optional.String
	OrderBy                optional.String
	Sort                   optional.String
	WithLabelsDetails      optional.Bool
	WithMergeStatusRecheck optional.Bool
	CreatedAfter           optional.Time
	CreatedBefore          optional.Time
	UpdatedAfter           optional.Time
	UpdatedBefore          optional.Time
	View                   optional.String
	Scope                  optional.String
	SourceBranch           optional.String
	SourceProjectId        optional.Int32
	TargetBranch           optional.String
	Search                 optional.String
	In                     optional.String
	Wip                    optional.String
	NotAuthorId            optional.Int32
	NotAuthorUsername      optional.String
	NotAssigneeId          optional.Int32
	NotAssigneeUsername    optional.Interface
	NotReviewerUsername    optional.String
	NotLabels              optional.Interface
	NotMilestone           optional.String
	NotMyReactionEmoji     optional.String
	NotReviewerId          optional.Int32
	DeployedBefore         optional.String
	DeployedAfter          optional.String
	Environment            optional.String
	Approved               optional.String
	MergeUserId            optional.Int32
	MergeUserUsername      optional.String
}

type DeploymentsApiGetApiV4ProjectsIdDeploymentsOpts

type DeploymentsApiGetApiV4ProjectsIdDeploymentsOpts struct {
	Page           optional.Int32
	PerPage        optional.Int32
	OrderBy        optional.String
	Sort           optional.String
	UpdatedAfter   optional.Time
	UpdatedBefore  optional.Time
	FinishedAfter  optional.Time
	FinishedBefore optional.Time
	Environment    optional.String
	Status         optional.String
}

type DeploymentsApiService

type DeploymentsApiService service

func (*DeploymentsApiService) DeleteApiV4ProjectsIdDeploymentsDeploymentId

func (a *DeploymentsApiService) DeleteApiV4ProjectsIdDeploymentsDeploymentId(ctx context.Context, id string, deploymentId int32) (*http.Response, error)

DeploymentsApiService Delete a specific deployment Delete a specific deployment that is not currently the last deployment for an environment or in a running state. This feature was introduced in GitLab 15.3.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param deploymentId The ID of the deployment

func (*DeploymentsApiService) GetApiV4ProjectsIdDeployments

func (a *DeploymentsApiService) GetApiV4ProjectsIdDeployments(ctx context.Context, id string, localVarOptionals *DeploymentsApiGetApiV4ProjectsIdDeploymentsOpts) ([]ApiEntitiesDeployment, *http.Response, error)

func (*DeploymentsApiService) GetApiV4ProjectsIdDeploymentsDeploymentId

func (a *DeploymentsApiService) GetApiV4ProjectsIdDeploymentsDeploymentId(ctx context.Context, id string, deploymentId int32) (ApiEntitiesDeploymentExtended, *http.Response, error)

DeploymentsApiService Get a specific deployment This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param deploymentId The ID of the deployment

@return ApiEntitiesDeploymentExtended

func (*DeploymentsApiService) GetApiV4ProjectsIdDeploymentsDeploymentIdMergeRequests

func (a *DeploymentsApiService) GetApiV4ProjectsIdDeploymentsDeploymentIdMergeRequests(ctx context.Context, id string, deploymentId int32, localVarOptionals *DeploymentsApiGetApiV4ProjectsIdDeploymentsDeploymentIdMergeRequestsOpts) ([]ApiEntitiesMergeRequestBasic, *http.Response, error)

func (*DeploymentsApiService) PostApiV4ProjectsIdDeployments

func (a *DeploymentsApiService) PostApiV4ProjectsIdDeployments(ctx context.Context, id string, postApiV4ProjectsIdDeployments PostApiV4ProjectsIdDeployments) (ApiEntitiesDeploymentExtended, *http.Response, error)

DeploymentsApiService Create a deployment This feature was introduced in GitLab 12.4.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param postApiV4ProjectsIdDeployments

@return ApiEntitiesDeploymentExtended

func (*DeploymentsApiService) PostApiV4ProjectsIdDeploymentsDeploymentIdApproval

func (a *DeploymentsApiService) PostApiV4ProjectsIdDeploymentsDeploymentIdApproval(ctx context.Context, id string, deploymentId int32, postApiV4ProjectsIdDeploymentsDeploymentIdApproval PostApiV4ProjectsIdDeploymentsDeploymentIdApproval) (ApiEntitiesDeploymentsApproval, *http.Response, error)

DeploymentsApiService Approve or reject a blocked deployment This feature was introduced in GitLab 14.8.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param deploymentId The ID of the deployment
  • @param postApiV4ProjectsIdDeploymentsDeploymentIdApproval

@return ApiEntitiesDeploymentsApproval

func (*DeploymentsApiService) PutApiV4ProjectsIdDeploymentsDeploymentId

func (a *DeploymentsApiService) PutApiV4ProjectsIdDeploymentsDeploymentId(ctx context.Context, id string, deploymentId int32, putApiV4ProjectsIdDeploymentsDeploymentId PutApiV4ProjectsIdDeploymentsDeploymentId) (ApiEntitiesDeploymentExtended, *http.Response, error)

DeploymentsApiService Update a deployment This feature was introduced in GitLab 12.4.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param deploymentId
  • @param putApiV4ProjectsIdDeploymentsDeploymentId

@return ApiEntitiesDeploymentExtended

type DetailedStatusEntity

type DetailedStatusEntity struct {
	Icon         string                      `json:"icon,omitempty"`
	Text         string                      `json:"text,omitempty"`
	Label        string                      `json:"label,omitempty"`
	Group        string                      `json:"group,omitempty"`
	Tooltip      string                      `json:"tooltip,omitempty"`
	HasDetails   bool                        `json:"has_details,omitempty"`
	DetailsPath  string                      `json:"details_path,omitempty"`
	Illustration interface{}                 `json:"illustration,omitempty"`
	Favicon      string                      `json:"favicon,omitempty"`
	Action       *DetailedStatusEntityAction `json:"action,omitempty"`
}

type DetailedStatusEntityAction

type DetailedStatusEntityAction struct {
	Icon                string `json:"icon,omitempty"`
	Title               string `json:"title,omitempty"`
	Path                string `json:"path,omitempty"`
	Method              string `json:"method,omitempty"`
	ButtonTitle         string `json:"button_title,omitempty"`
	ConfirmationMessage string `json:"confirmation_message,omitempty"`
}

type EeApiEntitiesApprovalRuleShort

type EeApiEntitiesApprovalRuleShort struct {
	Id       int32  `json:"id,omitempty"`
	Name     string `json:"name,omitempty"`
	RuleType string `json:"rule_type,omitempty"`
}

type EeApiEntitiesApprovalState

type EeApiEntitiesApprovalState struct {
	Id                             int32                            `json:"id,omitempty"`
	Iid                            int32                            `json:"iid,omitempty"`
	ProjectId                      int32                            `json:"project_id,omitempty"`
	Title                          string                           `json:"title,omitempty"`
	Description                    string                           `json:"description,omitempty"`
	State                          string                           `json:"state,omitempty"`
	CreatedAt                      time.Time                        `json:"created_at,omitempty"`
	UpdatedAt                      time.Time                        `json:"updated_at,omitempty"`
	MergeStatus                    string                           `json:"merge_status,omitempty"`
	Approved                       bool                             `json:"approved,omitempty"`
	ApprovalsRequired              int32                            `json:"approvals_required,omitempty"`
	ApprovalsLeft                  int32                            `json:"approvals_left,omitempty"`
	RequirePasswordToApprove       bool                             `json:"require_password_to_approve,omitempty"`
	ApprovedBy                     []ApiEntitiesApprovals           `json:"approved_by,omitempty"`
	SuggestedApprovers             []ApiEntitiesUserBasic           `json:"suggested_approvers,omitempty"`
	Approvers                      string                           `json:"approvers,omitempty"`
	ApproverGroups                 string                           `json:"approver_groups,omitempty"`
	UserHasApproved                bool                             `json:"user_has_approved,omitempty"`
	UserCanApprove                 bool                             `json:"user_can_approve,omitempty"`
	ApprovalRulesLeft              []EeApiEntitiesApprovalRuleShort `json:"approval_rules_left,omitempty"`
	HasApprovalRules               bool                             `json:"has_approval_rules,omitempty"`
	MergeRequestApproversAvailable bool                             `json:"merge_request_approvers_available,omitempty"`
	MultipleApprovalRulesAvailable bool                             `json:"multiple_approval_rules_available,omitempty"`
	InvalidApproversRules          []EeApiEntitiesApprovalRuleShort `json:"invalid_approvers_rules,omitempty"`
}

EE_API_Entities_ApprovalState model

type EeApiEntitiesAuditEvent

type EeApiEntitiesAuditEvent struct {
	Id         string `json:"id,omitempty"`
	AuthorId   string `json:"author_id,omitempty"`
	EntityId   string `json:"entity_id,omitempty"`
	EntityType string `json:"entity_type,omitempty"`
	Details    string `json:"details,omitempty"`
	CreatedAt  string `json:"created_at,omitempty"`
}

EE_API_Entities_AuditEvent model

type EeApiEntitiesBillableMembership

type EeApiEntitiesBillableMembership struct {
	Id               string                                      `json:"id,omitempty"`
	SourceId         string                                      `json:"source_id,omitempty"`
	SourceFullName   string                                      `json:"source_full_name,omitempty"`
	SourceMembersUrl string                                      `json:"source_members_url,omitempty"`
	CreatedAt        string                                      `json:"created_at,omitempty"`
	ExpiresAt        string                                      `json:"expires_at,omitempty"`
	AccessLevel      *EeApiEntitiesBillableMembershipAccessLevel `json:"access_level,omitempty"`
}

EE_API_Entities_BillableMembership model

type EeApiEntitiesBillableMembershipAccessLevel

type EeApiEntitiesBillableMembershipAccessLevel struct {
	StringValue  string `json:"string_value,omitempty"`
	IntegerValue string `json:"integer_value,omitempty"`
	CustomRole   string `json:"custom_role,omitempty"`
}

type EeApiEntitiesGeoNodeStatus

type EeApiEntitiesGeoNodeStatus struct {
	GeoNodeId                                           string                           `json:"geo_node_id,omitempty"`
	ProjectsCount                                       string                           `json:"projects_count,omitempty"`
	ContainerRepositoriesReplicationEnabled             string                           `json:"container_repositories_replication_enabled,omitempty"`
	LfsObjectsCount                                     string                           `json:"lfs_objects_count,omitempty"`
	LfsObjectsChecksumTotalCount                        string                           `json:"lfs_objects_checksum_total_count,omitempty"`
	LfsObjectsChecksummedCount                          string                           `json:"lfs_objects_checksummed_count,omitempty"`
	LfsObjectsChecksumFailedCount                       string                           `json:"lfs_objects_checksum_failed_count,omitempty"`
	LfsObjectsSyncedCount                               string                           `json:"lfs_objects_synced_count,omitempty"`
	LfsObjectsFailedCount                               string                           `json:"lfs_objects_failed_count,omitempty"`
	LfsObjectsRegistryCount                             string                           `json:"lfs_objects_registry_count,omitempty"`
	LfsObjectsVerificationTotalCount                    string                           `json:"lfs_objects_verification_total_count,omitempty"`
	LfsObjectsVerifiedCount                             string                           `json:"lfs_objects_verified_count,omitempty"`
	LfsObjectsVerificationFailedCount                   string                           `json:"lfs_objects_verification_failed_count,omitempty"`
	MergeRequestDiffsCount                              string                           `json:"merge_request_diffs_count,omitempty"`
	MergeRequestDiffsChecksumTotalCount                 string                           `json:"merge_request_diffs_checksum_total_count,omitempty"`
	MergeRequestDiffsChecksummedCount                   string                           `json:"merge_request_diffs_checksummed_count,omitempty"`
	MergeRequestDiffsChecksumFailedCount                string                           `json:"merge_request_diffs_checksum_failed_count,omitempty"`
	MergeRequestDiffsSyncedCount                        string                           `json:"merge_request_diffs_synced_count,omitempty"`
	MergeRequestDiffsFailedCount                        string                           `json:"merge_request_diffs_failed_count,omitempty"`
	MergeRequestDiffsRegistryCount                      string                           `json:"merge_request_diffs_registry_count,omitempty"`
	MergeRequestDiffsVerificationTotalCount             string                           `json:"merge_request_diffs_verification_total_count,omitempty"`
	MergeRequestDiffsVerifiedCount                      string                           `json:"merge_request_diffs_verified_count,omitempty"`
	MergeRequestDiffsVerificationFailedCount            string                           `json:"merge_request_diffs_verification_failed_count,omitempty"`
	PackageFilesCount                                   string                           `json:"package_files_count,omitempty"`
	PackageFilesChecksumTotalCount                      string                           `json:"package_files_checksum_total_count,omitempty"`
	PackageFilesChecksummedCount                        string                           `json:"package_files_checksummed_count,omitempty"`
	PackageFilesChecksumFailedCount                     string                           `json:"package_files_checksum_failed_count,omitempty"`
	PackageFilesSyncedCount                             string                           `json:"package_files_synced_count,omitempty"`
	PackageFilesFailedCount                             string                           `json:"package_files_failed_count,omitempty"`
	PackageFilesRegistryCount                           string                           `json:"package_files_registry_count,omitempty"`
	PackageFilesVerificationTotalCount                  string                           `json:"package_files_verification_total_count,omitempty"`
	PackageFilesVerifiedCount                           string                           `json:"package_files_verified_count,omitempty"`
	PackageFilesVerificationFailedCount                 string                           `json:"package_files_verification_failed_count,omitempty"`
	TerraformStateVersionsCount                         string                           `json:"terraform_state_versions_count,omitempty"`
	TerraformStateVersionsChecksumTotalCount            string                           `json:"terraform_state_versions_checksum_total_count,omitempty"`
	TerraformStateVersionsChecksummedCount              string                           `json:"terraform_state_versions_checksummed_count,omitempty"`
	TerraformStateVersionsChecksumFailedCount           string                           `json:"terraform_state_versions_checksum_failed_count,omitempty"`
	TerraformStateVersionsSyncedCount                   string                           `json:"terraform_state_versions_synced_count,omitempty"`
	TerraformStateVersionsFailedCount                   string                           `json:"terraform_state_versions_failed_count,omitempty"`
	TerraformStateVersionsRegistryCount                 string                           `json:"terraform_state_versions_registry_count,omitempty"`
	TerraformStateVersionsVerificationTotalCount        string                           `json:"terraform_state_versions_verification_total_count,omitempty"`
	TerraformStateVersionsVerifiedCount                 string                           `json:"terraform_state_versions_verified_count,omitempty"`
	TerraformStateVersionsVerificationFailedCount       string                           `json:"terraform_state_versions_verification_failed_count,omitempty"`
	SnippetRepositoriesCount                            string                           `json:"snippet_repositories_count,omitempty"`
	SnippetRepositoriesChecksumTotalCount               string                           `json:"snippet_repositories_checksum_total_count,omitempty"`
	SnippetRepositoriesChecksummedCount                 string                           `json:"snippet_repositories_checksummed_count,omitempty"`
	SnippetRepositoriesChecksumFailedCount              string                           `json:"snippet_repositories_checksum_failed_count,omitempty"`
	SnippetRepositoriesSyncedCount                      string                           `json:"snippet_repositories_synced_count,omitempty"`
	SnippetRepositoriesFailedCount                      string                           `json:"snippet_repositories_failed_count,omitempty"`
	SnippetRepositoriesRegistryCount                    string                           `json:"snippet_repositories_registry_count,omitempty"`
	SnippetRepositoriesVerificationTotalCount           string                           `json:"snippet_repositories_verification_total_count,omitempty"`
	SnippetRepositoriesVerifiedCount                    string                           `json:"snippet_repositories_verified_count,omitempty"`
	SnippetRepositoriesVerificationFailedCount          string                           `json:"snippet_repositories_verification_failed_count,omitempty"`
	GroupWikiRepositoriesCount                          string                           `json:"group_wiki_repositories_count,omitempty"`
	GroupWikiRepositoriesChecksumTotalCount             string                           `json:"group_wiki_repositories_checksum_total_count,omitempty"`
	GroupWikiRepositoriesChecksummedCount               string                           `json:"group_wiki_repositories_checksummed_count,omitempty"`
	GroupWikiRepositoriesChecksumFailedCount            string                           `json:"group_wiki_repositories_checksum_failed_count,omitempty"`
	GroupWikiRepositoriesSyncedCount                    string                           `json:"group_wiki_repositories_synced_count,omitempty"`
	GroupWikiRepositoriesFailedCount                    string                           `json:"group_wiki_repositories_failed_count,omitempty"`
	GroupWikiRepositoriesRegistryCount                  string                           `json:"group_wiki_repositories_registry_count,omitempty"`
	GroupWikiRepositoriesVerificationTotalCount         string                           `json:"group_wiki_repositories_verification_total_count,omitempty"`
	GroupWikiRepositoriesVerifiedCount                  string                           `json:"group_wiki_repositories_verified_count,omitempty"`
	GroupWikiRepositoriesVerificationFailedCount        string                           `json:"group_wiki_repositories_verification_failed_count,omitempty"`
	PipelineArtifactsCount                              string                           `json:"pipeline_artifacts_count,omitempty"`
	PipelineArtifactsChecksumTotalCount                 string                           `json:"pipeline_artifacts_checksum_total_count,omitempty"`
	PipelineArtifactsChecksummedCount                   string                           `json:"pipeline_artifacts_checksummed_count,omitempty"`
	PipelineArtifactsChecksumFailedCount                string                           `json:"pipeline_artifacts_checksum_failed_count,omitempty"`
	PipelineArtifactsSyncedCount                        string                           `json:"pipeline_artifacts_synced_count,omitempty"`
	PipelineArtifactsFailedCount                        string                           `json:"pipeline_artifacts_failed_count,omitempty"`
	PipelineArtifactsRegistryCount                      string                           `json:"pipeline_artifacts_registry_count,omitempty"`
	PipelineArtifactsVerificationTotalCount             string                           `json:"pipeline_artifacts_verification_total_count,omitempty"`
	PipelineArtifactsVerifiedCount                      string                           `json:"pipeline_artifacts_verified_count,omitempty"`
	PipelineArtifactsVerificationFailedCount            string                           `json:"pipeline_artifacts_verification_failed_count,omitempty"`
	PagesDeploymentsCount                               string                           `json:"pages_deployments_count,omitempty"`
	PagesDeploymentsChecksumTotalCount                  string                           `json:"pages_deployments_checksum_total_count,omitempty"`
	PagesDeploymentsChecksummedCount                    string                           `json:"pages_deployments_checksummed_count,omitempty"`
	PagesDeploymentsChecksumFailedCount                 string                           `json:"pages_deployments_checksum_failed_count,omitempty"`
	PagesDeploymentsSyncedCount                         string                           `json:"pages_deployments_synced_count,omitempty"`
	PagesDeploymentsFailedCount                         string                           `json:"pages_deployments_failed_count,omitempty"`
	PagesDeploymentsRegistryCount                       string                           `json:"pages_deployments_registry_count,omitempty"`
	PagesDeploymentsVerificationTotalCount              string                           `json:"pages_deployments_verification_total_count,omitempty"`
	PagesDeploymentsVerifiedCount                       string                           `json:"pages_deployments_verified_count,omitempty"`
	PagesDeploymentsVerificationFailedCount             string                           `json:"pages_deployments_verification_failed_count,omitempty"`
	UploadsCount                                        string                           `json:"uploads_count,omitempty"`
	UploadsChecksumTotalCount                           string                           `json:"uploads_checksum_total_count,omitempty"`
	UploadsChecksummedCount                             string                           `json:"uploads_checksummed_count,omitempty"`
	UploadsChecksumFailedCount                          string                           `json:"uploads_checksum_failed_count,omitempty"`
	UploadsSyncedCount                                  string                           `json:"uploads_synced_count,omitempty"`
	UploadsFailedCount                                  string                           `json:"uploads_failed_count,omitempty"`
	UploadsRegistryCount                                string                           `json:"uploads_registry_count,omitempty"`
	UploadsVerificationTotalCount                       string                           `json:"uploads_verification_total_count,omitempty"`
	UploadsVerifiedCount                                string                           `json:"uploads_verified_count,omitempty"`
	UploadsVerificationFailedCount                      string                           `json:"uploads_verification_failed_count,omitempty"`
	JobArtifactsCount                                   string                           `json:"job_artifacts_count,omitempty"`
	JobArtifactsChecksumTotalCount                      string                           `json:"job_artifacts_checksum_total_count,omitempty"`
	JobArtifactsChecksummedCount                        string                           `json:"job_artifacts_checksummed_count,omitempty"`
	JobArtifactsChecksumFailedCount                     string                           `json:"job_artifacts_checksum_failed_count,omitempty"`
	JobArtifactsSyncedCount                             string                           `json:"job_artifacts_synced_count,omitempty"`
	JobArtifactsFailedCount                             string                           `json:"job_artifacts_failed_count,omitempty"`
	JobArtifactsRegistryCount                           string                           `json:"job_artifacts_registry_count,omitempty"`
	JobArtifactsVerificationTotalCount                  string                           `json:"job_artifacts_verification_total_count,omitempty"`
	JobArtifactsVerifiedCount                           string                           `json:"job_artifacts_verified_count,omitempty"`
	JobArtifactsVerificationFailedCount                 string                           `json:"job_artifacts_verification_failed_count,omitempty"`
	CiSecureFilesCount                                  string                           `json:"ci_secure_files_count,omitempty"`
	CiSecureFilesChecksumTotalCount                     string                           `json:"ci_secure_files_checksum_total_count,omitempty"`
	CiSecureFilesChecksummedCount                       string                           `json:"ci_secure_files_checksummed_count,omitempty"`
	CiSecureFilesChecksumFailedCount                    string                           `json:"ci_secure_files_checksum_failed_count,omitempty"`
	CiSecureFilesSyncedCount                            string                           `json:"ci_secure_files_synced_count,omitempty"`
	CiSecureFilesFailedCount                            string                           `json:"ci_secure_files_failed_count,omitempty"`
	CiSecureFilesRegistryCount                          string                           `json:"ci_secure_files_registry_count,omitempty"`
	CiSecureFilesVerificationTotalCount                 string                           `json:"ci_secure_files_verification_total_count,omitempty"`
	CiSecureFilesVerifiedCount                          string                           `json:"ci_secure_files_verified_count,omitempty"`
	CiSecureFilesVerificationFailedCount                string                           `json:"ci_secure_files_verification_failed_count,omitempty"`
	ContainerRepositoriesCount                          string                           `json:"container_repositories_count,omitempty"`
	ContainerRepositoriesChecksumTotalCount             string                           `json:"container_repositories_checksum_total_count,omitempty"`
	ContainerRepositoriesChecksummedCount               string                           `json:"container_repositories_checksummed_count,omitempty"`
	ContainerRepositoriesChecksumFailedCount            string                           `json:"container_repositories_checksum_failed_count,omitempty"`
	ContainerRepositoriesSyncedCount                    string                           `json:"container_repositories_synced_count,omitempty"`
	ContainerRepositoriesFailedCount                    string                           `json:"container_repositories_failed_count,omitempty"`
	ContainerRepositoriesRegistryCount                  string                           `json:"container_repositories_registry_count,omitempty"`
	ContainerRepositoriesVerificationTotalCount         string                           `json:"container_repositories_verification_total_count,omitempty"`
	ContainerRepositoriesVerifiedCount                  string                           `json:"container_repositories_verified_count,omitempty"`
	ContainerRepositoriesVerificationFailedCount        string                           `json:"container_repositories_verification_failed_count,omitempty"`
	DependencyProxyBlobsCount                           string                           `json:"dependency_proxy_blobs_count,omitempty"`
	DependencyProxyBlobsChecksumTotalCount              string                           `json:"dependency_proxy_blobs_checksum_total_count,omitempty"`
	DependencyProxyBlobsChecksummedCount                string                           `json:"dependency_proxy_blobs_checksummed_count,omitempty"`
	DependencyProxyBlobsChecksumFailedCount             string                           `json:"dependency_proxy_blobs_checksum_failed_count,omitempty"`
	DependencyProxyBlobsSyncedCount                     string                           `json:"dependency_proxy_blobs_synced_count,omitempty"`
	DependencyProxyBlobsFailedCount                     string                           `json:"dependency_proxy_blobs_failed_count,omitempty"`
	DependencyProxyBlobsRegistryCount                   string                           `json:"dependency_proxy_blobs_registry_count,omitempty"`
	DependencyProxyBlobsVerificationTotalCount          string                           `json:"dependency_proxy_blobs_verification_total_count,omitempty"`
	DependencyProxyBlobsVerifiedCount                   string                           `json:"dependency_proxy_blobs_verified_count,omitempty"`
	DependencyProxyBlobsVerificationFailedCount         string                           `json:"dependency_proxy_blobs_verification_failed_count,omitempty"`
	DependencyProxyManifestsCount                       string                           `json:"dependency_proxy_manifests_count,omitempty"`
	DependencyProxyManifestsChecksumTotalCount          string                           `json:"dependency_proxy_manifests_checksum_total_count,omitempty"`
	DependencyProxyManifestsChecksummedCount            string                           `json:"dependency_proxy_manifests_checksummed_count,omitempty"`
	DependencyProxyManifestsChecksumFailedCount         string                           `json:"dependency_proxy_manifests_checksum_failed_count,omitempty"`
	DependencyProxyManifestsSyncedCount                 string                           `json:"dependency_proxy_manifests_synced_count,omitempty"`
	DependencyProxyManifestsFailedCount                 string                           `json:"dependency_proxy_manifests_failed_count,omitempty"`
	DependencyProxyManifestsRegistryCount               string                           `json:"dependency_proxy_manifests_registry_count,omitempty"`
	DependencyProxyManifestsVerificationTotalCount      string                           `json:"dependency_proxy_manifests_verification_total_count,omitempty"`
	DependencyProxyManifestsVerifiedCount               string                           `json:"dependency_proxy_manifests_verified_count,omitempty"`
	DependencyProxyManifestsVerificationFailedCount     string                           `json:"dependency_proxy_manifests_verification_failed_count,omitempty"`
	ProjectWikiRepositoriesCount                        string                           `json:"project_wiki_repositories_count,omitempty"`
	ProjectWikiRepositoriesChecksumTotalCount           string                           `json:"project_wiki_repositories_checksum_total_count,omitempty"`
	ProjectWikiRepositoriesChecksummedCount             string                           `json:"project_wiki_repositories_checksummed_count,omitempty"`
	ProjectWikiRepositoriesChecksumFailedCount          string                           `json:"project_wiki_repositories_checksum_failed_count,omitempty"`
	ProjectWikiRepositoriesSyncedCount                  string                           `json:"project_wiki_repositories_synced_count,omitempty"`
	ProjectWikiRepositoriesFailedCount                  string                           `json:"project_wiki_repositories_failed_count,omitempty"`
	ProjectWikiRepositoriesRegistryCount                string                           `json:"project_wiki_repositories_registry_count,omitempty"`
	ProjectWikiRepositoriesVerificationTotalCount       string                           `json:"project_wiki_repositories_verification_total_count,omitempty"`
	ProjectWikiRepositoriesVerifiedCount                string                           `json:"project_wiki_repositories_verified_count,omitempty"`
	ProjectWikiRepositoriesVerificationFailedCount      string                           `json:"project_wiki_repositories_verification_failed_count,omitempty"`
	DesignManagementRepositoriesCount                   string                           `json:"design_management_repositories_count,omitempty"`
	DesignManagementRepositoriesChecksumTotalCount      string                           `json:"design_management_repositories_checksum_total_count,omitempty"`
	DesignManagementRepositoriesChecksummedCount        string                           `json:"design_management_repositories_checksummed_count,omitempty"`
	DesignManagementRepositoriesChecksumFailedCount     string                           `json:"design_management_repositories_checksum_failed_count,omitempty"`
	DesignManagementRepositoriesSyncedCount             string                           `json:"design_management_repositories_synced_count,omitempty"`
	DesignManagementRepositoriesFailedCount             string                           `json:"design_management_repositories_failed_count,omitempty"`
	DesignManagementRepositoriesRegistryCount           string                           `json:"design_management_repositories_registry_count,omitempty"`
	DesignManagementRepositoriesVerificationTotalCount  string                           `json:"design_management_repositories_verification_total_count,omitempty"`
	DesignManagementRepositoriesVerifiedCount           string                           `json:"design_management_repositories_verified_count,omitempty"`
	DesignManagementRepositoriesVerificationFailedCount string                           `json:"design_management_repositories_verification_failed_count,omitempty"`
	ProjectRepositoriesCount                            string                           `json:"project_repositories_count,omitempty"`
	ProjectRepositoriesChecksumTotalCount               string                           `json:"project_repositories_checksum_total_count,omitempty"`
	ProjectRepositoriesChecksummedCount                 string                           `json:"project_repositories_checksummed_count,omitempty"`
	ProjectRepositoriesChecksumFailedCount              string                           `json:"project_repositories_checksum_failed_count,omitempty"`
	ProjectRepositoriesSyncedCount                      string                           `json:"project_repositories_synced_count,omitempty"`
	ProjectRepositoriesFailedCount                      string                           `json:"project_repositories_failed_count,omitempty"`
	ProjectRepositoriesRegistryCount                    string                           `json:"project_repositories_registry_count,omitempty"`
	ProjectRepositoriesVerificationTotalCount           string                           `json:"project_repositories_verification_total_count,omitempty"`
	ProjectRepositoriesVerifiedCount                    string                           `json:"project_repositories_verified_count,omitempty"`
	ProjectRepositoriesVerificationFailedCount          string                           `json:"project_repositories_verification_failed_count,omitempty"`
	GitFetchEventCountWeekly                            string                           `json:"git_fetch_event_count_weekly,omitempty"`
	GitPushEventCountWeekly                             string                           `json:"git_push_event_count_weekly,omitempty"`
	ProxyRemoteRequestsEventCountWeekly                 string                           `json:"proxy_remote_requests_event_count_weekly,omitempty"`
	ProxyLocalRequestsEventCountWeekly                  string                           `json:"proxy_local_requests_event_count_weekly,omitempty"`
	RepositoriesCheckedInPercentage                     string                           `json:"repositories_checked_in_percentage,omitempty"`
	ReplicationSlotsUsedInPercentage                    string                           `json:"replication_slots_used_in_percentage,omitempty"`
	LfsObjectsSyncedInPercentage                        string                           `json:"lfs_objects_synced_in_percentage,omitempty"`
	LfsObjectsVerifiedInPercentage                      string                           `json:"lfs_objects_verified_in_percentage,omitempty"`
	MergeRequestDiffsSyncedInPercentage                 string                           `json:"merge_request_diffs_synced_in_percentage,omitempty"`
	MergeRequestDiffsVerifiedInPercentage               string                           `json:"merge_request_diffs_verified_in_percentage,omitempty"`
	PackageFilesSyncedInPercentage                      string                           `json:"package_files_synced_in_percentage,omitempty"`
	PackageFilesVerifiedInPercentage                    string                           `json:"package_files_verified_in_percentage,omitempty"`
	TerraformStateVersionsSyncedInPercentage            string                           `json:"terraform_state_versions_synced_in_percentage,omitempty"`
	TerraformStateVersionsVerifiedInPercentage          string                           `json:"terraform_state_versions_verified_in_percentage,omitempty"`
	SnippetRepositoriesSyncedInPercentage               string                           `json:"snippet_repositories_synced_in_percentage,omitempty"`
	SnippetRepositoriesVerifiedInPercentage             string                           `json:"snippet_repositories_verified_in_percentage,omitempty"`
	GroupWikiRepositoriesSyncedInPercentage             string                           `json:"group_wiki_repositories_synced_in_percentage,omitempty"`
	GroupWikiRepositoriesVerifiedInPercentage           string                           `json:"group_wiki_repositories_verified_in_percentage,omitempty"`
	PipelineArtifactsSyncedInPercentage                 string                           `json:"pipeline_artifacts_synced_in_percentage,omitempty"`
	PipelineArtifactsVerifiedInPercentage               string                           `json:"pipeline_artifacts_verified_in_percentage,omitempty"`
	PagesDeploymentsSyncedInPercentage                  string                           `json:"pages_deployments_synced_in_percentage,omitempty"`
	PagesDeploymentsVerifiedInPercentage                string                           `json:"pages_deployments_verified_in_percentage,omitempty"`
	UploadsSyncedInPercentage                           string                           `json:"uploads_synced_in_percentage,omitempty"`
	UploadsVerifiedInPercentage                         string                           `json:"uploads_verified_in_percentage,omitempty"`
	JobArtifactsSyncedInPercentage                      string                           `json:"job_artifacts_synced_in_percentage,omitempty"`
	JobArtifactsVerifiedInPercentage                    string                           `json:"job_artifacts_verified_in_percentage,omitempty"`
	CiSecureFilesSyncedInPercentage                     string                           `json:"ci_secure_files_synced_in_percentage,omitempty"`
	CiSecureFilesVerifiedInPercentage                   string                           `json:"ci_secure_files_verified_in_percentage,omitempty"`
	ContainerRepositoriesSyncedInPercentage             string                           `json:"container_repositories_synced_in_percentage,omitempty"`
	ContainerRepositoriesVerifiedInPercentage           string                           `json:"container_repositories_verified_in_percentage,omitempty"`
	DependencyProxyBlobsSyncedInPercentage              string                           `json:"dependency_proxy_blobs_synced_in_percentage,omitempty"`
	DependencyProxyBlobsVerifiedInPercentage            string                           `json:"dependency_proxy_blobs_verified_in_percentage,omitempty"`
	DependencyProxyManifestsSyncedInPercentage          string                           `json:"dependency_proxy_manifests_synced_in_percentage,omitempty"`
	DependencyProxyManifestsVerifiedInPercentage        string                           `json:"dependency_proxy_manifests_verified_in_percentage,omitempty"`
	ProjectWikiRepositoriesSyncedInPercentage           string                           `json:"project_wiki_repositories_synced_in_percentage,omitempty"`
	ProjectWikiRepositoriesVerifiedInPercentage         string                           `json:"project_wiki_repositories_verified_in_percentage,omitempty"`
	DesignManagementRepositoriesSyncedInPercentage      string                           `json:"design_management_repositories_synced_in_percentage,omitempty"`
	DesignManagementRepositoriesVerifiedInPercentage    string                           `json:"design_management_repositories_verified_in_percentage,omitempty"`
	ProjectRepositoriesSyncedInPercentage               string                           `json:"project_repositories_synced_in_percentage,omitempty"`
	ProjectRepositoriesVerifiedInPercentage             string                           `json:"project_repositories_verified_in_percentage,omitempty"`
	RepositoriesCount                                   string                           `json:"repositories_count,omitempty"`
	ReplicationSlotsCount                               string                           `json:"replication_slots_count,omitempty"`
	ReplicationSlotsUsedCount                           string                           `json:"replication_slots_used_count,omitempty"`
	Healthy                                             string                           `json:"healthy,omitempty"`
	Health                                              string                           `json:"health,omitempty"`
	HealthStatus                                        string                           `json:"health_status,omitempty"`
	MissingOauthApplication                             string                           `json:"missing_oauth_application,omitempty"`
	DbReplicationLagSeconds                             string                           `json:"db_replication_lag_seconds,omitempty"`
	ReplicationSlotsMaxRetainedWalBytes                 string                           `json:"replication_slots_max_retained_wal_bytes,omitempty"`
	RepositoriesCheckedCount                            string                           `json:"repositories_checked_count,omitempty"`
	RepositoriesCheckedFailedCount                      string                           `json:"repositories_checked_failed_count,omitempty"`
	LastEventId                                         string                           `json:"last_event_id,omitempty"`
	LastEventTimestamp                                  string                           `json:"last_event_timestamp,omitempty"`
	CursorLastEventId                                   string                           `json:"cursor_last_event_id,omitempty"`
	CursorLastEventTimestamp                            string                           `json:"cursor_last_event_timestamp,omitempty"`
	LastSuccessfulStatusCheckTimestamp                  string                           `json:"last_successful_status_check_timestamp,omitempty"`
	Version                                             string                           `json:"version,omitempty"`
	Revision                                            string                           `json:"revision,omitempty"`
	SelectiveSyncType                                   string                           `json:"selective_sync_type,omitempty"`
	Namespaces                                          *ApiEntitiesNamespaceBasic       `json:"namespaces,omitempty"`
	UpdatedAt                                           string                           `json:"updated_at,omitempty"`
	StorageShards                                       *StorageShardEntity              `json:"storage_shards,omitempty"`
	StorageShardsMatch                                  string                           `json:"storage_shards_match,omitempty"`
	Links                                               *EeApiEntitiesGeoNodeStatusLinks `json:"_links,omitempty"`
}

EE_API_Entities_GeoNodeStatus model

type EeApiEntitiesGeoNodeStatusLinks struct {
	Self string `json:"self,omitempty"`
	Node string `json:"node,omitempty"`
}

type EeApiEntitiesGeoPipelineRefs

type EeApiEntitiesGeoPipelineRefs struct {
	PipelineRefs []string `json:"pipeline_refs,omitempty"`
}

EE_API_Entities_Geo_PipelineRefs model

type EeApiEntitiesLdapGroupLink struct {
	Cn          string `json:"cn,omitempty"`
	GroupAccess int32  `json:"group_access,omitempty"`
	Provider    string `json:"provider,omitempty"`
	Filter      string `json:"filter,omitempty"`
}

type EeApiEntitiesMemberRole

type EeApiEntitiesMemberRole struct {
	Id                         int32 `json:"id,omitempty"`
	GroupId                    int32 `json:"group_id,omitempty"`
	BaseAccessLevel            int32 `json:"base_access_level,omitempty"`
	AdminCicdVariables         bool  `json:"admin_cicd_variables,omitempty"`
	AdminComplianceFramework   bool  `json:"admin_compliance_framework,omitempty"`
	AdminGroupMember           bool  `json:"admin_group_member,omitempty"`
	AdminMergeRequest          bool  `json:"admin_merge_request,omitempty"`
	AdminPushRules             bool  `json:"admin_push_rules,omitempty"`
	AdminTerraformState        bool  `json:"admin_terraform_state,omitempty"`
	AdminVulnerability         bool  `json:"admin_vulnerability,omitempty"`
	AdminWebHook               bool  `json:"admin_web_hook,omitempty"`
	ArchiveProject             bool  `json:"archive_project,omitempty"`
	ManageDeployTokens         bool  `json:"manage_deploy_tokens,omitempty"`
	ManageGroupAccessTokens    bool  `json:"manage_group_access_tokens,omitempty"`
	ManageMergeRequestSettings bool  `json:"manage_merge_request_settings,omitempty"`
	ManageProjectAccessTokens  bool  `json:"manage_project_access_tokens,omitempty"`
	ManageSecurityPolicyLink   bool  `json:"manage_security_policy_link,omitempty"`
	ReadCode                   bool  `json:"read_code,omitempty"`
	ReadDependency             bool  `json:"read_dependency,omitempty"`
	ReadVulnerability          bool  `json:"read_vulnerability,omitempty"`
	RemoveGroup                bool  `json:"remove_group,omitempty"`
	RemoveProject              bool  `json:"remove_project,omitempty"`
}

type EeApiEntitiesMergeRequestApprovalRuleSourceRule

type EeApiEntitiesMergeRequestApprovalRuleSourceRule struct {
	ApprovalsRequired int32 `json:"approvals_required,omitempty"`
}

type EeApiEntitiesMergeRequestApprovalState

type EeApiEntitiesMergeRequestApprovalState struct {
	ApprovalRulesOverwritten bool                                         `json:"approval_rules_overwritten,omitempty"`
	Rules                    []EeApiEntitiesMergeRequestApprovalStateRule `json:"rules,omitempty"`
}

EE_API_Entities_MergeRequestApprovalState model

type EeApiEntitiesMergeRequestApprovalStateRule

type EeApiEntitiesMergeRequestApprovalStateRule struct {
	Id                   int32                                            `json:"id,omitempty"`
	Name                 string                                           `json:"name,omitempty"`
	RuleType             string                                           `json:"rule_type,omitempty"`
	EligibleApprovers    []ApiEntitiesUserBasic                           `json:"eligible_approvers,omitempty"`
	ApprovalsRequired    int32                                            `json:"approvals_required,omitempty"`
	Users                []ApiEntitiesUserBasic                           `json:"users,omitempty"`
	Groups               []ApiEntitiesGroup                               `json:"groups,omitempty"`
	ContainsHiddenGroups bool                                             `json:"contains_hidden_groups,omitempty"`
	Section              string                                           `json:"section,omitempty"`
	SourceRule           *EeApiEntitiesMergeRequestApprovalRuleSourceRule `json:"source_rule,omitempty"`
	Overridden           bool                                             `json:"overridden,omitempty"`
	CodeOwner            bool                                             `json:"code_owner,omitempty"`
	ApprovedBy           []ApiEntitiesUserBasic                           `json:"approved_by,omitempty"`
	Approved             bool                                             `json:"approved,omitempty"`
}
type EeApiEntitiesSamlGroupLink struct {
	Name         string `json:"name,omitempty"`
	AccessLevel  int32  `json:"access_level,omitempty"`
	MemberRoleId int32  `json:"member_role_id,omitempty"`
}

type EeApiEntitiesSshCertificate

type EeApiEntitiesSshCertificate struct {
	Id        int32     `json:"id,omitempty"`
	Title     string    `json:"title,omitempty"`
	Key       string    `json:"key,omitempty"`
	CreatedAt time.Time `json:"created_at,omitempty"`
}

EE_API_Entities_SshCertificate model

type EnvironmentsApiDeleteApiV4ProjectsIdEnvironmentsReviewAppsOpts

type EnvironmentsApiDeleteApiV4ProjectsIdEnvironmentsReviewAppsOpts struct {
	Before optional.Time
	Limit  optional.Int32
	DryRun optional.Bool
}

type EnvironmentsApiGetApiV4ProjectsIdEnvironmentsOpts

type EnvironmentsApiGetApiV4ProjectsIdEnvironmentsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Name    optional.String
	Search  optional.String
	States  optional.String
}

type EnvironmentsApiService

type EnvironmentsApiService service

func (*EnvironmentsApiService) DeleteApiV4ProjectsIdEnvironmentsEnvironmentId

func (a *EnvironmentsApiService) DeleteApiV4ProjectsIdEnvironmentsEnvironmentId(ctx context.Context, id string, environmentId int32) (ApiEntitiesEnvironment, *http.Response, error)

EnvironmentsApiService Delete an environment It returns 204 if the environment was successfully deleted, and 404 if the environment does not exist. This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param environmentId The ID of the environment

@return ApiEntitiesEnvironment

func (*EnvironmentsApiService) DeleteApiV4ProjectsIdEnvironmentsReviewApps

func (*EnvironmentsApiService) GetApiV4ProjectsIdEnvironments

func (a *EnvironmentsApiService) GetApiV4ProjectsIdEnvironments(ctx context.Context, id string, localVarOptionals *EnvironmentsApiGetApiV4ProjectsIdEnvironmentsOpts) ([]ApiEntitiesEnvironment, *http.Response, error)

func (*EnvironmentsApiService) GetApiV4ProjectsIdEnvironmentsEnvironmentId

func (a *EnvironmentsApiService) GetApiV4ProjectsIdEnvironmentsEnvironmentId(ctx context.Context, id string, environmentId int32) (ApiEntitiesEnvironment, *http.Response, error)

EnvironmentsApiService Get a specific environment

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param environmentId The ID of the environment

@return ApiEntitiesEnvironment

func (*EnvironmentsApiService) PostApiV4ProjectsIdEnvironments

func (a *EnvironmentsApiService) PostApiV4ProjectsIdEnvironments(ctx context.Context, id string, postApiV4ProjectsIdEnvironments PostApiV4ProjectsIdEnvironments) (ApiEntitiesEnvironment, *http.Response, error)

EnvironmentsApiService Create a new environment Creates a new environment with the given name and `external_url`. It returns `201` if the environment was successfully created, `400` for wrong parameters. This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param postApiV4ProjectsIdEnvironments

@return ApiEntitiesEnvironment

func (*EnvironmentsApiService) PostApiV4ProjectsIdEnvironmentsEnvironmentIdStop

func (a *EnvironmentsApiService) PostApiV4ProjectsIdEnvironmentsEnvironmentIdStop(ctx context.Context, id string, environmentId int32, postApiV4ProjectsIdEnvironmentsEnvironmentIdStop PostApiV4ProjectsIdEnvironmentsEnvironmentIdStop) (ApiEntitiesEnvironment, *http.Response, error)

EnvironmentsApiService Stop an environment It returns 200 if the environment was successfully stopped, and 404 if the environment does not exist.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param environmentId The ID of the environment
  • @param postApiV4ProjectsIdEnvironmentsEnvironmentIdStop

@return ApiEntitiesEnvironment

func (*EnvironmentsApiService) PostApiV4ProjectsIdEnvironmentsStopStale

func (a *EnvironmentsApiService) PostApiV4ProjectsIdEnvironmentsStopStale(ctx context.Context, id string, postApiV4ProjectsIdEnvironmentsStopStale PostApiV4ProjectsIdEnvironmentsStopStale) (*http.Response, error)

EnvironmentsApiService Stop stale environments It returns `200` if stale environment check was scheduled successfully

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param postApiV4ProjectsIdEnvironmentsStopStale

func (*EnvironmentsApiService) PutApiV4ProjectsIdEnvironmentsEnvironmentId

func (a *EnvironmentsApiService) PutApiV4ProjectsIdEnvironmentsEnvironmentId(ctx context.Context, id string, environmentId int32, putApiV4ProjectsIdEnvironmentsEnvironmentId PutApiV4ProjectsIdEnvironmentsEnvironmentId) (ApiEntitiesEnvironment, *http.Response, error)

EnvironmentsApiService Update an existing environment Updates an existing environment name and/or `external_url`. It returns `200` if the environment was successfully updated. In case of an error, a status code `400` is returned. This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param environmentId The ID of the environment
  • @param putApiV4ProjectsIdEnvironmentsEnvironmentId

@return ApiEntitiesEnvironment

type EpicBaseEntity

type EpicBaseEntity struct {
	Id                     string `json:"id,omitempty"`
	Iid                    string `json:"iid,omitempty"`
	Title                  string `json:"title,omitempty"`
	Url                    string `json:"url,omitempty"`
	GroupId                string `json:"group_id,omitempty"`
	HumanReadableEndDate   string `json:"human_readable_end_date,omitempty"`
	HumanReadableTimestamp string `json:"human_readable_timestamp,omitempty"`
}

type ErrorTrackingClientKeysApiService

type ErrorTrackingClientKeysApiService service

func (*ErrorTrackingClientKeysApiService) DeleteApiV4ProjectsIdErrorTrackingClientKeysKeyId

func (a *ErrorTrackingClientKeysApiService) DeleteApiV4ProjectsIdErrorTrackingClientKeysKeyId(ctx context.Context, id string, keyId int32) (ApiEntitiesErrorTrackingClientKey, *http.Response, error)

ErrorTrackingClientKeysApiService Delete a client key Removes a client key from the project. This feature was introduced in GitLab 14.3.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param keyId

@return ApiEntitiesErrorTrackingClientKey

func (*ErrorTrackingClientKeysApiService) GetApiV4ProjectsIdErrorTrackingClientKeys

func (a *ErrorTrackingClientKeysApiService) GetApiV4ProjectsIdErrorTrackingClientKeys(ctx context.Context, id string) ([]ApiEntitiesErrorTrackingClientKey, *http.Response, error)

ErrorTrackingClientKeysApiService List project client keys List all client keys. This feature was introduced in GitLab 14.3.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user

@return []ApiEntitiesErrorTrackingClientKey

func (*ErrorTrackingClientKeysApiService) PostApiV4ProjectsIdErrorTrackingClientKeys

func (a *ErrorTrackingClientKeysApiService) PostApiV4ProjectsIdErrorTrackingClientKeys(ctx context.Context, id string) (ApiEntitiesErrorTrackingClientKey, *http.Response, error)

ErrorTrackingClientKeysApiService Create a client key Creates a new client key for a project. The public key attribute is generated automatically.This feature was introduced in GitLab 14.3.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user

@return ApiEntitiesErrorTrackingClientKey

type ErrorTrackingProjectSettingsApiService

type ErrorTrackingProjectSettingsApiService service

func (*ErrorTrackingProjectSettingsApiService) GetApiV4ProjectsIdErrorTrackingSettings

ErrorTrackingProjectSettingsApiService Get Error Tracking settings Get error tracking settings for the project. This feature was introduced in GitLab 12.7.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user

@return ApiEntitiesErrorTrackingProjectSetting

func (*ErrorTrackingProjectSettingsApiService) PatchApiV4ProjectsIdErrorTrackingSettings

func (a *ErrorTrackingProjectSettingsApiService) PatchApiV4ProjectsIdErrorTrackingSettings(ctx context.Context, id string, patchApiV4ProjectsIdErrorTrackingSettings PatchApiV4ProjectsIdErrorTrackingSettings) (ApiEntitiesErrorTrackingProjectSetting, *http.Response, error)

ErrorTrackingProjectSettingsApiService Enable or disable the Error Tracking project settings The API allows you to enable or disable the Error Tracking settings for a project.Only for users with the Maintainer role for the project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param patchApiV4ProjectsIdErrorTrackingSettings

@return ApiEntitiesErrorTrackingProjectSetting

func (*ErrorTrackingProjectSettingsApiService) PutApiV4ProjectsIdErrorTrackingSettings

func (a *ErrorTrackingProjectSettingsApiService) PutApiV4ProjectsIdErrorTrackingSettings(ctx context.Context, id string, putApiV4ProjectsIdErrorTrackingSettings PutApiV4ProjectsIdErrorTrackingSettings) (ApiEntitiesErrorTrackingProjectSetting, *http.Response, error)

ErrorTrackingProjectSettingsApiService Update Error Tracking project settings. Available in GitLab 15.10 and later. Update Error Tracking settings for a project. Only for users with Maintainer role for the project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param putApiV4ProjectsIdErrorTrackingSettings

@return ApiEntitiesErrorTrackingProjectSetting

type EventsApiGetApiV4EventsOpts

type EventsApiGetApiV4EventsOpts struct {
	Scope      optional.String
	Page       optional.Int32
	PerPage    optional.Int32
	Action     optional.String
	TargetType optional.String
	Before     optional.String
	After      optional.String
	Sort       optional.String
}

type EventsApiGetApiV4UsersIdEventsOpts

type EventsApiGetApiV4UsersIdEventsOpts struct {
	Page       optional.Int32
	PerPage    optional.Int32
	Action     optional.String
	TargetType optional.String
	Before     optional.String
	After      optional.String
	Sort       optional.String
}

type EventsApiService

type EventsApiService service

func (*EventsApiService) GetApiV4Events

func (a *EventsApiService) GetApiV4Events(ctx context.Context, localVarOptionals *EventsApiGetApiV4EventsOpts) ([]ApiEntitiesEvent, *http.Response, error)

func (*EventsApiService) GetApiV4UsersIdEvents

func (a *EventsApiService) GetApiV4UsersIdEvents(ctx context.Context, id string, localVarOptionals *EventsApiGetApiV4UsersIdEventsOpts) ([]ApiEntitiesEvent, *http.Response, error)

type FeatureFlagsApiGetApiV4FeatureFlagsUnleashProjectIdOpts

type FeatureFlagsApiGetApiV4FeatureFlagsUnleashProjectIdOpts struct {
	InstanceId optional.String
	AppName    optional.String
}

type FeatureFlagsApiGetApiV4ProjectsIdFeatureFlagsOpts

type FeatureFlagsApiGetApiV4ProjectsIdFeatureFlagsOpts struct {
	Scope   optional.String
	Page    optional.Int32
	PerPage optional.Int32
}

type FeatureFlagsApiService

type FeatureFlagsApiService service

func (*FeatureFlagsApiService) DeleteApiV4ProjectsIdFeatureFlagsFeatureFlagName

func (a *FeatureFlagsApiService) DeleteApiV4ProjectsIdFeatureFlagsFeatureFlagName(ctx context.Context, id string, featureFlagName string) (ApiEntitiesFeatureFlag, *http.Response, error)

FeatureFlagsApiService Delete a feature flag Deletes a feature flag. This feature was introduced in GitLab 12.5.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param featureFlagName The name of the feature flag

@return ApiEntitiesFeatureFlag

func (*FeatureFlagsApiService) GetApiV4FeatureFlagsUnleashProjectId

func (a *FeatureFlagsApiService) GetApiV4FeatureFlagsUnleashProjectId(ctx context.Context, projectId string, localVarOptionals *FeatureFlagsApiGetApiV4FeatureFlagsUnleashProjectIdOpts) (*http.Response, error)

func (*FeatureFlagsApiService) GetApiV4ProjectsIdFeatureFlags

func (a *FeatureFlagsApiService) GetApiV4ProjectsIdFeatureFlags(ctx context.Context, id string, localVarOptionals *FeatureFlagsApiGetApiV4ProjectsIdFeatureFlagsOpts) ([]ApiEntitiesFeatureFlag, *http.Response, error)

func (*FeatureFlagsApiService) GetApiV4ProjectsIdFeatureFlagsFeatureFlagName

func (a *FeatureFlagsApiService) GetApiV4ProjectsIdFeatureFlagsFeatureFlagName(ctx context.Context, id string, featureFlagName string) (ApiEntitiesFeatureFlag, *http.Response, error)

FeatureFlagsApiService Get a single feature flag Gets a single feature flag. This feature was introduced in GitLab 12.5.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param featureFlagName The name of the feature flag

@return ApiEntitiesFeatureFlag

func (*FeatureFlagsApiService) PostApiV4FeatureFlagsUnleashProjectIdClientMetrics

func (a *FeatureFlagsApiService) PostApiV4FeatureFlagsUnleashProjectIdClientMetrics(ctx context.Context, projectId string, postApiV4FeatureFlagsUnleashProjectIdClientMetrics PostApiV4FeatureFlagsUnleashProjectIdClientMetrics) (*http.Response, error)

FeatureFlagsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectId The ID of a project
  • @param postApiV4FeatureFlagsUnleashProjectIdClientMetrics

func (*FeatureFlagsApiService) PostApiV4FeatureFlagsUnleashProjectIdClientRegister

func (a *FeatureFlagsApiService) PostApiV4FeatureFlagsUnleashProjectIdClientRegister(ctx context.Context, projectId string, postApiV4FeatureFlagsUnleashProjectIdClientRegister PostApiV4FeatureFlagsUnleashProjectIdClientRegister) (*http.Response, error)

FeatureFlagsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectId The ID of a project
  • @param postApiV4FeatureFlagsUnleashProjectIdClientRegister

func (*FeatureFlagsApiService) PostApiV4ProjectsIdFeatureFlags

func (a *FeatureFlagsApiService) PostApiV4ProjectsIdFeatureFlags(ctx context.Context, id string, postApiV4ProjectsIdFeatureFlags PostApiV4ProjectsIdFeatureFlags) (ApiEntitiesFeatureFlag, *http.Response, error)

FeatureFlagsApiService Create a new feature flag Creates a new feature flag. This feature was introduced in GitLab 12.5.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdFeatureFlags

@return ApiEntitiesFeatureFlag

func (*FeatureFlagsApiService) PutApiV4ProjectsIdFeatureFlagsFeatureFlagName

func (a *FeatureFlagsApiService) PutApiV4ProjectsIdFeatureFlagsFeatureFlagName(ctx context.Context, id string, featureFlagName string, putApiV4ProjectsIdFeatureFlagsFeatureFlagName PutApiV4ProjectsIdFeatureFlagsFeatureFlagName) (ApiEntitiesFeatureFlag, *http.Response, error)

FeatureFlagsApiService Update a feature flag Updates a feature flag. This feature was introduced in GitLab 13.2.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param featureFlagName The name of the feature flag
  • @param putApiV4ProjectsIdFeatureFlagsFeatureFlagName

@return ApiEntitiesFeatureFlag

type FeatureFlagsUserListsApiGetApiV4ProjectsIdFeatureFlagsUserListsOpts

type FeatureFlagsUserListsApiGetApiV4ProjectsIdFeatureFlagsUserListsOpts struct {
	Search  optional.String
	Page    optional.Int32
	PerPage optional.Int32
}

type FeatureFlagsUserListsApiService

type FeatureFlagsUserListsApiService service

func (*FeatureFlagsUserListsApiService) DeleteApiV4ProjectsIdFeatureFlagsUserListsIid

func (a *FeatureFlagsUserListsApiService) DeleteApiV4ProjectsIdFeatureFlagsUserListsIid(ctx context.Context, id string, iid string) (*http.Response, error)

FeatureFlagsUserListsApiService Delete feature flag user list Deletes a feature flag user list. This feature was introduced in GitLab 12.10.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param iid The internal ID of the project's feature flag user list

func (*FeatureFlagsUserListsApiService) GetApiV4ProjectsIdFeatureFlagsUserLists

func (*FeatureFlagsUserListsApiService) GetApiV4ProjectsIdFeatureFlagsUserListsIid

func (a *FeatureFlagsUserListsApiService) GetApiV4ProjectsIdFeatureFlagsUserListsIid(ctx context.Context, id string, iid string) (ApiEntitiesFeatureFlagUserList, *http.Response, error)

FeatureFlagsUserListsApiService Get a feature flag user list Gets a feature flag user list. This feature was introduced in GitLab 12.10.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param iid The internal ID of the project's feature flag user list

@return ApiEntitiesFeatureFlagUserList

func (*FeatureFlagsUserListsApiService) PostApiV4ProjectsIdFeatureFlagsUserLists

func (a *FeatureFlagsUserListsApiService) PostApiV4ProjectsIdFeatureFlagsUserLists(ctx context.Context, id string, postApiV4ProjectsIdFeatureFlagsUserLists PostApiV4ProjectsIdFeatureFlagsUserLists) (ApiEntitiesFeatureFlagUserList, *http.Response, error)

FeatureFlagsUserListsApiService Create a feature flag user list Creates a feature flag user list. This feature was introduced in GitLab 12.10.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdFeatureFlagsUserLists

@return ApiEntitiesFeatureFlagUserList

func (*FeatureFlagsUserListsApiService) PutApiV4ProjectsIdFeatureFlagsUserListsIid

func (a *FeatureFlagsUserListsApiService) PutApiV4ProjectsIdFeatureFlagsUserListsIid(ctx context.Context, id string, iid string, putApiV4ProjectsIdFeatureFlagsUserListsIid PutApiV4ProjectsIdFeatureFlagsUserListsIid) (ApiEntitiesFeatureFlagUserList, *http.Response, error)

FeatureFlagsUserListsApiService Update a feature flag user list Updates a feature flag user list. This feature was introduced in GitLab 12.10.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param iid The internal ID of the project's feature flag user list
  • @param putApiV4ProjectsIdFeatureFlagsUserListsIid

@return ApiEntitiesFeatureFlagUserList

type FeaturesApiService

type FeaturesApiService service

func (*FeaturesApiService) DeleteApiV4FeaturesName

func (a *FeaturesApiService) DeleteApiV4FeaturesName(ctx context.Context, name int32) (*http.Response, error)

FeaturesApiService Delete a feature Removes a feature gate. Response is equal when the gate exists, or doesn't.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name

func (*FeaturesApiService) GetApiV4Features

func (a *FeaturesApiService) GetApiV4Features(ctx context.Context) ([]ApiEntitiesFeature, *http.Response, error)

FeaturesApiService List all features Get a list of all persisted features, with its gate values.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []ApiEntitiesFeature

func (*FeaturesApiService) GetApiV4FeaturesDefinitions

func (a *FeaturesApiService) GetApiV4FeaturesDefinitions(ctx context.Context) ([]ApiEntitiesFeatureDefinition, *http.Response, error)

FeaturesApiService List all feature definitions Get a list of all feature definitions.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []ApiEntitiesFeatureDefinition

func (*FeaturesApiService) PostApiV4FeaturesName

func (a *FeaturesApiService) PostApiV4FeaturesName(ctx context.Context, name int32, postApiV4FeaturesName PostApiV4FeaturesName) (ApiEntitiesFeature, *http.Response, error)

FeaturesApiService Set or create a feature Set a feature's gate value. If a feature with the given name doesn't exist yet, it's created. The value can be a boolean, or an integer to indicate percentage of time.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param name
  • @param postApiV4FeaturesName

@return ApiEntitiesFeature

type FreezePeriodsApiGetApiV4ProjectsIdFreezePeriodsOpts

type FreezePeriodsApiGetApiV4ProjectsIdFreezePeriodsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type FreezePeriodsApiService

type FreezePeriodsApiService service

func (*FreezePeriodsApiService) DeleteApiV4ProjectsIdFreezePeriodsFreezePeriodId

func (a *FreezePeriodsApiService) DeleteApiV4ProjectsIdFreezePeriodsFreezePeriodId(ctx context.Context, id string, freezePeriodId int32) (ApiEntitiesFreezePeriod, *http.Response, error)

FreezePeriodsApiService Delete a freeze period Deletes a freeze period for the given `freeze_period_id`. This feature was introduced in GitLab 13.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param freezePeriodId The ID of the freeze period

@return ApiEntitiesFreezePeriod

func (*FreezePeriodsApiService) GetApiV4ProjectsIdFreezePeriods

func (*FreezePeriodsApiService) GetApiV4ProjectsIdFreezePeriodsFreezePeriodId

func (a *FreezePeriodsApiService) GetApiV4ProjectsIdFreezePeriodsFreezePeriodId(ctx context.Context, id string, freezePeriodId int32) (ApiEntitiesFreezePeriod, *http.Response, error)

FreezePeriodsApiService Get a freeze period Get a freeze period for the given `freeze_period_id`. This feature was introduced in GitLab 13.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param freezePeriodId The ID of the freeze period

@return ApiEntitiesFreezePeriod

func (*FreezePeriodsApiService) PostApiV4ProjectsIdFreezePeriods

func (a *FreezePeriodsApiService) PostApiV4ProjectsIdFreezePeriods(ctx context.Context, id string, postApiV4ProjectsIdFreezePeriods PostApiV4ProjectsIdFreezePeriods) (ApiEntitiesFreezePeriod, *http.Response, error)

FreezePeriodsApiService Create a freeze period Creates a freeze period. This feature was introduced in GitLab 13.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdFreezePeriods

@return ApiEntitiesFreezePeriod

func (*FreezePeriodsApiService) PutApiV4ProjectsIdFreezePeriodsFreezePeriodId

func (a *FreezePeriodsApiService) PutApiV4ProjectsIdFreezePeriodsFreezePeriodId(ctx context.Context, id string, freezePeriodId int32, putApiV4ProjectsIdFreezePeriodsFreezePeriodId PutApiV4ProjectsIdFreezePeriodsFreezePeriodId) (ApiEntitiesFreezePeriod, *http.Response, error)

FreezePeriodsApiService Update a freeze period Updates a freeze period for the given `freeze_period_id`. This feature was introduced in GitLab 13.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param freezePeriodId
  • @param putApiV4ProjectsIdFreezePeriodsFreezePeriodId

@return ApiEntitiesFreezePeriod

type GenericPackagesApiGetApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileNameOpts

type GenericPackagesApiGetApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileNameOpts struct {
	Path optional.String
}

type GenericPackagesApiService

type GenericPackagesApiService service

func (*GenericPackagesApiService) GetApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileName

func (a *GenericPackagesApiService) GetApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileName(ctx context.Context, id string, packageName string, packageVersion string, fileName string, localVarOptionals *GenericPackagesApiGetApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileNameOpts) (*http.Response, error)

func (*GenericPackagesApiService) PutApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileName

func (a *GenericPackagesApiService) PutApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileName(ctx context.Context, id string, packageName string, fileName string, putApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileName PutApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileName) (*http.Response, error)

GenericPackagesApiService Upload package file This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param fileName Package file name
  • @param putApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileName

func (*GenericPackagesApiService) PutApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileNameAuthorize

func (a *GenericPackagesApiService) PutApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileNameAuthorize(ctx context.Context, id string, packageName string, fileName string, putApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileNameAuthorize PutApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileNameAuthorize) (*http.Response, error)

GenericPackagesApiService Workhorse authorize generic package file This feature was introduced in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param fileName Package file name
  • @param putApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileNameAuthorize

type GenericSwaggerError

type GenericSwaggerError struct {
	// contains filtered or unexported fields
}

GenericSwaggerError Provides access to the body, error and model on returned errors.

func (GenericSwaggerError) Body

func (e GenericSwaggerError) Body() []byte

Body returns the raw bytes of the response

func (GenericSwaggerError) Error

func (e GenericSwaggerError) Error() string

Error returns non-empty string if there was an error.

func (GenericSwaggerError) Model

func (e GenericSwaggerError) Model() interface{}

Model returns the unpacked model of the error

type GeoApiService

type GeoApiService service

func (*GeoApiService) GetApiV4GeoProxy

func (a *GeoApiService) GetApiV4GeoProxy(ctx context.Context) (*http.Response, error)

GeoApiService Determine if a Geo site should proxy requests Returns a Geo proxy response

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*GeoApiService) GetApiV4GeoRepositoriesGlRepositoryPipelineRefs

func (a *GeoApiService) GetApiV4GeoRepositoriesGlRepositoryPipelineRefs(ctx context.Context, glRepository string) ([]EeApiEntitiesGeoPipelineRefs, *http.Response, error)

GeoApiService Used by secondary runners to verify the secondary instance has the very latest version Returns the list of pipeline refs for the project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param glRepository The repository to check

@return []EeApiEntitiesGeoPipelineRefs

func (*GeoApiService) GetApiV4GeoRetrieveReplicableNameReplicableId

func (a *GeoApiService) GetApiV4GeoRetrieveReplicableNameReplicableId(ctx context.Context, replicableName string, replicableId int32) (*http.Response, error)

GeoApiService Internal endpoint that returns a replicable file Returns a replicable file from store (via CDN or sendfile)

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param replicableName The replicable name of a replicator instance
  • @param replicableId The replicable ID of a replicable instance

func (*GeoApiService) PostApiV4GeoNodeProxyIdGraphql

func (a *GeoApiService) PostApiV4GeoNodeProxyIdGraphql(ctx context.Context, id int32) (*http.Response, error)

GeoApiService Query the GraphQL endpoint of an existing Geo node Query the GraphQL endpoint of an existing Geo node

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the Geo node

func (*GeoApiService) PostApiV4GeoProxyGitSshInfoRefsReceivePack

func (a *GeoApiService) PostApiV4GeoProxyGitSshInfoRefsReceivePack(ctx context.Context, postApiV4GeoProxyGitSshInfoRefsReceivePack PostApiV4GeoProxyGitSshInfoRefsReceivePack) (*http.Response, error)

GeoApiService Internal endpoint that returns git-received-pack output for git push Responsible for making HTTP GET /repo.git/info/refs?service=git-receive-pack request from secondary gitlab-shell to primary

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4GeoProxyGitSshInfoRefsReceivePack

func (*GeoApiService) PostApiV4GeoProxyGitSshInfoRefsUploadPack

func (a *GeoApiService) PostApiV4GeoProxyGitSshInfoRefsUploadPack(ctx context.Context, postApiV4GeoProxyGitSshInfoRefsUploadPack PostApiV4GeoProxyGitSshInfoRefsUploadPack) (*http.Response, error)

GeoApiService Internal endpoint that returns info refs upload pack for git clone/pull Responsible for making HTTP GET /repo.git/info/refs?service=git-upload-pack request from secondary gitlab-shell to primary

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4GeoProxyGitSshInfoRefsUploadPack

func (*GeoApiService) PostApiV4GeoProxyGitSshReceivePack

func (a *GeoApiService) PostApiV4GeoProxyGitSshReceivePack(ctx context.Context, postApiV4GeoProxyGitSshReceivePack PostApiV4GeoProxyGitSshReceivePack) (*http.Response, error)

GeoApiService Internal endpoint that posts git-receive-pack for git push Responsible for making HTTP POST /repo.git/info/refs?service=git-receive-pack request from secondary gitlab-shell to primary

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4GeoProxyGitSshReceivePack

func (*GeoApiService) PostApiV4GeoProxyGitSshUploadPack

func (a *GeoApiService) PostApiV4GeoProxyGitSshUploadPack(ctx context.Context, postApiV4GeoProxyGitSshUploadPack PostApiV4GeoProxyGitSshUploadPack) (*http.Response, error)

GeoApiService Internal endpoint that posts git-upload-pack for git clone/pull Responsible for making HTTP POST /repo.git/git-upload-pack request from secondary gitlab-shell to primary

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4GeoProxyGitSshUploadPack

func (*GeoApiService) PostApiV4GeoStatus

func (a *GeoApiService) PostApiV4GeoStatus(ctx context.Context, postApiV4GeoStatus PostApiV4GeoStatus) (EeApiEntitiesGeoNodeStatus, *http.Response, error)

GeoApiService Internal endpoint that posts the current node status Posts the current node status to the primary site

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4GeoStatus

@return EeApiEntitiesGeoNodeStatus

type GoProxyApiService

type GoProxyApiService service

func (*GoProxyApiService) GetApiV4ProjectsIdPackagesGomoduleNamevList

func (a *GoProxyApiService) GetApiV4ProjectsIdPackagesGomoduleNamevList(ctx context.Context, id string, moduleName string) (*http.Response, error)

GoProxyApiService List Get all tagged versions for a given Go module.See `go help goproxy`, GET $GOPROXY/<module>/@v/list. This feature was introduced in GitLab 13.1.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or full path of a project
  • @param moduleName The name of the Go module

func (*GoProxyApiService) GetApiV4ProjectsIdPackagesGomoduleNamevModuleVersionInfo

func (a *GoProxyApiService) GetApiV4ProjectsIdPackagesGomoduleNamevModuleVersionInfo(ctx context.Context, id string, moduleName string, moduleVersion string) (ApiEntitiesGoModuleVersion, *http.Response, error)

GoProxyApiService Version metadata Get all tagged versions for a given Go module.See `go help goproxy`, GET $GOPROXY/<module>/@v/<version>.info. This feature was introduced in GitLab 13.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or full path of a project
  • @param moduleName The name of the Go module
  • @param moduleVersion The version of the Go module

@return ApiEntitiesGoModuleVersion

func (*GoProxyApiService) GetApiV4ProjectsIdPackagesGomoduleNamevModuleVersionMod

func (a *GoProxyApiService) GetApiV4ProjectsIdPackagesGomoduleNamevModuleVersionMod(ctx context.Context, id string, moduleName string, moduleVersion string) (*http.Response, error)

GoProxyApiService Download module file Get the module file of a given module version.See `go help goproxy`, GET $GOPROXY/<module>/@v/<version>.mod. This feature was introduced in GitLab 13.1.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or full path of a project
  • @param moduleName The name of the Go module
  • @param moduleVersion The version of the Go module

func (*GoProxyApiService) GetApiV4ProjectsIdPackagesGomoduleNamevModuleVersionZip

func (a *GoProxyApiService) GetApiV4ProjectsIdPackagesGomoduleNamevModuleVersionZip(ctx context.Context, id string, moduleName string, moduleVersion string) (*http.Response, error)

GoProxyApiService Download module source Get a zip of the source of the given module version.See `go help goproxy`, GET $GOPROXY/<module>/@v/<version>.zip. This feature was introduced in GitLab 13.1.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or full path of a project
  • @param moduleName The name of the Go module
  • @param moduleVersion The version of the Go module

type GroupAccessTokensApiService

type GroupAccessTokensApiService service

func (*GroupAccessTokensApiService) DeleteApiV4GroupsIdAccessTokensTokenId

func (a *GroupAccessTokensApiService) DeleteApiV4GroupsIdAccessTokensTokenId(ctx context.Context, id string, tokenId string) (*http.Response, error)

GroupAccessTokensApiService Revoke a resource access token This feature was introduced in GitLab 13.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID
  • @param tokenId The ID of the token

func (*GroupAccessTokensApiService) GetApiV4GroupsIdAccessTokens

func (a *GroupAccessTokensApiService) GetApiV4GroupsIdAccessTokens(ctx context.Context, id string) ([]ApiEntitiesResourceAccessToken, *http.Response, error)

GroupAccessTokensApiService Get list of all access tokens for the specified resource This feature was introduced in GitLab 13.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID or URL-encoded path of the group

@return []ApiEntitiesResourceAccessToken

func (*GroupAccessTokensApiService) GetApiV4GroupsIdAccessTokensTokenId

func (a *GroupAccessTokensApiService) GetApiV4GroupsIdAccessTokensTokenId(ctx context.Context, id string, tokenId string) (ApiEntitiesResourceAccessToken, *http.Response, error)

GroupAccessTokensApiService Get an access token for the specified resource by ID This feature was introduced in GitLab 14.10.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID or URL-encoded path of the group
  • @param tokenId The ID of the token

@return ApiEntitiesResourceAccessToken

func (*GroupAccessTokensApiService) PostApiV4GroupsIdAccessTokens

func (a *GroupAccessTokensApiService) PostApiV4GroupsIdAccessTokens(ctx context.Context, id string, postApiV4GroupsIdAccessTokens PostApiV4GroupsIdAccessTokens) (ApiEntitiesResourceAccessTokenWithToken, *http.Response, error)

GroupAccessTokensApiService Create a resource access token This feature was introduced in GitLab 13.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID
  • @param postApiV4GroupsIdAccessTokens

@return ApiEntitiesResourceAccessTokenWithToken

func (*GroupAccessTokensApiService) PostApiV4GroupsIdAccessTokensTokenIdRotate

func (a *GroupAccessTokensApiService) PostApiV4GroupsIdAccessTokensTokenIdRotate(ctx context.Context, id string, tokenId string, postApiV4GroupsIdAccessTokensTokenIdRotate PostApiV4GroupsIdAccessTokensTokenIdRotate) (ApiEntitiesResourceAccessTokenWithToken, *http.Response, error)

GroupAccessTokensApiService Rotate a resource access token This feature was introduced in GitLab 16.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID
  • @param tokenId The ID of the token
  • @param postApiV4GroupsIdAccessTokensTokenIdRotate

@return ApiEntitiesResourceAccessTokenWithToken

type GroupAvatarApiService

type GroupAvatarApiService service

func (*GroupAvatarApiService) GetApiV4GroupsIdAvatar

func (a *GroupAvatarApiService) GetApiV4GroupsIdAvatar(ctx context.Context, id string) (*http.Response, error)

GroupAvatarApiService Download the group avatar This feature was introduced in GitLab 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the group

type GroupExportApiGetApiV4GroupsIdExportRelationsDownloadOpts

type GroupExportApiGetApiV4GroupsIdExportRelationsDownloadOpts struct {
	Batched     optional.Bool
	BatchNumber optional.Int32
}

type GroupExportApiGetApiV4GroupsIdExportRelationsStatusOpts

type GroupExportApiGetApiV4GroupsIdExportRelationsStatusOpts struct {
	Relation optional.String
}

type GroupExportApiService

type GroupExportApiService service

func (*GroupExportApiService) GetApiV4GroupsIdExportDownload

func (a *GroupExportApiService) GetApiV4GroupsIdExportDownload(ctx context.Context, id string) (*http.Response, error)

GroupExportApiService Download export This feature was introduced in GitLab 12.5.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group

func (*GroupExportApiService) GetApiV4GroupsIdExportRelationsDownload

func (a *GroupExportApiService) GetApiV4GroupsIdExportRelationsDownload(ctx context.Context, id string, relation string, localVarOptionals *GroupExportApiGetApiV4GroupsIdExportRelationsDownloadOpts) (*http.Response, error)

func (*GroupExportApiService) GetApiV4GroupsIdExportRelationsStatus

func (*GroupExportApiService) PostApiV4GroupsIdExport

func (a *GroupExportApiService) PostApiV4GroupsIdExport(ctx context.Context, id string) (*http.Response, error)

GroupExportApiService Start export This feature was introduced in GitLab 12.5.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group

func (*GroupExportApiService) PostApiV4GroupsIdExportRelations

func (a *GroupExportApiService) PostApiV4GroupsIdExportRelations(ctx context.Context, id string, postApiV4GroupsIdExportRelations PostApiV4GroupsIdExportRelations) (*http.Response, error)

GroupExportApiService Start relations export This feature was introduced in GitLab 13.12

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param postApiV4GroupsIdExportRelations

type GroupImportApiPostApiV4GroupsImportOpts

type GroupImportApiPostApiV4GroupsImportOpts struct {
	ParentId       optional.Int32
	OrganizationId optional.Int32
}

type GroupImportApiService

type GroupImportApiService service

func (*GroupImportApiService) PostApiV4GroupsImport

func (a *GroupImportApiService) PostApiV4GroupsImport(ctx context.Context, path string, name string, file *os.File, localVarOptionals *GroupImportApiPostApiV4GroupsImportOpts) (*http.Response, error)

func (*GroupImportApiService) PostApiV4GroupsImportAuthorize

func (a *GroupImportApiService) PostApiV4GroupsImportAuthorize(ctx context.Context) (*http.Response, error)

GroupImportApiService Workhorse authorize the group import upload This feature was introduced in GitLab 12.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

type GroupPackagesApiGetApiV4GroupsIdPackagesOpts

type GroupPackagesApiGetApiV4GroupsIdPackagesOpts struct {
	ExcludeSubgroups   optional.Bool
	Page               optional.Int32
	PerPage            optional.Int32
	OrderBy            optional.String
	Sort               optional.String
	PackageType        optional.String
	PackageName        optional.String
	PackageVersion     optional.String
	IncludeVersionless optional.Bool
	Status             optional.String
}

type GroupPackagesApiService

type GroupPackagesApiService service

func (*GroupPackagesApiService) GetApiV4GroupsIdPackages

type GroupsApiGetApiV4GroupsIdAuditEventsOpts

type GroupsApiGetApiV4GroupsIdAuditEventsOpts struct {
	CreatedAfter  optional.Time
	CreatedBefore optional.Time
	Page          optional.Int32
	PerPage       optional.Int32
}

type GroupsApiGetApiV4GroupsIdBillableMembersOpts

type GroupsApiGetApiV4GroupsIdBillableMembersOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Search  optional.String
	Sort    optional.String
}

type GroupsApiGetApiV4GroupsIdBillableMembersUserIdIndirectOpts

type GroupsApiGetApiV4GroupsIdBillableMembersUserIdIndirectOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type GroupsApiGetApiV4GroupsIdBillableMembersUserIdMembershipsOpts

type GroupsApiGetApiV4GroupsIdBillableMembersUserIdMembershipsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type GroupsApiGetApiV4GroupsIdDescendantGroupsOpts

type GroupsApiGetApiV4GroupsIdDescendantGroupsOpts struct {
	Statistics           optional.Bool
	SkipGroups           optional.Interface
	AllAvailable         optional.Bool
	Visibility           optional.String
	Search               optional.String
	Owned                optional.Bool
	OrderBy              optional.String
	Sort                 optional.String
	MinAccessLevel       optional.Int32
	TopLevelOnly         optional.Bool
	RepositoryStorage    optional.String
	Page                 optional.Int32
	PerPage              optional.Int32
	WithCustomAttributes optional.Bool
}

type GroupsApiGetApiV4GroupsIdOpts

type GroupsApiGetApiV4GroupsIdOpts struct {
	WithCustomAttributes optional.Bool
	WithProjects         optional.Bool
}

type GroupsApiGetApiV4GroupsIdPendingMembersOpts

type GroupsApiGetApiV4GroupsIdPendingMembersOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type GroupsApiGetApiV4GroupsIdProjectsOpts

type GroupsApiGetApiV4GroupsIdProjectsOpts struct {
	Archived                 optional.Bool
	Visibility               optional.String
	Search                   optional.String
	OrderBy                  optional.String
	Sort                     optional.String
	Simple                   optional.Bool
	Owned                    optional.Bool
	Starred                  optional.Bool
	WithIssuesEnabled        optional.Bool
	WithMergeRequestsEnabled optional.Bool
	WithShared               optional.Bool
	IncludeSubgroups         optional.Bool
	IncludeAncestorGroups    optional.Bool
	MinAccessLevel           optional.Int32
	Page                     optional.Int32
	PerPage                  optional.Int32
	WithCustomAttributes     optional.Bool
	WithSecurityReports      optional.Bool
}

type GroupsApiGetApiV4GroupsIdProjectsSharedOpts

type GroupsApiGetApiV4GroupsIdProjectsSharedOpts struct {
	Archived                 optional.Bool
	Visibility               optional.String
	Search                   optional.String
	OrderBy                  optional.String
	Sort                     optional.String
	Simple                   optional.Bool
	Starred                  optional.Bool
	WithIssuesEnabled        optional.Bool
	WithMergeRequestsEnabled optional.Bool
	MinAccessLevel           optional.Int32
	Page                     optional.Int32
	PerPage                  optional.Int32
	WithCustomAttributes     optional.Bool
}

type GroupsApiGetApiV4GroupsIdProvisionedUsersOpts

type GroupsApiGetApiV4GroupsIdProvisionedUsersOpts struct {
	Username      optional.String
	Search        optional.String
	Active        optional.Bool
	Blocked       optional.Bool
	CreatedAfter  optional.Time
	CreatedBefore optional.Time
	Page          optional.Int32
	PerPage       optional.Int32
}

type GroupsApiGetApiV4GroupsIdRunnersOpts

type GroupsApiGetApiV4GroupsIdRunnersOpts struct {
	Type_         optional.String
	Paused        optional.Bool
	Status        optional.String
	TagList       optional.Interface
	VersionPrefix optional.String
	Page          optional.Int32
	PerPage       optional.Int32
}

type GroupsApiGetApiV4GroupsIdSshCertificatesOpts

type GroupsApiGetApiV4GroupsIdSshCertificatesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type GroupsApiGetApiV4GroupsIdSubgroupsOpts

type GroupsApiGetApiV4GroupsIdSubgroupsOpts struct {
	Statistics           optional.Bool
	SkipGroups           optional.Interface
	AllAvailable         optional.Bool
	Visibility           optional.String
	Search               optional.String
	Owned                optional.Bool
	OrderBy              optional.String
	Sort                 optional.String
	MinAccessLevel       optional.Int32
	TopLevelOnly         optional.Bool
	RepositoryStorage    optional.String
	Page                 optional.Int32
	PerPage              optional.Int32
	WithCustomAttributes optional.Bool
}

type GroupsApiGetApiV4GroupsIdTransferLocationsOpts

type GroupsApiGetApiV4GroupsIdTransferLocationsOpts struct {
	Search  optional.String
	Page    optional.Int32
	PerPage optional.Int32
}

type GroupsApiGetApiV4GroupsIdUsersOpts

type GroupsApiGetApiV4GroupsIdUsersOpts struct {
	Search                 optional.String
	Active                 optional.Bool
	IncludeSamlUsers       optional.Bool
	IncludeServiceAccounts optional.Bool
	Page                   optional.Int32
	PerPage                optional.Int32
}

type GroupsApiGetApiV4GroupsOpts

type GroupsApiGetApiV4GroupsOpts struct {
	Statistics           optional.Bool
	SkipGroups           optional.Interface
	AllAvailable         optional.Bool
	Visibility           optional.String
	Search               optional.String
	Owned                optional.Bool
	OrderBy              optional.String
	Sort                 optional.String
	MinAccessLevel       optional.Int32
	TopLevelOnly         optional.Bool
	RepositoryStorage    optional.String
	Page                 optional.Int32
	PerPage              optional.Int32
	WithCustomAttributes optional.Bool
}

type GroupsApiService

type GroupsApiService service

func (*GroupsApiService) DeleteApiV4GroupsId

func (a *GroupsApiService) DeleteApiV4GroupsId(ctx context.Context, id string) (*http.Response, error)

GroupsApiService Remove a group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group

func (*GroupsApiService) DeleteApiV4GroupsIdBillableMembersUserId

func (a *GroupsApiService) DeleteApiV4GroupsIdBillableMembersUserId(ctx context.Context, id string, userId int32) (*http.Response, error)

GroupsApiService Removes a billable member from a group or project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param userId The user ID of the member

func (*GroupsApiService) DeleteApiV4GroupsIdCustomAttributesKey

func (a *GroupsApiService) DeleteApiV4GroupsIdCustomAttributesKey(ctx context.Context, key string, id int32) (*http.Response, error)

GroupsApiService Delete a custom attribute on a group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of the custom attribute
  • @param id

func (*GroupsApiService) DeleteApiV4GroupsIdMembersUserIdOverride

func (a *GroupsApiService) DeleteApiV4GroupsIdMembersUserIdOverride(ctx context.Context, id string, userId int32) (ApiEntitiesMember, *http.Response, error)

GroupsApiService Remove an LDAP group member access level override.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param userId The user ID of the member

@return ApiEntitiesMember

func (*GroupsApiService) DeleteApiV4GroupsIdShareGroupId

func (a *GroupsApiService) DeleteApiV4GroupsIdShareGroupId(ctx context.Context, id string, groupId int32) (*http.Response, error)

GroupsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param groupId The ID of the shared group

func (*GroupsApiService) DeleteApiV4GroupsIdSshCertificatesSshCertificatesId

func (a *GroupsApiService) DeleteApiV4GroupsIdSshCertificatesSshCertificatesId(ctx context.Context, id int32, sshCertificatesId int32) (*http.Response, error)

GroupsApiService Removes an ssh certificate from a group. Removes a Groups::SshCertificate

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param sshCertificatesId

func (*GroupsApiService) GetApiV4Groups

func (a *GroupsApiService) GetApiV4Groups(ctx context.Context, localVarOptionals *GroupsApiGetApiV4GroupsOpts) ([]ApiEntitiesGroup, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsId

func (a *GroupsApiService) GetApiV4GroupsId(ctx context.Context, id string, localVarOptionals *GroupsApiGetApiV4GroupsIdOpts) (ApiEntitiesGroupDetail, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdAuditEvents

func (a *GroupsApiService) GetApiV4GroupsIdAuditEvents(ctx context.Context, id int32, localVarOptionals *GroupsApiGetApiV4GroupsIdAuditEventsOpts) ([]EeApiEntitiesAuditEvent, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdAuditEventsAuditEventId

func (a *GroupsApiService) GetApiV4GroupsIdAuditEventsAuditEventId(ctx context.Context, auditEventId int32, id int32) (EeApiEntitiesAuditEvent, *http.Response, error)

GroupsApiService Get a specific audit event in this group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param auditEventId The ID of the audit event
  • @param id

@return EeApiEntitiesAuditEvent

func (*GroupsApiService) GetApiV4GroupsIdBillableMembers

func (a *GroupsApiService) GetApiV4GroupsIdBillableMembers(ctx context.Context, id string, localVarOptionals *GroupsApiGetApiV4GroupsIdBillableMembersOpts) (ApiEntitiesMember, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdBillableMembersUserIdIndirect

func (a *GroupsApiService) GetApiV4GroupsIdBillableMembersUserIdIndirect(ctx context.Context, id string, userId int32, localVarOptionals *GroupsApiGetApiV4GroupsIdBillableMembersUserIdIndirectOpts) (EeApiEntitiesBillableMembership, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdBillableMembersUserIdMemberships

func (a *GroupsApiService) GetApiV4GroupsIdBillableMembersUserIdMemberships(ctx context.Context, id string, userId int32, localVarOptionals *GroupsApiGetApiV4GroupsIdBillableMembersUserIdMembershipsOpts) (EeApiEntitiesBillableMembership, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdCustomAttributes

func (a *GroupsApiService) GetApiV4GroupsIdCustomAttributes(ctx context.Context, id int32) (ApiEntitiesCustomAttribute, *http.Response, error)

GroupsApiService Get all custom attributes on a group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return ApiEntitiesCustomAttribute

func (*GroupsApiService) GetApiV4GroupsIdCustomAttributesKey

func (a *GroupsApiService) GetApiV4GroupsIdCustomAttributesKey(ctx context.Context, key string, id int32) (ApiEntitiesCustomAttribute, *http.Response, error)

GroupsApiService Get a custom attribute on a group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of the custom attribute
  • @param id

@return ApiEntitiesCustomAttribute

func (*GroupsApiService) GetApiV4GroupsIdDescendantGroups

func (a *GroupsApiService) GetApiV4GroupsIdDescendantGroups(ctx context.Context, id string, localVarOptionals *GroupsApiGetApiV4GroupsIdDescendantGroupsOpts) ([]ApiEntitiesGroup, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdPendingMembers

func (a *GroupsApiService) GetApiV4GroupsIdPendingMembers(ctx context.Context, id string, localVarOptionals *GroupsApiGetApiV4GroupsIdPendingMembersOpts) (*http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdProjects

func (a *GroupsApiService) GetApiV4GroupsIdProjects(ctx context.Context, id string, localVarOptionals *GroupsApiGetApiV4GroupsIdProjectsOpts) ([]ApiEntitiesProject, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdProjectsShared

func (a *GroupsApiService) GetApiV4GroupsIdProjectsShared(ctx context.Context, id string, localVarOptionals *GroupsApiGetApiV4GroupsIdProjectsSharedOpts) ([]ApiEntitiesProject, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdProvisionedUsers

func (a *GroupsApiService) GetApiV4GroupsIdProvisionedUsers(ctx context.Context, id int32, localVarOptionals *GroupsApiGetApiV4GroupsIdProvisionedUsersOpts) (ApiEntitiesUserPublic, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdRunners

func (a *GroupsApiService) GetApiV4GroupsIdRunners(ctx context.Context, id string, localVarOptionals *GroupsApiGetApiV4GroupsIdRunnersOpts) (ApiEntitiesCiRunner, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdSshCertificates

func (a *GroupsApiService) GetApiV4GroupsIdSshCertificates(ctx context.Context, id int32, localVarOptionals *GroupsApiGetApiV4GroupsIdSshCertificatesOpts) ([]EeApiEntitiesSshCertificate, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdSubgroups

func (a *GroupsApiService) GetApiV4GroupsIdSubgroups(ctx context.Context, id string, localVarOptionals *GroupsApiGetApiV4GroupsIdSubgroupsOpts) ([]ApiEntitiesGroup, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdTransferLocations

func (a *GroupsApiService) GetApiV4GroupsIdTransferLocations(ctx context.Context, id string, localVarOptionals *GroupsApiGetApiV4GroupsIdTransferLocationsOpts) ([]ApiEntitiesGroup, *http.Response, error)

func (*GroupsApiService) GetApiV4GroupsIdUsers

func (a *GroupsApiService) GetApiV4GroupsIdUsers(ctx context.Context, id int32, localVarOptionals *GroupsApiGetApiV4GroupsIdUsersOpts) (ApiEntitiesUserPublic, *http.Response, error)

func (*GroupsApiService) PostApiV4Groups

func (a *GroupsApiService) PostApiV4Groups(ctx context.Context, postApiV4Groups PostApiV4Groups) (ApiEntitiesGroup, *http.Response, error)

GroupsApiService Create a group. Available only for users who can create groups.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4Groups

@return ApiEntitiesGroup

func (*GroupsApiService) PostApiV4GroupsIdLdapSync

func (a *GroupsApiService) PostApiV4GroupsIdLdapSync(ctx context.Context, id int32) (*http.Response, error)

GroupsApiService Sync a group with LDAP.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*GroupsApiService) PostApiV4GroupsIdMembersApproveAll

func (a *GroupsApiService) PostApiV4GroupsIdMembersApproveAll(ctx context.Context, id string) (*http.Response, error)

GroupsApiService Approves all pending members

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group

func (*GroupsApiService) PostApiV4GroupsIdMembersUserIdOverride

func (a *GroupsApiService) PostApiV4GroupsIdMembersUserIdOverride(ctx context.Context, id string, userId int32) (ApiEntitiesMember, *http.Response, error)

GroupsApiService Overrides the access level of an LDAP group member.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param userId The user ID of the member

@return ApiEntitiesMember

func (*GroupsApiService) PostApiV4GroupsIdProjectsProjectId

func (a *GroupsApiService) PostApiV4GroupsIdProjectsProjectId(ctx context.Context, id string, projectId string) (ApiEntitiesGroupDetail, *http.Response, error)

GroupsApiService Transfer a project to the group namespace. Available only for admin.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param projectId The ID or path of the project

@return ApiEntitiesGroupDetail

func (*GroupsApiService) PostApiV4GroupsIdRestore

func (a *GroupsApiService) PostApiV4GroupsIdRestore(ctx context.Context, id int32) (*http.Response, error)

GroupsApiService Restore a group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*GroupsApiService) PostApiV4GroupsIdRunnersResetRegistrationToken

func (a *GroupsApiService) PostApiV4GroupsIdRunnersResetRegistrationToken(ctx context.Context, id string) (ApiEntitiesCiResetTokenResult, *http.Response, error)

GroupsApiService Reset the runner registration token for a group Reset runner registration token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group

@return ApiEntitiesCiResetTokenResult

func (*GroupsApiService) PostApiV4GroupsIdShare

func (a *GroupsApiService) PostApiV4GroupsIdShare(ctx context.Context, id string, postApiV4GroupsIdShare PostApiV4GroupsIdShare) (ApiEntitiesGroupDetail, *http.Response, error)

GroupsApiService Share a group with a group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param postApiV4GroupsIdShare

@return ApiEntitiesGroupDetail

func (*GroupsApiService) PostApiV4GroupsIdSshCertificates

func (a *GroupsApiService) PostApiV4GroupsIdSshCertificates(ctx context.Context, id int32, postApiV4GroupsIdSshCertificates PostApiV4GroupsIdSshCertificates) (EeApiEntitiesSshCertificate, *http.Response, error)

GroupsApiService Add a Groups::SshCertificate. Create a ssh certificate for a group.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param postApiV4GroupsIdSshCertificates

@return EeApiEntitiesSshCertificate

func (*GroupsApiService) PostApiV4GroupsIdTransfer

func (a *GroupsApiService) PostApiV4GroupsIdTransfer(ctx context.Context, id string, postApiV4GroupsIdTransfer PostApiV4GroupsIdTransfer) (*http.Response, error)

GroupsApiService Transfer a group to a new parent group or promote a subgroup to a root group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param postApiV4GroupsIdTransfer

func (*GroupsApiService) PostApiV4RunnersResetRegistrationToken

func (a *GroupsApiService) PostApiV4RunnersResetRegistrationToken(ctx context.Context) (ApiEntitiesCiResetTokenResult, *http.Response, error)

GroupsApiService Reset instance's runner registration token Reset runner registration token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesCiResetTokenResult

func (*GroupsApiService) PutApiV4GroupsId

func (a *GroupsApiService) PutApiV4GroupsId(ctx context.Context, id string, putApiV4GroupsId PutApiV4GroupsId) (ApiEntitiesGroup, *http.Response, error)

GroupsApiService Update a group. Available only for users who can administrate groups.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param putApiV4GroupsId

@return ApiEntitiesGroup

func (*GroupsApiService) PutApiV4GroupsIdCustomAttributesKey

func (a *GroupsApiService) PutApiV4GroupsIdCustomAttributesKey(ctx context.Context, key string, id int32, putApiV4GroupsIdCustomAttributesKey PutApiV4GroupsIdCustomAttributesKey) (*http.Response, error)

GroupsApiService Set a custom attribute on a group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of the custom attribute
  • @param id
  • @param putApiV4GroupsIdCustomAttributesKey

func (*GroupsApiService) PutApiV4GroupsIdMembersMemberIdApprove

func (a *GroupsApiService) PutApiV4GroupsIdMembersMemberIdApprove(ctx context.Context, id string, memberId int32) (*http.Response, error)

GroupsApiService Approves a pending member

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param memberId The ID of the member requiring approval

func (*GroupsApiService) PutApiV4GroupsIdMembersUserIdState

func (a *GroupsApiService) PutApiV4GroupsIdMembersUserIdState(ctx context.Context, id string, userId int32, putApiV4GroupsIdMembersUserIdState PutApiV4GroupsIdMembersUserIdState) (*http.Response, error)

GroupsApiService Changes the state of the memberships of a user in the group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group
  • @param userId The user ID of the user
  • @param putApiV4GroupsIdMembersUserIdState

type HelmPackagesApiService

type HelmPackagesApiService service

func (*HelmPackagesApiService) GetApiV4ProjectsIdPackagesHelmChannelChartsFileNameTgz

func (a *HelmPackagesApiService) GetApiV4ProjectsIdPackagesHelmChannelChartsFileNameTgz(ctx context.Context, id int32, channel string, fileName string) (*http.Response, error)

HelmPackagesApiService Download a chart This feature was introduced in GitLab 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or full path of a project
  • @param channel Helm channel
  • @param fileName Helm package file name

func (*HelmPackagesApiService) GetApiV4ProjectsIdPackagesHelmChannelIndexYaml

func (a *HelmPackagesApiService) GetApiV4ProjectsIdPackagesHelmChannelIndexYaml(ctx context.Context, id int32, channel string) (*http.Response, error)

HelmPackagesApiService Download a chart index This feature was introduced in GitLab 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or full path of a project
  • @param channel Helm channel

func (*HelmPackagesApiService) PostApiV4ProjectsIdPackagesHelmApiChannelCharts

func (a *HelmPackagesApiService) PostApiV4ProjectsIdPackagesHelmApiChannelCharts(ctx context.Context, id int32, channel string, postApiV4ProjectsIdPackagesHelmApiChannelCharts PostApiV4ProjectsIdPackagesHelmApiChannelCharts) (*http.Response, error)

HelmPackagesApiService Upload a chart This feature was introduced in GitLab 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or full path of a project
  • @param channel Helm channel
  • @param postApiV4ProjectsIdPackagesHelmApiChannelCharts

func (*HelmPackagesApiService) PostApiV4ProjectsIdPackagesHelmApiChannelChartsAuthorize

func (a *HelmPackagesApiService) PostApiV4ProjectsIdPackagesHelmApiChannelChartsAuthorize(ctx context.Context, id int32, channel string) (*http.Response, error)

HelmPackagesApiService Authorize a chart upload from workhorse This feature was introduced in GitLab 14.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or full path of a project
  • @param channel Helm channel

type HooksApiService

type HooksApiService service

func (*HooksApiService) DeleteApiV4HooksHookIdUrlVariablesKey

func (a *HooksApiService) DeleteApiV4HooksHookIdUrlVariablesKey(ctx context.Context, hookId int32, key string) (*http.Response, error)

HooksApiService Un-Set a url variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param hookId The ID of the hook
  • @param key The key of the variable

func (*HooksApiService) PostApiV4HooksHookId

func (a *HooksApiService) PostApiV4HooksHookId(ctx context.Context, hookId int32) (*http.Response, error)

HooksApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param hookId The ID of the hook

func (*HooksApiService) PutApiV4HooksHookIdUrlVariablesKey

func (a *HooksApiService) PutApiV4HooksHookIdUrlVariablesKey(ctx context.Context, hookId int32, key string, putApiV4HooksHookIdUrlVariablesKey PutApiV4HooksHookIdUrlVariablesKey) (*http.Response, error)

HooksApiService Set a url variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param hookId The ID of the hook
  • @param key The key of the variable
  • @param putApiV4HooksHookIdUrlVariablesKey

type ImportApiService

type ImportApiService service

func (*ImportApiService) PostApiV4ImportGithubGists

func (a *ImportApiService) PostApiV4ImportGithubGists(ctx context.Context, postApiV4ImportGithubGists PostApiV4ImportGithubGists) (*http.Response, error)

ImportApiService Import User Gists This feature was introduced in GitLab 15.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4ImportGithubGists

type IntegrationsApiService

type IntegrationsApiService service

func (*IntegrationsApiService) DeleteApiV4ProjectsIdIntegrationsSlug

func (a *IntegrationsApiService) DeleteApiV4ProjectsIdIntegrationsSlug(ctx context.Context, id string, slug string) (*http.Response, error)

IntegrationsApiService Disable an integration Disable the integration for a project. Integration settings are preserved.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param slug The name of the integration

func (*IntegrationsApiService) DeleteApiV4ProjectsIdServicesSlug

func (a *IntegrationsApiService) DeleteApiV4ProjectsIdServicesSlug(ctx context.Context, id string, slug string) (*http.Response, error)

IntegrationsApiService Disable an integration Disable the integration for a project. Integration settings are preserved.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param slug The name of the integration

func (*IntegrationsApiService) GetApiV4ProjectsIdIntegrations

func (a *IntegrationsApiService) GetApiV4ProjectsIdIntegrations(ctx context.Context, id string) ([]ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService List all active integrations Get a list of all active project integrations.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return []ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) GetApiV4ProjectsIdIntegrationsSlug

func (a *IntegrationsApiService) GetApiV4ProjectsIdIntegrationsSlug(ctx context.Context, id string, slug string) (ApiEntitiesProjectIntegration, *http.Response, error)

IntegrationsApiService Get an integration settings Get the integration settings for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param slug The name of the integration

@return ApiEntitiesProjectIntegration

func (*IntegrationsApiService) GetApiV4ProjectsIdServices

func (a *IntegrationsApiService) GetApiV4ProjectsIdServices(ctx context.Context, id string) ([]ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService List all active integrations Get a list of all active project integrations.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return []ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) GetApiV4ProjectsIdServicesSlug

func (a *IntegrationsApiService) GetApiV4ProjectsIdServicesSlug(ctx context.Context, id string, slug string) (ApiEntitiesProjectIntegration, *http.Response, error)

IntegrationsApiService Get an integration settings Get the integration settings for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param slug The name of the integration

@return ApiEntitiesProjectIntegration

func (*IntegrationsApiService) PostApiV4IntegrationsSlackEvents

func (a *IntegrationsApiService) PostApiV4IntegrationsSlackEvents(ctx context.Context, postApiV4IntegrationsSlackEvents PostApiV4IntegrationsSlackEvents) (*http.Response, error)

IntegrationsApiService Receive Slack events

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4IntegrationsSlackEvents

func (*IntegrationsApiService) PostApiV4IntegrationsSlackInteractions

func (a *IntegrationsApiService) PostApiV4IntegrationsSlackInteractions(ctx context.Context) (*http.Response, error)

IntegrationsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*IntegrationsApiService) PostApiV4IntegrationsSlackOptions

func (a *IntegrationsApiService) PostApiV4IntegrationsSlackOptions(ctx context.Context) (*http.Response, error)

IntegrationsApiService

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*IntegrationsApiService) PostApiV4ProjectsIdIntegrationsMattermostSlashCommandsTrigger

func (a *IntegrationsApiService) PostApiV4ProjectsIdIntegrationsMattermostSlashCommandsTrigger(ctx context.Context, id string, postApiV4ProjectsIdIntegrationsMattermostSlashCommandsTrigger PostApiV4ProjectsIdIntegrationsMattermostSlashCommandsTrigger) (*http.Response, error)

IntegrationsApiService Trigger a slash command for mattermost-slash-commands Added in GitLab 8.13

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdIntegrationsMattermostSlashCommandsTrigger

func (*IntegrationsApiService) PostApiV4ProjectsIdIntegrationsSlackSlashCommandsTrigger

func (a *IntegrationsApiService) PostApiV4ProjectsIdIntegrationsSlackSlashCommandsTrigger(ctx context.Context, id string, postApiV4ProjectsIdIntegrationsSlackSlashCommandsTrigger PostApiV4ProjectsIdIntegrationsSlackSlashCommandsTrigger) (*http.Response, error)

IntegrationsApiService Trigger a slash command for slack-slash-commands Added in GitLab 8.13

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdIntegrationsSlackSlashCommandsTrigger

func (*IntegrationsApiService) PostApiV4ProjectsIdServicesMattermostSlashCommandsTrigger

func (a *IntegrationsApiService) PostApiV4ProjectsIdServicesMattermostSlashCommandsTrigger(ctx context.Context, id string, postApiV4ProjectsIdServicesMattermostSlashCommandsTrigger PostApiV4ProjectsIdServicesMattermostSlashCommandsTrigger) (*http.Response, error)

IntegrationsApiService Trigger a slash command for mattermost-slash-commands Added in GitLab 8.13

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdServicesMattermostSlashCommandsTrigger

func (*IntegrationsApiService) PostApiV4ProjectsIdServicesSlackSlashCommandsTrigger

func (a *IntegrationsApiService) PostApiV4ProjectsIdServicesSlackSlashCommandsTrigger(ctx context.Context, id string, postApiV4ProjectsIdServicesSlackSlashCommandsTrigger PostApiV4ProjectsIdServicesSlackSlashCommandsTrigger) (*http.Response, error)

IntegrationsApiService Trigger a slash command for slack-slash-commands Added in GitLab 8.13

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdServicesSlackSlashCommandsTrigger

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsAppleAppStore

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsAppleAppStore(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsAppleAppStore PutApiV4ProjectsIdIntegrationsAppleAppStore) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Apple App Store integration Set Apple App Store integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsAppleAppStore

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsAsana

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsAsana(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsAsana PutApiV4ProjectsIdIntegrationsAsana) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Asana integration Set Asana integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsAsana

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsAssembla

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsAssembla(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsAssembla PutApiV4ProjectsIdIntegrationsAssembla) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Assembla integration Set Assembla integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsAssembla

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsBamboo

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsBamboo(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsBamboo PutApiV4ProjectsIdIntegrationsBamboo) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Bamboo integration Set Bamboo integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsBamboo

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsBugzilla

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsBugzilla(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsBugzilla PutApiV4ProjectsIdIntegrationsBugzilla) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Bugzilla integration Set Bugzilla integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsBugzilla

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsBuildkite

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsBuildkite(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsBuildkite PutApiV4ProjectsIdIntegrationsBuildkite) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Buildkite integration Set Buildkite integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsBuildkite

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsCampfire

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsCampfire(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsCampfire PutApiV4ProjectsIdIntegrationsCampfire) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Campfire integration Set Campfire integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsCampfire

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsClickup

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsClickup(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsClickup PutApiV4ProjectsIdIntegrationsClickup) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Clickup integration Set Clickup integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsClickup

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsConfluence

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsConfluence(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsConfluence PutApiV4ProjectsIdIntegrationsConfluence) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Confluence integration Set Confluence integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsConfluence

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsCustomIssueTracker

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsCustomIssueTracker(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsCustomIssueTracker PutApiV4ProjectsIdIntegrationsCustomIssueTracker) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Custom Issue Tracker integration Set Custom Issue Tracker integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsCustomIssueTracker

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsDatadog

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsDatadog(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsDatadog PutApiV4ProjectsIdIntegrationsDatadog) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Datadog integration Set Datadog integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsDatadog

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsDiffblueCover

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsDiffblueCover(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsDiffblueCover PutApiV4ProjectsIdIntegrationsDiffblueCover) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Diffblue Cover integration Set Diffblue Cover integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsDiffblueCover

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsDiscord

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsDiscord(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsDiscord PutApiV4ProjectsIdIntegrationsDiscord) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Discord integration Set Discord integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsDiscord

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsDroneCi

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsDroneCi(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsDroneCi PutApiV4ProjectsIdIntegrationsDroneCi) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Drone Ci integration Set Drone Ci integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsDroneCi

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsEmailsOnPush

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsEmailsOnPush(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsEmailsOnPush PutApiV4ProjectsIdIntegrationsEmailsOnPush) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Emails On Push integration Set Emails On Push integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsEmailsOnPush

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsEwm

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsEwm(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsEwm PutApiV4ProjectsIdIntegrationsEwm) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Ewm integration Set Ewm integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsEwm

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsExternalWiki

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsExternalWiki(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsExternalWiki PutApiV4ProjectsIdIntegrationsExternalWiki) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit External Wiki integration Set External Wiki integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsExternalWiki

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGitGuardian

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGitGuardian(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsGitGuardian PutApiV4ProjectsIdIntegrationsGitGuardian) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Git Guardian integration Set Git Guardian integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsGitGuardian

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGithub

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGithub(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsGithub PutApiV4ProjectsIdIntegrationsGithub) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Github integration Set Github integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsGithub

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGitlabSlackApplication

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGitlabSlackApplication(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsGitlabSlackApplication PutApiV4ProjectsIdIntegrationsGitlabSlackApplication) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Gitlab Slack Application integration Set Gitlab Slack Application integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsGitlabSlackApplication

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGoogleCloudPlatformArtifactRegistry

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGoogleCloudPlatformArtifactRegistry(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsGoogleCloudPlatformArtifactRegistry PutApiV4ProjectsIdIntegrationsGoogleCloudPlatformArtifactRegistry) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Google Cloud Platform Artifact Registry integration Set Google Cloud Platform Artifact Registry integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsGoogleCloudPlatformArtifactRegistry

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederation

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederation(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederation PutApiV4ProjectsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederation) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Google Cloud Platform Workload Identity Federation integration Set Google Cloud Platform Workload Identity Federation integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederation

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGooglePlay

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsGooglePlay(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsGooglePlay PutApiV4ProjectsIdIntegrationsGooglePlay) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Google Play integration Set Google Play integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsGooglePlay

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsHangoutsChat

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsHangoutsChat(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsHangoutsChat PutApiV4ProjectsIdIntegrationsHangoutsChat) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Hangouts Chat integration Set Hangouts Chat integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsHangoutsChat

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsHarbor

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsHarbor(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsHarbor PutApiV4ProjectsIdIntegrationsHarbor) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Harbor integration Set Harbor integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsHarbor

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsIrker

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsIrker(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsIrker PutApiV4ProjectsIdIntegrationsIrker) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Irker integration Set Irker integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsIrker

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsJenkins

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsJenkins(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsJenkins PutApiV4ProjectsIdIntegrationsJenkins) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Jenkins integration Set Jenkins integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsJenkins

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsJira

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsJira(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsJira PutApiV4ProjectsIdIntegrationsJira) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Jira integration Set Jira integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsJira

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsMattermost

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsMattermost(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsMattermost PutApiV4ProjectsIdIntegrationsMattermost) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Mattermost integration Set Mattermost integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsMattermost

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsMattermostSlashCommands

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsMattermostSlashCommands(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsMattermostSlashCommands PutApiV4ProjectsIdIntegrationsMattermostSlashCommands) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Mattermost Slash Commands integration Set Mattermost Slash Commands integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsMattermostSlashCommands

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsMicrosoftTeams

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsMicrosoftTeams(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsMicrosoftTeams PutApiV4ProjectsIdIntegrationsMicrosoftTeams) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Microsoft Teams integration Set Microsoft Teams integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsMicrosoftTeams

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsMockCi

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsMockCi(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsMockCi PutApiV4ProjectsIdIntegrationsMockCi) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Mock Ci integration Set Mock Ci integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsMockCi

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsMockMonitoring

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsMockMonitoring(ctx context.Context, id string) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Mock Monitoring integration Set Mock Monitoring integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPackagist

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPackagist(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsPackagist PutApiV4ProjectsIdIntegrationsPackagist) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Packagist integration Set Packagist integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsPackagist

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPhorge

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPhorge(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsPhorge PutApiV4ProjectsIdIntegrationsPhorge) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Phorge integration Set Phorge integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsPhorge

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPipelinesEmail

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPipelinesEmail(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsPipelinesEmail PutApiV4ProjectsIdIntegrationsPipelinesEmail) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Pipelines Email integration Set Pipelines Email integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsPipelinesEmail

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPivotaltracker

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPivotaltracker(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsPivotaltracker PutApiV4ProjectsIdIntegrationsPivotaltracker) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Pivotaltracker integration Set Pivotaltracker integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsPivotaltracker

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPrometheus

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPrometheus(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsPrometheus PutApiV4ProjectsIdIntegrationsPrometheus) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Prometheus integration Set Prometheus integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsPrometheus

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPumble

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPumble(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsPumble PutApiV4ProjectsIdIntegrationsPumble) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Pumble integration Set Pumble integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsPumble

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPushover

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsPushover(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsPushover PutApiV4ProjectsIdIntegrationsPushover) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Pushover integration Set Pushover integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsPushover

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsRedmine

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsRedmine(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsRedmine PutApiV4ProjectsIdIntegrationsRedmine) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Redmine integration Set Redmine integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsRedmine

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsSlack

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsSlack(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsSlack PutApiV4ProjectsIdIntegrationsSlack) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Slack integration Set Slack integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsSlack

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsSlackSlashCommands

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsSlackSlashCommands(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsSlackSlashCommands PutApiV4ProjectsIdIntegrationsSlackSlashCommands) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Slack Slash Commands integration Set Slack Slash Commands integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsSlackSlashCommands

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsSquashTm

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsSquashTm(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsSquashTm PutApiV4ProjectsIdIntegrationsSquashTm) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Squash Tm integration Set Squash Tm integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsSquashTm

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsTeamcity

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsTeamcity(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsTeamcity PutApiV4ProjectsIdIntegrationsTeamcity) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Teamcity integration Set Teamcity integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsTeamcity

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsTelegram

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsTelegram(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsTelegram PutApiV4ProjectsIdIntegrationsTelegram) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Telegram integration Set Telegram integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsTelegram

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsUnifyCircuit

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsUnifyCircuit(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsUnifyCircuit PutApiV4ProjectsIdIntegrationsUnifyCircuit) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Unify Circuit integration Set Unify Circuit integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsUnifyCircuit

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsWebexTeams

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsWebexTeams(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsWebexTeams PutApiV4ProjectsIdIntegrationsWebexTeams) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Webex Teams integration Set Webex Teams integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsWebexTeams

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsYoutrack

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsYoutrack(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsYoutrack PutApiV4ProjectsIdIntegrationsYoutrack) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Youtrack integration Set Youtrack integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsYoutrack

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdIntegrationsZentao

func (a *IntegrationsApiService) PutApiV4ProjectsIdIntegrationsZentao(ctx context.Context, id string, putApiV4ProjectsIdIntegrationsZentao PutApiV4ProjectsIdIntegrationsZentao) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Zentao integration Set Zentao integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdIntegrationsZentao

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesAppleAppStore

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesAppleAppStore(ctx context.Context, id string, putApiV4ProjectsIdServicesAppleAppStore PutApiV4ProjectsIdServicesAppleAppStore) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Apple App Store integration Set Apple App Store integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesAppleAppStore

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesAsana

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesAsana(ctx context.Context, id string, putApiV4ProjectsIdServicesAsana PutApiV4ProjectsIdServicesAsana) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Asana integration Set Asana integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesAsana

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesAssembla

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesAssembla(ctx context.Context, id string, putApiV4ProjectsIdServicesAssembla PutApiV4ProjectsIdServicesAssembla) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Assembla integration Set Assembla integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesAssembla

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesBamboo

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesBamboo(ctx context.Context, id string, putApiV4ProjectsIdServicesBamboo PutApiV4ProjectsIdServicesBamboo) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Bamboo integration Set Bamboo integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesBamboo

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesBugzilla

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesBugzilla(ctx context.Context, id string, putApiV4ProjectsIdServicesBugzilla PutApiV4ProjectsIdServicesBugzilla) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Bugzilla integration Set Bugzilla integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesBugzilla

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesBuildkite

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesBuildkite(ctx context.Context, id string, putApiV4ProjectsIdServicesBuildkite PutApiV4ProjectsIdServicesBuildkite) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Buildkite integration Set Buildkite integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesBuildkite

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesCampfire

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesCampfire(ctx context.Context, id string, putApiV4ProjectsIdServicesCampfire PutApiV4ProjectsIdServicesCampfire) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Campfire integration Set Campfire integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesCampfire

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesClickup

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesClickup(ctx context.Context, id string, putApiV4ProjectsIdServicesClickup PutApiV4ProjectsIdServicesClickup) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Clickup integration Set Clickup integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesClickup

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesConfluence

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesConfluence(ctx context.Context, id string, putApiV4ProjectsIdServicesConfluence PutApiV4ProjectsIdServicesConfluence) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Confluence integration Set Confluence integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesConfluence

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesCustomIssueTracker

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesCustomIssueTracker(ctx context.Context, id string, putApiV4ProjectsIdServicesCustomIssueTracker PutApiV4ProjectsIdServicesCustomIssueTracker) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Custom Issue Tracker integration Set Custom Issue Tracker integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesCustomIssueTracker

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesDatadog

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesDatadog(ctx context.Context, id string, putApiV4ProjectsIdServicesDatadog PutApiV4ProjectsIdServicesDatadog) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Datadog integration Set Datadog integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesDatadog

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesDiffblueCover

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesDiffblueCover(ctx context.Context, id string, putApiV4ProjectsIdServicesDiffblueCover PutApiV4ProjectsIdServicesDiffblueCover) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Diffblue Cover integration Set Diffblue Cover integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesDiffblueCover

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesDiscord

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesDiscord(ctx context.Context, id string, putApiV4ProjectsIdServicesDiscord PutApiV4ProjectsIdServicesDiscord) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Discord integration Set Discord integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesDiscord

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesDroneCi

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesDroneCi(ctx context.Context, id string, putApiV4ProjectsIdServicesDroneCi PutApiV4ProjectsIdServicesDroneCi) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Drone Ci integration Set Drone Ci integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesDroneCi

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesEmailsOnPush

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesEmailsOnPush(ctx context.Context, id string, putApiV4ProjectsIdServicesEmailsOnPush PutApiV4ProjectsIdServicesEmailsOnPush) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Emails On Push integration Set Emails On Push integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesEmailsOnPush

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesEwm

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesEwm(ctx context.Context, id string, putApiV4ProjectsIdServicesEwm PutApiV4ProjectsIdServicesEwm) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Ewm integration Set Ewm integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesEwm

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesExternalWiki

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesExternalWiki(ctx context.Context, id string, putApiV4ProjectsIdServicesExternalWiki PutApiV4ProjectsIdServicesExternalWiki) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit External Wiki integration Set External Wiki integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesExternalWiki

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesGitGuardian

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesGitGuardian(ctx context.Context, id string, putApiV4ProjectsIdServicesGitGuardian PutApiV4ProjectsIdServicesGitGuardian) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Git Guardian integration Set Git Guardian integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesGitGuardian

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesGithub

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesGithub(ctx context.Context, id string, putApiV4ProjectsIdServicesGithub PutApiV4ProjectsIdServicesGithub) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Github integration Set Github integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesGithub

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesGitlabSlackApplication

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesGitlabSlackApplication(ctx context.Context, id string, putApiV4ProjectsIdServicesGitlabSlackApplication PutApiV4ProjectsIdServicesGitlabSlackApplication) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Gitlab Slack Application integration Set Gitlab Slack Application integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesGitlabSlackApplication

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesGoogleCloudPlatformArtifactRegistry

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesGoogleCloudPlatformArtifactRegistry(ctx context.Context, id string, putApiV4ProjectsIdServicesGoogleCloudPlatformArtifactRegistry PutApiV4ProjectsIdServicesGoogleCloudPlatformArtifactRegistry) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Google Cloud Platform Artifact Registry integration Set Google Cloud Platform Artifact Registry integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesGoogleCloudPlatformArtifactRegistry

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesGoogleCloudPlatformWorkloadIdentityFederation

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesGoogleCloudPlatformWorkloadIdentityFederation(ctx context.Context, id string, putApiV4ProjectsIdServicesGoogleCloudPlatformWorkloadIdentityFederation PutApiV4ProjectsIdServicesGoogleCloudPlatformWorkloadIdentityFederation) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Google Cloud Platform Workload Identity Federation integration Set Google Cloud Platform Workload Identity Federation integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesGoogleCloudPlatformWorkloadIdentityFederation

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesGooglePlay

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesGooglePlay(ctx context.Context, id string, putApiV4ProjectsIdServicesGooglePlay PutApiV4ProjectsIdServicesGooglePlay) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Google Play integration Set Google Play integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesGooglePlay

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesHangoutsChat

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesHangoutsChat(ctx context.Context, id string, putApiV4ProjectsIdServicesHangoutsChat PutApiV4ProjectsIdServicesHangoutsChat) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Hangouts Chat integration Set Hangouts Chat integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesHangoutsChat

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesHarbor

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesHarbor(ctx context.Context, id string, putApiV4ProjectsIdServicesHarbor PutApiV4ProjectsIdServicesHarbor) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Harbor integration Set Harbor integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesHarbor

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesIrker

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesIrker(ctx context.Context, id string, putApiV4ProjectsIdServicesIrker PutApiV4ProjectsIdServicesIrker) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Irker integration Set Irker integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesIrker

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesJenkins

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesJenkins(ctx context.Context, id string, putApiV4ProjectsIdServicesJenkins PutApiV4ProjectsIdServicesJenkins) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Jenkins integration Set Jenkins integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesJenkins

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesJira

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesJira(ctx context.Context, id string, putApiV4ProjectsIdServicesJira PutApiV4ProjectsIdServicesJira) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Jira integration Set Jira integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesJira

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesMattermost

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesMattermost(ctx context.Context, id string, putApiV4ProjectsIdServicesMattermost PutApiV4ProjectsIdServicesMattermost) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Mattermost integration Set Mattermost integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesMattermost

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesMattermostSlashCommands

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesMattermostSlashCommands(ctx context.Context, id string, putApiV4ProjectsIdServicesMattermostSlashCommands PutApiV4ProjectsIdServicesMattermostSlashCommands) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Mattermost Slash Commands integration Set Mattermost Slash Commands integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesMattermostSlashCommands

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesMicrosoftTeams

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesMicrosoftTeams(ctx context.Context, id string, putApiV4ProjectsIdServicesMicrosoftTeams PutApiV4ProjectsIdServicesMicrosoftTeams) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Microsoft Teams integration Set Microsoft Teams integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesMicrosoftTeams

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesMockCi

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesMockCi(ctx context.Context, id string, putApiV4ProjectsIdServicesMockCi PutApiV4ProjectsIdServicesMockCi) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Mock Ci integration Set Mock Ci integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesMockCi

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesMockMonitoring

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesMockMonitoring(ctx context.Context, id string) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Mock Monitoring integration Set Mock Monitoring integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesPackagist

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesPackagist(ctx context.Context, id string, putApiV4ProjectsIdServicesPackagist PutApiV4ProjectsIdServicesPackagist) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Packagist integration Set Packagist integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesPackagist

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesPhorge

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesPhorge(ctx context.Context, id string, putApiV4ProjectsIdServicesPhorge PutApiV4ProjectsIdServicesPhorge) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Phorge integration Set Phorge integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesPhorge

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesPipelinesEmail

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesPipelinesEmail(ctx context.Context, id string, putApiV4ProjectsIdServicesPipelinesEmail PutApiV4ProjectsIdServicesPipelinesEmail) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Pipelines Email integration Set Pipelines Email integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesPipelinesEmail

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesPivotaltracker

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesPivotaltracker(ctx context.Context, id string, putApiV4ProjectsIdServicesPivotaltracker PutApiV4ProjectsIdServicesPivotaltracker) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Pivotaltracker integration Set Pivotaltracker integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesPivotaltracker

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesPrometheus

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesPrometheus(ctx context.Context, id string, putApiV4ProjectsIdServicesPrometheus PutApiV4ProjectsIdServicesPrometheus) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Prometheus integration Set Prometheus integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesPrometheus

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesPumble

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesPumble(ctx context.Context, id string, putApiV4ProjectsIdServicesPumble PutApiV4ProjectsIdServicesPumble) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Pumble integration Set Pumble integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesPumble

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesPushover

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesPushover(ctx context.Context, id string, putApiV4ProjectsIdServicesPushover PutApiV4ProjectsIdServicesPushover) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Pushover integration Set Pushover integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesPushover

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesRedmine

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesRedmine(ctx context.Context, id string, putApiV4ProjectsIdServicesRedmine PutApiV4ProjectsIdServicesRedmine) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Redmine integration Set Redmine integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesRedmine

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesSlack

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesSlack(ctx context.Context, id string, putApiV4ProjectsIdServicesSlack PutApiV4ProjectsIdServicesSlack) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Slack integration Set Slack integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesSlack

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesSlackSlashCommands

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesSlackSlashCommands(ctx context.Context, id string, putApiV4ProjectsIdServicesSlackSlashCommands PutApiV4ProjectsIdServicesSlackSlashCommands) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Slack Slash Commands integration Set Slack Slash Commands integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesSlackSlashCommands

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesSquashTm

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesSquashTm(ctx context.Context, id string, putApiV4ProjectsIdServicesSquashTm PutApiV4ProjectsIdServicesSquashTm) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Squash Tm integration Set Squash Tm integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesSquashTm

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesTeamcity

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesTeamcity(ctx context.Context, id string, putApiV4ProjectsIdServicesTeamcity PutApiV4ProjectsIdServicesTeamcity) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Teamcity integration Set Teamcity integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesTeamcity

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesTelegram

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesTelegram(ctx context.Context, id string, putApiV4ProjectsIdServicesTelegram PutApiV4ProjectsIdServicesTelegram) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Telegram integration Set Telegram integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesTelegram

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesUnifyCircuit

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesUnifyCircuit(ctx context.Context, id string, putApiV4ProjectsIdServicesUnifyCircuit PutApiV4ProjectsIdServicesUnifyCircuit) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Unify Circuit integration Set Unify Circuit integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesUnifyCircuit

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesWebexTeams

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesWebexTeams(ctx context.Context, id string, putApiV4ProjectsIdServicesWebexTeams PutApiV4ProjectsIdServicesWebexTeams) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Webex Teams integration Set Webex Teams integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesWebexTeams

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesYoutrack

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesYoutrack(ctx context.Context, id string, putApiV4ProjectsIdServicesYoutrack PutApiV4ProjectsIdServicesYoutrack) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Youtrack integration Set Youtrack integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesYoutrack

@return ApiEntitiesProjectIntegrationBasic

func (*IntegrationsApiService) PutApiV4ProjectsIdServicesZentao

func (a *IntegrationsApiService) PutApiV4ProjectsIdServicesZentao(ctx context.Context, id string, putApiV4ProjectsIdServicesZentao PutApiV4ProjectsIdServicesZentao) (ApiEntitiesProjectIntegrationBasic, *http.Response, error)

IntegrationsApiService Create/Edit Zentao integration Set Zentao integration for a project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdServicesZentao

@return ApiEntitiesProjectIntegrationBasic

type InvitationsApiGetApiV4GroupsIdInvitationsOpts

type InvitationsApiGetApiV4GroupsIdInvitationsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Query   optional.String
}

type InvitationsApiGetApiV4ProjectsIdInvitationsOpts

type InvitationsApiGetApiV4ProjectsIdInvitationsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Query   optional.String
}

type InvitationsApiService

type InvitationsApiService service

func (*InvitationsApiService) DeleteApiV4GroupsIdInvitationsEmail

func (a *InvitationsApiService) DeleteApiV4GroupsIdInvitationsEmail(ctx context.Context, id string, email string) (*http.Response, error)

InvitationsApiService Removes an invitation from a group or project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID
  • @param email The email address of the invitation

func (*InvitationsApiService) DeleteApiV4ProjectsIdInvitationsEmail

func (a *InvitationsApiService) DeleteApiV4ProjectsIdInvitationsEmail(ctx context.Context, id string, email string) (*http.Response, error)

InvitationsApiService Removes an invitation from a group or project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param email The email address of the invitation

func (*InvitationsApiService) GetApiV4GroupsIdInvitations

func (a *InvitationsApiService) GetApiV4GroupsIdInvitations(ctx context.Context, id string, localVarOptionals *InvitationsApiGetApiV4GroupsIdInvitationsOpts) ([]ApiEntitiesInvitation, *http.Response, error)

func (*InvitationsApiService) GetApiV4ProjectsIdInvitations

func (a *InvitationsApiService) GetApiV4ProjectsIdInvitations(ctx context.Context, id string, localVarOptionals *InvitationsApiGetApiV4ProjectsIdInvitationsOpts) ([]ApiEntitiesInvitation, *http.Response, error)

func (*InvitationsApiService) PostApiV4GroupsIdInvitations

func (a *InvitationsApiService) PostApiV4GroupsIdInvitations(ctx context.Context, id string, postApiV4GroupsIdInvitations PostApiV4GroupsIdInvitations) (ApiEntitiesInvitation, *http.Response, error)

InvitationsApiService Invite non-members by email address to a group or project. This feature was introduced in GitLab 13.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID
  • @param postApiV4GroupsIdInvitations

@return ApiEntitiesInvitation

func (*InvitationsApiService) PostApiV4ProjectsIdInvitations

func (a *InvitationsApiService) PostApiV4ProjectsIdInvitations(ctx context.Context, id string, postApiV4ProjectsIdInvitations PostApiV4ProjectsIdInvitations) (ApiEntitiesInvitation, *http.Response, error)

InvitationsApiService Invite non-members by email address to a group or project. This feature was introduced in GitLab 13.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param postApiV4ProjectsIdInvitations

@return ApiEntitiesInvitation

func (*InvitationsApiService) PutApiV4GroupsIdInvitationsEmail

func (a *InvitationsApiService) PutApiV4GroupsIdInvitationsEmail(ctx context.Context, id string, email string, putApiV4GroupsIdInvitationsEmail PutApiV4GroupsIdInvitationsEmail) (ApiEntitiesInvitation, *http.Response, error)

InvitationsApiService Updates a group or project invitation.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID
  • @param email The email address of the invitation
  • @param putApiV4GroupsIdInvitationsEmail

@return ApiEntitiesInvitation

func (*InvitationsApiService) PutApiV4ProjectsIdInvitationsEmail

func (a *InvitationsApiService) PutApiV4ProjectsIdInvitationsEmail(ctx context.Context, id string, email string, putApiV4ProjectsIdInvitationsEmail PutApiV4ProjectsIdInvitationsEmail) (ApiEntitiesInvitation, *http.Response, error)

InvitationsApiService Updates a group or project invitation.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param email The email address of the invitation
  • @param putApiV4ProjectsIdInvitationsEmail

@return ApiEntitiesInvitation

type IssueLinksApiService

type IssueLinksApiService service

func (*IssueLinksApiService) DeleteApiV4ProjectsIdIssuesIssueIidLinksIssueLinkId

func (a *IssueLinksApiService) DeleteApiV4ProjectsIdIssuesIssueIidLinksIssueLinkId(ctx context.Context, id string, issueIid int32, issueLinkId string) (ApiEntitiesIssueLink, *http.Response, error)

IssueLinksApiService Delete an issue link Deletes an issue link, thus removes the two-way relationship.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param issueIid The internal ID of a project’s issue
  • @param issueLinkId The ID of an issue relationship

@return ApiEntitiesIssueLink

func (a *IssueLinksApiService) GetApiV4ProjectsIdIssuesIssueIidLinks(ctx context.Context, id string, issueIid int32) ([]ApiEntitiesRelatedIssue, *http.Response, error)

IssueLinksApiService List issue relations Get a list of a given issue’s linked issues, sorted by the relationship creation datetime (ascending).Issues are filtered according to the user authorizations.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param issueIid The internal ID of a project’s issue

@return []ApiEntitiesRelatedIssue

func (*IssueLinksApiService) GetApiV4ProjectsIdIssuesIssueIidLinksIssueLinkId

func (a *IssueLinksApiService) GetApiV4ProjectsIdIssuesIssueIidLinksIssueLinkId(ctx context.Context, id string, issueIid int32, issueLinkId string) (ApiEntitiesIssueLink, *http.Response, error)

IssueLinksApiService Get an issue link Gets details about an issue link. This feature was introduced in GitLab 15.1.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param issueIid The internal ID of a project’s issue
  • @param issueLinkId ID of an issue relationship

@return ApiEntitiesIssueLink

func (a *IssueLinksApiService) PostApiV4ProjectsIdIssuesIssueIidLinks(ctx context.Context, id string, issueIid int32, postApiV4ProjectsIdIssuesIssueIidLinks PostApiV4ProjectsIdIssuesIssueIidLinks) (ApiEntitiesIssueLink, *http.Response, error)

IssueLinksApiService Create an issue link Creates a two-way relation between two issues.The user must be allowed to update both issues to succeed.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param issueIid The internal ID of a project’s issue
  • @param postApiV4ProjectsIdIssuesIssueIidLinks

@return ApiEntitiesIssueLink

type JiraConnectSubscriptionsApiService

type JiraConnectSubscriptionsApiService service

func (*JiraConnectSubscriptionsApiService) PostApiV4IntegrationsJiraConnectSubscriptions

func (a *JiraConnectSubscriptionsApiService) PostApiV4IntegrationsJiraConnectSubscriptions(ctx context.Context, postApiV4IntegrationsJiraConnectSubscriptions PostApiV4IntegrationsJiraConnectSubscriptions) (ApiEntitiesBasicSuccess, *http.Response, error)

JiraConnectSubscriptionsApiService Subscribe a namespace to a JiraConnectInstallation Subscribes the namespace to the JiraConnectInstallation

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4IntegrationsJiraConnectSubscriptions

@return ApiEntitiesBasicSuccess

type JobApiService

type JobApiService service

func (*JobApiService) GetApiV4Job

func (a *JobApiService) GetApiV4Job(ctx context.Context) (ApiEntitiesCiJob, *http.Response, error)

JobApiService Get current job using job token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesCiJob

func (*JobApiService) GetApiV4JobAllowedAgents

func (a *JobApiService) GetApiV4JobAllowedAgents(ctx context.Context) (ApiEntitiesCiJob, *http.Response, error)

JobApiService Get current agents Retrieves a list of agents for the given job token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesCiJob

type JobsApiGetApiV4JobsIdArtifactsOpts

type JobsApiGetApiV4JobsIdArtifactsOpts struct {
	Token          optional.String
	DirectDownload optional.Bool
}

type JobsApiGetApiV4RunnersIdJobsOpts

type JobsApiGetApiV4RunnersIdJobsOpts struct {
	SystemId optional.String
	Status   optional.String
	OrderBy  optional.String
	Sort     optional.String
	Cursor   optional.String
	Page     optional.Int32
	PerPage  optional.Int32
}

type JobsApiService

type JobsApiService service

func (*JobsApiService) GetApiV4JobsIdArtifacts

func (a *JobsApiService) GetApiV4JobsIdArtifacts(ctx context.Context, id int32, localVarOptionals *JobsApiGetApiV4JobsIdArtifactsOpts) (*http.Response, error)

func (*JobsApiService) GetApiV4RunnersIdJobs

func (a *JobsApiService) GetApiV4RunnersIdJobs(ctx context.Context, id int32, localVarOptionals *JobsApiGetApiV4RunnersIdJobsOpts) (ApiEntitiesCiJobBasicWithProject, *http.Response, error)

func (*JobsApiService) PatchApiV4JobsIdTrace

func (a *JobsApiService) PatchApiV4JobsIdTrace(ctx context.Context, id int32, patchApiV4JobsIdTrace PatchApiV4JobsIdTrace) (*http.Response, error)

JobsApiService Append a patch to the job trace

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id Job's ID
  • @param patchApiV4JobsIdTrace

func (*JobsApiService) PostApiV4JobsIdArtifacts

func (a *JobsApiService) PostApiV4JobsIdArtifacts(ctx context.Context, id int32, postApiV4JobsIdArtifacts PostApiV4JobsIdArtifacts) (*http.Response, error)

JobsApiService Upload a job artifact

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id Job's ID
  • @param postApiV4JobsIdArtifacts

func (*JobsApiService) PostApiV4JobsIdArtifactsAuthorize

func (a *JobsApiService) PostApiV4JobsIdArtifactsAuthorize(ctx context.Context, id int32, postApiV4JobsIdArtifactsAuthorize PostApiV4JobsIdArtifactsAuthorize) (*http.Response, error)

JobsApiService Authorize uploading job artifact

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id Job's ID
  • @param postApiV4JobsIdArtifactsAuthorize

func (*JobsApiService) PostApiV4JobsRequest

func (a *JobsApiService) PostApiV4JobsRequest(ctx context.Context, postApiV4JobsRequest PostApiV4JobsRequest) (*http.Response, error)

JobsApiService Request a job

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4JobsRequest

func (*JobsApiService) PutApiV4JobsId

func (a *JobsApiService) PutApiV4JobsId(ctx context.Context, id int32, putApiV4JobsId PutApiV4JobsId) (*http.Response, error)

JobsApiService Update a job

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id Job's ID
  • @param putApiV4JobsId

type KeysApiService

type KeysApiService service

func (*KeysApiService) GetApiV4Keys

func (a *KeysApiService) GetApiV4Keys(ctx context.Context, fingerprint string) (ApiEntitiesUserWithAdmin, *http.Response, error)

KeysApiService Get user by fingerprint of SSH key You can search for a user that owns a specific SSH key. Note only administrators can lookup SSH key\\ with the fingerprint of an SSH key

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param fingerprint The fingerprint of an SSH key

@return ApiEntitiesUserWithAdmin

func (*KeysApiService) GetApiV4KeysId

KeysApiService Get single ssh key by id. Only available to admin users Get SSH key with user by ID of an SSH key. Note only administrators can lookup SSH key with user by ID\\ of an SSH key

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of an SSH key

@return ApiEntitiesSshKeyWithUser

type MarkdownApiService

type MarkdownApiService service

func (*MarkdownApiService) PostApiV4Markdown

func (a *MarkdownApiService) PostApiV4Markdown(ctx context.Context, postApiV4Markdown PostApiV4Markdown) (ApiEntitiesMarkdown, *http.Response, error)

MarkdownApiService Render an arbitrary Markdown document This feature was introduced in GitLab 11.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4Markdown

@return ApiEntitiesMarkdown

type MavenPackagesApiService

type MavenPackagesApiService service

func (*MavenPackagesApiService) GetApiV4GroupsIdPackagesMavenpathFileName

func (a *MavenPackagesApiService) GetApiV4GroupsIdPackagesMavenpathFileName(ctx context.Context, id string, path string, fileName string) (*http.Response, error)

MavenPackagesApiService Download the maven package file at a group level This feature was introduced in GitLab 11.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group
  • @param path Package path
  • @param fileName Package file name

func (*MavenPackagesApiService) GetApiV4PackagesMavenpathFileName

func (a *MavenPackagesApiService) GetApiV4PackagesMavenpathFileName(ctx context.Context, path string, fileName string) (*http.Response, error)

MavenPackagesApiService Download the maven package file at instance level This feature was introduced in GitLab 11.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param path Package path
  • @param fileName Package file name

func (*MavenPackagesApiService) GetApiV4ProjectsIdPackagesMavenpathFileName

func (a *MavenPackagesApiService) GetApiV4ProjectsIdPackagesMavenpathFileName(ctx context.Context, id string, path string, fileName string) (*http.Response, error)

MavenPackagesApiService Download the maven package file at a project level This feature was introduced in GitLab 11.3

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param path Package path
  • @param fileName Package file name

func (*MavenPackagesApiService) PutApiV4ProjectsIdPackagesMavenpathFileName

func (a *MavenPackagesApiService) PutApiV4ProjectsIdPackagesMavenpathFileName(ctx context.Context, id string, fileName string, putApiV4ProjectsIdPackagesMavenpathFileName PutApiV4ProjectsIdPackagesMavenpathFileName) (*http.Response, error)

MavenPackagesApiService Upload the maven package file This feature was introduced in GitLab 11.3

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param fileName Package file name
  • @param putApiV4ProjectsIdPackagesMavenpathFileName

func (*MavenPackagesApiService) PutApiV4ProjectsIdPackagesMavenpathFileNameAuthorize

func (a *MavenPackagesApiService) PutApiV4ProjectsIdPackagesMavenpathFileNameAuthorize(ctx context.Context, id string, fileName string, putApiV4ProjectsIdPackagesMavenpathFileNameAuthorize PutApiV4ProjectsIdPackagesMavenpathFileNameAuthorize) (*http.Response, error)

MavenPackagesApiService Workhorse authorize the maven package file upload This feature was introduced in GitLab 11.3

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param fileName Package file name
  • @param putApiV4ProjectsIdPackagesMavenpathFileNameAuthorize

type MembersApiDeleteApiV4GroupsIdMembersUserIdOpts

type MembersApiDeleteApiV4GroupsIdMembersUserIdOpts struct {
	SkipSubresources  optional.Bool
	UnassignIssuables optional.Bool
}

type MembersApiDeleteApiV4ProjectsIdMembersUserIdOpts

type MembersApiDeleteApiV4ProjectsIdMembersUserIdOpts struct {
	SkipSubresources  optional.Bool
	UnassignIssuables optional.Bool
}

type MembersApiGetApiV4GroupsIdMembersAllOpts

type MembersApiGetApiV4GroupsIdMembersAllOpts struct {
	Query        optional.String
	UserIds      optional.Interface
	ShowSeatInfo optional.Bool
	State        optional.String
	Page         optional.Int32
	PerPage      optional.Int32
}

type MembersApiGetApiV4GroupsIdMembersOpts

type MembersApiGetApiV4GroupsIdMembersOpts struct {
	Query            optional.String
	UserIds          optional.Interface
	SkipUsers        optional.Interface
	ShowSeatInfo     optional.Bool
	WithSamlIdentity optional.Bool
	Page             optional.Int32
	PerPage          optional.Int32
}

type MembersApiGetApiV4ProjectsIdMembersAllOpts

type MembersApiGetApiV4ProjectsIdMembersAllOpts struct {
	Query        optional.String
	UserIds      optional.Interface
	ShowSeatInfo optional.Bool
	State        optional.String
	Page         optional.Int32
	PerPage      optional.Int32
}

type MembersApiGetApiV4ProjectsIdMembersOpts

type MembersApiGetApiV4ProjectsIdMembersOpts struct {
	Query            optional.String
	UserIds          optional.Interface
	SkipUsers        optional.Interface
	ShowSeatInfo     optional.Bool
	WithSamlIdentity optional.Bool
	Page             optional.Int32
	PerPage          optional.Int32
}

type MembersApiService

type MembersApiService service

func (*MembersApiService) DeleteApiV4GroupsIdMembersUserId

func (a *MembersApiService) DeleteApiV4GroupsIdMembersUserId(ctx context.Context, id string, userId int32, localVarOptionals *MembersApiDeleteApiV4GroupsIdMembersUserIdOpts) (*http.Response, error)

func (*MembersApiService) DeleteApiV4ProjectsIdMembersUserId

func (a *MembersApiService) DeleteApiV4ProjectsIdMembersUserId(ctx context.Context, id string, userId int32, localVarOptionals *MembersApiDeleteApiV4ProjectsIdMembersUserIdOpts) (*http.Response, error)

func (*MembersApiService) GetApiV4GroupsIdMembers

func (a *MembersApiService) GetApiV4GroupsIdMembers(ctx context.Context, id string, localVarOptionals *MembersApiGetApiV4GroupsIdMembersOpts) ([]ApiEntitiesMember, *http.Response, error)

func (*MembersApiService) GetApiV4GroupsIdMembersAll

func (a *MembersApiService) GetApiV4GroupsIdMembersAll(ctx context.Context, id string, localVarOptionals *MembersApiGetApiV4GroupsIdMembersAllOpts) ([]ApiEntitiesMember, *http.Response, error)

func (*MembersApiService) GetApiV4GroupsIdMembersAllUserId

func (a *MembersApiService) GetApiV4GroupsIdMembersAllUserId(ctx context.Context, id string, userId int32) (ApiEntitiesMember, *http.Response, error)

MembersApiService Gets a member of a group or project, including those who gained membership through ancestor group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID
  • @param userId The user ID of the member

@return ApiEntitiesMember

func (*MembersApiService) GetApiV4GroupsIdMembersUserId

func (a *MembersApiService) GetApiV4GroupsIdMembersUserId(ctx context.Context, id string, userId int32) (ApiEntitiesMember, *http.Response, error)

MembersApiService Gets a member of a group or project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID
  • @param userId The user ID of the member

@return ApiEntitiesMember

func (*MembersApiService) GetApiV4ProjectsIdMembers

func (a *MembersApiService) GetApiV4ProjectsIdMembers(ctx context.Context, id string, localVarOptionals *MembersApiGetApiV4ProjectsIdMembersOpts) ([]ApiEntitiesMember, *http.Response, error)

func (*MembersApiService) GetApiV4ProjectsIdMembersAll

func (a *MembersApiService) GetApiV4ProjectsIdMembersAll(ctx context.Context, id string, localVarOptionals *MembersApiGetApiV4ProjectsIdMembersAllOpts) ([]ApiEntitiesMember, *http.Response, error)

func (*MembersApiService) GetApiV4ProjectsIdMembersAllUserId

func (a *MembersApiService) GetApiV4ProjectsIdMembersAllUserId(ctx context.Context, id string, userId int32) (ApiEntitiesMember, *http.Response, error)

MembersApiService Gets a member of a group or project, including those who gained membership through ancestor group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param userId The user ID of the member

@return ApiEntitiesMember

func (*MembersApiService) GetApiV4ProjectsIdMembersUserId

func (a *MembersApiService) GetApiV4ProjectsIdMembersUserId(ctx context.Context, id string, userId int32) (ApiEntitiesMember, *http.Response, error)

MembersApiService Gets a member of a group or project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param userId The user ID of the member

@return ApiEntitiesMember

func (*MembersApiService) PostApiV4GroupsIdMembers

func (a *MembersApiService) PostApiV4GroupsIdMembers(ctx context.Context, id string, postApiV4GroupsIdMembers PostApiV4GroupsIdMembers) (ApiEntitiesMember, *http.Response, error)

MembersApiService Adds a member to a group or project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID
  • @param postApiV4GroupsIdMembers

@return ApiEntitiesMember

func (*MembersApiService) PostApiV4ProjectsIdMembers

func (a *MembersApiService) PostApiV4ProjectsIdMembers(ctx context.Context, id string, postApiV4ProjectsIdMembers PostApiV4ProjectsIdMembers) (ApiEntitiesMember, *http.Response, error)

MembersApiService Adds a member to a group or project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param postApiV4ProjectsIdMembers

@return ApiEntitiesMember

func (*MembersApiService) PutApiV4GroupsIdMembersUserId

func (a *MembersApiService) PutApiV4GroupsIdMembersUserId(ctx context.Context, id string, userId int32, putApiV4GroupsIdMembersUserId PutApiV4GroupsIdMembersUserId) (ApiEntitiesMember, *http.Response, error)

MembersApiService Updates a member of a group or project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID
  • @param userId The user ID of the new member
  • @param putApiV4GroupsIdMembersUserId

@return ApiEntitiesMember

func (*MembersApiService) PutApiV4ProjectsIdMembersUserId

func (a *MembersApiService) PutApiV4ProjectsIdMembersUserId(ctx context.Context, id string, userId int32, putApiV4ProjectsIdMembersUserId PutApiV4ProjectsIdMembersUserId) (ApiEntitiesMember, *http.Response, error)

MembersApiService Updates a member of a group or project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param userId The user ID of the new member
  • @param putApiV4ProjectsIdMembersUserId

@return ApiEntitiesMember

type MergeRequestsApiGetApiV4GroupsIdMergeRequestsOpts

type MergeRequestsApiGetApiV4GroupsIdMergeRequestsOpts struct {
	AuthorId               optional.Int32
	AuthorUsername         optional.String
	AssigneeId             optional.Int32
	AssigneeUsername       optional.Interface
	ReviewerUsername       optional.String
	Labels                 optional.Interface
	Milestone              optional.String
	MyReactionEmoji        optional.String
	ReviewerId             optional.Int32
	State                  optional.String
	OrderBy                optional.String
	Sort                   optional.String
	WithLabelsDetails      optional.Bool
	WithMergeStatusRecheck optional.Bool
	CreatedAfter           optional.Time
	CreatedBefore          optional.Time
	UpdatedAfter           optional.Time
	UpdatedBefore          optional.Time
	View                   optional.String
	Scope                  optional.String
	SourceBranch           optional.String
	SourceProjectId        optional.Int32
	TargetBranch           optional.String
	Search                 optional.String
	In                     optional.String
	Wip                    optional.String
	NotAuthorId            optional.Int32
	NotAuthorUsername      optional.String
	NotAssigneeId          optional.Int32
	NotAssigneeUsername    optional.Interface
	NotReviewerUsername    optional.String
	NotLabels              optional.Interface
	NotMilestone           optional.String
	NotMyReactionEmoji     optional.String
	NotReviewerId          optional.Int32
	DeployedBefore         optional.String
	DeployedAfter          optional.String
	Environment            optional.String
	Approved               optional.String
	MergeUserId            optional.Int32
	MergeUserUsername      optional.String
	ApproverIds            optional.String
	ApprovedByIds          optional.String
	ApprovedByUsernames    optional.String
	Page                   optional.Int32
	PerPage                optional.Int32
	NonArchived            optional.Bool
}

type MergeRequestsApiGetApiV4MergeRequestsOpts

type MergeRequestsApiGetApiV4MergeRequestsOpts struct {
	AuthorId               optional.Int32
	AuthorUsername         optional.String
	AssigneeId             optional.Int32
	AssigneeUsername       optional.Interface
	ReviewerUsername       optional.String
	Labels                 optional.Interface
	Milestone              optional.String
	MyReactionEmoji        optional.String
	ReviewerId             optional.Int32
	State                  optional.String
	OrderBy                optional.String
	Sort                   optional.String
	WithLabelsDetails      optional.Bool
	WithMergeStatusRecheck optional.Bool
	CreatedAfter           optional.Time
	CreatedBefore          optional.Time
	UpdatedAfter           optional.Time
	UpdatedBefore          optional.Time
	View                   optional.String
	Scope                  optional.String
	SourceBranch           optional.String
	SourceProjectId        optional.Int32
	TargetBranch           optional.String
	Search                 optional.String
	In                     optional.String
	Wip                    optional.String
	NotAuthorId            optional.Int32
	NotAuthorUsername      optional.String
	NotAssigneeId          optional.Int32
	NotAssigneeUsername    optional.Interface
	NotReviewerUsername    optional.String
	NotLabels              optional.Interface
	NotMilestone           optional.String
	NotMyReactionEmoji     optional.String
	NotReviewerId          optional.Int32
	DeployedBefore         optional.String
	DeployedAfter          optional.String
	Environment            optional.String
	Approved               optional.String
	MergeUserId            optional.Int32
	MergeUserUsername      optional.String
	ApproverIds            optional.String
	ApprovedByIds          optional.String
	ApprovedByUsernames    optional.String
	Page                   optional.Int32
	PerPage                optional.Int32
}

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidChangesOpts

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidChangesOpts struct {
	Unidiff optional.Bool
}

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidClosesIssuesOpts

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidClosesIssuesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidDiffsOpts

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidDiffsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Unidiff optional.Bool
}

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidOpts

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidOpts struct {
	RenderHtml                  optional.Bool
	IncludeDivergedCommitsCount optional.Bool
	IncludeRebaseInProgress     optional.Bool
}

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidVersionsOpts

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidVersionsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidVersionsVersionIdOpts

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidVersionsVersionIdOpts struct {
	Unidiff optional.Bool
}

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsOpts

type MergeRequestsApiGetApiV4ProjectsIdMergeRequestsOpts struct {
	AuthorId               optional.Int32
	AuthorUsername         optional.String
	AssigneeId             optional.Int32
	AssigneeUsername       optional.Interface
	ReviewerUsername       optional.String
	Labels                 optional.Interface
	Milestone              optional.String
	MyReactionEmoji        optional.String
	ReviewerId             optional.Int32
	State                  optional.String
	OrderBy                optional.String
	Sort                   optional.String
	WithLabelsDetails      optional.Bool
	WithMergeStatusRecheck optional.Bool
	CreatedAfter           optional.Time
	CreatedBefore          optional.Time
	UpdatedAfter           optional.Time
	UpdatedBefore          optional.Time
	View                   optional.String
	Scope                  optional.String
	SourceBranch           optional.String
	SourceProjectId        optional.Int32
	TargetBranch           optional.String
	Search                 optional.String
	In                     optional.String
	Wip                    optional.String
	NotAuthorId            optional.Int32
	NotAuthorUsername      optional.String
	NotAssigneeId          optional.Int32
	NotAssigneeUsername    optional.Interface
	NotReviewerUsername    optional.String
	NotLabels              optional.Interface
	NotMilestone           optional.String
	NotMyReactionEmoji     optional.String
	NotReviewerId          optional.Int32
	DeployedBefore         optional.String
	DeployedAfter          optional.String
	Environment            optional.String
	Approved               optional.String
	MergeUserId            optional.Int32
	MergeUserUsername      optional.String
	ApproverIds            optional.String
	ApprovedByIds          optional.String
	ApprovedByUsernames    optional.String
	Page                   optional.Int32
	PerPage                optional.Int32
	Iids                   optional.Interface
}

type MergeRequestsApiService

type MergeRequestsApiService service

func (*MergeRequestsApiService) DeleteApiV4ProjectsIdMergeRequestsMergeRequestIid

func (a *MergeRequestsApiService) DeleteApiV4ProjectsIdMergeRequestsMergeRequestIid(ctx context.Context, id string, mergeRequestIid int32) (*http.Response, error)

MergeRequestsApiService Delete a merge request Only for administrators and project owners. Deletes the merge request in question.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid The internal ID of the merge request.

func (*MergeRequestsApiService) DeleteApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits

func (a *MergeRequestsApiService) DeleteApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits(ctx context.Context, id string, commits []string, mergeRequestIid int32) (*http.Response, error)

MergeRequestsApiService Delete merge request context commits Delete a list of merge request context commits.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param commits The context commits’ SHA.
  • @param mergeRequestIid

func (*MergeRequestsApiService) GetApiV4GroupsIdMergeRequests

func (*MergeRequestsApiService) GetApiV4MergeRequests

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequests

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIid

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIid(ctx context.Context, id string, mergeRequestIid int32, localVarOptionals *MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidOpts) (ApiEntitiesMergeRequest, *http.Response, error)

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidChanges

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidChanges(ctx context.Context, id string, mergeRequestIid int32, localVarOptionals *MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidChangesOpts) (ApiEntitiesMergeRequestChanges, *http.Response, error)

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidClosesIssues

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidClosesIssues(ctx context.Context, id string, mergeRequestIid int32, localVarOptionals *MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidClosesIssuesOpts) (ApiEntitiesMrNote, *http.Response, error)

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidCommits

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidCommits(ctx context.Context, id string, mergeRequestIid int32) (ApiEntitiesCommit, *http.Response, error)

MergeRequestsApiService Get single merge request commits Get a list of merge request commits.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid

@return ApiEntitiesCommit

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits(ctx context.Context, id string, mergeRequestIid int32) (ApiEntitiesCommit, *http.Response, error)

MergeRequestsApiService List merge request context commits Get a list of merge request context commits.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid

@return ApiEntitiesCommit

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidDiffs

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidDiffs(ctx context.Context, id string, mergeRequestIid int32, localVarOptionals *MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidDiffsOpts) (ApiEntitiesDiff, *http.Response, error)

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidMergeRef

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidMergeRef(ctx context.Context, id string, mergeRequestIid int32) (*http.Response, error)

MergeRequestsApiService Returns the up to date merge-ref HEAD commit Returns the up to date merge-ref HEAD commit

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidParticipants

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidParticipants(ctx context.Context, id string, mergeRequestIid int32) (ApiEntitiesUserBasic, *http.Response, error)

MergeRequestsApiService Get single merge request participants Get a list of merge request participants.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid

@return ApiEntitiesUserBasic

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidPipelines

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidPipelines(ctx context.Context, id string, mergeRequestIid int32) (ApiEntitiesCiPipelineBasic, *http.Response, error)

MergeRequestsApiService Get single merge request pipelines Get a list of merge request pipelines.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid

@return ApiEntitiesCiPipelineBasic

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidReviewers

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidReviewers(ctx context.Context, id string, mergeRequestIid int32) (ApiEntitiesMergeRequestReviewer, *http.Response, error)

MergeRequestsApiService Get single merge request reviewers Get a list of merge request reviewers.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid

@return ApiEntitiesMergeRequestReviewer

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidTimeStats

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidTimeStats(ctx context.Context, id string, mergeRequestIid int32) (ApiEntitiesIssuableTimeStats, *http.Response, error)

MergeRequestsApiService Get time tracking stats Get time tracking stats

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid The internal ID of the merge_request

@return ApiEntitiesIssuableTimeStats

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidVersions

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidVersions(ctx context.Context, id string, mergeRequestIid int32, localVarOptionals *MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidVersionsOpts) ([]ApiEntitiesMergeRequestDiff, *http.Response, error)

func (*MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidVersionsVersionId

func (a *MergeRequestsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidVersionsVersionId(ctx context.Context, id string, mergeRequestIid int32, versionId int32, localVarOptionals *MergeRequestsApiGetApiV4ProjectsIdMergeRequestsMergeRequestIidVersionsVersionIdOpts) (ApiEntitiesMergeRequestDiffFull, *http.Response, error)

func (*MergeRequestsApiService) PostApiV4ProjectsIdMergeRequests

func (a *MergeRequestsApiService) PostApiV4ProjectsIdMergeRequests(ctx context.Context, id string, postApiV4ProjectsIdMergeRequests PostApiV4ProjectsIdMergeRequests) (ApiEntitiesMergeRequest, *http.Response, error)

MergeRequestsApiService Create merge request Create a new merge request.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param postApiV4ProjectsIdMergeRequests

@return ApiEntitiesMergeRequest

func (*MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTime

func (a *MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTime(ctx context.Context, id string, mergeRequestIid int32, postApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTime PostApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTime) (ApiEntitiesIssuableTimeStats, *http.Response, error)

MergeRequestsApiService Add spent time for a merge_request Adds spent time for this merge_request.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid The internal ID of the merge_request.
  • @param postApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTime

@return ApiEntitiesIssuableTimeStats

func (*MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidCancelMergeWhenPipelineSucceeds

func (a *MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidCancelMergeWhenPipelineSucceeds(ctx context.Context, id string, mergeRequestIid int32) (ApiEntitiesMergeRequest, *http.Response, error)

MergeRequestsApiService Cancel Merge When Pipeline Succeeds Cancel merge if \"Merge When Pipeline Succeeds\" is enabled

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid

@return ApiEntitiesMergeRequest

func (*MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits

func (a *MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits(ctx context.Context, id string, mergeRequestIid int32, postApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits PostApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits) (ApiEntitiesCommit, *http.Response, error)

MergeRequestsApiService Create merge request context commits Create a list of merge request context commits.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid
  • @param postApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits

@return ApiEntitiesCommit

func (*MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidPipelines

func (a *MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidPipelines(ctx context.Context, id string, mergeRequestIid int32) (ApiEntitiesCiPipeline, *http.Response, error)

MergeRequestsApiService Create merge request pipeline Create a new pipeline for a merge request. A pipeline created via this endpoint doesn’t run a regular branch/tag pipeline. It requires `.gitlab-ci.yml` to be configured with `only: [merge_requests]` to create jobs.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid

@return ApiEntitiesCiPipeline

func (*MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidResetSpentTime

func (a *MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidResetSpentTime(ctx context.Context, id string, mergeRequestIid int32) (ApiEntitiesIssuableTimeStats, *http.Response, error)

MergeRequestsApiService Reset spent time for a merge_request Resets the total spent time for this merge_request to 0 seconds.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid The internal ID of the merge_request

@return ApiEntitiesIssuableTimeStats

func (*MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidResetTimeEstimate

func (a *MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidResetTimeEstimate(ctx context.Context, id string, mergeRequestIid int32) (ApiEntitiesIssuableTimeStats, *http.Response, error)

MergeRequestsApiService Reset the time estimate for a project merge_request Resets the estimated time for this merge_request to 0 seconds.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid The internal ID of the merge_request.

@return ApiEntitiesIssuableTimeStats

func (*MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimate

func (a *MergeRequestsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimate(ctx context.Context, id string, mergeRequestIid int32, postApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimate PostApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimate) (ApiEntitiesIssuableTimeStats, *http.Response, error)

MergeRequestsApiService Set a time estimate for a merge_request Sets an estimated time of work for this merge_request.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid The internal ID of the merge_request.
  • @param postApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimate

@return ApiEntitiesIssuableTimeStats

func (*MergeRequestsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIid

func (a *MergeRequestsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIid(ctx context.Context, id string, mergeRequestIid int32, putApiV4ProjectsIdMergeRequestsMergeRequestIid PutApiV4ProjectsIdMergeRequestsMergeRequestIid) (ApiEntitiesMergeRequest, *http.Response, error)

MergeRequestsApiService Update merge request Updates an existing merge request. You can change the target branch, title, or even close the merge request.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid
  • @param putApiV4ProjectsIdMergeRequestsMergeRequestIid

@return ApiEntitiesMergeRequest

func (*MergeRequestsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIidMerge

func (a *MergeRequestsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIidMerge(ctx context.Context, id string, mergeRequestIid int32, putApiV4ProjectsIdMergeRequestsMergeRequestIidMerge PutApiV4ProjectsIdMergeRequestsMergeRequestIidMerge) (ApiEntitiesMergeRequest, *http.Response, error)

MergeRequestsApiService Merge a merge request Accept and merge changes submitted with the merge request using this API.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid
  • @param putApiV4ProjectsIdMergeRequestsMergeRequestIidMerge

@return ApiEntitiesMergeRequest

func (*MergeRequestsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIidRebase

func (a *MergeRequestsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIidRebase(ctx context.Context, id string, mergeRequestIid int32, putApiV4ProjectsIdMergeRequestsMergeRequestIidRebase PutApiV4ProjectsIdMergeRequestsMergeRequestIidRebase) (*http.Response, error)

MergeRequestsApiService Rebase a merge request Automatically rebase the `source_branch` of the merge request against its `target_branch`. This feature was added in GitLab 11.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project.
  • @param mergeRequestIid
  • @param putApiV4ProjectsIdMergeRequestsMergeRequestIidRebase

func (*MergeRequestsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIidResetApprovals

func (a *MergeRequestsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIidResetApprovals(ctx context.Context, id int32, mergeRequestIid int32) (*http.Response, error)

MergeRequestsApiService Remove all merge request approvals Clear all approvals of merge request. This feature was added in GitLab 15.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param mergeRequestIid

type MetadataApiService

type MetadataApiService service

func (*MetadataApiService) GetApiV4Metadata

MetadataApiService Retrieve metadata information for this GitLab instance This feature was introduced in GitLab 15.2.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesMetadata

func (*MetadataApiService) GetApiV4Version

MetadataApiService Retrieves version information for the GitLab instance This feature was introduced in GitLab 8.13 and deprecated in 15.5. We recommend you instead use the Metadata API.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesMetadata

type MetricsApiService

type MetricsApiService service

func (*MetricsApiService) GetApiV4UsageDataMetricDefinitions

func (a *MetricsApiService) GetApiV4UsageDataMetricDefinitions(ctx context.Context) (*http.Response, error)

MetricsApiService Get a list of all metric definitions This feature was introduced in GitLab 13.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

type MigrationsApiService

type MigrationsApiService service

func (*MigrationsApiService) PostApiV4AdminMigrationsTimestampMark

func (a *MigrationsApiService) PostApiV4AdminMigrationsTimestampMark(ctx context.Context, timestamp int32, postApiV4AdminMigrationsTimestampMark PostApiV4AdminMigrationsTimestampMark) (*http.Response, error)

MigrationsApiService Mark the migration as successfully executed

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param timestamp The migration version timestamp
  • @param postApiV4AdminMigrationsTimestampMark

type MlModelRegistryApiGetApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameOpts

type MlModelRegistryApiGetApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameOpts struct {
	Path   optional.String
	Status optional.String
}

type MlModelRegistryApiService

type MlModelRegistryApiService service

func (*MlModelRegistryApiService) GetApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName

func (a *MlModelRegistryApiService) GetApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName(ctx context.Context, id string, modelVersionId int32, fileName string, localVarOptionals *MlModelRegistryApiGetApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameOpts) (*http.Response, error)

func (*MlModelRegistryApiService) PutApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName

func (a *MlModelRegistryApiService) PutApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName(ctx context.Context, id string, modelVersionId int32, fileName string, putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName PutApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName) (*http.Response, error)

MlModelRegistryApiService Workhorse upload model package file Introduced in GitLab 16.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param modelVersionId Model version id
  • @param fileName File name
  • @param putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName

func (*MlModelRegistryApiService) PutApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameAuthorize

func (a *MlModelRegistryApiService) PutApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameAuthorize(ctx context.Context, id string, modelVersionId int32, fileName string, putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameAuthorize PutApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameAuthorize) (*http.Response, error)

MlModelRegistryApiService Workhorse authorize model package file Introduced in GitLab 16.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param modelVersionId Model version id
  • @param fileName File name
  • @param putApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameAuthorize

type NamespacesApiGetApiV4NamespacesIdExistsOpts

type NamespacesApiGetApiV4NamespacesIdExistsOpts struct {
	ParentId optional.Int32
}

type NamespacesApiGetApiV4NamespacesOpts

type NamespacesApiGetApiV4NamespacesOpts struct {
	Search              optional.String
	OwnedOnly           optional.Bool
	TopLevelOnly        optional.Bool
	Page                optional.Int32
	PerPage             optional.Int32
	RequestedHostedPlan optional.String
}

type NamespacesApiGetApiV4NamespacesStorageLimitExclusionsOpts

type NamespacesApiGetApiV4NamespacesStorageLimitExclusionsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type NamespacesApiService

type NamespacesApiService service

func (*NamespacesApiService) DeleteApiV4NamespacesIdStorageLimitExclusion

func (a *NamespacesApiService) DeleteApiV4NamespacesIdStorageLimitExclusion(ctx context.Context, id int32) (*http.Response, error)

NamespacesApiService Removes a storage limit exclusion for a Namespace Removes a Namespaces::Storage::LimitExclusion

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*NamespacesApiService) GetApiV4Namespaces

func (*NamespacesApiService) GetApiV4NamespacesId

func (a *NamespacesApiService) GetApiV4NamespacesId(ctx context.Context, id string) (ApiEntitiesNamespace, *http.Response, error)

NamespacesApiService Get namespace by ID Get a namespace by ID

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID or URL-encoded path of the namespace

@return ApiEntitiesNamespace

func (*NamespacesApiService) GetApiV4NamespacesIdExists

func (*NamespacesApiService) GetApiV4NamespacesIdGitlabSubscription

func (a *NamespacesApiService) GetApiV4NamespacesIdGitlabSubscription(ctx context.Context, id int32) (ApiEntitiesGitlabSubscription, *http.Response, error)

NamespacesApiService Returns the subscription for the namespace

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return ApiEntitiesGitlabSubscription

func (*NamespacesApiService) PostApiV4NamespacesIdGitlabSubscription

func (a *NamespacesApiService) PostApiV4NamespacesIdGitlabSubscription(ctx context.Context, id int32, postApiV4NamespacesIdGitlabSubscription PostApiV4NamespacesIdGitlabSubscription) (ApiEntitiesGitlabSubscription, *http.Response, error)

NamespacesApiService Create a subscription for the namespace

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param postApiV4NamespacesIdGitlabSubscription

@return ApiEntitiesGitlabSubscription

func (*NamespacesApiService) PostApiV4NamespacesIdStorageLimitExclusion

func (a *NamespacesApiService) PostApiV4NamespacesIdStorageLimitExclusion(ctx context.Context, id int32, postApiV4NamespacesIdStorageLimitExclusion PostApiV4NamespacesIdStorageLimitExclusion) (ApiEntitiesNamespacesStorageLimitExclusion, *http.Response, error)

NamespacesApiService Creates a storage limit exclusion for a Namespace Creates a Namespaces::Storage::LimitExclusion

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param postApiV4NamespacesIdStorageLimitExclusion

@return ApiEntitiesNamespacesStorageLimitExclusion

func (*NamespacesApiService) PutApiV4NamespacesId

func (a *NamespacesApiService) PutApiV4NamespacesId(ctx context.Context, id int32, putApiV4NamespacesId PutApiV4NamespacesId) (ApiEntitiesNamespace, *http.Response, error)

NamespacesApiService Update a namespace

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param putApiV4NamespacesId

@return ApiEntitiesNamespace

func (*NamespacesApiService) PutApiV4NamespacesIdGitlabSubscription

func (a *NamespacesApiService) PutApiV4NamespacesIdGitlabSubscription(ctx context.Context, id int32, putApiV4NamespacesIdGitlabSubscription PutApiV4NamespacesIdGitlabSubscription) (ApiEntitiesGitlabSubscription, *http.Response, error)

NamespacesApiService Update the subscription for the namespace

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param putApiV4NamespacesIdGitlabSubscription

@return ApiEntitiesGitlabSubscription

type NpmPackagesApiService

type NpmPackagesApiService service

func (*NpmPackagesApiService) DeleteApiV4GroupsIdPackagesNpmPackagepackageNameDistTagsTag

func (a *NpmPackagesApiService) DeleteApiV4GroupsIdPackagesNpmPackagepackageNameDistTagsTag(ctx context.Context, id string, packageName string, tag string) (*http.Response, error)

NpmPackagesApiService Deletes the given tag This feature was introduced in GitLab 12.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group
  • @param packageName Package name
  • @param tag Package dist-tag

func (*NpmPackagesApiService) DeleteApiV4PackagesNpmPackagepackageNameDistTagsTag

func (a *NpmPackagesApiService) DeleteApiV4PackagesNpmPackagepackageNameDistTagsTag(ctx context.Context, packageName string, tag string) (*http.Response, error)

NpmPackagesApiService Deletes the given tag This feature was introduced in GitLab 12.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name
  • @param tag Package dist-tag

func (*NpmPackagesApiService) DeleteApiV4ProjectsIdPackagesNpmPackagepackageNameDistTagsTag

func (a *NpmPackagesApiService) DeleteApiV4ProjectsIdPackagesNpmPackagepackageNameDistTagsTag(ctx context.Context, id string, packageName string, tag string) (*http.Response, error)

NpmPackagesApiService Deletes the given tag This feature was introduced in GitLab 12.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param tag Package dist-tag

func (*NpmPackagesApiService) GetApiV4GroupsIdPackagesNpmPackagepackageNameDistTags

func (a *NpmPackagesApiService) GetApiV4GroupsIdPackagesNpmPackagepackageNameDistTags(ctx context.Context, id string, packageName string) (ApiEntitiesNpmPackageTag, *http.Response, error)

NpmPackagesApiService Get all tags for a given an NPM package This feature was introduced in GitLab 12.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group
  • @param packageName Package name

@return ApiEntitiesNpmPackageTag

func (*NpmPackagesApiService) GetApiV4GroupsIdPackagesNpmpackageName

func (a *NpmPackagesApiService) GetApiV4GroupsIdPackagesNpmpackageName(ctx context.Context, id string, packageName string) (ApiEntitiesNpmPackage, *http.Response, error)

NpmPackagesApiService NPM registry metadata endpoint This feature was introduced in GitLab 11.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group
  • @param packageName Package name

@return ApiEntitiesNpmPackage

func (*NpmPackagesApiService) GetApiV4PackagesNpmPackagepackageNameDistTags

func (a *NpmPackagesApiService) GetApiV4PackagesNpmPackagepackageNameDistTags(ctx context.Context, packageName string) (ApiEntitiesNpmPackageTag, *http.Response, error)

NpmPackagesApiService Get all tags for a given an NPM package This feature was introduced in GitLab 12.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name

@return ApiEntitiesNpmPackageTag

func (*NpmPackagesApiService) GetApiV4PackagesNpmpackageName

func (a *NpmPackagesApiService) GetApiV4PackagesNpmpackageName(ctx context.Context, packageName string) (ApiEntitiesNpmPackage, *http.Response, error)

NpmPackagesApiService NPM registry metadata endpoint This feature was introduced in GitLab 11.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param packageName Package name

@return ApiEntitiesNpmPackage

func (*NpmPackagesApiService) GetApiV4ProjectsIdPackagesNpmPackagepackageNameDistTags

func (a *NpmPackagesApiService) GetApiV4ProjectsIdPackagesNpmPackagepackageNameDistTags(ctx context.Context, id string, packageName string) (ApiEntitiesNpmPackageTag, *http.Response, error)

NpmPackagesApiService Get all tags for a given an NPM package This feature was introduced in GitLab 12.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name

@return ApiEntitiesNpmPackageTag

func (*NpmPackagesApiService) GetApiV4ProjectsIdPackagesNpmpackageName

func (a *NpmPackagesApiService) GetApiV4ProjectsIdPackagesNpmpackageName(ctx context.Context, id string, packageName string) (ApiEntitiesNpmPackage, *http.Response, error)

NpmPackagesApiService NPM registry metadata endpoint This feature was introduced in GitLab 11.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name

@return ApiEntitiesNpmPackage

func (*NpmPackagesApiService) GetApiV4ProjectsIdPackagesNpmpackageNamefileName

func (a *NpmPackagesApiService) GetApiV4ProjectsIdPackagesNpmpackageNamefileName(ctx context.Context, id string, packageName string, fileName string) (*http.Response, error)

NpmPackagesApiService Download the NPM tarball This feature was introduced in GitLab 11.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param fileName Package file name

func (*NpmPackagesApiService) PostApiV4GroupsIdPackagesNpmNpmV1SecurityAdvisoriesBulk

func (a *NpmPackagesApiService) PostApiV4GroupsIdPackagesNpmNpmV1SecurityAdvisoriesBulk(ctx context.Context, id string) (*http.Response, error)

NpmPackagesApiService NPM registry bulk advisory endpoint This feature was introduced in GitLab 15.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group

func (*NpmPackagesApiService) PostApiV4GroupsIdPackagesNpmNpmV1SecurityAuditsQuick

func (a *NpmPackagesApiService) PostApiV4GroupsIdPackagesNpmNpmV1SecurityAuditsQuick(ctx context.Context, id string) (*http.Response, error)

NpmPackagesApiService NPM registry quick audit endpoint This feature was introduced in GitLab 15.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group

func (*NpmPackagesApiService) PostApiV4PackagesNpmNpmV1SecurityAdvisoriesBulk

func (a *NpmPackagesApiService) PostApiV4PackagesNpmNpmV1SecurityAdvisoriesBulk(ctx context.Context) (*http.Response, error)

NpmPackagesApiService NPM registry bulk advisory endpoint This feature was introduced in GitLab 15.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*NpmPackagesApiService) PostApiV4PackagesNpmNpmV1SecurityAuditsQuick

func (a *NpmPackagesApiService) PostApiV4PackagesNpmNpmV1SecurityAuditsQuick(ctx context.Context) (*http.Response, error)

NpmPackagesApiService NPM registry quick audit endpoint This feature was introduced in GitLab 15.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*NpmPackagesApiService) PostApiV4ProjectsIdPackagesNpmNpmV1SecurityAdvisoriesBulk

func (a *NpmPackagesApiService) PostApiV4ProjectsIdPackagesNpmNpmV1SecurityAdvisoriesBulk(ctx context.Context, id string) (*http.Response, error)

NpmPackagesApiService NPM registry bulk advisory endpoint This feature was introduced in GitLab 15.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*NpmPackagesApiService) PostApiV4ProjectsIdPackagesNpmNpmV1SecurityAuditsQuick

func (a *NpmPackagesApiService) PostApiV4ProjectsIdPackagesNpmNpmV1SecurityAuditsQuick(ctx context.Context, id string) (*http.Response, error)

NpmPackagesApiService NPM registry quick audit endpoint This feature was introduced in GitLab 15.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*NpmPackagesApiService) PutApiV4GroupsIdPackagesNpmPackagepackageNameDistTagsTag

func (a *NpmPackagesApiService) PutApiV4GroupsIdPackagesNpmPackagepackageNameDistTagsTag(ctx context.Context, id string, tag string, putApiV4GroupsIdPackagesNpmPackagepackageNameDistTagsTag PutApiV4GroupsIdPackagesNpmPackagepackageNameDistTagsTag) (*http.Response, error)

NpmPackagesApiService Create or Update the given tag for the given NPM package and version This feature was introduced in GitLab 12.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the group
  • @param tag Package dist-tag
  • @param putApiV4GroupsIdPackagesNpmPackagepackageNameDistTagsTag

func (*NpmPackagesApiService) PutApiV4PackagesNpmPackagepackageNameDistTagsTag

func (a *NpmPackagesApiService) PutApiV4PackagesNpmPackagepackageNameDistTagsTag(ctx context.Context, tag string, putApiV4PackagesNpmPackagepackageNameDistTagsTag PutApiV4PackagesNpmPackagepackageNameDistTagsTag) (*http.Response, error)

NpmPackagesApiService Create or Update the given tag for the given NPM package and version This feature was introduced in GitLab 12.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tag Package dist-tag
  • @param putApiV4PackagesNpmPackagepackageNameDistTagsTag

func (*NpmPackagesApiService) PutApiV4ProjectsIdPackagesNpmPackageName

func (a *NpmPackagesApiService) PutApiV4ProjectsIdPackagesNpmPackageName(ctx context.Context, id string, packageName string, putApiV4ProjectsIdPackagesNpmPackageName PutApiV4ProjectsIdPackagesNpmPackageName) (*http.Response, error)

NpmPackagesApiService Create or deprecate NPM package Create was introduced in GitLab 11.8 & deprecate suppport was added in 16.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName Package name
  • @param putApiV4ProjectsIdPackagesNpmPackageName

func (*NpmPackagesApiService) PutApiV4ProjectsIdPackagesNpmPackagepackageNameDistTagsTag

func (a *NpmPackagesApiService) PutApiV4ProjectsIdPackagesNpmPackagepackageNameDistTagsTag(ctx context.Context, id string, tag string, putApiV4ProjectsIdPackagesNpmPackagepackageNameDistTagsTag PutApiV4ProjectsIdPackagesNpmPackagepackageNameDistTagsTag) (*http.Response, error)

NpmPackagesApiService Create or Update the given tag for the given NPM package and version This feature was introduced in GitLab 12.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tag Package dist-tag
  • @param putApiV4ProjectsIdPackagesNpmPackagepackageNameDistTagsTag

type NugetPackagesApiGetApiV4GroupsIdPackagesNugetQueryOpts

type NugetPackagesApiGetApiV4GroupsIdPackagesNugetQueryOpts struct {
	Q          optional.String
	Skip       optional.Int32
	Take       optional.Int32
	Prerelease optional.Bool
}

type NugetPackagesApiGetApiV4ProjectsIdPackagesNugetQueryOpts

type NugetPackagesApiGetApiV4ProjectsIdPackagesNugetQueryOpts struct {
	Q          optional.String
	Skip       optional.Int32
	Take       optional.Int32
	Prerelease optional.Bool
}

type NugetPackagesApiService

type NugetPackagesApiService service

func (*NugetPackagesApiService) DeleteApiV4ProjectsIdPackagesNugetpackageNamepackageVersion

func (a *NugetPackagesApiService) DeleteApiV4ProjectsIdPackagesNugetpackageNamepackageVersion(ctx context.Context, id string, packageName string, packageVersion string) (*http.Response, error)

NugetPackagesApiService The NuGet Package Delete endpoint This feature was introduced in GitLab 16.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName The NuGet package name
  • @param packageVersion The NuGet package version

func (*NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetIndex

func (a *NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetIndex(ctx context.Context, id int32) (ApiEntitiesNugetServiceIndex, *http.Response, error)

NugetPackagesApiService The NuGet V3 Feed Service Index This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.

@return ApiEntitiesNugetServiceIndex

func (*NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetMetadatapackageNameIndex

func (a *NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetMetadatapackageNameIndex(ctx context.Context, id int32, packageName string) (ApiEntitiesNugetPackagesMetadata, *http.Response, error)

NugetPackagesApiService The NuGet Metadata Service - Package name level This feature was introduced in GitLab 12.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param packageName The NuGet package name

@return ApiEntitiesNugetPackagesMetadata

func (*NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetMetadatapackageNamepackageVersion

func (a *NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetMetadatapackageNamepackageVersion(ctx context.Context, id int32, packageName string, packageVersion string) (ApiEntitiesNugetPackageMetadata, *http.Response, error)

NugetPackagesApiService The NuGet Metadata Service - Package name and version level This feature was introduced in GitLab 12.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.
  • @param packageName The NuGet package name
  • @param packageVersion The NuGet package version

@return ApiEntitiesNugetPackageMetadata

func (*NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetQuery

func (*NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetSymbolfilesfileNamesignaturesameFileName

func (a *NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetSymbolfilesfileNamesignaturesameFileName(ctx context.Context, symbolchecksum string, id int32, fileName string, signature string, sameFileName string) (*http.Response, error)

NugetPackagesApiService The NuGet Symbol File Download Endpoint This feature was introduced in GitLab 16.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param symbolchecksum
  • @param id The group ID or full group path.
  • @param fileName The symbol file name
  • @param signature The symbol file signature
  • @param sameFileName

func (*NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetV2

func (a *NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetV2(ctx context.Context, id int32) (*http.Response, error)

NugetPackagesApiService The NuGet V2 Feed Service Index This feature was introduced in GitLab 16.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.

func (*NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetV2metadata

func (a *NugetPackagesApiService) GetApiV4GroupsIdPackagesNugetV2metadata(ctx context.Context, id int32) (*http.Response, error)

NugetPackagesApiService The NuGet V2 Feed Package $metadata endpoint This feature was introduced in GitLab 16.3

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The group ID or full group path.

func (*NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetDownloadpackageNameIndex

func (a *NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetDownloadpackageNameIndex(ctx context.Context, id string, packageName string) (ApiEntitiesNugetPackagesVersions, *http.Response, error)

NugetPackagesApiService The NuGet Content Service - index request This feature was introduced in GitLab 12.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName The NuGet package name

@return ApiEntitiesNugetPackagesVersions

func (*NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetDownloadpackageNamepackageVersionpackageFilename

func (a *NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetDownloadpackageNamepackageVersionpackageFilename(ctx context.Context, id string, packageName string, packageVersion string, packageFilename string) (*http.Response, error)

NugetPackagesApiService The NuGet Content Service - content request This feature was introduced in GitLab 12.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName The NuGet package name
  • @param packageVersion The NuGet package version
  • @param packageFilename The NuGet package filename

func (*NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetIndex

func (a *NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetIndex(ctx context.Context, id string) (ApiEntitiesNugetServiceIndex, *http.Response, error)

NugetPackagesApiService The NuGet V3 Feed Service Index This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesNugetServiceIndex

func (*NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetMetadatapackageNameIndex

func (a *NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetMetadatapackageNameIndex(ctx context.Context, id string, packageName string) (ApiEntitiesNugetPackagesMetadata, *http.Response, error)

NugetPackagesApiService The NuGet Metadata Service - Package name level This feature was introduced in GitLab 12.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName The NuGet package name

@return ApiEntitiesNugetPackagesMetadata

func (*NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetMetadatapackageNamepackageVersion

func (a *NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetMetadatapackageNamepackageVersion(ctx context.Context, id string, packageName string, packageVersion string) (ApiEntitiesNugetPackageMetadata, *http.Response, error)

NugetPackagesApiService The NuGet Metadata Service - Package name and version level This feature was introduced in GitLab 12.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName The NuGet package name
  • @param packageVersion The NuGet package version

@return ApiEntitiesNugetPackageMetadata

func (*NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetQuery

func (*NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetSymbolfilesfileNamesignaturesameFileName

func (a *NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetSymbolfilesfileNamesignaturesameFileName(ctx context.Context, symbolchecksum string, id string, fileName string, signature string, sameFileName string) (*http.Response, error)

NugetPackagesApiService The NuGet Symbol File Download Endpoint This feature was introduced in GitLab 16.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param symbolchecksum
  • @param id The ID or URL-encoded path of the project
  • @param fileName The symbol file name
  • @param signature The symbol file signature
  • @param sameFileName

func (*NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetV2

func (a *NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetV2(ctx context.Context, id string) (*http.Response, error)

NugetPackagesApiService The NuGet V2 Feed Service Index This feature was introduced in GitLab 16.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetV2metadata

func (a *NugetPackagesApiService) GetApiV4ProjectsIdPackagesNugetV2metadata(ctx context.Context, id string) (*http.Response, error)

NugetPackagesApiService The NuGet V2 Feed Package $metadata endpoint This feature was introduced in GitLab 16.3

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*NugetPackagesApiService) GetApiV4ProjectsProjectIdPackagesNugetV2Findpackagesbyid_

func (a *NugetPackagesApiService) GetApiV4ProjectsProjectIdPackagesNugetV2Findpackagesbyid_(ctx context.Context, projectId string, id string) (*http.Response, error)

NugetPackagesApiService The NuGet V2 Feed Find Packages by ID endpoint This feature was introduced in GitLab 16.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectId The ID or URL-encoded path of the project
  • @param id The NuGet package name

func (*NugetPackagesApiService) GetApiV4ProjectsProjectIdPackagesNugetV2PackagesIdpackageNameversionpackageVersion

func (a *NugetPackagesApiService) GetApiV4ProjectsProjectIdPackagesNugetV2PackagesIdpackageNameversionpackageVersion(ctx context.Context, projectId string, packageName string, packageVersion string) (*http.Response, error)

NugetPackagesApiService The NuGet V2 Feed Single Package Metadata endpoint This feature was introduced in GitLab 16.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectId The ID or URL-encoded path of the project
  • @param packageName The NuGet package name
  • @param packageVersion The NuGet package version

func (*NugetPackagesApiService) GetApiV4ProjectsProjectIdPackagesNugetV2Packages_

func (a *NugetPackagesApiService) GetApiV4ProjectsProjectIdPackagesNugetV2Packages_(ctx context.Context, projectId string, filter string) (*http.Response, error)

NugetPackagesApiService The NuGet V2 Feed Enumerate Packages endpoint This feature was introduced in GitLab 16.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param projectId The ID or URL-encoded path of the project
  • @param filter The NuGet package name

func (*NugetPackagesApiService) PutApiV4ProjectsIdPackagesNuget

func (a *NugetPackagesApiService) PutApiV4ProjectsIdPackagesNuget(ctx context.Context, id string, putApiV4ProjectsIdPackagesNuget PutApiV4ProjectsIdPackagesNuget) (*http.Response, error)

NugetPackagesApiService The NuGet V3 Feed Package Publish endpoint This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdPackagesNuget

func (*NugetPackagesApiService) PutApiV4ProjectsIdPackagesNugetAuthorize

func (a *NugetPackagesApiService) PutApiV4ProjectsIdPackagesNugetAuthorize(ctx context.Context, id string) (*http.Response, error)

NugetPackagesApiService The NuGet Package Authorize endpoint This feature was introduced in GitLab 14.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*NugetPackagesApiService) PutApiV4ProjectsIdPackagesNugetSymbolpackage

func (a *NugetPackagesApiService) PutApiV4ProjectsIdPackagesNugetSymbolpackage(ctx context.Context, id string, putApiV4ProjectsIdPackagesNugetSymbolpackage PutApiV4ProjectsIdPackagesNugetSymbolpackage) (*http.Response, error)

NugetPackagesApiService The NuGet Symbol Package Publish endpoint This feature was introduced in GitLab 14.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdPackagesNugetSymbolpackage

func (*NugetPackagesApiService) PutApiV4ProjectsIdPackagesNugetSymbolpackageAuthorize

func (a *NugetPackagesApiService) PutApiV4ProjectsIdPackagesNugetSymbolpackageAuthorize(ctx context.Context, id string) (*http.Response, error)

NugetPackagesApiService The NuGet Symbol Package Authorize endpoint This feature was introduced in GitLab 14.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*NugetPackagesApiService) PutApiV4ProjectsIdPackagesNugetV2

func (a *NugetPackagesApiService) PutApiV4ProjectsIdPackagesNugetV2(ctx context.Context, id string, putApiV4ProjectsIdPackagesNugetV2 PutApiV4ProjectsIdPackagesNugetV2) (*http.Response, error)

NugetPackagesApiService The NuGet V2 Feed Package Publish endpoint This feature was introduced in GitLab 16.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdPackagesNugetV2

func (*NugetPackagesApiService) PutApiV4ProjectsIdPackagesNugetV2Authorize

func (a *NugetPackagesApiService) PutApiV4ProjectsIdPackagesNugetV2Authorize(ctx context.Context, id string) (*http.Response, error)

NugetPackagesApiService The NuGet V2 Feed Package Authorize endpoint This feature was introduced in GitLab 16.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

type PackageFilesApiGetApiV4ProjectsIdPackagesPackageIdPackageFilesOpts

type PackageFilesApiGetApiV4ProjectsIdPackagesPackageIdPackageFilesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type PackageFilesApiService

type PackageFilesApiService service

func (*PackageFilesApiService) DeleteApiV4ProjectsIdPackagesPackageIdPackageFilesPackageFileId

func (a *PackageFilesApiService) DeleteApiV4ProjectsIdPackagesPackageIdPackageFilesPackageFileId(ctx context.Context, id string, packageId int32, packageFileId int32) (*http.Response, error)

PackageFilesApiService Delete a package file This feature was introduced in GitLab 13.12

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID or URL-encoded path of the project
  • @param packageId ID of a package
  • @param packageFileId ID of a package file

func (*PackageFilesApiService) GetApiV4ProjectsIdPackagesPackageIdPackageFiles

func (a *PackageFilesApiService) GetApiV4ProjectsIdPackagesPackageIdPackageFiles(ctx context.Context, id string, packageId int32, localVarOptionals *PackageFilesApiGetApiV4ProjectsIdPackagesPackageIdPackageFilesOpts) ([]ApiEntitiesPackageFile, *http.Response, error)

type PagesApiGetApiV4PagesDomainsOpts

type PagesApiGetApiV4PagesDomainsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type PagesApiService

type PagesApiService service

func (*PagesApiService) DeleteApiV4ProjectsIdPages

func (a *PagesApiService) DeleteApiV4ProjectsIdPages(ctx context.Context, id string) (*http.Response, error)

PagesApiService Unpublish pages Remove pages. The user must have administrator access. This feature was introduced in GitLab 12.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user

func (*PagesApiService) GetApiV4PagesDomains

func (a *PagesApiService) GetApiV4PagesDomains(ctx context.Context, localVarOptionals *PagesApiGetApiV4PagesDomainsOpts) (ApiEntitiesPagesDomainBasic, *http.Response, error)

func (*PagesApiService) GetApiV4ProjectsIdPages

func (a *PagesApiService) GetApiV4ProjectsIdPages(ctx context.Context, id string) (*http.Response, error)

PagesApiService Get pages settings Get pages URL and other settings. This feature was introduced in Gitlab 16.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user

func (*PagesApiService) PatchApiV4ProjectsIdPages

func (a *PagesApiService) PatchApiV4ProjectsIdPages(ctx context.Context, id string, patchApiV4ProjectsIdPages PatchApiV4ProjectsIdPages) (*http.Response, error)

PagesApiService Update pages settings Update page settings for a project. User must have administrative access.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param patchApiV4ProjectsIdPages

type PagesDomainsApiGetApiV4ProjectsIdPagesDomainsOpts

type PagesDomainsApiGetApiV4ProjectsIdPagesDomainsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type PagesDomainsApiService

type PagesDomainsApiService service

func (*PagesDomainsApiService) GetApiV4ProjectsIdPagesDomains

func (a *PagesDomainsApiService) GetApiV4ProjectsIdPagesDomains(ctx context.Context, id string, localVarOptionals *PagesDomainsApiGetApiV4ProjectsIdPagesDomainsOpts) ([]ApiEntitiesPagesDomain, *http.Response, error)

type PatchApiV4JobsIdTrace

type PatchApiV4JobsIdTrace struct {
	// Job's authentication token
	Token string `json:"token,omitempty"`
	// Enable or Disable the debug trace
	DebugTrace bool `json:"debug_trace,omitempty"`
}

Append a patch to the job trace

type PatchApiV4ProjectsIdErrorTrackingSettings

type PatchApiV4ProjectsIdErrorTrackingSettings struct {
	// Pass true to enable the already configured Error Tracking settings or false to disable it.
	Active bool `json:"active"`
	// Pass true to enable the integrated Error Tracking backend. Available in GitLab 14.2 and later.
	Integrated bool `json:"integrated,omitempty"`
}

Enable or disable the Error Tracking project settings

type PatchApiV4ProjectsIdJobTokenScope

type PatchApiV4ProjectsIdJobTokenScope struct {
	// Indicates CI/CD job tokens generated in other projects have restricted access to this project.
	Enabled bool `json:"enabled"`
}

Patch CI_JOB_TOKEN access settings.

type PatchApiV4ProjectsIdPages

type PatchApiV4ProjectsIdPages struct {
	// Whether to use unique domain
	PagesUniqueDomainEnabled bool `json:"pages_unique_domain_enabled,omitempty"`
	// Whether to force HTTPS
	PagesHttpsOnly bool `json:"pages_https_only,omitempty"`
}

Update pages settings

type PatchApiV4ProjectsIdProtectedBranchesName

type PatchApiV4ProjectsIdProtectedBranchesName struct {
	// Allow force push for all users with push access.
	AllowForcePush bool `json:"allow_force_push,omitempty"`
	// Access levels allowed to unprotect (defaults: `40`, maintainer access level)
	UnprotectAccessLevel int32 `json:"unprotect_access_level,omitempty"`
	// An array of users/groups allowed to push
	AllowedToPush []PostApiV4ProjectsIdProtectedBranchesAllowedToPush `json:"allowed_to_push,omitempty"`
	// An array of users/groups allowed to merge
	AllowedToMerge []PostApiV4ProjectsIdProtectedBranchesAllowedToPush `json:"allowed_to_merge,omitempty"`
	// An array of users/groups allowed to unprotect
	AllowedToUnprotect []PostApiV4ProjectsIdProtectedBranchesAllowedToUnprotect `json:"allowed_to_unprotect,omitempty"`
	// Prevent pushes to this branch if it matches an item in CODEOWNERS
	CodeOwnerApprovalRequired bool `json:"code_owner_approval_required,omitempty"`
}

Update a protected branch

type PatchApiV4UserStatus

type PatchApiV4UserStatus struct {
	// The emoji to set on the status
	Emoji string `json:"emoji,omitempty"`
	// The status message to set
	Message string `json:"message,omitempty"`
	// The availability of user to set
	Availability string `json:"availability,omitempty"`
	// Automatically clear emoji, message and availability fields after a certain time
	ClearStatusAfter string `json:"clear_status_after,omitempty"`
}

Set the status of the current user

type PersonalAccessTokensApiGetApiV4PersonalAccessTokensOpts

type PersonalAccessTokensApiGetApiV4PersonalAccessTokensOpts struct {
	UserId         optional.Int32
	Revoked        optional.Bool
	State          optional.String
	CreatedBefore  optional.Time
	CreatedAfter   optional.Time
	LastUsedBefore optional.Time
	LastUsedAfter  optional.Time
	Search         optional.String
	Page           optional.Int32
	PerPage        optional.Int32
}

type PersonalAccessTokensApiService

type PersonalAccessTokensApiService service

func (*PersonalAccessTokensApiService) DeleteApiV4PersonalAccessTokensId

func (a *PersonalAccessTokensApiService) DeleteApiV4PersonalAccessTokensId(ctx context.Context, id int32) (*http.Response, error)

PersonalAccessTokensApiService Revoke a personal access token Revoke a personal access token by using the ID of the personal access token.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*PersonalAccessTokensApiService) DeleteApiV4PersonalAccessTokensSelf

func (a *PersonalAccessTokensApiService) DeleteApiV4PersonalAccessTokensSelf(ctx context.Context) (*http.Response, error)

PersonalAccessTokensApiService Revoke a personal access token Revoke a personal access token by passing it to the API in a header

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*PersonalAccessTokensApiService) GetApiV4PersonalAccessTokens

func (*PersonalAccessTokensApiService) GetApiV4PersonalAccessTokensId

func (a *PersonalAccessTokensApiService) GetApiV4PersonalAccessTokensId(ctx context.Context, id int32) (ApiEntitiesPersonalAccessToken, *http.Response, error)

PersonalAccessTokensApiService Get single personal access token Get a personal access token by using the ID of the personal access token.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return ApiEntitiesPersonalAccessToken

func (*PersonalAccessTokensApiService) GetApiV4PersonalAccessTokensSelf

func (a *PersonalAccessTokensApiService) GetApiV4PersonalAccessTokensSelf(ctx context.Context) (ApiEntitiesPersonalAccessToken, *http.Response, error)

PersonalAccessTokensApiService Get single personal access token Get the details of a personal access token by passing it to the API in a header

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesPersonalAccessToken

func (*PersonalAccessTokensApiService) PostApiV4PersonalAccessTokensIdRotate

func (a *PersonalAccessTokensApiService) PostApiV4PersonalAccessTokensIdRotate(ctx context.Context, id int32, postApiV4PersonalAccessTokensIdRotate PostApiV4PersonalAccessTokensIdRotate) (ApiEntitiesPersonalAccessTokenWithToken, *http.Response, error)

PersonalAccessTokensApiService Rotate personal access token Roates a personal access token.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param postApiV4PersonalAccessTokensIdRotate

@return ApiEntitiesPersonalAccessTokenWithToken

func (*PersonalAccessTokensApiService) PostApiV4PersonalAccessTokensSelfRotate

func (a *PersonalAccessTokensApiService) PostApiV4PersonalAccessTokensSelfRotate(ctx context.Context, postApiV4PersonalAccessTokensSelfRotate PostApiV4PersonalAccessTokensSelfRotate) (ApiEntitiesPersonalAccessTokenWithToken, *http.Response, error)

PersonalAccessTokensApiService Rotate a personal access token Rotates a personal access token by passing it to the API in a header

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4PersonalAccessTokensSelfRotate

@return ApiEntitiesPersonalAccessTokenWithToken

type PlanLimitsApiGetApiV4ApplicationPlanLimitsOpts

type PlanLimitsApiGetApiV4ApplicationPlanLimitsOpts struct {
	PlanName optional.String
}

type PlanLimitsApiService

type PlanLimitsApiService service

func (*PlanLimitsApiService) GetApiV4ApplicationPlanLimits

func (a *PlanLimitsApiService) GetApiV4ApplicationPlanLimits(ctx context.Context, localVarOptionals *PlanLimitsApiGetApiV4ApplicationPlanLimitsOpts) (ApiEntitiesPlanLimit, *http.Response, error)

func (*PlanLimitsApiService) PutApiV4ApplicationPlanLimits

func (a *PlanLimitsApiService) PutApiV4ApplicationPlanLimits(ctx context.Context, putApiV4ApplicationPlanLimits PutApiV4ApplicationPlanLimits) (ApiEntitiesPlanLimit, *http.Response, error)

PlanLimitsApiService Change plan limits Modify the limits of a plan on the GitLab instance.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param putApiV4ApplicationPlanLimits

@return ApiEntitiesPlanLimit

type PostApiV4AdminCiVariables

type PostApiV4AdminCiVariables struct {
	// The key of the variable. Max 255 characters
	Key string `json:"key"`
	// The description of the variable
	Description string `json:"description,omitempty"`
	// The value of a variable
	Value string `json:"value"`
	// Whether the variable is protected
	Protected bool `json:"protected,omitempty"`
	// Whether the variable is masked
	Masked bool `json:"masked,omitempty"`
	// Whether the variable will be expanded
	Raw bool `json:"raw,omitempty"`
	// The type of a variable. Available types are: env_var (default) and file
	VariableType string `json:"variable_type,omitempty"`
}

Create a new instance-level variable

type PostApiV4AdminClustersAdd

type PostApiV4AdminClustersAdd struct {
	// Cluster name
	Name string `json:"name"`
	// Determines if cluster is active or not, defaults to true
	Enabled bool `json:"enabled,omitempty"`
	// The associated environment to the cluster
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// Deploy each environment to a separate Kubernetes namespace
	NamespacePerEnvironment bool `json:"namespace_per_environment,omitempty"`
	// Cluster base domain
	Domain string `json:"domain,omitempty"`
	// The ID of the management project
	ManagementProjectId int32 `json:"management_project_id,omitempty"`
	// Determines if GitLab will manage namespaces and service accounts for this cluster, defaults to true
	Managed                      bool                                                         `json:"managed,omitempty"`
	PlatformKubernetesAttributes *PostApiV4ProjectsIdClustersUserPlatformKubernetesAttributes `json:"platform_kubernetes_attributes"`
}

Add existing instance cluster

type PostApiV4AdminMigrationsTimestampMark

type PostApiV4AdminMigrationsTimestampMark struct {
	// The name of the database
	Database string `json:"database,omitempty"`
}

Mark the migration as successfully executed

type PostApiV4Applications

type PostApiV4Applications struct {
	// Name of the application.
	Name string `json:"name"`
	// Redirect URI of the application.
	RedirectUri string `json:"redirect_uri"`
	// Scopes of the application. You can specify multiple scopes by separating\\                                  each scope using a space
	Scopes string `json:"scopes"`
	// The application is used where the client secret can be kept confidential. Native mobile apps \\                         and Single Page Apps are considered non-confidential. Defaults to true if not supplied
	Confidential bool `json:"confidential,omitempty"`
}

Create a new application

type PostApiV4BroadcastMessages

type PostApiV4BroadcastMessages struct {
	// Message to display
	Message string `json:"message"`
	// Starting time
	StartsAt time.Time `json:"starts_at,omitempty"`
	// Ending time
	EndsAt time.Time `json:"ends_at,omitempty"`
	// Background color
	Color string `json:"color,omitempty"`
	// Foreground color
	Font string `json:"font,omitempty"`
	// Target user roles
	TargetAccessLevels []int32 `json:"target_access_levels,omitempty"`
	// Target path
	TargetPath string `json:"target_path,omitempty"`
	// Broadcast type. Defaults to banner
	BroadcastType string `json:"broadcast_type,omitempty"`
	// Is dismissable
	Dismissable bool `json:"dismissable,omitempty"`
}

Create a broadcast message

type PostApiV4FeatureFlagsUnleashProjectIdClientMetrics

type PostApiV4FeatureFlagsUnleashProjectIdClientMetrics struct {
	// The instance ID of Unleash Client
	InstanceId string `json:"instance_id,omitempty"`
	// The application name of Unleash Client
	AppName string `json:"app_name,omitempty"`
}

type PostApiV4FeatureFlagsUnleashProjectIdClientRegister

type PostApiV4FeatureFlagsUnleashProjectIdClientRegister struct {
	// The instance ID of Unleash Client
	InstanceId string `json:"instance_id,omitempty"`
	// The application name of Unleash Client
	AppName string `json:"app_name,omitempty"`
}

type PostApiV4FeaturesName

type PostApiV4FeaturesName struct {
	// `true` or `false` to enable/disable, or an integer for percentage of time
	Value string `json:"value"`
	// `percentage_of_actors` or `percentage_of_time` (default)
	Key string `json:"key,omitempty"`
	// A Feature group name
	FeatureGroup string `json:"feature_group,omitempty"`
	// A GitLab username or comma-separated multiple usernames
	User string `json:"user,omitempty"`
	// A GitLab group's path, for example `gitlab-org`, or comma-separated multiple group paths
	Group string `json:"group,omitempty"`
	// A GitLab group or user namespace's path, for example `john-doe`, or comma-separated multiple namespace paths. Introduced in GitLab 15.0.
	Namespace string `json:"namespace,omitempty"`
	// A projects path, for example `gitlab-org/gitlab-foss`, or comma-separated multiple project paths
	Project string `json:"project,omitempty"`
	// A repository path, for example `gitlab-org/gitlab-test.git`, `gitlab-org/gitlab-test.wiki.git`, `snippets/21.git`, to name a few. Use comma to separate multiple repository paths
	Repository string `json:"repository,omitempty"`
	// Skip feature flag validation checks, such as a YAML definition
	Force bool `json:"force,omitempty"`
}

Set or create a feature

type PostApiV4GeoProxyGitSshInfoRefsReceivePack

type PostApiV4GeoProxyGitSshInfoRefsReceivePack struct {
	SecretToken string                                 `json:"secret_token"`
	Data        *PostApiV4GeoProxyGitSshUploadPackData `json:"data"`
}

Responsible for making HTTP GET /repo.git/info/refs?service=git-receive-pack request from secondary gitlab-shell to primary

type PostApiV4GeoProxyGitSshInfoRefsUploadPack

type PostApiV4GeoProxyGitSshInfoRefsUploadPack struct {
	// Secret token to authenticate by gitlab shell
	SecretToken string                                         `json:"secret_token"`
	Data        *PostApiV4GeoProxyGitSshInfoRefsUploadPackData `json:"data"`
}

Responsible for making HTTP GET /repo.git/info/refs?service=git-upload-pack request from secondary gitlab-shell to primary

type PostApiV4GeoProxyGitSshInfoRefsUploadPackData

type PostApiV4GeoProxyGitSshInfoRefsUploadPackData struct {
	// GitLab identifier of user that initiated the clone/pull
	GlId string `json:"gl_id"`
	// Primary repository to clone/pull
	PrimaryRepo string `json:"primary_repo"`
}

type PostApiV4GeoProxyGitSshReceivePack

type PostApiV4GeoProxyGitSshReceivePack struct {
	SecretToken string                                 `json:"secret_token"`
	Data        *PostApiV4GeoProxyGitSshUploadPackData `json:"data"`
	// Output from git-receive-pack
	Output string `json:"output"`
}

Responsible for making HTTP POST /repo.git/info/refs?service=git-receive-pack request from secondary gitlab-shell to primary

type PostApiV4GeoProxyGitSshUploadPack

type PostApiV4GeoProxyGitSshUploadPack struct {
	SecretToken string                                 `json:"secret_token"`
	Data        *PostApiV4GeoProxyGitSshUploadPackData `json:"data"`
	// Output from git-upload-pack
	Output string `json:"output"`
}

Responsible for making HTTP POST /repo.git/git-upload-pack request from secondary gitlab-shell to primary

type PostApiV4GeoProxyGitSshUploadPackData

type PostApiV4GeoProxyGitSshUploadPackData struct {
	GlId        string `json:"gl_id"`
	PrimaryRepo string `json:"primary_repo"`
}

type PostApiV4GeoStatus

type PostApiV4GeoStatus struct {
	Data *PostApiV4GeoStatusData `json:"data,omitempty"`
}

Posts the current node status to the primary site

type PostApiV4GeoStatusData

type PostApiV4GeoStatusData struct {
	// Geo Node ID to look up its status
	GeoNodeId int32 `json:"geo_node_id"`
	// DB replication lag in seconds
	DbReplicationLagSeconds int32 `json:"db_replication_lag_seconds,omitempty"`
	// Last event ID
	LastEventId int32 `json:"last_event_id,omitempty"`
	// Last event date
	LastEventDate time.Time `json:"last_event_date,omitempty"`
	// Cursor last event ID
	CursorLastEventId int32 `json:"cursor_last_event_id,omitempty"`
	// Cursor last event date
	CursorLastEventDate time.Time `json:"cursor_last_event_date,omitempty"`
	// Last successful status check date
	LastSuccessfulStatusCheckAt time.Time `json:"last_successful_status_check_at,omitempty"`
	// Status message
	StatusMessage string `json:"status_message,omitempty"`
	// Replication slots count
	ReplicationSlotsCount int32 `json:"replication_slots_count,omitempty"`
	// Replication slots used count
	ReplicationSlotsUsedCount int32 `json:"replication_slots_used_count,omitempty"`
	// Maximum number of bytes retained in the WAL on the primary
	ReplicationSlotsMaxRetainedWalBytes int32 `json:"replication_slots_max_retained_wal_bytes,omitempty"`
	// Gitlab version
	Version string `json:"version,omitempty"`
	// Gitlab revision
	Revision string                        `json:"revision,omitempty"`
	Status   *PostApiV4GeoStatusDataStatus `json:"status,omitempty"`
}

type PostApiV4GeoStatusDataStatus

type PostApiV4GeoStatusDataStatus struct {
	// Projects count
	ProjectsCount int32 `json:"projects_count,omitempty"`
	// Container repositories replication enabled
	ContainerRepositoriesReplicationEnabled bool `json:"container_repositories_replication_enabled,omitempty"`
	// LFS objects count
	LfsObjectsCount int32 `json:"lfs_objects_count,omitempty"`
	// LFS objects checksum total count
	LfsObjectsChecksumTotalCount int32 `json:"lfs_objects_checksum_total_count,omitempty"`
	// LFS objects checksummed count
	LfsObjectsChecksummedCount int32 `json:"lfs_objects_checksummed_count,omitempty"`
	// LFS objects checksum failed count
	LfsObjectsChecksumFailedCount int32 `json:"lfs_objects_checksum_failed_count,omitempty"`
	// LFS objects synced count
	LfsObjectsSyncedCount int32 `json:"lfs_objects_synced_count,omitempty"`
	// LFS objects failed count
	LfsObjectsFailedCount int32 `json:"lfs_objects_failed_count,omitempty"`
	// LFS objects registry count
	LfsObjectsRegistryCount int32 `json:"lfs_objects_registry_count,omitempty"`
	// LFS objects verification total count
	LfsObjectsVerificationTotalCount int32 `json:"lfs_objects_verification_total_count,omitempty"`
	// LFS objects verified count
	LfsObjectsVerifiedCount int32 `json:"lfs_objects_verified_count,omitempty"`
	// LFS objects verification failed count
	LfsObjectsVerificationFailedCount int32 `json:"lfs_objects_verification_failed_count,omitempty"`
	// Merge request diffs count
	MergeRequestDiffsCount int32 `json:"merge_request_diffs_count,omitempty"`
	// Merge request diffs checksum total count
	MergeRequestDiffsChecksumTotalCount int32 `json:"merge_request_diffs_checksum_total_count,omitempty"`
	// Merge request diffs checksummed count
	MergeRequestDiffsChecksummedCount int32 `json:"merge_request_diffs_checksummed_count,omitempty"`
	// Merge request diffs checksum failed count
	MergeRequestDiffsChecksumFailedCount int32 `json:"merge_request_diffs_checksum_failed_count,omitempty"`
	// Merge request diffs synced count
	MergeRequestDiffsSyncedCount int32 `json:"merge_request_diffs_synced_count,omitempty"`
	// Merge request diffs failed count
	MergeRequestDiffsFailedCount int32 `json:"merge_request_diffs_failed_count,omitempty"`
	// Merge request diffs registry count
	MergeRequestDiffsRegistryCount int32 `json:"merge_request_diffs_registry_count,omitempty"`
	// Merge request diffs verification total count
	MergeRequestDiffsVerificationTotalCount int32 `json:"merge_request_diffs_verification_total_count,omitempty"`
	// Merge request diffs verified count
	MergeRequestDiffsVerifiedCount int32 `json:"merge_request_diffs_verified_count,omitempty"`
	// Merge request diffs verified count
	MergeRequestDiffsVerificationFailedCount int32 `json:"merge_request_diffs_verification_failed_count,omitempty"`
	// Packages files count
	PackageFilesCount int32 `json:"package_files_count,omitempty"`
	// Packages files checksum total count
	PackageFilesChecksumTotalCount int32 `json:"package_files_checksum_total_count,omitempty"`
	// Packages files checksummed count
	PackageFilesChecksummedCount int32 `json:"package_files_checksummed_count,omitempty"`
	// Packages files checksum failed count
	PackageFilesChecksumFailedCount int32 `json:"package_files_checksum_failed_count,omitempty"`
	// Packages files synced count
	PackageFilesSyncedCount int32 `json:"package_files_synced_count,omitempty"`
	// Packages files failed count
	PackageFilesFailedCount int32 `json:"package_files_failed_count,omitempty"`
	// Packages files registry count
	PackageFilesRegistryCount int32 `json:"package_files_registry_count,omitempty"`
	// Packages files verification total count
	PackageFilesVerificationTotalCount int32 `json:"package_files_verification_total_count,omitempty"`
	// Packages files verified count
	PackageFilesVerifiedCount int32 `json:"package_files_verified_count,omitempty"`
	// Packages files verification failed count
	PackageFilesVerificationFailedCount int32 `json:"package_files_verification_failed_count,omitempty"`
	// Terraform state versions count
	TerraformStateVersionsCount int32 `json:"terraform_state_versions_count,omitempty"`
	// Terraform state versions checksum total count
	TerraformStateVersionsChecksumTotalCount int32 `json:"terraform_state_versions_checksum_total_count,omitempty"`
	// Terraform state versions checksummed count
	TerraformStateVersionsChecksummedCount int32 `json:"terraform_state_versions_checksummed_count,omitempty"`
	// Terraform state versions checksum failed count
	TerraformStateVersionsChecksumFailedCount int32 `json:"terraform_state_versions_checksum_failed_count,omitempty"`
	// Terraform state versions synced count
	TerraformStateVersionsSyncedCount int32 `json:"terraform_state_versions_synced_count,omitempty"`
	// Terraform state versions failed count
	TerraformStateVersionsFailedCount int32 `json:"terraform_state_versions_failed_count,omitempty"`
	// Terraform state versions registry count
	TerraformStateVersionsRegistryCount int32 `json:"terraform_state_versions_registry_count,omitempty"`
	// Terraform state versions verification total count
	TerraformStateVersionsVerificationTotalCount int32 `json:"terraform_state_versions_verification_total_count,omitempty"`
	// Terraform state versions verified count
	TerraformStateVersionsVerifiedCount int32 `json:"terraform_state_versions_verified_count,omitempty"`
	// Terraform state versions verification failed count
	TerraformStateVersionsVerificationFailedCount int32 `json:"terraform_state_versions_verification_failed_count,omitempty"`
	// Snippet repositories count
	SnippetRepositoriesCount int32 `json:"snippet_repositories_count,omitempty"`
	// Snippet repositories checksum total count
	SnippetRepositoriesChecksumTotalCount int32 `json:"snippet_repositories_checksum_total_count,omitempty"`
	// Snippet repositories checksummed count
	SnippetRepositoriesChecksummedCount int32 `json:"snippet_repositories_checksummed_count,omitempty"`
	// Snippet repositories checksum failed count
	SnippetRepositoriesChecksumFailedCount int32 `json:"snippet_repositories_checksum_failed_count,omitempty"`
	// Snippet repositories synced count
	SnippetRepositoriesSyncedCount int32 `json:"snippet_repositories_synced_count,omitempty"`
	// Snippet repositories failed count
	SnippetRepositoriesFailedCount int32 `json:"snippet_repositories_failed_count,omitempty"`
	// Snippet repositories registry count
	SnippetRepositoriesRegistryCount int32 `json:"snippet_repositories_registry_count,omitempty"`
	// Snippet repositories verification total count
	SnippetRepositoriesVerificationTotalCount int32 `json:"snippet_repositories_verification_total_count,omitempty"`
	// Snippet repositories verified count
	SnippetRepositoriesVerifiedCount int32 `json:"snippet_repositories_verified_count,omitempty"`
	// Snippet repositories verification failed count
	SnippetRepositoriesVerificationFailedCount int32 `json:"snippet_repositories_verification_failed_count,omitempty"`
	// Group wiki repositories count
	GroupWikiRepositoriesCount int32 `json:"group_wiki_repositories_count,omitempty"`
	// Group wiki repositories checksum total count
	GroupWikiRepositoriesChecksumTotalCount int32 `json:"group_wiki_repositories_checksum_total_count,omitempty"`
	// Group wiki repositories checksummed count
	GroupWikiRepositoriesChecksummedCount int32 `json:"group_wiki_repositories_checksummed_count,omitempty"`
	// Group wiki repositories checksum failed count
	GroupWikiRepositoriesChecksumFailedCount int32 `json:"group_wiki_repositories_checksum_failed_count,omitempty"`
	// Group wiki repositories synced count
	GroupWikiRepositoriesSyncedCount int32 `json:"group_wiki_repositories_synced_count,omitempty"`
	// Group wiki repositories failed count
	GroupWikiRepositoriesFailedCount int32 `json:"group_wiki_repositories_failed_count,omitempty"`
	// Group wiki repositories registry count
	GroupWikiRepositoriesRegistryCount int32 `json:"group_wiki_repositories_registry_count,omitempty"`
	// Group wiki repositories verification total count
	GroupWikiRepositoriesVerificationTotalCount int32 `json:"group_wiki_repositories_verification_total_count,omitempty"`
	// Group wiki repositories verified count
	GroupWikiRepositoriesVerifiedCount int32 `json:"group_wiki_repositories_verified_count,omitempty"`
	// Group wiki repositories verification failed count
	GroupWikiRepositoriesVerificationFailedCount int32 `json:"group_wiki_repositories_verification_failed_count,omitempty"`
	// Pipeline artifacts count
	PipelineArtifactsCount int32 `json:"pipeline_artifacts_count,omitempty"`
	// Pipeline artifacts checksum total count
	PipelineArtifactsChecksumTotalCount int32 `json:"pipeline_artifacts_checksum_total_count,omitempty"`
	// Pipeline artifacts checksummed count
	PipelineArtifactsChecksummedCount int32 `json:"pipeline_artifacts_checksummed_count,omitempty"`
	// Pipeline artifacts checksum failed count
	PipelineArtifactsChecksumFailedCount int32 `json:"pipeline_artifacts_checksum_failed_count,omitempty"`
	// Pipeline artifacts synced count
	PipelineArtifactsSyncedCount int32 `json:"pipeline_artifacts_synced_count,omitempty"`
	// Pipeline artifacts failed count
	PipelineArtifactsFailedCount int32 `json:"pipeline_artifacts_failed_count,omitempty"`
	// Pipeline artifacts registry count
	PipelineArtifactsRegistryCount int32 `json:"pipeline_artifacts_registry_count,omitempty"`
	// Pipeline artifacts verification total count
	PipelineArtifactsVerificationTotalCount int32 `json:"pipeline_artifacts_verification_total_count,omitempty"`
	// Pipeline artifacts verified count
	PipelineArtifactsVerifiedCount int32 `json:"pipeline_artifacts_verified_count,omitempty"`
	// Pipeline artifacts verification failed count
	PipelineArtifactsVerificationFailedCount int32 `json:"pipeline_artifacts_verification_failed_count,omitempty"`
	// Pages deployments count
	PagesDeploymentsCount int32 `json:"pages_deployments_count,omitempty"`
	// Pages deployments checksum total count
	PagesDeploymentsChecksumTotalCount int32 `json:"pages_deployments_checksum_total_count,omitempty"`
	// Pages deployments checksummed count
	PagesDeploymentsChecksummedCount int32 `json:"pages_deployments_checksummed_count,omitempty"`
	// Pages deployments checksum failed count
	PagesDeploymentsChecksumFailedCount int32 `json:"pages_deployments_checksum_failed_count,omitempty"`
	// Pages deployments synced count
	PagesDeploymentsSyncedCount int32 `json:"pages_deployments_synced_count,omitempty"`
	// Pages deployments failed count
	PagesDeploymentsFailedCount int32 `json:"pages_deployments_failed_count,omitempty"`
	// Pages deployments registry count
	PagesDeploymentsRegistryCount int32 `json:"pages_deployments_registry_count,omitempty"`
	// Pages deployments verification total count
	PagesDeploymentsVerificationTotalCount int32 `json:"pages_deployments_verification_total_count,omitempty"`
	// Pages deployments verified count
	PagesDeploymentsVerifiedCount int32 `json:"pages_deployments_verified_count,omitempty"`
	// Pages deployments verification failed count
	PagesDeploymentsVerificationFailedCount int32 `json:"pages_deployments_verification_failed_count,omitempty"`
	// Uploads count
	UploadsCount int32 `json:"uploads_count,omitempty"`
	// Uploads checksum total count
	UploadsChecksumTotalCount int32 `json:"uploads_checksum_total_count,omitempty"`
	// Uploads checksummed count
	UploadsChecksummedCount int32 `json:"uploads_checksummed_count,omitempty"`
	// Uploads checksum failed count
	UploadsChecksumFailedCount int32 `json:"uploads_checksum_failed_count,omitempty"`
	// Uploads synced count
	UploadsSyncedCount int32 `json:"uploads_synced_count,omitempty"`
	// Uploads failed count
	UploadsFailedCount int32 `json:"uploads_failed_count,omitempty"`
	// Uploads registry count
	UploadsRegistryCount int32 `json:"uploads_registry_count,omitempty"`
	// Uploads verification total count
	UploadsVerificationTotalCount int32 `json:"uploads_verification_total_count,omitempty"`
	// Uploads verified count
	UploadsVerifiedCount int32 `json:"uploads_verified_count,omitempty"`
	// Uploads verification failed count
	UploadsVerificationFailedCount int32 `json:"uploads_verification_failed_count,omitempty"`
	// Job artifacts count
	JobArtifactsCount int32 `json:"job_artifacts_count,omitempty"`
	// Job artifacts checksum total count
	JobArtifactsChecksumTotalCount int32 `json:"job_artifacts_checksum_total_count,omitempty"`
	// Job artifacts checksummed count
	JobArtifactsChecksummedCount int32 `json:"job_artifacts_checksummed_count,omitempty"`
	// Job artifacts checksum failed count
	JobArtifactsChecksumFailedCount int32 `json:"job_artifacts_checksum_failed_count,omitempty"`
	// Job artifacts synced count
	JobArtifactsSyncedCount int32 `json:"job_artifacts_synced_count,omitempty"`
	// Job artifacts failed count
	JobArtifactsFailedCount int32 `json:"job_artifacts_failed_count,omitempty"`
	// Job artifacts registry count
	JobArtifactsRegistryCount int32 `json:"job_artifacts_registry_count,omitempty"`
	// Job artifacts verification total count
	JobArtifactsVerificationTotalCount int32 `json:"job_artifacts_verification_total_count,omitempty"`
	// Job artifacts verified count
	JobArtifactsVerifiedCount int32 `json:"job_artifacts_verified_count,omitempty"`
	// Job artifacts verification failed count
	JobArtifactsVerificationFailedCount int32 `json:"job_artifacts_verification_failed_count,omitempty"`
	// CI secure files count
	CiSecureFilesCount int32 `json:"ci_secure_files_count,omitempty"`
	// CI secure files checksum total count
	CiSecureFilesChecksumTotalCount int32 `json:"ci_secure_files_checksum_total_count,omitempty"`
	// CI secure files checksummed count
	CiSecureFilesChecksummedCount int32 `json:"ci_secure_files_checksummed_count,omitempty"`
	// CI secure files checksum failed count
	CiSecureFilesChecksumFailedCount int32 `json:"ci_secure_files_checksum_failed_count,omitempty"`
	// CI secure files synced count
	CiSecureFilesSyncedCount int32 `json:"ci_secure_files_synced_count,omitempty"`
	// CI secure files failed count
	CiSecureFilesFailedCount int32 `json:"ci_secure_files_failed_count,omitempty"`
	// CI secure files registry count
	CiSecureFilesRegistryCount int32 `json:"ci_secure_files_registry_count,omitempty"`
	// CI secure files verification total count
	CiSecureFilesVerificationTotalCount int32 `json:"ci_secure_files_verification_total_count,omitempty"`
	// CI secure files verified count
	CiSecureFilesVerifiedCount int32 `json:"ci_secure_files_verified_count,omitempty"`
	// CI secure files verification failed count
	CiSecureFilesVerificationFailedCount int32 `json:"ci_secure_files_verification_failed_count,omitempty"`
	// Container repositories count
	ContainerRepositoriesCount int32 `json:"container_repositories_count,omitempty"`
	// Container repositories checksum total count
	ContainerRepositoriesChecksumTotalCount int32 `json:"container_repositories_checksum_total_count,omitempty"`
	// Container repositories checksummed count
	ContainerRepositoriesChecksummedCount int32 `json:"container_repositories_checksummed_count,omitempty"`
	// Container repositories checksum failed count
	ContainerRepositoriesChecksumFailedCount int32 `json:"container_repositories_checksum_failed_count,omitempty"`
	// Container repositories synced count
	ContainerRepositoriesSyncedCount int32 `json:"container_repositories_synced_count,omitempty"`
	// Container repositories failed count
	ContainerRepositoriesFailedCount int32 `json:"container_repositories_failed_count,omitempty"`
	// Container repositories registry count
	ContainerRepositoriesRegistryCount int32 `json:"container_repositories_registry_count,omitempty"`
	// Container repositories verification total count
	ContainerRepositoriesVerificationTotalCount int32 `json:"container_repositories_verification_total_count,omitempty"`
	// Container repositories verified count
	ContainerRepositoriesVerifiedCount int32 `json:"container_repositories_verified_count,omitempty"`
	// Container repositories verification failed count
	ContainerRepositoriesVerificationFailedCount int32 `json:"container_repositories_verification_failed_count,omitempty"`
	// Git fetch event count weekly
	GitFetchEventCountWeekly int32 `json:"git_fetch_event_count_weekly,omitempty"`
	// Git push event count weekly
	GitPushEventCountWeekly int32 `json:"git_push_event_count_weekly,omitempty"`
	// Proxy remote requests event count weekly
	ProxyRemoteRequestsEventCountWeekly int32 `json:"proxy_remote_requests_event_count_weekly,omitempty"`
	// Proxy local requests event count weekly
	ProxyLocalRequestsEventCountWeekly int32 `json:"proxy_local_requests_event_count_weekly,omitempty"`
}

type PostApiV4Groups

type PostApiV4Groups struct {
	// The name of the group
	Name string `json:"name"`
	// The path of the group
	Path string `json:"path"`
	// The parent group id for creating nested group
	ParentId int32 `json:"parent_id,omitempty"`
	// The organization id for the group
	OrganizationId int32 `json:"organization_id,omitempty"`
	// The description of the group
	Description string `json:"description,omitempty"`
	// The visibility of the group
	Visibility string `json:"visibility,omitempty"`
	// Avatar image for the group
	Avatar **os.File `json:"avatar,omitempty"`
	// Prevent sharing a project with another group within this group
	ShareWithGroupLock bool `json:"share_with_group_lock,omitempty"`
	// Require all users in this group to setup Two-factor authentication
	RequireTwoFactorAuthentication bool `json:"require_two_factor_authentication,omitempty"`
	// Time before Two-factor authentication is enforced
	TwoFactorGracePeriod int32 `json:"two_factor_grace_period,omitempty"`
	// Determine if developers can create projects in the group
	ProjectCreationLevel string `json:"project_creation_level,omitempty"`
	// Default to Auto DevOps pipeline for all projects within this group
	AutoDevopsEnabled bool `json:"auto_devops_enabled,omitempty"`
	// Allowed to create subgroups
	SubgroupCreationLevel string `json:"subgroup_creation_level,omitempty"`
	// _(Deprecated)_ Disable email notifications. Use: emails_enabled
	EmailsDisabled bool `json:"emails_disabled,omitempty"`
	// Enable email notifications
	EmailsEnabled bool `json:"emails_enabled,omitempty"`
	// Include the code diff preview in merge request notification emails
	ShowDiffPreviewInEmail bool `json:"show_diff_preview_in_email,omitempty"`
	// Disable a group from getting mentioned
	MentionsDisabled bool `json:"mentions_disabled,omitempty"`
	// Enable/disable LFS for the projects in this group
	LfsEnabled bool `json:"lfs_enabled,omitempty"`
	// Allow users to request member access
	RequestAccessEnabled bool `json:"request_access_enabled,omitempty"`
	// The default branch of group's projects
	DefaultBranch string `json:"default_branch,omitempty"`
	// Determine if developers can push to default branch
	DefaultBranchProtection         int32                                           `json:"default_branch_protection,omitempty"`
	DefaultBranchProtectionDefaults *PostApiV4GroupsDefaultBranchProtectionDefaults `json:"default_branch_protection_defaults,omitempty"`
	// Enable/disable shared runners for the group and its subgroups and projects
	SharedRunnersSetting string `json:"shared_runners_setting,omitempty"`
	// Allow only the selected protocols to be used for Git access.
	EnabledGitAccessProtocol string `json:"enabled_git_access_protocol,omitempty"`
	// Prevent adding new members to projects within this group
	MembershipLock bool `json:"membership_lock,omitempty"`
	// LDAP Common Name
	LdapCn string `json:"ldap_cn,omitempty"`
	// A valid access level
	LdapAccess int32 `json:"ldap_access,omitempty"`
	// (admin-only) Compute minutes quota for this group
	SharedRunnersMinutesLimit int32 `json:"shared_runners_minutes_limit,omitempty"`
	// (admin-only) Extra compute minutes quota for this group
	ExtraSharedRunnersMinutesLimit int32 `json:"extra_shared_runners_minutes_limit,omitempty"`
	// Wiki access level. One of `disabled`, `private` or `enabled`
	WikiAccessLevel string `json:"wiki_access_level,omitempty"`
}

Create a group. Available only for users who can create groups.

type PostApiV4GroupsDefaultBranchProtectionDefaults

type PostApiV4GroupsDefaultBranchProtectionDefaults struct {
	// An array of access levels allowed to push
	AllowedToPush []PostApiV4GroupsDefaultBranchProtectionDefaultsAllowedToPush `json:"allowed_to_push,omitempty"`
	// Allow force push for all users with push access.
	AllowForcePush bool `json:"allow_force_push,omitempty"`
	// An array of access levels allowed to merge
	AllowedToMerge []PostApiV4GroupsDefaultBranchProtectionDefaultsAllowedToPush `json:"allowed_to_merge,omitempty"`
	// Require approval from code owners
	CodeOwnerApprovalRequired bool `json:"code_owner_approval_required,omitempty"`
	// Allow developers to initial push
	DeveloperCanInitialPush bool `json:"developer_can_initial_push,omitempty"`
}

Determine if developers can push to default branch

type PostApiV4GroupsDefaultBranchProtectionDefaultsAllowedToPush

type PostApiV4GroupsDefaultBranchProtectionDefaultsAllowedToPush struct {
	// A valid access level
	AccessLevel int32 `json:"access_level"`
}

type PostApiV4GroupsIdAccessTokens

type PostApiV4GroupsIdAccessTokens struct {
	// Resource access token name
	Name string `json:"name"`
	// The permissions of the token
	Scopes []string `json:"scopes"`
	// The expiration date of the token
	ExpiresAt string `json:"expires_at"`
	// The access level of the token in the group
	AccessLevel int32 `json:"access_level,omitempty"`
}

Create a resource access token

type PostApiV4GroupsIdAccessTokensTokenIdRotate

type PostApiV4GroupsIdAccessTokensTokenIdRotate struct {
	// The expiration date of the token
	ExpiresAt string `json:"expires_at,omitempty"`
}

Rotate a resource access token

type PostApiV4GroupsIdBadges

type PostApiV4GroupsIdBadges struct {
	// URL of the badge link
	LinkUrl string `json:"link_url"`
	// URL of the badge image
	ImageUrl string `json:"image_url"`
	// Name for the badge
	Name string `json:"name,omitempty"`
}

Adds a badge to a group.

type PostApiV4GroupsIdClustersUser

type PostApiV4GroupsIdClustersUser struct {
	// Cluster name
	Name string `json:"name"`
	// Determines if cluster is active or not, defaults to true
	Enabled bool `json:"enabled,omitempty"`
	// The associated environment to the cluster
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// Deploy each environment to a separate Kubernetes namespace
	NamespacePerEnvironment bool `json:"namespace_per_environment,omitempty"`
	// Cluster base domain
	Domain string `json:"domain,omitempty"`
	// The ID of the management project
	ManagementProjectId int32 `json:"management_project_id,omitempty"`
	// Determines if GitLab will manage namespaces and service accounts for this cluster, defaults to true
	Managed                      bool                                                       `json:"managed,omitempty"`
	PlatformKubernetesAttributes *PostApiV4GroupsIdClustersUserPlatformKubernetesAttributes `json:"platform_kubernetes_attributes"`
}

Add existing cluster to group

type PostApiV4GroupsIdClustersUserPlatformKubernetesAttributes

type PostApiV4GroupsIdClustersUserPlatformKubernetesAttributes struct {
	// URL to access the Kubernetes API
	ApiUrl string `json:"api_url"`
	// Token to authenticate against Kubernetes
	Token string `json:"token"`
	// TLS certificate (needed if API is using a self-signed TLS certificate)
	CaCert string `json:"ca_cert,omitempty"`
	// Unique namespace related to Group
	Namespace string `json:"namespace,omitempty"`
	// Cluster authorization type, defaults to RBAC
	AuthorizationType string `json:"authorization_type,omitempty"`
}

Platform Kubernetes data

type PostApiV4GroupsIdDebianDistributions

type PostApiV4GroupsIdDebianDistributions struct {
	// The Debian Codename
	Codename string `json:"codename"`
	// The Debian Suite
	Suite string `json:"suite,omitempty"`
	// The Debian Origin
	Origin string `json:"origin,omitempty"`
	// The Debian Label
	Label string `json:"label,omitempty"`
	// The Debian Version
	Version string `json:"version,omitempty"`
	// The Debian Description
	Description string `json:"description,omitempty"`
	// The duration before the Release file should be considered expired by the client
	ValidTimeDurationSeconds int32 `json:"valid_time_duration_seconds,omitempty"`
	// The list of Components
	Components []string `json:"components,omitempty"`
	// The list of Architectures
	Architectures []string `json:"architectures,omitempty"`
}

Create a Debian Distribution

type PostApiV4GroupsIdDeployTokens

type PostApiV4GroupsIdDeployTokens struct {
	// New deploy token's name
	Name string `json:"name"`
	// Indicates the deploy token scopes. Must be at least one of `read_repository`, `read_registry`, `write_registry`, `read_package_registry`, or `write_package_registry`
	Scopes []string `json:"scopes"`
	// Expiration date for the deploy token. Does not expire if no value is provided. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`)
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	// Username for deploy token. Default is `gitlab+deploy-token-{n}`
	Username string `json:"username,omitempty"`
}

Create a group deploy token

type PostApiV4GroupsIdExportRelations

type PostApiV4GroupsIdExportRelations struct {
	// Whether to export in batches
	Batched bool `json:"batched,omitempty"`
}

Start relations export

type PostApiV4GroupsIdInvitations

type PostApiV4GroupsIdInvitations struct {
	// A valid access level (defaults: `30`, developer access level)
	AccessLevel int32 `json:"access_level"`
	// The email address to invite, or multiple emails separated by comma
	Email []string `json:"email,omitempty"`
	// The user ID of the new member or multiple IDs separated by commas.
	UserId []string `json:"user_id,omitempty"`
	// Date string in the format YEAR-MONTH-DAY
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	// Source that triggered the member creation process
	InviteSource string `json:"invite_source,omitempty"`
}

Invite non-members by email address to a group or project.

type PostApiV4GroupsIdMembers

type PostApiV4GroupsIdMembers struct {
	// A valid access level (defaults: `30`, developer access level)
	AccessLevel int32 `json:"access_level"`
	// The user ID of the new member or multiple IDs separated by commas.
	UserId int32 `json:"user_id,omitempty"`
	// The username of the new member or multiple usernames separated by commas.
	Username string `json:"username,omitempty"`
	// Date string in the format YEAR-MONTH-DAY
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	// Source that triggered the member creation process
	InviteSource string `json:"invite_source,omitempty"`
}

Adds a member to a group or project.

type PostApiV4GroupsIdShare

type PostApiV4GroupsIdShare struct {
	// The ID of the group to share
	GroupId int32 `json:"group_id"`
	// The group access level
	GroupAccess int32 `json:"group_access"`
	// Share expiration date
	ExpiresAt string `json:"expires_at,omitempty"`
}

Share a group with a group

type PostApiV4GroupsIdSshCertificates

type PostApiV4GroupsIdSshCertificates struct {
	// The title of the ssh certificate
	Title string `json:"title"`
	// The key of the ssh certificate
	Key string `json:"key"`
}

Create a ssh certificate for a group.

type PostApiV4GroupsIdTransfer

type PostApiV4GroupsIdTransfer struct {
	// The ID of the target group to which the group needs to be transferred to.If not provided, the source group will be promoted to a root group.
	GroupId int32 `json:"group_id,omitempty"`
}

Transfer a group to a new parent group or promote a subgroup to a root group

type PostApiV4GroupsIdVariables

type PostApiV4GroupsIdVariables struct {
	// The ID of a group or URL-encoded path of the group owned by the         authenticated user
	Key string `json:"key"`
	// The value of a variable
	Value string `json:"value"`
	// Whether the variable is protected
	Protected string `json:"protected,omitempty"`
	// Whether the variable is masked and hidden
	MaskedAndHidden string `json:"masked_and_hidden,omitempty"`
	// Whether the variable is masked
	Masked string `json:"masked,omitempty"`
	// Whether the variable will be expanded
	Raw string `json:"raw,omitempty"`
	// The type of the variable. Default: env_var
	VariableType string `json:"variable_type,omitempty"`
	// The environment scope of the variable
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// The description of the variable
	Description string `json:"description,omitempty"`
}

Create a new variable in a group

type PostApiV4GroupsIdWikis

type PostApiV4GroupsIdWikis struct {
	// Title of a wiki page
	Title       string                             `json:"title"`
	FrontMatter *PostApiV4GroupsIdWikisFrontMatter `json:"front_matter,omitempty"`
	// Content of a wiki page
	Content string `json:"content"`
	// Format of a wiki page. Available formats are markdown, rdoc, asciidoc and org
	Format string `json:"format,omitempty"`
}

Create a wiki page

type PostApiV4GroupsIdWikisAttachments

type PostApiV4GroupsIdWikisAttachments struct {
	// The attachment file to be uploaded
	File **os.File `json:"file"`
	// The name of the branch
	Branch string `json:"branch,omitempty"`
}

Upload an attachment to the wiki repository

type PostApiV4GroupsIdWikisFrontMatter

type PostApiV4GroupsIdWikisFrontMatter struct {
	// Front matter title of a wiki page
	Title string `json:"title,omitempty"`
}

type PostApiV4Hooks

type PostApiV4Hooks struct {
	// The URL to send the request to
	Url string `json:"url"`
	// Name of the hook
	Name string `json:"name,omitempty"`
	// Description of the hook
	Description string `json:"description,omitempty"`
	// Secret token to validate received payloads; this isn't returned in the response
	Token string `json:"token,omitempty"`
	// When true, the hook fires on push events
	PushEvents bool `json:"push_events,omitempty"`
	// When true, the hook fires on new tags being pushed
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger hook on merge requests events
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger hook on repository update events
	RepositoryUpdateEvents bool `json:"repository_update_events,omitempty"`
	// Do SSL verification when triggering the hook
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// URL variables for interpolation
	UrlVariables []PostApiV4ProjectsIdHooksUrlVariables `json:"url_variables,omitempty"`
}

Add new system hook

type PostApiV4ImportBitbucket

type PostApiV4ImportBitbucket struct {
	// BitBucket username
	BitbucketUsername string `json:"bitbucket_username"`
	// BitBucket app password
	BitbucketAppPassword string `json:"bitbucket_app_password"`
	// Repository path
	RepoPath string `json:"repo_path"`
	// Target namespace
	TargetNamespace string `json:"target_namespace"`
	// New repository name
	NewName string `json:"new_name,omitempty"`
}

Import a BitBucket Cloud repository

type PostApiV4ImportBitbucketServer

type PostApiV4ImportBitbucketServer struct {
	// Bitbucket Server URL
	BitbucketServerUrl string `json:"bitbucket_server_url"`
	// BitBucket Server Username
	BitbucketServerUsername string `json:"bitbucket_server_username"`
	// BitBucket Server personal access token/password
	PersonalAccessToken string `json:"personal_access_token"`
	// BitBucket Server Project Key
	BitbucketServerProject string `json:"bitbucket_server_project"`
	// BitBucket Server Repository Name
	BitbucketServerRepo string `json:"bitbucket_server_repo"`
	// New repo name
	NewName string `json:"new_name,omitempty"`
	// Namespace to import repo into
	NewNamespace string `json:"new_namespace,omitempty"`
	// Strategy for behavior on timeouts
	TimeoutStrategy string `json:"timeout_strategy,omitempty"`
}

Import a BitBucket Server repository

type PostApiV4ImportGithub

type PostApiV4ImportGithub struct {
	// GitHub personal access token
	PersonalAccessToken string `json:"personal_access_token"`
	// GitHub repository ID
	RepoId int32 `json:"repo_id"`
	// New repo name
	NewName string `json:"new_name,omitempty"`
	// Namespace or group to import repository into
	TargetNamespace string `json:"target_namespace"`
	// Custom GitHub enterprise hostname
	GithubHostname string `json:"github_hostname,omitempty"`
	// Optional stages of import to be performed
	OptionalStages interface{} `json:"optional_stages,omitempty"`
	// Strategy for behavior on timeouts
	TimeoutStrategy string `json:"timeout_strategy,omitempty"`
}

Import a GitHub project

type PostApiV4ImportGithubCancel

type PostApiV4ImportGithubCancel struct {
	// ID of importing project to be canceled
	ProjectId int32 `json:"project_id"`
}

Cancel GitHub project import

type PostApiV4ImportGithubGists

type PostApiV4ImportGithubGists struct {
	// GitHub personal access token
	PersonalAccessToken string `json:"personal_access_token"`
}

Import User Gists

type PostApiV4IntegrationsJiraConnectSubscriptions

type PostApiV4IntegrationsJiraConnectSubscriptions struct {
	// JWT token for authorization with the Jira Connect installation
	Jwt string `json:"jwt"`
	// Path for the namespace that should be subscribed
	NamespacePath string `json:"namespace_path"`
}

Subscribe a namespace to a JiraConnectInstallation

type PostApiV4IntegrationsSlackEvents

type PostApiV4IntegrationsSlackEvents struct {
	// (Deprecated by Slack) The request token, unused by GitLab
	Token string `json:"token,omitempty"`
	// The Slack workspace ID of where the event occurred
	TeamId string `json:"team_id,omitempty"`
	// The Slack app ID
	ApiAppId string `json:"api_app_id,omitempty"`
	// The event object with variable properties
	Event interface{} `json:"event,omitempty"`
	// The kind of event this is, usually `event_callback`
	Type_ string `json:"type,omitempty"`
	// A unique identifier for this specific event
	EventId string `json:"event_id,omitempty"`
	// The epoch timestamp in seconds when this event was dispatched
	EventTime int32 `json:"event_time,omitempty"`
	// (Deprecated by Slack) An array of Slack user IDs
	AuthedUsers []string `json:"authed_users,omitempty"`
}

Receive Slack events

type PostApiV4JobsIdArtifacts

type PostApiV4JobsIdArtifacts struct {
	// The artifact file to store (generated by Multipart middleware)
	File **os.File `json:"file"`
	// Job's authentication token
	Token string `json:"token,omitempty"`
	// Specify when artifact should expire
	ExpireIn string `json:"expire_in,omitempty"`
	// The type of artifact
	ArtifactType string `json:"artifact_type,omitempty"`
	// The format of artifact
	ArtifactFormat string `json:"artifact_format,omitempty"`
	// The artifact metadata to store (generated by Multipart middleware)
	Metadata **os.File `json:"metadata,omitempty"`
	// Specify accessibility level of artifact private/public
	Accessibility string `json:"accessibility,omitempty"`
}

Upload a job artifact

type PostApiV4JobsIdArtifactsAuthorize

type PostApiV4JobsIdArtifactsAuthorize struct {
	// Job's authentication token
	Token string `json:"token,omitempty"`
	// Size of artifact file
	Filesize int32 `json:"filesize,omitempty"`
	// The type of artifact
	ArtifactType string `json:"artifact_type,omitempty"`
}

Authorize uploading job artifact

type PostApiV4JobsRequest

type PostApiV4JobsRequest struct {
	// Runner's authentication token
	Token string `json:"token"`
	// Runner's system identifier
	SystemId string `json:"system_id,omitempty"`
	// Runner's queue last_update token
	LastUpdate string                       `json:"last_update,omitempty"`
	Info       *PostApiV4JobsRequestInfo    `json:"info,omitempty"`
	Session    *PostApiV4JobsRequestSession `json:"session,omitempty"`
}

Request a job

type PostApiV4JobsRequestInfo

type PostApiV4JobsRequestInfo struct {
	// Runner's name
	Name string `json:"name,omitempty"`
	// Runner's version
	Version string `json:"version,omitempty"`
	// Runner's revision
	Revision string `json:"revision,omitempty"`
	// Runner's platform
	Platform string `json:"platform,omitempty"`
	// Runner's architecture
	Architecture string `json:"architecture,omitempty"`
	// Runner's executor
	Executor string `json:"executor,omitempty"`
	// Runner's features
	Features interface{}                     `json:"features,omitempty"`
	Config   *PostApiV4JobsRequestInfoConfig `json:"config,omitempty"`
}

Runner's metadata

type PostApiV4JobsRequestInfoConfig

type PostApiV4JobsRequestInfoConfig struct {
	// GPUs enabled
	Gpus string `json:"gpus,omitempty"`
}

Runner's config

type PostApiV4JobsRequestSession

type PostApiV4JobsRequestSession struct {
	// Session's url
	Url string `json:"url,omitempty"`
	// Session's certificate
	Certificate string `json:"certificate,omitempty"`
	// Session's authorization
	Authorization string `json:"authorization,omitempty"`
}

Runner's session data

type PostApiV4Markdown

type PostApiV4Markdown struct {
	// The Markdown text to render
	Text string `json:"text"`
	// Render text using GitLab Flavored Markdown. Default is false
	Gfm bool `json:"gfm,omitempty"`
	// Use project as a context when creating references using GitLab Flavored Markdown
	Project string `json:"project,omitempty"`
}

Render an arbitrary Markdown document

type PostApiV4NamespacesIdGitlabSubscription

type PostApiV4NamespacesIdGitlabSubscription struct {
	// The date when subscription was started
	StartDate string `json:"start_date"`
	// Number of seats in subscription
	Seats int32 `json:"seats,omitempty"`
	// Highest number of active users in the last month
	MaxSeatsUsed int32 `json:"max_seats_used,omitempty"`
	// Subscription tier code
	PlanCode string `json:"plan_code,omitempty"`
	// End date of subscription
	EndDate string `json:"end_date,omitempty"`
	// Whether subscription will auto renew on end date
	AutoRenew bool `json:"auto_renew,omitempty"`
	// Whether the subscription is a trial
	Trial bool `json:"trial,omitempty"`
	// End date of trial
	TrialEndsOn string `json:"trial_ends_on,omitempty"`
	// Start date of trial
	TrialStartsOn string `json:"trial_starts_on,omitempty"`
	// Whether subscription is an extended or reactivated trial
	TrialExtensionType int32 `json:"trial_extension_type,omitempty"`
}

Create a subscription for the namespace

type PostApiV4NamespacesIdStorageLimitExclusion

type PostApiV4NamespacesIdStorageLimitExclusion struct {
	// The reason the Namespace is being excluded
	Reason string `json:"reason"`
}

Creates a storage limit exclusion for a Namespace

type PostApiV4PersonalAccessTokensIdRotate

type PostApiV4PersonalAccessTokensIdRotate struct {
	// The expiration date of the token
	ExpiresAt string `json:"expires_at,omitempty"`
}

Rotate personal access token

type PostApiV4PersonalAccessTokensSelfRotate

type PostApiV4PersonalAccessTokensSelfRotate struct {
	// The expiration date of the token
	ExpiresAt string `json:"expires_at,omitempty"`
}

Rotate a personal access token

type PostApiV4ProjectRepositoryStorageMoves

type PostApiV4ProjectRepositoryStorageMoves struct {
	// The source storage shard
	SourceStorageName string `json:"source_storage_name"`
	// The destination storage shard
	DestinationStorageName string `json:"destination_storage_name,omitempty"`
}

Schedule bulk project repository storage moves

type PostApiV4Projects

type PostApiV4Projects struct {
	// The name of the project
	Name string `json:"name,omitempty"`
	// The path of the repository
	Path string `json:"path,omitempty"`
	// The default branch of the project
	DefaultBranch string `json:"default_branch,omitempty"`
	// The description of the project
	Description string `json:"description,omitempty"`
	// The Git strategy. Defaults to `fetch`
	BuildGitStrategy string `json:"build_git_strategy,omitempty"`
	// Build timeout
	BuildTimeout int32 `json:"build_timeout,omitempty"`
	// Auto-cancel pending pipelines
	AutoCancelPendingPipelines string `json:"auto_cancel_pending_pipelines,omitempty"`
	// The path to CI config file. Defaults to `.gitlab-ci.yml`
	CiConfigPath string `json:"ci_config_path,omitempty"`
	// Disable or enable the service desk
	ServiceDeskEnabled bool `json:"service_desk_enabled,omitempty"`
	// Flag indication if the issue tracker is enabled
	IssuesEnabled bool `json:"issues_enabled,omitempty"`
	// Flag indication if merge requests are enabled
	MergeRequestsEnabled bool `json:"merge_requests_enabled,omitempty"`
	// Flag indication if the wiki is enabled
	WikiEnabled bool `json:"wiki_enabled,omitempty"`
	// Flag indication if jobs are enabled
	JobsEnabled bool `json:"jobs_enabled,omitempty"`
	// Flag indication if snippets are enabled
	SnippetsEnabled bool `json:"snippets_enabled,omitempty"`
	// Issues access level. One of `disabled`, `private` or `enabled`
	IssuesAccessLevel string `json:"issues_access_level,omitempty"`
	// Repository access level. One of `disabled`, `private` or `enabled`
	RepositoryAccessLevel string `json:"repository_access_level,omitempty"`
	// Merge requests access level. One of `disabled`, `private` or `enabled`
	MergeRequestsAccessLevel string `json:"merge_requests_access_level,omitempty"`
	// Forks access level. One of `disabled`, `private` or `enabled`
	ForkingAccessLevel string `json:"forking_access_level,omitempty"`
	// Wiki access level. One of `disabled`, `private` or `enabled`
	WikiAccessLevel string `json:"wiki_access_level,omitempty"`
	// Builds access level. One of `disabled`, `private` or `enabled`
	BuildsAccessLevel string `json:"builds_access_level,omitempty"`
	// Snippets access level. One of `disabled`, `private` or `enabled`
	SnippetsAccessLevel string `json:"snippets_access_level,omitempty"`
	// Pages access level. One of `disabled`, `private`, `enabled` or `public`
	PagesAccessLevel string `json:"pages_access_level,omitempty"`
	// Analytics access level. One of `disabled`, `private` or `enabled`
	AnalyticsAccessLevel string `json:"analytics_access_level,omitempty"`
	// Controls visibility of the container registry. One of `disabled`, `private` or `enabled`. `private` will make the container registry accessible only to project members (reporter role and above). `enabled` will make the container registry accessible to everyone who has access to the project. `disabled` will disable the container registry
	ContainerRegistryAccessLevel string `json:"container_registry_access_level,omitempty"`
	// Security and compliance access level. One of `disabled`, `private` or `enabled`
	SecurityAndComplianceAccessLevel string `json:"security_and_compliance_access_level,omitempty"`
	// Releases access level. One of `disabled`, `private` or `enabled`
	ReleasesAccessLevel string `json:"releases_access_level,omitempty"`
	// Environments access level. One of `disabled`, `private` or `enabled`
	EnvironmentsAccessLevel string `json:"environments_access_level,omitempty"`
	// Feature flags access level. One of `disabled`, `private` or `enabled`
	FeatureFlagsAccessLevel string `json:"feature_flags_access_level,omitempty"`
	// Infrastructure access level. One of `disabled`, `private` or `enabled`
	InfrastructureAccessLevel string `json:"infrastructure_access_level,omitempty"`
	// Monitor access level. One of `disabled`, `private` or `enabled`
	MonitorAccessLevel string `json:"monitor_access_level,omitempty"`
	// Model experiments access level. One of `disabled`, `private` or `enabled`
	ModelExperimentsAccessLevel string `json:"model_experiments_access_level,omitempty"`
	// Model registry access level. One of `disabled`, `private` or `enabled`
	ModelRegistryAccessLevel string `json:"model_registry_access_level,omitempty"`
	// Deprecated: Use emails_enabled instead.
	EmailsDisabled bool `json:"emails_disabled,omitempty"`
	// Enable email notifications
	EmailsEnabled bool `json:"emails_enabled,omitempty"`
	// Show default award emojis
	ShowDefaultAwardEmojis bool `json:"show_default_award_emojis,omitempty"`
	// Include the code diff preview in merge request notification emails
	ShowDiffPreviewInEmail bool `json:"show_diff_preview_in_email,omitempty"`
	// Warn about potentially unwanted characters
	WarnAboutPotentiallyUnwantedCharacters bool `json:"warn_about_potentially_unwanted_characters,omitempty"`
	// Enforce auth check on uploads
	EnforceAuthChecksOnUploads bool `json:"enforce_auth_checks_on_uploads,omitempty"`
	// Flag indication if shared runners are enabled for that project
	SharedRunnersEnabled bool `json:"shared_runners_enabled,omitempty"`
	// Flag indication if group runners are enabled for that project
	GroupRunnersEnabled bool `json:"group_runners_enabled,omitempty"`
	// Automatically resolve merge request diff threads on lines changed with a push
	ResolveOutdatedDiffDiscussions bool `json:"resolve_outdated_diff_discussions,omitempty"`
	// Remove the source branch by default after merge
	RemoveSourceBranchAfterMerge bool `json:"remove_source_branch_after_merge,omitempty"`
	// Deprecated: Use :container_registry_access_level instead. Flag indication if the container registry is enabled for that project
	ContainerRegistryEnabled            bool                                                  `json:"container_registry_enabled,omitempty"`
	ContainerExpirationPolicyAttributes *PostApiV4ProjectsContainerExpirationPolicyAttributes `json:"container_expiration_policy_attributes,omitempty"`
	// Flag indication if Git LFS is enabled for that project
	LfsEnabled bool `json:"lfs_enabled,omitempty"`
	// The visibility of the project.
	Visibility string `json:"visibility,omitempty"`
	// Deprecated: Use public_jobs instead.
	PublicBuilds bool `json:"public_builds,omitempty"`
	// Perform public builds
	PublicJobs bool `json:"public_jobs,omitempty"`
	// Allow users to request member access
	RequestAccessEnabled bool `json:"request_access_enabled,omitempty"`
	// Only allow to merge if builds succeed
	OnlyAllowMergeIfPipelineSucceeds bool `json:"only_allow_merge_if_pipeline_succeeds,omitempty"`
	// Allow to merge if pipeline is skipped
	AllowMergeOnSkippedPipeline bool `json:"allow_merge_on_skipped_pipeline,omitempty"`
	// Only allow to merge if all threads are resolved
	OnlyAllowMergeIfAllDiscussionsAreResolved bool `json:"only_allow_merge_if_all_discussions_are_resolved,omitempty"`
	// Deprecated: Use :topics instead
	TagList []string `json:"tag_list,omitempty"`
	// The list of topics for a project
	Topics []string `json:"topics,omitempty"`
	// Avatar image for project
	Avatar **os.File `json:"avatar,omitempty"`
	// Show link to create/view merge request when pushing from the command line
	PrintingMergeRequestLinkEnabled bool `json:"printing_merge_request_link_enabled,omitempty"`
	// The merge method used when merging merge requests
	MergeMethod string `json:"merge_method,omitempty"`
	// The commit message used to apply merge request suggestions
	SuggestionCommitMessage string `json:"suggestion_commit_message,omitempty"`
	// Template used to create merge commit message
	MergeCommitTemplate string `json:"merge_commit_template,omitempty"`
	// Template used to create squash commit message
	SquashCommitTemplate string `json:"squash_commit_template,omitempty"`
	// Template used to create a branch from an issue
	IssueBranchTemplate string `json:"issue_branch_template,omitempty"`
	// Initialize a project with a README.md
	InitializeWithReadme bool `json:"initialize_with_readme,omitempty"`
	// Flag indication if Auto DevOps is enabled
	AutoDevopsEnabled bool `json:"auto_devops_enabled,omitempty"`
	// Auto Deploy strategy
	AutoDevopsDeployStrategy string `json:"auto_devops_deploy_strategy,omitempty"`
	// Flag indication if referenced issues auto-closing is enabled
	AutocloseReferencedIssues bool `json:"autoclose_referenced_issues,omitempty"`
	// Which storage shard the repository is on. Available only to admins
	RepositoryStorage string `json:"repository_storage,omitempty"`
	// Enable project packages feature
	PackagesEnabled bool `json:"packages_enabled,omitempty"`
	// Squash default for project. One of `never`, `always`, `default_on`, or `default_off`.
	SquashOption string `json:"squash_option,omitempty"`
	// Merge requests of this forked project targets itself by default
	MrDefaultTargetSelf bool `json:"mr_default_target_self,omitempty"`
	// Blocks merge requests from merging unless all status checks have passed
	OnlyAllowMergeIfAllStatusChecksPassed bool `json:"only_allow_merge_if_all_status_checks_passed,omitempty"`
	// How many approvers should approve merge request by default
	ApprovalsBeforeMerge int32 `json:"approvals_before_merge,omitempty"`
	// Enables pull mirroring in a project
	Mirror bool `json:"mirror,omitempty"`
	// Pull mirroring triggers builds
	MirrorTriggerBuilds bool `json:"mirror_trigger_builds,omitempty"`
	// The classification label for the project
	ExternalAuthorizationClassificationLabel string `json:"external_authorization_classification_label,omitempty"`
	// Requirements feature access level. One of `disabled`, `private` or `enabled`
	RequirementsAccessLevel string `json:"requirements_access_level,omitempty"`
	// Require an associated issue from Jira
	PreventMergeWithoutJiraIssue bool `json:"prevent_merge_without_jira_issue,omitempty"`
	// The object format of the project repository
	RepositoryObjectFormat string `json:"repository_object_format,omitempty"`
	// Use custom template
	UseCustomTemplate bool `json:"use_custom_template,omitempty"`
	// Group ID that serves as the template source
	GroupWithProjectTemplatesId int32 `json:"group_with_project_templates_id,omitempty"`
	// Namespace ID for the new project. Default to the user namespace.
	NamespaceId int32 `json:"namespace_id,omitempty"`
	// URL from which the project is imported
	ImportUrl string `json:"import_url,omitempty"`
	// Name of template from which to create project
	TemplateName string `json:"template_name,omitempty"`
	// Project ID of template from which to create project
	TemplateProjectId int32 `json:"template_project_id,omitempty"`
}

Create new project

type PostApiV4ProjectsContainerExpirationPolicyAttributes

type PostApiV4ProjectsContainerExpirationPolicyAttributes struct {
	// Container expiration policy cadence for recurring job
	Cadence string `json:"cadence,omitempty"`
	// Container expiration policy number of images to keep
	KeepN int32 `json:"keep_n,omitempty"`
	// Container expiration policy remove images older than value
	OlderThan string `json:"older_than,omitempty"`
	// Container expiration policy regex for image removal
	NameRegex string `json:"name_regex,omitempty"`
	// Container expiration policy regex for image retention
	NameRegexKeep string `json:"name_regex_keep,omitempty"`
	// Flag indication if container expiration policy is enabled
	Enabled bool `json:"enabled,omitempty"`
}

type PostApiV4ProjectsIdAccessTokens

type PostApiV4ProjectsIdAccessTokens struct {
	// Resource access token name
	Name string `json:"name"`
	// The permissions of the token
	Scopes []string `json:"scopes"`
	// The expiration date of the token
	ExpiresAt string `json:"expires_at"`
	// The access level of the token in the project
	AccessLevel int32 `json:"access_level,omitempty"`
}

Create a resource access token

type PostApiV4ProjectsIdAccessTokensTokenIdRotate

type PostApiV4ProjectsIdAccessTokensTokenIdRotate struct {
	// The expiration date of the token
	ExpiresAt string `json:"expires_at,omitempty"`
}

Rotate a resource access token

type PostApiV4ProjectsIdBadges

type PostApiV4ProjectsIdBadges struct {
	// URL of the badge link
	LinkUrl string `json:"link_url"`
	// URL of the badge image
	ImageUrl string `json:"image_url"`
	// Name for the badge
	Name string `json:"name,omitempty"`
}

Adds a badge to a project.

type PostApiV4ProjectsIdCiLint

type PostApiV4ProjectsIdCiLint struct {
	// Content of .gitlab-ci.yml
	Content string `json:"content"`
	// Run pipeline creation simulation, or only do static check. This is false by default
	DryRun bool `json:"dry_run,omitempty"`
	// If the list of jobs that would exist in a static check or pipeline         simulation should be included in the response. This is false by default
	IncludeJobs bool `json:"include_jobs,omitempty"`
	// When dry_run is true, sets the branch or tag to use. Defaults to the project’s default branch when not set
	Ref string `json:"ref,omitempty"`
}

Validate a CI YAML configuration with a namespace

type PostApiV4ProjectsIdClusterAgents

type PostApiV4ProjectsIdClusterAgents struct {
	// The name of the agent
	Name string `json:"name"`
}

Register an agent with a project

type PostApiV4ProjectsIdClusterAgentsAgentIdTokens

type PostApiV4ProjectsIdClusterAgentsAgentIdTokens struct {
	// The name for the token
	Name string `json:"name"`
	// The description for the token
	Description string `json:"description,omitempty"`
}

Create an agent token

type PostApiV4ProjectsIdClustersUser

type PostApiV4ProjectsIdClustersUser struct {
	// Cluster name
	Name string `json:"name"`
	// Determines if cluster is active or not, defaults to true
	Enabled bool `json:"enabled,omitempty"`
	// Cluster base domain
	Domain string `json:"domain,omitempty"`
	// The associated environment to the cluster
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// Deploy each environment to a separate Kubernetes namespace
	NamespacePerEnvironment bool `json:"namespace_per_environment,omitempty"`
	// The ID of the management project
	ManagementProjectId int32 `json:"management_project_id,omitempty"`
	// Determines if GitLab will manage namespaces and service accounts for this cluster, defaults to true
	Managed                      bool                                                         `json:"managed,omitempty"`
	PlatformKubernetesAttributes *PostApiV4ProjectsIdClustersUserPlatformKubernetesAttributes `json:"platform_kubernetes_attributes"`
}

Add existing cluster to project

type PostApiV4ProjectsIdClustersUserPlatformKubernetesAttributes

type PostApiV4ProjectsIdClustersUserPlatformKubernetesAttributes struct {
	// URL to access the Kubernetes API
	ApiUrl string `json:"api_url"`
	// Token to authenticate against Kubernetes
	Token string `json:"token"`
	// TLS certificate (needed if API is using a self-signed TLS certificate)
	CaCert string `json:"ca_cert,omitempty"`
	// Unique namespace related to Project
	Namespace string `json:"namespace,omitempty"`
	// Cluster authorization type, defaults to RBAC
	AuthorizationType string `json:"authorization_type,omitempty"`
}

Platform Kubernetes data

type PostApiV4ProjectsIdDebianDistributions

type PostApiV4ProjectsIdDebianDistributions struct {
	// The Debian Codename
	Codename string `json:"codename"`
	// The Debian Suite
	Suite string `json:"suite,omitempty"`
	// The Debian Origin
	Origin string `json:"origin,omitempty"`
	// The Debian Label
	Label string `json:"label,omitempty"`
	// The Debian Version
	Version string `json:"version,omitempty"`
	// The Debian Description
	Description string `json:"description,omitempty"`
	// The duration before the Release file should be considered expired by the client
	ValidTimeDurationSeconds int32 `json:"valid_time_duration_seconds,omitempty"`
	// The list of Components
	Components []string `json:"components,omitempty"`
	// The list of Architectures
	Architectures []string `json:"architectures,omitempty"`
}

Create a Debian Distribution

type PostApiV4ProjectsIdDeployKeys

type PostApiV4ProjectsIdDeployKeys struct {
	// New deploy key
	Key string `json:"key"`
	// New deploy key's title
	Title string `json:"title"`
	// Can deploy key push to the project's repository
	CanPush bool `json:"can_push,omitempty"`
	// The expiration date of the SSH key in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
	ExpiresAt time.Time `json:"expires_at,omitempty"`
}

Add deploy key

type PostApiV4ProjectsIdDeployTokens

type PostApiV4ProjectsIdDeployTokens struct {
	// New deploy token's name
	Name string `json:"name"`
	// Indicates the deploy token scopes. Must be at least one of `read_repository`, `read_registry`, `write_registry`, `read_package_registry`, or `write_package_registry`.
	Scopes []string `json:"scopes"`
	// Expiration date for the deploy token. Does not expire if no value is provided. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`).
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	// Username for deploy token. Default is `gitlab+deploy-token-{n}`
	Username string `json:"username,omitempty"`
}

Create a project deploy token

type PostApiV4ProjectsIdDeployments

type PostApiV4ProjectsIdDeployments struct {
	// The name of the environment to create the deployment for
	Environment string `json:"environment"`
	// The SHA of the commit that is deployed
	Sha string `json:"sha"`
	// The name of the branch or tag that is deployed
	Ref string `json:"ref"`
	// A boolean that indicates if the deployed ref is a tag (`true`) or not (`false`)
	Tag bool `json:"tag"`
	// The status of the deployment that is created. One of `running`, `success`, `failed`, or `canceled`
	Status string `json:"status"`
}

Create a deployment

type PostApiV4ProjectsIdDeploymentsDeploymentIdApproval

type PostApiV4ProjectsIdDeploymentsDeploymentIdApproval struct {
	// The status of the approval (either `approved` or `rejected`)
	Status string `json:"status"`
	// A comment to go with the approval
	Comment string `json:"comment,omitempty"`
	// The name of the User/Group/Role to use for the approval, when the user belongs to multiple approval rules
	RepresentedAs string `json:"represented_as,omitempty"`
}

Approve or reject a blocked deployment

type PostApiV4ProjectsIdEnvironments

type PostApiV4ProjectsIdEnvironments struct {
	// The name of the environment
	Name string `json:"name"`
	// Place to link to for this environment
	ExternalUrl string `json:"external_url,omitempty"`
	// The tier of the new environment. Allowed values are `production`, `staging`, `testing`, `development`, and `other`
	Tier string `json:"tier,omitempty"`
}

Create a new environment

type PostApiV4ProjectsIdEnvironmentsEnvironmentIdStop

type PostApiV4ProjectsIdEnvironmentsEnvironmentIdStop struct {
	// Force environment to stop without executing `on_stop` actions
	Force bool `json:"force,omitempty"`
}

Stop an environment

type PostApiV4ProjectsIdEnvironmentsStopStale

type PostApiV4ProjectsIdEnvironmentsStopStale struct {
	// Stop all environments that were last modified or deployed to before this date.
	Before time.Time `json:"before"`
}

Stop stale environments

type PostApiV4ProjectsIdExport

type PostApiV4ProjectsIdExport struct {
	// Override the project description
	Description string                           `json:"description,omitempty"`
	Upload      *PostApiV4ProjectsIdExportUpload `json:"upload,omitempty"`
}

Start export

type PostApiV4ProjectsIdExportRelations

type PostApiV4ProjectsIdExportRelations struct {
	// Whether to export in batches
	Batched bool `json:"batched,omitempty"`
}

Start relations export

type PostApiV4ProjectsIdExportUpload

type PostApiV4ProjectsIdExportUpload struct {
	// The URL to upload the project
	Url string `json:"url,omitempty"`
	// HTTP method to upload the exported project
	HttpMethod string `json:"http_method,omitempty"`
}

type PostApiV4ProjectsIdFeatureFlags

type PostApiV4ProjectsIdFeatureFlags struct {
	// The name of the feature flag
	Name string `json:"name"`
	// The description of the feature flag
	Description string `json:"description,omitempty"`
	// The active state of the flag. Defaults to `true`. Supported in GitLab 13.3 and later
	Active bool `json:"active,omitempty"`
	// The version of the feature flag. Must be `new_version_flag`. Omit to create a Legacy feature flag.
	Version    string                                      `json:"version,omitempty"`
	Strategies []PostApiV4ProjectsIdFeatureFlagsStrategies `json:"strategies,omitempty"`
}

Create a new feature flag

type PostApiV4ProjectsIdFeatureFlagsScopes

type PostApiV4ProjectsIdFeatureFlagsScopes struct {
	// The environment scope of the scope
	EnvironmentScope string `json:"environment_scope"`
}

type PostApiV4ProjectsIdFeatureFlagsStrategies

type PostApiV4ProjectsIdFeatureFlagsStrategies struct {
	// The strategy name. Can be `default`, `gradualRolloutUserId`, `userWithId`, or `gitlabUserList`. In GitLab 13.5 and later, can be `flexibleRollout`
	Name string `json:"name"`
	// The strategy parameters as a JSON-formatted string e.g. `{\"userIds\":\"user1\"}`
	Parameters string `json:"parameters,omitempty"`
	// The ID of the feature flag user list. If strategy is `gitlabUserList`.
	UserListId int32                                   `json:"user_list_id,omitempty"`
	Scopes     []PostApiV4ProjectsIdFeatureFlagsScopes `json:"scopes,omitempty"`
}

type PostApiV4ProjectsIdFeatureFlagsUserLists

type PostApiV4ProjectsIdFeatureFlagsUserLists struct {
	// The name of the list
	Name string `json:"name"`
	// A comma separated list of external user ids
	UserXids string `json:"user_xids"`
}

Create a feature flag user list

type PostApiV4ProjectsIdFork

type PostApiV4ProjectsIdFork struct {
	// (deprecated) The ID or name of the namespace that the project will be forked into
	Namespace string `json:"namespace,omitempty"`
	// The ID of the namespace that the project will be forked into
	NamespaceId int32 `json:"namespace_id,omitempty"`
	// The path of the namespace that the project will be forked into
	NamespacePath string `json:"namespace_path,omitempty"`
	// The path that will be assigned to the fork
	Path string `json:"path,omitempty"`
	// The name that will be assigned to the fork
	Name string `json:"name,omitempty"`
	// The description that will be assigned to the fork
	Description string `json:"description,omitempty"`
	// The visibility of the fork
	Visibility string `json:"visibility,omitempty"`
	// Merge requests of this forked project targets itself by default
	MrDefaultTargetSelf bool `json:"mr_default_target_self,omitempty"`
	// Branches to fork
	Branches string `json:"branches,omitempty"`
}

Fork new project for the current user or provided namespace.

type PostApiV4ProjectsIdFreezePeriods

type PostApiV4ProjectsIdFreezePeriods struct {
	// Start of the freeze period in cron format.
	FreezeStart string `json:"freeze_start"`
	// End of the freeze period in cron format
	FreezeEnd string `json:"freeze_end"`
	// The time zone for the cron fields, defaults to UTC if not provided
	CronTimezone string `json:"cron_timezone,omitempty"`
}

Create a freeze period

type PostApiV4ProjectsIdHooks

type PostApiV4ProjectsIdHooks struct {
	// The URL to send the request to
	Url string `json:"url"`
	// Name of the hook
	Name string `json:"name,omitempty"`
	// Description of the hook
	Description string `json:"description,omitempty"`
	// Trigger hook on push events
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger hook on issues events
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger hook on confidential issues events
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger hook on merge request events
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger hook on tag push events
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger hook on note (comment) events
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger hook on confidential note (comment) events
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger hook on job events
	JobEvents bool `json:"job_events,omitempty"`
	// Trigger hook on pipeline events
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger hook on wiki events
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger hook on deployment events
	DeploymentEvents bool `json:"deployment_events,omitempty"`
	// Trigger hook on release events
	ReleasesEvents bool `json:"releases_events,omitempty"`
	// Trigger hook on emoji events
	EmojiEvents bool `json:"emoji_events,omitempty"`
	// Trigger hook on project access token expiry events
	ResourceAccessTokenEvents bool `json:"resource_access_token_events,omitempty"`
	// Do SSL verification when triggering the hook
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// Secret token to validate received payloads; this will not be returned in the response
	Token string `json:"token,omitempty"`
	// Trigger hook on specified branch only
	PushEventsBranchFilter string `json:"push_events_branch_filter,omitempty"`
	// Custom template for the request payload
	CustomWebhookTemplate string `json:"custom_webhook_template,omitempty"`
	// URL variables for interpolation
	UrlVariables []PostApiV4ProjectsIdHooksUrlVariables `json:"url_variables,omitempty"`
}

Add project hook

type PostApiV4ProjectsIdHooksUrlVariables

type PostApiV4ProjectsIdHooksUrlVariables struct {
	// Name of the variable
	Key string `json:"key"`
	// Value of the variable
	Value string `json:"value"`
}

type PostApiV4ProjectsIdHousekeeping

type PostApiV4ProjectsIdHousekeeping struct {
	// `prune` to trigger manual prune of unreachable objects or `eager` to trigger eager housekeeping.
	Task string `json:"task,omitempty"`
}

Start the housekeeping task for a project

type PostApiV4ProjectsIdIntegrationsMattermostSlashCommandsTrigger

type PostApiV4ProjectsIdIntegrationsMattermostSlashCommandsTrigger struct {
	// The Mattermost token.
	Token string `json:"token"`
}

Trigger a slash command for mattermost-slash-commands

type PostApiV4ProjectsIdIntegrationsSlackSlashCommandsTrigger

type PostApiV4ProjectsIdIntegrationsSlackSlashCommandsTrigger struct {
	// The Slack token.
	Token string `json:"token"`
}

Trigger a slash command for slack-slash-commands

type PostApiV4ProjectsIdInvitations

type PostApiV4ProjectsIdInvitations struct {
	// A valid access level (defaults: `30`, developer access level)
	AccessLevel int32 `json:"access_level"`
	// The email address to invite, or multiple emails separated by comma
	Email []string `json:"email,omitempty"`
	// The user ID of the new member or multiple IDs separated by commas.
	UserId []string `json:"user_id,omitempty"`
	// Date string in the format YEAR-MONTH-DAY
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	// Source that triggered the member creation process
	InviteSource string `json:"invite_source,omitempty"`
}

Invite non-members by email address to a group or project.

type PostApiV4ProjectsIdIssuesIssueIidLinks struct {
	// The ID or URL-encoded path of a target project
	TargetProjectId string `json:"target_project_id"`
	// The internal ID of a target project’s issue
	TargetIssueIid string `json:"target_issue_iid"`
	// The type of the relation (“relates_to”, “blocks”, “is_blocked_by”),defaults to “relates_to”)
	LinkType string `json:"link_type,omitempty"`
}

Create an issue link

type PostApiV4ProjectsIdJobTokenScopeAllowlist

type PostApiV4ProjectsIdJobTokenScopeAllowlist struct {
	// ID of target project
	TargetProjectId int32 `json:"target_project_id"`
}

Add target project to allowlist.

type PostApiV4ProjectsIdJobTokenScopeGroupsAllowlist

type PostApiV4ProjectsIdJobTokenScopeGroupsAllowlist struct {
	// ID of target group
	TargetGroupId int32 `json:"target_group_id"`
}

Add target group to allowlist.

type PostApiV4ProjectsIdJobsJobIdPlay

type PostApiV4ProjectsIdJobsJobIdPlay struct {
	// User defined variables that will be included when running the job
	JobVariablesAttributes []PostApiV4ProjectsIdJobsJobIdPlayJobVariablesAttributes `json:"job_variables_attributes,omitempty"`
}

Trigger an actionable job (manual, delayed, etc)

type PostApiV4ProjectsIdJobsJobIdPlayJobVariablesAttributes

type PostApiV4ProjectsIdJobsJobIdPlayJobVariablesAttributes struct {
	// The name of the variable
	Key string `json:"key"`
	// The value of the variable
	Value string `json:"value"`
}

type PostApiV4ProjectsIdMembers

type PostApiV4ProjectsIdMembers struct {
	// A valid access level (defaults: `30`, developer access level)
	AccessLevel int32 `json:"access_level"`
	// The user ID of the new member or multiple IDs separated by commas.
	UserId int32 `json:"user_id,omitempty"`
	// The username of the new member or multiple usernames separated by commas.
	Username string `json:"username,omitempty"`
	// Date string in the format YEAR-MONTH-DAY
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	// Source that triggered the member creation process
	InviteSource string `json:"invite_source,omitempty"`
}

Adds a member to a group or project.

type PostApiV4ProjectsIdMergeRequests

type PostApiV4ProjectsIdMergeRequests struct {
	// The title of the merge request.
	Title string `json:"title"`
	// The source branch.
	SourceBranch string `json:"source_branch"`
	// The target branch.
	TargetBranch string `json:"target_branch"`
	// The target project of the merge request defaults to the :id of the project.
	TargetProjectId int32 `json:"target_project_id,omitempty"`
	// Assignee user ID.
	AssigneeId int32 `json:"assignee_id,omitempty"`
	// The IDs of the users to assign the merge request to, as a comma-separated list. Set to 0 or provide an empty value to unassign all assignees.
	AssigneeIds []int32 `json:"assignee_ids,omitempty"`
	// The IDs of the users to review the merge request, as a comma-separated list. Set to 0 or provide an empty value to unassign all reviewers.
	ReviewerIds []int32 `json:"reviewer_ids,omitempty"`
	// Description of the merge request. Limited to 1,048,576 characters.
	Description string `json:"description,omitempty"`
	// Comma-separated label names for a merge request. Set to an empty string to unassign all labels.
	Labels []string `json:"labels,omitempty"`
	// Comma-separated label names to add to a merge request.
	AddLabels []string `json:"add_labels,omitempty"`
	// Comma-separated label names to remove from a merge request.
	RemoveLabels []string `json:"remove_labels,omitempty"`
	// The global ID of a milestone to assign the merge reques to.
	MilestoneId int32 `json:"milestone_id,omitempty"`
	// Flag indicating if a merge request should remove the source branch when merging.
	RemoveSourceBranch bool `json:"remove_source_branch,omitempty"`
	// Allow commits from members who can merge to the target branch.
	AllowCollaboration bool `json:"allow_collaboration,omitempty"`
	// [deprecated] See allow_collaboration
	AllowMaintainerToPush bool `json:"allow_maintainer_to_push,omitempty"`
	// Squash commits into a single commit when merging.
	Squash bool `json:"squash,omitempty"`
	// Number of approvals required before this can be merged
	ApprovalsBeforeMerge int32 `json:"approvals_before_merge,omitempty"`
}

Create merge request

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTime

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidAddSpentTime struct {
	// The duration in human format.
	Duration string `json:"duration"`
}

Add spent time for a merge_request

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals struct {
	// The amount of approvals required. Must be higher than the project approvals
	ApprovalsRequired int32 `json:"approvals_required"`
}

Deprecated in 16.0: Use the merge request approvals API instead. Change approval-related configuration

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidApprove

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidApprove struct {
	// When present, must have the HEAD SHA of the source branch
	Sha string `json:"sha,omitempty"`
	// Current user's password if project is set to require explicit auth on approval
	ApprovalPassword string `json:"approval_password,omitempty"`
}

Approve a merge request

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidContextCommits struct {
	// The context commits’ SHA.
	Commits []string `json:"commits"`
}

Create merge request context commits

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes struct {
	// The content of a note.
	Note string `json:"note"`
	// The ID of a discussion the draft note replies to.
	InReplyToDiscussionId string `json:"in_reply_to_discussion_id,omitempty"`
	// The sha of a commit to associate the draft note to.
	CommitId string `json:"commit_id,omitempty"`
	// The associated discussion should be resolved.
	ResolveDiscussion bool                                                               `json:"resolve_discussion,omitempty"`
	Position          *PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPosition `json:"position,omitempty"`
}

Create a new draft note

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPosition

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPosition struct {
	// Base commit SHA in the source branch
	BaseSha string `json:"base_sha"`
	// SHA referencing commit in target branch
	StartSha string `json:"start_sha"`
	// SHA referencing HEAD of this merge request
	HeadSha string `json:"head_sha"`
	// Type of the position reference
	PositionType string `json:"position_type"`
	// File path after change
	NewPath string `json:"new_path,omitempty"`
	// Line number after change
	NewLine int32 `json:"new_line,omitempty"`
	// File path before change
	OldPath string `json:"old_path,omitempty"`
	// Line number before change
	OldLine int32 `json:"old_line,omitempty"`
	// Width of the image
	Width int32 `json:"width,omitempty"`
	// Height of the image
	Height int32 `json:"height,omitempty"`
	// X coordinate in the image
	X int32 `json:"x,omitempty"`
	// Y coordinate in the image
	Y         int32                                                                       `json:"y,omitempty"`
	LineRange *PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPositionLineRange `json:"line_range,omitempty"`
}

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPositionLineRange

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPositionLineRange struct {
	Start *PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPositionLineRangeStart `json:"start,omitempty"`
	End   *PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPositionLineRangeEnd   `json:"end,omitempty"`
}

Multi-line start and end

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPositionLineRangeEnd

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPositionLineRangeEnd struct {
	// End line code for multi-line note
	LineCode string `json:"line_code,omitempty"`
	// End line type for multi-line note
	Type_ string `json:"type,omitempty"`
	// End old_line line number
	OldLine string `json:"old_line,omitempty"`
	// End new_line line number
	NewLine string `json:"new_line,omitempty"`
}

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPositionLineRangeStart

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPositionLineRangeStart struct {
	// Start line code for multi-line note
	LineCode string `json:"line_code,omitempty"`
	// Start line type for multi-line note
	Type_ string `json:"type,omitempty"`
	// Start old_line line number
	OldLine string `json:"old_line,omitempty"`
	// Start new_line line number
	NewLine string `json:"new_line,omitempty"`
}

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimate

type PostApiV4ProjectsIdMergeRequestsMergeRequestIidTimeEstimate struct {
	// The duration in human format.
	Duration string `json:"duration"`
}

Set a time estimate for a merge_request

type PostApiV4ProjectsIdPackagesComposer

type PostApiV4ProjectsIdPackagesComposer struct {
	// The name of the branch
	Branch string `json:"branch,omitempty"`
	// The name of the tag
	Tag string `json:"tag,omitempty"`
}

Composer packages endpoint for registering packages

type PostApiV4ProjectsIdPackagesHelmApiChannelCharts

type PostApiV4ProjectsIdPackagesHelmApiChannelCharts struct {
	// The chart file to be published (generated by Multipart middleware)
	Chart **os.File `json:"chart"`
}

Upload a chart

type PostApiV4ProjectsIdPackagesPypi

type PostApiV4ProjectsIdPackagesPypi struct {
	// The package file to be published (generated by Multipart middleware)
	Content                **os.File `json:"content"`
	Name                   string    `json:"name"`
	Version                string    `json:"version"`
	RequiresPython         string    `json:"requires_python,omitempty"`
	Md5Digest              string    `json:"md5_digest,omitempty"`
	Sha256Digest           string    `json:"sha256_digest,omitempty"`
	MetadataVersion        string    `json:"metadata_version,omitempty"`
	AuthorEmail            string    `json:"author_email,omitempty"`
	Description            string    `json:"description,omitempty"`
	DescriptionContentType string    `json:"description_content_type,omitempty"`
	Summary                string    `json:"summary,omitempty"`
	Keywords               string    `json:"keywords,omitempty"`
}

The PyPi Package upload endpoint

type PostApiV4ProjectsIdPackagesRubygemsApiV1Gems

type PostApiV4ProjectsIdPackagesRubygemsApiV1Gems struct {
	// The package file to be published (generated by Multipart middleware)
	File **os.File `json:"file"`
}

Upload a gem

type PostApiV4ProjectsIdPagesDomains

type PostApiV4ProjectsIdPagesDomains struct {
	// The domain
	Domain string `json:"domain"`
	// The certificate
	Certificate **os.File `json:"certificate,omitempty"`
	// The key
	Key **os.File `json:"key,omitempty"`
	// Enables automatic generation of SSL certificates issued by Let's Encrypt for custom domains.
	AutoSslEnabled          bool   `json:"auto_ssl_enabled,omitempty"`
	UserProvidedCertificate string `json:"user_provided_certificate,omitempty"`
	UserProvidedKey         string `json:"user_provided_key,omitempty"`
}

Create a new pages domain

type PostApiV4ProjectsIdPipeline

type PostApiV4ProjectsIdPipeline struct {
	// Reference
	Ref string `json:"ref"`
	// Array of variables available in the pipeline
	Variables []PostApiV4ProjectsIdPipelineVariables `json:"variables,omitempty"`
}

Create a new pipeline

type PostApiV4ProjectsIdPipelineSchedules

type PostApiV4ProjectsIdPipelineSchedules struct {
	// The description of pipeline schedule
	Description string `json:"description"`
	// The branch/tag name will be triggered
	Ref string `json:"ref"`
	// The cron
	Cron string `json:"cron"`
	// The timezone
	CronTimezone string `json:"cron_timezone,omitempty"`
	// The activation of pipeline schedule
	Active bool `json:"active,omitempty"`
}

Create a new pipeline schedule

type PostApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables

type PostApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables struct {
	// The key of the variable
	Key string `json:"key"`
	// The value of the variable
	Value string `json:"value"`
	// The type of variable, must be one of env_var or file. Defaults to env_var
	VariableType string `json:"variable_type,omitempty"`
}

Create a new pipeline schedule variable

type PostApiV4ProjectsIdPipelineVariables

type PostApiV4ProjectsIdPipelineVariables struct {
	// The key of the variable
	Key string `json:"key,omitempty"`
	// The value of the variable
	Value string `json:"value,omitempty"`
	// The type of variable, must be one of env_var or file. Defaults to env_var
	VariableType string `json:"variable_type,omitempty"`
}

type PostApiV4ProjectsIdProtectedBranches

type PostApiV4ProjectsIdProtectedBranches struct {
	// The name of the protected branch
	Name string `json:"name"`
	// Access levels allowed to push (defaults: `40`, maintainer access level)
	PushAccessLevel int32 `json:"push_access_level,omitempty"`
	// Access levels allowed to merge (defaults: `40`, maintainer access level)
	MergeAccessLevel int32 `json:"merge_access_level,omitempty"`
	// Allow force push for all users with push access.
	AllowForcePush bool `json:"allow_force_push,omitempty"`
	// Access levels allowed to unprotect (defaults: `40`, maintainer access level)
	UnprotectAccessLevel int32 `json:"unprotect_access_level,omitempty"`
	// An array of users/groups allowed to push
	AllowedToPush []PostApiV4ProjectsIdProtectedBranchesAllowedToPush `json:"allowed_to_push,omitempty"`
	// An array of users/groups allowed to merge
	AllowedToMerge []PostApiV4ProjectsIdProtectedBranchesAllowedToPush `json:"allowed_to_merge,omitempty"`
	// An array of users/groups allowed to unprotect
	AllowedToUnprotect []PostApiV4ProjectsIdProtectedBranchesAllowedToUnprotect `json:"allowed_to_unprotect,omitempty"`
	// Prevent pushes to this branch if it matches an item in CODEOWNERS
	CodeOwnerApprovalRequired bool `json:"code_owner_approval_required,omitempty"`
}

Protect a single branch

type PostApiV4ProjectsIdProtectedBranchesAllowedToPush

type PostApiV4ProjectsIdProtectedBranchesAllowedToPush struct {
	AccessLevel int32 `json:"access_level,omitempty"`
	UserId      int32 `json:"user_id,omitempty"`
	GroupId     int32 `json:"group_id,omitempty"`
	Id          int32 `json:"id,omitempty"`
	// Delete the object when true
	Destroy bool `json:"_destroy,omitempty"`
}

type PostApiV4ProjectsIdProtectedBranchesAllowedToUnprotect

type PostApiV4ProjectsIdProtectedBranchesAllowedToUnprotect struct {
	AccessLevel int32 `json:"access_level,omitempty"`
	UserId      int32 `json:"user_id,omitempty"`
	GroupId     int32 `json:"group_id,omitempty"`
	Id          int32 `json:"id,omitempty"`
	// Delete the object when true
	Destroy bool `json:"_destroy,omitempty"`
}

type PostApiV4ProjectsIdProtectedTags

type PostApiV4ProjectsIdProtectedTags struct {
	// The name of the protected tag
	Name string `json:"name"`
	// Access levels allowed to create (defaults: `40`, maintainer access level)
	CreateAccessLevel int32 `json:"create_access_level,omitempty"`
	// An array of users/groups allowed to create
	AllowedToCreate []PostApiV4ProjectsIdProtectedTagsAllowedToCreate `json:"allowed_to_create,omitempty"`
}

Protect a single tag or wildcard

type PostApiV4ProjectsIdProtectedTagsAllowedToCreate

type PostApiV4ProjectsIdProtectedTagsAllowedToCreate struct {
	AccessLevel int32 `json:"access_level,omitempty"`
	UserId      int32 `json:"user_id,omitempty"`
	GroupId     int32 `json:"group_id,omitempty"`
}

type PostApiV4ProjectsIdRefReftriggerPipeline

type PostApiV4ProjectsIdRefReftriggerPipeline struct {
	// The unique token of trigger or job token
	Token string `json:"token"`
	// The list of variables to be injected into build
	Variables interface{} `json:"variables,omitempty"`
}

Trigger a GitLab project pipeline

type PostApiV4ProjectsIdReleases

type PostApiV4ProjectsIdReleases struct {
	// The tag where the release is created from
	TagName string `json:"tag_name"`
	// Message to use if creating a new annotated tag
	TagMessage string `json:"tag_message,omitempty"`
	// The release name
	Name string `json:"name,omitempty"`
	// The description of the release. You can use Markdown
	Description string `json:"description,omitempty"`
	// If a tag specified in `tag_name` doesn't exist, the release is created from `ref` and tagged with `tag_name`. It can be a commit SHA, another tag name, or a branch name.
	Ref    string                             `json:"ref,omitempty"`
	Assets *PostApiV4ProjectsIdReleasesAssets `json:"assets,omitempty"`
	// The title of each milestone the release is associated with. GitLab Premium customers can specify group milestones. Cannot be combined with `milestone_ids` parameter.
	Milestones []string `json:"milestones,omitempty"`
	// The ID of each milestone the release is associated with. GitLab Premium customers can specify group milestones. Cannot be combined with `milestones` parameter.
	MilestoneIds string `json:"milestone_ids,omitempty"`
	// Date and time for the release. Defaults to the current time. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`). Only provide this field if creating an upcoming or historical release.
	ReleasedAt time.Time `json:"released_at,omitempty"`
	// If true, the release will be published to the CI catalog. This parameter is for internal use only and will be removed in a future release. If the feature flag ci_release_cli_catalog_publish_option is disabled, this parameter will be ignored and the release will published to the CI catalog as it was before this parameter was introduced.
	LegacyCatalogPublish bool `json:"legacy_catalog_publish,omitempty"`
}

Create a release

type PostApiV4ProjectsIdReleasesAssets

type PostApiV4ProjectsIdReleasesAssets struct {
	Links []PostApiV4ProjectsIdReleasesAssetsLinks `json:"links,omitempty"`
}
type PostApiV4ProjectsIdReleasesAssetsLinks struct {
	// The name of the link. Link names must be unique within the release
	Name string `json:"name"`
	// The URL of the link. Link URLs must be unique within the release
	Url string `json:"url"`
	// Optional path for a direct asset link
	DirectAssetPath string `json:"direct_asset_path,omitempty"`
	// Deprecated: optional path for a direct asset link
	Filepath string `json:"filepath,omitempty"`
	// The type of the link: `other`, `runbook`, `image`, `package`. Defaults to `other`
	LinkType string `json:"link_type,omitempty"`
}
type PostApiV4ProjectsIdReleasesTagNameAssetsLinks struct {
	// The name of the link. Link names must be unique in the release
	Name string `json:"name"`
	// The URL of the link. Link URLs must be unique in the release.
	Url string `json:"url"`
	// Optional path for a direct asset link
	DirectAssetPath string `json:"direct_asset_path,omitempty"`
	// Deprecated: optional path for a direct asset link
	Filepath string `json:"filepath,omitempty"`
	// The type of the link: `other`, `runbook`, `image`, or `package`. Defaults to `other`
	LinkType string `json:"link_type,omitempty"`
}

Create a release link

type PostApiV4ProjectsIdRemoteMirrors

type PostApiV4ProjectsIdRemoteMirrors struct {
	// The URL for a remote mirror
	Url string `json:"url"`
	// Determines if the mirror is enabled
	Enabled bool `json:"enabled,omitempty"`
	// Determines the mirror authentication method
	AuthMethod string `json:"auth_method,omitempty"`
	// Determines if divergent refs are kept on the target
	KeepDivergentRefs bool `json:"keep_divergent_refs,omitempty"`
	// Determines if only protected branches are mirrored
	OnlyProtectedBranches bool `json:"only_protected_branches,omitempty"`
	// Determines if only matched branches are mirrored
	MirrorBranchRegex string `json:"mirror_branch_regex,omitempty"`
}

Create remote mirror for a project

type PostApiV4ProjectsIdRepositoryBranches

type PostApiV4ProjectsIdRepositoryBranches struct {
	// The name of the branch
	Branch string `json:"branch"`
	// Create branch from commit sha or existing branch
	Ref string `json:"ref"`
}

Create branch

type PostApiV4ProjectsIdRepositoryChangelog

type PostApiV4ProjectsIdRepositoryChangelog struct {
	// The version of the release, using the semantic versioning format
	Version string `json:"version"`
	// The first commit in the range of commits to use for the changelog
	From string `json:"from,omitempty"`
	// The last commit in the range of commits to use for the changelog
	To string `json:"to,omitempty"`
	// The date and time of the release
	Date time.Time `json:"date,omitempty"`
	// The Git trailer to use for determining if commits are to be included in the changelog
	Trailer string `json:"trailer,omitempty"`
	// The branch to commit the changelog changes to
	Branch string `json:"branch,omitempty"`
	// The file path to the configuration file as stored in the project's Git repository. Defaults to '.gitlab/changelog_config.yml'
	ConfigFile string `json:"config_file,omitempty"`
	// The file to commit the changelog changes to
	File string `json:"file,omitempty"`
	// The commit message to use when committing the changelog
	Message string `json:"message,omitempty"`
}

Generates a changelog section for a release and commits it in a changelog file

type PostApiV4ProjectsIdRepositoryCommits

type PostApiV4ProjectsIdRepositoryCommits struct {
	// Name of the branch to commit into. To create a new branch, also provide either `start_branch` or `start_sha`, and optionally `start_project`.
	Branch string `json:"branch"`
	// Commit message
	CommitMessage string `json:"commit_message"`
	// Actions to perform in commit
	Actions []PostApiV4ProjectsIdRepositoryCommitsActions `json:"actions"`
	// Name of the branch to start the new branch from
	StartBranch string `json:"start_branch,omitempty"`
	// SHA of the commit to start the new branch from
	StartSha string `json:"start_sha,omitempty"`
	// The ID or path of the project to start the new branch from
	StartProject int32 `json:"start_project,omitempty"`
	// Author email for commit
	AuthorEmail string `json:"author_email,omitempty"`
	// Author name for commit
	AuthorName string `json:"author_name,omitempty"`
	// Include commit stats
	Stats bool `json:"stats,omitempty"`
	// When `true` overwrites the target branch with a new commit based on the `start_branch` or `start_sha`
	Force bool `json:"force,omitempty"`
}

Commit multiple file changes as one commit

type PostApiV4ProjectsIdRepositoryCommitsActions

type PostApiV4ProjectsIdRepositoryCommitsActions struct {
	// The action to perform, `create`, `delete`, `move`, `update`, `chmod`
	Action string `json:"action"`
	// Full path to the file.
	FilePath string `json:"file_path"`
	// Original full path to the file being moved.
	PreviousPath string `json:"previous_path"`
	// File content
	Content string `json:"content"`
	// `text` or `base64`
	Encoding string `json:"encoding,omitempty"`
	// Last known file commit id
	LastCommitId string `json:"last_commit_id,omitempty"`
	// When `true/false` enables/disables the execute flag on the file.
	ExecuteFilemode bool `json:"execute_filemode"`
}

type PostApiV4ProjectsIdRepositoryCommitsShaCherryPick

type PostApiV4ProjectsIdRepositoryCommitsShaCherryPick struct {
	// The name of the branch
	Branch string `json:"branch"`
	// Does not commit any changes
	DryRun bool `json:"dry_run,omitempty"`
	// A custom commit message to use for the picked commit
	Message string `json:"message,omitempty"`
}

Cherry pick commit into a branch

type PostApiV4ProjectsIdRepositoryCommitsShaComments

type PostApiV4ProjectsIdRepositoryCommitsShaComments struct {
	// The text of the comment
	Note string `json:"note"`
	// The file path
	Path string `json:"path,omitempty"`
	// The line number
	Line int32 `json:"line"`
	// The type of the line
	LineType string `json:"line_type"`
}

Post comment to commit

type PostApiV4ProjectsIdRepositoryCommitsShaRevert

type PostApiV4ProjectsIdRepositoryCommitsShaRevert struct {
	// Target branch name
	Branch string `json:"branch"`
	// Does not commit any changes
	DryRun bool `json:"dry_run,omitempty"`
}

Revert a commit in a branch

type PostApiV4ProjectsIdRepositoryFilesFilePath

type PostApiV4ProjectsIdRepositoryFilesFilePath struct {
	// Name of the branch to commit into. To create a new branch, also provide `start_branch`.
	Branch string `json:"branch"`
	// Commit message
	CommitMessage string `json:"commit_message"`
	// Name of the branch to start the new commit from
	StartBranch string `json:"start_branch,omitempty"`
	// The email of the author
	AuthorEmail string `json:"author_email,omitempty"`
	// The name of the author
	AuthorName string `json:"author_name,omitempty"`
	// File content
	Content string `json:"content"`
	// File encoding
	Encoding string `json:"encoding,omitempty"`
	// Last known commit id for this file
	LastCommitId string `json:"last_commit_id,omitempty"`
	// Enable / Disable the executable flag on the file path
	ExecuteFilemode bool `json:"execute_filemode,omitempty"`
}

Create new file in repository

type PostApiV4ProjectsIdRepositoryStorageMoves

type PostApiV4ProjectsIdRepositoryStorageMoves struct {
	// The destination storage shard
	DestinationStorageName string `json:"destination_storage_name,omitempty"`
}

Schedule a project repository storage move

type PostApiV4ProjectsIdRepositoryTags

type PostApiV4ProjectsIdRepositoryTags struct {
	// The name of the tag
	TagName string `json:"tag_name"`
	// The commit sha or branch name
	Ref string `json:"ref"`
	// Specifying a message creates an annotated tag
	Message string `json:"message,omitempty"`
}

Create a new repository tag

type PostApiV4ProjectsIdRunners

type PostApiV4ProjectsIdRunners struct {
	// The ID of a runner
	RunnerId int32 `json:"runner_id"`
}

Enable a runner in project

type PostApiV4ProjectsIdSecureFiles

type PostApiV4ProjectsIdSecureFiles struct {
	// The name of the file being uploaded. The filename must be unique within             the project
	Name string `json:"name"`
	// The secure file being uploaded
	File **os.File `json:"file"`
}

Create a secure file

type PostApiV4ProjectsIdServicesMattermostSlashCommandsTrigger

type PostApiV4ProjectsIdServicesMattermostSlashCommandsTrigger struct {
	// The Mattermost token.
	Token string `json:"token"`
}

Trigger a slash command for mattermost-slash-commands

type PostApiV4ProjectsIdServicesSlackSlashCommandsTrigger

type PostApiV4ProjectsIdServicesSlackSlashCommandsTrigger struct {
	// The Slack token.
	Token string `json:"token"`
}

Trigger a slash command for slack-slash-commands

type PostApiV4ProjectsIdShare

type PostApiV4ProjectsIdShare struct {
	// The ID of a group
	GroupId int32 `json:"group_id"`
	// The group access level
	GroupAccess int32 `json:"group_access"`
	// Share expiration date
	ExpiresAt string `json:"expires_at,omitempty"`
}

Share the project with a group

type PostApiV4ProjectsIdSnippets

type PostApiV4ProjectsIdSnippets struct {
	// The title of the snippet
	Title string `json:"title"`
	// The description of a snippet
	Description string `json:"description,omitempty"`
	// The visibility of the snippet
	Visibility string `json:"visibility"`
	// An array of files
	Files []PostApiV4ProjectsIdSnippetsFiles `json:"files,omitempty"`
	// The content of a snippet
	Content string `json:"content,omitempty"`
	// The name of a snippet file
	FileName string `json:"file_name"`
}

Create a new project snippet

type PostApiV4ProjectsIdSnippetsFiles

type PostApiV4ProjectsIdSnippetsFiles struct {
	// The path of a snippet file
	FilePath string `json:"file_path"`
	// The content of a snippet file
	Content string `json:"content"`
}

type PostApiV4ProjectsIdStatusesSha

type PostApiV4ProjectsIdStatusesSha struct {
	// The state of the status
	State string `json:"state"`
	// The ref
	Ref string `json:"ref,omitempty"`
	// The target URL to associate with this status
	TargetUrl string `json:"target_url,omitempty"`
	// A short description of the status
	Description string `json:"description,omitempty"`
	// A string label to differentiate this status from the status of other systems
	Name string `json:"name,omitempty"`
	// A string label to differentiate this status from the status of other systems
	Context string `json:"context,omitempty"`
	// The total code coverage
	Coverage float32 `json:"coverage,omitempty"`
	// An existing pipeline ID, when multiple pipelines on the same commit SHA have been triggered
	PipelineId int32 `json:"pipeline_id,omitempty"`
}

Post status to a commit

type PostApiV4ProjectsIdTerraformStateNameLock

type PostApiV4ProjectsIdTerraformStateNameLock struct {
	// Terraform state lock ID
	ID string `json:"ID"`
	// Terraform operation
	Operation string `json:"Operation"`
	// Terraform info
	Info string `json:"Info"`
	// Terraform state lock owner
	Who string `json:"Who"`
	// Terraform version
	Version string `json:"Version"`
	// Terraform state lock timestamp
	Created string `json:"Created"`
	// Terraform path
	Path string `json:"Path"`
}

Lock a Terraform state of a certain name

type PostApiV4ProjectsIdTriggers

type PostApiV4ProjectsIdTriggers struct {
	// The trigger token description
	Description string `json:"description"`
}

Create a trigger token

type PostApiV4ProjectsIdUploads

type PostApiV4ProjectsIdUploads struct {
	// The attachment file to be uploaded
	File **os.File `json:"file"`
}

Upload a file

type PostApiV4ProjectsIdVariables

type PostApiV4ProjectsIdVariables struct {
	// The key of a variable
	Key string `json:"key"`
	// The value of a variable
	Value string `json:"value"`
	// Whether the variable is protected
	Protected bool `json:"protected,omitempty"`
	// Whether the variable is masked
	Masked bool `json:"masked,omitempty"`
	// Whether the variable is masked and hidden
	MaskedAndHidden bool `json:"masked_and_hidden,omitempty"`
	// Whether the variable will be expanded
	Raw bool `json:"raw,omitempty"`
	// The type of the variable. Default: env_var
	VariableType string `json:"variable_type,omitempty"`
	// The environment_scope of the variable
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// The description of the variable
	Description string `json:"description,omitempty"`
}

Create a new variable in a project

type PostApiV4ProjectsIdWikis

type PostApiV4ProjectsIdWikis struct {
	// Title of a wiki page
	Title       string                             `json:"title"`
	FrontMatter *PostApiV4GroupsIdWikisFrontMatter `json:"front_matter,omitempty"`
	// Content of a wiki page
	Content string `json:"content"`
	// Format of a wiki page. Available formats are markdown, rdoc, asciidoc and org
	Format string `json:"format,omitempty"`
}

Create a wiki page

type PostApiV4ProjectsIdWikisAttachments

type PostApiV4ProjectsIdWikisAttachments struct {
	// The attachment file to be uploaded
	File **os.File `json:"file"`
	// The name of the branch
	Branch string `json:"branch,omitempty"`
}

Upload an attachment to the wiki repository

type PostApiV4ProjectsUserUserId

type PostApiV4ProjectsUserUserId struct {
	// The name of the project
	Name string `json:"name"`
	// The path of the repository
	Path string `json:"path,omitempty"`
	// The default branch of the project
	DefaultBranch string `json:"default_branch,omitempty"`
	// The description of the project
	Description string `json:"description,omitempty"`
	// The Git strategy. Defaults to `fetch`
	BuildGitStrategy string `json:"build_git_strategy,omitempty"`
	// Build timeout
	BuildTimeout int32 `json:"build_timeout,omitempty"`
	// Auto-cancel pending pipelines
	AutoCancelPendingPipelines string `json:"auto_cancel_pending_pipelines,omitempty"`
	// The path to CI config file. Defaults to `.gitlab-ci.yml`
	CiConfigPath string `json:"ci_config_path,omitempty"`
	// Disable or enable the service desk
	ServiceDeskEnabled bool `json:"service_desk_enabled,omitempty"`
	// Flag indication if the issue tracker is enabled
	IssuesEnabled bool `json:"issues_enabled,omitempty"`
	// Flag indication if merge requests are enabled
	MergeRequestsEnabled bool `json:"merge_requests_enabled,omitempty"`
	// Flag indication if the wiki is enabled
	WikiEnabled bool `json:"wiki_enabled,omitempty"`
	// Flag indication if jobs are enabled
	JobsEnabled bool `json:"jobs_enabled,omitempty"`
	// Flag indication if snippets are enabled
	SnippetsEnabled bool `json:"snippets_enabled,omitempty"`
	// Issues access level. One of `disabled`, `private` or `enabled`
	IssuesAccessLevel string `json:"issues_access_level,omitempty"`
	// Repository access level. One of `disabled`, `private` or `enabled`
	RepositoryAccessLevel string `json:"repository_access_level,omitempty"`
	// Merge requests access level. One of `disabled`, `private` or `enabled`
	MergeRequestsAccessLevel string `json:"merge_requests_access_level,omitempty"`
	// Forks access level. One of `disabled`, `private` or `enabled`
	ForkingAccessLevel string `json:"forking_access_level,omitempty"`
	// Wiki access level. One of `disabled`, `private` or `enabled`
	WikiAccessLevel string `json:"wiki_access_level,omitempty"`
	// Builds access level. One of `disabled`, `private` or `enabled`
	BuildsAccessLevel string `json:"builds_access_level,omitempty"`
	// Snippets access level. One of `disabled`, `private` or `enabled`
	SnippetsAccessLevel string `json:"snippets_access_level,omitempty"`
	// Pages access level. One of `disabled`, `private`, `enabled` or `public`
	PagesAccessLevel string `json:"pages_access_level,omitempty"`
	// Analytics access level. One of `disabled`, `private` or `enabled`
	AnalyticsAccessLevel string `json:"analytics_access_level,omitempty"`
	// Controls visibility of the container registry. One of `disabled`, `private` or `enabled`. `private` will make the container registry accessible only to project members (reporter role and above). `enabled` will make the container registry accessible to everyone who has access to the project. `disabled` will disable the container registry
	ContainerRegistryAccessLevel string `json:"container_registry_access_level,omitempty"`
	// Security and compliance access level. One of `disabled`, `private` or `enabled`
	SecurityAndComplianceAccessLevel string `json:"security_and_compliance_access_level,omitempty"`
	// Releases access level. One of `disabled`, `private` or `enabled`
	ReleasesAccessLevel string `json:"releases_access_level,omitempty"`
	// Environments access level. One of `disabled`, `private` or `enabled`
	EnvironmentsAccessLevel string `json:"environments_access_level,omitempty"`
	// Feature flags access level. One of `disabled`, `private` or `enabled`
	FeatureFlagsAccessLevel string `json:"feature_flags_access_level,omitempty"`
	// Infrastructure access level. One of `disabled`, `private` or `enabled`
	InfrastructureAccessLevel string `json:"infrastructure_access_level,omitempty"`
	// Monitor access level. One of `disabled`, `private` or `enabled`
	MonitorAccessLevel string `json:"monitor_access_level,omitempty"`
	// Model experiments access level. One of `disabled`, `private` or `enabled`
	ModelExperimentsAccessLevel string `json:"model_experiments_access_level,omitempty"`
	// Model registry access level. One of `disabled`, `private` or `enabled`
	ModelRegistryAccessLevel string `json:"model_registry_access_level,omitempty"`
	// Deprecated: Use emails_enabled instead.
	EmailsDisabled bool `json:"emails_disabled,omitempty"`
	// Enable email notifications
	EmailsEnabled bool `json:"emails_enabled,omitempty"`
	// Show default award emojis
	ShowDefaultAwardEmojis bool `json:"show_default_award_emojis,omitempty"`
	// Include the code diff preview in merge request notification emails
	ShowDiffPreviewInEmail bool `json:"show_diff_preview_in_email,omitempty"`
	// Warn about potentially unwanted characters
	WarnAboutPotentiallyUnwantedCharacters bool `json:"warn_about_potentially_unwanted_characters,omitempty"`
	// Enforce auth check on uploads
	EnforceAuthChecksOnUploads bool `json:"enforce_auth_checks_on_uploads,omitempty"`
	// Flag indication if shared runners are enabled for that project
	SharedRunnersEnabled bool `json:"shared_runners_enabled,omitempty"`
	// Flag indication if group runners are enabled for that project
	GroupRunnersEnabled bool `json:"group_runners_enabled,omitempty"`
	// Automatically resolve merge request diff threads on lines changed with a push
	ResolveOutdatedDiffDiscussions bool `json:"resolve_outdated_diff_discussions,omitempty"`
	// Remove the source branch by default after merge
	RemoveSourceBranchAfterMerge bool `json:"remove_source_branch_after_merge,omitempty"`
	// Deprecated: Use :container_registry_access_level instead. Flag indication if the container registry is enabled for that project
	ContainerRegistryEnabled            bool                                                  `json:"container_registry_enabled,omitempty"`
	ContainerExpirationPolicyAttributes *PostApiV4ProjectsContainerExpirationPolicyAttributes `json:"container_expiration_policy_attributes,omitempty"`
	// Flag indication if Git LFS is enabled for that project
	LfsEnabled bool `json:"lfs_enabled,omitempty"`
	// The visibility of the project.
	Visibility string `json:"visibility,omitempty"`
	// Deprecated: Use public_jobs instead.
	PublicBuilds bool `json:"public_builds,omitempty"`
	// Perform public builds
	PublicJobs bool `json:"public_jobs,omitempty"`
	// Allow users to request member access
	RequestAccessEnabled bool `json:"request_access_enabled,omitempty"`
	// Only allow to merge if builds succeed
	OnlyAllowMergeIfPipelineSucceeds bool `json:"only_allow_merge_if_pipeline_succeeds,omitempty"`
	// Allow to merge if pipeline is skipped
	AllowMergeOnSkippedPipeline bool `json:"allow_merge_on_skipped_pipeline,omitempty"`
	// Only allow to merge if all threads are resolved
	OnlyAllowMergeIfAllDiscussionsAreResolved bool `json:"only_allow_merge_if_all_discussions_are_resolved,omitempty"`
	// Deprecated: Use :topics instead
	TagList []string `json:"tag_list,omitempty"`
	// The list of topics for a project
	Topics []string `json:"topics,omitempty"`
	// Avatar image for project
	Avatar **os.File `json:"avatar,omitempty"`
	// Show link to create/view merge request when pushing from the command line
	PrintingMergeRequestLinkEnabled bool `json:"printing_merge_request_link_enabled,omitempty"`
	// The merge method used when merging merge requests
	MergeMethod string `json:"merge_method,omitempty"`
	// The commit message used to apply merge request suggestions
	SuggestionCommitMessage string `json:"suggestion_commit_message,omitempty"`
	// Template used to create merge commit message
	MergeCommitTemplate string `json:"merge_commit_template,omitempty"`
	// Template used to create squash commit message
	SquashCommitTemplate string `json:"squash_commit_template,omitempty"`
	// Template used to create a branch from an issue
	IssueBranchTemplate string `json:"issue_branch_template,omitempty"`
	// Initialize a project with a README.md
	InitializeWithReadme bool `json:"initialize_with_readme,omitempty"`
	// Flag indication if Auto DevOps is enabled
	AutoDevopsEnabled bool `json:"auto_devops_enabled,omitempty"`
	// Auto Deploy strategy
	AutoDevopsDeployStrategy string `json:"auto_devops_deploy_strategy,omitempty"`
	// Flag indication if referenced issues auto-closing is enabled
	AutocloseReferencedIssues bool `json:"autoclose_referenced_issues,omitempty"`
	// Which storage shard the repository is on. Available only to admins
	RepositoryStorage string `json:"repository_storage,omitempty"`
	// Enable project packages feature
	PackagesEnabled bool `json:"packages_enabled,omitempty"`
	// Squash default for project. One of `never`, `always`, `default_on`, or `default_off`.
	SquashOption string `json:"squash_option,omitempty"`
	// Merge requests of this forked project targets itself by default
	MrDefaultTargetSelf bool `json:"mr_default_target_self,omitempty"`
	// Blocks merge requests from merging unless all status checks have passed
	OnlyAllowMergeIfAllStatusChecksPassed bool `json:"only_allow_merge_if_all_status_checks_passed,omitempty"`
	// How many approvers should approve merge request by default
	ApprovalsBeforeMerge int32 `json:"approvals_before_merge,omitempty"`
	// Enables pull mirroring in a project
	Mirror bool `json:"mirror,omitempty"`
	// Pull mirroring triggers builds
	MirrorTriggerBuilds bool `json:"mirror_trigger_builds,omitempty"`
	// The classification label for the project
	ExternalAuthorizationClassificationLabel string `json:"external_authorization_classification_label,omitempty"`
	// Requirements feature access level. One of `disabled`, `private` or `enabled`
	RequirementsAccessLevel string `json:"requirements_access_level,omitempty"`
	// Require an associated issue from Jira
	PreventMergeWithoutJiraIssue bool `json:"prevent_merge_without_jira_issue,omitempty"`
	// The object format of the project repository
	RepositoryObjectFormat string `json:"repository_object_format,omitempty"`
	// Use custom template
	UseCustomTemplate bool `json:"use_custom_template,omitempty"`
	// Group ID that serves as the template source
	GroupWithProjectTemplatesId int32 `json:"group_with_project_templates_id,omitempty"`
	// Namespace ID for the new project. Default to the user namespace.
	NamespaceId int32 `json:"namespace_id,omitempty"`
	// URL from which the project is imported
	ImportUrl string `json:"import_url,omitempty"`
	// Name of template from which to create project
	TemplateName string `json:"template_name,omitempty"`
	// Project ID of template from which to create project
	TemplateProjectId int32 `json:"template_project_id,omitempty"`
}

Create new project for a specified user. Only available to admin users.

type PostApiV4Runners

type PostApiV4Runners struct {
	// Registration token
	Token string `json:"token"`
	// Description of the runner
	Description string `json:"description,omitempty"`
	// Deprecated: see `maintenance_note`
	MaintainerNote string `json:"maintainer_note,omitempty"`
	// Free-form maintenance notes for the runner (1024 characters)
	MaintenanceNote string                `json:"maintenance_note,omitempty"`
	Info            *PostApiV4RunnersInfo `json:"info,omitempty"`
	// Deprecated: Use `paused` instead. Specifies if the runner is allowed to receive new jobs
	Active bool `json:"active,omitempty"`
	// Specifies if the runner should ignore new jobs
	Paused bool `json:"paused,omitempty"`
	// Specifies if the runner should be locked for the current project
	Locked bool `json:"locked,omitempty"`
	// The access level of the runner
	AccessLevel string `json:"access_level,omitempty"`
	// Specifies if the runner should handle untagged jobs
	RunUntagged bool `json:"run_untagged,omitempty"`
	// A list of runner tags
	TagList []string `json:"tag_list,omitempty"`
	// Maximum timeout that limits the amount of time (in seconds) that runners can run jobs
	MaximumTimeout int32 `json:"maximum_timeout,omitempty"`
}

Register a new runner

type PostApiV4RunnersInfo

type PostApiV4RunnersInfo struct {
	// Runner's name
	Name string `json:"name,omitempty"`
	// Runner's version
	Version string `json:"version,omitempty"`
	// Runner's revision
	Revision string `json:"revision,omitempty"`
	// Runner's platform
	Platform string `json:"platform,omitempty"`
	// Runner's architecture
	Architecture string `json:"architecture,omitempty"`
}

Runner's metadata

type PostApiV4RunnersResetAuthenticationToken

type PostApiV4RunnersResetAuthenticationToken struct {
	// The current authentication token of the runner
	Token string `json:"token"`
}

Reset runner authentication token with current token

type PostApiV4RunnersVerify

type PostApiV4RunnersVerify struct {
	// The runner's authentication token
	Token string `json:"token"`
	// The runner's system identifier
	SystemId string `json:"system_id,omitempty"`
}

Validate authentication credentials

type PostApiV4SlackTrigger

type PostApiV4SlackTrigger struct {
	// Text of the slack command
	Text string `json:"text"`
}

Trigger a global slack command

type PostApiV4SnippetRepositoryStorageMoves

type PostApiV4SnippetRepositoryStorageMoves struct {
	// The source storage shard
	SourceStorageName string `json:"source_storage_name"`
	// The destination storage shard
	DestinationStorageName string `json:"destination_storage_name,omitempty"`
}

Schedule bulk snippet repository storage moves

type PostApiV4Snippets

type PostApiV4Snippets struct {
	// The title of a snippet
	Title string `json:"title"`
	// The description of a snippet
	Description string `json:"description,omitempty"`
	// The visibility of the snippet
	Visibility string `json:"visibility,omitempty"`
	// An array of files
	Files []PostApiV4ProjectsIdSnippetsFiles `json:"files,omitempty"`
	// The content of a snippet
	Content string `json:"content,omitempty"`
	// The name of a snippet file
	FileName string `json:"file_name"`
}

Create new snippet

type PostApiV4SnippetsIdRepositoryStorageMoves

type PostApiV4SnippetsIdRepositoryStorageMoves struct {
	// The destination storage shard
	DestinationStorageName string `json:"destination_storage_name,omitempty"`
}

Schedule a snippet repository storage move

type PostApiV4Topics

type PostApiV4Topics struct {
	// Slug (name)
	Name string `json:"name"`
	// Title
	Title string `json:"title"`
	// Description
	Description string `json:"description,omitempty"`
	// Avatar image for topic
	Avatar **os.File `json:"avatar,omitempty"`
}

Create a topic

type PostApiV4TopicsMerge

type PostApiV4TopicsMerge struct {
	// ID of source project topic
	SourceTopicId int32 `json:"source_topic_id"`
	// ID of target project topic
	TargetTopicId int32 `json:"target_topic_id"`
}

Merge topics

type PostApiV4UsageDataIncrementCounter

type PostApiV4UsageDataIncrementCounter struct {
	// The event name that should be tracked
	Event string `json:"event"`
}

Track usage data event

type PostApiV4UsageDataIncrementUniqueUsers

type PostApiV4UsageDataIncrementUniqueUsers struct {
	// The event name that should be tracked
	Event string `json:"event"`
}

Track usage data event for the current user

type PostApiV4UsageDataTrackEvent

type PostApiV4UsageDataTrackEvent struct {
	// The event name that should be tracked
	Event string `json:"event"`
	// Namespace ID
	NamespaceId int32 `json:"namespace_id,omitempty"`
	// Project ID
	ProjectId int32 `json:"project_id,omitempty"`
}

Track gitlab internal events

type PostApiV4UserEmails

type PostApiV4UserEmails struct {
	// The new email
	Email string `json:"email"`
}

Add new email address to the currently authenticated user

type PostApiV4UserGpgKeys

type PostApiV4UserGpgKeys struct {
	// The new GPG key
	Key string `json:"key"`
}

Add a new GPG key to the currently authenticated user

type PostApiV4UserKeys

type PostApiV4UserKeys struct {
	// The new SSH key
	Key string `json:"key"`
	// The title of the new SSH key
	Title string `json:"title"`
	// The expiration date of the SSH key in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	// Scope of usage for the SSH key
	UsageType string `json:"usage_type,omitempty"`
}

Add a new SSH key to the currently authenticated user

type PostApiV4UserPersonalAccessTokens

type PostApiV4UserPersonalAccessTokens struct {
	// The name of the personal access token
	Name string `json:"name"`
	// The array of scopes of the personal access token
	Scopes []string `json:"scopes"`
	// The expiration date in the format YEAR-MONTH-DAY of the personal access token
	ExpiresAt string `json:"expires_at,omitempty"`
}

Create a personal access token with limited scopes for the currently authenticated user

type PostApiV4UserRunners

type PostApiV4UserRunners struct {
	// Specifies the scope of the runner
	RunnerType string `json:"runner_type"`
	// The ID of the group that the runner is created in
	GroupId int32 `json:"group_id"`
	// The ID of the project that the runner is created in
	ProjectId int32 `json:"project_id"`
	// Description of the runner
	Description string `json:"description,omitempty"`
	// Free-form maintenance notes for the runner (1024 characters)
	MaintenanceNote string `json:"maintenance_note,omitempty"`
	// Specifies if the runner should ignore new jobs (defaults to false)
	Paused bool `json:"paused,omitempty"`
	// Specifies if the runner should be locked for the current project (defaults to false)
	Locked bool `json:"locked,omitempty"`
	// The access level of the runner
	AccessLevel string `json:"access_level,omitempty"`
	// Specifies if the runner should handle untagged jobs  (defaults to true)
	RunUntagged bool `json:"run_untagged,omitempty"`
	// A list of runner tags
	TagList []string `json:"tag_list,omitempty"`
	// Maximum timeout that limits the amount of time (in seconds) that runners can run jobs
	MaximumTimeout int32 `json:"maximum_timeout,omitempty"`
}

Create a runner owned by currently authenticated user

type PostApiV4Users

type PostApiV4Users struct {
	// The email of the user
	Email string `json:"email"`
	// The password of the new user
	Password string `json:"password,omitempty"`
	// Flag indicating the user will be sent a password reset token
	ResetPassword bool `json:"reset_password,omitempty"`
	// Flag indicating the account is confirmed
	SkipConfirmation bool `json:"skip_confirmation,omitempty"`
	// Flag indicating a random password will be set
	ForceRandomPassword bool `json:"force_random_password,omitempty"`
	// The name of the user
	Name string `json:"name"`
	// The username of the user
	Username string `json:"username"`
	// The Skype username
	Skype string `json:"skype,omitempty"`
	// The LinkedIn username
	Linkedin string `json:"linkedin,omitempty"`
	// The Twitter username
	Twitter string `json:"twitter,omitempty"`
	// The Discord user ID
	Discord string `json:"discord,omitempty"`
	// The website of the user
	WebsiteUrl string `json:"website_url,omitempty"`
	// The organization of the user
	Organization string `json:"organization,omitempty"`
	// The number of projects a user can create
	ProjectsLimit int32 `json:"projects_limit,omitempty"`
	// The external authentication provider UID
	ExternUid string `json:"extern_uid,omitempty"`
	// The external provider
	Provider string `json:"provider,omitempty"`
	// The biography of the user
	Bio string `json:"bio,omitempty"`
	// The location of the user
	Location string `json:"location,omitempty"`
	// The pronouns of the user
	Pronouns string `json:"pronouns,omitempty"`
	// The public email of the user
	PublicEmail string `json:"public_email,omitempty"`
	// The commit email, _private for private commit email
	CommitEmail string `json:"commit_email,omitempty"`
	// Flag indicating the user is an administrator
	Admin bool `json:"admin,omitempty"`
	// Flag indicating the user can create groups
	CanCreateGroup bool `json:"can_create_group,omitempty"`
	// Flag indicating the user is an external user
	External bool `json:"external,omitempty"`
	// Avatar image for user
	Avatar **os.File `json:"avatar,omitempty"`
	// The GitLab theme for the user
	ThemeId int32 `json:"theme_id,omitempty"`
	// The color scheme for the file viewer
	ColorSchemeId int32 `json:"color_scheme_id,omitempty"`
	// Flag indicating the user has a private profile
	PrivateProfile bool `json:"private_profile,omitempty"`
	// Admin note for this user
	Note string `json:"note,omitempty"`
	// Flag indicating the user sees only one file diff per page
	ViewDiffsFileByFile bool `json:"view_diffs_file_by_file,omitempty"`
	// Compute minutes quota for this user
	SharedRunnersMinutesLimit int32 `json:"shared_runners_minutes_limit,omitempty"`
	// (admin-only) Extra compute minutes quota for this user
	ExtraSharedRunnersMinutesLimit int32 `json:"extra_shared_runners_minutes_limit,omitempty"`
	// ID for group where SAML has been configured
	GroupIdForSaml int32 `json:"group_id_for_saml,omitempty"`
	// Flag indicating auditor status of the user
	Auditor bool `json:"auditor,omitempty"`
}

Create a user. Available only for admins.

type PostApiV4UsersIdEmails

type PostApiV4UsersIdEmails struct {
	// The email of the user
	Email string `json:"email"`
	// Skip confirmation of email and assume it is verified
	SkipConfirmation bool `json:"skip_confirmation,omitempty"`
}

Add an email address to a specified user. Available only for admins.

type PostApiV4UsersIdGpgKeys

type PostApiV4UsersIdGpgKeys struct {
	// The new GPG key
	Key string `json:"key"`
}

Add a GPG key to a specified user. Available only for admins.

type PostApiV4UsersUserIdImpersonationTokens

type PostApiV4UsersUserIdImpersonationTokens struct {
	// The name of the impersonation token
	Name string `json:"name"`
	// The expiration date in the format YEAR-MONTH-DAY of the impersonation token
	ExpiresAt string `json:"expires_at,omitempty"`
	// The array of scopes of the impersonation token
	Scopes []string `json:"scopes,omitempty"`
}

Create a impersonation token. Available only for admins.

type PostApiV4UsersUserIdKeys

type PostApiV4UsersUserIdKeys struct {
	// The new SSH key
	Key string `json:"key"`
	// The title of the new SSH key
	Title string `json:"title"`
	// The expiration date of the SSH key in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	// Scope of usage for the SSH key
	UsageType string `json:"usage_type,omitempty"`
}

Add an SSH key to a specified user. Available only for admins.

type PostApiV4UsersUserIdPersonalAccessTokens

type PostApiV4UsersUserIdPersonalAccessTokens struct {
	// The name of the personal access token
	Name string `json:"name"`
	// The array of scopes of the personal access token
	Scopes []string `json:"scopes"`
	// The expiration date in the format YEAR-MONTH-DAY of the personal access token
	ExpiresAt string `json:"expires_at,omitempty"`
}

Create a personal access token. Available only for admins.

type ProjectAccessTokensApiService

type ProjectAccessTokensApiService service

func (*ProjectAccessTokensApiService) DeleteApiV4ProjectsIdAccessTokensTokenId

func (a *ProjectAccessTokensApiService) DeleteApiV4ProjectsIdAccessTokensTokenId(ctx context.Context, id string, tokenId string) (*http.Response, error)

ProjectAccessTokensApiService Revoke a resource access token This feature was introduced in GitLab 13.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param tokenId The ID of the token

func (*ProjectAccessTokensApiService) GetApiV4ProjectsIdAccessTokens

func (a *ProjectAccessTokensApiService) GetApiV4ProjectsIdAccessTokens(ctx context.Context, id string) ([]ApiEntitiesResourceAccessToken, *http.Response, error)

ProjectAccessTokensApiService Get list of all access tokens for the specified resource This feature was introduced in GitLab 13.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID or URL-encoded path of the project

@return []ApiEntitiesResourceAccessToken

func (*ProjectAccessTokensApiService) GetApiV4ProjectsIdAccessTokensTokenId

func (a *ProjectAccessTokensApiService) GetApiV4ProjectsIdAccessTokensTokenId(ctx context.Context, id string, tokenId string) (ApiEntitiesResourceAccessToken, *http.Response, error)

ProjectAccessTokensApiService Get an access token for the specified resource by ID This feature was introduced in GitLab 14.10.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID or URL-encoded path of the project
  • @param tokenId The ID of the token

@return ApiEntitiesResourceAccessToken

func (*ProjectAccessTokensApiService) PostApiV4ProjectsIdAccessTokens

func (a *ProjectAccessTokensApiService) PostApiV4ProjectsIdAccessTokens(ctx context.Context, id string, postApiV4ProjectsIdAccessTokens PostApiV4ProjectsIdAccessTokens) (ApiEntitiesResourceAccessTokenWithToken, *http.Response, error)

ProjectAccessTokensApiService Create a resource access token This feature was introduced in GitLab 13.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param postApiV4ProjectsIdAccessTokens

@return ApiEntitiesResourceAccessTokenWithToken

func (*ProjectAccessTokensApiService) PostApiV4ProjectsIdAccessTokensTokenIdRotate

func (a *ProjectAccessTokensApiService) PostApiV4ProjectsIdAccessTokensTokenIdRotate(ctx context.Context, id string, tokenId string, postApiV4ProjectsIdAccessTokensTokenIdRotate PostApiV4ProjectsIdAccessTokensTokenIdRotate) (ApiEntitiesResourceAccessTokenWithToken, *http.Response, error)

ProjectAccessTokensApiService Rotate a resource access token This feature was introduced in GitLab 16.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param tokenId The ID of the token
  • @param postApiV4ProjectsIdAccessTokensTokenIdRotate

@return ApiEntitiesResourceAccessTokenWithToken

type ProjectAvatarApiService

type ProjectAvatarApiService service

func (*ProjectAvatarApiService) GetApiV4ProjectsIdAvatar

func (a *ProjectAvatarApiService) GetApiV4ProjectsIdAvatar(ctx context.Context, id string) (*http.Response, error)

ProjectAvatarApiService Download a project avatar This feature was introduced in GitLab 16.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID or URL-encoded path of the project

type ProjectEntity

type ProjectEntity struct {
	Id       int32  `json:"id,omitempty"`
	Name     string `json:"name,omitempty"`
	FullPath string `json:"full_path,omitempty"`
	FullName string `json:"full_name,omitempty"`
	RefsUrl  string `json:"refs_url,omitempty"`
}

ProjectEntity model

type ProjectExportApiGetApiV4ProjectsIdExportRelationsDownloadOpts

type ProjectExportApiGetApiV4ProjectsIdExportRelationsDownloadOpts struct {
	Batched     optional.Bool
	BatchNumber optional.Int32
}

type ProjectExportApiGetApiV4ProjectsIdExportRelationsStatusOpts

type ProjectExportApiGetApiV4ProjectsIdExportRelationsStatusOpts struct {
	Relation optional.String
}

type ProjectExportApiService

type ProjectExportApiService service

func (*ProjectExportApiService) GetApiV4ProjectsIdExport

ProjectExportApiService Get export status This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesProjectExportStatus

func (*ProjectExportApiService) GetApiV4ProjectsIdExportDownload

func (a *ProjectExportApiService) GetApiV4ProjectsIdExportDownload(ctx context.Context, id string) (*http.Response, error)

ProjectExportApiService Download export This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ProjectExportApiService) GetApiV4ProjectsIdExportRelationsDownload

func (a *ProjectExportApiService) GetApiV4ProjectsIdExportRelationsDownload(ctx context.Context, id string, relation string, localVarOptionals *ProjectExportApiGetApiV4ProjectsIdExportRelationsDownloadOpts) (*http.Response, error)

func (*ProjectExportApiService) GetApiV4ProjectsIdExportRelationsStatus

func (*ProjectExportApiService) PostApiV4ProjectsIdExport

func (a *ProjectExportApiService) PostApiV4ProjectsIdExport(ctx context.Context, id string, postApiV4ProjectsIdExport PostApiV4ProjectsIdExport) (*http.Response, error)

ProjectExportApiService Start export This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdExport

func (*ProjectExportApiService) PostApiV4ProjectsIdExportRelations

func (a *ProjectExportApiService) PostApiV4ProjectsIdExportRelations(ctx context.Context, id string, postApiV4ProjectsIdExportRelations PostApiV4ProjectsIdExportRelations) (*http.Response, error)

ProjectExportApiService Start relations export This feature was introduced in GitLab 14.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdExportRelations

type ProjectHooksApiGetApiV4ProjectsIdHooksOpts

type ProjectHooksApiGetApiV4ProjectsIdHooksOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectHooksApiService

type ProjectHooksApiService service

func (*ProjectHooksApiService) DeleteApiV4ProjectsIdHooksHookId

func (a *ProjectHooksApiService) DeleteApiV4ProjectsIdHooksHookId(ctx context.Context, id string, hookId int32) (ApiEntitiesProjectHook, *http.Response, error)

ProjectHooksApiService Delete a project hook Removes a hook from a project. This is an idempotent method and can be called multiple times. Either the hook is available or not.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param hookId The ID of the project hook

@return ApiEntitiesProjectHook

func (*ProjectHooksApiService) GetApiV4ProjectsIdHooks

func (*ProjectHooksApiService) GetApiV4ProjectsIdHooksHookId

func (a *ProjectHooksApiService) GetApiV4ProjectsIdHooksHookId(ctx context.Context, id string, hookId int32) (ApiEntitiesProjectHook, *http.Response, error)

ProjectHooksApiService Get project hook Get a specific hook for a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param hookId The ID of a project hook

@return ApiEntitiesProjectHook

func (*ProjectHooksApiService) PostApiV4ProjectsIdHooks

func (a *ProjectHooksApiService) PostApiV4ProjectsIdHooks(ctx context.Context, id string, postApiV4ProjectsIdHooks PostApiV4ProjectsIdHooks) (ApiEntitiesProjectHook, *http.Response, error)

ProjectHooksApiService Add project hook Adds a hook to a specified project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdHooks

@return ApiEntitiesProjectHook

func (*ProjectHooksApiService) PutApiV4ProjectsIdHooksHookId

func (a *ProjectHooksApiService) PutApiV4ProjectsIdHooksHookId(ctx context.Context, id string, hookId int32, putApiV4ProjectsIdHooksHookId PutApiV4ProjectsIdHooksHookId) (ApiEntitiesProjectHook, *http.Response, error)

ProjectHooksApiService Edit project hook Edits a hook for a specified project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param hookId The ID of the project hook
  • @param putApiV4ProjectsIdHooksHookId

@return ApiEntitiesProjectHook

type ProjectImportApiPostApiV4ProjectsImportOpts

type ProjectImportApiPostApiV4ProjectsImportOpts struct {
	Name                                                           optional.String
	Namespace                                                      optional.String
	Overwrite                                                      optional.Bool
	OverrideParamsDescription                                      optional.String
	OverrideParamsBuildGitStrategy                                 optional.String
	OverrideParamsBuildTimeout                                     optional.Int32
	OverrideParamsAutoCancelPendingPipelines                       optional.String
	OverrideParamsCiConfigPath                                     optional.String
	OverrideParamsServiceDeskEnabled                               optional.Bool
	OverrideParamsIssuesEnabled                                    optional.Bool
	OverrideParamsMergeRequestsEnabled                             optional.Bool
	OverrideParamsWikiEnabled                                      optional.Bool
	OverrideParamsJobsEnabled                                      optional.Bool
	OverrideParamsSnippetsEnabled                                  optional.Bool
	OverrideParamsIssuesAccessLevel                                optional.String
	OverrideParamsRepositoryAccessLevel                            optional.String
	OverrideParamsMergeRequestsAccessLevel                         optional.String
	OverrideParamsForkingAccessLevel                               optional.String
	OverrideParamsWikiAccessLevel                                  optional.String
	OverrideParamsBuildsAccessLevel                                optional.String
	OverrideParamsSnippetsAccessLevel                              optional.String
	OverrideParamsPagesAccessLevel                                 optional.String
	OverrideParamsAnalyticsAccessLevel                             optional.String
	OverrideParamsContainerRegistryAccessLevel                     optional.String
	OverrideParamsSecurityAndComplianceAccessLevel                 optional.String
	OverrideParamsReleasesAccessLevel                              optional.String
	OverrideParamsEnvironmentsAccessLevel                          optional.String
	OverrideParamsFeatureFlagsAccessLevel                          optional.String
	OverrideParamsInfrastructureAccessLevel                        optional.String
	OverrideParamsMonitorAccessLevel                               optional.String
	OverrideParamsModelExperimentsAccessLevel                      optional.String
	OverrideParamsModelRegistryAccessLevel                         optional.String
	OverrideParamsEmailsDisabled                                   optional.Bool
	OverrideParamsEmailsEnabled                                    optional.Bool
	OverrideParamsShowDefaultAwardEmojis                           optional.Bool
	OverrideParamsShowDiffPreviewInEmail                           optional.Bool
	OverrideParamsWarnAboutPotentiallyUnwantedCharacters           optional.Bool
	OverrideParamsEnforceAuthChecksOnUploads                       optional.Bool
	OverrideParamsSharedRunnersEnabled                             optional.Bool
	OverrideParamsGroupRunnersEnabled                              optional.Bool
	OverrideParamsResolveOutdatedDiffDiscussions                   optional.Bool
	OverrideParamsRemoveSourceBranchAfterMerge                     optional.Bool
	OverrideParamsContainerRegistryEnabled                         optional.Bool
	OverrideParamsContainerExpirationPolicyAttributesCadence       optional.String
	OverrideParamsContainerExpirationPolicyAttributesKeepN         optional.Int32
	OverrideParamsContainerExpirationPolicyAttributesOlderThan     optional.String
	OverrideParamsContainerExpirationPolicyAttributesNameRegex     optional.String
	OverrideParamsContainerExpirationPolicyAttributesNameRegexKeep optional.String
	OverrideParamsContainerExpirationPolicyAttributesEnabled       optional.Bool
	OverrideParamsLfsEnabled                                       optional.Bool
	OverrideParamsVisibility                                       optional.String
	OverrideParamsPublicBuilds                                     optional.Bool
	OverrideParamsPublicJobs                                       optional.Bool
	OverrideParamsRequestAccessEnabled                             optional.Bool
	OverrideParamsOnlyAllowMergeIfPipelineSucceeds                 optional.Bool
	OverrideParamsAllowMergeOnSkippedPipeline                      optional.Bool
	OverrideParamsOnlyAllowMergeIfAllDiscussionsAreResolved        optional.Bool
	OverrideParamsTagList                                          optional.Interface
	OverrideParamsTopics                                           optional.Interface
	OverrideParamsAvatar                                           optional.Interface
	OverrideParamsPrintingMergeRequestLinkEnabled                  optional.Bool
	OverrideParamsMergeMethod                                      optional.String
	OverrideParamsSuggestionCommitMessage                          optional.String
	OverrideParamsMergeCommitTemplate                              optional.String
	OverrideParamsSquashCommitTemplate                             optional.String
	OverrideParamsIssueBranchTemplate                              optional.String
	OverrideParamsInitializeWithReadme                             optional.Bool
	OverrideParamsAutoDevopsEnabled                                optional.Bool
	OverrideParamsAutoDevopsDeployStrategy                         optional.String
	OverrideParamsAutocloseReferencedIssues                        optional.Bool
	OverrideParamsRepositoryStorage                                optional.String
	OverrideParamsPackagesEnabled                                  optional.Bool
	OverrideParamsSquashOption                                     optional.String
	OverrideParamsMrDefaultTargetSelf                              optional.Bool
	OverrideParamsOnlyAllowMergeIfAllStatusChecksPassed            optional.Bool
	OverrideParamsApprovalsBeforeMerge                             optional.Int32
	OverrideParamsMirror                                           optional.Bool
	OverrideParamsMirrorTriggerBuilds                              optional.Bool
	OverrideParamsExternalAuthorizationClassificationLabel         optional.String
	OverrideParamsRequirementsAccessLevel                          optional.String
	OverrideParamsPreventMergeWithoutJiraIssue                     optional.Bool
	FilePath                                                       optional.String
	FileName                                                       optional.String
	FileType                                                       optional.String
	FileSize                                                       optional.Int32
	FileMd5                                                        optional.String
	FileSha1                                                       optional.String
	FileSha256                                                     optional.String
	FileEtag                                                       optional.String
	FileRemoteId                                                   optional.String
	FileRemoteUrl                                                  optional.String
}

type ProjectImportApiPostApiV4ProjectsImportRelationOpts

type ProjectImportApiPostApiV4ProjectsImportRelationOpts struct {
	FilePath      optional.String
	FileName      optional.String
	FileType      optional.String
	FileSize      optional.Int32
	FileMd5       optional.String
	FileSha1      optional.String
	FileSha256    optional.String
	FileEtag      optional.String
	FileRemoteId  optional.String
	FileRemoteUrl optional.String
}

type ProjectImportApiPostApiV4ProjectsRemoteImportOpts

type ProjectImportApiPostApiV4ProjectsRemoteImportOpts struct {
	Name                                                           optional.String
	Namespace                                                      optional.String
	Overwrite                                                      optional.Bool
	OverrideParamsDescription                                      optional.String
	OverrideParamsBuildGitStrategy                                 optional.String
	OverrideParamsBuildTimeout                                     optional.Int32
	OverrideParamsAutoCancelPendingPipelines                       optional.String
	OverrideParamsCiConfigPath                                     optional.String
	OverrideParamsServiceDeskEnabled                               optional.Bool
	OverrideParamsIssuesEnabled                                    optional.Bool
	OverrideParamsMergeRequestsEnabled                             optional.Bool
	OverrideParamsWikiEnabled                                      optional.Bool
	OverrideParamsJobsEnabled                                      optional.Bool
	OverrideParamsSnippetsEnabled                                  optional.Bool
	OverrideParamsIssuesAccessLevel                                optional.String
	OverrideParamsRepositoryAccessLevel                            optional.String
	OverrideParamsMergeRequestsAccessLevel                         optional.String
	OverrideParamsForkingAccessLevel                               optional.String
	OverrideParamsWikiAccessLevel                                  optional.String
	OverrideParamsBuildsAccessLevel                                optional.String
	OverrideParamsSnippetsAccessLevel                              optional.String
	OverrideParamsPagesAccessLevel                                 optional.String
	OverrideParamsAnalyticsAccessLevel                             optional.String
	OverrideParamsContainerRegistryAccessLevel                     optional.String
	OverrideParamsSecurityAndComplianceAccessLevel                 optional.String
	OverrideParamsReleasesAccessLevel                              optional.String
	OverrideParamsEnvironmentsAccessLevel                          optional.String
	OverrideParamsFeatureFlagsAccessLevel                          optional.String
	OverrideParamsInfrastructureAccessLevel                        optional.String
	OverrideParamsMonitorAccessLevel                               optional.String
	OverrideParamsModelExperimentsAccessLevel                      optional.String
	OverrideParamsModelRegistryAccessLevel                         optional.String
	OverrideParamsEmailsDisabled                                   optional.Bool
	OverrideParamsEmailsEnabled                                    optional.Bool
	OverrideParamsShowDefaultAwardEmojis                           optional.Bool
	OverrideParamsShowDiffPreviewInEmail                           optional.Bool
	OverrideParamsWarnAboutPotentiallyUnwantedCharacters           optional.Bool
	OverrideParamsEnforceAuthChecksOnUploads                       optional.Bool
	OverrideParamsSharedRunnersEnabled                             optional.Bool
	OverrideParamsGroupRunnersEnabled                              optional.Bool
	OverrideParamsResolveOutdatedDiffDiscussions                   optional.Bool
	OverrideParamsRemoveSourceBranchAfterMerge                     optional.Bool
	OverrideParamsContainerRegistryEnabled                         optional.Bool
	OverrideParamsContainerExpirationPolicyAttributesCadence       optional.String
	OverrideParamsContainerExpirationPolicyAttributesKeepN         optional.Int32
	OverrideParamsContainerExpirationPolicyAttributesOlderThan     optional.String
	OverrideParamsContainerExpirationPolicyAttributesNameRegex     optional.String
	OverrideParamsContainerExpirationPolicyAttributesNameRegexKeep optional.String
	OverrideParamsContainerExpirationPolicyAttributesEnabled       optional.Bool
	OverrideParamsLfsEnabled                                       optional.Bool
	OverrideParamsVisibility                                       optional.String
	OverrideParamsPublicBuilds                                     optional.Bool
	OverrideParamsPublicJobs                                       optional.Bool
	OverrideParamsRequestAccessEnabled                             optional.Bool
	OverrideParamsOnlyAllowMergeIfPipelineSucceeds                 optional.Bool
	OverrideParamsAllowMergeOnSkippedPipeline                      optional.Bool
	OverrideParamsOnlyAllowMergeIfAllDiscussionsAreResolved        optional.Bool
	OverrideParamsTagList                                          optional.Interface
	OverrideParamsTopics                                           optional.Interface
	OverrideParamsAvatar                                           optional.Interface
	OverrideParamsPrintingMergeRequestLinkEnabled                  optional.Bool
	OverrideParamsMergeMethod                                      optional.String
	OverrideParamsSuggestionCommitMessage                          optional.String
	OverrideParamsMergeCommitTemplate                              optional.String
	OverrideParamsSquashCommitTemplate                             optional.String
	OverrideParamsIssueBranchTemplate                              optional.String
	OverrideParamsInitializeWithReadme                             optional.Bool
	OverrideParamsAutoDevopsEnabled                                optional.Bool
	OverrideParamsAutoDevopsDeployStrategy                         optional.String
	OverrideParamsAutocloseReferencedIssues                        optional.Bool
	OverrideParamsRepositoryStorage                                optional.String
	OverrideParamsPackagesEnabled                                  optional.Bool
	OverrideParamsSquashOption                                     optional.String
	OverrideParamsMrDefaultTargetSelf                              optional.Bool
	OverrideParamsOnlyAllowMergeIfAllStatusChecksPassed            optional.Bool
	OverrideParamsApprovalsBeforeMerge                             optional.Int32
	OverrideParamsMirror                                           optional.Bool
	OverrideParamsMirrorTriggerBuilds                              optional.Bool
	OverrideParamsExternalAuthorizationClassificationLabel         optional.String
	OverrideParamsRequirementsAccessLevel                          optional.String
	OverrideParamsPreventMergeWithoutJiraIssue                     optional.Bool
}

type ProjectImportApiPostApiV4ProjectsRemoteImportS3Opts

type ProjectImportApiPostApiV4ProjectsRemoteImportS3Opts struct {
	Name                                                           optional.String
	Namespace                                                      optional.String
	Overwrite                                                      optional.Bool
	OverrideParamsDescription                                      optional.String
	OverrideParamsBuildGitStrategy                                 optional.String
	OverrideParamsBuildTimeout                                     optional.Int32
	OverrideParamsAutoCancelPendingPipelines                       optional.String
	OverrideParamsCiConfigPath                                     optional.String
	OverrideParamsServiceDeskEnabled                               optional.Bool
	OverrideParamsIssuesEnabled                                    optional.Bool
	OverrideParamsMergeRequestsEnabled                             optional.Bool
	OverrideParamsWikiEnabled                                      optional.Bool
	OverrideParamsJobsEnabled                                      optional.Bool
	OverrideParamsSnippetsEnabled                                  optional.Bool
	OverrideParamsIssuesAccessLevel                                optional.String
	OverrideParamsRepositoryAccessLevel                            optional.String
	OverrideParamsMergeRequestsAccessLevel                         optional.String
	OverrideParamsForkingAccessLevel                               optional.String
	OverrideParamsWikiAccessLevel                                  optional.String
	OverrideParamsBuildsAccessLevel                                optional.String
	OverrideParamsSnippetsAccessLevel                              optional.String
	OverrideParamsPagesAccessLevel                                 optional.String
	OverrideParamsAnalyticsAccessLevel                             optional.String
	OverrideParamsContainerRegistryAccessLevel                     optional.String
	OverrideParamsSecurityAndComplianceAccessLevel                 optional.String
	OverrideParamsReleasesAccessLevel                              optional.String
	OverrideParamsEnvironmentsAccessLevel                          optional.String
	OverrideParamsFeatureFlagsAccessLevel                          optional.String
	OverrideParamsInfrastructureAccessLevel                        optional.String
	OverrideParamsMonitorAccessLevel                               optional.String
	OverrideParamsModelExperimentsAccessLevel                      optional.String
	OverrideParamsModelRegistryAccessLevel                         optional.String
	OverrideParamsEmailsDisabled                                   optional.Bool
	OverrideParamsEmailsEnabled                                    optional.Bool
	OverrideParamsShowDefaultAwardEmojis                           optional.Bool
	OverrideParamsShowDiffPreviewInEmail                           optional.Bool
	OverrideParamsWarnAboutPotentiallyUnwantedCharacters           optional.Bool
	OverrideParamsEnforceAuthChecksOnUploads                       optional.Bool
	OverrideParamsSharedRunnersEnabled                             optional.Bool
	OverrideParamsGroupRunnersEnabled                              optional.Bool
	OverrideParamsResolveOutdatedDiffDiscussions                   optional.Bool
	OverrideParamsRemoveSourceBranchAfterMerge                     optional.Bool
	OverrideParamsContainerRegistryEnabled                         optional.Bool
	OverrideParamsContainerExpirationPolicyAttributesCadence       optional.String
	OverrideParamsContainerExpirationPolicyAttributesKeepN         optional.Int32
	OverrideParamsContainerExpirationPolicyAttributesOlderThan     optional.String
	OverrideParamsContainerExpirationPolicyAttributesNameRegex     optional.String
	OverrideParamsContainerExpirationPolicyAttributesNameRegexKeep optional.String
	OverrideParamsContainerExpirationPolicyAttributesEnabled       optional.Bool
	OverrideParamsLfsEnabled                                       optional.Bool
	OverrideParamsVisibility                                       optional.String
	OverrideParamsPublicBuilds                                     optional.Bool
	OverrideParamsPublicJobs                                       optional.Bool
	OverrideParamsRequestAccessEnabled                             optional.Bool
	OverrideParamsOnlyAllowMergeIfPipelineSucceeds                 optional.Bool
	OverrideParamsAllowMergeOnSkippedPipeline                      optional.Bool
	OverrideParamsOnlyAllowMergeIfAllDiscussionsAreResolved        optional.Bool
	OverrideParamsTagList                                          optional.Interface
	OverrideParamsTopics                                           optional.Interface
	OverrideParamsAvatar                                           optional.Interface
	OverrideParamsPrintingMergeRequestLinkEnabled                  optional.Bool
	OverrideParamsMergeMethod                                      optional.String
	OverrideParamsSuggestionCommitMessage                          optional.String
	OverrideParamsMergeCommitTemplate                              optional.String
	OverrideParamsSquashCommitTemplate                             optional.String
	OverrideParamsIssueBranchTemplate                              optional.String
	OverrideParamsInitializeWithReadme                             optional.Bool
	OverrideParamsAutoDevopsEnabled                                optional.Bool
	OverrideParamsAutoDevopsDeployStrategy                         optional.String
	OverrideParamsAutocloseReferencedIssues                        optional.Bool
	OverrideParamsRepositoryStorage                                optional.String
	OverrideParamsPackagesEnabled                                  optional.Bool
	OverrideParamsSquashOption                                     optional.String
	OverrideParamsMrDefaultTargetSelf                              optional.Bool
	OverrideParamsOnlyAllowMergeIfAllStatusChecksPassed            optional.Bool
	OverrideParamsApprovalsBeforeMerge                             optional.Int32
	OverrideParamsMirror                                           optional.Bool
	OverrideParamsMirrorTriggerBuilds                              optional.Bool
	OverrideParamsExternalAuthorizationClassificationLabel         optional.String
	OverrideParamsRequirementsAccessLevel                          optional.String
	OverrideParamsPreventMergeWithoutJiraIssue                     optional.Bool
}

type ProjectImportApiService

type ProjectImportApiService service

func (*ProjectImportApiService) GetApiV4ProjectsIdImport

ProjectImportApiService Get a project import status This feature was introduced in GitLab 10.6.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesProjectImportStatus

func (*ProjectImportApiService) GetApiV4ProjectsIdRelationImports

func (a *ProjectImportApiService) GetApiV4ProjectsIdRelationImports(ctx context.Context, id string) (ApiEntitiesProjectImportStatus, *http.Response, error)

ProjectImportApiService Get the statuses of relation imports for specified project This feature was introduced in GitLab 16.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesProjectImportStatus

func (*ProjectImportApiService) PostApiV4ProjectsImport

func (*ProjectImportApiService) PostApiV4ProjectsImportAuthorize

func (a *ProjectImportApiService) PostApiV4ProjectsImportAuthorize(ctx context.Context) (*http.Response, error)

ProjectImportApiService Workhorse authorize the project import upload This feature was introduced in GitLab 12.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*ProjectImportApiService) PostApiV4ProjectsImportRelation

func (a *ProjectImportApiService) PostApiV4ProjectsImportRelation(ctx context.Context, path string, file *os.File, relation string, localVarOptionals *ProjectImportApiPostApiV4ProjectsImportRelationOpts) (ApiEntitiesRelationImportTracker, *http.Response, error)

func (*ProjectImportApiService) PostApiV4ProjectsImportRelationAuthorize

func (a *ProjectImportApiService) PostApiV4ProjectsImportRelationAuthorize(ctx context.Context) (*http.Response, error)

ProjectImportApiService Workhorse authorize the project relation import upload This feature was introduced in GitLab 16.11

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*ProjectImportApiService) PostApiV4ProjectsRemoteImport

func (*ProjectImportApiService) PostApiV4ProjectsRemoteImportS3

func (a *ProjectImportApiService) PostApiV4ProjectsRemoteImportS3(ctx context.Context, region string, bucketName string, fileKey string, accessKeyId string, secretAccessKey string, path string, localVarOptionals *ProjectImportApiPostApiV4ProjectsRemoteImportS3Opts) (ApiEntitiesProjectImportStatus, *http.Response, error)

type ProjectImportBitbucketApiService

type ProjectImportBitbucketApiService service

func (*ProjectImportBitbucketApiService) PostApiV4ImportBitbucket

func (a *ProjectImportBitbucketApiService) PostApiV4ImportBitbucket(ctx context.Context, postApiV4ImportBitbucket PostApiV4ImportBitbucket) (ProjectImportEntity, *http.Response, error)

ProjectImportBitbucketApiService Import a BitBucket Cloud repository This feature was introduced in GitLab 17.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4ImportBitbucket

@return ProjectImportEntity

func (*ProjectImportBitbucketApiService) PostApiV4ImportBitbucketServer

func (a *ProjectImportBitbucketApiService) PostApiV4ImportBitbucketServer(ctx context.Context, postApiV4ImportBitbucketServer PostApiV4ImportBitbucketServer) (ProjectEntity, *http.Response, error)

ProjectImportBitbucketApiService Import a BitBucket Server repository This feature was introduced in GitLab 13.2.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4ImportBitbucketServer

@return ProjectEntity

type ProjectImportEntity

type ProjectImportEntity struct {
	Id                    int32  `json:"id,omitempty"`
	Name                  string `json:"name,omitempty"`
	FullPath              string `json:"full_path,omitempty"`
	FullName              string `json:"full_name,omitempty"`
	RefsUrl               string `json:"refs_url,omitempty"`
	ImportSource          string `json:"import_source,omitempty"`
	ImportStatus          string `json:"import_status,omitempty"`
	HumanImportStatusName string `json:"human_import_status_name,omitempty"`
	ProviderLink          string `json:"provider_link,omitempty"`
	ImportError           string `json:"import_error,omitempty"`
	ImportWarning         string `json:"import_warning,omitempty"`
	RelationType          string `json:"relation_type,omitempty"`
}

ProjectImportEntity model

type ProjectImportGithubApiService

type ProjectImportGithubApiService service

func (*ProjectImportGithubApiService) PostApiV4ImportGithub

func (a *ProjectImportGithubApiService) PostApiV4ImportGithub(ctx context.Context, postApiV4ImportGithub PostApiV4ImportGithub) (ProjectEntity, *http.Response, error)

ProjectImportGithubApiService Import a GitHub project This feature was introduced in GitLab 11.3.4.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4ImportGithub

@return ProjectEntity

func (*ProjectImportGithubApiService) PostApiV4ImportGithubCancel

func (a *ProjectImportGithubApiService) PostApiV4ImportGithubCancel(ctx context.Context, postApiV4ImportGithubCancel PostApiV4ImportGithubCancel) (ProjectImportEntity, *http.Response, error)

ProjectImportGithubApiService Cancel GitHub project import This feature was introduced in GitLab 15.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4ImportGithubCancel

@return ProjectImportEntity

type ProjectPackagesApiGetApiV4ProjectsIdPackagesOpts

type ProjectPackagesApiGetApiV4ProjectsIdPackagesOpts struct {
	Page               optional.Int32
	PerPage            optional.Int32
	OrderBy            optional.String
	Sort               optional.String
	PackageType        optional.String
	PackageName        optional.String
	PackageVersion     optional.String
	IncludeVersionless optional.Bool
	Status             optional.String
}

type ProjectPackagesApiGetApiV4ProjectsIdPackagesPackageIdPipelinesOpts

type ProjectPackagesApiGetApiV4ProjectsIdPackagesPackageIdPipelinesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Cursor  optional.String
}

type ProjectPackagesApiService

type ProjectPackagesApiService service

func (*ProjectPackagesApiService) DeleteApiV4ProjectsIdPackagesPackageId

func (a *ProjectPackagesApiService) DeleteApiV4ProjectsIdPackagesPackageId(ctx context.Context, id string, packageId int32) (*http.Response, error)

ProjectPackagesApiService Delete a project package This feature was introduced in GitLab 11.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageId The ID of a package

func (*ProjectPackagesApiService) GetApiV4ProjectsIdPackages

func (*ProjectPackagesApiService) GetApiV4ProjectsIdPackagesPackageId

func (a *ProjectPackagesApiService) GetApiV4ProjectsIdPackagesPackageId(ctx context.Context, id string, packageId int32) (ApiEntitiesPackage, *http.Response, error)

ProjectPackagesApiService Get a single project package This feature was introduced in GitLab 11.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageId The ID of a package

@return ApiEntitiesPackage

func (*ProjectPackagesApiService) GetApiV4ProjectsIdPackagesPackageIdPipelines

func (a *ProjectPackagesApiService) GetApiV4ProjectsIdPackagesPackageIdPipelines(ctx context.Context, id string, packageId int32, localVarOptionals *ProjectPackagesApiGetApiV4ProjectsIdPackagesPackageIdPipelinesOpts) (ApiEntitiesPackagePipeline, *http.Response, error)

type ProjectRepositoryStorageMovesApiGetApiV4ProjectRepositoryStorageMovesOpts

type ProjectRepositoryStorageMovesApiGetApiV4ProjectRepositoryStorageMovesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectRepositoryStorageMovesApiService

type ProjectRepositoryStorageMovesApiService service

func (*ProjectRepositoryStorageMovesApiService) GetApiV4ProjectRepositoryStorageMovesRepositoryStorageMoveId

func (a *ProjectRepositoryStorageMovesApiService) GetApiV4ProjectRepositoryStorageMovesRepositoryStorageMoveId(ctx context.Context, repositoryStorageMoveId int32) (ApiEntitiesProjectsRepositoryStorageMove, *http.Response, error)

ProjectRepositoryStorageMovesApiService Get a project repository storage move This feature was introduced in GitLab 13.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param repositoryStorageMoveId The ID of a project repository storage move

@return ApiEntitiesProjectsRepositoryStorageMove

func (*ProjectRepositoryStorageMovesApiService) PostApiV4ProjectRepositoryStorageMoves

func (a *ProjectRepositoryStorageMovesApiService) PostApiV4ProjectRepositoryStorageMoves(ctx context.Context, postApiV4ProjectRepositoryStorageMoves PostApiV4ProjectRepositoryStorageMoves) (*http.Response, error)

ProjectRepositoryStorageMovesApiService Schedule bulk project repository storage moves This feature was introduced in GitLab 13.7.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4ProjectRepositoryStorageMoves

type ProjectSnippetsApiGetApiV4ProjectsIdSnippetsOpts

type ProjectSnippetsApiGetApiV4ProjectsIdSnippetsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectSnippetsApiService

type ProjectSnippetsApiService service

func (*ProjectSnippetsApiService) DeleteApiV4ProjectsIdSnippetsSnippetId

func (a *ProjectSnippetsApiService) DeleteApiV4ProjectsIdSnippetsSnippetId(ctx context.Context, id string, snippetId int32) (*http.Response, error)

ProjectSnippetsApiService Delete a project snippet

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param snippetId The ID of a project snippet

func (*ProjectSnippetsApiService) GetApiV4ProjectsIdSnippets

func (*ProjectSnippetsApiService) GetApiV4ProjectsIdSnippetsSnippetId

func (a *ProjectSnippetsApiService) GetApiV4ProjectsIdSnippetsSnippetId(ctx context.Context, id string, snippetId int32) (ApiEntitiesProjectSnippet, *http.Response, error)

ProjectSnippetsApiService Get a single project snippet

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param snippetId The ID of a project snippet

@return ApiEntitiesProjectSnippet

func (*ProjectSnippetsApiService) GetApiV4ProjectsIdSnippetsSnippetIdFilesRefFilePathRaw

func (a *ProjectSnippetsApiService) GetApiV4ProjectsIdSnippetsSnippetIdFilesRefFilePathRaw(ctx context.Context, id string, filePath string, ref string, snippetId int32) (ApiEntitiesProjectSnippet, *http.Response, error)

ProjectSnippetsApiService Get raw project snippet file contents from the repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param filePath The url encoded path to the file, e.g. lib%2Fclass%2Erb
  • @param ref The name of branch, tag or commit
  • @param snippetId

@return ApiEntitiesProjectSnippet

func (*ProjectSnippetsApiService) GetApiV4ProjectsIdSnippetsSnippetIdRaw

func (a *ProjectSnippetsApiService) GetApiV4ProjectsIdSnippetsSnippetIdRaw(ctx context.Context, id string, snippetId int32) (ApiEntitiesProjectSnippet, *http.Response, error)

ProjectSnippetsApiService Get a raw project snippet

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param snippetId The ID of a project snippet

@return ApiEntitiesProjectSnippet

func (*ProjectSnippetsApiService) GetApiV4ProjectsIdSnippetsSnippetIdUserAgentDetail

func (a *ProjectSnippetsApiService) GetApiV4ProjectsIdSnippetsSnippetIdUserAgentDetail(ctx context.Context, id string, snippetId int32) (ApiEntitiesUserAgentDetail, *http.Response, error)

ProjectSnippetsApiService Get the user agent details for a project snippet

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param snippetId The ID of a project snippet

@return ApiEntitiesUserAgentDetail

func (*ProjectSnippetsApiService) PostApiV4ProjectsIdSnippets

func (a *ProjectSnippetsApiService) PostApiV4ProjectsIdSnippets(ctx context.Context, id string, postApiV4ProjectsIdSnippets PostApiV4ProjectsIdSnippets) (ApiEntitiesProjectSnippet, *http.Response, error)

ProjectSnippetsApiService Create a new project snippet

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdSnippets

@return ApiEntitiesProjectSnippet

func (*ProjectSnippetsApiService) PutApiV4ProjectsIdSnippetsSnippetId

func (a *ProjectSnippetsApiService) PutApiV4ProjectsIdSnippetsSnippetId(ctx context.Context, id string, snippetId int32, putApiV4ProjectsIdSnippetsSnippetId PutApiV4ProjectsIdSnippetsSnippetId) (ApiEntitiesProjectSnippet, *http.Response, error)

ProjectSnippetsApiService Update an existing project snippet

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param snippetId The ID of a project snippet
  • @param putApiV4ProjectsIdSnippetsSnippetId

@return ApiEntitiesProjectSnippet

type ProjectsApiDeleteApiV4ProjectsIdRepositoryFilesFilePathOpts

type ProjectsApiDeleteApiV4ProjectsIdRepositoryFilesFilePathOpts struct {
	StartBranch optional.String
	AuthorEmail optional.String
	AuthorName  optional.String
}

type ProjectsApiGetApiV4ProjectsIdAuditEventsOpts

type ProjectsApiGetApiV4ProjectsIdAuditEventsOpts struct {
	CreatedAfter  optional.Time
	CreatedBefore optional.Time
	Page          optional.Int32
	PerPage       optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdEventsOpts

type ProjectsApiGetApiV4ProjectsIdEventsOpts struct {
	Action     optional.String
	TargetType optional.String
	Before     optional.String
	After      optional.String
	Sort       optional.String
	Page       optional.Int32
	PerPage    optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdForksOpts

type ProjectsApiGetApiV4ProjectsIdForksOpts struct {
	OrderBy                  optional.String
	Sort                     optional.String
	Archived                 optional.Bool
	Visibility               optional.String
	Search                   optional.String
	SearchNamespaces         optional.Bool
	Owned                    optional.Bool
	Starred                  optional.Bool
	Imported                 optional.Bool
	Membership               optional.Bool
	WithIssuesEnabled        optional.Bool
	WithMergeRequestsEnabled optional.Bool
	WithProgrammingLanguage  optional.String
	MinAccessLevel           optional.Int32
	IdAfter                  optional.Int32
	IdBefore                 optional.Int32
	LastActivityAfter        optional.Time
	LastActivityBefore       optional.Time
	RepositoryStorage        optional.String
	Topic                    optional.Interface
	TopicId                  optional.Int32
	UpdatedBefore            optional.Time
	UpdatedAfter             optional.Time
	IncludePendingDelete     optional.Bool
	WikiChecksumFailed       optional.Bool
	RepositoryChecksumFailed optional.Bool
	IncludeHidden            optional.Bool
	Page                     optional.Int32
	PerPage                  optional.Int32
	Simple                   optional.Bool
	WithCustomAttributes     optional.Bool
}

type ProjectsApiGetApiV4ProjectsIdGroupsOpts

type ProjectsApiGetApiV4ProjectsIdGroupsOpts struct {
	Search               optional.String
	SkipGroups           optional.Interface
	WithShared           optional.Bool
	SharedVisibleOnly    optional.Bool
	SharedMinAccessLevel optional.Int32
	Page                 optional.Int32
	PerPage              optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdJobsArtifactsRefNameDownloadOpts

type ProjectsApiGetApiV4ProjectsIdJobsArtifactsRefNameDownloadOpts struct {
	JobToken optional.String
}

type ProjectsApiGetApiV4ProjectsIdJobsArtifactsRefNameRawartifactPathOpts

type ProjectsApiGetApiV4ProjectsIdJobsArtifactsRefNameRawartifactPathOpts struct {
	JobToken optional.String
}

type ProjectsApiGetApiV4ProjectsIdJobsJobIdArtifactsOpts

type ProjectsApiGetApiV4ProjectsIdJobsJobIdArtifactsOpts struct {
	JobToken optional.String
}

type ProjectsApiGetApiV4ProjectsIdJobsJobIdArtifactsartifactPathOpts

type ProjectsApiGetApiV4ProjectsIdJobsJobIdArtifactsartifactPathOpts struct {
	JobToken optional.String
}

type ProjectsApiGetApiV4ProjectsIdJobsOpts

type ProjectsApiGetApiV4ProjectsIdJobsOpts struct {
	Scope   optional.Interface
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdOpts

type ProjectsApiGetApiV4ProjectsIdOpts struct {
	Statistics           optional.Bool
	WithCustomAttributes optional.Bool
	License              optional.Bool
}

type ProjectsApiGetApiV4ProjectsIdPipelineSchedulesOpts

type ProjectsApiGetApiV4ProjectsIdPipelineSchedulesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Scope   optional.String
}

type ProjectsApiGetApiV4ProjectsIdPipelinesLatestOpts

type ProjectsApiGetApiV4ProjectsIdPipelinesLatestOpts struct {
	Ref optional.String
}

type ProjectsApiGetApiV4ProjectsIdPipelinesOpts

type ProjectsApiGetApiV4ProjectsIdPipelinesOpts struct {
	Page          optional.Int32
	PerPage       optional.Int32
	Scope         optional.String
	Status        optional.String
	Ref           optional.String
	Sha           optional.String
	YamlErrors    optional.Bool
	Username      optional.String
	UpdatedBefore optional.Time
	UpdatedAfter  optional.Time
	OrderBy       optional.String
	Sort          optional.String
	Source        optional.String
	Name          optional.String
}

type ProjectsApiGetApiV4ProjectsIdPipelinesPipelineIdBridgesOpts

type ProjectsApiGetApiV4ProjectsIdPipelinesPipelineIdBridgesOpts struct {
	Scope   optional.String
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdPipelinesPipelineIdJobsOpts

type ProjectsApiGetApiV4ProjectsIdPipelinesPipelineIdJobsOpts struct {
	IncludeRetried optional.Bool
	Scope          optional.String
	Page           optional.Int32
	PerPage        optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdProtectedBranchesOpts

type ProjectsApiGetApiV4ProjectsIdProtectedBranchesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	Search  optional.String
}

type ProjectsApiGetApiV4ProjectsIdRepositoryArchiveOpts

type ProjectsApiGetApiV4ProjectsIdRepositoryArchiveOpts struct {
	Sha    optional.String
	Format optional.String
	Path   optional.String
}

type ProjectsApiGetApiV4ProjectsIdRepositoryChangelogOpts

type ProjectsApiGetApiV4ProjectsIdRepositoryChangelogOpts struct {
	From       optional.String
	To         optional.String
	Date       optional.Time
	Trailer    optional.String
	ConfigFile optional.String
}

type ProjectsApiGetApiV4ProjectsIdRepositoryCommitsShaStatusesOpts

type ProjectsApiGetApiV4ProjectsIdRepositoryCommitsShaStatusesOpts struct {
	Ref     optional.String
	Stage   optional.String
	Name    optional.String
	All     optional.Bool
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdRepositoryCompareOpts

type ProjectsApiGetApiV4ProjectsIdRepositoryCompareOpts struct {
	FromProjectId optional.Int32
	Straight      optional.Bool
	Unidiff       optional.Bool
}

type ProjectsApiGetApiV4ProjectsIdRepositoryContributorsOpts

type ProjectsApiGetApiV4ProjectsIdRepositoryContributorsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	OrderBy optional.String
	Sort    optional.String
}

type ProjectsApiGetApiV4ProjectsIdRepositoryFilesFilePathRawOpts

type ProjectsApiGetApiV4ProjectsIdRepositoryFilesFilePathRawOpts struct {
	Ref optional.String
	Lfs optional.Bool
}

type ProjectsApiGetApiV4ProjectsIdRepositoryStorageMovesOpts

type ProjectsApiGetApiV4ProjectsIdRepositoryStorageMovesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdRepositoryTreeOpts

type ProjectsApiGetApiV4ProjectsIdRepositoryTreeOpts struct {
	Ref        optional.String
	Path       optional.String
	Recursive  optional.Bool
	Page       optional.Int32
	PerPage    optional.Int32
	Pagination optional.String
	PageToken  optional.String
}

type ProjectsApiGetApiV4ProjectsIdRunnersOpts

type ProjectsApiGetApiV4ProjectsIdRunnersOpts struct {
	Scope         optional.String
	Type_         optional.String
	Paused        optional.Bool
	Status        optional.String
	TagList       optional.Interface
	VersionPrefix optional.String
	Page          optional.Int32
	PerPage       optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdShareLocationsOpts

type ProjectsApiGetApiV4ProjectsIdShareLocationsOpts struct {
	Search optional.String
}

type ProjectsApiGetApiV4ProjectsIdSnapshotOpts

type ProjectsApiGetApiV4ProjectsIdSnapshotOpts struct {
	Wiki optional.Bool
}

type ProjectsApiGetApiV4ProjectsIdStarrersOpts

type ProjectsApiGetApiV4ProjectsIdStarrersOpts struct {
	Search  optional.String
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdTemplatesTypeNameOpts

type ProjectsApiGetApiV4ProjectsIdTemplatesTypeNameOpts struct {
	SourceTemplateProjectId optional.Int32
	Project                 optional.String
	Fullname                optional.String
}

type ProjectsApiGetApiV4ProjectsIdTemplatesTypeOpts

type ProjectsApiGetApiV4ProjectsIdTemplatesTypeOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdTransferLocationsOpts

type ProjectsApiGetApiV4ProjectsIdTransferLocationsOpts struct {
	Search  optional.String
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdTriggersOpts

type ProjectsApiGetApiV4ProjectsIdTriggersOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectsApiGetApiV4ProjectsIdUsersOpts

type ProjectsApiGetApiV4ProjectsIdUsersOpts struct {
	Search    optional.String
	SkipUsers optional.Interface
	Page      optional.Int32
	PerPage   optional.Int32
}

type ProjectsApiGetApiV4ProjectsOpts

type ProjectsApiGetApiV4ProjectsOpts struct {
	OrderBy                  optional.String
	Sort                     optional.String
	Archived                 optional.Bool
	Visibility               optional.String
	Search                   optional.String
	SearchNamespaces         optional.Bool
	Owned                    optional.Bool
	Starred                  optional.Bool
	Imported                 optional.Bool
	Membership               optional.Bool
	WithIssuesEnabled        optional.Bool
	WithMergeRequestsEnabled optional.Bool
	WithProgrammingLanguage  optional.String
	MinAccessLevel           optional.Int32
	IdAfter                  optional.Int32
	IdBefore                 optional.Int32
	LastActivityAfter        optional.Time
	LastActivityBefore       optional.Time
	RepositoryStorage        optional.String
	Topic                    optional.Interface
	TopicId                  optional.Int32
	UpdatedBefore            optional.Time
	UpdatedAfter             optional.Time
	IncludePendingDelete     optional.Bool
	WikiChecksumFailed       optional.Bool
	RepositoryChecksumFailed optional.Bool
	IncludeHidden            optional.Bool
	Page                     optional.Int32
	PerPage                  optional.Int32
	Simple                   optional.Bool
	Statistics               optional.Bool
	WithCustomAttributes     optional.Bool
}

type ProjectsApiGetApiV4UsersUserIdContributedProjectsOpts

type ProjectsApiGetApiV4UsersUserIdContributedProjectsOpts struct {
	OrderBy optional.String
	Sort    optional.String
	Page    optional.Int32
	PerPage optional.Int32
	Simple  optional.Bool
}

type ProjectsApiGetApiV4UsersUserIdProjectsOpts

type ProjectsApiGetApiV4UsersUserIdProjectsOpts struct {
	OrderBy                  optional.String
	Sort                     optional.String
	Archived                 optional.Bool
	Visibility               optional.String
	Search                   optional.String
	SearchNamespaces         optional.Bool
	Owned                    optional.Bool
	Starred                  optional.Bool
	Imported                 optional.Bool
	Membership               optional.Bool
	WithIssuesEnabled        optional.Bool
	WithMergeRequestsEnabled optional.Bool
	WithProgrammingLanguage  optional.String
	MinAccessLevel           optional.Int32
	IdAfter                  optional.Int32
	IdBefore                 optional.Int32
	LastActivityAfter        optional.Time
	LastActivityBefore       optional.Time
	RepositoryStorage        optional.String
	Topic                    optional.Interface
	TopicId                  optional.Int32
	UpdatedBefore            optional.Time
	UpdatedAfter             optional.Time
	IncludePendingDelete     optional.Bool
	WikiChecksumFailed       optional.Bool
	RepositoryChecksumFailed optional.Bool
	IncludeHidden            optional.Bool
	Page                     optional.Int32
	PerPage                  optional.Int32
	Simple                   optional.Bool
	Statistics               optional.Bool
	WithCustomAttributes     optional.Bool
}

type ProjectsApiGetApiV4UsersUserIdStarredProjectsOpts

type ProjectsApiGetApiV4UsersUserIdStarredProjectsOpts struct {
	OrderBy                  optional.String
	Sort                     optional.String
	Archived                 optional.Bool
	Visibility               optional.String
	Search                   optional.String
	SearchNamespaces         optional.Bool
	Owned                    optional.Bool
	Starred                  optional.Bool
	Imported                 optional.Bool
	Membership               optional.Bool
	WithIssuesEnabled        optional.Bool
	WithMergeRequestsEnabled optional.Bool
	WithProgrammingLanguage  optional.String
	MinAccessLevel           optional.Int32
	IdAfter                  optional.Int32
	IdBefore                 optional.Int32
	LastActivityAfter        optional.Time
	LastActivityBefore       optional.Time
	RepositoryStorage        optional.String
	Topic                    optional.Interface
	TopicId                  optional.Int32
	UpdatedBefore            optional.Time
	UpdatedAfter             optional.Time
	IncludePendingDelete     optional.Bool
	WikiChecksumFailed       optional.Bool
	RepositoryChecksumFailed optional.Bool
	IncludeHidden            optional.Bool
	Page                     optional.Int32
	PerPage                  optional.Int32
	Simple                   optional.Bool
	Statistics               optional.Bool
}

type ProjectsApiService

type ProjectsApiService service

func (*ProjectsApiService) DeleteApiV4ProjectsId

func (a *ProjectsApiService) DeleteApiV4ProjectsId(ctx context.Context, id string) (*http.Response, error)

ProjectsApiService Delete a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ProjectsApiService) DeleteApiV4ProjectsIdArtifacts

func (a *ProjectsApiService) DeleteApiV4ProjectsIdArtifacts(ctx context.Context, id string) (*http.Response, error)

ProjectsApiService Expire the artifacts files from a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ProjectsApiService) DeleteApiV4ProjectsIdCustomAttributesKey

func (a *ProjectsApiService) DeleteApiV4ProjectsIdCustomAttributesKey(ctx context.Context, key string, id int32) (*http.Response, error)

ProjectsApiService Delete a custom attribute on a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of the custom attribute
  • @param id

func (*ProjectsApiService) DeleteApiV4ProjectsIdFork

func (a *ProjectsApiService) DeleteApiV4ProjectsIdFork(ctx context.Context, id string) (*http.Response, error)

ProjectsApiService Remove a forked_from relationship

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ProjectsApiService) DeleteApiV4ProjectsIdHooksHookIdUrlVariablesKey

func (a *ProjectsApiService) DeleteApiV4ProjectsIdHooksHookIdUrlVariablesKey(ctx context.Context, hookId int32, key string, id int32) (*http.Response, error)

ProjectsApiService Un-Set a url variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param hookId The ID of the hook
  • @param key The key of the variable
  • @param id

func (*ProjectsApiService) DeleteApiV4ProjectsIdJobsJobIdArtifacts

func (a *ProjectsApiService) DeleteApiV4ProjectsIdJobsJobIdArtifacts(ctx context.Context, id string, jobId int32) (*http.Response, error)

ProjectsApiService Delete the artifacts files from a job This feature was introduced in GitLab 11.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param jobId The ID of a job

func (*ProjectsApiService) DeleteApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId

func (a *ProjectsApiService) DeleteApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId(ctx context.Context, id string, mergeRequestIid int32, draftNoteId int32) (ApiEntitiesDraftNote, *http.Response, error)

ProjectsApiService Delete a draft note

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project
  • @param mergeRequestIid The ID of a merge request
  • @param draftNoteId The ID of a draft note

@return ApiEntitiesDraftNote

func (*ProjectsApiService) DeleteApiV4ProjectsIdPagesDomainsDomain

func (a *ProjectsApiService) DeleteApiV4ProjectsIdPagesDomainsDomain(ctx context.Context, id string, domain string) (*http.Response, error)

ProjectsApiService Delete a pages domain

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param domain The domain

func (*ProjectsApiService) DeleteApiV4ProjectsIdPipelineSchedulesPipelineScheduleId

func (a *ProjectsApiService) DeleteApiV4ProjectsIdPipelineSchedulesPipelineScheduleId(ctx context.Context, id string, pipelineScheduleId int32) (*http.Response, error)

ProjectsApiService Delete a pipeline schedule

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param pipelineScheduleId The pipeline schedule id

func (*ProjectsApiService) DeleteApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey

func (a *ProjectsApiService) DeleteApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey(ctx context.Context, id string, pipelineScheduleId int32, key string) (ApiEntitiesCiVariable, *http.Response, error)

ProjectsApiService Delete a pipeline schedule variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param pipelineScheduleId The pipeline schedule id
  • @param key The key of the variable

@return ApiEntitiesCiVariable

func (*ProjectsApiService) DeleteApiV4ProjectsIdPipelinesPipelineId

func (a *ProjectsApiService) DeleteApiV4ProjectsIdPipelinesPipelineId(ctx context.Context, id string, pipelineId int32) (*http.Response, error)

ProjectsApiService Deletes a pipeline This feature was introduced in GitLab 11.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or URL-encoded path
  • @param pipelineId The pipeline ID

func (*ProjectsApiService) DeleteApiV4ProjectsIdProtectedBranchesName

func (a *ProjectsApiService) DeleteApiV4ProjectsIdProtectedBranchesName(ctx context.Context, id string, name string) (*http.Response, error)

ProjectsApiService Unprotect a single branch

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param name The name of the protected branch

func (*ProjectsApiService) DeleteApiV4ProjectsIdRepositoryFilesFilePath

func (a *ProjectsApiService) DeleteApiV4ProjectsIdRepositoryFilesFilePath(ctx context.Context, id string, filePath string, branch string, commitMessage string, localVarOptionals *ProjectsApiDeleteApiV4ProjectsIdRepositoryFilesFilePathOpts) (*http.Response, error)

func (*ProjectsApiService) DeleteApiV4ProjectsIdRunnersRunnerId

func (a *ProjectsApiService) DeleteApiV4ProjectsIdRunnersRunnerId(ctx context.Context, id string, runnerId int32) (ApiEntitiesCiRunner, *http.Response, error)

ProjectsApiService Disable a project runner from the project It works only if the project isn't the only project associated with the specified runner. If so, an error is returned. Use the call to delete a runner instead.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param runnerId The ID of a runner

@return ApiEntitiesCiRunner

func (*ProjectsApiService) DeleteApiV4ProjectsIdShareGroupId

func (a *ProjectsApiService) DeleteApiV4ProjectsIdShareGroupId(ctx context.Context, id string, groupId int32) (*http.Response, error)

ProjectsApiService Remove a group share

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param groupId The ID of the group

func (*ProjectsApiService) DeleteApiV4ProjectsIdTriggersTriggerId

func (a *ProjectsApiService) DeleteApiV4ProjectsIdTriggersTriggerId(ctx context.Context, id string, triggerId int32) (*http.Response, error)

ProjectsApiService Delete a trigger token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param triggerId The trigger token ID

func (*ProjectsApiService) GetApiV4Projects

func (*ProjectsApiService) GetApiV4ProjectsId

func (*ProjectsApiService) GetApiV4ProjectsIdAuditEvents

func (a *ProjectsApiService) GetApiV4ProjectsIdAuditEvents(ctx context.Context, id int32, localVarOptionals *ProjectsApiGetApiV4ProjectsIdAuditEventsOpts) ([]EeApiEntitiesAuditEvent, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdAuditEventsAuditEventId

func (a *ProjectsApiService) GetApiV4ProjectsIdAuditEventsAuditEventId(ctx context.Context, auditEventId int32, id int32) (EeApiEntitiesAuditEvent, *http.Response, error)

ProjectsApiService Get a specific audit event in this project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param auditEventId The ID of the audit event
  • @param id

@return EeApiEntitiesAuditEvent

func (*ProjectsApiService) GetApiV4ProjectsIdCustomAttributes

func (a *ProjectsApiService) GetApiV4ProjectsIdCustomAttributes(ctx context.Context, id int32) (ApiEntitiesCustomAttribute, *http.Response, error)

ProjectsApiService Get all custom attributes on a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return ApiEntitiesCustomAttribute

func (*ProjectsApiService) GetApiV4ProjectsIdCustomAttributesKey

func (a *ProjectsApiService) GetApiV4ProjectsIdCustomAttributesKey(ctx context.Context, key string, id int32) (ApiEntitiesCustomAttribute, *http.Response, error)

ProjectsApiService Get a custom attribute on a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of the custom attribute
  • @param id

@return ApiEntitiesCustomAttribute

func (*ProjectsApiService) GetApiV4ProjectsIdEvents

func (a *ProjectsApiService) GetApiV4ProjectsIdEvents(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdEventsOpts) (ApiEntitiesEvent, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdForks

func (a *ProjectsApiService) GetApiV4ProjectsIdForks(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdForksOpts) ([]ApiEntitiesProject, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdGroups

func (*ProjectsApiService) GetApiV4ProjectsIdJobs

func (a *ProjectsApiService) GetApiV4ProjectsIdJobs(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdJobsOpts) ([]ApiEntitiesCiJob, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdJobsArtifactsRefNameDownload

func (a *ProjectsApiService) GetApiV4ProjectsIdJobsArtifactsRefNameDownload(ctx context.Context, id string, refName string, job string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdJobsArtifactsRefNameDownloadOpts) (*http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdJobsArtifactsRefNameRawartifactPath

func (a *ProjectsApiService) GetApiV4ProjectsIdJobsArtifactsRefNameRawartifactPath(ctx context.Context, id string, refName string, job string, artifactPath string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdJobsArtifactsRefNameRawartifactPathOpts) (*http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdJobsJobId

func (a *ProjectsApiService) GetApiV4ProjectsIdJobsJobId(ctx context.Context, jobId int32, id int32) (ApiEntitiesCiJob, *http.Response, error)

ProjectsApiService Get a specific job of a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId The ID of a job
  • @param id

@return ApiEntitiesCiJob

func (*ProjectsApiService) GetApiV4ProjectsIdJobsJobIdArtifacts

func (a *ProjectsApiService) GetApiV4ProjectsIdJobsJobIdArtifacts(ctx context.Context, id string, jobId int32, localVarOptionals *ProjectsApiGetApiV4ProjectsIdJobsJobIdArtifactsOpts) (*http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdJobsJobIdArtifactsartifactPath

func (a *ProjectsApiService) GetApiV4ProjectsIdJobsJobIdArtifactsartifactPath(ctx context.Context, id string, jobId int32, artifactPath string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdJobsJobIdArtifactsartifactPathOpts) (*http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdJobsJobIdTrace

func (a *ProjectsApiService) GetApiV4ProjectsIdJobsJobIdTrace(ctx context.Context, jobId int32, id int32) (ApiEntitiesCiJob, *http.Response, error)

ProjectsApiService Get a trace of a specific job of a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId The ID of a job
  • @param id

@return ApiEntitiesCiJob

func (*ProjectsApiService) GetApiV4ProjectsIdLanguages

func (a *ProjectsApiService) GetApiV4ProjectsIdLanguages(ctx context.Context, id string) (*http.Response, error)

ProjectsApiService Get languages in project repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ProjectsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalState

func (a *ProjectsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidApprovalState(ctx context.Context, id string, mergeRequestIid int32) (EeApiEntitiesMergeRequestApprovalState, *http.Response, error)

ProjectsApiService Get approval state of merge request

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param mergeRequestIid The IID of a merge request

@return EeApiEntitiesMergeRequestApprovalState

func (*ProjectsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals

func (a *ProjectsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals(ctx context.Context, id int32, mergeRequestIid int32) (ApiEntitiesMergeRequestApprovals, *http.Response, error)

ProjectsApiService List approvals for merge request

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param mergeRequestIid

@return ApiEntitiesMergeRequestApprovals

func (*ProjectsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes

func (a *ProjectsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes(ctx context.Context, id string, mergeRequestIid int32) ([]ApiEntitiesDraftNote, *http.Response, error)

ProjectsApiService Get a list of merge request draft notes

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project
  • @param mergeRequestIid The ID of a merge request

@return []ApiEntitiesDraftNote

func (*ProjectsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId

func (a *ProjectsApiService) GetApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId(ctx context.Context, id string, mergeRequestIid int32, draftNoteId int32) (ApiEntitiesDraftNote, *http.Response, error)

ProjectsApiService Get a single draft note

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project
  • @param mergeRequestIid The ID of a merge request
  • @param draftNoteId The ID of a draft note

@return ApiEntitiesDraftNote

func (*ProjectsApiService) GetApiV4ProjectsIdPagesAccess

func (a *ProjectsApiService) GetApiV4ProjectsIdPagesAccess(ctx context.Context, id string) (*http.Response, error)

ProjectsApiService Check pages access of this project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ProjectsApiService) GetApiV4ProjectsIdPagesDomainsDomain

func (a *ProjectsApiService) GetApiV4ProjectsIdPagesDomainsDomain(ctx context.Context, id string, domain string) (ApiEntitiesPagesDomain, *http.Response, error)

ProjectsApiService Get a single pages domain

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param domain The domain

@return ApiEntitiesPagesDomain

func (*ProjectsApiService) GetApiV4ProjectsIdPipelineSchedules

func (a *ProjectsApiService) GetApiV4ProjectsIdPipelineSchedules(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdPipelineSchedulesOpts) ([]ApiEntitiesCiPipelineSchedule, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdPipelineSchedulesPipelineScheduleId

func (a *ProjectsApiService) GetApiV4ProjectsIdPipelineSchedulesPipelineScheduleId(ctx context.Context, id string, pipelineScheduleId int32) (ApiEntitiesCiPipelineScheduleDetails, *http.Response, error)

ProjectsApiService Get a single pipeline schedule

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param pipelineScheduleId The pipeline schedule id

@return ApiEntitiesCiPipelineScheduleDetails

func (*ProjectsApiService) GetApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdPipelines

func (a *ProjectsApiService) GetApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdPipelines(ctx context.Context, id string, pipelineScheduleId int32) ([]ApiEntitiesCiPipelineBasic, *http.Response, error)

ProjectsApiService Get all pipelines triggered from a pipeline schedule

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param pipelineScheduleId The pipeline schedule ID

@return []ApiEntitiesCiPipelineBasic

func (*ProjectsApiService) GetApiV4ProjectsIdPipelines

func (a *ProjectsApiService) GetApiV4ProjectsIdPipelines(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdPipelinesOpts) ([]ApiEntitiesCiPipelineBasic, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdPipelinesLatest

func (*ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineId

func (a *ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineId(ctx context.Context, id string, pipelineId int32) (ApiEntitiesCiPipelineWithMetadata, *http.Response, error)

ProjectsApiService Gets a specific pipeline for the project This feature was introduced in GitLab 8.11

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or URL-encoded path
  • @param pipelineId The pipeline ID

@return ApiEntitiesCiPipelineWithMetadata

func (*ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineIdBridges

func (a *ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineIdBridges(ctx context.Context, id string, pipelineId int32, localVarOptionals *ProjectsApiGetApiV4ProjectsIdPipelinesPipelineIdBridgesOpts) ([]ApiEntitiesCiBridge, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineIdJobs

func (a *ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineIdJobs(ctx context.Context, id string, pipelineId int32, localVarOptionals *ProjectsApiGetApiV4ProjectsIdPipelinesPipelineIdJobsOpts) ([]ApiEntitiesCiJob, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineIdTestReport

func (a *ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineIdTestReport(ctx context.Context, id string, pipelineId int32) (TestReportEntity, *http.Response, error)

ProjectsApiService Gets the test report for a given pipeline This feature was introduced in GitLab 13.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or URL-encoded path
  • @param pipelineId The pipeline ID

@return TestReportEntity

func (*ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineIdTestReportSummary

func (a *ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineIdTestReportSummary(ctx context.Context, id string, pipelineId int32) (TestReportSummaryEntity, *http.Response, error)

ProjectsApiService Gets the test report summary for a given pipeline This feature was introduced in GitLab 14.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or URL-encoded path
  • @param pipelineId The pipeline ID

@return TestReportSummaryEntity

func (*ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineIdVariables

func (a *ProjectsApiService) GetApiV4ProjectsIdPipelinesPipelineIdVariables(ctx context.Context, id string, pipelineId int32) ([]ApiEntitiesCiVariable, *http.Response, error)

ProjectsApiService Gets the variables for a given pipeline This feature was introduced in GitLab 11.11

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or URL-encoded path
  • @param pipelineId The pipeline ID

@return []ApiEntitiesCiVariable

func (*ProjectsApiService) GetApiV4ProjectsIdProtectedBranches

func (a *ProjectsApiService) GetApiV4ProjectsIdProtectedBranches(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdProtectedBranchesOpts) ([]ApiEntitiesProtectedBranch, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdProtectedBranchesName

func (a *ProjectsApiService) GetApiV4ProjectsIdProtectedBranchesName(ctx context.Context, id string, name string) (ApiEntitiesProtectedBranch, *http.Response, error)

ProjectsApiService Get a single protected branch

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param name The name of the branch or wildcard

@return ApiEntitiesProtectedBranch

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryArchive

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryArchive(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdRepositoryArchiveOpts) (*http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryBlobsSha

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryBlobsSha(ctx context.Context, id string, sha string) (*http.Response, error)

ProjectsApiService Get a blob from the repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param sha The commit hash

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryBlobsShaRaw

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryBlobsShaRaw(ctx context.Context, id string, sha string) (*http.Response, error)

ProjectsApiService Get raw blob contents from the repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param sha The commit hash

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryChangelog

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryChangelog(ctx context.Context, id string, version string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdRepositoryChangelogOpts) (ApiEntitiesChangelog, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryCommitsShaStatuses

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryCommitsShaStatuses(ctx context.Context, id string, sha string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdRepositoryCommitsShaStatusesOpts) ([]ApiEntitiesCommitStatus, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryCompare

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryCompare(ctx context.Context, id string, from string, to string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdRepositoryCompareOpts) (ApiEntitiesCompare, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryContributors

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryContributors(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdRepositoryContributorsOpts) (ApiEntitiesContributor, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryFilesFilePath

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryFilesFilePath(ctx context.Context, id string, filePath string, ref string) (*http.Response, error)

ProjectsApiService Get a file from the repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param filePath The url encoded path to the file.
  • @param ref The name of branch, tag or commit

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryFilesFilePathBlame

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryFilesFilePathBlame(ctx context.Context, id string, filePath string, ref string, rangeStart int32, rangeEnd int32) (*http.Response, error)

ProjectsApiService Get blame file from the repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param filePath The url encoded path to the file.
  • @param ref The name of branch, tag or commit
  • @param rangeStart The first line of the range to blame
  • @param rangeEnd The last line of the range to blame

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryFilesFilePathRaw

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryFilesFilePathRaw(ctx context.Context, id string, filePath string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdRepositoryFilesFilePathRawOpts) (*os.File, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryMergeBase

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryMergeBase(ctx context.Context, id string, refs []string) (ApiEntitiesCommit, *http.Response, error)

ProjectsApiService Get the common ancestor between commits

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param refs The refs to find the common ancestor of, multiple refs can be passed

@return ApiEntitiesCommit

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryStorageMovesRepositoryStorageMoveId

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryStorageMovesRepositoryStorageMoveId(ctx context.Context, id string, repositoryStorageMoveId int32) (ApiEntitiesProjectsRepositoryStorageMove, *http.Response, error)

ProjectsApiService Get a project repository storage move This feature was introduced in GitLab 13.1.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param repositoryStorageMoveId The ID of a project repository storage move

@return ApiEntitiesProjectsRepositoryStorageMove

func (*ProjectsApiService) GetApiV4ProjectsIdRepositoryTree

func (a *ProjectsApiService) GetApiV4ProjectsIdRepositoryTree(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdRepositoryTreeOpts) (ApiEntitiesTreeObject, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdRunners

func (a *ProjectsApiService) GetApiV4ProjectsIdRunners(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdRunnersOpts) (ApiEntitiesCiRunner, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdShareLocations

func (a *ProjectsApiService) GetApiV4ProjectsIdShareLocations(ctx context.Context, id int32, localVarOptionals *ProjectsApiGetApiV4ProjectsIdShareLocationsOpts) (ApiEntitiesGroup, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdSnapshot

func (a *ProjectsApiService) GetApiV4ProjectsIdSnapshot(ctx context.Context, id int32, localVarOptionals *ProjectsApiGetApiV4ProjectsIdSnapshotOpts) (*os.File, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdStarrers

func (a *ProjectsApiService) GetApiV4ProjectsIdStarrers(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdStarrersOpts) ([]ApiEntitiesUserBasic, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdStatistics

func (a *ProjectsApiService) GetApiV4ProjectsIdStatistics(ctx context.Context, id string) (ApiEntitiesProjectDailyStatistics, *http.Response, error)

ProjectsApiService Get the list of project fetch statistics for the last 30 days

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesProjectDailyStatistics

func (*ProjectsApiService) GetApiV4ProjectsIdStorage

ProjectsApiService Show the storage information

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID of a project

@return ApiEntitiesProjectRepositoryStorage

func (*ProjectsApiService) GetApiV4ProjectsIdTemplatesType

func (a *ProjectsApiService) GetApiV4ProjectsIdTemplatesType(ctx context.Context, id string, type_ string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdTemplatesTypeOpts) ([]ApiEntitiesTemplatesList, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdTemplatesTypeName

func (a *ProjectsApiService) GetApiV4ProjectsIdTemplatesTypeName(ctx context.Context, id string, type_ string, name string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdTemplatesTypeNameOpts) (ApiEntitiesLicense, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdTransferLocations

func (a *ProjectsApiService) GetApiV4ProjectsIdTransferLocations(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdTransferLocationsOpts) ([]ApiEntitiesPublicGroupDetails, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdTriggers

func (a *ProjectsApiService) GetApiV4ProjectsIdTriggers(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdTriggersOpts) ([]ApiEntitiesTrigger, *http.Response, error)

func (*ProjectsApiService) GetApiV4ProjectsIdTriggersTriggerId

func (a *ProjectsApiService) GetApiV4ProjectsIdTriggersTriggerId(ctx context.Context, id string, triggerId int32) (ApiEntitiesTrigger, *http.Response, error)

ProjectsApiService Get specific trigger token of a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param triggerId The trigger token ID

@return ApiEntitiesTrigger

func (*ProjectsApiService) GetApiV4ProjectsIdUsers

func (a *ProjectsApiService) GetApiV4ProjectsIdUsers(ctx context.Context, id string, localVarOptionals *ProjectsApiGetApiV4ProjectsIdUsersOpts) ([]ApiEntitiesUserBasic, *http.Response, error)

func (*ProjectsApiService) GetApiV4UsersUserIdContributedProjects

func (a *ProjectsApiService) GetApiV4UsersUserIdContributedProjects(ctx context.Context, userId string, localVarOptionals *ProjectsApiGetApiV4UsersUserIdContributedProjectsOpts) ([]ApiEntitiesBasicProjectDetails, *http.Response, error)

func (*ProjectsApiService) GetApiV4UsersUserIdProjects

func (a *ProjectsApiService) GetApiV4UsersUserIdProjects(ctx context.Context, userId string, localVarOptionals *ProjectsApiGetApiV4UsersUserIdProjectsOpts) ([]ApiEntitiesBasicProjectDetails, *http.Response, error)

func (*ProjectsApiService) GetApiV4UsersUserIdStarredProjects

func (a *ProjectsApiService) GetApiV4UsersUserIdStarredProjects(ctx context.Context, userId string, localVarOptionals *ProjectsApiGetApiV4UsersUserIdStarredProjectsOpts) ([]ApiEntitiesBasicProjectDetails, *http.Response, error)

func (*ProjectsApiService) HeadApiV4ProjectsIdRepositoryFilesFilePath

func (a *ProjectsApiService) HeadApiV4ProjectsIdRepositoryFilesFilePath(ctx context.Context, id string, filePath string, ref string) (*http.Response, error)

ProjectsApiService Get file metadata from repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param filePath The url encoded path to the file.
  • @param ref The name of branch, tag or commit

func (*ProjectsApiService) HeadApiV4ProjectsIdRepositoryFilesFilePathBlame

func (a *ProjectsApiService) HeadApiV4ProjectsIdRepositoryFilesFilePathBlame(ctx context.Context, id string, filePath string, ref string) (*http.Response, error)

ProjectsApiService Get blame file metadata from repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param filePath The url encoded path to the file.
  • @param ref The name of branch, tag or commit

func (*ProjectsApiService) PatchApiV4ProjectsIdProtectedBranchesName

func (a *ProjectsApiService) PatchApiV4ProjectsIdProtectedBranchesName(ctx context.Context, id string, name string, patchApiV4ProjectsIdProtectedBranchesName PatchApiV4ProjectsIdProtectedBranchesName) (ApiEntitiesProtectedBranch, *http.Response, error)

ProjectsApiService Update a protected branch

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param name The name of the branch
  • @param patchApiV4ProjectsIdProtectedBranchesName

@return ApiEntitiesProtectedBranch

func (*ProjectsApiService) PostApiV4Projects

func (a *ProjectsApiService) PostApiV4Projects(ctx context.Context, postApiV4Projects PostApiV4Projects) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Create new project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4Projects

@return ApiEntitiesProject

func (*ProjectsApiService) PostApiV4ProjectsIdArchive

func (a *ProjectsApiService) PostApiV4ProjectsIdArchive(ctx context.Context, id string) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Archive a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesProject

func (*ProjectsApiService) PostApiV4ProjectsIdCreateCiConfig

func (a *ProjectsApiService) PostApiV4ProjectsIdCreateCiConfig(ctx context.Context, id int32) (*http.Response, error)

ProjectsApiService Creates merge request for missing ci config in project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*ProjectsApiService) PostApiV4ProjectsIdFork

func (a *ProjectsApiService) PostApiV4ProjectsIdFork(ctx context.Context, id string, postApiV4ProjectsIdFork PostApiV4ProjectsIdFork) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Fork new project for the current user or provided namespace.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdFork

@return ApiEntitiesProject

func (*ProjectsApiService) PostApiV4ProjectsIdForkForkedFromId

func (a *ProjectsApiService) PostApiV4ProjectsIdForkForkedFromId(ctx context.Context, id string, forkedFromId string) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Mark this project as forked from another

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param forkedFromId The ID of the project it was forked from

@return ApiEntitiesProject

func (*ProjectsApiService) PostApiV4ProjectsIdHooksHookIdTestTrigger

func (a *ProjectsApiService) PostApiV4ProjectsIdHooksHookIdTestTrigger(ctx context.Context, hookId int32, trigger string, id int32) (*http.Response, error)

ProjectsApiService Triggers a hook test Triggers a hook test

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param hookId The ID of the hook
  • @param trigger The type of trigger hook
  • @param id

func (*ProjectsApiService) PostApiV4ProjectsIdHousekeeping

func (a *ProjectsApiService) PostApiV4ProjectsIdHousekeeping(ctx context.Context, id string, postApiV4ProjectsIdHousekeeping PostApiV4ProjectsIdHousekeeping) (*http.Response, error)

ProjectsApiService Start the housekeeping task for a project This feature was introduced in GitLab 9.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdHousekeeping

func (*ProjectsApiService) PostApiV4ProjectsIdImportProjectMembersProjectId

func (a *ProjectsApiService) PostApiV4ProjectsIdImportProjectMembersProjectId(ctx context.Context, id string, projectId int32) (*http.Response, error)

ProjectsApiService Import members from another project This feature was introduced in GitLab 14.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param projectId The ID of the source project to import the members from.

func (*ProjectsApiService) PostApiV4ProjectsIdJobsJobIdArtifactsKeep

func (a *ProjectsApiService) PostApiV4ProjectsIdJobsJobIdArtifactsKeep(ctx context.Context, id string, jobId int32) (ApiEntitiesCiJob, *http.Response, error)

ProjectsApiService Keep the artifacts to prevent them from being deleted

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param jobId The ID of a job

@return ApiEntitiesCiJob

func (*ProjectsApiService) PostApiV4ProjectsIdJobsJobIdCancel

func (a *ProjectsApiService) PostApiV4ProjectsIdJobsJobIdCancel(ctx context.Context, jobId int32, id int32) (ApiEntitiesCiJob, *http.Response, error)

ProjectsApiService Cancel a specific job of a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId The ID of a job
  • @param id

@return ApiEntitiesCiJob

func (*ProjectsApiService) PostApiV4ProjectsIdJobsJobIdErase

func (a *ProjectsApiService) PostApiV4ProjectsIdJobsJobIdErase(ctx context.Context, jobId int32, id int32) (ApiEntitiesCiJob, *http.Response, error)

ProjectsApiService Erase job (remove artifacts and the trace)

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId The ID of a build
  • @param id

@return ApiEntitiesCiJob

func (*ProjectsApiService) PostApiV4ProjectsIdJobsJobIdPlay

func (a *ProjectsApiService) PostApiV4ProjectsIdJobsJobIdPlay(ctx context.Context, jobId int32, id int32, postApiV4ProjectsIdJobsJobIdPlay PostApiV4ProjectsIdJobsJobIdPlay) (ApiEntitiesCiJobBasic, *http.Response, error)

ProjectsApiService Trigger an actionable job (manual, delayed, etc) This feature was added in GitLab 8.11

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId The ID of a Job
  • @param id
  • @param postApiV4ProjectsIdJobsJobIdPlay

@return ApiEntitiesCiJobBasic

func (*ProjectsApiService) PostApiV4ProjectsIdJobsJobIdRetry

func (a *ProjectsApiService) PostApiV4ProjectsIdJobsJobIdRetry(ctx context.Context, jobId int32, id int32) (ApiEntitiesCiJob, *http.Response, error)

ProjectsApiService Retry a specific job of a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param jobId The ID of a job
  • @param id

@return ApiEntitiesCiJob

func (*ProjectsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals

func (a *ProjectsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals(ctx context.Context, id string, mergeRequestIid int32, postApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals PostApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals) (EeApiEntitiesApprovalState, *http.Response, error)

ProjectsApiService Deprecated in 16.0: Use the merge request approvals API instead. Change approval-related configuration This feature was introduced in 10.6 and deprecated in 16.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param mergeRequestIid The IID of a merge request
  • @param postApiV4ProjectsIdMergeRequestsMergeRequestIidApprovals

@return EeApiEntitiesApprovalState

func (*ProjectsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidApprove

func (a *ProjectsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidApprove(ctx context.Context, id int32, mergeRequestIid int32, postApiV4ProjectsIdMergeRequestsMergeRequestIidApprove PostApiV4ProjectsIdMergeRequestsMergeRequestIidApprove) (ApiEntitiesMergeRequestApprovals, *http.Response, error)

ProjectsApiService Approve a merge request

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param mergeRequestIid
  • @param postApiV4ProjectsIdMergeRequestsMergeRequestIidApprove

@return ApiEntitiesMergeRequestApprovals

func (*ProjectsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes

func (a *ProjectsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes(ctx context.Context, id string, mergeRequestIid int32, postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes) (ApiEntitiesDraftNote, *http.Response, error)

ProjectsApiService Create a new draft note

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project.
  • @param mergeRequestIid The ID of a merge request.
  • @param postApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotes

@return ApiEntitiesDraftNote

func (*ProjectsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesBulkPublish

func (a *ProjectsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesBulkPublish(ctx context.Context, id string, mergeRequestIid int32) (*http.Response, error)

ProjectsApiService Bulk publish all pending draft notes

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project
  • @param mergeRequestIid The ID of a merge request

func (*ProjectsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidUnapprove

func (a *ProjectsApiService) PostApiV4ProjectsIdMergeRequestsMergeRequestIidUnapprove(ctx context.Context, id int32, mergeRequestIid int32) (ApiEntitiesMergeRequestApprovals, *http.Response, error)

ProjectsApiService Remove an approval from a merge request

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param mergeRequestIid

@return ApiEntitiesMergeRequestApprovals

func (*ProjectsApiService) PostApiV4ProjectsIdPagesDomains

func (a *ProjectsApiService) PostApiV4ProjectsIdPagesDomains(ctx context.Context, id string, postApiV4ProjectsIdPagesDomains PostApiV4ProjectsIdPagesDomains) (ApiEntitiesPagesDomain, *http.Response, error)

ProjectsApiService Create a new pages domain

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param postApiV4ProjectsIdPagesDomains

@return ApiEntitiesPagesDomain

func (*ProjectsApiService) PostApiV4ProjectsIdPipeline

func (a *ProjectsApiService) PostApiV4ProjectsIdPipeline(ctx context.Context, id string, postApiV4ProjectsIdPipeline PostApiV4ProjectsIdPipeline) (ApiEntitiesCiPipeline, *http.Response, error)

ProjectsApiService Create a new pipeline This feature was introduced in GitLab 8.14

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or URL-encoded path
  • @param postApiV4ProjectsIdPipeline

@return ApiEntitiesCiPipeline

func (*ProjectsApiService) PostApiV4ProjectsIdPipelineSchedules

func (a *ProjectsApiService) PostApiV4ProjectsIdPipelineSchedules(ctx context.Context, id string, postApiV4ProjectsIdPipelineSchedules PostApiV4ProjectsIdPipelineSchedules) (ApiEntitiesCiPipelineScheduleDetails, *http.Response, error)

ProjectsApiService Create a new pipeline schedule

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdPipelineSchedules

@return ApiEntitiesCiPipelineScheduleDetails

func (*ProjectsApiService) PostApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdPlay

func (a *ProjectsApiService) PostApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdPlay(ctx context.Context, id string, pipelineScheduleId int32) (*http.Response, error)

ProjectsApiService Play a scheduled pipeline immediately This feature was added in GitLab 12.8

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param pipelineScheduleId The pipeline schedule id

func (*ProjectsApiService) PostApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdTakeOwnership

func (a *ProjectsApiService) PostApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdTakeOwnership(ctx context.Context, id string, pipelineScheduleId int32) (ApiEntitiesCiPipelineScheduleDetails, *http.Response, error)

ProjectsApiService Take ownership of a pipeline schedule

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param pipelineScheduleId The pipeline schedule id

@return ApiEntitiesCiPipelineScheduleDetails

func (*ProjectsApiService) PostApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables

func (a *ProjectsApiService) PostApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables(ctx context.Context, id string, pipelineScheduleId int32, postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables PostApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables) (ApiEntitiesCiVariable, *http.Response, error)

ProjectsApiService Create a new pipeline schedule variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param pipelineScheduleId The pipeline schedule id
  • @param postApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariables

@return ApiEntitiesCiVariable

func (*ProjectsApiService) PostApiV4ProjectsIdPipelinesPipelineIdCancel

func (a *ProjectsApiService) PostApiV4ProjectsIdPipelinesPipelineIdCancel(ctx context.Context, id string, pipelineId int32) (ApiEntitiesCiPipeline, *http.Response, error)

ProjectsApiService Cancel all builds in the pipeline This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or URL-encoded path
  • @param pipelineId The pipeline ID

@return ApiEntitiesCiPipeline

func (*ProjectsApiService) PostApiV4ProjectsIdPipelinesPipelineIdRetry

func (a *ProjectsApiService) PostApiV4ProjectsIdPipelinesPipelineIdRetry(ctx context.Context, id string, pipelineId int32) (ApiEntitiesCiPipeline, *http.Response, error)

ProjectsApiService Retry builds in the pipeline This feature was introduced in GitLab 8.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or URL-encoded path
  • @param pipelineId The pipeline ID

@return ApiEntitiesCiPipeline

func (*ProjectsApiService) PostApiV4ProjectsIdProtectedBranches

func (a *ProjectsApiService) PostApiV4ProjectsIdProtectedBranches(ctx context.Context, id string, postApiV4ProjectsIdProtectedBranches PostApiV4ProjectsIdProtectedBranches) (ApiEntitiesProtectedBranch, *http.Response, error)

ProjectsApiService Protect a single branch

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdProtectedBranches

@return ApiEntitiesProtectedBranch

func (*ProjectsApiService) PostApiV4ProjectsIdRefReftriggerPipeline

func (a *ProjectsApiService) PostApiV4ProjectsIdRefReftriggerPipeline(ctx context.Context, id string, ref string, postApiV4ProjectsIdRefReftriggerPipeline PostApiV4ProjectsIdRefReftriggerPipeline) (ApiEntitiesCiPipeline, *http.Response, error)

ProjectsApiService Trigger a GitLab project pipeline

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param ref The commit sha or name of a branch or tag
  • @param postApiV4ProjectsIdRefReftriggerPipeline

@return ApiEntitiesCiPipeline

func (*ProjectsApiService) PostApiV4ProjectsIdRepositoryChangelog

func (a *ProjectsApiService) PostApiV4ProjectsIdRepositoryChangelog(ctx context.Context, id string, postApiV4ProjectsIdRepositoryChangelog PostApiV4ProjectsIdRepositoryChangelog) (*http.Response, error)

ProjectsApiService Generates a changelog section for a release and commits it in a changelog file This feature was introduced in GitLab 13.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdRepositoryChangelog

func (*ProjectsApiService) PostApiV4ProjectsIdRepositoryFilesFilePath

func (a *ProjectsApiService) PostApiV4ProjectsIdRepositoryFilesFilePath(ctx context.Context, id string, filePath string, postApiV4ProjectsIdRepositoryFilesFilePath PostApiV4ProjectsIdRepositoryFilesFilePath) (*http.Response, error)

ProjectsApiService Create new file in repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param filePath The url encoded path to the file.
  • @param postApiV4ProjectsIdRepositoryFilesFilePath

func (*ProjectsApiService) PostApiV4ProjectsIdRepositorySize

func (a *ProjectsApiService) PostApiV4ProjectsIdRepositorySize(ctx context.Context, id string) (*http.Response, error)

ProjectsApiService Start a task to recalculate repository size for a project This feature was introduced in GitLab 15.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ProjectsApiService) PostApiV4ProjectsIdRepositoryStorageMoves

func (a *ProjectsApiService) PostApiV4ProjectsIdRepositoryStorageMoves(ctx context.Context, id string, postApiV4ProjectsIdRepositoryStorageMoves PostApiV4ProjectsIdRepositoryStorageMoves) (ApiEntitiesProjectsRepositoryStorageMove, *http.Response, error)

ProjectsApiService Schedule a project repository storage move This feature was introduced in GitLab 13.1.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdRepositoryStorageMoves

@return ApiEntitiesProjectsRepositoryStorageMove

func (*ProjectsApiService) PostApiV4ProjectsIdRestore

func (a *ProjectsApiService) PostApiV4ProjectsIdRestore(ctx context.Context, id int32) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Restore a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return ApiEntitiesProject

func (*ProjectsApiService) PostApiV4ProjectsIdRunners

func (a *ProjectsApiService) PostApiV4ProjectsIdRunners(ctx context.Context, id string, postApiV4ProjectsIdRunners PostApiV4ProjectsIdRunners) (ApiEntitiesCiRunner, *http.Response, error)

ProjectsApiService Enable a runner in project Enable an available project runner in the project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param postApiV4ProjectsIdRunners

@return ApiEntitiesCiRunner

func (*ProjectsApiService) PostApiV4ProjectsIdRunnersResetRegistrationToken

func (a *ProjectsApiService) PostApiV4ProjectsIdRunnersResetRegistrationToken(ctx context.Context, id string) (ApiEntitiesCiResetTokenResult, *http.Response, error)

ProjectsApiService Reset the runner registration token for a project Reset runner registration token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project

@return ApiEntitiesCiResetTokenResult

func (*ProjectsApiService) PostApiV4ProjectsIdShare

func (a *ProjectsApiService) PostApiV4ProjectsIdShare(ctx context.Context, id string, postApiV4ProjectsIdShare PostApiV4ProjectsIdShare) (ApiEntitiesProjectGroupLink, *http.Response, error)

ProjectsApiService Share the project with a group

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdShare

@return ApiEntitiesProjectGroupLink

func (*ProjectsApiService) PostApiV4ProjectsIdStar

func (a *ProjectsApiService) PostApiV4ProjectsIdStar(ctx context.Context, id string) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Star a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesProject

func (*ProjectsApiService) PostApiV4ProjectsIdStatusesSha

func (a *ProjectsApiService) PostApiV4ProjectsIdStatusesSha(ctx context.Context, id string, sha string, postApiV4ProjectsIdStatusesSha PostApiV4ProjectsIdStatusesSha) (ApiEntitiesCommitStatus, *http.Response, error)

ProjectsApiService Post status to a commit

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param sha The commit hash
  • @param postApiV4ProjectsIdStatusesSha

@return ApiEntitiesCommitStatus

func (*ProjectsApiService) PostApiV4ProjectsIdTriggers

func (a *ProjectsApiService) PostApiV4ProjectsIdTriggers(ctx context.Context, id string, postApiV4ProjectsIdTriggers PostApiV4ProjectsIdTriggers) (ApiEntitiesTrigger, *http.Response, error)

ProjectsApiService Create a trigger token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdTriggers

@return ApiEntitiesTrigger

func (*ProjectsApiService) PostApiV4ProjectsIdUnarchive

func (a *ProjectsApiService) PostApiV4ProjectsIdUnarchive(ctx context.Context, id string) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Unarchive a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesProject

func (*ProjectsApiService) PostApiV4ProjectsIdUnstar

func (a *ProjectsApiService) PostApiV4ProjectsIdUnstar(ctx context.Context, id string) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Unstar a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

@return ApiEntitiesProject

func (*ProjectsApiService) PostApiV4ProjectsIdUploads

func (a *ProjectsApiService) PostApiV4ProjectsIdUploads(ctx context.Context, id string, postApiV4ProjectsIdUploads PostApiV4ProjectsIdUploads) (ApiEntitiesProjectUpload, *http.Response, error)

ProjectsApiService Upload a file

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdUploads

@return ApiEntitiesProjectUpload

func (*ProjectsApiService) PostApiV4ProjectsIdUploadsAuthorize

func (a *ProjectsApiService) PostApiV4ProjectsIdUploadsAuthorize(ctx context.Context, id string) (*http.Response, error)

ProjectsApiService Workhorse authorize the file upload This feature was introduced in GitLab 13.11

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*ProjectsApiService) PostApiV4ProjectsUserUserId

func (a *ProjectsApiService) PostApiV4ProjectsUserUserId(ctx context.Context, userId int32, postApiV4ProjectsUserUserId PostApiV4ProjectsUserUserId) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Create new project for a specified user. Only available to admin users.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of a user
  • @param postApiV4ProjectsUserUserId

@return ApiEntitiesProject

func (*ProjectsApiService) PutApiV4ProjectsId

func (a *ProjectsApiService) PutApiV4ProjectsId(ctx context.Context, id string, putApiV4ProjectsId PutApiV4ProjectsId) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Update an existing project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsId

@return ApiEntitiesProject

func (*ProjectsApiService) PutApiV4ProjectsIdCustomAttributesKey

func (a *ProjectsApiService) PutApiV4ProjectsIdCustomAttributesKey(ctx context.Context, key string, id int32, putApiV4ProjectsIdCustomAttributesKey PutApiV4ProjectsIdCustomAttributesKey) (*http.Response, error)

ProjectsApiService Set a custom attribute on a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of the custom attribute
  • @param id
  • @param putApiV4ProjectsIdCustomAttributesKey

func (*ProjectsApiService) PutApiV4ProjectsIdHooksHookIdUrlVariablesKey

func (a *ProjectsApiService) PutApiV4ProjectsIdHooksHookIdUrlVariablesKey(ctx context.Context, hookId int32, key string, id int32, putApiV4ProjectsIdHooksHookIdUrlVariablesKey PutApiV4ProjectsIdHooksHookIdUrlVariablesKey) (*http.Response, error)

ProjectsApiService Set a url variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param hookId The ID of the hook
  • @param key The key of the variable
  • @param id
  • @param putApiV4ProjectsIdHooksHookIdUrlVariablesKey

func (*ProjectsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId

func (a *ProjectsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId(ctx context.Context, id string, mergeRequestIid int32, draftNoteId int32, putApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId PutApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId) (ApiEntitiesDraftNote, *http.Response, error)

ProjectsApiService Modify an existing draft note

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project.
  • @param mergeRequestIid The ID of a merge request.
  • @param draftNoteId The ID of a draft note
  • @param putApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId

@return ApiEntitiesDraftNote

func (*ProjectsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteIdPublish

func (a *ProjectsApiService) PutApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteIdPublish(ctx context.Context, id string, mergeRequestIid int32, draftNoteId int32) (*http.Response, error)

ProjectsApiService Publish a pending draft note

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project
  • @param mergeRequestIid The ID of a merge request
  • @param draftNoteId The ID of a draft note

func (*ProjectsApiService) PutApiV4ProjectsIdPagesDomainsDomain

func (a *ProjectsApiService) PutApiV4ProjectsIdPagesDomainsDomain(ctx context.Context, id string, domain string, putApiV4ProjectsIdPagesDomainsDomain PutApiV4ProjectsIdPagesDomainsDomain) (*http.Response, error)

ProjectsApiService Updates a pages domain

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param domain The domain
  • @param putApiV4ProjectsIdPagesDomainsDomain

func (*ProjectsApiService) PutApiV4ProjectsIdPipelineSchedulesPipelineScheduleId

func (a *ProjectsApiService) PutApiV4ProjectsIdPipelineSchedulesPipelineScheduleId(ctx context.Context, id string, pipelineScheduleId int32, putApiV4ProjectsIdPipelineSchedulesPipelineScheduleId PutApiV4ProjectsIdPipelineSchedulesPipelineScheduleId) (ApiEntitiesCiPipelineScheduleDetails, *http.Response, error)

ProjectsApiService Edit a pipeline schedule

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param pipelineScheduleId The pipeline schedule id
  • @param putApiV4ProjectsIdPipelineSchedulesPipelineScheduleId

@return ApiEntitiesCiPipelineScheduleDetails

func (*ProjectsApiService) PutApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey

func (a *ProjectsApiService) PutApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey(ctx context.Context, id string, pipelineScheduleId int32, key string, putApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey PutApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey) (ApiEntitiesCiVariable, *http.Response, error)

ProjectsApiService Edit a pipeline schedule variable

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param pipelineScheduleId The pipeline schedule id
  • @param key The key of the variable
  • @param putApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey

@return ApiEntitiesCiVariable

func (*ProjectsApiService) PutApiV4ProjectsIdPipelinesPipelineIdMetadata

func (a *ProjectsApiService) PutApiV4ProjectsIdPipelinesPipelineIdMetadata(ctx context.Context, id string, pipelineId int32, putApiV4ProjectsIdPipelinesPipelineIdMetadata PutApiV4ProjectsIdPipelinesPipelineIdMetadata) (ApiEntitiesCiPipelineWithMetadata, *http.Response, error)

ProjectsApiService Updates pipeline metadata This feature was introduced in GitLab 16.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID or URL-encoded path
  • @param pipelineId The pipeline ID
  • @param putApiV4ProjectsIdPipelinesPipelineIdMetadata

@return ApiEntitiesCiPipelineWithMetadata

func (*ProjectsApiService) PutApiV4ProjectsIdRepositoryFilesFilePath

func (a *ProjectsApiService) PutApiV4ProjectsIdRepositoryFilesFilePath(ctx context.Context, id string, filePath string, putApiV4ProjectsIdRepositoryFilesFilePath PutApiV4ProjectsIdRepositoryFilesFilePath) (*http.Response, error)

ProjectsApiService Update existing file in repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The project ID
  • @param filePath The url encoded path to the file.
  • @param putApiV4ProjectsIdRepositoryFilesFilePath

func (*ProjectsApiService) PutApiV4ProjectsIdRepositorySubmodulesSubmodule

func (a *ProjectsApiService) PutApiV4ProjectsIdRepositorySubmodulesSubmodule(ctx context.Context, id string, submodule string, putApiV4ProjectsIdRepositorySubmodulesSubmodule PutApiV4ProjectsIdRepositorySubmodulesSubmodule) (ApiEntitiesCommitDetail, *http.Response, error)

ProjectsApiService Update existing submodule reference in repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of a project
  • @param submodule Url encoded full path to submodule.
  • @param putApiV4ProjectsIdRepositorySubmodulesSubmodule

@return ApiEntitiesCommitDetail

func (*ProjectsApiService) PutApiV4ProjectsIdTransfer

func (a *ProjectsApiService) PutApiV4ProjectsIdTransfer(ctx context.Context, id string, putApiV4ProjectsIdTransfer PutApiV4ProjectsIdTransfer) (ApiEntitiesProject, *http.Response, error)

ProjectsApiService Transfer a project to a new namespace

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param putApiV4ProjectsIdTransfer

@return ApiEntitiesProject

func (*ProjectsApiService) PutApiV4ProjectsIdTriggersTriggerId

func (a *ProjectsApiService) PutApiV4ProjectsIdTriggersTriggerId(ctx context.Context, id string, triggerId int32, putApiV4ProjectsIdTriggersTriggerId PutApiV4ProjectsIdTriggersTriggerId) (ApiEntitiesTrigger, *http.Response, error)

ProjectsApiService Update a trigger token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param triggerId The trigger token ID
  • @param putApiV4ProjectsIdTriggersTriggerId

@return ApiEntitiesTrigger

type ProjectsJobTokenScopeApiGetApiV4ProjectsIdJobTokenScopeAllowlistOpts

type ProjectsJobTokenScopeApiGetApiV4ProjectsIdJobTokenScopeAllowlistOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectsJobTokenScopeApiGetApiV4ProjectsIdJobTokenScopeGroupsAllowlistOpts

type ProjectsJobTokenScopeApiGetApiV4ProjectsIdJobTokenScopeGroupsAllowlistOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ProjectsJobTokenScopeApiService

type ProjectsJobTokenScopeApiService service

func (*ProjectsJobTokenScopeApiService) DeleteApiV4ProjectsIdJobTokenScopeAllowlistTargetProjectId

func (a *ProjectsJobTokenScopeApiService) DeleteApiV4ProjectsIdJobTokenScopeAllowlistTargetProjectId(ctx context.Context, id int32, targetProjectId int32) (*http.Response, error)

ProjectsJobTokenScopeApiService Delete project from allowlist.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID of user project
  • @param targetProjectId ID of the project to be removed from the allowlist

func (*ProjectsJobTokenScopeApiService) DeleteApiV4ProjectsIdJobTokenScopeGroupsAllowlistTargetGroupId

func (a *ProjectsJobTokenScopeApiService) DeleteApiV4ProjectsIdJobTokenScopeGroupsAllowlistTargetGroupId(ctx context.Context, id int32, targetGroupId int32) (*http.Response, error)

ProjectsJobTokenScopeApiService Delete target group from allowlist.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID of user project
  • @param targetGroupId ID of the group to be removed from the allowlist

func (*ProjectsJobTokenScopeApiService) GetApiV4ProjectsIdJobTokenScope

ProjectsJobTokenScopeApiService Fetch CI_JOB_TOKEN access settings.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return ApiEntitiesProjectJobTokenScope

func (*ProjectsJobTokenScopeApiService) PatchApiV4ProjectsIdJobTokenScope

func (a *ProjectsJobTokenScopeApiService) PatchApiV4ProjectsIdJobTokenScope(ctx context.Context, id int32, patchApiV4ProjectsIdJobTokenScope PatchApiV4ProjectsIdJobTokenScope) (*http.Response, error)

ProjectsJobTokenScopeApiService Patch CI_JOB_TOKEN access settings.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param patchApiV4ProjectsIdJobTokenScope

func (*ProjectsJobTokenScopeApiService) PostApiV4ProjectsIdJobTokenScopeAllowlist

func (a *ProjectsJobTokenScopeApiService) PostApiV4ProjectsIdJobTokenScopeAllowlist(ctx context.Context, id int32, postApiV4ProjectsIdJobTokenScopeAllowlist PostApiV4ProjectsIdJobTokenScopeAllowlist) (ApiEntitiesBasicProjectDetails, *http.Response, error)

ProjectsJobTokenScopeApiService Add target project to allowlist.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID of user project
  • @param postApiV4ProjectsIdJobTokenScopeAllowlist

@return ApiEntitiesBasicProjectDetails

func (*ProjectsJobTokenScopeApiService) PostApiV4ProjectsIdJobTokenScopeGroupsAllowlist

func (a *ProjectsJobTokenScopeApiService) PostApiV4ProjectsIdJobTokenScopeGroupsAllowlist(ctx context.Context, id int32, postApiV4ProjectsIdJobTokenScopeGroupsAllowlist PostApiV4ProjectsIdJobTokenScopeGroupsAllowlist) (ApiEntitiesBasicGroupDetails, *http.Response, error)

ProjectsJobTokenScopeApiService Add target group to allowlist.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID of user project
  • @param postApiV4ProjectsIdJobTokenScopeGroupsAllowlist

@return ApiEntitiesBasicGroupDetails

type ProtectedTagsApiGetApiV4ProjectsIdProtectedTagsOpts

type ProtectedTagsApiGetApiV4ProjectsIdProtectedTagsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ProtectedTagsApiService

type ProtectedTagsApiService service

func (*ProtectedTagsApiService) DeleteApiV4ProjectsIdProtectedTagsName

func (a *ProtectedTagsApiService) DeleteApiV4ProjectsIdProtectedTagsName(ctx context.Context, id string, name string) (*http.Response, error)

ProtectedTagsApiService Unprotect a single tag This feature was introduced in GitLab 11.3.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param name The name of the protected tag

func (*ProtectedTagsApiService) GetApiV4ProjectsIdProtectedTags

func (*ProtectedTagsApiService) GetApiV4ProjectsIdProtectedTagsName

func (a *ProtectedTagsApiService) GetApiV4ProjectsIdProtectedTagsName(ctx context.Context, id string, name string) (ApiEntitiesProtectedTag, *http.Response, error)

ProtectedTagsApiService Get a single protected tag This feature was introduced in GitLab 11.3.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param name The name of the tag or wildcard

@return ApiEntitiesProtectedTag

func (*ProtectedTagsApiService) PostApiV4ProjectsIdProtectedTags

func (a *ProtectedTagsApiService) PostApiV4ProjectsIdProtectedTags(ctx context.Context, id string, postApiV4ProjectsIdProtectedTags PostApiV4ProjectsIdProtectedTags) (ApiEntitiesProtectedTag, *http.Response, error)

ProtectedTagsApiService Protect a single tag or wildcard This feature was introduced in GitLab 11.3.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdProtectedTags

@return ApiEntitiesProtectedTag

type PutApiV4AdminBatchedBackgroundMigrationsIdPause

type PutApiV4AdminBatchedBackgroundMigrationsIdPause struct {
	// The name of the database
	Database string `json:"database,omitempty"`
}

Pause a batched background migration

type PutApiV4AdminBatchedBackgroundMigrationsIdResume

type PutApiV4AdminBatchedBackgroundMigrationsIdResume struct {
	// The name of the database
	Database string `json:"database,omitempty"`
}

Resume a batched background migration

type PutApiV4AdminCiVariablesKey

type PutApiV4AdminCiVariablesKey struct {
	// The description of the variable
	Description string `json:"description,omitempty"`
	// The value of a variable
	Value string `json:"value,omitempty"`
	// Whether the variable is protected
	Protected bool `json:"protected,omitempty"`
	// Whether the variable is masked
	Masked bool `json:"masked,omitempty"`
	// Whether the variable will be expanded
	Raw bool `json:"raw,omitempty"`
	// The type of a variable. Available types are: env_var (default) and file
	VariableType string `json:"variable_type,omitempty"`
}

Update an instance-level variable

type PutApiV4AdminClustersClusterId

type PutApiV4AdminClustersClusterId struct {
	// Cluster name
	Name string `json:"name,omitempty"`
	// Enable or disable Gitlab's connection to your Kubernetes cluster
	Enabled bool `json:"enabled,omitempty"`
	// The associated environment to the cluster
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// Deploy each environment to a separate Kubernetes namespace
	NamespacePerEnvironment bool `json:"namespace_per_environment,omitempty"`
	// Cluster base domain
	Domain string `json:"domain,omitempty"`
	// The ID of the management project
	ManagementProjectId int32 `json:"management_project_id,omitempty"`
	// Determines if GitLab will manage namespaces and service accounts for this cluster
	Managed                      bool                                                             `json:"managed,omitempty"`
	PlatformKubernetesAttributes *PutApiV4ProjectsIdClustersClusterIdPlatformKubernetesAttributes `json:"platform_kubernetes_attributes,omitempty"`
}

Edit instance cluster

type PutApiV4ApplicationPlanLimits

type PutApiV4ApplicationPlanLimits struct {
	// Name of the plan to update
	PlanName string `json:"plan_name"`
	// Maximum number of Instance-level CI/CD variables that can be defined
	CiInstanceLevelVariables int32 `json:"ci_instance_level_variables,omitempty"`
	// Maximum number of jobs in a single pipeline
	CiPipelineSize int32 `json:"ci_pipeline_size,omitempty"`
	// Total number of jobs in currently active pipelines
	CiActiveJobs int32 `json:"ci_active_jobs,omitempty"`
	// Maximum number of pipeline subscriptions to and from a project
	CiProjectSubscriptions int32 `json:"ci_project_subscriptions,omitempty"`
	// Maximum number of pipeline schedules
	CiPipelineSchedules int32 `json:"ci_pipeline_schedules,omitempty"`
	// Maximum number of needs dependencies that a job can have
	CiNeedsSizeLimit int32 `json:"ci_needs_size_limit,omitempty"`
	// Maximum number of runners registered per group
	CiRegisteredGroupRunners int32 `json:"ci_registered_group_runners,omitempty"`
	// Maximum number of runners registered per project
	CiRegisteredProjectRunners int32 `json:"ci_registered_project_runners,omitempty"`
	// Maximum Conan package file size in bytes
	ConanMaxFileSize int32 `json:"conan_max_file_size,omitempty"`
	// Maximum storage size for the root namespace enforcement in MiB
	EnforcementLimit int32 `json:"enforcement_limit,omitempty"`
	// Maximum generic package file size in bytes
	GenericPackagesMaxFileSize int32 `json:"generic_packages_max_file_size,omitempty"`
	// Maximum Helm chart file size in bytes
	HelmMaxFileSize int32 `json:"helm_max_file_size,omitempty"`
	// Maximum Maven package file size in bytes
	MavenMaxFileSize int32 `json:"maven_max_file_size,omitempty"`
	// Maximum storage size for the root namespace notifications in MiB
	NotificationLimit int32 `json:"notification_limit,omitempty"`
	// Maximum NPM package file size in bytes
	NpmMaxFileSize int32 `json:"npm_max_file_size,omitempty"`
	// Maximum NuGet package file size in bytes
	NugetMaxFileSize int32 `json:"nuget_max_file_size,omitempty"`
	// Maximum PyPI package file size in bytes
	PypiMaxFileSize int32 `json:"pypi_max_file_size,omitempty"`
	// Maximum Terraform Module package file size in bytes
	TerraformModuleMaxFileSize int32 `json:"terraform_module_max_file_size,omitempty"`
	// Maximum storage size for the root namespace in MiB
	StorageSizeLimit int32 `json:"storage_size_limit,omitempty"`
	// Maximum number of downstream pipelines in a pipeline's hierarchy tree
	PipelineHierarchySize int32 `json:"pipeline_hierarchy_size,omitempty"`
}

Change plan limits

type PutApiV4BroadcastMessagesId

type PutApiV4BroadcastMessagesId struct {
	// Message to display
	Message string `json:"message,omitempty"`
	// Starting time
	StartsAt time.Time `json:"starts_at,omitempty"`
	// Ending time
	EndsAt time.Time `json:"ends_at,omitempty"`
	// Background color
	Color string `json:"color,omitempty"`
	// Foreground color
	Font string `json:"font,omitempty"`
	// Target user roles
	TargetAccessLevels []int32 `json:"target_access_levels,omitempty"`
	// Target path
	TargetPath string `json:"target_path,omitempty"`
	// Broadcast Type
	BroadcastType string `json:"broadcast_type,omitempty"`
	// Is dismissable
	Dismissable bool `json:"dismissable,omitempty"`
}

Update a broadcast message

type PutApiV4GroupsId

type PutApiV4GroupsId struct {
	// The name of the group
	Name string `json:"name,omitempty"`
	// The path of the group
	Path string `json:"path,omitempty"`
	// The description of the group
	Description string `json:"description,omitempty"`
	// The visibility of the group
	Visibility string `json:"visibility,omitempty"`
	// Avatar image for the group
	Avatar **os.File `json:"avatar,omitempty"`
	// Prevent sharing a project with another group within this group
	ShareWithGroupLock bool `json:"share_with_group_lock,omitempty"`
	// Require all users in this group to setup Two-factor authentication
	RequireTwoFactorAuthentication bool `json:"require_two_factor_authentication,omitempty"`
	// Time before Two-factor authentication is enforced
	TwoFactorGracePeriod int32 `json:"two_factor_grace_period,omitempty"`
	// Determine if developers can create projects in the group
	ProjectCreationLevel string `json:"project_creation_level,omitempty"`
	// Default to Auto DevOps pipeline for all projects within this group
	AutoDevopsEnabled bool `json:"auto_devops_enabled,omitempty"`
	// Allowed to create subgroups
	SubgroupCreationLevel string `json:"subgroup_creation_level,omitempty"`
	// _(Deprecated)_ Disable email notifications. Use: emails_enabled
	EmailsDisabled bool `json:"emails_disabled,omitempty"`
	// Enable email notifications
	EmailsEnabled bool `json:"emails_enabled,omitempty"`
	// Include the code diff preview in merge request notification emails
	ShowDiffPreviewInEmail bool `json:"show_diff_preview_in_email,omitempty"`
	// Disable a group from getting mentioned
	MentionsDisabled bool `json:"mentions_disabled,omitempty"`
	// Enable/disable LFS for the projects in this group
	LfsEnabled bool `json:"lfs_enabled,omitempty"`
	// Allow users to request member access
	RequestAccessEnabled bool `json:"request_access_enabled,omitempty"`
	// The default branch of group's projects
	DefaultBranch string `json:"default_branch,omitempty"`
	// Determine if developers can push to default branch
	DefaultBranchProtection         int32                                           `json:"default_branch_protection,omitempty"`
	DefaultBranchProtectionDefaults *PostApiV4GroupsDefaultBranchProtectionDefaults `json:"default_branch_protection_defaults,omitempty"`
	// Enable/disable shared runners for the group and its subgroups and projects
	SharedRunnersSetting string `json:"shared_runners_setting,omitempty"`
	// Allow only the selected protocols to be used for Git access.
	EnabledGitAccessProtocol string `json:"enabled_git_access_protocol,omitempty"`
	// Prevent adding new members to projects within this group
	MembershipLock bool `json:"membership_lock,omitempty"`
	// LDAP Common Name
	LdapCn string `json:"ldap_cn,omitempty"`
	// A valid access level
	LdapAccess int32 `json:"ldap_access,omitempty"`
	// (admin-only) Compute minutes quota for this group
	SharedRunnersMinutesLimit int32 `json:"shared_runners_minutes_limit,omitempty"`
	// (admin-only) Extra compute minutes quota for this group
	ExtraSharedRunnersMinutesLimit int32 `json:"extra_shared_runners_minutes_limit,omitempty"`
	// Wiki access level. One of `disabled`, `private` or `enabled`
	WikiAccessLevel string `json:"wiki_access_level,omitempty"`
	// Prevent sharing groups within this namespace with any groups outside the namespace. Only available on top-level groups.
	PreventSharingGroupsOutsideHierarchy bool `json:"prevent_sharing_groups_outside_hierarchy,omitempty"`
	// Indicates if math rendering limits are locked for all descendent groups.
	LockMathRenderingLimitsEnabled bool `json:"lock_math_rendering_limits_enabled,omitempty"`
	// Indicates if math rendering limits are used for this group.
	MathRenderingLimitsEnabled bool `json:"math_rendering_limits_enabled,omitempty"`
	// The ID of a project to use for custom templates in this group
	FileTemplateProjectId int32 `json:"file_template_project_id,omitempty"`
	// Prevent forking projects inside this group to external namespaces
	PreventForkingOutsideGroup bool `json:"prevent_forking_outside_group,omitempty"`
	// Maximum number of unique projects a user can download in the specified time period before they are banned.
	UniqueProjectDownloadLimit int32 `json:"unique_project_download_limit,omitempty"`
	// Time period during which a user can download a maximum amount of projects before they are banned.
	UniqueProjectDownloadLimitIntervalInSeconds int32 `json:"unique_project_download_limit_interval_in_seconds,omitempty"`
	// List of usernames excluded from the unique project download limit
	UniqueProjectDownloadLimitAllowlist []string `json:"unique_project_download_limit_allowlist,omitempty"`
	// List of user ids who will be emailed when Git abuse rate limit is exceeded
	UniqueProjectDownloadLimitAlertlist []int32 `json:"unique_project_download_limit_alertlist,omitempty"`
	// Ban users from the group when they exceed maximum number of unique projects download in the specified time period
	AutoBanUserOnExcessiveProjectsDownload bool `json:"auto_ban_user_on_excessive_projects_download,omitempty"`
	// List of IP addresses which need to be restricted for group
	IpRestrictionRanges string `json:"ip_restriction_ranges,omitempty"`
	// To enforce token expiration for Service accounts users for group
	ServiceAccessTokensExpirationEnforced bool `json:"service_access_tokens_expiration_enforced,omitempty"`
	// Indicates whether GitLab Duo features are enabled for the group
	DuoFeaturesEnabled bool `json:"duo_features_enabled,omitempty"`
	// Indicates if the GitLab Duo features enabled setting is enforced for all subgroups
	LockDuoFeaturesEnabled bool `json:"lock_duo_features_enabled,omitempty"`
}

Update a group. Available only for users who can administrate groups.

type PutApiV4GroupsIdAccessRequestsUserIdApprove

type PutApiV4GroupsIdAccessRequestsUserIdApprove struct {
	// A valid access level (defaults: `30`, the Developer role)
	AccessLevel int32 `json:"access_level,omitempty"`
}

Approves an access request for the given user.

type PutApiV4GroupsIdBadgesBadgeId

type PutApiV4GroupsIdBadgesBadgeId struct {
	// URL of the badge link
	LinkUrl string `json:"link_url,omitempty"`
	// URL of the badge image
	ImageUrl string `json:"image_url,omitempty"`
	// Name for the badge
	Name string `json:"name,omitempty"`
}

Updates a badge of a group.

type PutApiV4GroupsIdClustersClusterId

type PutApiV4GroupsIdClustersClusterId struct {
	// Cluster name
	Name string `json:"name,omitempty"`
	// Determines if cluster is active or not
	Enabled bool `json:"enabled,omitempty"`
	// Cluster base domain
	Domain string `json:"domain,omitempty"`
	// The associated environment to the cluster
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// Deploy each environment to a separate Kubernetes namespace
	NamespacePerEnvironment bool `json:"namespace_per_environment,omitempty"`
	// The ID of the management project
	ManagementProjectId int32 `json:"management_project_id,omitempty"`
	// Determines if GitLab will manage namespaces and service accounts for this cluster
	Managed                      bool                                                           `json:"managed,omitempty"`
	PlatformKubernetesAttributes *PutApiV4GroupsIdClustersClusterIdPlatformKubernetesAttributes `json:"platform_kubernetes_attributes,omitempty"`
}

Edit group cluster

type PutApiV4GroupsIdClustersClusterIdPlatformKubernetesAttributes

type PutApiV4GroupsIdClustersClusterIdPlatformKubernetesAttributes struct {
	// URL to access the Kubernetes API
	ApiUrl string `json:"api_url,omitempty"`
	// Token to authenticate against Kubernetes
	Token string `json:"token,omitempty"`
	// TLS certificate (needed if API is using a self-signed TLS certificate)
	CaCert string `json:"ca_cert,omitempty"`
	// Unique namespace related to Group
	Namespace string `json:"namespace,omitempty"`
}

Platform Kubernetes data

type PutApiV4GroupsIdCustomAttributesKey

type PutApiV4GroupsIdCustomAttributesKey struct {
	// The value of the custom attribute
	Value string `json:"value"`
}

Set a custom attribute on a group

type PutApiV4GroupsIdDebianDistributionsCodename

type PutApiV4GroupsIdDebianDistributionsCodename struct {
	// The Debian Suite
	Suite string `json:"suite,omitempty"`
	// The Debian Origin
	Origin string `json:"origin,omitempty"`
	// The Debian Label
	Label string `json:"label,omitempty"`
	// The Debian Version
	Version string `json:"version,omitempty"`
	// The Debian Description
	Description string `json:"description,omitempty"`
	// The duration before the Release file should be considered expired by the client
	ValidTimeDurationSeconds int32 `json:"valid_time_duration_seconds,omitempty"`
	// The list of Components
	Components []string `json:"components,omitempty"`
	// The list of Architectures
	Architectures []string `json:"architectures,omitempty"`
}

Update a Debian Distribution

type PutApiV4GroupsIdInvitationsEmail

type PutApiV4GroupsIdInvitationsEmail struct {
	// A valid access level (defaults: `30`, developer access level)
	AccessLevel int32 `json:"access_level,omitempty"`
	// Date string in ISO 8601 format (`YYYY-MM-DDTHH:MM:SSZ`)
	ExpiresAt time.Time `json:"expires_at,omitempty"`
}

Updates a group or project invitation.

type PutApiV4GroupsIdMembersUserId

type PutApiV4GroupsIdMembersUserId struct {
	// A valid access level
	AccessLevel int32 `json:"access_level"`
	// Date string in the format YEAR-MONTH-DAY
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	// The ID of the Member Role to be updated
	MemberRoleId int32 `json:"member_role_id,omitempty"`
}

Updates a member of a group or project.

type PutApiV4GroupsIdMembersUserIdState

type PutApiV4GroupsIdMembersUserIdState struct {
	// The new state for the memberships of the user
	State string `json:"state"`
}

Changes the state of the memberships of a user in the group

type PutApiV4GroupsIdPackagesNpmPackagepackageNameDistTagsTag

type PutApiV4GroupsIdPackagesNpmPackagepackageNameDistTagsTag struct {
	// Package name
	PackageName string `json:"package_name"`
}

Create or Update the given tag for the given NPM package and version

type PutApiV4GroupsIdVariablesKey

type PutApiV4GroupsIdVariablesKey struct {
	// The value of a variable
	Value string `json:"value,omitempty"`
	// Whether the variable is protected
	Protected string `json:"protected,omitempty"`
	// Whether the variable is masked
	Masked string `json:"masked,omitempty"`
	// Whether the variable will be expanded
	Raw string `json:"raw,omitempty"`
	// The type of the variable. Default: env_var
	VariableType string `json:"variable_type,omitempty"`
	// The environment scope of the variable
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// The description of the variable
	Description string `json:"description,omitempty"`
}

Update an existing variable from a group

type PutApiV4GroupsIdWikisSlug

type PutApiV4GroupsIdWikisSlug struct {
	// Title of a wiki page
	Title       string                             `json:"title,omitempty"`
	FrontMatter *PostApiV4GroupsIdWikisFrontMatter `json:"front_matter,omitempty"`
	// Content of a wiki page
	Content string `json:"content,omitempty"`
	// Format of a wiki page. Available formats are markdown, rdoc, asciidoc and org
	Format string `json:"format,omitempty"`
}

Update a wiki page

type PutApiV4HooksHookId

type PutApiV4HooksHookId struct {
	// The URL to send the request to
	Url string `json:"url,omitempty"`
	// Name of the hook
	Name string `json:"name,omitempty"`
	// Description of the hook
	Description string `json:"description,omitempty"`
	// Secret token to validate received payloads; this isn't returned in the response
	Token string `json:"token,omitempty"`
	// When true, the hook fires on push events
	PushEvents bool `json:"push_events,omitempty"`
	// When true, the hook fires on new tags being pushed
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger hook on merge requests events
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger hook on repository update events
	RepositoryUpdateEvents bool `json:"repository_update_events,omitempty"`
	// Do SSL verification when triggering the hook
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// URL variables for interpolation
	UrlVariables []PostApiV4ProjectsIdHooksUrlVariables `json:"url_variables,omitempty"`
}

Edit system hook

type PutApiV4HooksHookIdUrlVariablesKey

type PutApiV4HooksHookIdUrlVariablesKey struct {
	// The value of the variable
	Value string `json:"value"`
}

Set a url variable

type PutApiV4JobsId

type PutApiV4JobsId struct {
	// Job token
	Token string `json:"token"`
	// Job's status: success, failed
	State string `json:"state,omitempty"`
	// Job's trace CRC32 checksum
	Checksum string `json:"checksum,omitempty"`
	// Job's failure_reason
	FailureReason string                `json:"failure_reason,omitempty"`
	Output        *PutApiV4JobsIdOutput `json:"output,omitempty"`
	// Job's exit code
	ExitCode int32 `json:"exit_code,omitempty"`
}

Update a job

type PutApiV4JobsIdOutput

type PutApiV4JobsIdOutput struct {
	// Job's trace CRC32 checksum
	Checksum string `json:"checksum,omitempty"`
	// Job's trace size in bytes
	Bytesize int32 `json:"bytesize,omitempty"`
}

Build log state

type PutApiV4NamespacesId

type PutApiV4NamespacesId struct {
	// Compute minutes quota for this namespace
	SharedRunnersMinutesLimit int32 `json:"shared_runners_minutes_limit,omitempty"`
	// Extra compute minutes for this namespace
	ExtraSharedRunnersMinutesLimit int32 `json:"extra_shared_runners_minutes_limit,omitempty"`
	// Additional storage size for this namespace
	AdditionalPurchasedStorageSize int32 `json:"additional_purchased_storage_size,omitempty"`
	// End of subscription of the additional purchased storage
	AdditionalPurchasedStorageEndsOn string                                            `json:"additional_purchased_storage_ends_on,omitempty"`
	GitlabSubscriptionAttributes     *PutApiV4NamespacesIdGitlabSubscriptionAttributes `json:"gitlab_subscription_attributes,omitempty"`
}

Update a namespace

type PutApiV4NamespacesIdGitlabSubscription

type PutApiV4NamespacesIdGitlabSubscription struct {
	// Start date of subscription
	StartDate string `json:"start_date,omitempty"`
	// Number of seats in subscription
	Seats int32 `json:"seats,omitempty"`
	// Highest number of active users in the last month
	MaxSeatsUsed int32 `json:"max_seats_used,omitempty"`
	// Subscription tier code
	PlanCode string `json:"plan_code,omitempty"`
	// End date of subscription
	EndDate string `json:"end_date,omitempty"`
	// Whether subscription will auto renew on end date
	AutoRenew bool `json:"auto_renew,omitempty"`
	// Whether the subscription is a trial
	Trial bool `json:"trial,omitempty"`
	// End date of trial
	TrialEndsOn string `json:"trial_ends_on,omitempty"`
	// Start date of trial
	TrialStartsOn string `json:"trial_starts_on,omitempty"`
	// Whether subscription is an extended or reactivated trial
	TrialExtensionType int32 `json:"trial_extension_type,omitempty"`
}

Update the subscription for the namespace

type PutApiV4NamespacesIdGitlabSubscriptionAttributes

type PutApiV4NamespacesIdGitlabSubscriptionAttributes struct {
	// Start date of subscription
	StartDate string `json:"start_date,omitempty"`
	// Number of seats in subscription
	Seats int32 `json:"seats,omitempty"`
	// Highest number of active users in the last month
	MaxSeatsUsed int32 `json:"max_seats_used,omitempty"`
	// Subscription tier code
	PlanCode string `json:"plan_code,omitempty"`
	// End date of subscription
	EndDate string `json:"end_date,omitempty"`
	// Whether subscription will auto renew on end date
	AutoRenew bool `json:"auto_renew,omitempty"`
	// Whether the subscription is a trial
	Trial bool `json:"trial,omitempty"`
	// End date of trial
	TrialEndsOn string `json:"trial_ends_on,omitempty"`
	// Start date of trial
	TrialStartsOn string `json:"trial_starts_on,omitempty"`
	// Whether subscription is an extended or reactivated trial
	TrialExtensionType int32 `json:"trial_extension_type,omitempty"`
}

type PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName

type PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName struct {
	// The package file to be published (generated by Multipart middleware)
	File **os.File `json:"file"`
}

Upload recipe package files

type PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName

type PutApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName struct {
	// The package file to be published (generated by Multipart middleware)
	File **os.File `json:"file"`
}

Upload package files

type PutApiV4PackagesNpmPackagepackageNameDistTagsTag

type PutApiV4PackagesNpmPackagepackageNameDistTagsTag struct {
	// Package name
	PackageName string `json:"package_name"`
}

Create or Update the given tag for the given NPM package and version

type PutApiV4ProjectsId

type PutApiV4ProjectsId struct {
	// The name of the project
	Name string `json:"name,omitempty"`
	// The default branch of the project
	DefaultBranch string `json:"default_branch,omitempty"`
	// The path of the repository
	Path string `json:"path,omitempty"`
	// The description of the project
	Description string `json:"description,omitempty"`
	// The Git strategy. Defaults to `fetch`
	BuildGitStrategy string `json:"build_git_strategy,omitempty"`
	// Build timeout
	BuildTimeout int32 `json:"build_timeout,omitempty"`
	// Auto-cancel pending pipelines
	AutoCancelPendingPipelines string `json:"auto_cancel_pending_pipelines,omitempty"`
	// The path to CI config file. Defaults to `.gitlab-ci.yml`
	CiConfigPath string `json:"ci_config_path,omitempty"`
	// Disable or enable the service desk
	ServiceDeskEnabled bool `json:"service_desk_enabled,omitempty"`
	// Flag indication if the issue tracker is enabled
	IssuesEnabled bool `json:"issues_enabled,omitempty"`
	// Flag indication if merge requests are enabled
	MergeRequestsEnabled bool `json:"merge_requests_enabled,omitempty"`
	// Flag indication if the wiki is enabled
	WikiEnabled bool `json:"wiki_enabled,omitempty"`
	// Flag indication if jobs are enabled
	JobsEnabled bool `json:"jobs_enabled,omitempty"`
	// Flag indication if snippets are enabled
	SnippetsEnabled bool `json:"snippets_enabled,omitempty"`
	// Issues access level. One of `disabled`, `private` or `enabled`
	IssuesAccessLevel string `json:"issues_access_level,omitempty"`
	// Repository access level. One of `disabled`, `private` or `enabled`
	RepositoryAccessLevel string `json:"repository_access_level,omitempty"`
	// Merge requests access level. One of `disabled`, `private` or `enabled`
	MergeRequestsAccessLevel string `json:"merge_requests_access_level,omitempty"`
	// Forks access level. One of `disabled`, `private` or `enabled`
	ForkingAccessLevel string `json:"forking_access_level,omitempty"`
	// Wiki access level. One of `disabled`, `private` or `enabled`
	WikiAccessLevel string `json:"wiki_access_level,omitempty"`
	// Builds access level. One of `disabled`, `private` or `enabled`
	BuildsAccessLevel string `json:"builds_access_level,omitempty"`
	// Snippets access level. One of `disabled`, `private` or `enabled`
	SnippetsAccessLevel string `json:"snippets_access_level,omitempty"`
	// Pages access level. One of `disabled`, `private`, `enabled` or `public`
	PagesAccessLevel string `json:"pages_access_level,omitempty"`
	// Analytics access level. One of `disabled`, `private` or `enabled`
	AnalyticsAccessLevel string `json:"analytics_access_level,omitempty"`
	// Controls visibility of the container registry. One of `disabled`, `private` or `enabled`. `private` will make the container registry accessible only to project members (reporter role and above). `enabled` will make the container registry accessible to everyone who has access to the project. `disabled` will disable the container registry
	ContainerRegistryAccessLevel string `json:"container_registry_access_level,omitempty"`
	// Security and compliance access level. One of `disabled`, `private` or `enabled`
	SecurityAndComplianceAccessLevel string `json:"security_and_compliance_access_level,omitempty"`
	// Releases access level. One of `disabled`, `private` or `enabled`
	ReleasesAccessLevel string `json:"releases_access_level,omitempty"`
	// Environments access level. One of `disabled`, `private` or `enabled`
	EnvironmentsAccessLevel string `json:"environments_access_level,omitempty"`
	// Feature flags access level. One of `disabled`, `private` or `enabled`
	FeatureFlagsAccessLevel string `json:"feature_flags_access_level,omitempty"`
	// Infrastructure access level. One of `disabled`, `private` or `enabled`
	InfrastructureAccessLevel string `json:"infrastructure_access_level,omitempty"`
	// Monitor access level. One of `disabled`, `private` or `enabled`
	MonitorAccessLevel string `json:"monitor_access_level,omitempty"`
	// Model experiments access level. One of `disabled`, `private` or `enabled`
	ModelExperimentsAccessLevel string `json:"model_experiments_access_level,omitempty"`
	// Model registry access level. One of `disabled`, `private` or `enabled`
	ModelRegistryAccessLevel string `json:"model_registry_access_level,omitempty"`
	// Deprecated: Use emails_enabled instead.
	EmailsDisabled bool `json:"emails_disabled,omitempty"`
	// Enable email notifications
	EmailsEnabled bool `json:"emails_enabled,omitempty"`
	// Show default award emojis
	ShowDefaultAwardEmojis bool `json:"show_default_award_emojis,omitempty"`
	// Include the code diff preview in merge request notification emails
	ShowDiffPreviewInEmail bool `json:"show_diff_preview_in_email,omitempty"`
	// Warn about potentially unwanted characters
	WarnAboutPotentiallyUnwantedCharacters bool `json:"warn_about_potentially_unwanted_characters,omitempty"`
	// Enforce auth check on uploads
	EnforceAuthChecksOnUploads bool `json:"enforce_auth_checks_on_uploads,omitempty"`
	// Flag indication if shared runners are enabled for that project
	SharedRunnersEnabled bool `json:"shared_runners_enabled,omitempty"`
	// Flag indication if group runners are enabled for that project
	GroupRunnersEnabled bool `json:"group_runners_enabled,omitempty"`
	// Automatically resolve merge request diff threads on lines changed with a push
	ResolveOutdatedDiffDiscussions bool `json:"resolve_outdated_diff_discussions,omitempty"`
	// Remove the source branch by default after merge
	RemoveSourceBranchAfterMerge bool `json:"remove_source_branch_after_merge,omitempty"`
	// Deprecated: Use :container_registry_access_level instead. Flag indication if the container registry is enabled for that project
	ContainerRegistryEnabled            bool                                                  `json:"container_registry_enabled,omitempty"`
	ContainerExpirationPolicyAttributes *PostApiV4ProjectsContainerExpirationPolicyAttributes `json:"container_expiration_policy_attributes,omitempty"`
	// Flag indication if Git LFS is enabled for that project
	LfsEnabled bool `json:"lfs_enabled,omitempty"`
	// The visibility of the project.
	Visibility string `json:"visibility,omitempty"`
	// Deprecated: Use public_jobs instead.
	PublicBuilds bool `json:"public_builds,omitempty"`
	// Perform public builds
	PublicJobs bool `json:"public_jobs,omitempty"`
	// Allow users to request member access
	RequestAccessEnabled bool `json:"request_access_enabled,omitempty"`
	// Only allow to merge if builds succeed
	OnlyAllowMergeIfPipelineSucceeds bool `json:"only_allow_merge_if_pipeline_succeeds,omitempty"`
	// Allow to merge if pipeline is skipped
	AllowMergeOnSkippedPipeline bool `json:"allow_merge_on_skipped_pipeline,omitempty"`
	// Only allow to merge if all threads are resolved
	OnlyAllowMergeIfAllDiscussionsAreResolved bool `json:"only_allow_merge_if_all_discussions_are_resolved,omitempty"`
	// Deprecated: Use :topics instead
	TagList []string `json:"tag_list,omitempty"`
	// The list of topics for a project
	Topics []string `json:"topics,omitempty"`
	// Avatar image for project
	Avatar **os.File `json:"avatar,omitempty"`
	// Show link to create/view merge request when pushing from the command line
	PrintingMergeRequestLinkEnabled bool `json:"printing_merge_request_link_enabled,omitempty"`
	// The merge method used when merging merge requests
	MergeMethod string `json:"merge_method,omitempty"`
	// The commit message used to apply merge request suggestions
	SuggestionCommitMessage string `json:"suggestion_commit_message,omitempty"`
	// Template used to create merge commit message
	MergeCommitTemplate string `json:"merge_commit_template,omitempty"`
	// Template used to create squash commit message
	SquashCommitTemplate string `json:"squash_commit_template,omitempty"`
	// Template used to create a branch from an issue
	IssueBranchTemplate string `json:"issue_branch_template,omitempty"`
	// Initialize a project with a README.md
	InitializeWithReadme bool `json:"initialize_with_readme,omitempty"`
	// Flag indication if Auto DevOps is enabled
	AutoDevopsEnabled bool `json:"auto_devops_enabled,omitempty"`
	// Auto Deploy strategy
	AutoDevopsDeployStrategy string `json:"auto_devops_deploy_strategy,omitempty"`
	// Flag indication if referenced issues auto-closing is enabled
	AutocloseReferencedIssues bool `json:"autoclose_referenced_issues,omitempty"`
	// Which storage shard the repository is on. Available only to admins
	RepositoryStorage string `json:"repository_storage,omitempty"`
	// Enable project packages feature
	PackagesEnabled bool `json:"packages_enabled,omitempty"`
	// Squash default for project. One of `never`, `always`, `default_on`, or `default_off`.
	SquashOption string `json:"squash_option,omitempty"`
	// Merge requests of this forked project targets itself by default
	MrDefaultTargetSelf bool `json:"mr_default_target_self,omitempty"`
	// Blocks merge requests from merging unless all status checks have passed
	OnlyAllowMergeIfAllStatusChecksPassed bool `json:"only_allow_merge_if_all_status_checks_passed,omitempty"`
	// How many approvers should approve merge request by default
	ApprovalsBeforeMerge int32 `json:"approvals_before_merge,omitempty"`
	// Enables pull mirroring in a project
	Mirror bool `json:"mirror,omitempty"`
	// Pull mirroring triggers builds
	MirrorTriggerBuilds bool `json:"mirror_trigger_builds,omitempty"`
	// The classification label for the project
	ExternalAuthorizationClassificationLabel string `json:"external_authorization_classification_label,omitempty"`
	// Requirements feature access level. One of `disabled`, `private` or `enabled`
	RequirementsAccessLevel string `json:"requirements_access_level,omitempty"`
	// Require an associated issue from Jira
	PreventMergeWithoutJiraIssue bool `json:"prevent_merge_without_jira_issue,omitempty"`
	// Default number of revisions for shallow cloning
	CiDefaultGitDepth int32 `json:"ci_default_git_depth,omitempty"`
	// Indicates if the latest artifact should be kept for this project.
	KeepLatestArtifact bool `json:"keep_latest_artifact,omitempty"`
	// Prevent older deployment jobs that are still pending
	CiForwardDeploymentEnabled bool `json:"ci_forward_deployment_enabled,omitempty"`
	// Allow job retries for rollback deployments
	CiForwardDeploymentRollbackAllowed bool `json:"ci_forward_deployment_rollback_allowed,omitempty"`
	// Allow fork merge request pipelines to run in parent project
	CiAllowForkPipelinesToRunInParentProject bool `json:"ci_allow_fork_pipelines_to_run_in_parent_project,omitempty"`
	// Enable or disable separated caches based on branch protection.
	CiSeparatedCaches bool `json:"ci_separated_caches,omitempty"`
	// Restrict ability to override variables when triggering a pipeline
	RestrictUserDefinedVariables bool `json:"restrict_user_defined_variables,omitempty"`
	// Limit ability to override CI/CD variables when triggering a pipeline to only users with at least the set minimum role
	CiPipelineVariablesMinimumOverrideRole string `json:"ci_pipeline_variables_minimum_override_role,omitempty"`
	// Allow pipeline triggerer to approve deployments
	AllowPipelineTriggerApproveDeployment bool `json:"allow_pipeline_trigger_approve_deployment,omitempty"`
	// User responsible for all the activity surrounding a pull mirror event. Can only be set by admins
	MirrorUserId int32 `json:"mirror_user_id,omitempty"`
	// Only mirror protected branches
	OnlyMirrorProtectedBranches bool `json:"only_mirror_protected_branches,omitempty"`
	// Only mirror branches match regex
	MirrorBranchRegex string `json:"mirror_branch_regex,omitempty"`
	// Pull mirror overwrites diverged branches
	MirrorOverwritesDivergedBranches bool `json:"mirror_overwrites_diverged_branches,omitempty"`
	// URL from which the project is imported
	ImportUrl string `json:"import_url,omitempty"`
	// Overall approvals required when no rule is present
	FallbackApprovalsRequired int32 `json:"fallback_approvals_required,omitempty"`
	// Default description for Issues. Description is parsed with GitLab Flavored Markdown.
	IssuesTemplate string `json:"issues_template,omitempty"`
	// Default description for merge requests. Description is parsed with GitLab Flavored Markdown.
	MergeRequestsTemplate string `json:"merge_requests_template,omitempty"`
	// Enable merged results pipelines.
	MergePipelinesEnabled bool `json:"merge_pipelines_enabled,omitempty"`
	// Enable merge trains.
	MergeTrainsEnabled bool `json:"merge_trains_enabled,omitempty"`
	// Allow merge train merge requests to be merged without waiting for pipelines to finish.
	MergeTrainsSkipTrainAllowed bool `json:"merge_trains_skip_train_allowed,omitempty"`
	// Roles allowed to cancel pipelines and jobs.
	CiRestrictPipelineCancellationRole string `json:"ci_restrict_pipeline_cancellation_role,omitempty"`
}

Update an existing project

type PutApiV4ProjectsIdAccessRequestsUserIdApprove

type PutApiV4ProjectsIdAccessRequestsUserIdApprove struct {
	// A valid access level (defaults: `30`, the Developer role)
	AccessLevel int32 `json:"access_level,omitempty"`
}

Approves an access request for the given user.

type PutApiV4ProjectsIdBadgesBadgeId

type PutApiV4ProjectsIdBadgesBadgeId struct {
	// URL of the badge link
	LinkUrl string `json:"link_url,omitempty"`
	// URL of the badge image
	ImageUrl string `json:"image_url,omitempty"`
	// Name for the badge
	Name string `json:"name,omitempty"`
}

Updates a badge of a project.

type PutApiV4ProjectsIdClustersClusterId

type PutApiV4ProjectsIdClustersClusterId struct {
	// Cluster name
	Name string `json:"name,omitempty"`
	// Cluster base domain
	Domain string `json:"domain,omitempty"`
	// The associated environment to the cluster
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// Deploy each environment to a separate Kubernetes namespace
	NamespacePerEnvironment bool `json:"namespace_per_environment,omitempty"`
	// The ID of the management project
	ManagementProjectId int32 `json:"management_project_id,omitempty"`
	// Determines if cluster is active or not
	Enabled bool `json:"enabled,omitempty"`
	// Determines if GitLab will manage namespaces and service accounts for this cluster
	Managed                      bool                                                             `json:"managed,omitempty"`
	PlatformKubernetesAttributes *PutApiV4ProjectsIdClustersClusterIdPlatformKubernetesAttributes `json:"platform_kubernetes_attributes,omitempty"`
}

Edit project cluster

type PutApiV4ProjectsIdClustersClusterIdPlatformKubernetesAttributes

type PutApiV4ProjectsIdClustersClusterIdPlatformKubernetesAttributes struct {
	// URL to access the Kubernetes API
	ApiUrl string `json:"api_url,omitempty"`
	// Token to authenticate against Kubernetes
	Token string `json:"token,omitempty"`
	// TLS certificate (needed if API is using a self-signed TLS certificate)
	CaCert string `json:"ca_cert,omitempty"`
	// Unique namespace related to Project
	Namespace string `json:"namespace,omitempty"`
}

Platform Kubernetes data

type PutApiV4ProjectsIdCustomAttributesKey

type PutApiV4ProjectsIdCustomAttributesKey struct {
	// The value of the custom attribute
	Value string `json:"value"`
}

Set a custom attribute on a project

type PutApiV4ProjectsIdDebianDistributionsCodename

type PutApiV4ProjectsIdDebianDistributionsCodename struct {
	// The Debian Suite
	Suite string `json:"suite,omitempty"`
	// The Debian Origin
	Origin string `json:"origin,omitempty"`
	// The Debian Label
	Label string `json:"label,omitempty"`
	// The Debian Version
	Version string `json:"version,omitempty"`
	// The Debian Description
	Description string `json:"description,omitempty"`
	// The duration before the Release file should be considered expired by the client
	ValidTimeDurationSeconds int32 `json:"valid_time_duration_seconds,omitempty"`
	// The list of Components
	Components []string `json:"components,omitempty"`
	// The list of Architectures
	Architectures []string `json:"architectures,omitempty"`
}

Update a Debian Distribution

type PutApiV4ProjectsIdDeployKeysKeyId

type PutApiV4ProjectsIdDeployKeysKeyId struct {
	// New deploy key's title
	Title string `json:"title,omitempty"`
	// Can deploy key push to the project's repository
	CanPush bool `json:"can_push,omitempty"`
}

Update deploy key

type PutApiV4ProjectsIdDeploymentsDeploymentId

type PutApiV4ProjectsIdDeploymentsDeploymentId struct {
	// The new status of the deployment. One of `running`, `success`, `failed`, or `canceled`
	Status string `json:"status"`
}

Update a deployment

type PutApiV4ProjectsIdEnvironmentsEnvironmentId

type PutApiV4ProjectsIdEnvironmentsEnvironmentId struct {
	// The new URL on which this deployment is viewable
	ExternalUrl string `json:"external_url,omitempty"`
	// The tier of the new environment. Allowed values are `production`, `staging`, `testing`, `development`, and `other`
	Tier string `json:"tier,omitempty"`
}

Update an existing environment

type PutApiV4ProjectsIdErrorTrackingSettings

type PutApiV4ProjectsIdErrorTrackingSettings struct {
	// Pass true to enable the configured Error Tracking settings or false to disable it.
	Active bool `json:"active"`
	// Pass true to enable the integrated Error Tracking backend.
	Integrated bool `json:"integrated"`
}

Update Error Tracking project settings. Available in GitLab 15.10 and later.

type PutApiV4ProjectsIdFeatureFlagsFeatureFlagName

type PutApiV4ProjectsIdFeatureFlagsFeatureFlagName struct {
	// The new name of the feature flag. Supported in GitLab 13.3 and later
	Name string `json:"name,omitempty"`
	// The description of the feature flag
	Description string `json:"description,omitempty"`
	// The active state of the flag. Supported in GitLab 13.3 and later
	Active     bool                                                      `json:"active,omitempty"`
	Strategies []PutApiV4ProjectsIdFeatureFlagsFeatureFlagNameStrategies `json:"strategies,omitempty"`
}

Update a feature flag

type PutApiV4ProjectsIdFeatureFlagsFeatureFlagNameScopes

type PutApiV4ProjectsIdFeatureFlagsFeatureFlagNameScopes struct {
	// The scope id
	Id int32 `json:"id,omitempty"`
	// The environment scope of the scope
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// Delete the scope when true
	Destroy bool `json:"_destroy,omitempty"`
}

type PutApiV4ProjectsIdFeatureFlagsFeatureFlagNameStrategies

type PutApiV4ProjectsIdFeatureFlagsFeatureFlagNameStrategies struct {
	// The feature flag strategy ID
	Id int32 `json:"id,omitempty"`
	// The strategy name
	Name string `json:"name,omitempty"`
	// The strategy parameters as a JSON-formatted string e.g. `{\"userIds\":\"user1\"}`
	Parameters string `json:"parameters,omitempty"`
	// The ID of the feature flag user list
	UserListId int32 `json:"user_list_id,omitempty"`
	// Delete the strategy when true
	Destroy bool                                                  `json:"_destroy,omitempty"`
	Scopes  []PutApiV4ProjectsIdFeatureFlagsFeatureFlagNameScopes `json:"scopes,omitempty"`
}

type PutApiV4ProjectsIdFeatureFlagsUserListsIid

type PutApiV4ProjectsIdFeatureFlagsUserListsIid struct {
	// The name of the list
	Name string `json:"name,omitempty"`
	// A comma separated list of external user ids
	UserXids string `json:"user_xids,omitempty"`
}

Update a feature flag user list

type PutApiV4ProjectsIdFreezePeriodsFreezePeriodId

type PutApiV4ProjectsIdFreezePeriodsFreezePeriodId struct {
	// Start of the freeze period in cron format
	FreezeStart string `json:"freeze_start,omitempty"`
	// End of the freeze period in cron format
	FreezeEnd string `json:"freeze_end,omitempty"`
	// The time zone for the cron fields
	CronTimezone string `json:"cron_timezone,omitempty"`
}

Update a freeze period

type PutApiV4ProjectsIdHooksHookId

type PutApiV4ProjectsIdHooksHookId struct {
	// The URL to send the request to
	Url string `json:"url,omitempty"`
	// Name of the hook
	Name string `json:"name,omitempty"`
	// Description of the hook
	Description string `json:"description,omitempty"`
	// Trigger hook on push events
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger hook on issues events
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger hook on confidential issues events
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger hook on merge request events
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger hook on tag push events
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger hook on note (comment) events
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger hook on confidential note (comment) events
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger hook on job events
	JobEvents bool `json:"job_events,omitempty"`
	// Trigger hook on pipeline events
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger hook on wiki events
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger hook on deployment events
	DeploymentEvents bool `json:"deployment_events,omitempty"`
	// Trigger hook on release events
	ReleasesEvents bool `json:"releases_events,omitempty"`
	// Trigger hook on emoji events
	EmojiEvents bool `json:"emoji_events,omitempty"`
	// Trigger hook on project access token expiry events
	ResourceAccessTokenEvents bool `json:"resource_access_token_events,omitempty"`
	// Do SSL verification when triggering the hook
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// Secret token to validate received payloads; this will not be returned in the response
	Token string `json:"token,omitempty"`
	// Trigger hook on specified branch only
	PushEventsBranchFilter string `json:"push_events_branch_filter,omitempty"`
	// Custom template for the request payload
	CustomWebhookTemplate string `json:"custom_webhook_template,omitempty"`
	// URL variables for interpolation
	UrlVariables []PostApiV4ProjectsIdHooksUrlVariables `json:"url_variables,omitempty"`
}

Edit project hook

type PutApiV4ProjectsIdHooksHookIdUrlVariablesKey

type PutApiV4ProjectsIdHooksHookIdUrlVariablesKey struct {
	// The value of the variable
	Value string `json:"value"`
}

Set a url variable

type PutApiV4ProjectsIdIntegrationsAppleAppStore

type PutApiV4ProjectsIdIntegrationsAppleAppStore struct {
	// Apple App Store Connect issuer ID.
	AppStoreIssuerId string `json:"app_store_issuer_id"`
	// Apple App Store Connect key ID.
	AppStoreKeyId string `json:"app_store_key_id"`
	// Apple App Store Connect private key file name.
	AppStorePrivateKeyFileName string `json:"app_store_private_key_file_name"`
	// Apple App Store Connect private key.
	AppStorePrivateKey string `json:"app_store_private_key"`
	// Set variables on protected branches and tags only.
	AppStoreProtectedRefs bool `json:"app_store_protected_refs,omitempty"`
}

Create/Edit Apple App Store integration

type PutApiV4ProjectsIdIntegrationsAsana

type PutApiV4ProjectsIdIntegrationsAsana struct {
	// User API token. The user must have access to the task. All comments are attributed to this user.
	ApiKey string `json:"api_key"`
	// Comma-separated list of branches to be automatically inspected. Leave blank to include all branches.
	RestrictToBranch string `json:"restrict_to_branch,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Asana integration

type PutApiV4ProjectsIdIntegrationsAssembla

type PutApiV4ProjectsIdIntegrationsAssembla struct {
	// The authentication token.
	Token string `json:"token"`
	// The subdomain setting.
	Subdomain string `json:"subdomain,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Assembla integration

type PutApiV4ProjectsIdIntegrationsBamboo

type PutApiV4ProjectsIdIntegrationsBamboo struct {
	// Enable SSL verification. Defaults to `true` (enabled).
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// Bamboo root URL (for example, `https://bamboo.example.com`).
	BambooUrl string `json:"bamboo_url"`
	// Bamboo build plan key (for example, `KEY`).
	BuildKey string `json:"build_key"`
	// User with API access to the Bamboo server.
	Username string `json:"username"`
	// Password of the user.
	Password string `json:"password"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Bamboo integration

type PutApiV4ProjectsIdIntegrationsBugzilla

type PutApiV4ProjectsIdIntegrationsBugzilla struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// URL of the new issue.
	NewIssueUrl string `json:"new_issue_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Bugzilla integration

type PutApiV4ProjectsIdIntegrationsBuildkite

type PutApiV4ProjectsIdIntegrationsBuildkite struct {
	// Buildkite project GitLab token
	Token string `json:"token"`
	// The Buildkite pipeline URL
	ProjectUrl string `json:"project_url"`
	// DEPRECATED: This parameter has no effect since SSL verification will always be enabled
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
}

Create/Edit Buildkite integration

type PutApiV4ProjectsIdIntegrationsCampfire

type PutApiV4ProjectsIdIntegrationsCampfire struct {
	// API authentication token from Campfire. To get the token, sign in to Campfire and select **My info**.
	Token string `json:"token"`
	// `.campfirenow.com` subdomain when you're signed in.
	Subdomain string `json:"subdomain,omitempty"`
	// ID portion of the Campfire room URL.
	Room string `json:"room,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Campfire integration

type PutApiV4ProjectsIdIntegrationsClickup

type PutApiV4ProjectsIdIntegrationsClickup struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Clickup integration

type PutApiV4ProjectsIdIntegrationsConfluence

type PutApiV4ProjectsIdIntegrationsConfluence struct {
	// URL of the Confluence Workspace hosted on `atlassian.net`.
	ConfluenceUrl string `json:"confluence_url"`
}

Create/Edit Confluence integration

type PutApiV4ProjectsIdIntegrationsCustomIssueTracker

type PutApiV4ProjectsIdIntegrationsCustomIssueTracker struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// URL of the new issue.
	NewIssueUrl string `json:"new_issue_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Custom Issue Tracker integration

type PutApiV4ProjectsIdIntegrationsDatadog

type PutApiV4ProjectsIdIntegrationsDatadog struct {
	// API key used for authentication with Datadog
	ApiKey string `json:"api_key"`
	// The Datadog site to send data to. To send data to the EU site, use datadoghq.eu
	DatadogSite string `json:"datadog_site,omitempty"`
	// (Advanced) The full URL for your Datadog site
	ApiUrl string `json:"api_url,omitempty"`
	// When enabled, job logs are collected by Datadog and displayed along with pipeline execution traces.
	ArchiveTraceEvents bool `json:"archive_trace_events,omitempty"`
	// Tag all data from this GitLab instance in Datadog. Useful when managing several self-managed deployments
	DatadogService string `json:"datadog_service,omitempty"`
	// For self-managed deployments, set the env tag for all the data sent to Datadog
	DatadogEnv string `json:"datadog_env,omitempty"`
	// Custom tags in Datadog. Specify one tag per line in the format: \"key:value\\nkey2:value2\"
	DatadogTags string `json:"datadog_tags,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a build is created.
	BuildEvents bool `json:"build_events,omitempty"`
}

Create/Edit Datadog integration

type PutApiV4ProjectsIdIntegrationsDiffblueCover

type PutApiV4ProjectsIdIntegrationsDiffblueCover struct {
	// Diffblue Cover license key.
	DiffblueLicenseKey string `json:"diffblue_license_key"`
	// Access token name used by Diffblue Cover in pipelines.
	DiffblueAccessTokenName string `json:"diffblue_access_token_name"`
	// Access token secret used by Diffblue Cover in pipelines.
	DiffblueAccessTokenSecret string `json:"diffblue_access_token_secret"`
}

Create/Edit Diffblue Cover integration

type PutApiV4ProjectsIdIntegrationsDiscord

type PutApiV4ProjectsIdIntegrationsDiscord struct {
	// Discord webhook (for example, `https://discord.com/api/webhooks/…`).
	Webhook string `json:"webhook"`
	// Send notifications for broken pipelines
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// The name of the channel to receive push_events notifications
	PushChannel string `json:"push_channel,omitempty"`
	// The name of the channel to receive issues_events notifications
	IssueChannel string `json:"issue_channel,omitempty"`
	// The name of the channel to receive incident_events notifications
	IncidentChannel string `json:"incident_channel,omitempty"`
	// The name of the channel to receive alert_events notifications
	AlertChannel string `json:"alert_channel,omitempty"`
	// The name of the channel to receive confidential_issues_events notifications
	ConfidentialIssueChannel string `json:"confidential_issue_channel,omitempty"`
	// The name of the channel to receive merge_requests_events notifications
	MergeRequestChannel string `json:"merge_request_channel,omitempty"`
	// The name of the channel to receive note_events notifications
	NoteChannel string `json:"note_channel,omitempty"`
	// The name of the channel to receive confidential_note_events notifications
	ConfidentialNoteChannel string `json:"confidential_note_channel,omitempty"`
	// The name of the channel to receive tag_push_events notifications
	TagPushChannel string `json:"tag_push_channel,omitempty"`
	// The name of the channel to receive deployment_events notifications
	DeploymentChannel string `json:"deployment_channel,omitempty"`
	// The name of the channel to receive pipeline_events notifications
	PipelineChannel string `json:"pipeline_channel,omitempty"`
	// The name of the channel to receive wiki_page_events notifications
	WikiPageChannel string `json:"wiki_page_channel,omitempty"`
	// The name of the channel to receive vulnerability_events notifications
	VulnerabilityChannel string `json:"vulnerability_channel,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger event when a deployment starts or finishes.
	DeploymentEvents bool `json:"deployment_events,omitempty"`
}

Create/Edit Discord integration

type PutApiV4ProjectsIdIntegrationsDroneCi

type PutApiV4ProjectsIdIntegrationsDroneCi struct {
	// Drone CI token
	Token string `json:"token"`
	// Drone CI URL
	DroneUrl string `json:"drone_url"`
	// Enable SSL verification
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
}

Create/Edit Drone Ci integration

type PutApiV4ProjectsIdIntegrationsEmailsOnPush

type PutApiV4ProjectsIdIntegrationsEmailsOnPush struct {
	// Comma-separated list of recipient email addresses
	Recipients string `json:"recipients"`
	// Disable code diffs
	DisableDiffs bool `json:"disable_diffs,omitempty"`
	// Send from committer
	SendFromCommitterEmail bool `json:"send_from_committer_email,omitempty"`
	// Branches for which notifications are to be sent
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
}

Create/Edit Emails On Push integration

type PutApiV4ProjectsIdIntegrationsEwm

type PutApiV4ProjectsIdIntegrationsEwm struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// URL of the new issue.
	NewIssueUrl string `json:"new_issue_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Ewm integration

type PutApiV4ProjectsIdIntegrationsExternalWiki

type PutApiV4ProjectsIdIntegrationsExternalWiki struct {
	// URL of the external wiki.
	ExternalWikiUrl string `json:"external_wiki_url"`
}

Create/Edit External Wiki integration

type PutApiV4ProjectsIdIntegrationsGitGuardian

type PutApiV4ProjectsIdIntegrationsGitGuardian struct {
	Token string `json:"token"`
}

Create/Edit Git Guardian integration

type PutApiV4ProjectsIdIntegrationsGithub

type PutApiV4ProjectsIdIntegrationsGithub struct {
	// GitHub API token with `repo:status` OAuth scope.
	Token string `json:"token"`
	// GitHub repository URL.
	RepositoryUrl string `json:"repository_url"`
	// Append the hostname of your GitLab instance to the status check name.
	StaticContext bool `json:"static_context,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
}

Create/Edit Github integration

type PutApiV4ProjectsIdIntegrationsGitlabSlackApplication

type PutApiV4ProjectsIdIntegrationsGitlabSlackApplication struct {
	// Default channel to use if no other channel is configured.
	Channel string `json:"channel,omitempty"`
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Labels to send notifications for. Leave blank to receive notifications for all events.
	LabelsToBeNotified string `json:"labels_to_be_notified,omitempty"`
	// Labels to be notified for. Valid options are `match_any` and `match_all`. The default value is `match_any`.
	LabelsToBeNotifiedBehavior string `json:"labels_to_be_notified_behavior,omitempty"`
	// The name of the channel to receive push_events notifications
	PushChannel string `json:"push_channel,omitempty"`
	// The name of the channel to receive issues_events notifications
	IssueChannel string `json:"issue_channel,omitempty"`
	// The name of the channel to receive incident_events notifications
	IncidentChannel string `json:"incident_channel,omitempty"`
	// The name of the channel to receive alert_events notifications
	AlertChannel string `json:"alert_channel,omitempty"`
	// The name of the channel to receive confidential_issues_events notifications
	ConfidentialIssueChannel string `json:"confidential_issue_channel,omitempty"`
	// The name of the channel to receive merge_requests_events notifications
	MergeRequestChannel string `json:"merge_request_channel,omitempty"`
	// The name of the channel to receive note_events notifications
	NoteChannel string `json:"note_channel,omitempty"`
	// The name of the channel to receive confidential_note_events notifications
	ConfidentialNoteChannel string `json:"confidential_note_channel,omitempty"`
	// The name of the channel to receive tag_push_events notifications
	TagPushChannel string `json:"tag_push_channel,omitempty"`
	// The name of the channel to receive deployment_events notifications
	DeploymentChannel string `json:"deployment_channel,omitempty"`
	// The name of the channel to receive pipeline_events notifications
	PipelineChannel string `json:"pipeline_channel,omitempty"`
	// The name of the channel to receive wiki_page_events notifications
	WikiPageChannel string `json:"wiki_page_channel,omitempty"`
	// The name of the channel to receive vulnerability_events notifications
	VulnerabilityChannel string `json:"vulnerability_channel,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger event when a deployment starts or finishes.
	DeploymentEvents bool `json:"deployment_events,omitempty"`
	// Trigger event when an incident is created.
	IncidentEvents      bool `json:"incident_events,omitempty"`
	VulnerabilityEvents bool `json:"vulnerability_events,omitempty"`
	// Trigger event when a new, unique alert is recorded.
	AlertEvents bool `json:"alert_events,omitempty"`
}

Create/Edit Gitlab Slack Application integration

type PutApiV4ProjectsIdIntegrationsGoogleCloudPlatformArtifactRegistry

type PutApiV4ProjectsIdIntegrationsGoogleCloudPlatformArtifactRegistry struct {
	ArtifactRegistryProjectId    string `json:"artifact_registry_project_id"`
	ArtifactRegistryRepositories string `json:"artifact_registry_repositories"`
	ArtifactRegistryLocation     string `json:"artifact_registry_location"`
}

Create/Edit Google Cloud Platform Artifact Registry integration

type PutApiV4ProjectsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederation

type PutApiV4ProjectsIdIntegrationsGoogleCloudPlatformWorkloadIdentityFederation struct {
	// Google Cloud project ID for the Workload Identity Federation.
	WorkloadIdentityFederationProjectId string `json:"workload_identity_federation_project_id"`
	// Google Cloud project number for the Workload Identity Federation.
	WorkloadIdentityFederationProjectNumber string `json:"workload_identity_federation_project_number"`
	// ID of the Workload Identity Pool.
	WorkloadIdentityPoolId string `json:"workload_identity_pool_id"`
	// ID of the Workload Identity Pool provider.
	WorkloadIdentityPoolProviderId string `json:"workload_identity_pool_provider_id"`
}

Create/Edit Google Cloud Platform Workload Identity Federation integration

type PutApiV4ProjectsIdIntegrationsGooglePlay

type PutApiV4ProjectsIdIntegrationsGooglePlay struct {
	// Package name of the app in Google Play.
	PackageName string `json:"package_name"`
	// File name of the Google Play service account key.
	ServiceAccountKeyFileName string `json:"service_account_key_file_name"`
	// Google Play service account key.
	ServiceAccountKey string `json:"service_account_key"`
	// Set variables on protected branches and tags only.
	GooglePlayProtectedRefs bool `json:"google_play_protected_refs,omitempty"`
}

Create/Edit Google Play integration

type PutApiV4ProjectsIdIntegrationsHangoutsChat

type PutApiV4ProjectsIdIntegrationsHangoutsChat struct {
	// The Hangouts Chat webhook. e.g. https://chat.googleapis.com/v1/spaces
	Webhook string `json:"webhook"`
	// Branches for which notifications are to be sent
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
}

Create/Edit Hangouts Chat integration

type PutApiV4ProjectsIdIntegrationsHarbor

type PutApiV4ProjectsIdIntegrationsHarbor struct {
	// The base URL to the Harbor instance linked to the GitLab project. For example, `https://demo.goharbor.io`.
	Url string `json:"url"`
	// The name of the project in the Harbor instance. For example, `testproject`.
	ProjectName string `json:"project_name"`
	// The username created in the Harbor interface.
	Username string `json:"username"`
	// The password of the user.
	Password string `json:"password"`
}

Create/Edit Harbor integration

type PutApiV4ProjectsIdIntegrationsIrker

type PutApiV4ProjectsIdIntegrationsIrker struct {
	// Recipients/channels separated by whitespaces
	Recipients string `json:"recipients"`
	// Default: irc://irc.network.net:6697
	DefaultIrcUri string `json:"default_irc_uri,omitempty"`
	// Server host. Default localhost
	ServerHost string `json:"server_host,omitempty"`
	// Server port. Default 6659
	ServerPort int32 `json:"server_port,omitempty"`
	// Colorize messages
	ColorizeMessages bool `json:"colorize_messages,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Irker integration

type PutApiV4ProjectsIdIntegrationsJenkins

type PutApiV4ProjectsIdIntegrationsJenkins struct {
	// Jenkins root URL like https://jenkins.example.com
	JenkinsUrl string `json:"jenkins_url"`
	// Enable SSL verification
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// The URL-friendly project name. Example: my_project_name
	ProjectName string `json:"project_name"`
	// A user with access to the Jenkins server, if applicable
	Username string `json:"username,omitempty"`
	// The password of the user
	Password string `json:"password,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
}

Create/Edit Jenkins integration

type PutApiV4ProjectsIdIntegrationsJira

type PutApiV4ProjectsIdIntegrationsJira struct {
	// The base URL to the Jira instance web interface which is being linked to this GitLab project. E.g., https://jira.example.com
	Url string `json:"url"`
	// The base URL to the Jira instance API. Web URL value will be used if not set. E.g., https://jira-api.example.com
	ApiUrl string `json:"api_url,omitempty"`
	// The authentication method to be used with Jira. `0` means Basic Authentication. `1` means Jira personal access token. Defaults to `0`
	JiraAuthType int32 `json:"jira_auth_type,omitempty"`
	// The email or username to be used with Jira. For Jira Cloud use an email, for Jira Data Center and Jira Server use a username. Required when using Basic authentication (`jira_auth_type` is `0`)
	Username string `json:"username,omitempty"`
	// The Jira API token, password, or personal access token to be used with Jira. When your authentication method is Basic (`jira_auth_type` is `0`) use an API token for Jira Cloud, or a password for Jira Data Center or Jira Server. When your authentication method is Jira personal access token (`jira_auth_type` is `1`) use a personal access token
	Password string `json:"password"`
	// Enable automatic issue transitions
	JiraIssueTransitionAutomatic bool `json:"jira_issue_transition_automatic,omitempty"`
	// The ID of one or more transitions for custom issue transitions
	JiraIssueTransitionId string `json:"jira_issue_transition_id,omitempty"`
	// Prefix to match Jira issue keys
	JiraIssuePrefix string `json:"jira_issue_prefix,omitempty"`
	// Regular expression to match Jira issue keys
	JiraIssueRegex string `json:"jira_issue_regex,omitempty"`
	// Enable viewing Jira issues in GitLab
	IssuesEnabled bool `json:"issues_enabled,omitempty"`
	// Keys of Jira projects to view issues from in GitLab
	ProjectKeys []string `json:"project_keys,omitempty"`
	// Enable comments inside Jira issues on each GitLab event (commit / merge request)
	CommentOnEventEnabled bool `json:"comment_on_event_enabled,omitempty"`
	// Trigger event when a commit is created or updated.
	CommitEvents bool `json:"commit_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
}

Create/Edit Jira integration

type PutApiV4ProjectsIdIntegrationsMattermost

type PutApiV4ProjectsIdIntegrationsMattermost struct {
	// Mattermost notifications webhook (for example, `http://mattermost.example.com/hooks/...`).
	Webhook string `json:"webhook"`
	// Mattermost notifications username.
	Username string `json:"username,omitempty"`
	// Default channel to use if no other channel is configured.
	Channel string `json:"channel,omitempty"`
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Labels to send notifications for. Leave blank to receive notifications for all events.
	LabelsToBeNotified string `json:"labels_to_be_notified,omitempty"`
	// Labels to be notified for. Valid options are `match_any` and `match_all`. The default value is `match_any`.
	LabelsToBeNotifiedBehavior string `json:"labels_to_be_notified_behavior,omitempty"`
	// The name of the channel to receive push_events notifications
	PushChannel string `json:"push_channel,omitempty"`
	// The name of the channel to receive issues_events notifications
	IssueChannel string `json:"issue_channel,omitempty"`
	// The name of the channel to receive incident_events notifications
	IncidentChannel string `json:"incident_channel,omitempty"`
	// The name of the channel to receive alert_events notifications
	AlertChannel string `json:"alert_channel,omitempty"`
	// The name of the channel to receive confidential_issues_events notifications
	ConfidentialIssueChannel string `json:"confidential_issue_channel,omitempty"`
	// The name of the channel to receive merge_requests_events notifications
	MergeRequestChannel string `json:"merge_request_channel,omitempty"`
	// The name of the channel to receive note_events notifications
	NoteChannel string `json:"note_channel,omitempty"`
	// The name of the channel to receive confidential_note_events notifications
	ConfidentialNoteChannel string `json:"confidential_note_channel,omitempty"`
	// The name of the channel to receive tag_push_events notifications
	TagPushChannel string `json:"tag_push_channel,omitempty"`
	// The name of the channel to receive deployment_events notifications
	DeploymentChannel string `json:"deployment_channel,omitempty"`
	// The name of the channel to receive pipeline_events notifications
	PipelineChannel string `json:"pipeline_channel,omitempty"`
	// The name of the channel to receive wiki_page_events notifications
	WikiPageChannel string `json:"wiki_page_channel,omitempty"`
	// The name of the channel to receive vulnerability_events notifications
	VulnerabilityChannel string `json:"vulnerability_channel,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger event when a deployment starts or finishes.
	DeploymentEvents bool `json:"deployment_events,omitempty"`
	// Trigger event when an incident is created.
	IncidentEvents      bool `json:"incident_events,omitempty"`
	VulnerabilityEvents bool `json:"vulnerability_events,omitempty"`
}

Create/Edit Mattermost integration

type PutApiV4ProjectsIdIntegrationsMattermostSlashCommands

type PutApiV4ProjectsIdIntegrationsMattermostSlashCommands struct {
	// The Mattermost token.
	Token string `json:"token"`
}

Create/Edit Mattermost Slash Commands integration

type PutApiV4ProjectsIdIntegrationsMicrosoftTeams

type PutApiV4ProjectsIdIntegrationsMicrosoftTeams struct {
	// The Microsoft Teams webhook. e.g. https://outlook.office.com/webhook/
	Webhook string `json:"webhook"`
	// Branches for which notifications are to be sent
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Send notifications for broken pipelines
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
}

Create/Edit Microsoft Teams integration

type PutApiV4ProjectsIdIntegrationsMockCi

type PutApiV4ProjectsIdIntegrationsMockCi struct {
	// Enable SSL verification. Defaults to `true` (enabled).
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// URL of the Mock CI integration.
	MockServiceUrl string `json:"mock_service_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Mock Ci integration

type PutApiV4ProjectsIdIntegrationsPackagist

type PutApiV4ProjectsIdIntegrationsPackagist struct {
	// The username
	Username string `json:"username"`
	// The Packagist API token
	Token string `json:"token"`
	// The server
	Server string `json:"server,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
}

Create/Edit Packagist integration

type PutApiV4ProjectsIdIntegrationsPhorge

type PutApiV4ProjectsIdIntegrationsPhorge struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Phorge integration

type PutApiV4ProjectsIdIntegrationsPipelinesEmail

type PutApiV4ProjectsIdIntegrationsPipelinesEmail struct {
	// Comma-separated list of recipient email addresses
	Recipients string `json:"recipients"`
	// Notify only broken pipelines
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Send notifications only for the default branch
	NotifyOnlyDefaultBranch bool `json:"notify_only_default_branch,omitempty"`
	// Branches for which notifications are to be sent
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
}

Create/Edit Pipelines Email integration

type PutApiV4ProjectsIdIntegrationsPivotaltracker

type PutApiV4ProjectsIdIntegrationsPivotaltracker struct {
	// The Pivotaltracker token
	Token string `json:"token"`
	// Comma-separated list of branches which will be automatically inspected. Leave blank to include all branches.
	RestrictToBranch string `json:"restrict_to_branch,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Pivotaltracker integration

type PutApiV4ProjectsIdIntegrationsPrometheus

type PutApiV4ProjectsIdIntegrationsPrometheus struct {
	// When enabled, the default settings will be overridden with your custom configuration
	ManualConfiguration bool `json:"manual_configuration,omitempty"`
	// Prometheus API Base URL, like http://prometheus.example.com/
	ApiUrl string `json:"api_url"`
	// Client ID of the IAP-secured resource (looks like IAP_CLIENT_ID.apps.googleusercontent.com)
	GoogleIapAudienceClientId string `json:"google_iap_audience_client_id"`
	// Contents of the credentials.json file of your service account, like: { \"type\": \"service_account\", \"project_id\": ... }
	GoogleIapServiceAccountJson string `json:"google_iap_service_account_json"`
}

Create/Edit Prometheus integration

type PutApiV4ProjectsIdIntegrationsPumble

type PutApiV4ProjectsIdIntegrationsPumble struct {
	// The Pumble chat webhook. For example, https://api.pumble.com/workspaces/x/...
	Webhook string `json:"webhook"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
}

Create/Edit Pumble integration

type PutApiV4ProjectsIdIntegrationsPushover

type PutApiV4ProjectsIdIntegrationsPushover struct {
	// The application key
	ApiKey string `json:"api_key"`
	// The user key
	UserKey string `json:"user_key"`
	// The priority
	Priority string `json:"priority"`
	// Leave blank for all active devices
	Device string `json:"device"`
	// The sound of the notification
	Sound string `json:"sound"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Pushover integration

type PutApiV4ProjectsIdIntegrationsRedmine

type PutApiV4ProjectsIdIntegrationsRedmine struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// URL of the new issue.
	NewIssueUrl string `json:"new_issue_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Redmine integration

type PutApiV4ProjectsIdIntegrationsSlack

type PutApiV4ProjectsIdIntegrationsSlack struct {
	// Slack notifications webhook (for example, `https://hooks.slack.com/services/...`).
	Webhook string `json:"webhook"`
	// Slack notifications username.
	Username string `json:"username,omitempty"`
	// Default channel to use if no other channel is configured.
	Channel string `json:"channel,omitempty"`
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Labels to send notifications for. Leave blank to receive notifications for all events.
	LabelsToBeNotified string `json:"labels_to_be_notified,omitempty"`
	// Labels to be notified for. Valid options are `match_any` and `match_all`. The default value is `match_any`.
	LabelsToBeNotifiedBehavior string `json:"labels_to_be_notified_behavior,omitempty"`
	// The name of the channel to receive push_events notifications
	PushChannel string `json:"push_channel,omitempty"`
	// The name of the channel to receive issues_events notifications
	IssueChannel string `json:"issue_channel,omitempty"`
	// The name of the channel to receive incident_events notifications
	IncidentChannel string `json:"incident_channel,omitempty"`
	// The name of the channel to receive alert_events notifications
	AlertChannel string `json:"alert_channel,omitempty"`
	// The name of the channel to receive confidential_issues_events notifications
	ConfidentialIssueChannel string `json:"confidential_issue_channel,omitempty"`
	// The name of the channel to receive merge_requests_events notifications
	MergeRequestChannel string `json:"merge_request_channel,omitempty"`
	// The name of the channel to receive note_events notifications
	NoteChannel string `json:"note_channel,omitempty"`
	// The name of the channel to receive confidential_note_events notifications
	ConfidentialNoteChannel string `json:"confidential_note_channel,omitempty"`
	// The name of the channel to receive tag_push_events notifications
	TagPushChannel string `json:"tag_push_channel,omitempty"`
	// The name of the channel to receive deployment_events notifications
	DeploymentChannel string `json:"deployment_channel,omitempty"`
	// The name of the channel to receive pipeline_events notifications
	PipelineChannel string `json:"pipeline_channel,omitempty"`
	// The name of the channel to receive wiki_page_events notifications
	WikiPageChannel string `json:"wiki_page_channel,omitempty"`
	// The name of the channel to receive vulnerability_events notifications
	VulnerabilityChannel string `json:"vulnerability_channel,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger event when a deployment starts or finishes.
	DeploymentEvents bool `json:"deployment_events,omitempty"`
	// Trigger event when an incident is created.
	IncidentEvents      bool `json:"incident_events,omitempty"`
	VulnerabilityEvents bool `json:"vulnerability_events,omitempty"`
	// Trigger event when a new, unique alert is recorded.
	AlertEvents bool `json:"alert_events,omitempty"`
}

Create/Edit Slack integration

type PutApiV4ProjectsIdIntegrationsSlackSlashCommands

type PutApiV4ProjectsIdIntegrationsSlackSlashCommands struct {
	// The Slack token
	Token string `json:"token"`
}

Create/Edit Slack Slash Commands integration

type PutApiV4ProjectsIdIntegrationsSquashTm

type PutApiV4ProjectsIdIntegrationsSquashTm struct {
	// URL of the Squash TM webhook.
	Url string `json:"url"`
	// Secret token.
	Token string `json:"token,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
}

Create/Edit Squash Tm integration

type PutApiV4ProjectsIdIntegrationsTeamcity

type PutApiV4ProjectsIdIntegrationsTeamcity struct {
	// TeamCity root URL like https://teamcity.example.com
	TeamcityUrl string `json:"teamcity_url"`
	// Enable SSL verification
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// Build configuration ID
	BuildType string `json:"build_type"`
	// A user with permissions to trigger a manual build
	Username string `json:"username"`
	// The password of the user
	Password string `json:"password"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
}

Create/Edit Teamcity integration

type PutApiV4ProjectsIdIntegrationsTelegram

type PutApiV4ProjectsIdIntegrationsTelegram struct {
	// Custom hostname of the Telegram API. The default value is `https://api.telegram.org`.
	Hostname string `json:"hostname,omitempty"`
	// The Telegram chat token. For example, 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
	Token string `json:"token"`
	// Unique identifier for the target chat or username of the target channel (in the format @channelusername)
	Room string `json:"room"`
	// Unique identifier for the target message thread (topic in a forum supergroup)
	Thread int32 `json:"thread,omitempty"`
	// Branches for which notifications are to be sent.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Send notifications for broken pipelines
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger event when an incident is created.
	IncidentEvents      bool `json:"incident_events,omitempty"`
	VulnerabilityEvents bool `json:"vulnerability_events,omitempty"`
}

Create/Edit Telegram integration

type PutApiV4ProjectsIdIntegrationsUnifyCircuit

type PutApiV4ProjectsIdIntegrationsUnifyCircuit struct {
	// The Unify Circuit webhook. e.g. https://circuit.com/rest/v2/webhooks/incoming/
	Webhook string `json:"webhook"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
}

Create/Edit Unify Circuit integration

type PutApiV4ProjectsIdIntegrationsWebexTeams

type PutApiV4ProjectsIdIntegrationsWebexTeams struct {
	// The Webex Teams webhook. For example, https://api.ciscospark.com/v1/webhooks/incoming/...
	Webhook string `json:"webhook"`
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
}

Create/Edit Webex Teams integration

type PutApiV4ProjectsIdIntegrationsYoutrack

type PutApiV4ProjectsIdIntegrationsYoutrack struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Youtrack integration

type PutApiV4ProjectsIdIntegrationsZentao

type PutApiV4ProjectsIdIntegrationsZentao struct {
	// The base URL to the ZenTao instance web interface which is being linked to this GitLab project. For example, https://www.zentao.net
	Url string `json:"url"`
	// The base URL to the ZenTao instance API. Web URL value will be used if not set. For example, https://www.zentao.net
	ApiUrl string `json:"api_url,omitempty"`
	// The API token created from ZenTao dashboard
	ApiToken string `json:"api_token"`
	// The product ID of ZenTao project
	ZentaoProductXid string `json:"zentao_product_xid"`
}

Create/Edit Zentao integration

type PutApiV4ProjectsIdInvitationsEmail

type PutApiV4ProjectsIdInvitationsEmail struct {
	// A valid access level (defaults: `30`, developer access level)
	AccessLevel int32 `json:"access_level,omitempty"`
	// Date string in ISO 8601 format (`YYYY-MM-DDTHH:MM:SSZ`)
	ExpiresAt time.Time `json:"expires_at,omitempty"`
}

Updates a group or project invitation.

type PutApiV4ProjectsIdMembersUserId

type PutApiV4ProjectsIdMembersUserId struct {
	// A valid access level
	AccessLevel int32 `json:"access_level"`
	// Date string in the format YEAR-MONTH-DAY
	ExpiresAt time.Time `json:"expires_at,omitempty"`
	// The ID of the Member Role to be updated
	MemberRoleId int32 `json:"member_role_id,omitempty"`
}

Updates a member of a group or project.

type PutApiV4ProjectsIdMergeRequestsMergeRequestIid

type PutApiV4ProjectsIdMergeRequestsMergeRequestIid struct {
	// The title of the merge request.
	Title string `json:"title,omitempty"`
	// The target branch.
	TargetBranch string `json:"target_branch,omitempty"`
	// New state (close/reopen).
	StateEvent string `json:"state_event,omitempty"`
	// Flag indicating if the merge request’s discussion is locked. If the discussion is locked only project members can add, edit or resolve comments.
	DiscussionLocked bool `json:"discussion_locked,omitempty"`
	// Assignee user ID.
	AssigneeId int32 `json:"assignee_id,omitempty"`
	// The IDs of the users to assign the merge request to, as a comma-separated list. Set to 0 or provide an empty value to unassign all assignees.
	AssigneeIds []int32 `json:"assignee_ids,omitempty"`
	// The IDs of the users to review the merge request, as a comma-separated list. Set to 0 or provide an empty value to unassign all reviewers.
	ReviewerIds []int32 `json:"reviewer_ids,omitempty"`
	// Description of the merge request. Limited to 1,048,576 characters.
	Description string `json:"description,omitempty"`
	// Comma-separated label names for a merge request. Set to an empty string to unassign all labels.
	Labels []string `json:"labels,omitempty"`
	// Comma-separated label names to add to a merge request.
	AddLabels []string `json:"add_labels,omitempty"`
	// Comma-separated label names to remove from a merge request.
	RemoveLabels []string `json:"remove_labels,omitempty"`
	// The global ID of a milestone to assign the merge reques to.
	MilestoneId int32 `json:"milestone_id,omitempty"`
	// Flag indicating if a merge request should remove the source branch when merging.
	RemoveSourceBranch bool `json:"remove_source_branch,omitempty"`
	// Allow commits from members who can merge to the target branch.
	AllowCollaboration bool `json:"allow_collaboration,omitempty"`
	// [deprecated] See allow_collaboration
	AllowMaintainerToPush bool `json:"allow_maintainer_to_push,omitempty"`
	// Squash commits into a single commit when merging.
	Squash bool `json:"squash,omitempty"`
	// Number of approvals required before this can be merged
	ApprovalsBeforeMerge int32 `json:"approvals_before_merge,omitempty"`
}

Update merge request

type PutApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId

type PutApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesDraftNoteId struct {
	// The content of a note.
	Note     string                                                             `json:"note,omitempty"`
	Position *PostApiV4ProjectsIdMergeRequestsMergeRequestIidDraftNotesPosition `json:"position,omitempty"`
}

Modify an existing draft note

type PutApiV4ProjectsIdMergeRequestsMergeRequestIidMerge

type PutApiV4ProjectsIdMergeRequestsMergeRequestIidMerge struct {
	// Custom merge commit message.
	MergeCommitMessage string `json:"merge_commit_message,omitempty"`
	// Custom squash commit message.
	SquashCommitMessage string `json:"squash_commit_message,omitempty"`
	// If `true`, removes the source branch.
	ShouldRemoveSourceBranch bool `json:"should_remove_source_branch,omitempty"`
	// If `true`, the merge request is merged when the pipeline succeeds.
	MergeWhenPipelineSucceeds bool `json:"merge_when_pipeline_succeeds,omitempty"`
	// If present, then this SHA must match the HEAD of the source branch, otherwise the merge fails.
	Sha string `json:"sha,omitempty"`
	// If `true`, the commits are squashed into a single commit on merge.
	Squash bool `json:"squash,omitempty"`
	// If `true` skips train restart when merging immediately in a merge train configured project.
	SkipMergeTrain bool `json:"skip_merge_train,omitempty"`
}

Merge a merge request

type PutApiV4ProjectsIdMergeRequestsMergeRequestIidRebase

type PutApiV4ProjectsIdMergeRequestsMergeRequestIidRebase struct {
	// Set to true to skip creating a CI pipeline.
	SkipCi bool `json:"skip_ci,omitempty"`
}

Rebase a merge request

type PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName

type PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName struct {
	// The package file to be published (generated by Multipart middleware)
	File **os.File `json:"file"`
}

Upload recipe package files

type PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName

type PutApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName struct {
	// The package file to be published (generated by Multipart middleware)
	File **os.File `json:"file"`
}

Upload package files

type PutApiV4ProjectsIdPackagesDebianFileName

type PutApiV4ProjectsIdPackagesDebianFileName struct {
	// The package file to be published (generated by Multipart middleware)
	File **os.File `json:"file"`
	// The Debian Codename or Suite
	Distribution string `json:"distribution,omitempty"`
	// The Debian Component
	Component string `json:"component"`
}

Upload Debian package

type PutApiV4ProjectsIdPackagesDebianFileNameAuthorize

type PutApiV4ProjectsIdPackagesDebianFileNameAuthorize struct {
	// The Debian Codename or Suite
	Distribution string `json:"distribution,omitempty"`
	// The Debian Component
	Component string `json:"component"`
}

Authorize Debian package upload

type PutApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileName

type PutApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileName struct {
	// Package version
	PackageVersion string `json:"package_version"`
	// File directory path
	Path string `json:"path,omitempty"`
	// Package status
	Status string `json:"status,omitempty"`
	// The package file to be published (generated by Multipart middleware)
	File    **os.File `json:"file"`
	Select_ string    `json:"select,omitempty"`
}

Upload package file

type PutApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileNameAuthorize

type PutApiV4ProjectsIdPackagesGenericPackageNamepackageVersionPathFileNameAuthorize struct {
	// Package version
	PackageVersion string `json:"package_version"`
	// Package status
	Status string `json:"status,omitempty"`
	Path   int32  `json:"path"`
}

Workhorse authorize generic package file

type PutApiV4ProjectsIdPackagesMavenpathFileName

type PutApiV4ProjectsIdPackagesMavenpathFileName struct {
	// Package path
	Path string `json:"path"`
	// The package file to be published (generated by Multipart middleware)
	File **os.File `json:"file"`
}

Upload the maven package file

type PutApiV4ProjectsIdPackagesMavenpathFileNameAuthorize

type PutApiV4ProjectsIdPackagesMavenpathFileNameAuthorize struct {
	// Package path
	Path string `json:"path"`
}

Workhorse authorize the maven package file upload

type PutApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName

type PutApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileName struct {
	// File directory path
	Path string `json:"path,omitempty"`
	// Package status
	Status string `json:"status,omitempty"`
	// The package file to be published (generated by Multipart middleware)
	File **os.File `json:"file"`
}

Workhorse upload model package file

type PutApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameAuthorize

type PutApiV4ProjectsIdPackagesMlModelsModelVersionIdFilesPathFileNameAuthorize struct {
	// File directory path
	Path string `json:"path,omitempty"`
	// Package status
	Status string `json:"status,omitempty"`
}

Workhorse authorize model package file

type PutApiV4ProjectsIdPackagesNpmPackageName

type PutApiV4ProjectsIdPackagesNpmPackageName struct {
	// Package version info
	Versions interface{} `json:"versions"`
}

Create or deprecate NPM package

type PutApiV4ProjectsIdPackagesNpmPackagepackageNameDistTagsTag

type PutApiV4ProjectsIdPackagesNpmPackagepackageNameDistTagsTag struct {
	// Package name
	PackageName string `json:"package_name"`
}

Create or Update the given tag for the given NPM package and version

type PutApiV4ProjectsIdPackagesNuget

type PutApiV4ProjectsIdPackagesNuget struct {
	// The package file to be published (generated by Multipart middleware)
	Package_ **os.File `json:"package"`
}

The NuGet V3 Feed Package Publish endpoint

type PutApiV4ProjectsIdPackagesNugetSymbolpackage

type PutApiV4ProjectsIdPackagesNugetSymbolpackage struct {
	// The package file to be published (generated by Multipart middleware)
	Package_ **os.File `json:"package"`
}

The NuGet Symbol Package Publish endpoint

type PutApiV4ProjectsIdPackagesNugetV2

type PutApiV4ProjectsIdPackagesNugetV2 struct {
	// The package file to be published (generated by Multipart middleware)
	Package_ **os.File `json:"package"`
}

The NuGet V2 Feed Package Publish endpoint

type PutApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionFileAuthorize

type PutApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionFileAuthorize struct {
	// Module version
	ModuleVersion string `json:"module_version"`
}

Workhorse authorize Terraform Module package file

type PutApiV4ProjectsIdPagesDomainsDomain

type PutApiV4ProjectsIdPagesDomainsDomain struct {
	// The certificate
	Certificate **os.File `json:"certificate,omitempty"`
	// The key
	Key **os.File `json:"key,omitempty"`
	// Enables automatic generation of SSL certificates issued by Let's Encrypt for custom domains.
	AutoSslEnabled bool `json:"auto_ssl_enabled,omitempty"`
}

Updates a pages domain

type PutApiV4ProjectsIdPipelineSchedulesPipelineScheduleId

type PutApiV4ProjectsIdPipelineSchedulesPipelineScheduleId struct {
	// The description of pipeline schedule
	Description string `json:"description,omitempty"`
	// The branch/tag name will be triggered
	Ref string `json:"ref,omitempty"`
	// The cron
	Cron string `json:"cron,omitempty"`
	// The timezone
	CronTimezone string `json:"cron_timezone,omitempty"`
	// The activation of pipeline schedule
	Active bool `json:"active,omitempty"`
}

Edit a pipeline schedule

type PutApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey

type PutApiV4ProjectsIdPipelineSchedulesPipelineScheduleIdVariablesKey struct {
	// The value of the variable
	Value string `json:"value,omitempty"`
	// The type of variable, must be one of env_var or file
	VariableType string `json:"variable_type,omitempty"`
}

Edit a pipeline schedule variable

type PutApiV4ProjectsIdPipelinesPipelineIdMetadata

type PutApiV4ProjectsIdPipelinesPipelineIdMetadata struct {
	// The name of the pipeline
	Name string `json:"name"`
}

Updates pipeline metadata

type PutApiV4ProjectsIdReleasesTagName

type PutApiV4ProjectsIdReleasesTagName struct {
	// The release name
	Name string `json:"name,omitempty"`
	// The description of the release. You can use Markdown
	Description string `json:"description,omitempty"`
	// The date when the release is/was ready. Expected in ISO 8601 format (`2019-03-15T08:00:00Z`)
	ReleasedAt time.Time `json:"released_at,omitempty"`
	// The title of each milestone to associate with the release. GitLab Premium customers can specify group milestones. Cannot be combined with `milestone_ids` parameter. To remove all milestones from the release, specify `[]`
	Milestones []string `json:"milestones,omitempty"`
	// The ID of each milestone the release is associated with. GitLab Premium customers can specify group milestones. Cannot be combined with `milestones` parameter. To remove all milestones from the release, specify `[]`
	MilestoneIds string `json:"milestone_ids,omitempty"`
}

Update a release

type PutApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId

type PutApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId struct {
	// The name of the link
	Name string `json:"name,omitempty"`
	// The URL of the link
	Url string `json:"url,omitempty"`
	// Optional path for a direct asset link
	DirectAssetPath string `json:"direct_asset_path,omitempty"`
	// Deprecated: optional path for a direct asset link
	Filepath string `json:"filepath,omitempty"`
	// The type of the link: `other`, `runbook`, `image`, or `package`. Defaults to `other`
	LinkType string `json:"link_type,omitempty"`
}

Update a release link

type PutApiV4ProjectsIdRemoteMirrorsMirrorId

type PutApiV4ProjectsIdRemoteMirrorsMirrorId struct {
	// Determines if the mirror is enabled
	Enabled bool `json:"enabled,omitempty"`
	// Determines the mirror authentication method
	AuthMethod string `json:"auth_method,omitempty"`
	// Determines if divergent refs are kept on the target
	KeepDivergentRefs bool `json:"keep_divergent_refs,omitempty"`
	// Determines if only protected branches are mirrored
	OnlyProtectedBranches bool `json:"only_protected_branches,omitempty"`
	// Determines if only matched branches are mirrored
	MirrorBranchRegex string `json:"mirror_branch_regex,omitempty"`
}

Update the attributes of a single remote mirror

type PutApiV4ProjectsIdRepositoryBranchesBranchProtect

type PutApiV4ProjectsIdRepositoryBranchesBranchProtect struct {
	// Flag if developers can push to that branch
	DevelopersCanPush bool `json:"developers_can_push,omitempty"`
	// Flag if developers can merge to that branch
	DevelopersCanMerge bool `json:"developers_can_merge,omitempty"`
}

Protect a single branch

type PutApiV4ProjectsIdRepositoryFilesFilePath

type PutApiV4ProjectsIdRepositoryFilesFilePath struct {
	// Name of the branch to commit into. To create a new branch, also provide `start_branch`.
	Branch string `json:"branch"`
	// Commit message
	CommitMessage string `json:"commit_message"`
	// Name of the branch to start the new commit from
	StartBranch string `json:"start_branch,omitempty"`
	// The email of the author
	AuthorEmail string `json:"author_email,omitempty"`
	// The name of the author
	AuthorName string `json:"author_name,omitempty"`
	// File content
	Content string `json:"content"`
	// File encoding
	Encoding string `json:"encoding,omitempty"`
	// Last known commit id for this file
	LastCommitId string `json:"last_commit_id,omitempty"`
	// Enable / Disable the executable flag on the file path
	ExecuteFilemode bool `json:"execute_filemode,omitempty"`
}

Update existing file in repository

type PutApiV4ProjectsIdRepositorySubmodulesSubmodule

type PutApiV4ProjectsIdRepositorySubmodulesSubmodule struct {
	// Commit sha to update the submodule to.
	CommitSha string `json:"commit_sha"`
	// Name of the branch to commit into.
	Branch string `json:"branch"`
	// Commit message. If no message is provided a default one will be set.
	CommitMessage string `json:"commit_message,omitempty"`
}

Update existing submodule reference in repository

type PutApiV4ProjectsIdResourceGroupsKey

type PutApiV4ProjectsIdResourceGroupsKey struct {
	// The process mode of the resource group
	ProcessMode string `json:"process_mode,omitempty"`
}

Edit an existing resource group

type PutApiV4ProjectsIdServicesAppleAppStore

type PutApiV4ProjectsIdServicesAppleAppStore struct {
	// Apple App Store Connect issuer ID.
	AppStoreIssuerId string `json:"app_store_issuer_id"`
	// Apple App Store Connect key ID.
	AppStoreKeyId string `json:"app_store_key_id"`
	// Apple App Store Connect private key file name.
	AppStorePrivateKeyFileName string `json:"app_store_private_key_file_name"`
	// Apple App Store Connect private key.
	AppStorePrivateKey string `json:"app_store_private_key"`
	// Set variables on protected branches and tags only.
	AppStoreProtectedRefs bool `json:"app_store_protected_refs,omitempty"`
}

Create/Edit Apple App Store integration

type PutApiV4ProjectsIdServicesAsana

type PutApiV4ProjectsIdServicesAsana struct {
	// User API token. The user must have access to the task. All comments are attributed to this user.
	ApiKey string `json:"api_key"`
	// Comma-separated list of branches to be automatically inspected. Leave blank to include all branches.
	RestrictToBranch string `json:"restrict_to_branch,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Asana integration

type PutApiV4ProjectsIdServicesAssembla

type PutApiV4ProjectsIdServicesAssembla struct {
	// The authentication token.
	Token string `json:"token"`
	// The subdomain setting.
	Subdomain string `json:"subdomain,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Assembla integration

type PutApiV4ProjectsIdServicesBamboo

type PutApiV4ProjectsIdServicesBamboo struct {
	// Enable SSL verification. Defaults to `true` (enabled).
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// Bamboo root URL (for example, `https://bamboo.example.com`).
	BambooUrl string `json:"bamboo_url"`
	// Bamboo build plan key (for example, `KEY`).
	BuildKey string `json:"build_key"`
	// User with API access to the Bamboo server.
	Username string `json:"username"`
	// Password of the user.
	Password string `json:"password"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Bamboo integration

type PutApiV4ProjectsIdServicesBugzilla

type PutApiV4ProjectsIdServicesBugzilla struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// URL of the new issue.
	NewIssueUrl string `json:"new_issue_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Bugzilla integration

type PutApiV4ProjectsIdServicesBuildkite

type PutApiV4ProjectsIdServicesBuildkite struct {
	// Buildkite project GitLab token
	Token string `json:"token"`
	// The Buildkite pipeline URL
	ProjectUrl string `json:"project_url"`
	// DEPRECATED: This parameter has no effect since SSL verification will always be enabled
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
}

Create/Edit Buildkite integration

type PutApiV4ProjectsIdServicesCampfire

type PutApiV4ProjectsIdServicesCampfire struct {
	// API authentication token from Campfire. To get the token, sign in to Campfire and select **My info**.
	Token string `json:"token"`
	// `.campfirenow.com` subdomain when you're signed in.
	Subdomain string `json:"subdomain,omitempty"`
	// ID portion of the Campfire room URL.
	Room string `json:"room,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Campfire integration

type PutApiV4ProjectsIdServicesClickup

type PutApiV4ProjectsIdServicesClickup struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Clickup integration

type PutApiV4ProjectsIdServicesConfluence

type PutApiV4ProjectsIdServicesConfluence struct {
	// URL of the Confluence Workspace hosted on `atlassian.net`.
	ConfluenceUrl string `json:"confluence_url"`
}

Create/Edit Confluence integration

type PutApiV4ProjectsIdServicesCustomIssueTracker

type PutApiV4ProjectsIdServicesCustomIssueTracker struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// URL of the new issue.
	NewIssueUrl string `json:"new_issue_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Custom Issue Tracker integration

type PutApiV4ProjectsIdServicesDatadog

type PutApiV4ProjectsIdServicesDatadog struct {
	// API key used for authentication with Datadog
	ApiKey string `json:"api_key"`
	// The Datadog site to send data to. To send data to the EU site, use datadoghq.eu
	DatadogSite string `json:"datadog_site,omitempty"`
	// (Advanced) The full URL for your Datadog site
	ApiUrl string `json:"api_url,omitempty"`
	// When enabled, job logs are collected by Datadog and displayed along with pipeline execution traces.
	ArchiveTraceEvents bool `json:"archive_trace_events,omitempty"`
	// Tag all data from this GitLab instance in Datadog. Useful when managing several self-managed deployments
	DatadogService string `json:"datadog_service,omitempty"`
	// For self-managed deployments, set the env tag for all the data sent to Datadog
	DatadogEnv string `json:"datadog_env,omitempty"`
	// Custom tags in Datadog. Specify one tag per line in the format: \"key:value\\nkey2:value2\"
	DatadogTags string `json:"datadog_tags,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a build is created.
	BuildEvents bool `json:"build_events,omitempty"`
}

Create/Edit Datadog integration

type PutApiV4ProjectsIdServicesDiffblueCover

type PutApiV4ProjectsIdServicesDiffblueCover struct {
	// Diffblue Cover license key.
	DiffblueLicenseKey string `json:"diffblue_license_key"`
	// Access token name used by Diffblue Cover in pipelines.
	DiffblueAccessTokenName string `json:"diffblue_access_token_name"`
	// Access token secret used by Diffblue Cover in pipelines.
	DiffblueAccessTokenSecret string `json:"diffblue_access_token_secret"`
}

Create/Edit Diffblue Cover integration

type PutApiV4ProjectsIdServicesDiscord

type PutApiV4ProjectsIdServicesDiscord struct {
	// Discord webhook (for example, `https://discord.com/api/webhooks/…`).
	Webhook string `json:"webhook"`
	// Send notifications for broken pipelines
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// The name of the channel to receive push_events notifications
	PushChannel string `json:"push_channel,omitempty"`
	// The name of the channel to receive issues_events notifications
	IssueChannel string `json:"issue_channel,omitempty"`
	// The name of the channel to receive incident_events notifications
	IncidentChannel string `json:"incident_channel,omitempty"`
	// The name of the channel to receive alert_events notifications
	AlertChannel string `json:"alert_channel,omitempty"`
	// The name of the channel to receive confidential_issues_events notifications
	ConfidentialIssueChannel string `json:"confidential_issue_channel,omitempty"`
	// The name of the channel to receive merge_requests_events notifications
	MergeRequestChannel string `json:"merge_request_channel,omitempty"`
	// The name of the channel to receive note_events notifications
	NoteChannel string `json:"note_channel,omitempty"`
	// The name of the channel to receive confidential_note_events notifications
	ConfidentialNoteChannel string `json:"confidential_note_channel,omitempty"`
	// The name of the channel to receive tag_push_events notifications
	TagPushChannel string `json:"tag_push_channel,omitempty"`
	// The name of the channel to receive deployment_events notifications
	DeploymentChannel string `json:"deployment_channel,omitempty"`
	// The name of the channel to receive pipeline_events notifications
	PipelineChannel string `json:"pipeline_channel,omitempty"`
	// The name of the channel to receive wiki_page_events notifications
	WikiPageChannel string `json:"wiki_page_channel,omitempty"`
	// The name of the channel to receive vulnerability_events notifications
	VulnerabilityChannel string `json:"vulnerability_channel,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger event when a deployment starts or finishes.
	DeploymentEvents bool `json:"deployment_events,omitempty"`
}

Create/Edit Discord integration

type PutApiV4ProjectsIdServicesDroneCi

type PutApiV4ProjectsIdServicesDroneCi struct {
	// Drone CI token
	Token string `json:"token"`
	// Drone CI URL
	DroneUrl string `json:"drone_url"`
	// Enable SSL verification
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
}

Create/Edit Drone Ci integration

type PutApiV4ProjectsIdServicesEmailsOnPush

type PutApiV4ProjectsIdServicesEmailsOnPush struct {
	// Comma-separated list of recipient email addresses
	Recipients string `json:"recipients"`
	// Disable code diffs
	DisableDiffs bool `json:"disable_diffs,omitempty"`
	// Send from committer
	SendFromCommitterEmail bool `json:"send_from_committer_email,omitempty"`
	// Branches for which notifications are to be sent
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
}

Create/Edit Emails On Push integration

type PutApiV4ProjectsIdServicesEwm

type PutApiV4ProjectsIdServicesEwm struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// URL of the new issue.
	NewIssueUrl string `json:"new_issue_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Ewm integration

type PutApiV4ProjectsIdServicesExternalWiki

type PutApiV4ProjectsIdServicesExternalWiki struct {
	// URL of the external wiki.
	ExternalWikiUrl string `json:"external_wiki_url"`
}

Create/Edit External Wiki integration

type PutApiV4ProjectsIdServicesGitGuardian

type PutApiV4ProjectsIdServicesGitGuardian struct {
	Token string `json:"token"`
}

Create/Edit Git Guardian integration

type PutApiV4ProjectsIdServicesGithub

type PutApiV4ProjectsIdServicesGithub struct {
	// GitHub API token with `repo:status` OAuth scope.
	Token string `json:"token"`
	// GitHub repository URL.
	RepositoryUrl string `json:"repository_url"`
	// Append the hostname of your GitLab instance to the status check name.
	StaticContext bool `json:"static_context,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
}

Create/Edit Github integration

type PutApiV4ProjectsIdServicesGitlabSlackApplication

type PutApiV4ProjectsIdServicesGitlabSlackApplication struct {
	// Default channel to use if no other channel is configured.
	Channel string `json:"channel,omitempty"`
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Labels to send notifications for. Leave blank to receive notifications for all events.
	LabelsToBeNotified string `json:"labels_to_be_notified,omitempty"`
	// Labels to be notified for. Valid options are `match_any` and `match_all`. The default value is `match_any`.
	LabelsToBeNotifiedBehavior string `json:"labels_to_be_notified_behavior,omitempty"`
	// The name of the channel to receive push_events notifications
	PushChannel string `json:"push_channel,omitempty"`
	// The name of the channel to receive issues_events notifications
	IssueChannel string `json:"issue_channel,omitempty"`
	// The name of the channel to receive incident_events notifications
	IncidentChannel string `json:"incident_channel,omitempty"`
	// The name of the channel to receive alert_events notifications
	AlertChannel string `json:"alert_channel,omitempty"`
	// The name of the channel to receive confidential_issues_events notifications
	ConfidentialIssueChannel string `json:"confidential_issue_channel,omitempty"`
	// The name of the channel to receive merge_requests_events notifications
	MergeRequestChannel string `json:"merge_request_channel,omitempty"`
	// The name of the channel to receive note_events notifications
	NoteChannel string `json:"note_channel,omitempty"`
	// The name of the channel to receive confidential_note_events notifications
	ConfidentialNoteChannel string `json:"confidential_note_channel,omitempty"`
	// The name of the channel to receive tag_push_events notifications
	TagPushChannel string `json:"tag_push_channel,omitempty"`
	// The name of the channel to receive deployment_events notifications
	DeploymentChannel string `json:"deployment_channel,omitempty"`
	// The name of the channel to receive pipeline_events notifications
	PipelineChannel string `json:"pipeline_channel,omitempty"`
	// The name of the channel to receive wiki_page_events notifications
	WikiPageChannel string `json:"wiki_page_channel,omitempty"`
	// The name of the channel to receive vulnerability_events notifications
	VulnerabilityChannel string `json:"vulnerability_channel,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger event when a deployment starts or finishes.
	DeploymentEvents bool `json:"deployment_events,omitempty"`
	// Trigger event when an incident is created.
	IncidentEvents      bool `json:"incident_events,omitempty"`
	VulnerabilityEvents bool `json:"vulnerability_events,omitempty"`
	// Trigger event when a new, unique alert is recorded.
	AlertEvents bool `json:"alert_events,omitempty"`
}

Create/Edit Gitlab Slack Application integration

type PutApiV4ProjectsIdServicesGoogleCloudPlatformArtifactRegistry

type PutApiV4ProjectsIdServicesGoogleCloudPlatformArtifactRegistry struct {
	ArtifactRegistryProjectId    string `json:"artifact_registry_project_id"`
	ArtifactRegistryRepositories string `json:"artifact_registry_repositories"`
	ArtifactRegistryLocation     string `json:"artifact_registry_location"`
}

Create/Edit Google Cloud Platform Artifact Registry integration

type PutApiV4ProjectsIdServicesGoogleCloudPlatformWorkloadIdentityFederation

type PutApiV4ProjectsIdServicesGoogleCloudPlatformWorkloadIdentityFederation struct {
	// Google Cloud project ID for the Workload Identity Federation.
	WorkloadIdentityFederationProjectId string `json:"workload_identity_federation_project_id"`
	// Google Cloud project number for the Workload Identity Federation.
	WorkloadIdentityFederationProjectNumber string `json:"workload_identity_federation_project_number"`
	// ID of the Workload Identity Pool.
	WorkloadIdentityPoolId string `json:"workload_identity_pool_id"`
	// ID of the Workload Identity Pool provider.
	WorkloadIdentityPoolProviderId string `json:"workload_identity_pool_provider_id"`
}

Create/Edit Google Cloud Platform Workload Identity Federation integration

type PutApiV4ProjectsIdServicesGooglePlay

type PutApiV4ProjectsIdServicesGooglePlay struct {
	// Package name of the app in Google Play.
	PackageName string `json:"package_name"`
	// File name of the Google Play service account key.
	ServiceAccountKeyFileName string `json:"service_account_key_file_name"`
	// Google Play service account key.
	ServiceAccountKey string `json:"service_account_key"`
	// Set variables on protected branches and tags only.
	GooglePlayProtectedRefs bool `json:"google_play_protected_refs,omitempty"`
}

Create/Edit Google Play integration

type PutApiV4ProjectsIdServicesHangoutsChat

type PutApiV4ProjectsIdServicesHangoutsChat struct {
	// The Hangouts Chat webhook. e.g. https://chat.googleapis.com/v1/spaces
	Webhook string `json:"webhook"`
	// Branches for which notifications are to be sent
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
}

Create/Edit Hangouts Chat integration

type PutApiV4ProjectsIdServicesHarbor

type PutApiV4ProjectsIdServicesHarbor struct {
	// The base URL to the Harbor instance linked to the GitLab project. For example, `https://demo.goharbor.io`.
	Url string `json:"url"`
	// The name of the project in the Harbor instance. For example, `testproject`.
	ProjectName string `json:"project_name"`
	// The username created in the Harbor interface.
	Username string `json:"username"`
	// The password of the user.
	Password string `json:"password"`
}

Create/Edit Harbor integration

type PutApiV4ProjectsIdServicesIrker

type PutApiV4ProjectsIdServicesIrker struct {
	// Recipients/channels separated by whitespaces
	Recipients string `json:"recipients"`
	// Default: irc://irc.network.net:6697
	DefaultIrcUri string `json:"default_irc_uri,omitempty"`
	// Server host. Default localhost
	ServerHost string `json:"server_host,omitempty"`
	// Server port. Default 6659
	ServerPort int32 `json:"server_port,omitempty"`
	// Colorize messages
	ColorizeMessages bool `json:"colorize_messages,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Irker integration

type PutApiV4ProjectsIdServicesJenkins

type PutApiV4ProjectsIdServicesJenkins struct {
	// Jenkins root URL like https://jenkins.example.com
	JenkinsUrl string `json:"jenkins_url"`
	// Enable SSL verification
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// The URL-friendly project name. Example: my_project_name
	ProjectName string `json:"project_name"`
	// A user with access to the Jenkins server, if applicable
	Username string `json:"username,omitempty"`
	// The password of the user
	Password string `json:"password,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
}

Create/Edit Jenkins integration

type PutApiV4ProjectsIdServicesJira

type PutApiV4ProjectsIdServicesJira struct {
	// The base URL to the Jira instance web interface which is being linked to this GitLab project. E.g., https://jira.example.com
	Url string `json:"url"`
	// The base URL to the Jira instance API. Web URL value will be used if not set. E.g., https://jira-api.example.com
	ApiUrl string `json:"api_url,omitempty"`
	// The authentication method to be used with Jira. `0` means Basic Authentication. `1` means Jira personal access token. Defaults to `0`
	JiraAuthType int32 `json:"jira_auth_type,omitempty"`
	// The email or username to be used with Jira. For Jira Cloud use an email, for Jira Data Center and Jira Server use a username. Required when using Basic authentication (`jira_auth_type` is `0`)
	Username string `json:"username,omitempty"`
	// The Jira API token, password, or personal access token to be used with Jira. When your authentication method is Basic (`jira_auth_type` is `0`) use an API token for Jira Cloud, or a password for Jira Data Center or Jira Server. When your authentication method is Jira personal access token (`jira_auth_type` is `1`) use a personal access token
	Password string `json:"password"`
	// Enable automatic issue transitions
	JiraIssueTransitionAutomatic bool `json:"jira_issue_transition_automatic,omitempty"`
	// The ID of one or more transitions for custom issue transitions
	JiraIssueTransitionId string `json:"jira_issue_transition_id,omitempty"`
	// Prefix to match Jira issue keys
	JiraIssuePrefix string `json:"jira_issue_prefix,omitempty"`
	// Regular expression to match Jira issue keys
	JiraIssueRegex string `json:"jira_issue_regex,omitempty"`
	// Enable viewing Jira issues in GitLab
	IssuesEnabled bool `json:"issues_enabled,omitempty"`
	// Keys of Jira projects to view issues from in GitLab
	ProjectKeys []string `json:"project_keys,omitempty"`
	// Enable comments inside Jira issues on each GitLab event (commit / merge request)
	CommentOnEventEnabled bool `json:"comment_on_event_enabled,omitempty"`
	// Trigger event when a commit is created or updated.
	CommitEvents bool `json:"commit_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
}

Create/Edit Jira integration

type PutApiV4ProjectsIdServicesMattermost

type PutApiV4ProjectsIdServicesMattermost struct {
	// Mattermost notifications webhook (for example, `http://mattermost.example.com/hooks/...`).
	Webhook string `json:"webhook"`
	// Mattermost notifications username.
	Username string `json:"username,omitempty"`
	// Default channel to use if no other channel is configured.
	Channel string `json:"channel,omitempty"`
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Labels to send notifications for. Leave blank to receive notifications for all events.
	LabelsToBeNotified string `json:"labels_to_be_notified,omitempty"`
	// Labels to be notified for. Valid options are `match_any` and `match_all`. The default value is `match_any`.
	LabelsToBeNotifiedBehavior string `json:"labels_to_be_notified_behavior,omitempty"`
	// The name of the channel to receive push_events notifications
	PushChannel string `json:"push_channel,omitempty"`
	// The name of the channel to receive issues_events notifications
	IssueChannel string `json:"issue_channel,omitempty"`
	// The name of the channel to receive incident_events notifications
	IncidentChannel string `json:"incident_channel,omitempty"`
	// The name of the channel to receive alert_events notifications
	AlertChannel string `json:"alert_channel,omitempty"`
	// The name of the channel to receive confidential_issues_events notifications
	ConfidentialIssueChannel string `json:"confidential_issue_channel,omitempty"`
	// The name of the channel to receive merge_requests_events notifications
	MergeRequestChannel string `json:"merge_request_channel,omitempty"`
	// The name of the channel to receive note_events notifications
	NoteChannel string `json:"note_channel,omitempty"`
	// The name of the channel to receive confidential_note_events notifications
	ConfidentialNoteChannel string `json:"confidential_note_channel,omitempty"`
	// The name of the channel to receive tag_push_events notifications
	TagPushChannel string `json:"tag_push_channel,omitempty"`
	// The name of the channel to receive deployment_events notifications
	DeploymentChannel string `json:"deployment_channel,omitempty"`
	// The name of the channel to receive pipeline_events notifications
	PipelineChannel string `json:"pipeline_channel,omitempty"`
	// The name of the channel to receive wiki_page_events notifications
	WikiPageChannel string `json:"wiki_page_channel,omitempty"`
	// The name of the channel to receive vulnerability_events notifications
	VulnerabilityChannel string `json:"vulnerability_channel,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger event when a deployment starts or finishes.
	DeploymentEvents bool `json:"deployment_events,omitempty"`
	// Trigger event when an incident is created.
	IncidentEvents      bool `json:"incident_events,omitempty"`
	VulnerabilityEvents bool `json:"vulnerability_events,omitempty"`
}

Create/Edit Mattermost integration

type PutApiV4ProjectsIdServicesMattermostSlashCommands

type PutApiV4ProjectsIdServicesMattermostSlashCommands struct {
	// The Mattermost token.
	Token string `json:"token"`
}

Create/Edit Mattermost Slash Commands integration

type PutApiV4ProjectsIdServicesMicrosoftTeams

type PutApiV4ProjectsIdServicesMicrosoftTeams struct {
	// The Microsoft Teams webhook. e.g. https://outlook.office.com/webhook/
	Webhook string `json:"webhook"`
	// Branches for which notifications are to be sent
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Send notifications for broken pipelines
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
}

Create/Edit Microsoft Teams integration

type PutApiV4ProjectsIdServicesMockCi

type PutApiV4ProjectsIdServicesMockCi struct {
	// Enable SSL verification. Defaults to `true` (enabled).
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// URL of the Mock CI integration.
	MockServiceUrl string `json:"mock_service_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Mock Ci integration

type PutApiV4ProjectsIdServicesPackagist

type PutApiV4ProjectsIdServicesPackagist struct {
	// The username
	Username string `json:"username"`
	// The Packagist API token
	Token string `json:"token"`
	// The server
	Server string `json:"server,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
}

Create/Edit Packagist integration

type PutApiV4ProjectsIdServicesPhorge

type PutApiV4ProjectsIdServicesPhorge struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Phorge integration

type PutApiV4ProjectsIdServicesPipelinesEmail

type PutApiV4ProjectsIdServicesPipelinesEmail struct {
	// Comma-separated list of recipient email addresses
	Recipients string `json:"recipients"`
	// Notify only broken pipelines
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Send notifications only for the default branch
	NotifyOnlyDefaultBranch bool `json:"notify_only_default_branch,omitempty"`
	// Branches for which notifications are to be sent
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
}

Create/Edit Pipelines Email integration

type PutApiV4ProjectsIdServicesPivotaltracker

type PutApiV4ProjectsIdServicesPivotaltracker struct {
	// The Pivotaltracker token
	Token string `json:"token"`
	// Comma-separated list of branches which will be automatically inspected. Leave blank to include all branches.
	RestrictToBranch string `json:"restrict_to_branch,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Pivotaltracker integration

type PutApiV4ProjectsIdServicesPrometheus

type PutApiV4ProjectsIdServicesPrometheus struct {
	// When enabled, the default settings will be overridden with your custom configuration
	ManualConfiguration bool `json:"manual_configuration,omitempty"`
	// Prometheus API Base URL, like http://prometheus.example.com/
	ApiUrl string `json:"api_url"`
	// Client ID of the IAP-secured resource (looks like IAP_CLIENT_ID.apps.googleusercontent.com)
	GoogleIapAudienceClientId string `json:"google_iap_audience_client_id"`
	// Contents of the credentials.json file of your service account, like: { \"type\": \"service_account\", \"project_id\": ... }
	GoogleIapServiceAccountJson string `json:"google_iap_service_account_json"`
}

Create/Edit Prometheus integration

type PutApiV4ProjectsIdServicesPumble

type PutApiV4ProjectsIdServicesPumble struct {
	// The Pumble chat webhook. For example, https://api.pumble.com/workspaces/x/...
	Webhook string `json:"webhook"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
}

Create/Edit Pumble integration

type PutApiV4ProjectsIdServicesPushover

type PutApiV4ProjectsIdServicesPushover struct {
	// The application key
	ApiKey string `json:"api_key"`
	// The user key
	UserKey string `json:"user_key"`
	// The priority
	Priority string `json:"priority"`
	// Leave blank for all active devices
	Device string `json:"device"`
	// The sound of the notification
	Sound string `json:"sound"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Pushover integration

type PutApiV4ProjectsIdServicesRedmine

type PutApiV4ProjectsIdServicesRedmine struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// URL of the new issue.
	NewIssueUrl string `json:"new_issue_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Redmine integration

type PutApiV4ProjectsIdServicesSlack

type PutApiV4ProjectsIdServicesSlack struct {
	// Slack notifications webhook (for example, `https://hooks.slack.com/services/...`).
	Webhook string `json:"webhook"`
	// Slack notifications username.
	Username string `json:"username,omitempty"`
	// Default channel to use if no other channel is configured.
	Channel string `json:"channel,omitempty"`
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Labels to send notifications for. Leave blank to receive notifications for all events.
	LabelsToBeNotified string `json:"labels_to_be_notified,omitempty"`
	// Labels to be notified for. Valid options are `match_any` and `match_all`. The default value is `match_any`.
	LabelsToBeNotifiedBehavior string `json:"labels_to_be_notified_behavior,omitempty"`
	// The name of the channel to receive push_events notifications
	PushChannel string `json:"push_channel,omitempty"`
	// The name of the channel to receive issues_events notifications
	IssueChannel string `json:"issue_channel,omitempty"`
	// The name of the channel to receive incident_events notifications
	IncidentChannel string `json:"incident_channel,omitempty"`
	// The name of the channel to receive alert_events notifications
	AlertChannel string `json:"alert_channel,omitempty"`
	// The name of the channel to receive confidential_issues_events notifications
	ConfidentialIssueChannel string `json:"confidential_issue_channel,omitempty"`
	// The name of the channel to receive merge_requests_events notifications
	MergeRequestChannel string `json:"merge_request_channel,omitempty"`
	// The name of the channel to receive note_events notifications
	NoteChannel string `json:"note_channel,omitempty"`
	// The name of the channel to receive confidential_note_events notifications
	ConfidentialNoteChannel string `json:"confidential_note_channel,omitempty"`
	// The name of the channel to receive tag_push_events notifications
	TagPushChannel string `json:"tag_push_channel,omitempty"`
	// The name of the channel to receive deployment_events notifications
	DeploymentChannel string `json:"deployment_channel,omitempty"`
	// The name of the channel to receive pipeline_events notifications
	PipelineChannel string `json:"pipeline_channel,omitempty"`
	// The name of the channel to receive wiki_page_events notifications
	WikiPageChannel string `json:"wiki_page_channel,omitempty"`
	// The name of the channel to receive vulnerability_events notifications
	VulnerabilityChannel string `json:"vulnerability_channel,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger event when a deployment starts or finishes.
	DeploymentEvents bool `json:"deployment_events,omitempty"`
	// Trigger event when an incident is created.
	IncidentEvents      bool `json:"incident_events,omitempty"`
	VulnerabilityEvents bool `json:"vulnerability_events,omitempty"`
	// Trigger event when a new, unique alert is recorded.
	AlertEvents bool `json:"alert_events,omitempty"`
}

Create/Edit Slack integration

type PutApiV4ProjectsIdServicesSlackSlashCommands

type PutApiV4ProjectsIdServicesSlackSlashCommands struct {
	// The Slack token
	Token string `json:"token"`
}

Create/Edit Slack Slash Commands integration

type PutApiV4ProjectsIdServicesSquashTm

type PutApiV4ProjectsIdServicesSquashTm struct {
	// URL of the Squash TM webhook.
	Url string `json:"url"`
	// Secret token.
	Token string `json:"token,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
}

Create/Edit Squash Tm integration

type PutApiV4ProjectsIdServicesTeamcity

type PutApiV4ProjectsIdServicesTeamcity struct {
	// TeamCity root URL like https://teamcity.example.com
	TeamcityUrl string `json:"teamcity_url"`
	// Enable SSL verification
	EnableSslVerification bool `json:"enable_ssl_verification,omitempty"`
	// Build configuration ID
	BuildType string `json:"build_type"`
	// A user with permissions to trigger a manual build
	Username string `json:"username"`
	// The password of the user
	Password string `json:"password"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
}

Create/Edit Teamcity integration

type PutApiV4ProjectsIdServicesTelegram

type PutApiV4ProjectsIdServicesTelegram struct {
	// Custom hostname of the Telegram API. The default value is `https://api.telegram.org`.
	Hostname string `json:"hostname,omitempty"`
	// The Telegram chat token. For example, 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
	Token string `json:"token"`
	// Unique identifier for the target chat or username of the target channel (in the format @channelusername)
	Room string `json:"room"`
	// Unique identifier for the target message thread (topic in a forum supergroup)
	Thread int32 `json:"thread,omitempty"`
	// Branches for which notifications are to be sent.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Send notifications for broken pipelines
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
	// Trigger event when an incident is created.
	IncidentEvents      bool `json:"incident_events,omitempty"`
	VulnerabilityEvents bool `json:"vulnerability_events,omitempty"`
}

Create/Edit Telegram integration

type PutApiV4ProjectsIdServicesUnifyCircuit

type PutApiV4ProjectsIdServicesUnifyCircuit struct {
	// The Unify Circuit webhook. e.g. https://circuit.com/rest/v2/webhooks/incoming/
	Webhook string `json:"webhook"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
}

Create/Edit Unify Circuit integration

type PutApiV4ProjectsIdServicesWebexTeams

type PutApiV4ProjectsIdServicesWebexTeams struct {
	// The Webex Teams webhook. For example, https://api.ciscospark.com/v1/webhooks/incoming/...
	Webhook string `json:"webhook"`
	// Send notifications for broken pipelines.
	NotifyOnlyBrokenPipelines bool `json:"notify_only_broken_pipelines,omitempty"`
	// Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`.
	BranchesToBeNotified string `json:"branches_to_be_notified,omitempty"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
	// Trigger event when an issue is created, updated, or closed.
	IssuesEvents bool `json:"issues_events,omitempty"`
	// Trigger event when a confidential issue is created, updated, or closed.
	ConfidentialIssuesEvents bool `json:"confidential_issues_events,omitempty"`
	// Trigger event when a merge request is created, updated, or merged.
	MergeRequestsEvents bool `json:"merge_requests_events,omitempty"`
	// Trigger event for new comments.
	NoteEvents bool `json:"note_events,omitempty"`
	// Trigger event for new comments on confidential issues.
	ConfidentialNoteEvents bool `json:"confidential_note_events,omitempty"`
	// Trigger event for new tags pushed to the repository.
	TagPushEvents bool `json:"tag_push_events,omitempty"`
	// Trigger event when a pipeline status changes.
	PipelineEvents bool `json:"pipeline_events,omitempty"`
	// Trigger event when a wiki page is created or updated.
	WikiPageEvents bool `json:"wiki_page_events,omitempty"`
}

Create/Edit Webex Teams integration

type PutApiV4ProjectsIdServicesYoutrack

type PutApiV4ProjectsIdServicesYoutrack struct {
	// URL of the project.
	ProjectUrl string `json:"project_url"`
	// URL of the issue.
	IssuesUrl string `json:"issues_url"`
	// Trigger event for pushes to the repository.
	PushEvents bool `json:"push_events,omitempty"`
}

Create/Edit Youtrack integration

type PutApiV4ProjectsIdServicesZentao

type PutApiV4ProjectsIdServicesZentao struct {
	// The base URL to the ZenTao instance web interface which is being linked to this GitLab project. For example, https://www.zentao.net
	Url string `json:"url"`
	// The base URL to the ZenTao instance API. Web URL value will be used if not set. For example, https://www.zentao.net
	ApiUrl string `json:"api_url,omitempty"`
	// The API token created from ZenTao dashboard
	ApiToken string `json:"api_token"`
	// The product ID of ZenTao project
	ZentaoProductXid string `json:"zentao_product_xid"`
}

Create/Edit Zentao integration

type PutApiV4ProjectsIdSnippetsSnippetId

type PutApiV4ProjectsIdSnippetsSnippetId struct {
	// The content of the snippet
	Content string `json:"content,omitempty"`
	// The description of a snippet
	Description string `json:"description,omitempty"`
	// The file name of the snippet
	FileName string `json:"file_name,omitempty"`
	// The title of the snippet
	Title string `json:"title,omitempty"`
	// The visibility of the snippet
	Visibility string `json:"visibility,omitempty"`
	// An array of files to update
	Files []PutApiV4ProjectsIdSnippetsSnippetIdFiles `json:"files,omitempty"`
}

Update an existing project snippet

type PutApiV4ProjectsIdSnippetsSnippetIdFiles

type PutApiV4ProjectsIdSnippetsSnippetIdFiles struct {
	// The type of action to perform on the file, must be one of: create, update, delete, move
	Action string `json:"action"`
	// The content of a snippet
	Content string `json:"content,omitempty"`
	// The file path of a snippet file
	FilePath string `json:"file_path,omitempty"`
	// The previous path of a snippet file
	PreviousPath string `json:"previous_path,omitempty"`
}

type PutApiV4ProjectsIdTransfer

type PutApiV4ProjectsIdTransfer struct {
	// The ID or path of the new namespace
	Namespace string `json:"namespace"`
}

Transfer a project to a new namespace

type PutApiV4ProjectsIdTriggersTriggerId

type PutApiV4ProjectsIdTriggersTriggerId struct {
	// The trigger token description
	Description string `json:"description,omitempty"`
}

Update a trigger token

type PutApiV4ProjectsIdVariablesKey

type PutApiV4ProjectsIdVariablesKey struct {
	// The value of a variable
	Value string `json:"value,omitempty"`
	// Whether the variable is protected
	Protected bool `json:"protected,omitempty"`
	// Whether the variable is masked
	Masked bool `json:"masked,omitempty"`
	// The environment_scope of a variable
	EnvironmentScope string `json:"environment_scope,omitempty"`
	// Whether the variable will be expanded
	Raw bool `json:"raw,omitempty"`
	// The type of the variable. Default: env_var
	VariableType string                                `json:"variable_type,omitempty"`
	Filter       *PutApiV4ProjectsIdVariablesKeyFilter `json:"filter,omitempty"`
	// The description of the variable
	Description string `json:"description,omitempty"`
}

Update an existing variable from a project

type PutApiV4ProjectsIdVariablesKeyFilter

type PutApiV4ProjectsIdVariablesKeyFilter struct {
	// The environment scope of a variable
	EnvironmentScope string `json:"environment_scope,omitempty"`
}

Available filters: [environment_scope]. Example: filter[environment_scope]=production

type PutApiV4ProjectsIdWikisSlug

type PutApiV4ProjectsIdWikisSlug struct {
	// Title of a wiki page
	Title       string                             `json:"title,omitempty"`
	FrontMatter *PostApiV4GroupsIdWikisFrontMatter `json:"front_matter,omitempty"`
	// Content of a wiki page
	Content string `json:"content,omitempty"`
	// Format of a wiki page. Available formats are markdown, rdoc, asciidoc and org
	Format string `json:"format,omitempty"`
}

Update a wiki page

type PutApiV4RunnersId

type PutApiV4RunnersId struct {
	// The description of the runner
	Description string `json:"description,omitempty"`
	// Deprecated: Use `paused` instead. Flag indicating whether the runner is allowed to receive jobs
	Active bool `json:"active,omitempty"`
	// Specifies if the runner should ignore new jobs
	Paused bool `json:"paused,omitempty"`
	// The list of tags for a runner
	TagList []string `json:"tag_list,omitempty"`
	// Specifies if the runner can execute untagged jobs
	RunUntagged bool `json:"run_untagged,omitempty"`
	// Specifies if the runner is locked
	Locked bool `json:"locked,omitempty"`
	// The access level of the runner
	AccessLevel string `json:"access_level,omitempty"`
	// Maximum timeout that limits the amount of time (in seconds) that runners can run jobs
	MaximumTimeout int32 `json:"maximum_timeout,omitempty"`
	// Free-form maintenance notes for the runner (1024 characters)
	MaintenanceNote string `json:"maintenance_note,omitempty"`
}

Update runner's details

type PutApiV4SnippetsId

type PutApiV4SnippetsId struct {
	// The content of a snippet
	Content string `json:"content,omitempty"`
	// The description of a snippet
	Description string `json:"description,omitempty"`
	// The name of a snippet file
	FileName string `json:"file_name,omitempty"`
	// The title of a snippet
	Title string `json:"title,omitempty"`
	// The visibility of the snippet
	Visibility string `json:"visibility,omitempty"`
	// An array of files to update
	Files []PutApiV4ProjectsIdSnippetsSnippetIdFiles `json:"files,omitempty"`
}

Update an existing snippet

type PutApiV4SuggestionsBatchApply

type PutApiV4SuggestionsBatchApply struct {
	// An array of the suggestion IDs
	Ids []int32 `json:"ids"`
	// A custom commit message to use instead of the default generated message or the project's default message
	CommitMessage string `json:"commit_message,omitempty"`
}

Apply multiple suggestion patches in the Merge Request where they were created

type PutApiV4SuggestionsIdApply

type PutApiV4SuggestionsIdApply struct {
	// A custom commit message to use instead of the default generated message or the project's default message
	CommitMessage string `json:"commit_message,omitempty"`
}

Apply suggestion patch in the Merge Request it was created

type PutApiV4TopicsId

type PutApiV4TopicsId struct {
	// Slug (name)
	Name string `json:"name,omitempty"`
	// Title
	Title string `json:"title,omitempty"`
	// Description
	Description string `json:"description,omitempty"`
	// Avatar image for topic
	Avatar **os.File `json:"avatar,omitempty"`
}

Update a topic

type PutApiV4UserAvatar

type PutApiV4UserAvatar struct {
	// The avatar file (generated by Multipart middleware)
	Avatar **os.File `json:"avatar"`
}

Set the avatar of the current user

type PutApiV4UserPreferences

type PutApiV4UserPreferences struct {
	// Flag indicating the user sees only one file diff per page
	ViewDiffsFileByFile bool `json:"view_diffs_file_by_file,omitempty"`
	// Flag indicating the user sees whitespace changes in diffs
	ShowWhitespaceInDiffs bool `json:"show_whitespace_in_diffs,omitempty"`
	// Flag indicating the user passes their external identities to a CI job as part of a JSON web token.
	PassUserIdentitiesToCiJwt bool `json:"pass_user_identities_to_ci_jwt,omitempty"`
}

Update the current user's preferences

type PutApiV4UserStatus

type PutApiV4UserStatus struct {
	// The emoji to set on the status
	Emoji string `json:"emoji,omitempty"`
	// The status message to set
	Message string `json:"message,omitempty"`
	// The availability of user to set
	Availability string `json:"availability,omitempty"`
	// Automatically clear emoji, message and availability fields after a certain time
	ClearStatusAfter string `json:"clear_status_after,omitempty"`
}

Set the status of the current user

type PutApiV4UserUserIdCreditCardValidation

type PutApiV4UserUserIdCreditCardValidation struct {
	// The time when the user's credit card was validated
	CreditCardValidatedAt time.Time `json:"credit_card_validated_at"`
	// The month the credit card expires
	CreditCardExpirationMonth int32 `json:"credit_card_expiration_month"`
	// The year the credit card expires
	CreditCardExpirationYear int32 `json:"credit_card_expiration_year"`
	// The credit card holder name
	CreditCardHolderName string `json:"credit_card_holder_name"`
	// The last 4 digits of credit card number
	CreditCardMaskNumber string `json:"credit_card_mask_number"`
	// The credit card network name
	CreditCardType string `json:"credit_card_type"`
	// The Zuora payment method ID
	ZuoraPaymentMethodXid string `json:"zuora_payment_method_xid,omitempty"`
}

Update a user's credit_card_validation

type PutApiV4UsersId

type PutApiV4UsersId struct {
	// The email of the user
	Email string `json:"email,omitempty"`
	// The password of the new user
	Password string `json:"password,omitempty"`
	// Flag indicating the account skips the confirmation by email
	SkipReconfirmation bool `json:"skip_reconfirmation,omitempty"`
	// The name of the user
	Name string `json:"name,omitempty"`
	// The username of the user
	Username string `json:"username,omitempty"`
	// The Skype username
	Skype string `json:"skype,omitempty"`
	// The LinkedIn username
	Linkedin string `json:"linkedin,omitempty"`
	// The Twitter username
	Twitter string `json:"twitter,omitempty"`
	// The Discord user ID
	Discord string `json:"discord,omitempty"`
	// The website of the user
	WebsiteUrl string `json:"website_url,omitempty"`
	// The organization of the user
	Organization string `json:"organization,omitempty"`
	// The number of projects a user can create
	ProjectsLimit int32 `json:"projects_limit,omitempty"`
	// The external authentication provider UID
	ExternUid string `json:"extern_uid,omitempty"`
	// The external provider
	Provider string `json:"provider,omitempty"`
	// The biography of the user
	Bio string `json:"bio,omitempty"`
	// The location of the user
	Location string `json:"location,omitempty"`
	// The pronouns of the user
	Pronouns string `json:"pronouns,omitempty"`
	// The public email of the user
	PublicEmail string `json:"public_email,omitempty"`
	// The commit email, _private for private commit email
	CommitEmail string `json:"commit_email,omitempty"`
	// Flag indicating the user is an administrator
	Admin bool `json:"admin,omitempty"`
	// Flag indicating the user can create groups
	CanCreateGroup bool `json:"can_create_group,omitempty"`
	// Flag indicating the user is an external user
	External bool `json:"external,omitempty"`
	// Avatar image for user
	Avatar **os.File `json:"avatar,omitempty"`
	// The GitLab theme for the user
	ThemeId int32 `json:"theme_id,omitempty"`
	// The color scheme for the file viewer
	ColorSchemeId int32 `json:"color_scheme_id,omitempty"`
	// Flag indicating the user has a private profile
	PrivateProfile bool `json:"private_profile,omitempty"`
	// Admin note for this user
	Note string `json:"note,omitempty"`
	// Flag indicating the user sees only one file diff per page
	ViewDiffsFileByFile bool `json:"view_diffs_file_by_file,omitempty"`
	// Compute minutes quota for this user
	SharedRunnersMinutesLimit int32 `json:"shared_runners_minutes_limit,omitempty"`
	// (admin-only) Extra compute minutes quota for this user
	ExtraSharedRunnersMinutesLimit int32 `json:"extra_shared_runners_minutes_limit,omitempty"`
	// ID for group where SAML has been configured
	GroupIdForSaml int32 `json:"group_id_for_saml,omitempty"`
	// Flag indicating auditor status of the user
	Auditor bool `json:"auditor,omitempty"`
}

Update a user. Available only for admins.

type PutApiV4UsersIdCustomAttributesKey

type PutApiV4UsersIdCustomAttributesKey struct {
	// The value of the custom attribute
	Value string `json:"value"`
}

Set a custom attribute on a user

type PypiPackagesApiService

type PypiPackagesApiService service

func (*PypiPackagesApiService) GetApiV4GroupsIdPackagesPypiFilesSha256fileIdentifier

func (a *PypiPackagesApiService) GetApiV4GroupsIdPackagesPypiFilesSha256fileIdentifier(ctx context.Context, id int32, fileIdentifier string, sha256 string) (*http.Response, error)

PypiPackagesApiService Download a package file from a group This feature was introduced in GitLab 13.12

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or full path of the group.
  • @param fileIdentifier The PyPi package file identifier
  • @param sha256 The PyPi package sha256 check sum

func (*PypiPackagesApiService) GetApiV4GroupsIdPackagesPypiSimple

func (a *PypiPackagesApiService) GetApiV4GroupsIdPackagesPypiSimple(ctx context.Context, id int32) (*http.Response, error)

PypiPackagesApiService The PyPi Simple Group Index Endpoint This feature was introduced in GitLab 15.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or full path of the group.

func (*PypiPackagesApiService) GetApiV4GroupsIdPackagesPypiSimplepackageName

func (a *PypiPackagesApiService) GetApiV4GroupsIdPackagesPypiSimplepackageName(ctx context.Context, id int32, packageName string) (*http.Response, error)

PypiPackagesApiService The PyPi Simple Group Package Endpoint This feature was introduced in GitLab 12.10

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or full path of the group.
  • @param packageName The PyPi package name

func (*PypiPackagesApiService) GetApiV4ProjectsIdPackagesPypiFilesSha256fileIdentifier

func (a *PypiPackagesApiService) GetApiV4ProjectsIdPackagesPypiFilesSha256fileIdentifier(ctx context.Context, id string, fileIdentifier string, sha256 string) (*http.Response, error)

PypiPackagesApiService The PyPi package download endpoint This feature was introduced in GitLab 12.10

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param fileIdentifier The PyPi package file identifier
  • @param sha256 The PyPi package sha256 check sum

func (*PypiPackagesApiService) GetApiV4ProjectsIdPackagesPypiSimple

func (a *PypiPackagesApiService) GetApiV4ProjectsIdPackagesPypiSimple(ctx context.Context, id string) (*http.Response, error)

PypiPackagesApiService The PyPi Simple Project Index Endpoint This feature was introduced in GitLab 15.1

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*PypiPackagesApiService) GetApiV4ProjectsIdPackagesPypiSimplepackageName

func (a *PypiPackagesApiService) GetApiV4ProjectsIdPackagesPypiSimplepackageName(ctx context.Context, id string, packageName string) (*http.Response, error)

PypiPackagesApiService The PyPi Simple Project Package Endpoint This feature was introduced in GitLab 12.10

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageName The PyPi package name

func (*PypiPackagesApiService) PostApiV4ProjectsIdPackagesPypi

func (a *PypiPackagesApiService) PostApiV4ProjectsIdPackagesPypi(ctx context.Context, id string, postApiV4ProjectsIdPackagesPypi PostApiV4ProjectsIdPackagesPypi) (*http.Response, error)

PypiPackagesApiService The PyPi Package upload endpoint This feature was introduced in GitLab 12.10

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdPackagesPypi

func (*PypiPackagesApiService) PostApiV4ProjectsIdPackagesPypiAuthorize

func (a *PypiPackagesApiService) PostApiV4ProjectsIdPackagesPypiAuthorize(ctx context.Context, id string) (*http.Response, error)

PypiPackagesApiService Authorize the PyPi package upload from workhorse This feature was introduced in GitLab 12.10

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

type ReleaseLinksApiGetApiV4ProjectsIdReleasesTagNameAssetsLinksOpts

type ReleaseLinksApiGetApiV4ProjectsIdReleasesTagNameAssetsLinksOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ReleaseLinksApiService

type ReleaseLinksApiService service

func (*ReleaseLinksApiService) DeleteApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId

func (a *ReleaseLinksApiService) DeleteApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId(ctx context.Context, id string, tagName string, linkId int32) (ApiEntitiesReleasesLink, *http.Response, error)

ReleaseLinksApiService Delete a release link Deletes an asset as a link from a release. This feature was introduced in GitLab 11.7.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tagName The tag associated with the release
  • @param linkId The ID of the link

@return ApiEntitiesReleasesLink

func (a *ReleaseLinksApiService) GetApiV4ProjectsIdReleasesTagNameAssetsLinks(ctx context.Context, id string, tagName string, localVarOptionals *ReleaseLinksApiGetApiV4ProjectsIdReleasesTagNameAssetsLinksOpts) ([]ApiEntitiesReleasesLink, *http.Response, error)

func (*ReleaseLinksApiService) GetApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId

func (a *ReleaseLinksApiService) GetApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId(ctx context.Context, id string, tagName string, linkId int32) (ApiEntitiesReleasesLink, *http.Response, error)

ReleaseLinksApiService Get a release link Get an asset as a link from a release. This feature was introduced in GitLab 11.7.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tagName The tag associated with the release
  • @param linkId The ID of the link

@return ApiEntitiesReleasesLink

func (a *ReleaseLinksApiService) PostApiV4ProjectsIdReleasesTagNameAssetsLinks(ctx context.Context, id string, tagName string, postApiV4ProjectsIdReleasesTagNameAssetsLinks PostApiV4ProjectsIdReleasesTagNameAssetsLinks) (ApiEntitiesReleasesLink, *http.Response, error)

ReleaseLinksApiService Create a release link Create an asset as a link from a release. This feature was introduced in GitLab 11.7.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tagName The tag associated with the release
  • @param postApiV4ProjectsIdReleasesTagNameAssetsLinks

@return ApiEntitiesReleasesLink

func (*ReleaseLinksApiService) PutApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId

func (a *ReleaseLinksApiService) PutApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId(ctx context.Context, id string, tagName string, linkId int32, putApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId PutApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId) (ApiEntitiesReleasesLink, *http.Response, error)

ReleaseLinksApiService Update a release link Update an asset as a link from a release. This feature was introduced in GitLab 11.7.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tagName The tag associated with the release
  • @param linkId The ID of the link
  • @param putApiV4ProjectsIdReleasesTagNameAssetsLinksLinkId

@return ApiEntitiesReleasesLink

type ReleasesApiGetApiV4GroupsIdReleasesOpts

type ReleasesApiGetApiV4GroupsIdReleasesOpts struct {
	Sort    optional.String
	Simple  optional.Bool
	Page    optional.Int32
	PerPage optional.Int32
}

type ReleasesApiGetApiV4ProjectsIdReleasesOpts

type ReleasesApiGetApiV4ProjectsIdReleasesOpts struct {
	Page                   optional.Int32
	PerPage                optional.Int32
	OrderBy                optional.String
	Sort                   optional.String
	IncludeHtmlDescription optional.Bool
	UpdatedBefore          optional.Time
	UpdatedAfter           optional.Time
}

type ReleasesApiGetApiV4ProjectsIdReleasesTagNameOpts

type ReleasesApiGetApiV4ProjectsIdReleasesTagNameOpts struct {
	IncludeHtmlDescription optional.Bool
}

type ReleasesApiService

type ReleasesApiService service

func (*ReleasesApiService) DeleteApiV4ProjectsIdReleasesTagName

func (a *ReleasesApiService) DeleteApiV4ProjectsIdReleasesTagName(ctx context.Context, id string, tagName string) (ApiEntitiesRelease, *http.Response, error)

ReleasesApiService Delete a release Delete a release. Deleting a release doesn't delete the associated tag. Maintainer level access to the project is required to delete a release. This feature was introduced in GitLab 11.7.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tagName The Git tag the release is associated with

@return ApiEntitiesRelease

func (*ReleasesApiService) GetApiV4GroupsIdReleases

func (a *ReleasesApiService) GetApiV4GroupsIdReleases(ctx context.Context, id string, localVarOptionals *ReleasesApiGetApiV4GroupsIdReleasesOpts) ([]ApiEntitiesRelease, *http.Response, error)

func (*ReleasesApiService) GetApiV4ProjectsIdReleases

func (a *ReleasesApiService) GetApiV4ProjectsIdReleases(ctx context.Context, id string, localVarOptionals *ReleasesApiGetApiV4ProjectsIdReleasesOpts) ([]ApiEntitiesRelease, *http.Response, error)

func (*ReleasesApiService) GetApiV4ProjectsIdReleasesPermalinkLatestSuffixPath

func (a *ReleasesApiService) GetApiV4ProjectsIdReleasesPermalinkLatestSuffixPath(ctx context.Context, id string, suffixPath string) (*http.Response, error)

ReleasesApiService Get the latest project release This feature was introduced in GitLab 15.4.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param suffixPath The path to be suffixed to the latest release

func (*ReleasesApiService) GetApiV4ProjectsIdReleasesTagName

func (a *ReleasesApiService) GetApiV4ProjectsIdReleasesTagName(ctx context.Context, id string, tagName string, localVarOptionals *ReleasesApiGetApiV4ProjectsIdReleasesTagNameOpts) (ApiEntitiesRelease, *http.Response, error)

func (*ReleasesApiService) GetApiV4ProjectsIdReleasesTagNameDownloadsdirectAssetPath

func (a *ReleasesApiService) GetApiV4ProjectsIdReleasesTagNameDownloadsdirectAssetPath(ctx context.Context, id string, tagName string, directAssetPath string) (*http.Response, error)

ReleasesApiService Download a project release asset file This feature was introduced in GitLab 15.4.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tagName The Git tag the release is associated with
  • @param directAssetPath The path to the file to download, as specified when creating the release asset

func (*ReleasesApiService) PostApiV4ProjectsIdReleases

func (a *ReleasesApiService) PostApiV4ProjectsIdReleases(ctx context.Context, id string, postApiV4ProjectsIdReleases PostApiV4ProjectsIdReleases) (ApiEntitiesRelease, *http.Response, error)

ReleasesApiService Create a release Creates a release. Developer level access to the project is required to create a release. This feature was introduced in GitLab 11.7.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdReleases

@return ApiEntitiesRelease

func (*ReleasesApiService) PostApiV4ProjectsIdReleasesTagNameEvidence

func (a *ReleasesApiService) PostApiV4ProjectsIdReleasesTagNameEvidence(ctx context.Context, tagName string, id int32) (ApiEntitiesRelease, *http.Response, error)

ReleasesApiService Collect release evidence Creates an evidence for an existing Release. This feature was introduced in GitLab 12.10.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param tagName The Git tag the release is associated with
  • @param id

@return ApiEntitiesRelease

func (*ReleasesApiService) PutApiV4ProjectsIdReleasesTagName

func (a *ReleasesApiService) PutApiV4ProjectsIdReleasesTagName(ctx context.Context, id string, tagName string, putApiV4ProjectsIdReleasesTagName PutApiV4ProjectsIdReleasesTagName) (ApiEntitiesRelease, *http.Response, error)

ReleasesApiService Update a release Updates a release. Developer level access to the project is required to update a release. This feature was introduced in GitLab 11.7.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tagName The Git tag the release is associated with
  • @param putApiV4ProjectsIdReleasesTagName

@return ApiEntitiesRelease

type RemoteMirrorsApiGetApiV4ProjectsIdRemoteMirrorsOpts

type RemoteMirrorsApiGetApiV4ProjectsIdRemoteMirrorsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type RemoteMirrorsApiService

type RemoteMirrorsApiService service

func (*RemoteMirrorsApiService) DeleteApiV4ProjectsIdRemoteMirrorsMirrorId

func (a *RemoteMirrorsApiService) DeleteApiV4ProjectsIdRemoteMirrorsMirrorId(ctx context.Context, id string, mirrorId string) (*http.Response, error)

RemoteMirrorsApiService Delete a single remote mirror This feature was introduced in GitLab 14.10

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param mirrorId The ID of a remote mirror

func (*RemoteMirrorsApiService) GetApiV4ProjectsIdRemoteMirrors

func (*RemoteMirrorsApiService) GetApiV4ProjectsIdRemoteMirrorsMirrorId

func (a *RemoteMirrorsApiService) GetApiV4ProjectsIdRemoteMirrorsMirrorId(ctx context.Context, id string, mirrorId string) (ApiEntitiesRemoteMirror, *http.Response, error)

RemoteMirrorsApiService Get a single remote mirror

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param mirrorId The ID of a remote mirror

@return ApiEntitiesRemoteMirror

func (*RemoteMirrorsApiService) PostApiV4ProjectsIdRemoteMirrors

func (a *RemoteMirrorsApiService) PostApiV4ProjectsIdRemoteMirrors(ctx context.Context, id string, postApiV4ProjectsIdRemoteMirrors PostApiV4ProjectsIdRemoteMirrors) (ApiEntitiesRemoteMirror, *http.Response, error)

RemoteMirrorsApiService Create remote mirror for a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdRemoteMirrors

@return ApiEntitiesRemoteMirror

func (*RemoteMirrorsApiService) PostApiV4ProjectsIdRemoteMirrorsMirrorIdSync

func (a *RemoteMirrorsApiService) PostApiV4ProjectsIdRemoteMirrorsMirrorIdSync(ctx context.Context, id string, mirrorId string) (*http.Response, error)

RemoteMirrorsApiService Triggers a push mirror operation

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param mirrorId The ID of a remote mirror

func (*RemoteMirrorsApiService) PutApiV4ProjectsIdRemoteMirrorsMirrorId

func (a *RemoteMirrorsApiService) PutApiV4ProjectsIdRemoteMirrorsMirrorId(ctx context.Context, id string, mirrorId string, putApiV4ProjectsIdRemoteMirrorsMirrorId PutApiV4ProjectsIdRemoteMirrorsMirrorId) (ApiEntitiesRemoteMirror, *http.Response, error)

RemoteMirrorsApiService Update the attributes of a single remote mirror

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param mirrorId The ID of a remote mirror
  • @param putApiV4ProjectsIdRemoteMirrorsMirrorId

@return ApiEntitiesRemoteMirror

type ResourceMilestoneEventsApiGetApiV4ProjectsIdIssuesEventableIdResourceMilestoneEventsOpts

type ResourceMilestoneEventsApiGetApiV4ProjectsIdIssuesEventableIdResourceMilestoneEventsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ResourceMilestoneEventsApiGetApiV4ProjectsIdMergeRequestsEventableIdResourceMilestoneEventsOpts

type ResourceMilestoneEventsApiGetApiV4ProjectsIdMergeRequestsEventableIdResourceMilestoneEventsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type ResourceMilestoneEventsApiService

type ResourceMilestoneEventsApiService service

func (*ResourceMilestoneEventsApiService) GetApiV4ProjectsIdIssuesEventableIdResourceMilestoneEvents

func (*ResourceMilestoneEventsApiService) GetApiV4ProjectsIdIssuesEventableIdResourceMilestoneEventsEventId

func (a *ResourceMilestoneEventsApiService) GetApiV4ProjectsIdIssuesEventableIdResourceMilestoneEventsEventId(ctx context.Context, id string, eventId string, eventableId int32) (ApiEntitiesResourceMilestoneEvent, *http.Response, error)

ResourceMilestoneEventsApiService Get single Issue milestone event Returns a single milestone event for a specific project Issue

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param eventId The ID of a resource milestone event
  • @param eventableId The ID of the eventable

@return ApiEntitiesResourceMilestoneEvent

func (*ResourceMilestoneEventsApiService) GetApiV4ProjectsIdMergeRequestsEventableIdResourceMilestoneEvents

func (a *ResourceMilestoneEventsApiService) GetApiV4ProjectsIdMergeRequestsEventableIdResourceMilestoneEvents(ctx context.Context, id string, eventableId int32, localVarOptionals *ResourceMilestoneEventsApiGetApiV4ProjectsIdMergeRequestsEventableIdResourceMilestoneEventsOpts) ([]ApiEntitiesResourceMilestoneEvent, *http.Response, error)

func (*ResourceMilestoneEventsApiService) GetApiV4ProjectsIdMergeRequestsEventableIdResourceMilestoneEventsEventId

func (a *ResourceMilestoneEventsApiService) GetApiV4ProjectsIdMergeRequestsEventableIdResourceMilestoneEventsEventId(ctx context.Context, id string, eventId string, eventableId int32) (ApiEntitiesResourceMilestoneEvent, *http.Response, error)

ResourceMilestoneEventsApiService Get single Merge request milestone event Returns a single milestone event for a specific project Merge request

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param eventId The ID of a resource milestone event
  • @param eventableId The ID of the eventable

@return ApiEntitiesResourceMilestoneEvent

type RpmPackagesApiService

type RpmPackagesApiService service

func (*RpmPackagesApiService) GetApiV4ProjectsIdPackagesRpmRepodatafileName

func (a *RpmPackagesApiService) GetApiV4ProjectsIdPackagesRpmRepodatafileName(ctx context.Context, id string, fileName string) (*http.Response, error)

RpmPackagesApiService Download repository metadata files This feature was introduced in GitLab 15.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param fileName Repository metadata file name

func (*RpmPackagesApiService) GetApiV4ProjectsIdPackagesRpmpackageFileIdfileName

func (a *RpmPackagesApiService) GetApiV4ProjectsIdPackagesRpmpackageFileIdfileName(ctx context.Context, id string, packageFileId int32, fileName string) (*http.Response, error)

RpmPackagesApiService Download RPM package files This feature was introduced in GitLab 15.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param packageFileId RPM package file id
  • @param fileName RPM package file name

func (*RpmPackagesApiService) PostApiV4ProjectsIdPackagesRpm

func (a *RpmPackagesApiService) PostApiV4ProjectsIdPackagesRpm(ctx context.Context, id string) (*http.Response, error)

RpmPackagesApiService Upload a RPM package This feature was introduced in GitLab 15.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

func (*RpmPackagesApiService) PostApiV4ProjectsIdPackagesRpmAuthorize

func (a *RpmPackagesApiService) PostApiV4ProjectsIdPackagesRpmAuthorize(ctx context.Context, id string) (*http.Response, error)

RpmPackagesApiService Authorize package upload from workhorse This feature was introduced in GitLab 15.7

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

type RubygemPackagesApiGetApiV4ProjectsIdPackagesRubygemsApiV1DependenciesOpts

type RubygemPackagesApiGetApiV4ProjectsIdPackagesRubygemsApiV1DependenciesOpts struct {
	Gems optional.Interface
}

type RubygemPackagesApiService

type RubygemPackagesApiService service

func (*RubygemPackagesApiService) GetApiV4ProjectsIdPackagesRubygemsApiV1Dependencies

func (a *RubygemPackagesApiService) GetApiV4ProjectsIdPackagesRubygemsApiV1Dependencies(ctx context.Context, id int32, localVarOptionals *RubygemPackagesApiGetApiV4ProjectsIdPackagesRubygemsApiV1DependenciesOpts) (*http.Response, error)

func (*RubygemPackagesApiService) GetApiV4ProjectsIdPackagesRubygemsFileName

func (a *RubygemPackagesApiService) GetApiV4ProjectsIdPackagesRubygemsFileName(ctx context.Context, id int32, fileName *os.File) (*http.Response, error)

RubygemPackagesApiService Download the spec index file This feature was introduced in GitLab 13.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param fileName Spec file name

func (*RubygemPackagesApiService) GetApiV4ProjectsIdPackagesRubygemsGemsFileName

func (a *RubygemPackagesApiService) GetApiV4ProjectsIdPackagesRubygemsGemsFileName(ctx context.Context, id int32, fileName *os.File) (*http.Response, error)

RubygemPackagesApiService Download the .gem package This feature was introduced in GitLab 13.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param fileName Package file name

func (*RubygemPackagesApiService) GetApiV4ProjectsIdPackagesRubygemsQuickMarshal48FileName

func (a *RubygemPackagesApiService) GetApiV4ProjectsIdPackagesRubygemsQuickMarshal48FileName(ctx context.Context, id int32, fileName *os.File) (*http.Response, error)

RubygemPackagesApiService Download the gemspec file This feature was introduced in GitLab 13.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param fileName Gemspec file name

func (*RubygemPackagesApiService) PostApiV4ProjectsIdPackagesRubygemsApiV1Gems

func (a *RubygemPackagesApiService) PostApiV4ProjectsIdPackagesRubygemsApiV1Gems(ctx context.Context, id int32, postApiV4ProjectsIdPackagesRubygemsApiV1Gems PostApiV4ProjectsIdPackagesRubygemsApiV1Gems) (*http.Response, error)

RubygemPackagesApiService Upload a gem This feature was introduced in GitLab 13.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdPackagesRubygemsApiV1Gems

func (*RubygemPackagesApiService) PostApiV4ProjectsIdPackagesRubygemsApiV1GemsAuthorize

func (a *RubygemPackagesApiService) PostApiV4ProjectsIdPackagesRubygemsApiV1GemsAuthorize(ctx context.Context, id int32) (*http.Response, error)

RubygemPackagesApiService Authorize a gem upload from workhorse This feature was introduced in GitLab 13.9

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project

type RunnersApiGetApiV4GroupsIdRunnersOpts

type RunnersApiGetApiV4GroupsIdRunnersOpts struct {
	Type_         optional.String
	Paused        optional.Bool
	Status        optional.String
	TagList       optional.Interface
	VersionPrefix optional.String
	Page          optional.Int32
	PerPage       optional.Int32
}

type RunnersApiGetApiV4ProjectsIdRunnersOpts

type RunnersApiGetApiV4ProjectsIdRunnersOpts struct {
	Scope         optional.String
	Type_         optional.String
	Paused        optional.Bool
	Status        optional.String
	TagList       optional.Interface
	VersionPrefix optional.String
	Page          optional.Int32
	PerPage       optional.Int32
}

type RunnersApiGetApiV4RunnersAllOpts

type RunnersApiGetApiV4RunnersAllOpts struct {
	Scope         optional.String
	Type_         optional.String
	Paused        optional.Bool
	Status        optional.String
	TagList       optional.Interface
	VersionPrefix optional.String
	Page          optional.Int32
	PerPage       optional.Int32
}

type RunnersApiGetApiV4RunnersIdJobsOpts

type RunnersApiGetApiV4RunnersIdJobsOpts struct {
	SystemId optional.String
	Status   optional.String
	OrderBy  optional.String
	Sort     optional.String
	Cursor   optional.String
	Page     optional.Int32
	PerPage  optional.Int32
}

type RunnersApiGetApiV4RunnersOpts

type RunnersApiGetApiV4RunnersOpts struct {
	Scope         optional.String
	Type_         optional.String
	Paused        optional.Bool
	Status        optional.String
	TagList       optional.Interface
	VersionPrefix optional.String
	Page          optional.Int32
	PerPage       optional.Int32
}

type RunnersApiService

type RunnersApiService service

func (*RunnersApiService) DeleteApiV4ProjectsIdRunnersRunnerId

func (a *RunnersApiService) DeleteApiV4ProjectsIdRunnersRunnerId(ctx context.Context, id string, runnerId int32) (ApiEntitiesCiRunner, *http.Response, error)

RunnersApiService Disable a project runner from the project It works only if the project isn't the only project associated with the specified runner. If so, an error is returned. Use the call to delete a runner instead.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param runnerId The ID of a runner

@return ApiEntitiesCiRunner

func (*RunnersApiService) DeleteApiV4Runners

func (a *RunnersApiService) DeleteApiV4Runners(ctx context.Context, token string) (*http.Response, error)

RunnersApiService Delete a runner by authentication token Delete a registered runner

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param token The runner's authentication token

func (*RunnersApiService) DeleteApiV4RunnersId

func (a *RunnersApiService) DeleteApiV4RunnersId(ctx context.Context, id int32) (ApiEntitiesCiRunner, *http.Response, error)

RunnersApiService Delete a runner Remove a runner

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a runner

@return ApiEntitiesCiRunner

func (*RunnersApiService) DeleteApiV4RunnersManagers

func (a *RunnersApiService) DeleteApiV4RunnersManagers(ctx context.Context, token string, systemId string) (*http.Response, error)

RunnersApiService Internal endpoint that deletes a runner manager by authentication token and system ID. Delete a registered runner manager

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param token The runner's authentication token
  • @param systemId The runner's system identifier.

func (*RunnersApiService) GetApiV4GroupsIdRunners

func (a *RunnersApiService) GetApiV4GroupsIdRunners(ctx context.Context, id string, localVarOptionals *RunnersApiGetApiV4GroupsIdRunnersOpts) (ApiEntitiesCiRunner, *http.Response, error)

func (*RunnersApiService) GetApiV4ProjectsIdRunners

func (a *RunnersApiService) GetApiV4ProjectsIdRunners(ctx context.Context, id string, localVarOptionals *RunnersApiGetApiV4ProjectsIdRunnersOpts) (ApiEntitiesCiRunner, *http.Response, error)

func (*RunnersApiService) GetApiV4Runners

func (a *RunnersApiService) GetApiV4Runners(ctx context.Context, localVarOptionals *RunnersApiGetApiV4RunnersOpts) (ApiEntitiesCiRunner, *http.Response, error)

func (*RunnersApiService) GetApiV4RunnersAll

func (a *RunnersApiService) GetApiV4RunnersAll(ctx context.Context, localVarOptionals *RunnersApiGetApiV4RunnersAllOpts) (ApiEntitiesCiRunner, *http.Response, error)

func (*RunnersApiService) GetApiV4RunnersId

RunnersApiService Get runner's details At least the Maintainer role is required to get runner details at the project and group level. Instance-level runner details via this endpoint are available to all signed in users.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a runner

@return ApiEntitiesCiRunnerDetails

func (*RunnersApiService) GetApiV4RunnersIdJobs

func (*RunnersApiService) PostApiV4GroupsIdRunnersResetRegistrationToken

func (a *RunnersApiService) PostApiV4GroupsIdRunnersResetRegistrationToken(ctx context.Context, id string) (ApiEntitiesCiResetTokenResult, *http.Response, error)

RunnersApiService Reset the runner registration token for a group Reset runner registration token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a group

@return ApiEntitiesCiResetTokenResult

func (*RunnersApiService) PostApiV4ProjectsIdRunners

func (a *RunnersApiService) PostApiV4ProjectsIdRunners(ctx context.Context, id string, postApiV4ProjectsIdRunners PostApiV4ProjectsIdRunners) (ApiEntitiesCiRunner, *http.Response, error)

RunnersApiService Enable a runner in project Enable an available project runner in the project.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param postApiV4ProjectsIdRunners

@return ApiEntitiesCiRunner

func (*RunnersApiService) PostApiV4ProjectsIdRunnersResetRegistrationToken

func (a *RunnersApiService) PostApiV4ProjectsIdRunnersResetRegistrationToken(ctx context.Context, id string) (ApiEntitiesCiResetTokenResult, *http.Response, error)

RunnersApiService Reset the runner registration token for a project Reset runner registration token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a project

@return ApiEntitiesCiResetTokenResult

func (*RunnersApiService) PostApiV4Runners

RunnersApiService Register a new runner Register a new runner for the instance

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4Runners

@return ApiEntitiesCiRunnerRegistrationDetails

func (*RunnersApiService) PostApiV4RunnersIdResetAuthenticationToken

func (a *RunnersApiService) PostApiV4RunnersIdResetAuthenticationToken(ctx context.Context, id int32) (ApiEntitiesCiResetTokenResult, *http.Response, error)

RunnersApiService Reset runner's authentication token Reset runner authentication token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the runner

@return ApiEntitiesCiResetTokenResult

func (*RunnersApiService) PostApiV4RunnersResetAuthenticationToken

func (a *RunnersApiService) PostApiV4RunnersResetAuthenticationToken(ctx context.Context, postApiV4RunnersResetAuthenticationToken PostApiV4RunnersResetAuthenticationToken) (ApiEntitiesCiResetTokenResult, *http.Response, error)

RunnersApiService Reset runner authentication token with current token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4RunnersResetAuthenticationToken

@return ApiEntitiesCiResetTokenResult

func (*RunnersApiService) PostApiV4RunnersResetRegistrationToken

func (a *RunnersApiService) PostApiV4RunnersResetRegistrationToken(ctx context.Context) (ApiEntitiesCiResetTokenResult, *http.Response, error)

RunnersApiService Reset instance's runner registration token Reset runner registration token

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesCiResetTokenResult

func (*RunnersApiService) PostApiV4RunnersVerify

func (a *RunnersApiService) PostApiV4RunnersVerify(ctx context.Context, postApiV4RunnersVerify PostApiV4RunnersVerify) (*http.Response, error)

RunnersApiService Verify authentication for a registered runner Validate authentication credentials

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4RunnersVerify

func (*RunnersApiService) PostApiV4UserRunners

func (a *RunnersApiService) PostApiV4UserRunners(ctx context.Context, postApiV4UserRunners PostApiV4UserRunners) (ApiEntitiesCiRunnerRegistrationDetails, *http.Response, error)

RunnersApiService Create a runner owned by currently authenticated user Create a new runner

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4UserRunners

@return ApiEntitiesCiRunnerRegistrationDetails

func (*RunnersApiService) PutApiV4RunnersId

func (a *RunnersApiService) PutApiV4RunnersId(ctx context.Context, id int32, putApiV4RunnersId PutApiV4RunnersId) (ApiEntitiesCiRunnerDetails, *http.Response, error)

RunnersApiService Update details of a runner Update runner's details

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a runner
  • @param putApiV4RunnersId

@return ApiEntitiesCiRunnerDetails

type SecureFilesApiGetApiV4ProjectsIdSecureFilesOpts

type SecureFilesApiGetApiV4ProjectsIdSecureFilesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type SecureFilesApiService

type SecureFilesApiService service

func (*SecureFilesApiService) DeleteApiV4ProjectsIdSecureFilesSecureFileId

func (a *SecureFilesApiService) DeleteApiV4ProjectsIdSecureFilesSecureFileId(ctx context.Context, id string, secureFileId int32) (*http.Response, error)

SecureFilesApiService Remove a secure file

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param secureFileId

func (*SecureFilesApiService) GetApiV4ProjectsIdSecureFiles

func (*SecureFilesApiService) GetApiV4ProjectsIdSecureFilesSecureFileId

func (a *SecureFilesApiService) GetApiV4ProjectsIdSecureFilesSecureFileId(ctx context.Context, id int32, secureFileId int32) (ApiEntitiesCiSecureFile, *http.Response, error)

SecureFilesApiService Get the details of a specific secure file in a project

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a secure file
  • @param secureFileId

@return ApiEntitiesCiSecureFile

func (*SecureFilesApiService) GetApiV4ProjectsIdSecureFilesSecureFileIdDownload

func (a *SecureFilesApiService) GetApiV4ProjectsIdSecureFilesSecureFileIdDownload(ctx context.Context, id string, secureFileId int32) (*http.Response, error)

SecureFilesApiService Download secure file

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param secureFileId

func (*SecureFilesApiService) PostApiV4ProjectsIdSecureFiles

func (a *SecureFilesApiService) PostApiV4ProjectsIdSecureFiles(ctx context.Context, id string, postApiV4ProjectsIdSecureFiles PostApiV4ProjectsIdSecureFiles) (ApiEntitiesCiSecureFile, *http.Response, error)

SecureFilesApiService Create a secure file

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project owned by the authenticated user
  • @param postApiV4ProjectsIdSecureFiles

@return ApiEntitiesCiSecureFile

type SlackApiService

type SlackApiService service

func (*SlackApiService) PostApiV4SlackTrigger

func (a *SlackApiService) PostApiV4SlackTrigger(ctx context.Context, postApiV4SlackTrigger PostApiV4SlackTrigger) (*http.Response, error)

SlackApiService Trigger a global slack command Added in GitLab 9.4

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4SlackTrigger

type SnippetRepositoryStorageMovesApiGetApiV4SnippetRepositoryStorageMovesOpts

type SnippetRepositoryStorageMovesApiGetApiV4SnippetRepositoryStorageMovesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type SnippetRepositoryStorageMovesApiService

type SnippetRepositoryStorageMovesApiService service

func (*SnippetRepositoryStorageMovesApiService) GetApiV4SnippetRepositoryStorageMovesRepositoryStorageMoveId

func (a *SnippetRepositoryStorageMovesApiService) GetApiV4SnippetRepositoryStorageMovesRepositoryStorageMoveId(ctx context.Context, repositoryStorageMoveId int32) (ApiEntitiesSnippetsRepositoryStorageMove, *http.Response, error)

SnippetRepositoryStorageMovesApiService Get a snippet repository storage move This feature was introduced in GitLab 13.8.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param repositoryStorageMoveId The ID of a snippet repository storage move

@return ApiEntitiesSnippetsRepositoryStorageMove

func (*SnippetRepositoryStorageMovesApiService) PostApiV4SnippetRepositoryStorageMoves

func (a *SnippetRepositoryStorageMovesApiService) PostApiV4SnippetRepositoryStorageMoves(ctx context.Context, postApiV4SnippetRepositoryStorageMoves PostApiV4SnippetRepositoryStorageMoves) (*http.Response, error)

SnippetRepositoryStorageMovesApiService Schedule bulk snippet repository storage moves This feature was introduced in GitLab 13.8.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4SnippetRepositoryStorageMoves

type SnippetsApiGetApiV4SnippetsAllOpts

type SnippetsApiGetApiV4SnippetsAllOpts struct {
	CreatedAfter      optional.Time
	CreatedBefore     optional.Time
	Page              optional.Int32
	PerPage           optional.Int32
	RepositoryStorage optional.String
}

type SnippetsApiGetApiV4SnippetsIdRepositoryStorageMovesOpts

type SnippetsApiGetApiV4SnippetsIdRepositoryStorageMovesOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type SnippetsApiGetApiV4SnippetsOpts

type SnippetsApiGetApiV4SnippetsOpts struct {
	CreatedAfter  optional.Time
	CreatedBefore optional.Time
	Page          optional.Int32
	PerPage       optional.Int32
}

type SnippetsApiGetApiV4SnippetsPublicOpts

type SnippetsApiGetApiV4SnippetsPublicOpts struct {
	CreatedAfter  optional.Time
	CreatedBefore optional.Time
	Page          optional.Int32
	PerPage       optional.Int32
}

type SnippetsApiService

type SnippetsApiService service

func (*SnippetsApiService) DeleteApiV4SnippetsId

func (a *SnippetsApiService) DeleteApiV4SnippetsId(ctx context.Context, id int32) (ApiEntitiesPersonalSnippet, *http.Response, error)

SnippetsApiService Remove snippet This feature was introduced in GitLab 8.15.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a snippet

@return ApiEntitiesPersonalSnippet

func (*SnippetsApiService) GetApiV4Snippets

func (a *SnippetsApiService) GetApiV4Snippets(ctx context.Context, localVarOptionals *SnippetsApiGetApiV4SnippetsOpts) ([]ApiEntitiesSnippet, *http.Response, error)

func (*SnippetsApiService) GetApiV4SnippetsAll

func (a *SnippetsApiService) GetApiV4SnippetsAll(ctx context.Context, localVarOptionals *SnippetsApiGetApiV4SnippetsAllOpts) ([]ApiEntitiesSnippet, *http.Response, error)

func (*SnippetsApiService) GetApiV4SnippetsId

SnippetsApiService Get a single snippet This feature was introduced in GitLab 8.15.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a snippet

@return ApiEntitiesPersonalSnippet

func (*SnippetsApiService) GetApiV4SnippetsIdFilesRefFilePathRaw

func (a *SnippetsApiService) GetApiV4SnippetsIdFilesRefFilePathRaw(ctx context.Context, filePath string, ref string, id int32) (*http.Response, error)

SnippetsApiService Get raw snippet file contents from the repository

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param filePath The url encoded path to the file, e.g. lib%2Fclass%2Erb
  • @param ref The name of branch, tag or commit
  • @param id

func (*SnippetsApiService) GetApiV4SnippetsIdRaw

func (a *SnippetsApiService) GetApiV4SnippetsIdRaw(ctx context.Context, id int32) (*http.Response, error)

SnippetsApiService Get a raw snippet This feature was introduced in GitLab 8.15.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a snippet

func (*SnippetsApiService) GetApiV4SnippetsIdRepositoryStorageMovesRepositoryStorageMoveId

func (a *SnippetsApiService) GetApiV4SnippetsIdRepositoryStorageMovesRepositoryStorageMoveId(ctx context.Context, id string, repositoryStorageMoveId int32) (ApiEntitiesSnippetsRepositoryStorageMove, *http.Response, error)

SnippetsApiService Get a snippet repository storage move This feature was introduced in GitLab 13.8.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a snippet
  • @param repositoryStorageMoveId The ID of a snippet repository storage move

@return ApiEntitiesSnippetsRepositoryStorageMove

func (*SnippetsApiService) GetApiV4SnippetsIdUserAgentDetail

func (a *SnippetsApiService) GetApiV4SnippetsIdUserAgentDetail(ctx context.Context, id int32) (ApiEntitiesUserAgentDetail, *http.Response, error)

SnippetsApiService Get the user agent details for a snippet

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a snippet

@return ApiEntitiesUserAgentDetail

func (*SnippetsApiService) GetApiV4SnippetsPublic

func (*SnippetsApiService) PostApiV4Snippets

func (a *SnippetsApiService) PostApiV4Snippets(ctx context.Context, postApiV4Snippets PostApiV4Snippets) (ApiEntitiesPersonalSnippet, *http.Response, error)

SnippetsApiService Create new snippet This feature was introduced in GitLab 8.15.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4Snippets

@return ApiEntitiesPersonalSnippet

func (*SnippetsApiService) PostApiV4SnippetsIdRepositoryStorageMoves

func (a *SnippetsApiService) PostApiV4SnippetsIdRepositoryStorageMoves(ctx context.Context, id string, postApiV4SnippetsIdRepositoryStorageMoves PostApiV4SnippetsIdRepositoryStorageMoves) (ApiEntitiesSnippetsRepositoryStorageMove, *http.Response, error)

SnippetsApiService Schedule a snippet repository storage move This feature was introduced in GitLab 13.8.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a snippet
  • @param postApiV4SnippetsIdRepositoryStorageMoves

@return ApiEntitiesSnippetsRepositoryStorageMove

func (*SnippetsApiService) PutApiV4SnippetsId

func (a *SnippetsApiService) PutApiV4SnippetsId(ctx context.Context, id int32, putApiV4SnippetsId PutApiV4SnippetsId) (ApiEntitiesPersonalSnippet, *http.Response, error)

SnippetsApiService Update an existing snippet This feature was introduced in GitLab 8.15.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of a snippet
  • @param putApiV4SnippetsId

@return ApiEntitiesPersonalSnippet

type StorageShardEntity

type StorageShardEntity struct {
	Name string `json:"name,omitempty"`
}

type SuggestionsApiService

type SuggestionsApiService service

func (*SuggestionsApiService) PutApiV4SuggestionsBatchApply

func (a *SuggestionsApiService) PutApiV4SuggestionsBatchApply(ctx context.Context, putApiV4SuggestionsBatchApply PutApiV4SuggestionsBatchApply) (ApiEntitiesSuggestion, *http.Response, error)

SuggestionsApiService Apply multiple suggestion patches in the Merge Request where they were created

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param putApiV4SuggestionsBatchApply

@return ApiEntitiesSuggestion

func (*SuggestionsApiService) PutApiV4SuggestionsIdApply

func (a *SuggestionsApiService) PutApiV4SuggestionsIdApply(ctx context.Context, id int32, putApiV4SuggestionsIdApply PutApiV4SuggestionsIdApply) (ApiEntitiesSuggestion, *http.Response, error)

SuggestionsApiService Apply suggestion patch in the Merge Request it was created

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the suggestion
  • @param putApiV4SuggestionsIdApply

@return ApiEntitiesSuggestion

type SystemHooksApiGetApiV4HooksOpts

type SystemHooksApiGetApiV4HooksOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type SystemHooksApiService

type SystemHooksApiService service

func (*SystemHooksApiService) DeleteApiV4HooksHookId

func (a *SystemHooksApiService) DeleteApiV4HooksHookId(ctx context.Context, hookId int32) (ApiEntitiesHook, *http.Response, error)

SystemHooksApiService Delete system hook Deletes a system hook

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param hookId The ID of the system hook

@return ApiEntitiesHook

func (*SystemHooksApiService) GetApiV4Hooks

func (*SystemHooksApiService) GetApiV4HooksHookId

func (a *SystemHooksApiService) GetApiV4HooksHookId(ctx context.Context, hookId int32) (ApiEntitiesHook, *http.Response, error)

SystemHooksApiService Get system hook Get a system hook by its ID. Introduced in GitLab 14.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param hookId The ID of the system hook

@return ApiEntitiesHook

func (*SystemHooksApiService) PostApiV4Hooks

func (a *SystemHooksApiService) PostApiV4Hooks(ctx context.Context, postApiV4Hooks PostApiV4Hooks) (ApiEntitiesHook, *http.Response, error)

SystemHooksApiService Add new system hook Add a new system hook

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4Hooks

@return ApiEntitiesHook

func (*SystemHooksApiService) PutApiV4HooksHookId

func (a *SystemHooksApiService) PutApiV4HooksHookId(ctx context.Context, hookId int32, putApiV4HooksHookId PutApiV4HooksHookId) (ApiEntitiesHook, *http.Response, error)

SystemHooksApiService Edit system hook Edits a system hook

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param hookId The ID of the system hook
  • @param putApiV4HooksHookId

@return ApiEntitiesHook

type TagsApiGetApiV4ProjectsIdRepositoryTagsOpts

type TagsApiGetApiV4ProjectsIdRepositoryTagsOpts struct {
	Sort      optional.String
	OrderBy   optional.String
	Search    optional.String
	PageToken optional.String
	Page      optional.Int32
	PerPage   optional.Int32
}

type TagsApiService

type TagsApiService service

func (*TagsApiService) DeleteApiV4ProjectsIdRepositoryTagsTagName

func (a *TagsApiService) DeleteApiV4ProjectsIdRepositoryTagsTagName(ctx context.Context, id string, tagName string) (*http.Response, error)

TagsApiService Delete a repository tag

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tagName The name of the tag

func (*TagsApiService) GetApiV4ProjectsIdRepositoryTags

func (a *TagsApiService) GetApiV4ProjectsIdRepositoryTags(ctx context.Context, id string, localVarOptionals *TagsApiGetApiV4ProjectsIdRepositoryTagsOpts) ([]ApiEntitiesTag, *http.Response, error)

func (*TagsApiService) GetApiV4ProjectsIdRepositoryTagsTagName

func (a *TagsApiService) GetApiV4ProjectsIdRepositoryTagsTagName(ctx context.Context, id string, tagName string) (ApiEntitiesTag, *http.Response, error)

TagsApiService Get a single repository tag

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tagName The name of the tag

@return ApiEntitiesTag

func (*TagsApiService) GetApiV4ProjectsIdRepositoryTagsTagNameSignature

func (a *TagsApiService) GetApiV4ProjectsIdRepositoryTagsTagNameSignature(ctx context.Context, id string, tagName string) (ApiEntitiesTagSignature, *http.Response, error)

TagsApiService Get a tag's signature

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param tagName The name of the tag

@return ApiEntitiesTagSignature

func (*TagsApiService) PostApiV4ProjectsIdRepositoryTags

func (a *TagsApiService) PostApiV4ProjectsIdRepositoryTags(ctx context.Context, id string, postApiV4ProjectsIdRepositoryTags PostApiV4ProjectsIdRepositoryTags) (ApiEntitiesTag, *http.Response, error)

TagsApiService Create a new repository tag

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param postApiV4ProjectsIdRepositoryTags

@return ApiEntitiesTag

type TerraformRegistryApiGetApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemOpts

type TerraformRegistryApiGetApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemOpts struct {
	TerraformGet optional.String
}

type TerraformRegistryApiGetApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionOpts

type TerraformRegistryApiGetApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionOpts struct {
	TerraformGet optional.String
}

type TerraformRegistryApiService

type TerraformRegistryApiService service

func (*TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystem

func (a *TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystem(ctx context.Context, moduleNamespace string, moduleName string, moduleSystem string) (ApiEntitiesTerraformModuleVersion, *http.Response, error)

TerraformRegistryApiService Get details about the latest version of a module Get details about the latest version of a module

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param moduleNamespace Group's ID or slug
  • @param moduleName
  • @param moduleSystem

@return ApiEntitiesTerraformModuleVersion

func (*TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemDownload

func (a *TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemDownload(ctx context.Context, moduleNamespace string, moduleName string, moduleSystem string) (*http.Response, error)

TerraformRegistryApiService Get download location for the latest version of a module Download the latest version of a module

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param moduleNamespace Group's ID or slug
  • @param moduleName
  • @param moduleSystem

func (*TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemVersions

func (a *TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemVersions(ctx context.Context, moduleNamespace string, moduleName string, moduleSystem string) ([]ApiEntitiesTerraformModuleVersions, *http.Response, error)

TerraformRegistryApiService List versions for a module List versions for a module

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param moduleNamespace Group's ID or slug
  • @param moduleName
  • @param moduleSystem

@return []ApiEntitiesTerraformModuleVersions

func (*TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemmoduleVersion

func (a *TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemmoduleVersion(ctx context.Context, moduleNamespace string, moduleName string, moduleSystem string, moduleVersion string) (ApiEntitiesTerraformModuleVersion, *http.Response, error)

TerraformRegistryApiService Get details about specific version of a module Get details about specific version of a module

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param moduleNamespace Group's ID or slug
  • @param moduleName
  • @param moduleSystem
  • @param moduleVersion Module version

@return ApiEntitiesTerraformModuleVersion

func (*TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemmoduleVersionDownload

func (a *TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemmoduleVersionDownload(ctx context.Context, moduleNamespace string, moduleName string, moduleSystem string, moduleVersion string) (*http.Response, error)

TerraformRegistryApiService Get download location for specific version of a module Download specific version of a module

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param moduleNamespace Group's ID or slug
  • @param moduleName
  • @param moduleSystem
  • @param moduleVersion Module version

func (*TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemmoduleVersionFile

func (a *TerraformRegistryApiService) GetApiV4PackagesTerraformModulesV1ModuleNamespaceModuleNameModuleSystemmoduleVersionFile(ctx context.Context, moduleNamespace string, moduleName string, moduleSystem string, moduleVersion string) (*os.File, *http.Response, error)

TerraformRegistryApiService Download specific version of a module Download specific version of a module

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param moduleNamespace Group's ID or slug
  • @param moduleName
  • @param moduleSystem
  • @param moduleVersion Module version

@return *os.File

func (*TerraformRegistryApiService) GetApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystem

func (a *TerraformRegistryApiService) GetApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystem(ctx context.Context, id string, moduleName string, moduleSystem string, localVarOptionals *TerraformRegistryApiGetApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemOpts) (*http.Response, error)

func (*TerraformRegistryApiService) GetApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersion

func (a *TerraformRegistryApiService) GetApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersion(ctx context.Context, id string, moduleName string, moduleSystem string, moduleVersion string, localVarOptionals *TerraformRegistryApiGetApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionOpts) (*http.Response, error)

func (*TerraformRegistryApiService) PutApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionFile

func (a *TerraformRegistryApiService) PutApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionFile(ctx context.Context, id string, moduleName string, moduleSystem string, moduleVersion string, file *os.File) (*http.Response, error)

TerraformRegistryApiService Upload Terraform Module package file This feature was introduced in GitLab 13.11

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or full path of a project
  • @param moduleName Module name
  • @param moduleSystem Module system
  • @param moduleVersion Module version
  • @param file The package file to be published (generated by Multipart middleware)

func (*TerraformRegistryApiService) PutApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionFileAuthorize

func (a *TerraformRegistryApiService) PutApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionFileAuthorize(ctx context.Context, id string, moduleName string, moduleSystem string, putApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionFileAuthorize PutApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionFileAuthorize) (*http.Response, error)

TerraformRegistryApiService Workhorse authorize Terraform Module package file This feature was introduced in GitLab 13.11

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or full path of a project
  • @param moduleName Module name
  • @param moduleSystem Module system
  • @param putApiV4ProjectsIdPackagesTerraformModulesModuleNameModuleSystemmoduleVersionFileAuthorize

type TerraformStateApiDeleteApiV4ProjectsIdTerraformStateNameLockOpts

type TerraformStateApiDeleteApiV4ProjectsIdTerraformStateNameLockOpts struct {
	ID optional.String
}

type TerraformStateApiGetApiV4ProjectsIdTerraformStateNameOpts

type TerraformStateApiGetApiV4ProjectsIdTerraformStateNameOpts struct {
	ID optional.String
}

type TerraformStateApiService

type TerraformStateApiService service

func (*TerraformStateApiService) DeleteApiV4ProjectsIdTerraformStateName

func (a *TerraformStateApiService) DeleteApiV4ProjectsIdTerraformStateName(ctx context.Context, id string, name int32) (*http.Response, error)

TerraformStateApiService Delete a Terraform state of a certain name Delete a Terraform state of a certain name

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param name

func (*TerraformStateApiService) DeleteApiV4ProjectsIdTerraformStateNameLock

func (a *TerraformStateApiService) DeleteApiV4ProjectsIdTerraformStateNameLock(ctx context.Context, id string, name int32, localVarOptionals *TerraformStateApiDeleteApiV4ProjectsIdTerraformStateNameLockOpts) (*http.Response, error)

func (*TerraformStateApiService) DeleteApiV4ProjectsIdTerraformStateNameVersionsSerial

func (a *TerraformStateApiService) DeleteApiV4ProjectsIdTerraformStateNameVersionsSerial(ctx context.Context, id string, name int32, serial int32) (*http.Response, error)

TerraformStateApiService Delete a Terraform state version Delete a Terraform state version

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param name
  • @param serial

func (*TerraformStateApiService) GetApiV4ProjectsIdTerraformStateName

func (a *TerraformStateApiService) GetApiV4ProjectsIdTerraformStateName(ctx context.Context, id string, name string, localVarOptionals *TerraformStateApiGetApiV4ProjectsIdTerraformStateNameOpts) (*http.Response, error)

func (*TerraformStateApiService) GetApiV4ProjectsIdTerraformStateNameVersionsSerial

func (a *TerraformStateApiService) GetApiV4ProjectsIdTerraformStateNameVersionsSerial(ctx context.Context, id string, name string, serial int32) (*os.File, *http.Response, error)

TerraformStateApiService Get a Terraform state version Get a Terraform state version

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param name The name of a Terraform state
  • @param serial The version number of the state

@return *os.File

func (*TerraformStateApiService) PostApiV4ProjectsIdTerraformStateName

func (a *TerraformStateApiService) PostApiV4ProjectsIdTerraformStateName(ctx context.Context, id string, name int32) (*http.Response, error)

TerraformStateApiService Add a new Terraform state or update an existing one Add a new Terraform state or update an existing one

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param name

func (*TerraformStateApiService) PostApiV4ProjectsIdTerraformStateNameLock

func (a *TerraformStateApiService) PostApiV4ProjectsIdTerraformStateNameLock(ctx context.Context, id string, name int32, postApiV4ProjectsIdTerraformStateNameLock PostApiV4ProjectsIdTerraformStateNameLock) (*http.Response, error)

TerraformStateApiService Lock a Terraform state of a certain name Lock a Terraform state of a certain name

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID or URL-encoded path of the project
  • @param name
  • @param postApiV4ProjectsIdTerraformStateNameLock

type TestCaseEntity

type TestCaseEntity struct {
	Status         string `json:"status,omitempty"`
	Name           string `json:"name,omitempty"`
	Classname      string `json:"classname,omitempty"`
	File           string `json:"file,omitempty"`
	ExecutionTime  int32  `json:"execution_time,omitempty"`
	SystemOutput   string `json:"system_output,omitempty"`
	StackTrace     string `json:"stack_trace,omitempty"`
	RecentFailures string `json:"recent_failures,omitempty"`
	AttachmentUrl  string `json:"attachment_url,omitempty"`
}

type TestReportEntity

type TestReportEntity struct {
	TotalTime    int32             `json:"total_time,omitempty"`
	TotalCount   int32             `json:"total_count,omitempty"`
	SuccessCount int32             `json:"success_count,omitempty"`
	FailedCount  int32             `json:"failed_count,omitempty"`
	SkippedCount int32             `json:"skipped_count,omitempty"`
	ErrorCount   int32             `json:"error_count,omitempty"`
	TestSuites   []TestSuiteEntity `json:"test_suites,omitempty"`
}

TestReportEntity model

type TestReportSummaryEntity

type TestReportSummaryEntity struct {
	Total      int32                   `json:"total,omitempty"`
	TestSuites *TestSuiteSummaryEntity `json:"test_suites,omitempty"`
}

TestReportSummaryEntity model

type TestSuiteEntity

type TestSuiteEntity struct {
	Name         string           `json:"name,omitempty"`
	TotalTime    int32            `json:"total_time,omitempty"`
	TotalCount   int32            `json:"total_count,omitempty"`
	SuccessCount int32            `json:"success_count,omitempty"`
	FailedCount  int32            `json:"failed_count,omitempty"`
	SkippedCount int32            `json:"skipped_count,omitempty"`
	ErrorCount   int32            `json:"error_count,omitempty"`
	SuiteError   string           `json:"suite_error,omitempty"`
	TestCases    []TestCaseEntity `json:"test_cases,omitempty"`
}

type TestSuiteSummaryEntity

type TestSuiteSummaryEntity struct {
	Name         string           `json:"name,omitempty"`
	TotalTime    int32            `json:"total_time,omitempty"`
	TotalCount   int32            `json:"total_count,omitempty"`
	SuccessCount int32            `json:"success_count,omitempty"`
	FailedCount  int32            `json:"failed_count,omitempty"`
	SkippedCount int32            `json:"skipped_count,omitempty"`
	ErrorCount   int32            `json:"error_count,omitempty"`
	SuiteError   string           `json:"suite_error,omitempty"`
	TestCases    []TestCaseEntity `json:"test_cases,omitempty"`
	BuildIds     []int32          `json:"build_ids,omitempty"`
}

type TopicsApiGetApiV4TopicsOpts

type TopicsApiGetApiV4TopicsOpts struct {
	Search          optional.String
	WithoutProjects optional.Bool
	Page            optional.Int32
	PerPage         optional.Int32
}

type TopicsApiService

type TopicsApiService service

func (*TopicsApiService) DeleteApiV4TopicsId

func (a *TopicsApiService) DeleteApiV4TopicsId(ctx context.Context, id int32) (*http.Response, error)

TopicsApiService Delete a topic This feature was introduced in GitLab 14.9.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID of project topic

func (*TopicsApiService) GetApiV4Topics

func (*TopicsApiService) GetApiV4TopicsId

TopicsApiService Get topic This feature was introduced in GitLab 14.5.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID of project topic

@return ApiEntitiesProjectsTopic

func (*TopicsApiService) PostApiV4Topics

func (a *TopicsApiService) PostApiV4Topics(ctx context.Context, postApiV4Topics PostApiV4Topics) (ApiEntitiesProjectsTopic, *http.Response, error)

TopicsApiService Create a topic This feature was introduced in GitLab 14.5.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4Topics

@return ApiEntitiesProjectsTopic

func (*TopicsApiService) PostApiV4TopicsMerge

func (a *TopicsApiService) PostApiV4TopicsMerge(ctx context.Context, postApiV4TopicsMerge PostApiV4TopicsMerge) (ApiEntitiesProjectsTopic, *http.Response, error)

TopicsApiService Merge topics This feature was introduced in GitLab 15.4.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4TopicsMerge

@return ApiEntitiesProjectsTopic

func (*TopicsApiService) PutApiV4TopicsId

func (a *TopicsApiService) PutApiV4TopicsId(ctx context.Context, id int32, putApiV4TopicsId PutApiV4TopicsId) (ApiEntitiesProjectsTopic, *http.Response, error)

TopicsApiService Update a topic This feature was introduced in GitLab 14.5.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID of project topic
  • @param putApiV4TopicsId

@return ApiEntitiesProjectsTopic

type UnleashApiApiGetApiV4FeatureFlagsUnleashProjectIdClientFeaturesOpts

type UnleashApiApiGetApiV4FeatureFlagsUnleashProjectIdClientFeaturesOpts struct {
	InstanceId optional.String
	AppName    optional.String
}

type UnleashApiApiGetApiV4FeatureFlagsUnleashProjectIdFeaturesOpts

type UnleashApiApiGetApiV4FeatureFlagsUnleashProjectIdFeaturesOpts struct {
	InstanceId optional.String
	AppName    optional.String
}

type UnleashApiApiService

type UnleashApiApiService service

func (*UnleashApiApiService) GetApiV4FeatureFlagsUnleashProjectIdClientFeatures

func (a *UnleashApiApiService) GetApiV4FeatureFlagsUnleashProjectIdClientFeatures(ctx context.Context, projectId string, localVarOptionals *UnleashApiApiGetApiV4FeatureFlagsUnleashProjectIdClientFeaturesOpts) (*http.Response, error)

func (*UnleashApiApiService) GetApiV4FeatureFlagsUnleashProjectIdFeatures

func (a *UnleashApiApiService) GetApiV4FeatureFlagsUnleashProjectIdFeatures(ctx context.Context, projectId string, localVarOptionals *UnleashApiApiGetApiV4FeatureFlagsUnleashProjectIdFeaturesOpts) (*http.Response, error)

type UsageDataApiService

type UsageDataApiService service

func (*UsageDataApiService) GetApiV4UsageDataMetricDefinitions

func (a *UsageDataApiService) GetApiV4UsageDataMetricDefinitions(ctx context.Context) (*http.Response, error)

UsageDataApiService Get a list of all metric definitions This feature was introduced in GitLab 13.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*UsageDataApiService) GetApiV4UsageDataNonSqlMetrics

func (a *UsageDataApiService) GetApiV4UsageDataNonSqlMetrics(ctx context.Context) (*http.Response, error)

UsageDataApiService Get Non SQL usage ping metrics This feature was introduced in GitLab 13.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*UsageDataApiService) GetApiV4UsageDataQueries

func (a *UsageDataApiService) GetApiV4UsageDataQueries(ctx context.Context) (*http.Response, error)

UsageDataApiService Get raw SQL queries for usage data SQL metrics This feature was introduced in GitLab 13.11.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*UsageDataApiService) GetApiV4UsageDataServicePing

func (a *UsageDataApiService) GetApiV4UsageDataServicePing(ctx context.Context) (*http.Response, error)

UsageDataApiService Get the latest ServicePing payload Introduces in Gitlab 16.9. Requires Personal Access Token with read_service_ping scope.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*UsageDataApiService) PostApiV4UsageDataIncrementCounter

func (a *UsageDataApiService) PostApiV4UsageDataIncrementCounter(ctx context.Context, postApiV4UsageDataIncrementCounter PostApiV4UsageDataIncrementCounter) (*http.Response, error)

UsageDataApiService Track usage data event This feature was introduced in GitLab 13.4.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4UsageDataIncrementCounter

func (*UsageDataApiService) PostApiV4UsageDataIncrementUniqueUsers

func (a *UsageDataApiService) PostApiV4UsageDataIncrementUniqueUsers(ctx context.Context, postApiV4UsageDataIncrementUniqueUsers PostApiV4UsageDataIncrementUniqueUsers) (*http.Response, error)

UsageDataApiService Track usage data event for the current user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4UsageDataIncrementUniqueUsers

func (*UsageDataApiService) PostApiV4UsageDataTrackEvent

func (a *UsageDataApiService) PostApiV4UsageDataTrackEvent(ctx context.Context, postApiV4UsageDataTrackEvent PostApiV4UsageDataTrackEvent) (*http.Response, error)

UsageDataApiService Track gitlab internal events This feature was introduced in GitLab 16.2.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4UsageDataTrackEvent

type UserApiGetApiV4UserActivitiesOpts

type UserApiGetApiV4UserActivitiesOpts struct {
	From    optional.Time
	Page    optional.Int32
	PerPage optional.Int32
}

type UserApiGetApiV4UserEmailsOpts

type UserApiGetApiV4UserEmailsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type UserApiGetApiV4UserGpgKeysOpts

type UserApiGetApiV4UserGpgKeysOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type UserApiGetApiV4UserKeysOpts

type UserApiGetApiV4UserKeysOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type UserApiService

type UserApiService service

func (*UserApiService) DeleteApiV4UserEmailsEmailId

func (a *UserApiService) DeleteApiV4UserEmailsEmailId(ctx context.Context, emailId int32) (*http.Response, error)

UserApiService Delete an email address from the currently authenticated user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param emailId The ID of the email

func (*UserApiService) DeleteApiV4UserGpgKeysKeyId

func (a *UserApiService) DeleteApiV4UserGpgKeysKeyId(ctx context.Context, keyId int32) (*http.Response, error)

UserApiService Delete a GPG key from the currently authenticated user This feature was added in GitLab 10.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param keyId The ID of the SSH key

func (*UserApiService) DeleteApiV4UserKeysKeyId

func (a *UserApiService) DeleteApiV4UserKeysKeyId(ctx context.Context, keyId int32) (ApiEntitiesSshKey, *http.Response, error)

UserApiService Delete an SSH key from the currently authenticated user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param keyId The ID of the SSH key

@return ApiEntitiesSshKey

func (*UserApiService) GetApiV3User

UserApiService Get the currently authenticated user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesUserPublic

func (*UserApiService) GetApiV4UserActivities

func (a *UserApiService) GetApiV4UserActivities(ctx context.Context, localVarOptionals *UserApiGetApiV4UserActivitiesOpts) (*http.Response, error)

func (*UserApiService) GetApiV4UserEmails

func (a *UserApiService) GetApiV4UserEmails(ctx context.Context, localVarOptionals *UserApiGetApiV4UserEmailsOpts) (ApiEntitiesEmail, *http.Response, error)

func (*UserApiService) GetApiV4UserEmailsEmailId

func (a *UserApiService) GetApiV4UserEmailsEmailId(ctx context.Context, emailId int32) (ApiEntitiesEmail, *http.Response, error)

UserApiService Get a single email address owned by the currently authenticated user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param emailId The ID of the email

@return ApiEntitiesEmail

func (*UserApiService) GetApiV4UserGpgKeys

func (a *UserApiService) GetApiV4UserGpgKeys(ctx context.Context, localVarOptionals *UserApiGetApiV4UserGpgKeysOpts) (ApiEntitiesGpgKey, *http.Response, error)

func (*UserApiService) GetApiV4UserGpgKeysKeyId

func (a *UserApiService) GetApiV4UserGpgKeysKeyId(ctx context.Context, keyId int32) (ApiEntitiesGpgKey, *http.Response, error)

UserApiService Get a single GPG key owned by currently authenticated user This feature was added in GitLab 10.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param keyId The ID of the GPG key

@return ApiEntitiesGpgKey

func (*UserApiService) GetApiV4UserKeys

func (a *UserApiService) GetApiV4UserKeys(ctx context.Context, localVarOptionals *UserApiGetApiV4UserKeysOpts) (ApiEntitiesSshKey, *http.Response, error)

func (*UserApiService) GetApiV4UserKeysKeyId

func (a *UserApiService) GetApiV4UserKeysKeyId(ctx context.Context, keyId int32) (ApiEntitiesSshKey, *http.Response, error)

UserApiService Get a single key owned by currently authenticated user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param keyId The ID of the SSH key

@return ApiEntitiesSshKey

func (*UserApiService) GetApiV4UserPreferences

func (a *UserApiService) GetApiV4UserPreferences(ctx context.Context) (ApiEntitiesUserPreferences, *http.Response, error)

UserApiService Get the current user's preferences This feature was introduced in GitLab 14.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesUserPreferences

func (*UserApiService) GetApiV4UserStatus

func (a *UserApiService) GetApiV4UserStatus(ctx context.Context) (ApiEntitiesUserStatus, *http.Response, error)

UserApiService get the status of the current user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesUserStatus

func (*UserApiService) PatchApiV4UserStatus

func (a *UserApiService) PatchApiV4UserStatus(ctx context.Context, patchApiV4UserStatus PatchApiV4UserStatus) (ApiEntitiesUserStatus, *http.Response, error)

UserApiService Set the status of the current user Any parameters that are not passed will be ignored.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param patchApiV4UserStatus

@return ApiEntitiesUserStatus

func (*UserApiService) PostApiV4UserEmails

func (a *UserApiService) PostApiV4UserEmails(ctx context.Context, postApiV4UserEmails PostApiV4UserEmails) (ApiEntitiesEmail, *http.Response, error)

UserApiService Add new email address to the currently authenticated user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4UserEmails

@return ApiEntitiesEmail

func (*UserApiService) PostApiV4UserGpgKeys

func (a *UserApiService) PostApiV4UserGpgKeys(ctx context.Context, postApiV4UserGpgKeys PostApiV4UserGpgKeys) (ApiEntitiesGpgKey, *http.Response, error)

UserApiService Add a new GPG key to the currently authenticated user This feature was added in GitLab 10.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4UserGpgKeys

@return ApiEntitiesGpgKey

func (*UserApiService) PostApiV4UserGpgKeysKeyIdRevoke

func (a *UserApiService) PostApiV4UserGpgKeysKeyIdRevoke(ctx context.Context, keyId int32) (*http.Response, error)

UserApiService Revoke a GPG key owned by currently authenticated user This feature was added in GitLab 10.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param keyId The ID of the GPG key

func (*UserApiService) PostApiV4UserKeys

func (a *UserApiService) PostApiV4UserKeys(ctx context.Context, postApiV4UserKeys PostApiV4UserKeys) (ApiEntitiesSshKey, *http.Response, error)

UserApiService Add a new SSH key to the currently authenticated user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4UserKeys

@return ApiEntitiesSshKey

func (*UserApiService) PostApiV4UserPersonalAccessTokens

func (a *UserApiService) PostApiV4UserPersonalAccessTokens(ctx context.Context, postApiV4UserPersonalAccessTokens PostApiV4UserPersonalAccessTokens) (ApiEntitiesPersonalAccessTokenWithToken, *http.Response, error)

UserApiService Create a personal access token with limited scopes for the currently authenticated user This feature was introduced in GitLab 16.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4UserPersonalAccessTokens

@return ApiEntitiesPersonalAccessTokenWithToken

func (*UserApiService) PostApiV4UserRunners

func (a *UserApiService) PostApiV4UserRunners(ctx context.Context, postApiV4UserRunners PostApiV4UserRunners) (ApiEntitiesCiRunnerRegistrationDetails, *http.Response, error)

UserApiService Create a runner owned by currently authenticated user Create a new runner

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4UserRunners

@return ApiEntitiesCiRunnerRegistrationDetails

func (*UserApiService) PutApiV4UserAvatar

func (a *UserApiService) PutApiV4UserAvatar(ctx context.Context, putApiV4UserAvatar PutApiV4UserAvatar) (ApiEntitiesAvatar, *http.Response, error)

UserApiService Set the avatar of the current user This feature was introduced in GitLab 17.0.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param putApiV4UserAvatar

@return ApiEntitiesAvatar

func (*UserApiService) PutApiV4UserPreferences

func (a *UserApiService) PutApiV4UserPreferences(ctx context.Context, putApiV4UserPreferences PutApiV4UserPreferences) (ApiEntitiesUserPreferences, *http.Response, error)

UserApiService Update the current user's preferences This feature was introduced in GitLab 13.10.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param putApiV4UserPreferences

@return ApiEntitiesUserPreferences

func (*UserApiService) PutApiV4UserStatus

func (a *UserApiService) PutApiV4UserStatus(ctx context.Context, putApiV4UserStatus PutApiV4UserStatus) (ApiEntitiesUserStatus, *http.Response, error)

UserApiService Set the status of the current user Any parameters that are not passed will be nullified.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param putApiV4UserStatus

@return ApiEntitiesUserStatus

func (*UserApiService) PutApiV4UserUserIdCreditCardValidation

func (a *UserApiService) PutApiV4UserUserIdCreditCardValidation(ctx context.Context, userId string, putApiV4UserUserIdCreditCardValidation PutApiV4UserUserIdCreditCardValidation) (ApiEntitiesUserCreditCardValidations, *http.Response, error)

UserApiService Update a user's credit_card_validation

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID or username of the user
  • @param putApiV4UserUserIdCreditCardValidation

@return ApiEntitiesUserCreditCardValidations

type UserCountsApiService

type UserCountsApiService service

func (*UserCountsApiService) GetApiV4UserCounts

UserCountsApiService Return the user specific counts Assigned open issues, assigned MRs and pending todos count

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesUserCounts

type UsersApiDeleteApiV4UsersIdOpts

type UsersApiDeleteApiV4UsersIdOpts struct {
	HardDelete optional.Bool
}

type UsersApiGetApiV4UsersIdEmailsOpts

type UsersApiGetApiV4UsersIdEmailsOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type UsersApiGetApiV4UsersIdFollowersOpts

type UsersApiGetApiV4UsersIdFollowersOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type UsersApiGetApiV4UsersIdFollowingOpts

type UsersApiGetApiV4UsersIdFollowingOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type UsersApiGetApiV4UsersIdGpgKeysOpts

type UsersApiGetApiV4UsersIdGpgKeysOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type UsersApiGetApiV4UsersIdOpts

type UsersApiGetApiV4UsersIdOpts struct {
	WithCustomAttributes optional.Bool
}

type UsersApiGetApiV4UsersOpts

type UsersApiGetApiV4UsersOpts struct {
	Username             optional.String
	ExternUid            optional.String
	Provider             optional.String
	Search               optional.String
	Active               optional.Bool
	External             optional.Bool
	ExcludeExternal      optional.Bool
	Blocked              optional.Bool
	CreatedAfter         optional.Time
	CreatedBefore        optional.Time
	WithoutProjects      optional.Bool
	ExcludeInternal      optional.Bool
	WithoutProjectBots   optional.Bool
	Admins               optional.Bool
	TwoFactor            optional.String
	OrderBy              optional.String
	Sort                 optional.String
	Page                 optional.Int32
	PerPage              optional.Int32
	WithCustomAttributes optional.Bool
	SkipLdap             optional.Bool
	SamlProviderId       optional.Int32
	Auditors             optional.Bool
}

type UsersApiGetApiV4UsersUserIdImpersonationTokensOpts

type UsersApiGetApiV4UsersUserIdImpersonationTokensOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
	State   optional.String
}

type UsersApiGetApiV4UsersUserIdKeysOpts

type UsersApiGetApiV4UsersUserIdKeysOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type UsersApiGetApiV4UsersUserIdMembershipsOpts

type UsersApiGetApiV4UsersUserIdMembershipsOpts struct {
	Type_   optional.String
	Page    optional.Int32
	PerPage optional.Int32
}

type UsersApiGetApiV4UsersUserIdProjectDeployKeysOpts

type UsersApiGetApiV4UsersUserIdProjectDeployKeysOpts struct {
	Page    optional.Int32
	PerPage optional.Int32
}

type UsersApiService

type UsersApiService service

func (*UsersApiService) DeleteApiV4UsersId

func (a *UsersApiService) DeleteApiV4UsersId(ctx context.Context, id int32, localVarOptionals *UsersApiDeleteApiV4UsersIdOpts) (ApiEntitiesEmail, *http.Response, error)

func (*UsersApiService) DeleteApiV4UsersIdCustomAttributesKey

func (a *UsersApiService) DeleteApiV4UsersIdCustomAttributesKey(ctx context.Context, key string, id int32) (*http.Response, error)

UsersApiService Delete a custom attribute on a user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of the custom attribute
  • @param id

func (*UsersApiService) DeleteApiV4UsersIdEmailsEmailId

func (a *UsersApiService) DeleteApiV4UsersIdEmailsEmailId(ctx context.Context, id int32, emailId int32) (ApiEntitiesEmail, *http.Response, error)

UsersApiService Delete an email address of a specified user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user
  • @param emailId The ID of the email

@return ApiEntitiesEmail

func (*UsersApiService) DeleteApiV4UsersIdGpgKeysKeyId

func (a *UsersApiService) DeleteApiV4UsersIdGpgKeysKeyId(ctx context.Context, id int32, keyId int32) (*http.Response, error)

UsersApiService Delete an existing GPG key from a specified user. Available only for admins. This feature was added in GitLab 10.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user
  • @param keyId The ID of the GPG key

func (*UsersApiService) DeleteApiV4UsersIdIdentitiesProvider

func (a *UsersApiService) DeleteApiV4UsersIdIdentitiesProvider(ctx context.Context, id int32, provider string) (ApiEntitiesUserWithAdmin, *http.Response, error)

UsersApiService Delete a user's identity. Available only for admins

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user
  • @param provider The external provider

@return ApiEntitiesUserWithAdmin

func (*UsersApiService) DeleteApiV4UsersIdKeysKeyId

func (a *UsersApiService) DeleteApiV4UsersIdKeysKeyId(ctx context.Context, id int32, keyId int32) (ApiEntitiesSshKey, *http.Response, error)

UsersApiService Delete an existing SSH key from a specified user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user
  • @param keyId The ID of the SSH key

@return ApiEntitiesSshKey

func (*UsersApiService) DeleteApiV4UsersUserIdImpersonationTokensImpersonationTokenId

func (a *UsersApiService) DeleteApiV4UsersUserIdImpersonationTokensImpersonationTokenId(ctx context.Context, userId int32, impersonationTokenId int32) (*http.Response, error)

UsersApiService Revoke a impersonation token. Available only for admins. This feature was introduced in GitLab 9.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of the user
  • @param impersonationTokenId The ID of the impersonation token

func (*UsersApiService) GetApiV4Users

func (a *UsersApiService) GetApiV4Users(ctx context.Context, localVarOptionals *UsersApiGetApiV4UsersOpts) (ApiEntitiesUserBasic, *http.Response, error)

func (*UsersApiService) GetApiV4UsersId

func (a *UsersApiService) GetApiV4UsersId(ctx context.Context, id int32, localVarOptionals *UsersApiGetApiV4UsersIdOpts) (ApiEntitiesUser, *http.Response, error)

func (*UsersApiService) GetApiV4UsersIdAssociationsCount

func (a *UsersApiService) GetApiV4UsersIdAssociationsCount(ctx context.Context, id int32) (*http.Response, error)

UsersApiService Returns a list of a specified user's count of projects, groups, issues and merge requests.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID of the user to query.

func (*UsersApiService) GetApiV4UsersIdCustomAttributes

func (a *UsersApiService) GetApiV4UsersIdCustomAttributes(ctx context.Context, id int32) (ApiEntitiesCustomAttribute, *http.Response, error)

UsersApiService Get all custom attributes on a user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return ApiEntitiesCustomAttribute

func (*UsersApiService) GetApiV4UsersIdCustomAttributesKey

func (a *UsersApiService) GetApiV4UsersIdCustomAttributesKey(ctx context.Context, key string, id int32) (ApiEntitiesCustomAttribute, *http.Response, error)

UsersApiService Get a custom attribute on a user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of the custom attribute
  • @param id

@return ApiEntitiesCustomAttribute

func (*UsersApiService) GetApiV4UsersIdEmails

func (a *UsersApiService) GetApiV4UsersIdEmails(ctx context.Context, id int32, localVarOptionals *UsersApiGetApiV4UsersIdEmailsOpts) (ApiEntitiesEmail, *http.Response, error)

func (*UsersApiService) GetApiV4UsersIdFollowers

func (a *UsersApiService) GetApiV4UsersIdFollowers(ctx context.Context, id int32, localVarOptionals *UsersApiGetApiV4UsersIdFollowersOpts) (ApiEntitiesUserBasic, *http.Response, error)

func (*UsersApiService) GetApiV4UsersIdFollowing

func (a *UsersApiService) GetApiV4UsersIdFollowing(ctx context.Context, id int32, localVarOptionals *UsersApiGetApiV4UsersIdFollowingOpts) (ApiEntitiesUserBasic, *http.Response, error)

func (*UsersApiService) GetApiV4UsersIdGpgKeys

func (a *UsersApiService) GetApiV4UsersIdGpgKeys(ctx context.Context, id int32, localVarOptionals *UsersApiGetApiV4UsersIdGpgKeysOpts) (ApiEntitiesGpgKey, *http.Response, error)

func (*UsersApiService) GetApiV4UsersIdGpgKeysKeyId

func (a *UsersApiService) GetApiV4UsersIdGpgKeysKeyId(ctx context.Context, id int32, keyId int32) (ApiEntitiesGpgKey, *http.Response, error)

UsersApiService Get a specific GPG key for a given user. This feature was added in GitLab 13.5

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user
  • @param keyId The ID of the GPG key

@return ApiEntitiesGpgKey

func (*UsersApiService) GetApiV4UsersIdKeysKeyId

func (a *UsersApiService) GetApiV4UsersIdKeysKeyId(ctx context.Context, id int32, keyId int32) (ApiEntitiesSshKey, *http.Response, error)

UsersApiService Get a SSH key of a specified user.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user
  • @param keyId The ID of the SSH key

@return ApiEntitiesSshKey

func (*UsersApiService) GetApiV4UsersUserIdImpersonationTokens

func (a *UsersApiService) GetApiV4UsersUserIdImpersonationTokens(ctx context.Context, userId int32, localVarOptionals *UsersApiGetApiV4UsersUserIdImpersonationTokensOpts) (ApiEntitiesImpersonationToken, *http.Response, error)

func (*UsersApiService) GetApiV4UsersUserIdImpersonationTokensImpersonationTokenId

func (a *UsersApiService) GetApiV4UsersUserIdImpersonationTokensImpersonationTokenId(ctx context.Context, userId int32, impersonationTokenId int32) (ApiEntitiesImpersonationToken, *http.Response, error)

UsersApiService Retrieve impersonation token. Available only for admins. This feature was introduced in GitLab 9.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of the user
  • @param impersonationTokenId The ID of the impersonation token

@return ApiEntitiesImpersonationToken

func (*UsersApiService) GetApiV4UsersUserIdKeys

func (a *UsersApiService) GetApiV4UsersUserIdKeys(ctx context.Context, userId string, localVarOptionals *UsersApiGetApiV4UsersUserIdKeysOpts) (ApiEntitiesSshKey, *http.Response, error)

func (*UsersApiService) GetApiV4UsersUserIdMemberships

func (a *UsersApiService) GetApiV4UsersUserIdMemberships(ctx context.Context, userId int32, localVarOptionals *UsersApiGetApiV4UsersUserIdMembershipsOpts) (ApiEntitiesMembership, *http.Response, error)

func (*UsersApiService) GetApiV4UsersUserIdProjectDeployKeys

func (a *UsersApiService) GetApiV4UsersUserIdProjectDeployKeys(ctx context.Context, userId string, localVarOptionals *UsersApiGetApiV4UsersUserIdProjectDeployKeysOpts) (ApiEntitiesDeployKey, *http.Response, error)

func (*UsersApiService) GetApiV4UsersUserIdStatus

func (a *UsersApiService) GetApiV4UsersUserIdStatus(ctx context.Context, userId string) (*http.Response, error)

UsersApiService Get the status of a user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID or username of the user

func (*UsersApiService) PatchApiV4UsersIdDisableTwoFactor

func (a *UsersApiService) PatchApiV4UsersIdDisableTwoFactor(ctx context.Context, id int32) (ApiEntitiesUserWithAdmin, *http.Response, error)

UsersApiService Disable two factor authentication for a user. Available only for admins This feature was added in GitLab 15.2

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

@return ApiEntitiesUserWithAdmin

func (*UsersApiService) PostApiV4Users

func (a *UsersApiService) PostApiV4Users(ctx context.Context, postApiV4Users PostApiV4Users) (ApiEntitiesUserWithAdmin, *http.Response, error)

UsersApiService Create a user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param postApiV4Users

@return ApiEntitiesUserWithAdmin

func (*UsersApiService) PostApiV4UsersIdActivate

func (a *UsersApiService) PostApiV4UsersIdActivate(ctx context.Context, id int32) (*http.Response, error)

UsersApiService Activate a deactivated user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

func (*UsersApiService) PostApiV4UsersIdApprove

func (a *UsersApiService) PostApiV4UsersIdApprove(ctx context.Context, id int32) (*http.Response, error)

UsersApiService Approve a pending user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

func (*UsersApiService) PostApiV4UsersIdBan

func (a *UsersApiService) PostApiV4UsersIdBan(ctx context.Context, id int32) (*http.Response, error)

UsersApiService Ban a user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

func (*UsersApiService) PostApiV4UsersIdBlock

func (a *UsersApiService) PostApiV4UsersIdBlock(ctx context.Context, id int32) (*http.Response, error)

UsersApiService Block a user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

func (*UsersApiService) PostApiV4UsersIdDeactivate

func (a *UsersApiService) PostApiV4UsersIdDeactivate(ctx context.Context, id int32) (*http.Response, error)

UsersApiService Deactivate an active user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

func (*UsersApiService) PostApiV4UsersIdEmails

func (a *UsersApiService) PostApiV4UsersIdEmails(ctx context.Context, id int32, postApiV4UsersIdEmails PostApiV4UsersIdEmails) (ApiEntitiesEmail, *http.Response, error)

UsersApiService Add an email address to a specified user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user
  • @param postApiV4UsersIdEmails

@return ApiEntitiesEmail

func (*UsersApiService) PostApiV4UsersIdFollow

func (a *UsersApiService) PostApiV4UsersIdFollow(ctx context.Context, id int32) (ApiEntitiesUser, *http.Response, error)

UsersApiService Follow a user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

@return ApiEntitiesUser

func (*UsersApiService) PostApiV4UsersIdGpgKeys

func (a *UsersApiService) PostApiV4UsersIdGpgKeys(ctx context.Context, id int32, postApiV4UsersIdGpgKeys PostApiV4UsersIdGpgKeys) (ApiEntitiesGpgKey, *http.Response, error)

UsersApiService Add a GPG key to a specified user. Available only for admins. This feature was added in GitLab 10.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user
  • @param postApiV4UsersIdGpgKeys

@return ApiEntitiesGpgKey

func (*UsersApiService) PostApiV4UsersIdGpgKeysKeyIdRevoke

func (a *UsersApiService) PostApiV4UsersIdGpgKeysKeyIdRevoke(ctx context.Context, id int32, keyId int32) (*http.Response, error)

UsersApiService Revokes an existing GPG key from a specified user. Available only for admins. This feature was added in GitLab 10.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user
  • @param keyId The ID of the GPG key

func (*UsersApiService) PostApiV4UsersIdReject

func (a *UsersApiService) PostApiV4UsersIdReject(ctx context.Context, id int32) (*http.Response, error)

UsersApiService Reject a pending user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

func (*UsersApiService) PostApiV4UsersIdUnban

func (a *UsersApiService) PostApiV4UsersIdUnban(ctx context.Context, id int32) (*http.Response, error)

UsersApiService Unban a user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

func (*UsersApiService) PostApiV4UsersIdUnblock

func (a *UsersApiService) PostApiV4UsersIdUnblock(ctx context.Context, id int32) (*http.Response, error)

UsersApiService Unblock a user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

func (*UsersApiService) PostApiV4UsersIdUnfollow

func (a *UsersApiService) PostApiV4UsersIdUnfollow(ctx context.Context, id int32) (ApiEntitiesUser, *http.Response, error)

UsersApiService Unfollow a user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user

@return ApiEntitiesUser

func (*UsersApiService) PostApiV4UsersUserIdImpersonationTokens

func (a *UsersApiService) PostApiV4UsersUserIdImpersonationTokens(ctx context.Context, userId int32, postApiV4UsersUserIdImpersonationTokens PostApiV4UsersUserIdImpersonationTokens) (ApiEntitiesImpersonationTokenWithToken, *http.Response, error)

UsersApiService Create a impersonation token. Available only for admins. This feature was introduced in GitLab 9.0

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of the user
  • @param postApiV4UsersUserIdImpersonationTokens

@return ApiEntitiesImpersonationTokenWithToken

func (*UsersApiService) PostApiV4UsersUserIdKeys

func (a *UsersApiService) PostApiV4UsersUserIdKeys(ctx context.Context, userId int32, postApiV4UsersUserIdKeys PostApiV4UsersUserIdKeys) (ApiEntitiesSshKey, *http.Response, error)

UsersApiService Add an SSH key to a specified user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of the user
  • @param postApiV4UsersUserIdKeys

@return ApiEntitiesSshKey

func (*UsersApiService) PostApiV4UsersUserIdPersonalAccessTokens

func (a *UsersApiService) PostApiV4UsersUserIdPersonalAccessTokens(ctx context.Context, userId int32, postApiV4UsersUserIdPersonalAccessTokens PostApiV4UsersUserIdPersonalAccessTokens) (ApiEntitiesPersonalAccessTokenWithToken, *http.Response, error)

UsersApiService Create a personal access token. Available only for admins. This feature was introduced in GitLab 13.6

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId The ID of the user
  • @param postApiV4UsersUserIdPersonalAccessTokens

@return ApiEntitiesPersonalAccessTokenWithToken

func (*UsersApiService) PutApiV4UsersId

func (a *UsersApiService) PutApiV4UsersId(ctx context.Context, id int32, putApiV4UsersId PutApiV4UsersId) (ApiEntitiesUserWithAdmin, *http.Response, error)

UsersApiService Update a user. Available only for admins.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id The ID of the user
  • @param putApiV4UsersId

@return ApiEntitiesUserWithAdmin

func (*UsersApiService) PutApiV4UsersIdCustomAttributesKey

func (a *UsersApiService) PutApiV4UsersIdCustomAttributesKey(ctx context.Context, key string, id int32, putApiV4UsersIdCustomAttributesKey PutApiV4UsersIdCustomAttributesKey) (*http.Response, error)

UsersApiService Set a custom attribute on a user

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param key The key of the custom attribute
  • @param id
  • @param putApiV4UsersIdCustomAttributesKey

type WebCommitsApiService

type WebCommitsApiService service

func (*WebCommitsApiService) ApiV4WebCommitsPublicKeyGet

func (a *WebCommitsApiService) ApiV4WebCommitsPublicKeyGet(ctx context.Context) (ApiEntitiesWebCommits, *http.Response, error)

WebCommitsApiService Get the GitLab public key for signing web commits. This feature was introduced in GitLab 17.4.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return ApiEntitiesWebCommits

type WikisApiGetApiV4GroupsIdWikisOpts

type WikisApiGetApiV4GroupsIdWikisOpts struct {
	WithContent optional.Bool
}

type WikisApiGetApiV4GroupsIdWikisSlugOpts

type WikisApiGetApiV4GroupsIdWikisSlugOpts struct {
	Version    optional.String
	RenderHtml optional.Bool
}

type WikisApiGetApiV4ProjectsIdWikisOpts

type WikisApiGetApiV4ProjectsIdWikisOpts struct {
	WithContent optional.Bool
}

type WikisApiGetApiV4ProjectsIdWikisSlugOpts

type WikisApiGetApiV4ProjectsIdWikisSlugOpts struct {
	Version    optional.String
	RenderHtml optional.Bool
}

type WikisApiService

type WikisApiService service

func (*WikisApiService) DeleteApiV4GroupsIdWikisSlug

func (a *WikisApiService) DeleteApiV4GroupsIdWikisSlug(ctx context.Context, slug string, id int32) (*http.Response, error)

WikisApiService Delete a wiki page

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param slug The slug of a wiki page
  • @param id

func (*WikisApiService) DeleteApiV4ProjectsIdWikisSlug

func (a *WikisApiService) DeleteApiV4ProjectsIdWikisSlug(ctx context.Context, slug string, id int32) (*http.Response, error)

WikisApiService Delete a wiki page

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param slug The slug of a wiki page
  • @param id

func (*WikisApiService) GetApiV4GroupsIdWikis

func (a *WikisApiService) GetApiV4GroupsIdWikis(ctx context.Context, id int32, localVarOptionals *WikisApiGetApiV4GroupsIdWikisOpts) ([]ApiEntitiesWikiPageBasic, *http.Response, error)

func (*WikisApiService) GetApiV4GroupsIdWikisSlug

func (a *WikisApiService) GetApiV4GroupsIdWikisSlug(ctx context.Context, slug string, id int32, localVarOptionals *WikisApiGetApiV4GroupsIdWikisSlugOpts) (ApiEntitiesWikiPage, *http.Response, error)

func (*WikisApiService) GetApiV4ProjectsIdWikis

func (a *WikisApiService) GetApiV4ProjectsIdWikis(ctx context.Context, id int32, localVarOptionals *WikisApiGetApiV4ProjectsIdWikisOpts) ([]ApiEntitiesWikiPageBasic, *http.Response, error)

func (*WikisApiService) GetApiV4ProjectsIdWikisSlug

func (a *WikisApiService) GetApiV4ProjectsIdWikisSlug(ctx context.Context, slug string, id int32, localVarOptionals *WikisApiGetApiV4ProjectsIdWikisSlugOpts) (ApiEntitiesWikiPage, *http.Response, error)

func (*WikisApiService) PostApiV4GroupsIdWikis

func (a *WikisApiService) PostApiV4GroupsIdWikis(ctx context.Context, id int32, postApiV4GroupsIdWikis PostApiV4GroupsIdWikis) (ApiEntitiesWikiPage, *http.Response, error)

WikisApiService Create a wiki page

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param postApiV4GroupsIdWikis

@return ApiEntitiesWikiPage

func (*WikisApiService) PostApiV4GroupsIdWikisAttachments

func (a *WikisApiService) PostApiV4GroupsIdWikisAttachments(ctx context.Context, id int32, postApiV4GroupsIdWikisAttachments PostApiV4GroupsIdWikisAttachments) (ApiEntitiesWikiAttachment, *http.Response, error)

WikisApiService Upload an attachment to the wiki repository This feature was introduced in GitLab 11.3.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param postApiV4GroupsIdWikisAttachments

@return ApiEntitiesWikiAttachment

func (*WikisApiService) PostApiV4ProjectsIdWikis

func (a *WikisApiService) PostApiV4ProjectsIdWikis(ctx context.Context, id int32, postApiV4ProjectsIdWikis PostApiV4ProjectsIdWikis) (ApiEntitiesWikiPage, *http.Response, error)

WikisApiService Create a wiki page

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param postApiV4ProjectsIdWikis

@return ApiEntitiesWikiPage

func (*WikisApiService) PostApiV4ProjectsIdWikisAttachments

func (a *WikisApiService) PostApiV4ProjectsIdWikisAttachments(ctx context.Context, id int32, postApiV4ProjectsIdWikisAttachments PostApiV4ProjectsIdWikisAttachments) (ApiEntitiesWikiAttachment, *http.Response, error)

WikisApiService Upload an attachment to the wiki repository This feature was introduced in GitLab 11.3.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param postApiV4ProjectsIdWikisAttachments

@return ApiEntitiesWikiAttachment

func (*WikisApiService) PutApiV4GroupsIdWikisSlug

func (a *WikisApiService) PutApiV4GroupsIdWikisSlug(ctx context.Context, id int32, slug int32, putApiV4GroupsIdWikisSlug PutApiV4GroupsIdWikisSlug) (ApiEntitiesWikiPage, *http.Response, error)

WikisApiService Update a wiki page

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param slug
  • @param putApiV4GroupsIdWikisSlug

@return ApiEntitiesWikiPage

func (*WikisApiService) PutApiV4ProjectsIdWikisSlug

func (a *WikisApiService) PutApiV4ProjectsIdWikisSlug(ctx context.Context, id int32, slug int32, putApiV4ProjectsIdWikisSlug PutApiV4ProjectsIdWikisSlug) (ApiEntitiesWikiPage, *http.Response, error)

WikisApiService Update a wiki page

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param slug
  • @param putApiV4ProjectsIdWikisSlug

@return ApiEntitiesWikiPage

Source Files