organizations

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemCustom_rolesGetResponseFromDiscriminatorValue

CreateItemCustom_rolesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

Types

type ItemCustom_rolesGetResponse

type ItemCustom_rolesGetResponse struct {
	// contains filtered or unexported fields
}

func NewItemCustom_rolesGetResponse

func NewItemCustom_rolesGetResponse() *ItemCustom_rolesGetResponse

NewItemCustom_rolesGetResponse instantiates a new ItemCustom_rolesGetResponse and sets the default values.

func (*ItemCustom_rolesGetResponse) GetAdditionalData

func (m *ItemCustom_rolesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCustom_rolesGetResponse) GetCustomRoles

GetCustomRoles gets the custom_roles property value. The custom_roles property returns a []OrganizationCustomRepositoryRoleable when successful

func (*ItemCustom_rolesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemCustom_rolesGetResponse) GetTotalCount

func (m *ItemCustom_rolesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The number of custom roles in this organization returns a *int32 when successful

func (*ItemCustom_rolesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemCustom_rolesGetResponse) SetAdditionalData

func (m *ItemCustom_rolesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCustom_rolesGetResponse) SetCustomRoles

SetCustomRoles sets the custom_roles property value. The custom_roles property

func (*ItemCustom_rolesGetResponse) SetTotalCount

func (m *ItemCustom_rolesGetResponse) SetTotalCount(value *int32)

SetTotalCount sets the total_count property value. The number of custom roles in this organization

type ItemCustom_rolesRequestBuilder

ItemCustom_rolesRequestBuilder builds and executes requests for operations under \organizations\{organization_id}\custom_roles

func NewItemCustom_rolesRequestBuilder

NewItemCustom_rolesRequestBuilder instantiates a new ItemCustom_rolesRequestBuilder and sets the default values.

func NewItemCustom_rolesRequestBuilderInternal

func NewItemCustom_rolesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCustom_rolesRequestBuilder

NewItemCustom_rolesRequestBuilderInternal instantiates a new ItemCustom_rolesRequestBuilder and sets the default values.

func (*ItemCustom_rolesRequestBuilder) Get

Get > [!WARNING]> **Deprecation notice:** This operation is deprecated and will be removed in the future. Use the "[List custom repository roles](https://docs.github.com/enterprise-server@3.12/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization)" endpoint instead.List the custom repository roles available in this organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.12/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be administrator of the organization or of a repository of the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. Deprecated: returns a ItemCustom_rolesGetResponseable when successful API method documentation

func (*ItemCustom_rolesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation > [!WARNING]> **Deprecation notice:** This operation is deprecated and will be removed in the future. Use the "[List custom repository roles](https://docs.github.com/enterprise-server@3.12/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization)" endpoint instead.List the custom repository roles available in this organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.12/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be administrator of the organization or of a repository of the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. Deprecated: returns a *RequestInformation when successful

func (*ItemCustom_rolesRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated: returns a *ItemCustom_rolesRequestBuilder when successful

type OrganizationsRequestBuilder

OrganizationsRequestBuilder builds and executes requests for operations under \organizations

func NewOrganizationsRequestBuilder

NewOrganizationsRequestBuilder instantiates a new OrganizationsRequestBuilder and sets the default values.

func NewOrganizationsRequestBuilderInternal

func NewOrganizationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OrganizationsRequestBuilder

NewOrganizationsRequestBuilderInternal instantiates a new OrganizationsRequestBuilder and sets the default values.

func (*OrganizationsRequestBuilder) ByOrganization_id

func (m *OrganizationsRequestBuilder) ByOrganization_id(organization_id string) *WithOrganization_ItemRequestBuilder

ByOrganization_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.organizations.item collection returns a *WithOrganization_ItemRequestBuilder when successful

func (*OrganizationsRequestBuilder) Get

Get lists all organizations, in the order that they were created.> [!NOTE]> Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. returns a []OrganizationSimpleable when successful API method documentation

func (*OrganizationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all organizations, in the order that they were created.> [!NOTE]> Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations. returns a *RequestInformation when successful

func (*OrganizationsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *OrganizationsRequestBuilder when successful

type OrganizationsRequestBuilderGetQueryParameters

type OrganizationsRequestBuilderGetQueryParameters struct {
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.12/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// An organization ID. Only return organizations with an ID greater than this ID.
	Since *int32 `uriparametername:"since"`
}

OrganizationsRequestBuilderGetQueryParameters lists all organizations, in the order that they were created.> [!NOTE]> Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/enterprise-server@3.12/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of organizations.

type WithOrganization_ItemRequestBuilder

WithOrganization_ItemRequestBuilder builds and executes requests for operations under \organizations\{organization_id}

func NewWithOrganization_ItemRequestBuilder

NewWithOrganization_ItemRequestBuilder instantiates a new WithOrganization_ItemRequestBuilder and sets the default values.

func NewWithOrganization_ItemRequestBuilderInternal

func NewWithOrganization_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithOrganization_ItemRequestBuilder

NewWithOrganization_ItemRequestBuilderInternal instantiates a new WithOrganization_ItemRequestBuilder and sets the default values.

func (*WithOrganization_ItemRequestBuilder) Custom_roles

Custom_roles the custom_roles property returns a *ItemCustom_rolesRequestBuilder when successful

Jump to

Keyboard shortcuts

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