Documentation ¶
Index ¶
- type AddTenantTrustedIpAddressRequest
- type AddTenantTrustedIpAddressResponse
- type AddTrustedIpAddressRequest
- type AddTrustedIpAddressRequestBody
- type AddTrustedIpAddressResponse
- type AssociateGroupUserGroupRequest
- type AssociateGroupUserGroupResponse
- type AssociateRepositoryUserGroupRequest
- type AssociateRepositoryUserGroupResponse
- type CreateGroupRequest
- type CreateGroupRequestBody
- type CreateGroupRequestBodyVisibility
- type CreateGroupRequestBodyVisibilityEnum
- type CreateGroupResponse
- type CreateGroupResponseVisibility
- type CreateGroupResponseVisibilityEnum
- type DeleteGroupRequest
- type DeleteGroupResponse
- type DeleteTenantTrustedIpAddressRequest
- type DeleteTenantTrustedIpAddressResponse
- type DeleteTrustedIpAddressRequest
- type DeleteTrustedIpAddressResponse
- type FailureForBatchCreateGroupMembersDto
- type GroupSumDto
- type GroupsManageableDto
- type ListManageableGroupsRequest
- type ListManageableGroupsRequestScope
- type ListManageableGroupsRequestScopeEnum
- type ListManageableGroupsResponse
- type ListTenantTrustedIpAddressesRequest
- type ListTenantTrustedIpAddressesResponse
- type ListTrustedIpAddressesRequest
- type ListTrustedIpAddressesResponse
- type LockRepositoryRequest
- type LockRepositoryResponse
- type MemberBaseDto
- type ShowGroupRequest
- type ShowGroupResponse
- type ShowGroupResponseVisibility
- type ShowGroupResponseVisibilityEnum
- type TenantTrustedIpAddressDto
- type TrustedIpAddressDto
- type UnlockRepositoryRequest
- type UnlockRepositoryResponse
- type UpdateTenantTrustedIpAddressRequest
- type UpdateTenantTrustedIpAddressResponse
- type UpdateTrustedIpAddressRequest
- type UpdateTrustedIpAddressResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTenantTrustedIpAddressRequest ¶
type AddTenantTrustedIpAddressRequest struct {
Body *AddTrustedIpAddressRequestBody `json:"body,omitempty"`
}
AddTenantTrustedIpAddressRequest Request Object
func (AddTenantTrustedIpAddressRequest) String ¶
func (o AddTenantTrustedIpAddressRequest) String() string
type AddTenantTrustedIpAddressResponse ¶
type AddTenantTrustedIpAddressResponse struct { // 关联结果 Id *string `json:"id,omitempty"` // 用户id UserId *int32 `json:"user_id,omitempty"` // 租户id DomainId *string `json:"domain_id,omitempty"` // ip范围 IpRange *string `json:"ip_range,omitempty"` // 格式类型,指定ip,ip范围,CIDR IpType *int32 `json:"ip_type,omitempty"` // 起始ip IpStart *string `json:"ip_start,omitempty"` // 结束ip IpEnd *string `json:"ip_end,omitempty"` // 是否允许访问代码仓库 ViewFlag *int32 `json:"view_flag,omitempty"` // 是否允许下载代码 DownloadFlag *int32 `json:"download_flag,omitempty"` // 是否允许提交代码 UploadFlag *int32 `json:"upload_flag,omitempty"` // 备注 Remark *string `json:"remark,omitempty"` // 创建时间 CreatedAt *string `json:"created_at,omitempty"` // 更新时间 UpdatedAt *string `json:"updated_at,omitempty"` // 排序 OrderFlag *int32 `json:"order_flag,omitempty"` HttpStatusCode int `json:"-"` }
AddTenantTrustedIpAddressResponse Response Object
func (AddTenantTrustedIpAddressResponse) String ¶
func (o AddTenantTrustedIpAddressResponse) String() string
type AddTrustedIpAddressRequest ¶
type AddTrustedIpAddressRequest struct { // 仓库id Id int32 `json:"id"` Body *AddTrustedIpAddressRequestBody `json:"body,omitempty"` }
AddTrustedIpAddressRequest Request Object
func (AddTrustedIpAddressRequest) String ¶
func (o AddTrustedIpAddressRequest) String() string
type AddTrustedIpAddressRequestBody ¶
type AddTrustedIpAddressRequestBody struct { // 格式类型,指定ip,ip范围,CIDR IpType *int32 `json:"ip_type,omitempty"` // 起始ip IpStart *string `json:"ip_start,omitempty"` // 结束ip IpEnd *string `json:"ip_end,omitempty"` // 是否允许访问代码仓库 ViewFlag *int32 `json:"view_flag,omitempty"` // 是否允许下载代码 DownloadFlag *int32 `json:"download_flag,omitempty"` // 是否允许提交代码 UploadFlag *int32 `json:"upload_flag,omitempty"` // 备注 Remark *string `json:"remark,omitempty"` }
AddTrustedIpAddressRequestBody 添加ip白名单请求体
func (AddTrustedIpAddressRequestBody) String ¶
func (o AddTrustedIpAddressRequestBody) String() string
type AddTrustedIpAddressResponse ¶
type AddTrustedIpAddressResponse struct { // 关联结果 Id *string `json:"id,omitempty"` // 仓库id RepositoryId *int32 `json:"repository_id,omitempty"` // ip范围 IpRange *string `json:"ip_range,omitempty"` // 格式类型,指定ip,ip范围,CIDR IpType *int32 `json:"ip_type,omitempty"` // 起始ip IpStart *string `json:"ip_start,omitempty"` // 结束ip IpEnd *string `json:"ip_end,omitempty"` // 是否允许访问代码仓库 ViewFlag *int32 `json:"view_flag,omitempty"` // 是否允许下载代码 DownloadFlag *int32 `json:"download_flag,omitempty"` // 是否允许提交代码 UploadFlag *int32 `json:"upload_flag,omitempty"` // 备注 Remark *string `json:"remark,omitempty"` // 创建时间 CreatedAt *string `json:"created_at,omitempty"` // 更新时间 UpdatedAt *string `json:"updated_at,omitempty"` // 排序 OrderFlag *int32 `json:"order_flag,omitempty"` HttpStatusCode int `json:"-"` }
AddTrustedIpAddressResponse Response Object
func (AddTrustedIpAddressResponse) String ¶
func (o AddTrustedIpAddressResponse) String() string
type AssociateGroupUserGroupRequest ¶
type AssociateGroupUserGroupRequest struct { // 项目id ProjectId string `json:"project_id"` // 代码组 ID GroupId int32 `json:"group_id"` // 成员组 ID UserGroupId string `json:"user_group_id"` }
AssociateGroupUserGroupRequest Request Object
func (AssociateGroupUserGroupRequest) String ¶
func (o AssociateGroupUserGroupRequest) String() string
type AssociateGroupUserGroupResponse ¶
type AssociateGroupUserGroupResponse struct { // 关联成功成员列表 Success *[]MemberBaseDto `json:"success,omitempty"` // 关联失败成员列表 Failure *[]FailureForBatchCreateGroupMembersDto `json:"failure,omitempty"` HttpStatusCode int `json:"-"` }
AssociateGroupUserGroupResponse Response Object
func (AssociateGroupUserGroupResponse) String ¶
func (o AssociateGroupUserGroupResponse) String() string
type AssociateRepositoryUserGroupRequest ¶
type AssociateRepositoryUserGroupRequest struct { // 项目id ProjectId string `json:"project_id"` // 仓库id RepositoryId int32 `json:"repository_id"` // 成员组id UserGroupId string `json:"user_group_id"` }
AssociateRepositoryUserGroupRequest Request Object
func (AssociateRepositoryUserGroupRequest) String ¶
func (o AssociateRepositoryUserGroupRequest) String() string
type AssociateRepositoryUserGroupResponse ¶
type AssociateRepositoryUserGroupResponse struct { // 关联结果 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
AssociateRepositoryUserGroupResponse Response Object
func (AssociateRepositoryUserGroupResponse) String ¶
func (o AssociateRepositoryUserGroupResponse) String() string
type CreateGroupRequest ¶
type CreateGroupRequest struct { // 项目id ProjectId string `json:"project_id"` Body *CreateGroupRequestBody `json:"body,omitempty"` }
CreateGroupRequest Request Object
func (CreateGroupRequest) String ¶
func (o CreateGroupRequest) String() string
type CreateGroupRequestBody ¶
type CreateGroupRequestBody struct { // 代码组名称 Name *string `json:"name,omitempty"` // 父级代码组id, 不传默认在项目下创建代码组 ParentId *int32 `json:"parent_id,omitempty"` // 可见性, private public Visibility *CreateGroupRequestBodyVisibility `json:"visibility,omitempty"` // 描述 Description *string `json:"description,omitempty"` }
CreateGroupRequestBody 创建代码组请求体
func (CreateGroupRequestBody) String ¶
func (o CreateGroupRequestBody) String() string
type CreateGroupRequestBodyVisibility ¶
type CreateGroupRequestBodyVisibility struct {
// contains filtered or unexported fields
}
func (CreateGroupRequestBodyVisibility) MarshalJSON ¶
func (c CreateGroupRequestBodyVisibility) MarshalJSON() ([]byte, error)
func (*CreateGroupRequestBodyVisibility) UnmarshalJSON ¶
func (c *CreateGroupRequestBodyVisibility) UnmarshalJSON(b []byte) error
func (CreateGroupRequestBodyVisibility) Value ¶
func (c CreateGroupRequestBodyVisibility) Value() string
type CreateGroupRequestBodyVisibilityEnum ¶
type CreateGroupRequestBodyVisibilityEnum struct { PUBLIC CreateGroupRequestBodyVisibility PRIVATE CreateGroupRequestBodyVisibility }
func GetCreateGroupRequestBodyVisibilityEnum ¶
func GetCreateGroupRequestBodyVisibilityEnum() CreateGroupRequestBodyVisibilityEnum
type CreateGroupResponse ¶
type CreateGroupResponse struct { // 代码组描述信息 Description *string `json:"description,omitempty"` // 代码组全名 FullName *interface{} `json:"full_name,omitempty"` // 代码组id Id *int32 `json:"id,omitempty"` // 错误码 Name *string `json:"name,omitempty"` // 可见性, private public Visibility *CreateGroupResponseVisibility `json:"visibility,omitempty"` HttpStatusCode int `json:"-"` }
CreateGroupResponse Response Object
func (CreateGroupResponse) String ¶
func (o CreateGroupResponse) String() string
type CreateGroupResponseVisibility ¶
type CreateGroupResponseVisibility struct {
// contains filtered or unexported fields
}
func (CreateGroupResponseVisibility) MarshalJSON ¶
func (c CreateGroupResponseVisibility) MarshalJSON() ([]byte, error)
func (*CreateGroupResponseVisibility) UnmarshalJSON ¶
func (c *CreateGroupResponseVisibility) UnmarshalJSON(b []byte) error
func (CreateGroupResponseVisibility) Value ¶
func (c CreateGroupResponseVisibility) Value() string
type CreateGroupResponseVisibilityEnum ¶
type CreateGroupResponseVisibilityEnum struct { PUBLIC CreateGroupResponseVisibility PRIVATE CreateGroupResponseVisibility }
func GetCreateGroupResponseVisibilityEnum ¶
func GetCreateGroupResponseVisibilityEnum() CreateGroupResponseVisibilityEnum
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { // 项目id ProjectId string `json:"project_id"` // 代码组id GroupId int32 `json:"group_id"` }
DeleteGroupRequest Request Object
func (DeleteGroupRequest) String ¶
func (o DeleteGroupRequest) String() string
type DeleteGroupResponse ¶
type DeleteGroupResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
DeleteGroupResponse Response Object
func (DeleteGroupResponse) String ¶
func (o DeleteGroupResponse) String() string
type DeleteTenantTrustedIpAddressRequest ¶
type DeleteTenantTrustedIpAddressRequest struct { // ip的id IpId int32 `json:"ip_id"` }
DeleteTenantTrustedIpAddressRequest Request Object
func (DeleteTenantTrustedIpAddressRequest) String ¶
func (o DeleteTenantTrustedIpAddressRequest) String() string
type DeleteTenantTrustedIpAddressResponse ¶
type DeleteTenantTrustedIpAddressResponse struct { // 状态码 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
DeleteTenantTrustedIpAddressResponse Response Object
func (DeleteTenantTrustedIpAddressResponse) String ¶
func (o DeleteTenantTrustedIpAddressResponse) String() string
type DeleteTrustedIpAddressRequest ¶
type DeleteTrustedIpAddressRequest struct { // ip的id Id int32 `json:"id"` // ip的id IpId int32 `json:"ip_id"` }
DeleteTrustedIpAddressRequest Request Object
func (DeleteTrustedIpAddressRequest) String ¶
func (o DeleteTrustedIpAddressRequest) String() string
type DeleteTrustedIpAddressResponse ¶
type DeleteTrustedIpAddressResponse struct { // 状态码 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
DeleteTrustedIpAddressResponse Response Object
func (DeleteTrustedIpAddressResponse) String ¶
func (o DeleteTrustedIpAddressResponse) String() string
type FailureForBatchCreateGroupMembersDto ¶
type FailureForBatchCreateGroupMembersDto struct { // iam_id IamId *string `json:"iam_id,omitempty"` // 失败原因 Message *[]string `json:"message,omitempty"` }
FailureForBatchCreateGroupMembersDto 关联失败成员
func (FailureForBatchCreateGroupMembersDto) String ¶
func (o FailureForBatchCreateGroupMembersDto) String() string
type GroupSumDto ¶
type GroupSumDto struct { // 打开状态MR计数 OpenMergeRequestsCount *int32 `json:"open_merge_requests_count,omitempty"` }
func (GroupSumDto) String ¶
func (o GroupSumDto) String() string
type GroupsManageableDto ¶
type GroupsManageableDto struct { // 代码组全名 FullName *string `json:"full_name,omitempty"` // 代码组id Id *int32 `json:"id,omitempty"` // 代码组名 Name *string `json:"name,omitempty"` }
func (GroupsManageableDto) String ¶
func (o GroupsManageableDto) String() string
type ListManageableGroupsRequest ¶
type ListManageableGroupsRequest struct { // 项目id ProjectId string `json:"project_id"` // 创建资源类型,group 代码组,repository仓库 Scope *ListManageableGroupsRequestScope `json:"scope,omitempty"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 返回数量 Limit *int32 `json:"limit,omitempty"` }
ListManageableGroupsRequest Request Object
func (ListManageableGroupsRequest) String ¶
func (o ListManageableGroupsRequest) String() string
type ListManageableGroupsRequestScope ¶
type ListManageableGroupsRequestScope struct {
// contains filtered or unexported fields
}
func (ListManageableGroupsRequestScope) MarshalJSON ¶
func (c ListManageableGroupsRequestScope) MarshalJSON() ([]byte, error)
func (*ListManageableGroupsRequestScope) UnmarshalJSON ¶
func (c *ListManageableGroupsRequestScope) UnmarshalJSON(b []byte) error
func (ListManageableGroupsRequestScope) Value ¶
func (c ListManageableGroupsRequestScope) Value() string
type ListManageableGroupsRequestScopeEnum ¶
type ListManageableGroupsRequestScopeEnum struct { GROUP ListManageableGroupsRequestScope REPOSITORY ListManageableGroupsRequestScope }
func GetListManageableGroupsRequestScopeEnum ¶
func GetListManageableGroupsRequestScopeEnum() ListManageableGroupsRequestScopeEnum
type ListManageableGroupsResponse ¶
type ListManageableGroupsResponse struct { // 仓库ip白名单列表 Body *[]GroupsManageableDto `json:"body,omitempty"` XTotal *string `json:"X-Total,omitempty"` HttpStatusCode int `json:"-"` }
ListManageableGroupsResponse Response Object
func (ListManageableGroupsResponse) String ¶
func (o ListManageableGroupsResponse) String() string
type ListTenantTrustedIpAddressesRequest ¶
type ListTenantTrustedIpAddressesRequest struct { // 偏移量 Offset *int32 `json:"offset,omitempty"` // 返回数量 Limit *int32 `json:"limit,omitempty"` }
ListTenantTrustedIpAddressesRequest Request Object
func (ListTenantTrustedIpAddressesRequest) String ¶
func (o ListTenantTrustedIpAddressesRequest) String() string
type ListTenantTrustedIpAddressesResponse ¶
type ListTenantTrustedIpAddressesResponse struct { // 租户ip白名单列表 Body *[]TenantTrustedIpAddressDto `json:"body,omitempty"` XTotal *string `json:"X-Total,omitempty"` HttpStatusCode int `json:"-"` }
ListTenantTrustedIpAddressesResponse Response Object
func (ListTenantTrustedIpAddressesResponse) String ¶
func (o ListTenantTrustedIpAddressesResponse) String() string
type ListTrustedIpAddressesRequest ¶
type ListTrustedIpAddressesRequest struct { // 仓库id Id int32 `json:"id"` // 偏移量 Offset *int32 `json:"offset,omitempty"` // 返回数量 Limit *int32 `json:"limit,omitempty"` }
ListTrustedIpAddressesRequest Request Object
func (ListTrustedIpAddressesRequest) String ¶
func (o ListTrustedIpAddressesRequest) String() string
type ListTrustedIpAddressesResponse ¶
type ListTrustedIpAddressesResponse struct { // 仓库ip白名单列表 Body *[]TrustedIpAddressDto `json:"body,omitempty"` XTotal *string `json:"X-Total,omitempty"` HttpStatusCode int `json:"-"` }
ListTrustedIpAddressesResponse Response Object
func (ListTrustedIpAddressesResponse) String ¶
func (o ListTrustedIpAddressesResponse) String() string
type LockRepositoryRequest ¶
type LockRepositoryRequest struct { // 项目id ProjectId string `json:"project_id"` // 仓库的主键id RepositoryId int32 `json:"repository_id"` }
LockRepositoryRequest Request Object
func (LockRepositoryRequest) String ¶
func (o LockRepositoryRequest) String() string
type LockRepositoryResponse ¶
type LockRepositoryResponse struct { // 锁定状态 Locked *string `json:"locked,omitempty"` HttpStatusCode int `json:"-"` }
LockRepositoryResponse Response Object
func (LockRepositoryResponse) String ¶
func (o LockRepositoryResponse) String() string
type MemberBaseDto ¶
type MemberBaseDto struct { // 用户id Id *string `json:"id,omitempty"` // iam_id IamId *string `json:"iam_id,omitempty"` // 成员名字 Name *string `json:"name,omitempty"` }
MemberBaseDto 成员基础信息
func (MemberBaseDto) String ¶
func (o MemberBaseDto) String() string
type ShowGroupRequest ¶
type ShowGroupRequest struct { // 项目id ProjectId string `json:"project_id"` // 代码组id GroupId int32 `json:"group_id"` }
ShowGroupRequest Request Object
func (ShowGroupRequest) String ¶
func (o ShowGroupRequest) String() string
type ShowGroupResponse ¶
type ShowGroupResponse struct { // 创建者id CreatorId *int32 `json:"creator_id,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 创建时间 CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 代码组全名 FullName *string `json:"full_name,omitempty"` // 代码组层级路径id AncestorIds *[]int32 `json:"ancestor_ids,omitempty"` // 代码组层级路径名称 AncestorNames *[]string `json:"ancestor_names,omitempty"` // 代码组id Id *int32 `json:"id,omitempty"` // 代码组成员计数 MembersCount *int32 `json:"members_count,omitempty"` // 代码组名 Name *string `json:"name,omitempty"` // 仓库计数 RepositoryCount *int32 `json:"repository_count,omitempty"` // 关注计数 StarCount *int32 `json:"star_count,omitempty"` // 是否关注 Starred *bool `json:"starred,omitempty"` // 子组计数 SubgroupCount *int32 `json:"subgroup_count,omitempty"` // 可见性, private public Visibility *ShowGroupResponseVisibility `json:"visibility,omitempty"` Sum *GroupSumDto `json:"sum,omitempty"` HttpStatusCode int `json:"-"` }
ShowGroupResponse Response Object
func (ShowGroupResponse) String ¶
func (o ShowGroupResponse) String() string
type ShowGroupResponseVisibility ¶
type ShowGroupResponseVisibility struct {
// contains filtered or unexported fields
}
func (ShowGroupResponseVisibility) MarshalJSON ¶
func (c ShowGroupResponseVisibility) MarshalJSON() ([]byte, error)
func (*ShowGroupResponseVisibility) UnmarshalJSON ¶
func (c *ShowGroupResponseVisibility) UnmarshalJSON(b []byte) error
func (ShowGroupResponseVisibility) Value ¶
func (c ShowGroupResponseVisibility) Value() string
type ShowGroupResponseVisibilityEnum ¶
type ShowGroupResponseVisibilityEnum struct { PUBLIC ShowGroupResponseVisibility PRIVATE ShowGroupResponseVisibility }
func GetShowGroupResponseVisibilityEnum ¶
func GetShowGroupResponseVisibilityEnum() ShowGroupResponseVisibilityEnum
type TenantTrustedIpAddressDto ¶
type TenantTrustedIpAddressDto struct { // 关联结果 Id *string `json:"id,omitempty"` // 用户id UserId *int32 `json:"user_id,omitempty"` // 租户id DomainId *string `json:"domain_id,omitempty"` // ip范围 IpRange *string `json:"ip_range,omitempty"` // 格式类型,指定ip,ip范围,CIDR IpType *int32 `json:"ip_type,omitempty"` // 起始ip IpStart *string `json:"ip_start,omitempty"` // 结束ip IpEnd *string `json:"ip_end,omitempty"` // 是否允许访问代码仓库 ViewFlag *int32 `json:"view_flag,omitempty"` // 是否允许下载代码 DownloadFlag *int32 `json:"download_flag,omitempty"` // 是否允许提交代码 UploadFlag *int32 `json:"upload_flag,omitempty"` // 备注 Remark *string `json:"remark,omitempty"` // 创建时间 CreatedAt *string `json:"created_at,omitempty"` // 更新时间 UpdatedAt *string `json:"updated_at,omitempty"` // 排序 OrderFlag *int32 `json:"order_flag,omitempty"` }
TenantTrustedIpAddressDto ip白名单信息
func (TenantTrustedIpAddressDto) String ¶
func (o TenantTrustedIpAddressDto) String() string
type TrustedIpAddressDto ¶
type TrustedIpAddressDto struct { // 关联结果 Id *string `json:"id,omitempty"` // 仓库id RepositoryId *int32 `json:"repository_id,omitempty"` // ip范围 IpRange *string `json:"ip_range,omitempty"` // 格式类型,指定ip,ip范围,CIDR IpType *int32 `json:"ip_type,omitempty"` // 起始ip IpStart *string `json:"ip_start,omitempty"` // 结束ip IpEnd *string `json:"ip_end,omitempty"` // 是否允许访问代码仓库 ViewFlag *int32 `json:"view_flag,omitempty"` // 是否允许下载代码 DownloadFlag *int32 `json:"download_flag,omitempty"` // 是否允许提交代码 UploadFlag *int32 `json:"upload_flag,omitempty"` // 备注 Remark *string `json:"remark,omitempty"` // 创建时间 CreatedAt *string `json:"created_at,omitempty"` // 更新时间 UpdatedAt *string `json:"updated_at,omitempty"` // 排序 OrderFlag *int32 `json:"order_flag,omitempty"` }
TrustedIpAddressDto ip白名单信息
func (TrustedIpAddressDto) String ¶
func (o TrustedIpAddressDto) String() string
type UnlockRepositoryRequest ¶
type UnlockRepositoryRequest struct { // 项目id ProjectId string `json:"project_id"` // 仓库的主键id RepositoryId int32 `json:"repository_id"` }
UnlockRepositoryRequest Request Object
func (UnlockRepositoryRequest) String ¶
func (o UnlockRepositoryRequest) String() string
type UnlockRepositoryResponse ¶
type UnlockRepositoryResponse struct { // 锁定状态 Locked *string `json:"locked,omitempty"` HttpStatusCode int `json:"-"` }
UnlockRepositoryResponse Response Object
func (UnlockRepositoryResponse) String ¶
func (o UnlockRepositoryResponse) String() string
type UpdateTenantTrustedIpAddressRequest ¶
type UpdateTenantTrustedIpAddressRequest struct { // ip的ip IpId int32 `json:"ip_id"` Body *AddTrustedIpAddressRequestBody `json:"body,omitempty"` }
UpdateTenantTrustedIpAddressRequest Request Object
func (UpdateTenantTrustedIpAddressRequest) String ¶
func (o UpdateTenantTrustedIpAddressRequest) String() string
type UpdateTenantTrustedIpAddressResponse ¶
type UpdateTenantTrustedIpAddressResponse struct { // 关联结果 Id *string `json:"id,omitempty"` // 用户id UserId *int32 `json:"user_id,omitempty"` // 租户id DomainId *string `json:"domain_id,omitempty"` // ip范围 IpRange *string `json:"ip_range,omitempty"` // 格式类型,指定ip,ip范围,CIDR IpType *int32 `json:"ip_type,omitempty"` // 起始ip IpStart *string `json:"ip_start,omitempty"` // 结束ip IpEnd *string `json:"ip_end,omitempty"` // 是否允许访问代码仓库 ViewFlag *int32 `json:"view_flag,omitempty"` // 是否允许下载代码 DownloadFlag *int32 `json:"download_flag,omitempty"` // 是否允许提交代码 UploadFlag *int32 `json:"upload_flag,omitempty"` // 备注 Remark *string `json:"remark,omitempty"` // 创建时间 CreatedAt *string `json:"created_at,omitempty"` // 更新时间 UpdatedAt *string `json:"updated_at,omitempty"` // 排序 OrderFlag *int32 `json:"order_flag,omitempty"` HttpStatusCode int `json:"-"` }
UpdateTenantTrustedIpAddressResponse Response Object
func (UpdateTenantTrustedIpAddressResponse) String ¶
func (o UpdateTenantTrustedIpAddressResponse) String() string
type UpdateTrustedIpAddressRequest ¶
type UpdateTrustedIpAddressRequest struct { // 仓库id Id int32 `json:"id"` // ip的id IpId int32 `json:"ip_id"` Body *AddTrustedIpAddressRequestBody `json:"body,omitempty"` }
UpdateTrustedIpAddressRequest Request Object
func (UpdateTrustedIpAddressRequest) String ¶
func (o UpdateTrustedIpAddressRequest) String() string
type UpdateTrustedIpAddressResponse ¶
type UpdateTrustedIpAddressResponse struct { // 关联结果 Id *string `json:"id,omitempty"` // 仓库id RepositoryId *int32 `json:"repository_id,omitempty"` // ip范围 IpRange *string `json:"ip_range,omitempty"` // 格式类型,指定ip,ip范围,CIDR IpType *int32 `json:"ip_type,omitempty"` // 起始ip IpStart *string `json:"ip_start,omitempty"` // 结束ip IpEnd *string `json:"ip_end,omitempty"` // 是否允许访问代码仓库 ViewFlag *int32 `json:"view_flag,omitempty"` // 是否允许下载代码 DownloadFlag *int32 `json:"download_flag,omitempty"` // 是否允许提交代码 UploadFlag *int32 `json:"upload_flag,omitempty"` // 备注 Remark *string `json:"remark,omitempty"` // 创建时间 CreatedAt *string `json:"created_at,omitempty"` // 更新时间 UpdatedAt *string `json:"updated_at,omitempty"` // 排序 OrderFlag *int32 `json:"order_flag,omitempty"` HttpStatusCode int `json:"-"` }
UpdateTrustedIpAddressResponse Response Object
func (UpdateTrustedIpAddressResponse) String ¶
func (o UpdateTrustedIpAddressResponse) String() string
Source Files ¶
- model_add_tenant_trusted_ip_address_request.go
- model_add_tenant_trusted_ip_address_response.go
- model_add_trusted_ip_address_request.go
- model_add_trusted_ip_address_request_body.go
- model_add_trusted_ip_address_response.go
- model_associate_group_user_group_request.go
- model_associate_group_user_group_response.go
- model_associate_repository_user_group_request.go
- model_associate_repository_user_group_response.go
- model_create_group_request.go
- model_create_group_request_body.go
- model_create_group_response.go
- model_delete_group_request.go
- model_delete_group_response.go
- model_delete_tenant_trusted_ip_address_request.go
- model_delete_tenant_trusted_ip_address_response.go
- model_delete_trusted_ip_address_request.go
- model_delete_trusted_ip_address_response.go
- model_failure_for_batch_create_group_members_dto.go
- model_group_sum_dto.go
- model_groups_manageable_dto.go
- model_list_manageable_groups_request.go
- model_list_manageable_groups_response.go
- model_list_tenant_trusted_ip_addresses_request.go
- model_list_tenant_trusted_ip_addresses_response.go
- model_list_trusted_ip_addresses_request.go
- model_list_trusted_ip_addresses_response.go
- model_lock_repository_request.go
- model_lock_repository_response.go
- model_member_base_dto.go
- model_show_group_request.go
- model_show_group_response.go
- model_tenant_trusted_ip_address_dto.go
- model_trusted_ip_address_dto.go
- model_unlock_repository_request.go
- model_unlock_repository_response.go
- model_update_tenant_trusted_ip_address_request.go
- model_update_tenant_trusted_ip_address_response.go
- model_update_trusted_ip_address_request.go
- model_update_trusted_ip_address_response.go