requests

package
v0.2404.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyFileOpts

type CopyFileOpts struct {
	SrcPath         string
	DestPath        string
	SrcStorageName  optional.String
	DestStorageName optional.String
	VersionId       optional.String
}

type CopyFolderOpts

type CopyFolderOpts struct {
	SrcPath         string
	DestPath        string
	SrcStorageName  optional.String
	DestStorageName optional.String
}

type CreateFolderOpts

type CreateFolderOpts struct {
	Path        string
	StorageName optional.String
}

type CreateNewProjectOpts

type CreateNewProjectOpts struct {
	Name                string
	SiteUrl             string
	UserName            optional.String
	SaveOptions         optional.Interface
	Folder              optional.String
	Storage             optional.String
	XProjectOnlineToken optional.String
	XSharepointPassword optional.String
}

type CreateTableTextStyleOpts added in v0.2404.0

type CreateTableTextStyleOpts struct {
	Name           string
	ViewUid        int32
	TableTextStyle models.TableTextStyle
	FileName       optional.String
	Storage        optional.String
	Folder         optional.String
}

type DeleteAssignmentOpts

type DeleteAssignmentOpts struct {
	Name          string
	AssignmentUid int32
	Storage       optional.String
	Folder        optional.String
	FileName      optional.String
}

type DeleteCalendarExceptionOpts

type DeleteCalendarExceptionOpts struct {
	Name        string
	CalendarUid int32
	Index       int32
	FileName    optional.String
	Storage     optional.String
	Folder      optional.String
}

type DeleteCalendarOpts

type DeleteCalendarOpts struct {
	Name        string
	CalendarUid int32
	Storage     optional.String
	Folder      optional.String
	FileName    optional.String
}

type DeleteExtendedAttributeByIndexOpts

type DeleteExtendedAttributeByIndexOpts struct {
	Name    string
	Index   int32
	Storage optional.String
	Folder  optional.String
}

type DeleteFileOpts

type DeleteFileOpts struct {
	Path        string
	StorageName optional.String
	VersionId   optional.String
}

type DeleteFolderOpts

type DeleteFolderOpts struct {
	Path        string
	StorageName optional.String
	Recursive   optional.Bool
}

type DeleteOutlineCodeByIndexOpts

type DeleteOutlineCodeByIndexOpts struct {
	Name    string
	Index   int32
	Storage optional.String
	Folder  optional.String
}

type DeleteResourceOpts

type DeleteResourceOpts struct {
	Name        string
	ResourceUid int32
	Storage     optional.String
	Folder      optional.String
	FileName    optional.String
}

type DeleteTableTextStyleOpts added in v0.2404.0

type DeleteTableTextStyleOpts struct {
	Name     string
	ViewUid  int32
	RowUid   int32
	Field    optional.String
	FileName optional.String
	Storage  optional.String
	Folder   optional.String
}

type DeleteTaskLinkOpts

type DeleteTaskLinkOpts struct {
	Name     string
	Index    int32
	Storage  optional.String
	Folder   optional.String
	FileName optional.String
}

type DeleteTaskOpts

type DeleteTaskOpts struct {
	Name     string
	TaskUid  int32
	Storage  optional.String
	Folder   optional.String
	FileName optional.String
}

type DownloadFileOpts

type DownloadFileOpts struct {
	Path        string
	StorageName optional.String
	VersionId   optional.String
}

type GetAllTableTextStylesOpts added in v0.2404.0

type GetAllTableTextStylesOpts struct {
	Name    string
	ViewUid int32
	Storage optional.String
	Folder  optional.String
}

type GetAssignmentOpts

type GetAssignmentOpts struct {
	Name          string
	AssignmentUid int32
	Storage       optional.String
	Folder        optional.String
}

type GetAssignmentTimephasedDataOpts

type GetAssignmentTimephasedDataOpts struct {
	Name          string
	AssignmentUid int32
	Type_         optional.String
	StartDate     *custom.TimeWithoutTZ
	EndDate       *custom.TimeWithoutTZ
	Folder        optional.String
	Storage       optional.String
}

type GetAssignmentsOpts

type GetAssignmentsOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetCalendarExceptionsOpts

type GetCalendarExceptionsOpts struct {
	Name        string
	CalendarUid int32
	Storage     optional.String
	Folder      optional.String
}

type GetCalendarOpts

type GetCalendarOpts struct {
	Name        string
	CalendarUid int32
	Storage     optional.String
	Folder      optional.String
}

type GetCalendarWorkWeeksOpts

type GetCalendarWorkWeeksOpts struct {
	Name        string
	CalendarUid int32
	Storage     optional.String
	Folder      optional.String
}

