model

package
v0.0.76 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDeployKeyRequest

type AddDeployKeyRequest struct {
	RepositoryId int32 `json:"repository_id"`

	Body *AddDeployKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (AddDeployKeyRequest) String

func (o AddDeployKeyRequest) String() string

type AddDeployKeyRequestBody

type AddDeployKeyRequestBody struct {
	Application string `json:"application"`

	CanPush bool `json:"can_push"`

	Key string `json:"key"`

	KeyTitle string `json:"key_title"`
}

func (AddDeployKeyRequestBody) String

func (o AddDeployKeyRequestBody) String() string

type AddDeployKeyResponse

type AddDeployKeyResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *Key `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddDeployKeyResponse) String

func (o AddDeployKeyResponse) String() string

type AddDeployKeyV2Request

type AddDeployKeyV2Request struct {
	RepositoryId int32 `json:"repository_id"`

	Body *AddDeployKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (AddDeployKeyV2Request) String

func (o AddDeployKeyV2Request) String() string

type AddDeployKeyV2Response

type AddDeployKeyV2Response struct {
	Error *Error `json:"error,omitempty"`

	Result *Key `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddDeployKeyV2Response) String

func (o AddDeployKeyV2Response) String() string

type AddHooksRequest

type AddHooksRequest struct {
	GroupName string `json:"group_name"`

	RepositoryName string `json:"repository_name"`

	Body *RepositoryHookRequest `json:"body,omitempty"`
}

Request Object

func (AddHooksRequest) String

func (o AddHooksRequest) String() string

type AddHooksResponse

type AddHooksResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *RepoHook `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddHooksResponse) String

func (o AddHooksResponse) String() string

type AddRepoMembersRequest

type AddRepoMembersRequest struct {
	RepositoryUuid string `json:"repository_uuid"`

	Body *CreateRepoMemberRequest `json:"body,omitempty"`
}

Request Object

func (AddRepoMembersRequest) String

func (o AddRepoMembersRequest) String() string

type AddRepoMembersResponse

type AddRepoMembersResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *[]CreateRepoMemberResult `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddRepoMembersResponse) String

func (o AddRepoMembersResponse) String() string

type AddSshKeyRequest

type AddSshKeyRequest struct {
	Body *AddSshKeyRequestBody `json:"body,omitempty"`
}

Request Object

func (AddSshKeyRequest) String

func (o AddSshKeyRequest) String() string

type AddSshKeyRequestBody

type AddSshKeyRequestBody struct {
	Key string `json:"key"`

	Title string `json:"title"`
}

func (AddSshKeyRequestBody) String

func (o AddSshKeyRequestBody) String() string

type AddSshKeyResponse

type AddSshKeyResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *PublicKey `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddSshKeyResponse) String

func (o AddSshKeyResponse) String() string

type Branch

type Branch struct {
	IsProtected *bool `json:"is_protected,omitempty"`

	Name *string `json:"name,omitempty"`
}

func (Branch) String

func (o Branch) String() string

type BranchList

type BranchList struct {
	Branches *[]Branch `json:"branches,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

func (BranchList) String

func (o BranchList) String() string

type Commit

type Commit struct {
	AuthorEmail *string `json:"author_email,omitempty"`

	AuthorName *string `json:"author_name,omitempty"`

	AuthoredDate *sdktime.SdkTime `json:"authored_date,omitempty"`

	CommittedDate *sdktime.SdkTime `json:"committed_date,omitempty"`

	CommitterEmail *string `json:"committer_email,omitempty"`

	CommitterName *string `json:"committer_name,omitempty"`

	Format *interface{} `json:"format,omitempty"`

	Id *string `json:"id,omitempty"`

	Message *string `json:"message,omitempty"`

	ParentIds *[]string `json:"parent_ids,omitempty"`
}

func (Commit) String

func (o Commit) String() string

type CommitAction

type CommitAction struct {
	Action string `json:"action"`

	FilePath string `json:"file_path"`

	PreviousPath *string `json:"previous_path,omitempty"`

	Content *string `json:"content,omitempty"`

	Encoding *string `json:"encoding,omitempty"`

	LastCommitId *string `json:"last_commit_id,omitempty"`

	ExecuteFilemode *bool `json:"execute_filemode,omitempty"`
}

func (CommitAction) String

func (o CommitAction) String() string

type CommitInfo

type CommitInfo struct {
	Id *string `json:"id,omitempty"`

	ShortId *string `json:"short_id,omitempty"`

	Title *string `json:"title,omitempty"`

	AuthorName *string `json:"author_name,omitempty"`

	AuthorEmail *string `json:"author_email,omitempty"`

	CommitterName *string `json:"committer_name,omitempty"`

	CommitterEmail *string `json:"committer_email,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	Message *string `json:"message,omitempty"`

	ParentIds *[]string `json:"parent_ids,omitempty"`

	CommittedDate *sdktime.SdkTime `json:"committed_date,omitempty"`

	AuthoredDate *sdktime.SdkTime `json:"authored_date,omitempty"`
}

func (CommitInfo) String

func (o CommitInfo) String() string

type CommitList

type CommitList struct {
	Commits *[]Commit `json:"commits,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

func (CommitList) String

func (o CommitList) String() string

type CommitStatistic

type CommitStatistic struct {
	Additions *int32 `json:"additions,omitempty"`

	Deletions *int32 `json:"deletions,omitempty"`
}

func (CommitStatistic) String

func (o CommitStatistic) String() string

type CreateCommitRequest

type CreateCommitRequest struct {
	RepoId int32 `json:"repo_id"`

	Body *CreateCommitRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateCommitRequest) String

func (o CreateCommitRequest) String() string

type CreateCommitRequestBody

type CreateCommitRequestBody struct {
	Branch string `json:"branch"`

	CommitMessage string `json:"commit_message"`

	StartBranch *string `json:"start_branch,omitempty"`

	Actions []CommitAction `json:"actions"`

	AuthorEmail *string `json:"author_email,omitempty"`

	AuthorName *string `json:"author_name,omitempty"`

	Stats *bool `json:"stats,omitempty"`

	Force *string `json:"force,omitempty"`
}

func (CreateCommitRequestBody) String

func (o CreateCommitRequestBody) String() string

type CreateCommitResponse

type CreateCommitResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *[]CreateCommitResponseBody `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateCommitResponse) String

func (o CreateCommitResponse) String() string

type CreateCommitResponseBody

type CreateCommitResponseBody struct {
	Id *string `json:"id,omitempty"`

	ShortId *string `json:"short_id,omitempty"`

	Title *string `json:"title,omitempty"`

	AuthorName *string `json:"author_name,omitempty"`

	AuthorEmail *string `json:"author_email,omitempty"`

	CommitterName *string `json:"committer_name,omitempty"`

	CommitterEmail *string `json:"committer_email,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	Message *string `json:"message,omitempty"`

	ParentIds *[]string `json:"parent_ids,omitempty"`

	CommittedDate *sdktime.SdkTime `json:"committed_date,omitempty"`

	AuthoredDate *sdktime.SdkTime `json:"authored_date,omitempty"`

	Stats *CreateCommitResponseBodyStats `json:"stats,omitempty"`
}

