func (s *organizationService) GetOrganizationSettings(
	ctx context.Context,
	organizationId string,
) (repositoryBaseRole v1alpha1.RepositoryRole, pluginBaseRole v1alpha1.PluginRole, templateBaseRole v1alpha1.TemplateRole, membersCount uint32, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.GetOrganizationSettings(
		ctx,
		&v1alpha1.GetOrganizationSettingsRequest{
			OrganizationId: organizationId,
		},
	)
	if err != nil {
		return v1alpha1.RepositoryRole(0), v1alpha1.PluginRole(0), v1alpha1.TemplateRole(0), 0, err
	}
	return response.RepositoryBaseRole, response.PluginBaseRole, response.TemplateBaseRole, response.MembersCount, nil
}
// GetOrganizationSettings gets the settings of an organization, including organization base roles.
GetOrganizationSettings gets the settings of an organization, including organization base roles.
// GetOrganizationSettings gets the settings of an organization including organization base roles .
func (s *organizationService) GetOrganizationSettings(
	ctx context.Context,
	organizationId string,
) (repositoryBaseRole v1alpha1.RepositoryRole, pluginBaseRole v1alpha1.PluginRole, templateBaseRole v1alpha1.TemplateRole, membersCount uint32, _ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	response, err := s.client.GetOrganizationSettings(
		ctx,
		&v1alpha1.GetOrganizationSettingsRequest{
			OrganizationId: organizationId,
		},
	)
	if err != nil {
		return v1alpha1.RepositoryRole(0), v1alpha1.PluginRole(0), v1alpha1.TemplateRole(0), 0, err
	}
	return response.RepositoryBaseRole, response.PluginBaseRole, response.TemplateBaseRole, response.MembersCount, nil
}
func ( s * organizationService ) GetOrganizationSettings ( ctx context . Context , organizationId string , ) ( repositoryBaseRole v1alpha1 . RepositoryRole , pluginBaseRole v1alpha1 . PluginRole , templateBaseRole v1alpha1 . TemplateRole , membersCount uint32 , _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } response , err := s . client . GetOrganizationSettings ( ctx , & v1alpha1 . GetOrganizationSettingsRequest { OrganizationId : organizationId , } , ) if err != nil { return v1alpha1 . RepositoryRole ( 0 ) , v1alpha1 . PluginRole ( 0 ) , v1alpha1 . TemplateRole ( 0 ) , 0 , err } return response . RepositoryBaseRole , response . PluginBaseRole , response . TemplateBaseRole , response . MembersCount , nil }
GetOrganizationSettings gets the settings of an organization, including organization base roles.
GetOrganizationSettings gets the settings of an organization including organization base roles .