item

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseWithTeam_slugPatchRequestBody_notification_setting

func ParseWithTeam_slugPatchRequestBody_notification_setting(v string) (any, error)

func ParseWithTeam_slugPatchRequestBody_permission

func ParseWithTeam_slugPatchRequestBody_permission(v string) (any, error)

func ParseWithTeam_slugPatchRequestBody_privacy

func ParseWithTeam_slugPatchRequestBody_privacy(v string) (any, error)

func SerializeWithTeam_slugPatchRequestBody_notification_setting

func SerializeWithTeam_slugPatchRequestBody_notification_setting(values []WithTeam_slugPatchRequestBody_notification_setting) []string

func SerializeWithTeam_slugPatchRequestBody_permission

func SerializeWithTeam_slugPatchRequestBody_permission(values []WithTeam_slugPatchRequestBody_permission) []string

func SerializeWithTeam_slugPatchRequestBody_privacy

func SerializeWithTeam_slugPatchRequestBody_privacy(values []WithTeam_slugPatchRequestBody_privacy) []string

Types

type WithTeam_slugPatchRequestBody_notification_setting

type WithTeam_slugPatchRequestBody_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_SLUGPATCHREQUESTBODY_NOTIFICATION_SETTING WithTeam_slugPatchRequestBody_notification_setting = iota
	NOTIFICATIONS_DISABLED_WITHTEAM_SLUGPATCHREQUESTBODY_NOTIFICATION_SETTING
)

func (WithTeam_slugPatchRequestBody_notification_setting) String

type WithTeam_slugPatchRequestBody_permission

type WithTeam_slugPatchRequestBody_permission int

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

const (
	PULL_WITHTEAM_SLUGPATCHREQUESTBODY_PERMISSION WithTeam_slugPatchRequestBody_permission = iota
	PUSH_WITHTEAM_SLUGPATCHREQUESTBODY_PERMISSION
	ADMIN_WITHTEAM_SLUGPATCHREQUESTBODY_PERMISSION
)

func (WithTeam_slugPatchRequestBody_permission) String

type WithTeam_slugPatchRequestBody_privacy

type WithTeam_slugPatchRequestBody_privacy int

The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. 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_SLUGPATCHREQUESTBODY_PRIVACY WithTeam_slugPatchRequestBody_privacy = iota
	CLOSED_WITHTEAM_SLUGPATCHREQUESTBODY_PRIVACY
)

func (WithTeam_slugPatchRequestBody_privacy) String

Directories

Path Synopsis
memberships
projects

Jump to

Keyboard shortcuts

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