item

package
v0.0.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseWithOrgPatchRequestBody_default_repository_permission

func ParseWithOrgPatchRequestBody_default_repository_permission(v string) (any, error)

func ParseWithOrgPatchRequestBody_members_allowed_repository_creation_type

func ParseWithOrgPatchRequestBody_members_allowed_repository_creation_type(v string) (any, error)

func SerializeWithOrgPatchRequestBody_default_repository_permission

func SerializeWithOrgPatchRequestBody_default_repository_permission(values []WithOrgPatchRequestBody_default_repository_permission) []string

func SerializeWithOrgPatchRequestBody_members_allowed_repository_creation_type

func SerializeWithOrgPatchRequestBody_members_allowed_repository_creation_type(values []WithOrgPatchRequestBody_members_allowed_repository_creation_type) []string

Types

type WithOrgPatchRequestBody_default_repository_permission

type WithOrgPatchRequestBody_default_repository_permission int

Default permission level members have for organization repositories.

const (
	READ_WITHORGPATCHREQUESTBODY_DEFAULT_REPOSITORY_PERMISSION WithOrgPatchRequestBody_default_repository_permission = iota
	WRITE_WITHORGPATCHREQUESTBODY_DEFAULT_REPOSITORY_PERMISSION
	ADMIN_WITHORGPATCHREQUESTBODY_DEFAULT_REPOSITORY_PERMISSION
	NONE_WITHORGPATCHREQUESTBODY_DEFAULT_REPOSITORY_PERMISSION
)

func (WithOrgPatchRequestBody_default_repository_permission) String

type WithOrgPatchRequestBody_members_allowed_repository_creation_type

type WithOrgPatchRequestBody_members_allowed_repository_creation_type int

Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.

const (
	ALL_WITHORGPATCHREQUESTBODY_MEMBERS_ALLOWED_REPOSITORY_CREATION_TYPE WithOrgPatchRequestBody_members_allowed_repository_creation_type = iota
	PRIVATE_WITHORGPATCHREQUESTBODY_MEMBERS_ALLOWED_REPOSITORY_CREATION_TYPE
	NONE_WITHORGPATCHREQUESTBODY_MEMBERS_ALLOWED_REPOSITORY_CREATION_TYPE
)

func (WithOrgPatchRequestBody_members_allowed_repository_creation_type) String

Jump to

Keyboard shortcuts

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