type GetCalendarsOpts

type GetCalendarsOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetCriticalPathOpts

type GetCriticalPathOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetDiscUsageOpts

type GetDiscUsageOpts struct {
	StorageName optional.String
}

type GetDocumentPropertiesOpts

type GetDocumentPropertiesOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetDocumentPropertyOpts

type GetDocumentPropertyOpts struct {
	Name         string
	PropertyName string
	Storage      optional.String
	Folder       optional.String
}

type GetExtendedAttributeByIndexOpts

type GetExtendedAttributeByIndexOpts struct {
	Name    string
	Index   int32
	Storage optional.String
	Folder  optional.String
}

type GetExtendedAttributesOpts

type GetExtendedAttributesOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetFileVersionsOpts

type GetFileVersionsOpts struct {
	Path        string
	StorageName optional.String
}

type GetFilesListOpts

type GetFilesListOpts struct {
	Path        string
	StorageName optional.String
}

type GetOutlineCodeByIndexOpts

type GetOutlineCodeByIndexOpts struct {
	Name    string
	Index   int32
	Storage optional.String
	Folder  optional.String
}

type GetOutlineCodesOpts

type GetOutlineCodesOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetPageCountOpts

type GetPageCountOpts struct {
	Name               string
	PageSize           optional.String
	PresentationFormat optional.String
	Timescale          optional.String
	StartDate          *custom.TimeWithoutTZ
	EndDate            *custom.TimeWithoutTZ
	Folder             optional.String
	Storage            optional.String
}

type GetPrimaveraTaskPropertiesOpts added in v0.2212.0

type GetPrimaveraTaskPropertiesOpts struct {
	Name    string
	TaskUid int32
	Folder  optional.String
	Storage optional.String
}

type GetProjectIdsOpts

type GetProjectIdsOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetProjectListOpts

type GetProjectListOpts struct {
	SiteUrl             string
	UserName            optional.String
	XProjectOnlineToken optional.String
	XSharepointPassword optional.String
}

type GetReportPdfOpts

type GetReportPdfOpts struct {
	Name    string
	Type_   string
	Storage optional.String
	Folder  optional.String
}

type GetResourceAssignmentsOpts

type GetResourceAssignmentsOpts struct {
	Name        string
	ResourceUid int32
	Storage     optional.String
	Folder      optional.String
}

type GetResourceOpts

type GetResourceOpts struct {
	Name        string
	ResourceUid int32
	Storage     optional.String
	Folder      optional.String
}

type GetResourceTimephasedDataOpts

type GetResourceTimephasedDataOpts struct {
	Name        string
	ResourceUid int32
	Type_       optional.String
	StartDate   *custom.TimeWithoutTZ
	EndDate     *custom.TimeWithoutTZ
	Folder      optional.String
	Storage     optional.String
}

type GetResourcesOpts

type GetResourcesOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetRiskAnalysisReportOpts

type GetRiskAnalysisReportOpts struct {
	Name             string
	TaskUid          int32
	DistributionType optional.String
	Optimistic       optional.Int32
	Pessimistic      optional.Int32
	ConfidenceLevel  optional.String
	Iterations       optional.Int32
	Storage          optional.String
	Folder           optional.String
	FileName         optional.String
}

type GetTableTextStyleOpts added in v0.2404.0

type GetTableTextStyleOpts struct {
	Name    string
	ViewUid int32
	RowUid  int32
	Field   optional.String
	Storage optional.String
	Folder  optional.String
}

type GetTaskAssignmentsOpts

type GetTaskAssignmentsOpts struct {
	Name    string
	TaskUid int32
	Storage optional.String
	Folder  optional.String
}

type GetTaskDocumentOpts

type GetTaskDocumentOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetTaskDocumentWithFormatOpts

type GetTaskDocumentWithFormatOpts struct {
	Name               string
	Format             string
	ReturnAsZipArchive optional.Bool
	Storage            optional.String
	Folder             optional.String
}

type GetTaskLinksOpts

type GetTaskLinksOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetTaskOpts

type GetTaskOpts struct {
	Name    string
	TaskUid int32
	Storage optional.String
	Folder  optional.String
}

type GetTaskRecurringInfoOpts

type GetTaskRecurringInfoOpts struct {
	Name    string
	TaskUid int32
	Storage optional.String
	Folder  optional.String
}

type GetTaskTimephasedDataOpts

type GetTaskTimephasedDataOpts struct {
	Name      string
	TaskUid   int32
	Type_     optional.String
	StartDate *custom.TimeWithoutTZ
	EndDate   *custom.TimeWithoutTZ
	Folder    optional.String
	Storage   optional.String
}