func (CreateCommitResponseBody) String

func (o CreateCommitResponseBody) String() string

type CreateCommitResponseBodyStats

type CreateCommitResponseBodyStats struct {
	Additions *int32 `json:"additions,omitempty"`

	Deletions *int32 `json:"deletions,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

统计信息

func (CreateCommitResponseBodyStats) String

type CreateProjectAndRepositoriesRequest

type CreateProjectAndRepositoriesRequest struct {
	Body *CreateProjectRepoRequest `json:"body,omitempty"`
}

Request Object

func (CreateProjectAndRepositoriesRequest) String

type CreateProjectAndRepositoriesResponse

type CreateProjectAndRepositoriesResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *ProjectRepository `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateProjectAndRepositoriesResponse) String

type CreateProjectAndforkRepositoriesRequest

type CreateProjectAndforkRepositoriesRequest struct {
	Body *ForkProjectRepoRequest `json:"body,omitempty"`
}

Request Object

func (CreateProjectAndforkRepositoriesRequest) String

type CreateProjectAndforkRepositoriesResponse

type CreateProjectAndforkRepositoriesResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *ProjectRepository `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateProjectAndforkRepositoriesResponse) String

type CreateProjectRepoRequest

type CreateProjectRepoRequest struct {
	ImportMembers *int32 `json:"import_members,omitempty"`

	ProjectName string `json:"project_name"`

	RepoName string `json:"repo_name"`

	Type *string `json:"type,omitempty"`

	VisibilityLevel *int32 `json:"visibility_level,omitempty"`

	ExternalProjectInfo *ExternalKeyMessage `json:"external_project_info,omitempty"`
}

func (CreateProjectRepoRequest) String

func (o CreateProjectRepoRequest) String() string

type CreateRepoMemberRequest

type CreateRepoMemberRequest struct {
	Users *[]RepoMemberInfo `json:"users,omitempty"`
}

func (CreateRepoMemberRequest) String

func (o CreateRepoMemberRequest) String() string

type CreateRepoMemberResult

type CreateRepoMemberResult struct {
	Id *string `json:"id,omitempty"`

	Message *string `json:"message,omitempty"`

	Name *string `json:"name,omitempty"`

	Status *string `json:"status,omitempty"`
}

func (CreateRepoMemberResult) String

func (o CreateRepoMemberResult) String() string

type CreateRepoRequest

type CreateRepoRequest struct {
	ImportMembers *int32 `json:"import_members,omitempty"`

	Name string `json:"name"`

	ProjectUuid string `json:"project_uuid"`

	TemplateId *string `json:"template_id,omitempty"`

	VisibilityLevel *int32 `json:"visibility_level,omitempty"`

	ImportUrl *string `json:"import_url,omitempty"`

	Description *string `json:"description,omitempty"`

	GitignoreId *string `json:"gitignore_id,omitempty"`

	LicenseId *int32 `json:"license_id,omitempty"`

	EnableReadme *int32 `json:"enable_readme,omitempty"`

	Caller *string `json:"caller,omitempty"`
}

func (CreateRepoRequest) String

func (o CreateRepoRequest) String() string

type CreateRepositoryRequest

type CreateRepositoryRequest struct {
	Body *CreateRepoRequest `json:"body,omitempty"`
}

Request Object

func (CreateRepositoryRequest) String

func (o CreateRepositoryRequest) String() string

type CreateRepositoryResponse

type CreateRepositoryResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *Repository `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateRepositoryResponse) String

func (o CreateRepositoryResponse) String() string

type DeleteDeployKeyRequest

type DeleteDeployKeyRequest struct {
	KeyId int32 `json:"key_id"`

	RepositoryId int32 `json:"repository_id"`
}

Request Object

func (DeleteDeployKeyRequest) String

func (o DeleteDeployKeyRequest) String() string

type DeleteDeployKeyResponse

type DeleteDeployKeyResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *bool `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteDeployKeyResponse) String

func (o DeleteDeployKeyResponse) String() string

type DeleteDeployKeyV2Request

type DeleteDeployKeyV2Request struct {
	KeyId int32 `json:"key_id"`

	RepositoryId int32 `json:"repository_id"`
}

Request Object

func (DeleteDeployKeyV2Request) String

func (o DeleteDeployKeyV2Request) String() string

type DeleteDeployKeyV2Response

type DeleteDeployKeyV2Response struct {
	Error *Error `json:"error,omitempty"`

	Result *bool `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteDeployKeyV2Response) String

func (o DeleteDeployKeyV2Response) String() string

type DeleteHooksRequest

type DeleteHooksRequest struct {
	GroupName string `json:"group_name"`

	HookId int32 `json:"hook_id"`

	RepositoryName string `json:"repository_name"`
}

Request Object

func (DeleteHooksRequest) String

func (o DeleteHooksRequest) String() string

type DeleteHooksResponse

type DeleteHooksResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *interface{} `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteHooksResponse) String

func (o DeleteHooksResponse) String() string

type DeleteRepoMemberRequest

type DeleteRepoMemberRequest struct {
	MemberId string `json:"member_id"`

	RepositoryUuid string `json:"repository_uuid"`
}

Request Object

func (DeleteRepoMemberRequest) String

func (o DeleteRepoMemberRequest) String() string

type DeleteRepoMemberResponse

type DeleteRepoMemberResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *Empty `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteRepoMemberResponse) String

