Documentation
¶
Index ¶
- func ParseWithTeam_PatchRequestBody_notification_setting(v string) (any, error)
- func ParseWithTeam_PatchRequestBody_permission(v string) (any, error)
- func ParseWithTeam_PatchRequestBody_privacy(v string) (any, error)
- func SerializeWithTeam_PatchRequestBody_notification_setting(values []WithTeam_PatchRequestBody_notification_setting) []string
- func SerializeWithTeam_PatchRequestBody_permission(values []WithTeam_PatchRequestBody_permission) []string
- func SerializeWithTeam_PatchRequestBody_privacy(values []WithTeam_PatchRequestBody_privacy) []string
- type WithTeam_PatchRequestBody_notification_setting
- type WithTeam_PatchRequestBody_permission
- type WithTeam_PatchRequestBody_privacy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func (i WithTeam_PatchRequestBody_notification_setting) String() 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 ¶
func (i WithTeam_PatchRequestBody_permission) String() 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 ¶
func (i WithTeam_PatchRequestBody_privacy) String() string