type GetTasksOpts

type GetTasksOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetVbaProjectOpts

type GetVbaProjectOpts struct {
	Name    string
	Folder  optional.String
	Storage optional.String
}

type GetViewsOpts added in v0.2404.0

type GetViewsOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type GetWbsDefinitionOpts

type GetWbsDefinitionOpts struct {
	Name    string
	Storage optional.String
	Folder  optional.String
}

type MoveFileOpts

type MoveFileOpts struct {
	SrcPath         string
	DestPath        string
	SrcStorageName  optional.String
	DestStorageName optional.String
	VersionId       optional.String
}

type MoveFolderOpts

type MoveFolderOpts struct {
	SrcPath         string
	DestPath        string
	SrcStorageName  optional.String
	DestStorageName optional.String
}

type ObjectExistsOpts

type ObjectExistsOpts struct {
	Path        string
	StorageName optional.String
	VersionId   optional.String
}

type PostAssignmentOpts

type PostAssignmentOpts struct {
	Name        string
	TaskUid     int32
	ResourceUid int32
	Units       optional.Float64
	Cost        optional.Float32
	FileName    optional.String
	Storage     optional.String
	Folder      optional.String
}

type PostCalendarExceptionOpts

type PostCalendarExceptionOpts struct {
	Name              string
	CalendarUid       int32
	CalendarException models.CalendarException
	FileName          optional.String
	Storage           optional.String
	Folder            optional.String
}

type PostCalendarOpts

type PostCalendarOpts struct {
	Name     string
	Calendar models.Calendar
	FileName optional.String
	Storage  optional.String
	Folder   optional.String
}

type PostDocumentPropertyOpts

type PostDocumentPropertyOpts struct {
	Name         string
	PropertyName string
	Property     models.DocumentProperty
	Storage      optional.String
	Folder       optional.String
	Filename     optional.String
}

type PostResourceOpts

type PostResourceOpts struct {
	Name             string
	ResourceName     optional.String
	BeforeResourceId optional.Int32
	FileName         optional.String
	Storage          optional.String
	Folder           optional.String
}

type PostTaskDocumentWithFormatOpts

type PostTaskDocumentWithFormatOpts struct {
	Name               string
	Format             string
	SaveOptions        interface{}
	ReturnAsZipArchive optional.Bool
	Storage            optional.String
	Folder             optional.String
}

type PostTaskLinkOpts

type PostTaskLinkOpts struct {
	Name     string
	TaskLink models.TaskLink
	Storage  optional.String
	Folder   optional.String
	FileName optional.String
}

type PostTaskOpts

type PostTaskOpts struct {
	Name         string
	TaskName     optional.String
	BeforeTaskId optional.Int32
	FileName     optional.String
	Storage      optional.String
	Folder       optional.String
}

type PostTaskRecurringInfoOpts

type PostTaskRecurringInfoOpts struct {
	Name          string
	ParentTaskUid int32
	TaskName      string
	RecurringInfo models.RecurringInfo
	CalendarName  string
	FileName      optional.String
	Storage       optional.String
	Folder        optional.String
}

type PostTasksOpts

type PostTasksOpts struct {
	Name     string
	Requests []models.TaskCreationRequest
	FileName optional.String
	Storage  optional.String
	Folder   optional.String
}

type PutAssignmentOpts

type PutAssignmentOpts struct {
	Name          string
	AssignmentUid int32
	Assignment    models.ResourceAssignment
	Mode          optional.String
	Recalculate   optional.Bool
	Storage       optional.String
	Folder        optional.String
	FileName      optional.String
}

type PutCalendarExceptionOpts

type PutCalendarExceptionOpts struct {
	Name              string
	CalendarUid       int32
	Index             int32
	CalendarException models.CalendarException
	FileName          optional.String
	Storage           optional.String
	Folder            optional.String
}

type PutCalendarOpts

type PutCalendarOpts struct {
	Name        string
	CalendarUid int32
	Calendar    models.Calendar
	FileName    optional.String
	Storage     optional.String
	Folder      optional.String
}

type PutDocumentPropertyOpts

type PutDocumentPropertyOpts struct {
	Name         string
	PropertyName string
	Property     models.DocumentProperty
	Storage      optional.String
	Folder       optional.String
	Filename     optional.String
}

type PutExtendedAttributeOpts

type PutExtendedAttributeOpts struct {
	ExtendedAttribute models.ExtendedAttributeDefinition
	Name              string
	FileName          optional.String
	Storage           optional.String
	Folder            optional.String
}