func (o DeleteRepoMemberResponse) String() string

type DeleteRepositoryRequest

type DeleteRepositoryRequest struct {
	RepositoryUuid string `json:"repository_uuid"`
}

Request Object

func (DeleteRepositoryRequest) String

func (o DeleteRepositoryRequest) String() string

type DeleteRepositoryResponse

type DeleteRepositoryResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *bool `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteRepositoryResponse) String

func (o DeleteRepositoryResponse) String() string

type DeleteSShkeyRequest

type DeleteSShkeyRequest struct {
	Id string `json:"id"`
}

Request Object

func (DeleteSShkeyRequest) String

func (o DeleteSShkeyRequest) String() string

type DeleteSShkeyResponse

type DeleteSShkeyResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *string `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteSShkeyResponse) String

func (o DeleteSShkeyResponse) String() string

type DevstarRepoInfo

type DevstarRepoInfo struct {
	Uuid *string `json:"uuid,omitempty"`

	RepoId *string `json:"repo_id,omitempty"`

	RepoName *string `json:"repo_name,omitempty"`

	SshUrl *string `json:"ssh_url,omitempty"`

	CodeUrl *string `json:"code_url,omitempty"`

	DetailUrl *string `json:"detail_url,omitempty"`
}

func (DevstarRepoInfo) String

func (o DevstarRepoInfo) String() string

type DiffCommitInfo

type DiffCommitInfo struct {
	OldPath *string `json:"old_path,omitempty"`

	NewPath *string `json:"new_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"`

	Diff *bool `json:"diff,omitempty"`
}

func (DiffCommitInfo) String

func (o DiffCommitInfo) String() string

type Empty

type Empty struct {
}

func (Empty) String

func (o Empty) String() string

type Error

type Error struct {
	Code *string `json:"code,omitempty"`

	Message *string `json:"message,omitempty"`
}

func (Error) String

func (o Error) String() string

type ExternalKeyMessage

type ExternalKeyMessage struct {
	ExternalKeyMessage *string `json:"external_key_message,omitempty"`

	ExternalService *string `json:"external_service,omitempty"`
}

func (ExternalKeyMessage) String

func (o ExternalKeyMessage) String() string

type FileContentInfo

type FileContentInfo struct {
	FileName *string `json:"file_name,omitempty"`

	FilePath *string `json:"file_path,omitempty"`

	Size *int32 `json:"size,omitempty"`

	Encoding *string `json:"encoding,omitempty"`

	ContentSha256 *string `json:"content_sha256,omitempty"`

	Ref *string `json:"ref,omitempty"`

	BlobId *string `json:"blob_id,omitempty"`

	CommitId *string `json:"commit_id,omitempty"`

	LastCommitId *string `json:"last_commit_id,omitempty"`

	Content *string `json:"content,omitempty"`
}

func (FileContentInfo) String

func (o FileContentInfo) String() string

type FilesResponseInfo

type FilesResponseInfo struct {
	FileName *string `json:"file_name,omitempty"`

	FilePath *string `json:"file_path,omitempty"`

	Size *string `json:"size,omitempty"`

	Encoding *string `json:"encoding,omitempty"`

	Ref *string `json:"ref,omitempty"`

	BlobId *string `json:"blob_id,omitempty"`

	FileType *string `json:"file_type,omitempty"`

	Content *string `json:"content,omitempty"`
}

func (FilesResponseInfo) String

func (o FilesResponseInfo) String() string

type ForkProjectRepoRequest

type ForkProjectRepoRequest struct {
	ImportMembers *int32 `json:"import_members,omitempty"`

	ProjectName string `json:"project_name"`

	RepoName string `json:"repo_name"`

	TemplateId string `json:"template_id"`

	Type *string `json:"type,omitempty"`

	VisibilityLevel *int32 `json:"visibility_level,omitempty"`

	ExternalProjectInfo *ExternalKeyMessage `json:"external_project_info,omitempty"`
}

func (ForkProjectRepoRequest) String

func (o ForkProjectRepoRequest) String() string

type GetAllRepositoryByProjectIdRequest

type GetAllRepositoryByProjectIdRequest struct {
	PageIndex *int32 `json:"page_index,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	ProjectUuid string `json:"project_uuid"`

	Search *string `json:"search,omitempty"`
}

Request Object

func (GetAllRepositoryByProjectIdRequest) String

type GetAllRepositoryByProjectIdResponse

type GetAllRepositoryByProjectIdResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *RepoListInfo `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GetAllRepositoryByProjectIdResponse) String

type GetProductTemplatesRequest

type GetProductTemplatesRequest struct {
	ProjectUuid string `json:"project_uuid"`

	PageNo *int32 `json:"page_no,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`
}

Request Object

func (GetProductTemplatesRequest) String

type GetProductTemplatesResponse

type GetProductTemplatesResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *TemplateListInfo `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GetProductTemplatesResponse) String

type GetRepositoryByProjectIdRequest

type GetRepositoryByProjectIdRequest struct {
	RepositoryUuid string `json:"repository_uuid"`
}

Request Object

func (GetRepositoryByProjectIdRequest) String

type GetRepositoryByProjectIdResponse

type GetRepositoryByProjectIdResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *RepoInfo `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GetRepositoryByProjectIdResponse) String

type GetTemplatesRequest

type GetTemplatesRequest struct {
	Platform *string `json:"platform,omitempty"`

	Language *string `json:"language,omitempty"`

	Pipeline *string `json:"pipeline,omitempty"`

	Entertype *string `json:"entertype,omitempty"`

	Search *string `json:"search,omitempty"`

	Dateorder *string `json:"dateorder,omitempty"`

	Usedtimeorder *string `json:"usedtimeorder,omitempty"`

	Type *string `json:"type,omitempty"`

	Region *string `json:"region,omitempty"`

	PageNo int32 `json:"page_no"`

	PageSize int32 `json:"page_size"`
}

Request Object

func (GetTemplatesRequest) String

func (o GetTemplatesRequest) String() string

type GetTemplatesResponse

type GetTemplatesResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *TemplateRepositoryList `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (GetTemplatesResponse) String

func (o GetTemplatesResponse) String() string

type Key

type Key struct {
	CanPush *bool `json:"can_push,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	Key *string `json:"key,omitempty"`

	KeyId *string `json:"key_id,omitempty"`

	KeyTitle *string `json:"key_title,omitempty"`
}

