generalsettings

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package generalsettings contains methods related to GeneralSettings

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneralSettingsV2

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

GeneralSettingsV2 represents a custom type struct

func (*GeneralSettingsV2) ReadGeneralSettings

func (g *GeneralSettingsV2) ReadGeneralSettings() (
	*models.ReadGeneralSettingsResponseV2, *apiutils.APIError)

ReadGeneralSettings Retrieves organization-wide setting details, including password and security settings.

func (*GeneralSettingsV2) UpdateGeneralSettings

func (g *GeneralSettingsV2) UpdateGeneralSettings(
	body *models.UpdateGeneralSettingsV2Request) (
	*models.PatchGeneralSettingsResponseV2, *apiutils.APIError)

UpdateGeneralSettings Updates organization-wide settings, including password and security settings.

type GeneralSettingsV2Client

type GeneralSettingsV2Client interface {
	// ReadGeneralSettings Retrieves organization-wide setting details, including password and security settings.
	ReadGeneralSettings() (
		*models.ReadGeneralSettingsResponseV2, *apiutils.APIError)

	// UpdateGeneralSettings Updates organization-wide settings, including password and security settings.
	UpdateGeneralSettings(
		body *models.UpdateGeneralSettingsV2Request) (
		*models.PatchGeneralSettingsResponseV2, *apiutils.APIError)
}

GeneralSettingsV2Client represents a custom type interface

func NewGeneralSettingsV2

func NewGeneralSettingsV2(config config.Config) GeneralSettingsV2Client

NewGeneralSettingsV2 returns GeneralSettingsV2Client

Jump to

Keyboard shortcuts

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