type PutImportProjectFromDbOpts

type PutImportProjectFromDbOpts struct {
	DatabaseType     string
	ConnectionString string
	ProjectUid       string
	Filename         string
	Format           optional.String
	Folder           optional.String
	Storage          optional.String
	DatabaseSchema   optional.String
}

type PutImportProjectFromFileOpts

type PutImportProjectFromFileOpts struct {
	Name             string
	ProjectUid       string
	Filename         string
	FileType         optional.String
	Folder           optional.String
	Storage          optional.String
	OutputFileFormat optional.String
}

type PutImportProjectFromProjectOnlineOpts

type PutImportProjectFromProjectOnlineOpts struct {
	Name                string
	Guid                string
	SiteUrl             string
	UserName            optional.String
	Format              optional.String
	Folder              optional.String
	Storage             optional.String
	XProjectOnlineToken optional.String
	XSharepointPassword optional.String
}

type PutMoveTaskOpts

type PutMoveTaskOpts struct {
	Name          string
	TaskUid       int32
	ParentTaskUid int32
	FileName      optional.String
	Storage       optional.String
	Folder        optional.String
}

type PutMoveTaskToSiblingOpts

type PutMoveTaskToSiblingOpts struct {
	Name          string
	TaskUid       int32
	BeforeTaskUid int32
	FileName      optional.String
	Storage       optional.String
	Folder        optional.String
}

type PutRecalculateProjectOpts

type PutRecalculateProjectOpts struct {
	Name     string
	Mode     optional.String
	Validate optional.Bool
	FileName optional.String
	Storage  optional.String
	Folder   optional.String
}

type PutRecalculateProjectResourceFieldsOpts

type PutRecalculateProjectResourceFieldsOpts struct {
	Name     string
	Storage  optional.String
	Folder   optional.String
	FileName optional.String
}

type PutRecalculateProjectUncompleteWorkToStartAfterOpts

type PutRecalculateProjectUncompleteWorkToStartAfterOpts struct {
	Name     string
	After    custom.TimeWithoutTZ
	Storage  optional.String
	Folder   optional.String
	FileName optional.String
}

type PutRecalculateProjectWorkAsCompleteOpts

type PutRecalculateProjectWorkAsCompleteOpts struct {
	Name                                string
	CompleteThrough                     custom.TimeWithoutTZ
	SetZeroOrHundredPercentCompleteOnly optional.Bool
	Storage                             optional.String
	Folder                              optional.String
	FileName                            optional.String
}

type PutRenumberWbsCodeOpts

type PutRenumberWbsCodeOpts struct {
	Name     string
	TaskUids []int32
	Storage  optional.String
	FileName optional.String
	Folder   optional.String
}

type PutResourceOpts

type PutResourceOpts struct {
	Name        string
	ResourceUid int32
	Resource    models.Resource
	Mode        optional.String
	Recalculate optional.Bool
	Storage     optional.String
	Folder      optional.String
	FileName    optional.String
}

type PutTaskLinkOpts

type PutTaskLinkOpts struct {
	Name     string
	Index    int32
	TaskLink models.TaskLink
	Storage  optional.String
	Folder   optional.String
	FileName optional.String
}

type PutTaskOpts

type PutTaskOpts struct {
	Name        string
	TaskUid     int32
	Task        models.Task
	Mode        optional.String
	Recalculate optional.Bool
	Storage     optional.String
	Folder      optional.String
	FileName    optional.String
}

type PutTaskRecurringInfoOpts

type PutTaskRecurringInfoOpts struct {
	Name          string
	TaskUid       int32
	RecurringInfo models.RecurringInfo
	FileName      optional.String
	Storage       optional.String
	Folder        optional.String
}

type StorageExistsOpts

type StorageExistsOpts struct {
	StorageName string
}

type UpdateProjectOpts

type UpdateProjectOpts struct {
	Name                string
	SiteUrl             string
	UserName            optional.String
	SaveOptions         optional.Interface
	Folder              optional.String
	Storage             optional.String
	XProjectOnlineToken optional.String
	XSharepointPassword optional.String
}

type UpdateTableTextStyleOpts added in v0.2404.0

type UpdateTableTextStyleOpts struct {
	Name           string
	ViewUid        int32
	TableTextStyle models.TableTextStyle
	FileName       optional.String
	Storage        optional.String
	Folder         optional.String
}

type UploadFileOpts

type UploadFileOpts struct {
	Path        string
	File        *os.File
	StorageName optional.String
}

Source Files

Jump to

Keyboard shortcuts

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