func (Key) String

func (o Key) String() string

type ListCommitStatisticsRequest

type ListCommitStatisticsRequest struct {
	BranchName string `json:"branch_name"`

	RepositoryId string `json:"repository_id"`
}

Request Object

func (ListCommitStatisticsRequest) String

type ListCommitStatisticsResponse

type ListCommitStatisticsResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *RepoCommitStatistics `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListCommitStatisticsResponse) String

type ListCommitsRequest

type ListCommitsRequest struct {
	RepoId int32 `json:"repo_id"`

	RefName *string `json:"ref_name,omitempty"`

	Since *string `json:"since,omitempty"`

	Until *string `json:"until,omitempty"`

	Path *string `json:"path,omitempty"`

	All *bool `json:"all,omitempty"`

	WithStats *bool `json:"with_stats,omitempty"`
}

Request Object

func (ListCommitsRequest) String

func (o ListCommitsRequest) String() string

type ListCommitsResponse

type ListCommitsResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *[]CommitInfo `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListCommitsResponse) String

func (o ListCommitsResponse) String() string

type ListFilesRequest

type ListFilesRequest struct {
	RepositoryUuid string `json:"repository_uuid"`

	BranchName string `json:"branch_name"`

	Path string `json:"path"`
}

Request Object

func (ListFilesRequest) String

func (o ListFilesRequest) String() string

type ListFilesResponse

type ListFilesResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *FilesResponseInfo `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListFilesResponse) String

func (o ListFilesResponse) String() string

type ListHooksRequest

type ListHooksRequest struct {
	GroupName string `json:"group_name"`

	HookId *string `json:"hook_id,omitempty"`

	RepositoryName string `json:"repository_name"`
}

Request Object

func (ListHooksRequest) String

func (o ListHooksRequest) String() string

type ListHooksResponse

type ListHooksResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *RepoListHook `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListHooksResponse) String

func (o ListHooksResponse) String() string

type ListProductTwoTemplatesRequest

type ListProductTwoTemplatesRequest struct {
	ProjectUuid string `json:"project_uuid"`

	PageNo *int32 `json:"page_no,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`
}

Request Object

func (ListProductTwoTemplatesRequest) String

type ListProductTwoTemplatesResponse

type ListProductTwoTemplatesResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *TemplateListInfo `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListProductTwoTemplatesResponse) String

type ListRepoMembersRequest

type ListRepoMembersRequest struct {
	PageIndex *int32 `json:"page_index,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	RepositoryUuid string `json:"repository_uuid"`

	Subject *string `json:"subject,omitempty"`
}

Request Object

func (ListRepoMembersRequest) String

func (o ListRepoMembersRequest) String() string

type ListRepoMembersResponse

type ListRepoMembersResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *RepositoryMemberList `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListRepoMembersResponse) String

func (o ListRepoMembersResponse) String() string

type ListRepositoryStatusRequest

type ListRepositoryStatusRequest struct {
	RepositoryUuid string `json:"repository_uuid"`
}

Request Object

func (ListRepositoryStatusRequest) String

type ListRepositoryStatusResponse

type ListRepositoryStatusResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *int32 `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListRepositoryStatusResponse) String

type ListSshKeysRequest

type ListSshKeysRequest struct {
}

Request Object

func (ListSshKeysRequest) String

func (o ListSshKeysRequest) String() string

type ListSshKeysResponse

type ListSshKeysResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *PublicKeyList `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListSshKeysResponse) String

func (o ListSshKeysResponse) String() string

type ListSubfilesRequest

type ListSubfilesRequest struct {
	RepositoryUuid string `json:"repository_uuid"`

	BranchName string `json:"branch_name"`

	Path *string `json:"path,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListSubfilesRequest) String

func (o ListSubfilesRequest) String() string

type ListSubfilesResponse

type ListSubfilesResponse struct {
	Trees *[]LogsTree `json:"trees,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListSubfilesResponse) String

func (o ListSubfilesResponse) String() string

type ListTemplatesTwoRequest

type ListTemplatesTwoRequest struct {
	RepositoryUuid string `json:"repository_uuid"`

	Body *RepositoryTemplateVo2 `json:"body,omitempty"`
}

Request Object

func (ListTemplatesTwoRequest) String

func (o ListTemplatesTwoRequest) String() string

type ListTemplatesTwoResponse

type ListTemplatesTwoResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *string `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListTemplatesTwoResponse) String

func (o ListTemplatesTwoResponse) String() string

type ListTwoTemplatesRequest

type ListTwoTemplatesRequest struct {
	Platform *string `json:"platform,omitempty"`

	Language *string `json:"language,omitempty"`

	Pipeline *string `json:"pipeline,omitempty"`

	EnterType *string `json:"enter_type,omitempty"`

	Search *string `json:"search,omitempty"`

	DateOrder *string `json:"date_order,omitempty"`

	UsedTimeOrder *string `json:"used_time_order,omitempty"`

	Type *string `json:"type,omitempty"`

	Region *string `json:"region,omitempty"`

	PageNo int32 `json:"page_no"`

	PageSize int32 `json:"page_size"`
}

Request Object

func (ListTwoTemplatesRequest) String

func (o ListTwoTemplatesRequest) String() string

type ListTwoTemplatesResponse

type ListTwoTemplatesResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *TemplateRepositoryList `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListTwoTemplatesResponse) String

func (o ListTwoTemplatesResponse) String() string

type ListUserAllRepositoriesRequest

type ListUserAllRepositoriesRequest struct {
	PageIndex *int32 `json:"page_index,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	Search *string `json:"search,omitempty"`
}

Request Object

func (ListUserAllRepositoriesRequest) String

type ListUserAllRepositoriesResponse

type ListUserAllRepositoriesResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *RepoListInfoV2 `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListUserAllRepositoriesResponse) String

type LogsTree

type LogsTree struct {
	BlobId *string `json:"blob_id,omitempty"`

	Commit *Commit `json:"commit,omitempty"`

	FileName *string `json:"file_name,omitempty"`

	FilePath *string `json:"file_path,omitempty"`

	Md5 *string `json:"md5,omitempty"`

	Type *string `json:"type,omitempty"`
}

func (LogsTree) String

func (o LogsTree) String() string

type PasswordRequest

type PasswordRequest struct {
	Pwd string `json:"pwd"`
}

func (PasswordRequest) String

func (o PasswordRequest) String() string

type PrivateKeyVerify

type PrivateKeyVerify struct {
	RepositoryUuid string `json:"repository_uuid"`

	PrivateKey string `json:"private_key"`
}

func (PrivateKeyVerify) String

func (o PrivateKeyVerify) String() string

type ProjectRepository

type ProjectRepository struct {
	ProjectUuid *string `json:"projectUuid,omitempty"`

	RepositoryUuid *string `json:"repositoryUuid,omitempty"`
}

func (ProjectRepository) String

func (o ProjectRepository) String() string

type PublicKey

type PublicKey struct {
	Id string `json:"id"`

	Key string `json:"key"`

	Title string `json:"title"`
}

func (PublicKey) String

func (o PublicKey) String() string

type PublicKeyList

type PublicKeyList struct {
	Sshkey *[]PublicKey `json:"sshkey,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

func (PublicKeyList) String

func (o PublicKeyList) String() string

type RepoCommitStatistics

