item

package
v0.0.5-GHES.3.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseWithTeam_PatchRequestBody_notification_setting

func ParseWithTeam_PatchRequestBody_notification_setting(v string) (any, error)

func ParseWithTeam_PatchRequestBody_permission

func ParseWithTeam_PatchRequestBody_permission(v string) (any, error)

func ParseWithTeam_PatchRequestBody_privacy

func ParseWithTeam_PatchRequestBody_privacy(v string) (any, error)

func SerializeWithTeam_PatchRequestBody_notification_setting

func SerializeWithTeam_PatchRequestBody_notification_setting(values []WithTeam_PatchRequestBody_notification_setting) []string

func SerializeWithTeam_PatchRequestBody_permission

func SerializeWithTeam_PatchRequestBody_permission(values []WithTeam_PatchRequestBody_permission) []string

func SerializeWithTeam_PatchRequestBody_privacy

func SerializeWithTeam_PatchRequestBody_privacy(values []WithTeam_PatchRequestBody_privacy) []string

Types

type WithTeam_PatchRequestBody_notification_setting

type WithTeam_PatchRequestBody_notification_setting int

The notification setting the team has chosen. Editing teams without specifying this parameter leaves `notification_setting` intact. The options are: * `notifications_enabled` - team members receive notifications when the team is @mentioned. * `notifications_disabled` - no one receives notifications.

const (
	NOTIFICATIONS_ENABLED_WITHTEAM_PATCHREQUESTBODY_NOTIFICATION_SETTING WithTeam_PatchRequestBody_notification_setting = iota
	NOTIFICATIONS_DISABLED_WITHTEAM_PATCHREQUESTBODY_NOTIFICATION_SETTING
)

func (WithTeam_PatchRequestBody_notification_setting) String

type WithTeam_PatchRequestBody_permission

type WithTeam_PatchRequestBody_permission int

**Deprecated**. The permission that new repositories will be added to the team with when none is specified.

const (
	PULL_WITHTEAM_PATCHREQUESTBODY_PERMISSION WithTeam_PatchRequestBody_permission = iota
	PUSH_WITHTEAM_PATCHREQUESTBODY_PERMISSION
	ADMIN_WITHTEAM_PATCHREQUESTBODY_PERMISSION
)

func (WithTeam_PatchRequestBody_permission) String

type WithTeam_PatchRequestBody_privacy

type WithTeam_PatchRequestBody_privacy int

The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are: **For a non-nested team:** * `secret` - only visible to organization owners and members of this team. * `closed` - visible to all members of this organization. **For a parent or child team:** * `closed` - visible to all members of this organization.

const (
	SECRET_WITHTEAM_PATCHREQUESTBODY_PRIVACY WithTeam_PatchRequestBody_privacy = iota
	CLOSED_WITHTEAM_PATCHREQUESTBODY_PRIVACY
)

func (WithTeam_PatchRequestBody_privacy) String

Directories

Path Synopsis
memberships
projects
repos

Jump to

Keyboard shortcuts

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