teams

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTeamsPostRequestBody_notification_setting

func ParseTeamsPostRequestBody_notification_setting(v string) (any, error)

func ParseTeamsPostRequestBody_permission

func ParseTeamsPostRequestBody_permission(v string) (any, error)

func ParseTeamsPostRequestBody_privacy

func ParseTeamsPostRequestBody_privacy(v string) (any, error)

func SerializeTeamsPostRequestBody_notification_setting

func SerializeTeamsPostRequestBody_notification_setting(values []TeamsPostRequestBody_notification_setting) []string

func SerializeTeamsPostRequestBody_permission

func SerializeTeamsPostRequestBody_permission(values []TeamsPostRequestBody_permission) []string

func SerializeTeamsPostRequestBody_privacy

func SerializeTeamsPostRequestBody_privacy(values []TeamsPostRequestBody_privacy) []string

Types

type TeamsPostRequestBody_notification_setting

type TeamsPostRequestBody_notification_setting int

The notification setting the team has chosen. The options are: * `notifications_enabled` - team members receive notifications when the team is @mentioned. * `notifications_disabled` - no one receives notifications. Default: `notifications_enabled`

const (
	NOTIFICATIONS_ENABLED_TEAMSPOSTREQUESTBODY_NOTIFICATION_SETTING TeamsPostRequestBody_notification_setting = iota
	NOTIFICATIONS_DISABLED_TEAMSPOSTREQUESTBODY_NOTIFICATION_SETTING
)

func (TeamsPostRequestBody_notification_setting) String

type TeamsPostRequestBody_permission

type TeamsPostRequestBody_permission int

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

const (
	PULL_TEAMSPOSTREQUESTBODY_PERMISSION TeamsPostRequestBody_permission = iota
	PUSH_TEAMSPOSTREQUESTBODY_PERMISSION
)

func (TeamsPostRequestBody_permission) String

type TeamsPostRequestBody_privacy

type TeamsPostRequestBody_privacy int

The level of privacy this team should have. 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. Default: `secret` **For a parent or child team:** * `closed` - visible to all members of this organization. Default for child team: `closed`

const (
	SECRET_TEAMSPOSTREQUESTBODY_PRIVACY TeamsPostRequestBody_privacy = iota
	CLOSED_TEAMSPOSTREQUESTBODY_PRIVACY
)

func (TeamsPostRequestBody_privacy) String

Jump to

Keyboard shortcuts

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