type RepoCommitStatistics struct {
	AllBranchCommitsCount *int32 `json:"all_branch_commits_count,omitempty"`

	Codelines *[]RepoDailyCodeline `json:"codelines,omitempty"`

	Count *int32 `json:"count,omitempty"`

	Event *RepoStatisticsEvent `json:"event,omitempty"`

	Statistics *[]RepoStatistics `json:"statistics,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

仓库统计信息

func (RepoCommitStatistics) String

func (o RepoCommitStatistics) String() string

type RepoDailyCodeline

type RepoDailyCodeline struct {
	Additions *int32 `json:"additions,omitempty"`

	Date *string `json:"date,omitempty"`

	Deletions *int32 `json:"deletions,omitempty"`
}

func (RepoDailyCodeline) String

func (o RepoDailyCodeline) String() string

type RepoHook

type RepoHook struct {
	BuildEvents *bool `json:"build_events,omitempty"`

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	EnableSslVerification *bool `json:"enable_ssl_verification,omitempty"`

	Id *int32 `json:"id,omitempty"`

	IssuesEvents *bool `json:"issues_events,omitempty"`

	MergeRequestsEvents *bool `json:"merge_requests_events,omitempty"`

	NoteEvents *bool `json:"note_events,omitempty"`

	PipelineEvents *bool `json:"pipeline_events,omitempty"`

	ProjectId *int32 `json:"project_id,omitempty"`

	PushEvents *bool `json:"push_events,omitempty"`

	RepositoryUpdateEvents *bool `json:"repository_update_events,omitempty"`

	TagPushEvents *bool `json:"tag_push_events,omitempty"`

	WikiPageEvents *bool `json:"wiki_page_events,omitempty"`
}

func (RepoHook) String

func (o RepoHook) String() string

type RepoInfo

type RepoInfo struct {
	CreateAt *string `json:"createAt,omitempty"`

	GroupName *string `json:"groupName,omitempty"`

	HttpUrl *string `json:"httpUrl,omitempty"`

	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	ProjectId *string `json:"projectId,omitempty"`

	ProjectIsDelete *string `json:"projectIsDelete,omitempty"`

	RepoId *string `json:"repoId,omitempty"`

	SshUrl *string `json:"sshUrl,omitempty"`

	VisibilityLevel *int32 `json:"visibilityLevel,omitempty"`

	WebUrl *string `json:"webUrl,omitempty"`
}

func (RepoInfo) String

func (o RepoInfo) String() string

type RepoInfoV2

type RepoInfoV2 struct {
	CreatedAt *string `json:"created_at,omitempty"`

	CreatorName *string `json:"creator_name,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	HttpsUrl *string `json:"https_url,omitempty"`

	IamUserUuid *string `json:"iam_user_uuid,omitempty"`

	IsOwner *int32 `json:"is_owner,omitempty"`

	LfsSize *string `json:"lfs_size,omitempty"`

	ProjectIsDeleted *string `json:"project_is_deleted,omitempty"`

	ProjectUuid *string `json:"project_uuid,omitempty"`

	RepositoryId *int32 `json:"repository_id,omitempty"`

	RepositoryName *string `json:"repository_name,omitempty"`

	RepositorySize *string `json:"repository_size,omitempty"`

	RepositoryUuid *string `json:"repository_uuid,omitempty"`

	SshUrl *string `json:"ssh_url,omitempty"`

	Star *bool `json:"star,omitempty"`

	Status *int32 `json:"status,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	UserRole *int32 `json:"userRole,omitempty"`

	VisibilityLevel *int32 `json:"visibility_level,omitempty"`

	WebUrl *string `json:"web_url,omitempty"`
}

func (RepoInfoV2) String

func (o RepoInfoV2) String() string

type RepoListHook

type RepoListHook struct {
	Hooks *[]RepoHook `json:"hooks,omitempty"`
}

func (RepoListHook) String

func (o RepoListHook) String() string

type RepoListInfo

type RepoListInfo struct {
	Repositorys *[]RepoInfo `json:"repositorys,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

func (RepoListInfo) String

func (o RepoListInfo) String() string

type RepoListInfoV2

type RepoListInfoV2 struct {
	Repositories *[]RepoInfoV2 `json:"repositories,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

func (RepoListInfoV2) String

func (o RepoListInfoV2) String() string

type RepoMemberInfo

type RepoMemberInfo struct {
	DomainId *string `json:"domain_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Id string `json:"id"`

	Name string `json:"name"`

	Role int32 `json:"role"`
}

func (RepoMemberInfo) String

func (o RepoMemberInfo) String() string

type RepoStatistics

type RepoStatistics struct {
	AddLines *int32 `json:"add_lines,omitempty"`

	Branch *string `json:"branch,omitempty"`

	CommitCount *int32 `json:"commit_count,omitempty"`

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	DeleteLines *int32 `json:"delete_lines,omitempty"`

	Id *int32 `json:"id,omitempty"`

	ProjectId *int32 `json:"project_id,omitempty"`

	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	UserName *string `json:"user_name,omitempty"`
}

func (RepoStatistics) String

func (o RepoStatistics) String() string

type RepoStatisticsEvent

type RepoStatisticsEvent struct {
	Branch *string `json:"branch,omitempty"`

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	Date *string `json:"date,omitempty"`

	Id *int32 `json:"id,omitempty"`

	ProjectId *int32 `json:"project_id,omitempty"`

	Status *string `json:"status,omitempty"`

	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	UserId *int32 `json:"user_id,omitempty"`
}

func (RepoStatisticsEvent) String

func (o RepoStatisticsEvent) String() string

type RepoStatisticsLaunch

type RepoStatisticsLaunch struct {
	CanStatistics *bool `json:"can_statistics,omitempty"`

	JoinId *string `json:"join_id,omitempty"`

	Message *string `json:"message,omitempty"`
}

func (RepoStatisticsLaunch) String

func (o RepoStatisticsLaunch) String() string

type Repository

type Repository struct {
	RepositoryUuid *string `json:"repository_uuid,omitempty"`
}

func (Repository) String

func (o Repository) String() string

type RepositoryHookRequest

type RepositoryHookRequest struct {
	HookUrl string `json:"hook_url"`

	Service string `json:"service"`

	Token *string `json:"token,omitempty"`

	HookEvents []string `json:"hook_events"`
}

func (RepositoryHookRequest) String

func (o RepositoryHookRequest) String() string

type RepositoryMember

type RepositoryMember struct {
	Description *string `json:"description,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	Email *string `json:"email,omitempty"`

	Enabled *string `json:"enabled,omitempty"`

	Name *string `json:"name,omitempty"`

	Role *int32 `json:"role,omitempty"`

	UserId *string `json:"user_id,omitempty"`
}

func (RepositoryMember) String

func (o RepositoryMember) String() string

type RepositoryMemberList

type RepositoryMemberList struct {
	Total *int32 `json:"total,omitempty"`

	Users *[]RepositoryMember `json:"users,omitempty"`
}

func (RepositoryMemberList) String

func (o RepositoryMemberList) String() string

type RepositoryTemplateVo

type RepositoryTemplateVo struct {
	TemplateType string `json:"templateType"`

	CodeTitle *string `json:"codeTitle,omitempty"`

	CreatorName *string `json:"creatorName,omitempty"`

	CodeDescription *string `json:"codeDescription,omitempty"`

	Languages *[]string `json:"languages,omitempty"`

	Plateform *[]string `json:"plateform,omitempty"`

	Entertype *[]string `json:"entertype,omitempty"`
}

func (RepositoryTemplateVo) String

func (o RepositoryTemplateVo) String() string

type RepositoryTemplateVo2

type RepositoryTemplateVo2 struct {
	TemplateType string `json:"template_type"`

	CodeTitle *string `json:"code_title,omitempty"`

	CreatorName *string `json:"creator_name,omitempty"`

	CodeDescription *string `json:"code_description,omitempty"`

	Languages *[]string `json:"languages,omitempty"`

	Plateform *[]string `json:"plateform,omitempty"`

	Entertype *[]string `json:"entertype,omitempty"`
}

func (RepositoryTemplateVo2) String

func (o RepositoryTemplateVo2) String() string

type SetRepoRoleRequest

type SetRepoRoleRequest struct {
	MemberId string `json:"member_id"`

	RepositoryUuid string `json:"repository_uuid"`

	Body *SetRepoRoleRequestBody `json:"body,omitempty"`
}

Request Object

func (SetRepoRoleRequest) String

func (o SetRepoRoleRequest) String() string

type SetRepoRoleRequestBody

type SetRepoRoleRequestBody struct {
	Role SetRepoRoleRequestBodyRole `json:"role"`
}

func (SetRepoRoleRequestBody) String

func (o SetRepoRoleRequestBody) String() string

type SetRepoRoleRequestBodyRole

type SetRepoRoleRequestBodyRole struct {
	// contains filtered or unexported fields
}

func (SetRepoRoleRequestBodyRole) MarshalJSON

func (c SetRepoRoleRequestBodyRole) MarshalJSON() ([]byte, error)

func (*SetRepoRoleRequestBodyRole) UnmarshalJSON

func (c *SetRepoRoleRequestBodyRole) UnmarshalJSON(b []byte) error

type SetRepoRoleRequestBodyRoleEnum

type SetRepoRoleRequestBodyRoleEnum struct {
	E_20 SetRepoRoleRequestBodyRole
	E_30 SetRepoRoleRequestBodyRole
	E_40 SetRepoRoleRequestBodyRole
}

func GetSetRepoRoleRequestBodyRoleEnum

func GetSetRepoRoleRequestBodyRoleEnum() SetRepoRoleRequestBodyRoleEnum

type SetRepoRoleResponse

type SetRepoRoleResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *Empty `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (SetRepoRoleResponse) String

func (o SetRepoRoleResponse) String() string

type ShareTemplatesRequest

type ShareTemplatesRequest struct {
	RepositoryUuid string `json:"repository_uuid"`

	Body *RepositoryTemplateVo `json:"body,omitempty"`
}

Request Object

func (ShareTemplatesRequest) String

func (o ShareTemplatesRequest) String() string

type ShareTemplatesResponse

type ShareTemplatesResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *string `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShareTemplatesResponse) String

func (o ShareTemplatesResponse) String() string

type ShowAllRepositoryByTwoProjectIdRequest

type ShowAllRepositoryByTwoProjectIdRequest struct {
	PageIndex *int32 `json:"page_index,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	ProjectUuid string `json:"project_uuid"`

	Search *string `json:"search,omitempty"`
}

Request Object

func (ShowAllRepositoryByTwoProjectIdRequest) String

type ShowAllRepositoryByTwoProjectIdResponse

type ShowAllRepositoryByTwoProjectIdResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *RepoListInfoV2 `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowAllRepositoryByTwoProjectIdResponse) String

type ShowBranchesByRepositoryIdRequest

type ShowBranchesByRepositoryIdRequest struct {
	RepositoryId string `json:"repository_id"`
}

Request Object

func (ShowBranchesByRepositoryIdRequest) String

type ShowBranchesByRepositoryIdResponse

type ShowBranchesByRepositoryIdResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *BranchList `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowBranchesByRepositoryIdResponse) String

type ShowBranchesByTwoRepositoryIdRequest

type ShowBranchesByTwoRepositoryIdRequest struct {
	RepositoryId string `json:"repository_id"`
}

Request Object

func (ShowBranchesByTwoRepositoryIdRequest) String

type ShowBranchesByTwoRepositoryIdResponse

type ShowBranchesByTwoRepositoryIdResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *TagList `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowBranchesByTwoRepositoryIdResponse) String

type ShowCommitsByBranchRequest

type ShowCommitsByBranchRequest struct {
	GroupName string `json:"group_name"`

	PageIndex *int32 `json:"page_index,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	RefName string `json:"ref_name"`

	RepositoryName string `json:"repository_name"`
}

Request Object

func (ShowCommitsByBranchRequest) String

type ShowCommitsByBranchResponse

type ShowCommitsByBranchResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *CommitList `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCommitsByBranchResponse) String

type ShowCommitsByRepoIdRequest

type ShowCommitsByRepoIdRequest struct {
	Author *string `json:"author,omitempty"`

	BeginDate *string `json:"begin_date,omitempty"`

	EndDate *string `json:"end_date,omitempty"`

	Message *string `json:"message,omitempty"`

	PageIndex *int32 `json:"page_index,omitempty"`

	PageSize *int32 `json:"page_size,omitempty"`

	Path *string `json:"path,omitempty"`

	RefName string `json:"ref_name"`

	RepositoryId int32 `json:"repository_id"`

	StatFormat *string `json:"stat_format,omitempty"`
}

Request Object

func (ShowCommitsByRepoIdRequest) String

type ShowCommitsByRepoIdResponse

type ShowCommitsByRepoIdResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *CommitList `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCommitsByRepoIdResponse) String

type ShowDiffCommitRequest

type ShowDiffCommitRequest struct {
	RepoId int32 `json:"repo_id"`

	Sha string `json:"sha"`
}

Request Object

func (ShowDiffCommitRequest) String

func (o ShowDiffCommitRequest) String() string

type ShowDiffCommitResponse

type ShowDiffCommitResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *[]DiffCommitInfo `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDiffCommitResponse) String

func (o ShowDiffCommitResponse) String() string

type ShowFileRequest

type ShowFileRequest struct {
	RepoId int32 `json:"repo_id"`

	FilePath string `json:"file_path"`

	Ref string `json:"ref"`
}

Request Object

func (ShowFileRequest) String

func (o ShowFileRequest) String() string

type ShowFileResponse

type ShowFileResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *[]FileContentInfo `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowFileResponse) String

func (o ShowFileResponse) String() string

type ShowHasPipelineRequest

type ShowHasPipelineRequest struct {
	RepositoryUuid string `json:"repository_uuid"`
}

Request Object

func (ShowHasPipelineRequest) String

func (o ShowHasPipelineRequest) String() string

type ShowHasPipelineResponse

type ShowHasPipelineResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *bool `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowHasPipelineResponse) String

func (o ShowHasPipelineResponse) String() string

type ShowImageBlobRequest

type ShowImageBlobRequest struct {
	RepositoryUuid string `json:"repository_uuid"`

	BranchName string `json:"branch_name"`

	Path string `json:"path"`
}

Request Object

func (ShowImageBlobRequest) String

func (o ShowImageBlobRequest) String() string

type ShowImageBlobResponse

type ShowImageBlobResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ShowImageBlobResponse) String

func (o ShowImageBlobResponse) String() string

type ShowMasterRequest

type ShowMasterRequest struct {
	RepositoryUuid string `json:"repository_uuid"`
}

Request Object

func (ShowMasterRequest) String

func (o ShowMasterRequest) String() string

type ShowMasterResponse

type ShowMasterResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *bool `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowMasterResponse) String

func (o ShowMasterResponse) String() string

type ShowPrivateKeyVerifyRequest

type ShowPrivateKeyVerifyRequest struct {
	Body *PrivateKeyVerify `json:"body,omitempty"`
}

Request Object

func (ShowPrivateKeyVerifyRequest) String

type ShowPrivateKeyVerifyResponse

type ShowPrivateKeyVerifyResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *string `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowPrivateKeyVerifyResponse) String

type ShowRepoIdRequest

type ShowRepoIdRequest struct {
	GroupName string `json:"group_name"`

	RepositoryName string `json:"repository_name"`
}

Request Object

func (ShowRepoIdRequest) String

func (o ShowRepoIdRequest) String() string

type ShowRepoIdResponse

type ShowRepoIdResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *int32 `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowRepoIdResponse) String

func (o ShowRepoIdResponse) String() string

type ShowRepositoryArchiveRequest

type ShowRepositoryArchiveRequest struct {
	RepositoryUuid string `json:"repository_uuid"`

	Sha string `json:"sha"`

	Format string `json:"format"`
}

Request Object

func (ShowRepositoryArchiveRequest) String

type ShowRepositoryArchiveResponse

type ShowRepositoryArchiveResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ShowRepositoryArchiveResponse) String

type ShowRepositoryByUuidRequest

type ShowRepositoryByUuidRequest struct {
	RepositoryUuid string `json:"repository_uuid"`
}

Request Object

func (ShowRepositoryByUuidRequest) String

type ShowRepositoryByUuidResponse

type ShowRepositoryByUuidResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *RepoInfoV2 `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowRepositoryByUuidResponse) String

type ShowRepositoryNameExistRequest

type ShowRepositoryNameExistRequest struct {
	ProjectUuid string `json:"project_uuid"`

	RepositoryName string `json:"repository_name"`
}

Request Object

func (ShowRepositoryNameExistRequest) String

type ShowRepositoryNameExistResponse

type ShowRepositoryNameExistResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *bool `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowRepositoryNameExistResponse) String

type ShowRepositoryStatisticsRequest

type ShowRepositoryStatisticsRequest struct {
	RepositoryId int32 `json:"repository_id"`

	Body *ShowRepositoryStatisticsRequestBody `json:"body,omitempty"`
}

Request Object

func (ShowRepositoryStatisticsRequest) String

type ShowRepositoryStatisticsRequestBody

type ShowRepositoryStatisticsRequestBody struct {
	BranchName string `json:"branch_name"`
}

func (ShowRepositoryStatisticsRequestBody) String

type ShowRepositoryStatisticsResponse

type ShowRepositoryStatisticsResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *RepoStatisticsLaunch `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowRepositoryStatisticsResponse) String

type ShowSingleCommitRequest

type ShowSingleCommitRequest struct {
	RepoId int32 `json:"repo_id"`

	Sha string `json:"sha"`

	Stats *bool `json:"stats,omitempty"`
}

Request Object

func (ShowSingleCommitRequest) String

func (o ShowSingleCommitRequest) String() string

type ShowSingleCommitResponse

type ShowSingleCommitResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *SpecificCommitInfo `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowSingleCommitResponse) String

func (o ShowSingleCommitResponse) String() string

type ShowStatisticCommitRequest

type ShowStatisticCommitRequest struct {
	RepositoryId int32 `json:"repository_id"`

	RefName string `json:"ref_name"`

	BeginDate string `json:"begin_date"`

	EndDate string `json:"end_date"`
}

Request Object

func (ShowStatisticCommitRequest) String

type ShowStatisticCommitResponse

type ShowStatisticCommitResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *[]CommitStatistic `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowStatisticCommitResponse) String

type ShowStatisticalDataRequest

type ShowStatisticalDataRequest struct {
	RepositoryUuid string `json:"repository_uuid"`
}

Request Object

func (ShowStatisticalDataRequest) String

type ShowStatisticalDataResponse

type ShowStatisticalDataResponse struct {
	RepoName *string `json:"repoName,omitempty"`

	CommitCount *int32 `json:"commitCount,omitempty"`

	RepoSize *string `json:"repoSize,omitempty"`

	LastCommitTime *string `json:"lastCommitTime,omitempty"`

	CodeLines *int32 `json:"codeLines,omitempty"`

	BranchCount *int32 `json:"branchCount,omitempty"`

	ArchiveUrl     *string `json:"archiveUrl,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowStatisticalDataResponse) String

type SpecificCommitInfo

type SpecificCommitInfo struct {
	Id *string `json:"id,omitempty"`

	ShortId *string `json:"short_id,omitempty"`

	Title *string `json:"title,omitempty"`

	AuthorName *string `json:"author_name,omitempty"`

	AuthorEmail *string `json:"author_email,omitempty"`

	CommitterName *string `json:"committer_name,omitempty"`

	CommitterEmail *string `json:"committer_email,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	Message *string `json:"message,omitempty"`

	ParentIds *[]string `json:"parent_ids,omitempty"`

	CommittedDate *sdktime.SdkTime `json:"committed_date,omitempty"`

	AuthoredDate *sdktime.SdkTime `json:"authored_date,omitempty"`

	Stats *SpecificCommitInfoStats `json:"stats,omitempty"`

	LastPipeline *SpecificCommitInfoLastPipeline `json:"last_pipeline,omitempty"`
}

func (SpecificCommitInfo) String

func (o SpecificCommitInfo) String() string

type SpecificCommitInfoLastPipeline

type SpecificCommitInfoLastPipeline struct {
	Id *int32 `json:"id,omitempty"`

	Sha *string `json:"sha,omitempty"`

	Ref *string `json:"ref,omitempty"`

	Status *string `json:"status,omitempty"`

	WebUrl *string `json:"web_url,omitempty"`
}

流水线信息

func (SpecificCommitInfoLastPipeline) String

type SpecificCommitInfoStats

type SpecificCommitInfoStats struct {
	Additions *int32 `json:"additions,omitempty"`

	Deletions *int32 `json:"deletions,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

变更行数

func (SpecificCommitInfoStats) String

func (o SpecificCommitInfoStats) String() string

type Tag

type Tag struct {
	IsDoubleName *bool `json:"is_double_name,omitempty"`

	Name *string `json:"name,omitempty"`
}

func (Tag) String

func (o Tag) String() string

type TagList

type TagList struct {
	Tags *[]Tag `json:"tags,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

func (TagList) String

func (o TagList) String() string

type TemplateListInfo

type TemplateListInfo struct {
	Repos *[]DevstarRepoInfo `json:"repos,omitempty"`

	TotalCount *int32 `json:"total_count,omitempty"`
}

func (TemplateListInfo) String

func (o TemplateListInfo) String() string

type TemplateRepository

type TemplateRepository struct {
	Id *int32 `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	TemplateName *string `json:"template_name,omitempty"`

	Tags *[]string `json:"tags,omitempty"`

	Description *string `json:"description,omitempty"`

	BriefIntroduction *string `json:"brief_introduction,omitempty"`

	AutoPendingPipelines *int32 `json:"auto_pending_pipelines,omitempty"`

	Language *string `json:"language,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UsedTimes *int32 `json:"used_times,omitempty"`

	LikedTimes *int32 `json:"liked_times,omitempty"`

	CreatorName *string `json:"creator_name,omitempty"`

	HttpsUrl *string `json:"https_url,omitempty"`
}

func (TemplateRepository) String

func (o TemplateRepository) String() string

type TemplateRepositoryList

type TemplateRepositoryList struct {
	Projects *[]TemplateRepository `json:"projects,omitempty"`

	Total *int32 `json:"total,omitempty"`
}

func (TemplateRepositoryList) String

func (o TemplateRepositoryList) String() string

type ValidateHttpsInfoRequest

type ValidateHttpsInfoRequest struct {
	IamUserUuid string `json:"iam_user_uuid"`

	Body *PasswordRequest `json:"body,omitempty"`
}

Request Object

func (ValidateHttpsInfoRequest) String

func (o ValidateHttpsInfoRequest) String() string

type ValidateHttpsInfoResponse

type ValidateHttpsInfoResponse struct {
	Error *Error `json:"error,omitempty"`

	Result *string `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ValidateHttpsInfoResponse) String

func (o ValidateHttpsInfoResponse) String() string

type ValidateHttpsInfoV2Request

type ValidateHttpsInfoV2Request struct {
	IamUserUuid string `json:"iam_user_uuid"`

	Body *PasswordRequest `json:"body,omitempty"`
}

Request Object

func (ValidateHttpsInfoV2Request) String

type ValidateHttpsInfoV2Response

type ValidateHttpsInfoV2Response struct {
	Error *Error `json:"error,omitempty"`

	Result *string `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ValidateHttpsInfoV2Response) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL