// Package client provides primitives to interact with the openapi HTTP API. // // Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT. package obs import ( "context" "encoding/xml" "fmt" "io" "net/http" "net/url" "strings" "github.com/oapi-codegen/runtime" openapi_types "github.com/oapi-codegen/runtime/types" ) const ( GitLab_key_authenticationScopes = "GitLab_key_authentication.Scopes" Basic_authenticationScopes = "basic_authentication.Scopes" ) // Defines values for PostBuildProjectNameParamsCmd. const ( PostBuildProjectNameParamsCmdAbortbuild PostBuildProjectNameParamsCmd = "abortbuild" PostBuildProjectNameParamsCmdKillbuild PostBuildProjectNameParamsCmd = "killbuild" PostBuildProjectNameParamsCmdRebuild PostBuildProjectNameParamsCmd = "rebuild" PostBuildProjectNameParamsCmdRestartbuild PostBuildProjectNameParamsCmd = "restartbuild" PostBuildProjectNameParamsCmdSendsysrq PostBuildProjectNameParamsCmd = "sendsysrq" PostBuildProjectNameParamsCmdUnpublish PostBuildProjectNameParamsCmd = "unpublish" PostBuildProjectNameParamsCmdWipe PostBuildProjectNameParamsCmd = "wipe" ) // Defines values for GetBuildProjectNameResultParamsView. const ( GetBuildProjectNameResultParamsViewBinarylist GetBuildProjectNameResultParamsView = "binarylist" GetBuildProjectNameResultParamsViewStatus GetBuildProjectNameResultParamsView = "status" GetBuildProjectNameResultParamsViewSummary GetBuildProjectNameResultParamsView = "summary" ) // Defines values for GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParamsView. const ( Order GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParamsView = "order" Pkgnames GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParamsView = "pkgnames" Revpkgnames GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParamsView = "revpkgnames" ) // Defines values for DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName. const ( DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageNameRepository DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName = "_repository" ) // Defines values for PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName. const ( PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageNameRepository PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName = "_repository" ) // Defines values for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParamsView. const ( Fileinfo GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParamsView = "fileinfo" FileinfoExt GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParamsView = "fileinfo_ext" ) // Defines values for PostGroupGroupTitleParamsCmd. const ( AddUser PostGroupGroupTitleParamsCmd = "add_user" RemoveUser PostGroupGroupTitleParamsCmd = "remove_user" SetEmail PostGroupGroupTitleParamsCmd = "set_email" ) // Defines values for GetMyNotificationsParamsNotificationsType. const ( AppealedDecisions GetMyNotificationsParamsNotificationsType = "appealed_decisions" BuildFailures GetMyNotificationsParamsNotificationsType = "build_failures" Comments GetMyNotificationsParamsNotificationsType = "comments" IncomingRequests GetMyNotificationsParamsNotificationsType = "incoming_requests" OutgoingRequests GetMyNotificationsParamsNotificationsType = "outgoing_requests" Read GetMyNotificationsParamsNotificationsType = "read" RelationshipsCreated GetMyNotificationsParamsNotificationsType = "relationships_created" RelationshipsDeleted GetMyNotificationsParamsNotificationsType = "relationships_deleted" Reports GetMyNotificationsParamsNotificationsType = "reports" Requests GetMyNotificationsParamsNotificationsType = "requests" Unread GetMyNotificationsParamsNotificationsType = "unread" WorkflowRuns GetMyNotificationsParamsNotificationsType = "workflow_runs" ) // Defines values for PostPersonParamsCmd. const ( Register PostPersonParamsCmd = "register" ) // Defines values for PostPersonLoginParamsCmd. const ( PostPersonLoginParamsCmdChangePassword PostPersonLoginParamsCmd = "change_password" PostPersonLoginParamsCmdDelete PostPersonLoginParamsCmd = "delete" PostPersonLoginParamsCmdLock PostPersonLoginParamsCmd = "lock" ) // Defines values for PostPersonLoginTokenParamsOperation. const ( PostPersonLoginTokenParamsOperationRebuild PostPersonLoginTokenParamsOperation = "rebuild" PostPersonLoginTokenParamsOperationRelease PostPersonLoginTokenParamsOperation = "release" PostPersonLoginTokenParamsOperationRunservice PostPersonLoginTokenParamsOperation = "runservice" ) // Defines values for GetPublishedProjectNameRepositoryNameviewStatusParamsView. const ( GetPublishedProjectNameRepositoryNameviewStatusParamsViewStatus GetPublishedProjectNameRepositoryNameviewStatusParamsView = "status" ) // Defines values for PostRequestParamsCmd. const ( Create PostRequestParamsCmd = "create" ) // Defines values for PostRequestParamsAddrevision. const ( PostRequestParamsAddrevisionN1 PostRequestParamsAddrevision = "1" ) // Defines values for PostRequestParamsIgnoreDelegate. const ( PostRequestParamsIgnoreDelegateN1 PostRequestParamsIgnoreDelegate = "1" ) // Defines values for PostRequestParamsIgnoreBuildState. const ( PostRequestParamsIgnoreBuildStateN1 PostRequestParamsIgnoreBuildState = "1" ) // Defines values for PostRequestIdcmdDiffParamsView. const ( PostRequestIdcmdDiffParamsViewXml PostRequestIdcmdDiffParamsView = "xml" ) // Defines values for PostRequestIdcmdDiffParamsWithissues. const ( PostRequestIdcmdDiffParamsWithissuesN1 PostRequestIdcmdDiffParamsWithissues = "1" PostRequestIdcmdDiffParamsWithissuesTrue PostRequestIdcmdDiffParamsWithissues = "true" ) // Defines values for GetSearchParamsIn. const ( Packages GetSearchParamsIn = "packages" Projects GetSearchParamsIn = "projects" ) // Defines values for GetSearchOwnerParamsDevel. const ( GetSearchOwnerParamsDevelFalse GetSearchOwnerParamsDevel = "false" GetSearchOwnerParamsDevelN0 GetSearchOwnerParamsDevel = "0" GetSearchOwnerParamsDevelN1 GetSearchOwnerParamsDevel = "1" GetSearchOwnerParamsDevelTrue GetSearchOwnerParamsDevel = "true" ) // Defines values for GetSearchPublishedBinaryIdParamsWithdownloadurl. const ( GetSearchPublishedBinaryIdParamsWithdownloadurlN0 GetSearchPublishedBinaryIdParamsWithdownloadurl = 0 GetSearchPublishedBinaryIdParamsWithdownloadurlN1 GetSearchPublishedBinaryIdParamsWithdownloadurl = 1 ) // Defines values for GetSearchPublishedPatternIdParamsWithdownloadurl. const ( GetSearchPublishedPatternIdParamsWithdownloadurlN0 GetSearchPublishedPatternIdParamsWithdownloadurl = 0 GetSearchPublishedPatternIdParamsWithdownloadurlN1 GetSearchPublishedPatternIdParamsWithdownloadurl = 1 ) // Defines values for GetSearchPublishedRepoinfoIdParamsWithdownloadurl. const ( GetSearchPublishedRepoinfoIdParamsWithdownloadurlN0 GetSearchPublishedRepoinfoIdParamsWithdownloadurl = 0 GetSearchPublishedRepoinfoIdParamsWithdownloadurlN1 GetSearchPublishedRepoinfoIdParamsWithdownloadurl = 1 ) // Defines values for GetSourceProjectNameParamsExpand. const ( GetSourceProjectNameParamsExpandN0 GetSourceProjectNameParamsExpand = "0" GetSourceProjectNameParamsExpandN1 GetSourceProjectNameParamsExpand = "1" ) // Defines values for GetSourceProjectNameParamsView. const ( GetSourceProjectNameParamsViewIssues GetSourceProjectNameParamsView = "issues" GetSourceProjectNameParamsViewProductlist GetSourceProjectNameParamsView = "productlist" GetSourceProjectNameParamsViewVerboseproductlist GetSourceProjectNameParamsView = "verboseproductlist" ) // Defines values for GetSourceProjectNameAttributeParamsView. const ( GetSourceProjectNameAttributeParamsViewBlame GetSourceProjectNameAttributeParamsView = "blame" ) // Defines values for GetSourceProjectNameAttributeAttributeNameParamsView. const ( GetSourceProjectNameAttributeAttributeNameParamsViewBlame GetSourceProjectNameAttributeAttributeNameParamsView = "blame" ) // Defines values for DeleteSourceProjectNamePackageNameParamsForce. const ( DeleteSourceProjectNamePackageNameParamsForceN0 DeleteSourceProjectNamePackageNameParamsForce = "0" DeleteSourceProjectNamePackageNameParamsForceN1 DeleteSourceProjectNamePackageNameParamsForce = "1" ) // Defines values for GetSourceProjectNamePackageNameParamsExpand. const ( GetSourceProjectNamePackageNameParamsExpandN0 GetSourceProjectNamePackageNameParamsExpand = "0" GetSourceProjectNamePackageNameParamsExpandN1 GetSourceProjectNamePackageNameParamsExpand = "1" ) // Defines values for GetSourceProjectNamePackageNameParamsLastworking. const ( GetSourceProjectNamePackageNameParamsLastworkingN0 GetSourceProjectNamePackageNameParamsLastworking = "0" GetSourceProjectNamePackageNameParamsLastworkingN1 GetSourceProjectNamePackageNameParamsLastworking = "1" ) // Defines values for GetSourceProjectNamePackageNameParamsMeta. const ( GetSourceProjectNamePackageNameParamsMetaN0 GetSourceProjectNamePackageNameParamsMeta = "0" GetSourceProjectNamePackageNameParamsMetaN1 GetSourceProjectNamePackageNameParamsMeta = "1" ) // Defines values for GetSourceProjectNamePackageNameParamsView. const ( GetSourceProjectNamePackageNameParamsViewCpio GetSourceProjectNamePackageNameParamsView = "cpio" GetSourceProjectNamePackageNameParamsViewGetmultibuild GetSourceProjectNamePackageNameParamsView = "getmultibuild" GetSourceProjectNamePackageNameParamsViewInfo GetSourceProjectNamePackageNameParamsView = "info" GetSourceProjectNamePackageNameParamsViewIssues GetSourceProjectNamePackageNameParamsView = "issues" GetSourceProjectNamePackageNameParamsViewProductrepositories GetSourceProjectNamePackageNameParamsView = "productrepositories" GetSourceProjectNamePackageNameParamsViewProducts GetSourceProjectNamePackageNameParamsView = "products" ) // Defines values for GetSourceProjectNamePackageNameParamsWithlinked. const ( GetSourceProjectNamePackageNameParamsWithlinkedN0 GetSourceProjectNamePackageNameParamsWithlinked = "0" GetSourceProjectNamePackageNameParamsWithlinkedN1 GetSourceProjectNamePackageNameParamsWithlinked = "1" ) // Defines values for GetSourceProjectNamePackageNameAttributeParamsView. const ( GetSourceProjectNamePackageNameAttributeParamsViewBlame GetSourceProjectNamePackageNameAttributeParamsView = "blame" ) // Defines values for GetSourceProjectNamePackageNameAttributeAttributeNameParamsView. const ( GetSourceProjectNamePackageNameAttributeAttributeNameParamsViewBlame GetSourceProjectNamePackageNameAttributeAttributeNameParamsView = "blame" ) // Defines values for GetSourceProjectNamePackageNameMetaParamsView. const ( GetSourceProjectNamePackageNameMetaParamsViewBlame GetSourceProjectNamePackageNameMetaParamsView = "blame" ) // Defines values for DeleteSourceProjectNamePackageNameFileNameParamsMeta. const ( DeleteSourceProjectNamePackageNameFileNameParamsMetaN0 DeleteSourceProjectNamePackageNameFileNameParamsMeta = 0 DeleteSourceProjectNamePackageNameFileNameParamsMetaN1 DeleteSourceProjectNamePackageNameFileNameParamsMeta = 1 ) // Defines values for DeleteSourceProjectNamePackageNameFileNameParamsKeeplink. const ( DeleteSourceProjectNamePackageNameFileNameParamsKeeplinkN0 DeleteSourceProjectNamePackageNameFileNameParamsKeeplink = "0" DeleteSourceProjectNamePackageNameFileNameParamsKeeplinkN1 DeleteSourceProjectNamePackageNameFileNameParamsKeeplink = "1" ) // Defines values for GetSourceProjectNamePackageNameFileNameParamsMeta. const ( GetSourceProjectNamePackageNameFileNameParamsMetaN0 GetSourceProjectNamePackageNameFileNameParamsMeta = 0 GetSourceProjectNamePackageNameFileNameParamsMetaN1 GetSourceProjectNamePackageNameFileNameParamsMeta = 1 ) // Defines values for GetSourceProjectNamePackageNameFileNameParamsDeleted. const ( GetSourceProjectNamePackageNameFileNameParamsDeletedN0 GetSourceProjectNamePackageNameFileNameParamsDeleted = 0 GetSourceProjectNamePackageNameFileNameParamsDeletedN1 GetSourceProjectNamePackageNameFileNameParamsDeleted = 1 ) // Defines values for GetSourceProjectNamePackageNameFileNameParamsExpand. const ( GetSourceProjectNamePackageNameFileNameParamsExpandN0 GetSourceProjectNamePackageNameFileNameParamsExpand = 0 GetSourceProjectNamePackageNameFileNameParamsExpandN1 GetSourceProjectNamePackageNameFileNameParamsExpand = 1 ) // Defines values for GetSourceProjectNamePackageNameFileNameParamsView. const ( GetSourceProjectNamePackageNameFileNameParamsViewBlame GetSourceProjectNamePackageNameFileNameParamsView = "blame" ) // Defines values for PutSourceProjectNamePackageNameFileNameParamsMeta. const ( PutSourceProjectNamePackageNameFileNameParamsMetaN0 PutSourceProjectNamePackageNameFileNameParamsMeta = 0 PutSourceProjectNamePackageNameFileNameParamsMetaN1 PutSourceProjectNamePackageNameFileNameParamsMeta = 1 ) // Defines values for PutSourceProjectNamePackageNameFileNameParamsKeeplink. const ( PutSourceProjectNamePackageNameFileNameParamsKeeplinkN0 PutSourceProjectNamePackageNameFileNameParamsKeeplink = "0" PutSourceProjectNamePackageNameFileNameParamsKeeplinkN1 PutSourceProjectNamePackageNameFileNameParamsKeeplink = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdAddcontainersParamsCmd. const ( Addcontainers PostSourceProjectNamePackageNamecmdAddcontainersParamsCmd = "addcontainers" ) // Defines values for PostSourceProjectNamePackageNamecmdAddcontainersParamsExtendPackageNames. const ( PostSourceProjectNamePackageNamecmdAddcontainersParamsExtendPackageNamesN1 PostSourceProjectNamePackageNamecmdAddcontainersParamsExtendPackageNames = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsAddRepositories. const ( PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesN1 PostSourceProjectNamePackageNamecmdBranchParamsAddRepositories = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuild. const ( PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuildCopy PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuild = "copy" PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuildDirect PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuild = "direct" PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuildLocal PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuild = "local" PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuildTransitive PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuild = "transitive" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesBlock. const ( PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesBlockAll PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesBlock = "all" PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesBlockLocal PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesBlock = "local" PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesBlockNever PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesBlock = "never" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsAutocleanup. const ( PostSourceProjectNamePackageNamecmdBranchParamsAutocleanupN1 PostSourceProjectNamePackageNamecmdBranchParamsAutocleanup = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsDryrun. const ( PostSourceProjectNamePackageNamecmdBranchParamsDryrunN1 PostSourceProjectNamePackageNamecmdBranchParamsDryrun = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsExtendPackageNames. const ( PostSourceProjectNamePackageNamecmdBranchParamsExtendPackageNamesN1 PostSourceProjectNamePackageNamecmdBranchParamsExtendPackageNames = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsIgnoredevel. const ( PostSourceProjectNamePackageNamecmdBranchParamsIgnoredevelN1 PostSourceProjectNamePackageNamecmdBranchParamsIgnoredevel = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsMaintenance. const ( PostSourceProjectNamePackageNamecmdBranchParamsMaintenanceN1 PostSourceProjectNamePackageNamecmdBranchParamsMaintenance = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsMissingok. const ( PostSourceProjectNamePackageNamecmdBranchParamsMissingokN1 PostSourceProjectNamePackageNamecmdBranchParamsMissingok = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsNewinstance. const ( PostSourceProjectNamePackageNamecmdBranchParamsNewinstanceN1 PostSourceProjectNamePackageNamecmdBranchParamsNewinstance = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsNoaccess. const ( PostSourceProjectNamePackageNamecmdBranchParamsNoaccessN1 PostSourceProjectNamePackageNamecmdBranchParamsNoaccess = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsNoservice. const ( PostSourceProjectNamePackageNamecmdBranchParamsNoserviceN1 PostSourceProjectNamePackageNamecmdBranchParamsNoservice = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdBranchParamsUpdatePathElements. const ( PostSourceProjectNamePackageNamecmdBranchParamsUpdatePathElementsN1 PostSourceProjectNamePackageNamecmdBranchParamsUpdatePathElements = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCommitParamsKeeplink. const ( PostSourceProjectNamePackageNamecmdCommitParamsKeeplinkN0 PostSourceProjectNamePackageNamecmdCommitParamsKeeplink = "0" PostSourceProjectNamePackageNamecmdCommitParamsKeeplinkN1 PostSourceProjectNamePackageNamecmdCommitParamsKeeplink = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCommitParamsRepairlink. const ( PostSourceProjectNamePackageNamecmdCommitParamsRepairlinkN0 PostSourceProjectNamePackageNamecmdCommitParamsRepairlink = "0" PostSourceProjectNamePackageNamecmdCommitParamsRepairlinkN1 PostSourceProjectNamePackageNamecmdCommitParamsRepairlink = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCommitfilelistParamsKeeplink. const ( PostSourceProjectNamePackageNamecmdCommitfilelistParamsKeeplinkN0 PostSourceProjectNamePackageNamecmdCommitfilelistParamsKeeplink = "0" PostSourceProjectNamePackageNamecmdCommitfilelistParamsKeeplinkN1 PostSourceProjectNamePackageNamecmdCommitfilelistParamsKeeplink = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCommitfilelistParamsRepairlink. const ( PostSourceProjectNamePackageNamecmdCommitfilelistParamsRepairlinkN0 PostSourceProjectNamePackageNamecmdCommitfilelistParamsRepairlink = "0" PostSourceProjectNamePackageNamecmdCommitfilelistParamsRepairlinkN1 PostSourceProjectNamePackageNamecmdCommitfilelistParamsRepairlink = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCommitfilelistParamsWithvalidate. const ( PostSourceProjectNamePackageNamecmdCommitfilelistParamsWithvalidateN0 PostSourceProjectNamePackageNamecmdCommitfilelistParamsWithvalidate = "0" PostSourceProjectNamePackageNamecmdCommitfilelistParamsWithvalidateN1 PostSourceProjectNamePackageNamecmdCommitfilelistParamsWithvalidate = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCopyParamsRev. const ( Repository PostSourceProjectNamePackageNamecmdCopyParamsRev = "repository" Upload PostSourceProjectNamePackageNamecmdCopyParamsRev = "upload" ) // Defines values for PostSourceProjectNamePackageNamecmdCopyParamsWithbinaries. const ( PostSourceProjectNamePackageNamecmdCopyParamsWithbinariesN0 PostSourceProjectNamePackageNamecmdCopyParamsWithbinaries = "0" PostSourceProjectNamePackageNamecmdCopyParamsWithbinariesN1 PostSourceProjectNamePackageNamecmdCopyParamsWithbinaries = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCopyParamsMakeolder. const ( PostSourceProjectNamePackageNamecmdCopyParamsMakeolderN0 PostSourceProjectNamePackageNamecmdCopyParamsMakeolder = "0" PostSourceProjectNamePackageNamecmdCopyParamsMakeolderN1 PostSourceProjectNamePackageNamecmdCopyParamsMakeolder = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCopyParamsMakeoriginolder. const ( PostSourceProjectNamePackageNamecmdCopyParamsMakeoriginolderN0 PostSourceProjectNamePackageNamecmdCopyParamsMakeoriginolder = "0" PostSourceProjectNamePackageNamecmdCopyParamsMakeoriginolderN1 PostSourceProjectNamePackageNamecmdCopyParamsMakeoriginolder = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCopyParamsNodelay. const ( PostSourceProjectNamePackageNamecmdCopyParamsNodelayN0 PostSourceProjectNamePackageNamecmdCopyParamsNodelay = "0" PostSourceProjectNamePackageNamecmdCopyParamsNodelayN1 PostSourceProjectNamePackageNamecmdCopyParamsNodelay = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCopyParamsWithhistory. const ( PostSourceProjectNamePackageNamecmdCopyParamsWithhistoryN0 PostSourceProjectNamePackageNamecmdCopyParamsWithhistory = "0" PostSourceProjectNamePackageNamecmdCopyParamsWithhistoryN1 PostSourceProjectNamePackageNamecmdCopyParamsWithhistory = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdCopyParamsNoservice. const ( PostSourceProjectNamePackageNamecmdCopyParamsNoserviceN0 PostSourceProjectNamePackageNamecmdCopyParamsNoservice = "0" PostSourceProjectNamePackageNamecmdCopyParamsNoserviceN1 PostSourceProjectNamePackageNamecmdCopyParamsNoservice = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdDiffParamsCacheonly. const ( PostSourceProjectNamePackageNamecmdDiffParamsCacheonlyN0 PostSourceProjectNamePackageNamecmdDiffParamsCacheonly = "0" PostSourceProjectNamePackageNamecmdDiffParamsCacheonlyN1 PostSourceProjectNamePackageNamecmdDiffParamsCacheonly = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdDiffParamsExpand. const ( PostSourceProjectNamePackageNamecmdDiffParamsExpandN0 PostSourceProjectNamePackageNamecmdDiffParamsExpand = "0" PostSourceProjectNamePackageNamecmdDiffParamsExpandN1 PostSourceProjectNamePackageNamecmdDiffParamsExpand = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdDiffParamsMeta. const ( PostSourceProjectNamePackageNamecmdDiffParamsMetaN0 PostSourceProjectNamePackageNamecmdDiffParamsMeta = "0" PostSourceProjectNamePackageNamecmdDiffParamsMetaN1 PostSourceProjectNamePackageNamecmdDiffParamsMeta = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdDiffParamsMissingok. const ( PostSourceProjectNamePackageNamecmdDiffParamsMissingokN0 PostSourceProjectNamePackageNamecmdDiffParamsMissingok = "0" PostSourceProjectNamePackageNamecmdDiffParamsMissingokN1 PostSourceProjectNamePackageNamecmdDiffParamsMissingok = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdDiffParamsNodiff. const ( PostSourceProjectNamePackageNamecmdDiffParamsNodiffN0 PostSourceProjectNamePackageNamecmdDiffParamsNodiff = "0" PostSourceProjectNamePackageNamecmdDiffParamsNodiffN1 PostSourceProjectNamePackageNamecmdDiffParamsNodiff = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdDiffParamsOnlyissues. const ( PostSourceProjectNamePackageNamecmdDiffParamsOnlyissuesN0 PostSourceProjectNamePackageNamecmdDiffParamsOnlyissues = "0" PostSourceProjectNamePackageNamecmdDiffParamsOnlyissuesN1 PostSourceProjectNamePackageNamecmdDiffParamsOnlyissues = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdDiffParamsUnified. const ( PostSourceProjectNamePackageNamecmdDiffParamsUnifiedN0 PostSourceProjectNamePackageNamecmdDiffParamsUnified = "0" PostSourceProjectNamePackageNamecmdDiffParamsUnifiedN1 PostSourceProjectNamePackageNamecmdDiffParamsUnified = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdDiffParamsView. const ( PostSourceProjectNamePackageNamecmdDiffParamsViewUnified PostSourceProjectNamePackageNamecmdDiffParamsView = "unified" PostSourceProjectNamePackageNamecmdDiffParamsViewXml PostSourceProjectNamePackageNamecmdDiffParamsView = "xml" ) // Defines values for PostSourceProjectNamePackageNamecmdDiffParamsWithissues. const ( PostSourceProjectNamePackageNamecmdDiffParamsWithissuesN0 PostSourceProjectNamePackageNamecmdDiffParamsWithissues = "0" PostSourceProjectNamePackageNamecmdDiffParamsWithissuesN1 PostSourceProjectNamePackageNamecmdDiffParamsWithissues = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuild. const ( PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuildCopy PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuild = "copy" PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuildDirect PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuild = "direct" PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuildLocal PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuild = "local" PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuildTransitive PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuild = "transitive" ) // Defines values for PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesBlock. const ( PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesBlockAll PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesBlock = "all" PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesBlockLocal PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesBlock = "local" PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesBlockNever PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesBlock = "never" ) // Defines values for PostSourceProjectNamePackageNamecmdGetprojectservicesParamsCmd. const ( Getprojectservices PostSourceProjectNamePackageNamecmdGetprojectservicesParamsCmd = "getprojectservices" ) // Defines values for PostSourceProjectNamePackageNamecmdLinkdiffParamsOnlyissues. const ( PostSourceProjectNamePackageNamecmdLinkdiffParamsOnlyissuesN0 PostSourceProjectNamePackageNamecmdLinkdiffParamsOnlyissues = "0" PostSourceProjectNamePackageNamecmdLinkdiffParamsOnlyissuesN1 PostSourceProjectNamePackageNamecmdLinkdiffParamsOnlyissues = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdLinkdiffParamsUnified. const ( PostSourceProjectNamePackageNamecmdLinkdiffParamsUnifiedN0 PostSourceProjectNamePackageNamecmdLinkdiffParamsUnified = "0" PostSourceProjectNamePackageNamecmdLinkdiffParamsUnifiedN1 PostSourceProjectNamePackageNamecmdLinkdiffParamsUnified = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdLinkdiffParamsView. const ( PostSourceProjectNamePackageNamecmdLinkdiffParamsViewUnified PostSourceProjectNamePackageNamecmdLinkdiffParamsView = "unified" PostSourceProjectNamePackageNamecmdLinkdiffParamsViewXml PostSourceProjectNamePackageNamecmdLinkdiffParamsView = "xml" ) // Defines values for PostSourceProjectNamePackageNamecmdLinkdiffParamsWithissues. const ( PostSourceProjectNamePackageNamecmdLinkdiffParamsWithissuesN0 PostSourceProjectNamePackageNamecmdLinkdiffParamsWithissues = "0" PostSourceProjectNamePackageNamecmdLinkdiffParamsWithissuesN1 PostSourceProjectNamePackageNamecmdLinkdiffParamsWithissues = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag. const ( PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlagAccess PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag = "access" PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlagBinarydownload PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag = "binarydownload" PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlagBuild PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag = "build" PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlagDebuginfo PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag = "debuginfo" PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlagLock PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag = "lock" PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlagPublish PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag = "publish" PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlagSourceaccess PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag = "sourceaccess" PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlagUseforbuild PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag = "useforbuild" ) // Defines values for PostSourceProjectNamePackageNamecmdServicediffParamsOnlyissues. const ( PostSourceProjectNamePackageNamecmdServicediffParamsOnlyissuesN0 PostSourceProjectNamePackageNamecmdServicediffParamsOnlyissues = "0" PostSourceProjectNamePackageNamecmdServicediffParamsOnlyissuesN1 PostSourceProjectNamePackageNamecmdServicediffParamsOnlyissues = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdServicediffParamsUnified. const ( PostSourceProjectNamePackageNamecmdServicediffParamsUnifiedN0 PostSourceProjectNamePackageNamecmdServicediffParamsUnified = "0" PostSourceProjectNamePackageNamecmdServicediffParamsUnifiedN1 PostSourceProjectNamePackageNamecmdServicediffParamsUnified = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdServicediffParamsView. const ( PostSourceProjectNamePackageNamecmdServicediffParamsViewUnified PostSourceProjectNamePackageNamecmdServicediffParamsView = "unified" PostSourceProjectNamePackageNamecmdServicediffParamsViewXml PostSourceProjectNamePackageNamecmdServicediffParamsView = "xml" ) // Defines values for PostSourceProjectNamePackageNamecmdServicediffParamsWithissues. const ( PostSourceProjectNamePackageNamecmdServicediffParamsWithissuesN0 PostSourceProjectNamePackageNamecmdServicediffParamsWithissues = "0" PostSourceProjectNamePackageNamecmdServicediffParamsWithissuesN1 PostSourceProjectNamePackageNamecmdServicediffParamsWithissues = "1" ) // Defines values for PostSourceProjectNamePackageNamecmdSetFlagParamsFlag. const ( Access PostSourceProjectNamePackageNamecmdSetFlagParamsFlag = "access" Binarydownload PostSourceProjectNamePackageNamecmdSetFlagParamsFlag = "binarydownload" Build PostSourceProjectNamePackageNamecmdSetFlagParamsFlag = "build" Debuginfo PostSourceProjectNamePackageNamecmdSetFlagParamsFlag = "debuginfo" Lock PostSourceProjectNamePackageNamecmdSetFlagParamsFlag = "lock" Publish PostSourceProjectNamePackageNamecmdSetFlagParamsFlag = "publish" Sourceaccess PostSourceProjectNamePackageNamecmdSetFlagParamsFlag = "sourceaccess" Useforbuild PostSourceProjectNamePackageNamecmdSetFlagParamsFlag = "useforbuild" ) // Defines values for PostSourceProjectNamePackageNamecmdSetFlagParamsStatus. const ( Disable PostSourceProjectNamePackageNamecmdSetFlagParamsStatus = "disable" Enable PostSourceProjectNamePackageNamecmdSetFlagParamsStatus = "enable" ) // Defines values for GetSourceProjectNamePackageNameviewInfoParamsView. const ( GetSourceProjectNamePackageNameviewInfoParamsViewCpio GetSourceProjectNamePackageNameviewInfoParamsView = "cpio" GetSourceProjectNamePackageNameviewInfoParamsViewGetmultibuild GetSourceProjectNamePackageNameviewInfoParamsView = "getmultibuild" GetSourceProjectNamePackageNameviewInfoParamsViewInfo GetSourceProjectNamePackageNameviewInfoParamsView = "info" GetSourceProjectNamePackageNameviewInfoParamsViewIssues GetSourceProjectNamePackageNameviewInfoParamsView = "issues" GetSourceProjectNamePackageNameviewInfoParamsViewProductrepositories GetSourceProjectNamePackageNameviewInfoParamsView = "productrepositories" GetSourceProjectNamePackageNameviewInfoParamsViewProducts GetSourceProjectNamePackageNameviewInfoParamsView = "products" ) // Defines values for GetSourceProjectNamePackageNameviewInfoParamsNofilename. const ( GetSourceProjectNamePackageNameviewInfoParamsNofilenameN0 GetSourceProjectNamePackageNameviewInfoParamsNofilename = "0" GetSourceProjectNamePackageNameviewInfoParamsNofilenameN1 GetSourceProjectNamePackageNameviewInfoParamsNofilename = "1" ) // Defines values for GetSourceProjectNamePackageNameviewInfoParamsParse. const ( GetSourceProjectNamePackageNameviewInfoParamsParseN0 GetSourceProjectNamePackageNameviewInfoParamsParse = "0" GetSourceProjectNamePackageNameviewInfoParamsParseN1 GetSourceProjectNamePackageNameviewInfoParamsParse = "1" ) // Defines values for PostSourceProjectNamecmdAddchannelsParamsMode. const ( PostSourceProjectNamecmdAddchannelsParamsModeAddDisabled PostSourceProjectNamecmdAddchannelsParamsMode = "add_disabled" PostSourceProjectNamecmdAddchannelsParamsModeEnableAll PostSourceProjectNamecmdAddchannelsParamsMode = "enable_all" PostSourceProjectNamecmdAddchannelsParamsModeSkipDisabled PostSourceProjectNamecmdAddchannelsParamsMode = "skip_disabled" ) // Defines values for PostSourceProjectNamecmdCopyParamsMakeolder. const ( PostSourceProjectNamecmdCopyParamsMakeolderN0 PostSourceProjectNamecmdCopyParamsMakeolder = "0" PostSourceProjectNamecmdCopyParamsMakeolderN1 PostSourceProjectNamecmdCopyParamsMakeolder = "1" ) // Defines values for PostSourceProjectNamecmdCopyParamsMakeoriginolder. const ( PostSourceProjectNamecmdCopyParamsMakeoriginolderN0 PostSourceProjectNamecmdCopyParamsMakeoriginolder = "0" PostSourceProjectNamecmdCopyParamsMakeoriginolderN1 PostSourceProjectNamecmdCopyParamsMakeoriginolder = "1" ) // Defines values for PostSourceProjectNamecmdCopyParamsNodelay. const ( PostSourceProjectNamecmdCopyParamsNodelayN0 PostSourceProjectNamecmdCopyParamsNodelay = "0" PostSourceProjectNamecmdCopyParamsNodelayN1 PostSourceProjectNamecmdCopyParamsNodelay = "1" ) // Defines values for PostSourceProjectNamecmdCopyParamsNoservice. const ( PostSourceProjectNamecmdCopyParamsNoserviceN0 PostSourceProjectNamecmdCopyParamsNoservice = "0" PostSourceProjectNamecmdCopyParamsNoserviceN1 PostSourceProjectNamecmdCopyParamsNoservice = "1" ) // Defines values for PostSourceProjectNamecmdCopyParamsResign. const ( PostSourceProjectNamecmdCopyParamsResignN0 PostSourceProjectNamecmdCopyParamsResign = "0" PostSourceProjectNamecmdCopyParamsResignN1 PostSourceProjectNamecmdCopyParamsResign = "1" ) // Defines values for PostSourceProjectNamecmdCopyParamsWithbinaries. const ( PostSourceProjectNamecmdCopyParamsWithbinariesN0 PostSourceProjectNamecmdCopyParamsWithbinaries = "0" PostSourceProjectNamecmdCopyParamsWithbinariesN1 PostSourceProjectNamecmdCopyParamsWithbinaries = "1" ) // Defines values for PostSourceProjectNamecmdCopyParamsWithhistory. const ( PostSourceProjectNamecmdCopyParamsWithhistoryN0 PostSourceProjectNamecmdCopyParamsWithhistory = "0" PostSourceProjectNamecmdCopyParamsWithhistoryN1 PostSourceProjectNamecmdCopyParamsWithhistory = "1" ) // Defines values for PostSourceProjectNamecmdModifychannelsParamsMode. const ( PostSourceProjectNamecmdModifychannelsParamsModeAddDisabled PostSourceProjectNamecmdModifychannelsParamsMode = "add_disabled" PostSourceProjectNamecmdModifychannelsParamsModeEnableAll PostSourceProjectNamecmdModifychannelsParamsMode = "enable_all" ) // Defines values for GetSourceProjectNameviewInfoParamsView. const ( GetSourceProjectNameviewInfoParamsViewInfo GetSourceProjectNameviewInfoParamsView = "info" GetSourceProjectNameviewInfoParamsViewIssues GetSourceProjectNameviewInfoParamsView = "issues" GetSourceProjectNameviewInfoParamsViewProductlist GetSourceProjectNameviewInfoParamsView = "productlist" GetSourceProjectNameviewInfoParamsViewVerboseproductlist GetSourceProjectNameviewInfoParamsView = "verboseproductlist" ) // Defines values for GetSourceProjectNameviewInfoParamsNoexpand. const ( GetSourceProjectNameviewInfoParamsNoexpandN0 GetSourceProjectNameviewInfoParamsNoexpand = "0" GetSourceProjectNameviewInfoParamsNoexpandN1 GetSourceProjectNameviewInfoParamsNoexpand = "1" ) // Defines values for GetSourceProjectNameviewInfoParamsNofilename. const ( GetSourceProjectNameviewInfoParamsNofilenameN0 GetSourceProjectNameviewInfoParamsNofilename = "0" GetSourceProjectNameviewInfoParamsNofilenameN1 GetSourceProjectNameviewInfoParamsNofilename = "1" ) // Defines values for GetSourceProjectNameviewInfoParamsParse. const ( GetSourceProjectNameviewInfoParamsParseN0 GetSourceProjectNameviewInfoParamsParse = "0" GetSourceProjectNameviewInfoParamsParseN1 GetSourceProjectNameviewInfoParamsParse = "1" ) // Defines values for GetSourceProjectNameviewInfoParamsWithmetamd5. const ( GetSourceProjectNameviewInfoParamsWithmetamd5N0 GetSourceProjectNameviewInfoParamsWithmetamd5 = "0" GetSourceProjectNameviewInfoParamsWithmetamd5N1 GetSourceProjectNameviewInfoParamsWithmetamd5 = "1" ) // Defines values for GetSourceProjectNameviewInfoParamsWithchangesmd5. const ( GetSourceProjectNameviewInfoParamsWithchangesmd5N0 GetSourceProjectNameviewInfoParamsWithchangesmd5 = "0" GetSourceProjectNameviewInfoParamsWithchangesmd5N1 GetSourceProjectNameviewInfoParamsWithchangesmd5 = "1" ) // Defines values for PostSourcecmdBranchParamsAddRepositoriesRebuild. const ( TransitiveDirectLocalCopy PostSourcecmdBranchParamsAddRepositoriesRebuild = "transitive direct local copy" ) // Defines values for PostSourcecmdBranchParamsAddRepositoriesBlock. const ( All PostSourcecmdBranchParamsAddRepositoriesBlock = "all" Local PostSourcecmdBranchParamsAddRepositoriesBlock = "local" Never PostSourcecmdBranchParamsAddRepositoriesBlock = "never" ) // Defines values for GetStagingProjectNameStagingProjectsStagingProjectNameParamsRequests. const ( GetStagingProjectNameStagingProjectsStagingProjectNameParamsRequestsN1 GetStagingProjectNameStagingProjectsStagingProjectNameParamsRequests = "1" ) // Defines values for GetStagingProjectNameStagingProjectsStagingProjectNameParamsStatus. const ( GetStagingProjectNameStagingProjectsStagingProjectNameParamsStatusN1 GetStagingProjectNameStagingProjectsStagingProjectNameParamsStatus = "1" ) // Defines values for GetStagingProjectNameStagingProjectsStagingProjectNameParamsHistory. const ( N1 GetStagingProjectNameStagingProjectsStagingProjectNameParamsHistory = "1" ) // PostBuildProjectNameParams defines parameters for PostBuildProjectName. type PostBuildProjectNameParams struct { // Package Name of the package. Scope the commands to the specified package. Package *string `form:"package,omitempty" json:"package,omitempty"` // Arch Name of the build architecture. Scope the commands to the specified architectures. Arch *string `form:"arch,omitempty" json:"arch,omitempty"` // Repository Name of the repository. Scope the commands to the specified repository. Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Cmd **NOTE**: All commands described below, can be scoped to a package within the project by setting the `package` // parameter. // // * `wipe`: Delete all binaries build by the project. // * `restartbuild`: Restart all running build processes inside the project. // * `rebuild`: Trigger a rebuild of all packages inside the project. // * `abortbuild`: Abort all running build processes for the specified project, marking them as failed. // * `killbuild`: Alias for `abortbuild`. // * `unpublish`: Delete all published package binaries, for the specified project, from the download repository. // * `sendsysrq`: Send a single sysrq character to the kernel of a running build. Character need to be specified // through the `sysrq` parameter. Only a subset of debugging requests are supported (eg. 9, t or w). Cmd PostBuildProjectNameParamsCmd `form:"cmd" json:"cmd"` } // PostBuildProjectNameParamsCmd defines parameters for PostBuildProjectName. type PostBuildProjectNameParamsCmd string // GetBuildProjectNameResultParams defines parameters for GetBuildProjectNameResult. type GetBuildProjectNameResultParams struct { // View Specify which sections should be included in the result list. // // * `status`: Include detailed infos about the build status. // * `summary`: Include the summary of the status values. // * `binarylist`: Include a list of generated binary files. View *GetBuildProjectNameResultParamsView `form:"view,omitempty" json:"view,omitempty"` // Package Name of the package. Limit results to the specified package. Package *string `form:"package,omitempty" json:"package,omitempty"` // Arch Name of the build architecture. Limit results to the specified build architecture. Arch *string `form:"arch,omitempty" json:"arch,omitempty"` // Repository Name of the repository. Limit results to the specified repository. Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Lastbuild Set to `1` to show the last build result (excludes current building job states). Lastbuild *string `form:"lastbuild,omitempty" json:"lastbuild,omitempty"` // Locallink Set to `1` to include build results from packages with project local links. Locallink *string `form:"locallink,omitempty" json:"locallink,omitempty"` // Multibuild Set to `1` to include build results from _multibuild definitions. Multibuild *string `form:"multibuild,omitempty" json:"multibuild,omitempty"` } // GetBuildProjectNameResultParamsView defines parameters for GetBuildProjectNameResult. type GetBuildProjectNameResultParamsView string // GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParams defines parameters for GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo. type GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParams struct { // Package Name of the package. Limit results to the specified package. Package *string `form:"package,omitempty" json:"package,omitempty"` // View * `pkgnames`: Show whole package dependencies, instead of individual binaries. // * `revpkgnames`: Show which packages depend on the provided project/package for // the given repository/architecture, and therefore a rebuild gets triggered on change. // * `order`: Show packages ordered by dependencies. View *GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParamsView `form:"view,omitempty" json:"view,omitempty"` } // GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParamsView defines parameters for GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo. type GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParamsView string // GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryParams defines parameters for GetBuildProjectNameRepositoryNameArchitectureNameJobhistory. type GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryParams struct { // Code Filter results by finished build code: `failed`, `succeeded`, `unchanged`. Code *string `form:"code,omitempty" json:"code,omitempty"` // EndtimeEnd Show builds which finished before given time. EndtimeEnd *int `form:"endtime_end,omitempty" json:"endtime_end,omitempty"` // EndtimeStart Show builds which finished after given time. EndtimeStart *int `form:"endtime_start,omitempty" json:"endtime_start,omitempty"` // Limit Limit the number of retrieved results elements to the specified number. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Package Name of the package. Limit results to the specified package. Package *string `form:"package,omitempty" json:"package,omitempty"` } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams defines parameters for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo. type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams struct { // Add Add a list of build dependencies (`BuildRequires`) to the build. Add *[]string `form:"add,omitempty" json:"add,omitempty"` // Debug Set to `1` to add debug information about dependencies. This information is added inside an `expandeddebug` xml element. Debug *string `form:"debug,omitempty" json:"debug,omitempty"` } // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoTextBody defines parameters for PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo. type PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoTextBody = string // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams defines parameters for PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo. type PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams struct { // Add Add a list of build dependencies (`BuildRequires`) to the build. Add *[]string `form:"add,omitempty" json:"add,omitempty"` // Debug Set to `1` to add debug information about dependencies. This information is added inside an `expandeddebug` xml element. Debug *string `form:"debug,omitempty" json:"debug,omitempty"` } // DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName defines parameters for DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName. type DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName string // PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName defines parameters for PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName. type PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName string // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParams defines parameters for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfo. type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParams struct { View []GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParamsView `form:"view" json:"view"` } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParamsView defines parameters for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfo. type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParamsView string // PostCommentsPackageProjectNamePackageNameTextBody defines parameters for PostCommentsPackageProjectNamePackageName. type PostCommentsPackageProjectNamePackageNameTextBody = string // PostCommentsPackageProjectNamePackageNameParams defines parameters for PostCommentsPackageProjectNamePackageName. type PostCommentsPackageProjectNamePackageNameParams struct { // ParentId Id of the comment to reply to ParentId *int `form:"parent_id,omitempty" json:"parent_id,omitempty"` } // PostCommentsProjectProjectNameTextBody defines parameters for PostCommentsProjectProjectName. type PostCommentsProjectProjectNameTextBody = string // PostCommentsProjectProjectNameParams defines parameters for PostCommentsProjectProjectName. type PostCommentsProjectProjectNameParams struct { // ParentId Id of the comment to reply to ParentId *int `form:"parent_id,omitempty" json:"parent_id,omitempty"` } // PostCommentsRequestIdTextBody defines parameters for PostCommentsRequestId. type PostCommentsRequestIdTextBody = string // PostCommentsRequestIdParams defines parameters for PostCommentsRequestId. type PostCommentsRequestIdParams struct { // ParentId Id of the comment to reply to ParentId *int `form:"parent_id,omitempty" json:"parent_id,omitempty"` } // PostGroupGroupTitleParams defines parameters for PostGroupGroupTitle. type PostGroupGroupTitleParams struct { // Cmd Command to be executed. It takes one of these available values: // * `add_user`: add a user to a group. `userid` query parameter must be also used. // * `remove_user`: remove a user from a group. `userid` query parameter must be also used. // * `set_email`: set email adress of group. `email` query parameter must be also used. Cmd *PostGroupGroupTitleParamsCmd `form:"cmd,omitempty" json:"cmd,omitempty"` // Userid User login. Used with `cmd=add_user` or `cmd=remove_user`. Userid *string `form:"userid,omitempty" json:"userid,omitempty"` // Email Group email. Used with `cmd=set_email`. Email *string `form:"email,omitempty" json:"email,omitempty"` } // PostGroupGroupTitleParamsCmd defines parameters for PostGroupGroupTitle. type PostGroupGroupTitleParamsCmd string // GetMyNotificationsParams defines parameters for GetMyNotifications. type GetMyNotificationsParams struct { Project *string `form:"project,omitempty" json:"project,omitempty"` Page *int `form:"page,omitempty" json:"page,omitempty"` ShowMaximum *string `form:"show_maximum,omitempty" json:"show_maximum,omitempty"` NotificationsType *GetMyNotificationsParamsNotificationsType `form:"notifications_type,omitempty" json:"notifications_type,omitempty"` } // GetMyNotificationsParamsNotificationsType defines parameters for GetMyNotifications. type GetMyNotificationsParamsNotificationsType string // GetPersonParams defines parameters for GetPerson. type GetPersonParams struct { // Prefix A prefix to filter the people to look for Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"` // Confirmed List only active users. This parameter is interpreted as `true` if present, `false` otherwise. Confirmed *string `form:"confirmed,omitempty" json:"confirmed,omitempty"` } // PostPersonParams defines parameters for PostPerson. type PostPersonParams struct { // Cmd The command to execute Cmd PostPersonParamsCmd `form:"cmd" json:"cmd"` } // PostPersonParamsCmd defines parameters for PostPerson. type PostPersonParamsCmd string // PostPersonLoginTextBody defines parameters for PostPersonLogin. type PostPersonLoginTextBody = string // PostPersonLoginParams defines parameters for PostPersonLogin. type PostPersonLoginParams struct { // Cmd The command to execute against the provided person. Cmd PostPersonLoginParamsCmd `form:"cmd" json:"cmd"` } // PostPersonLoginParamsCmd defines parameters for PostPersonLogin. type PostPersonLoginParamsCmd string // PostPersonLoginTokenParams defines parameters for PostPersonLoginToken. type PostPersonLoginTokenParams struct { // Description Token description. It helps to identify a token from the rest of the tokens of a user. Description *string `form:"description,omitempty" json:"description,omitempty"` // Project Project name. Should be provided, together with the package query parameter, // to limit the token to a specific package. Project *string `form:"project,omitempty" json:"project,omitempty"` // Package Package name. Should be provided, together with the project query parameter, // to limit the token to a specific package. Package *string `form:"package,omitempty" json:"package,omitempty"` // Operation Operation indicates the kind of token that is going to be created. // // When operation is not specified, 'runservice' is the default value. Operation *PostPersonLoginTokenParamsOperation `form:"operation,omitempty" json:"operation,omitempty"` // ScmToken **(Beta/Unstable)** // // SCM token used in OBS workflows to report back the workflow status, when the operation is workflow. // // It's normally possible to generate SCM tokens directly on the SCM's website like GitHub or GitLab. ScmToken *string `form:"scm_token,omitempty" json:"scm_token,omitempty"` } // PostPersonLoginTokenParamsOperation defines parameters for PostPersonLoginToken. type PostPersonLoginTokenParamsOperation string // GetPublishedProjectNameRepositoryNameviewStatusParams defines parameters for GetPublishedProjectNameRepositoryNameviewStatus. type GetPublishedProjectNameRepositoryNameviewStatusParams struct { // View Set this parameter to status in order to get details about the last publication. View *GetPublishedProjectNameRepositoryNameviewStatusParamsView `form:"view,omitempty" json:"view,omitempty"` } // GetPublishedProjectNameRepositoryNameviewStatusParamsView defines parameters for GetPublishedProjectNameRepositoryNameviewStatus. type GetPublishedProjectNameRepositoryNameviewStatusParamsView string // PostRequestParams defines parameters for PostRequest. type PostRequestParams struct { // Cmd This endpoint will refuse the creation of a new request if this parameter is not set. Cmd PostRequestParamsCmd `form:"cmd" json:"cmd"` // Addrevision Ask the server to add revisions of the current sources to the request. Addrevision *PostRequestParamsAddrevision `form:"addrevision,omitempty" json:"addrevision,omitempty"` // IgnoreDelegate Enforce a new package instance in a project which has OBS:DelegateRequestTarget set IgnoreDelegate *PostRequestParamsIgnoreDelegate `form:"ignore_delegate,omitempty" json:"ignore_delegate,omitempty"` // IgnoreBuildState Skip the build state check IgnoreBuildState *PostRequestParamsIgnoreBuildState `form:"ignore_build_state,omitempty" json:"ignore_build_state,omitempty"` } // PostRequestParamsCmd defines parameters for PostRequest. type PostRequestParamsCmd string // PostRequestParamsAddrevision defines parameters for PostRequest. type PostRequestParamsAddrevision string // PostRequestParamsIgnoreDelegate defines parameters for PostRequest. type PostRequestParamsIgnoreDelegate string // PostRequestParamsIgnoreBuildState defines parameters for PostRequest. type PostRequestParamsIgnoreBuildState string // GetRequestIdParams defines parameters for GetRequestId. type GetRequestIdParams struct { // Withhistory Include the request history in the results. Withhistory *string `form:"withhistory,omitempty" json:"withhistory,omitempty"` // Withfullhistory Includes both, request and review history in the results. Withfullhistory *string `form:"withfullhistory,omitempty" json:"withfullhistory,omitempty"` } // PostRequestIdParams defines parameters for PostRequestId. type PostRequestIdParams struct { // Cmd - `addreview`: // Add a review to a request. **NOTE:** You need to specify who has to address // the review by providing an additional paramter. Possible options are: // * by_user // * by_group // * by_project // // - `assignreview`: // Accept a review for a given group and assign a new review to a specific user. // **NOTE:** You need to pass the group name in the `by_group` parameter // and the new reviewer in the `reviewer` parameter. // // - `changestate`: Modify the state of a given request. // **NOTE:** You need to pass the new state through the `newstate` parameter. Changing // from one state to another is in certain cases not allowed. You can still force // the operation by using the `force` parameter. // // To supersede the given request with another request, pass the ID of the other request // in the `superseded_by` parameter, in addition to `newstate=superseded`. // // - `changereviewstate`: // Change the state of a review inside a given request. // // - `setpriority`: // Change the priority of a given request. You have to pass the choosen priority through // the `priority` parameter. Possible values are: // * low // * moderate // * important // * critical // // - `setincident`: Change the target incident for maintenance_incident actions // **NOTE:** You need to provide the incident number through the `incident` // parameter. // // - `setacceptat`: Set or modify the accept_at time. Either specified by the `time` // parameter or by default set to now. // // - `approve`: Pre-approve a request in the review state. It will turn into state `accepted` // after the last review. // // - `cancelapproval`: Reset the approval of a request Cmd *string `form:"cmd,omitempty" json:"cmd,omitempty"` // Newstate Define the new state Newstate *string `form:"newstate,omitempty" json:"newstate,omitempty"` // SupersededBy Required and used only with the combination of the `changestate` command and the `newstate=superseded` parameter - Supersede the given request with another request by passing its ID in this parameter SupersededBy *string `form:"superseded_by,omitempty" json:"superseded_by,omitempty"` // Priority Define the new priority Priority *string `form:"priority,omitempty" json:"priority,omitempty"` // ByUser Specify the user of a new review ByUser *string `form:"by_user,omitempty" json:"by_user,omitempty"` // ByGroup Specify the group of the new review ByGroup *string `form:"by_group,omitempty" json:"by_group,omitempty"` // ByProject Specify the project of the new review ByProject *string `form:"by_project,omitempty" json:"by_project,omitempty"` // ByPackage Specify the package of the new review ByPackage *string `form:"by_package,omitempty" json:"by_package,omitempty"` // Force Pass this parameter with an empty value to force the `changestate` command. Force *string `form:"force,omitempty" json:"force,omitempty"` // Incident Specify the incident number for `setincident` Incident *string `form:"incident,omitempty" json:"incident,omitempty"` // Revert Revert an assignreview command to assign review back to group Revert *string `form:"revert,omitempty" json:"revert,omitempty"` // Time Specify the time for `setacceptat` Time *string `form:"time,omitempty" json:"time,omitempty"` // Comment Add a comment to one of the actions Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // PostRequestIdcmdDiffParams defines parameters for PostRequestIdcmdDiff. type PostRequestIdcmdDiffParams struct { // DiffToSuperseded Diff relative to a given superseded request. State the id of the corresponding superseded request. DiffToSuperseded *int `form:"diff_to_superseded,omitempty" json:"diff_to_superseded,omitempty"` // View Set this parameter to xml in order to receive a structured diff instead of plain text. View *PostRequestIdcmdDiffParamsView `form:"view,omitempty" json:"view,omitempty"` // Withissues Include parsed issues from referenced sources Withissues *PostRequestIdcmdDiffParamsWithissues `form:"withissues,omitempty" json:"withissues,omitempty"` // Withdescriptionissues Include parsed issues from request description Withdescriptionissues *string `form:"withdescriptionissues,omitempty" json:"withdescriptionissues,omitempty"` } // PostRequestIdcmdDiffParamsView defines parameters for PostRequestIdcmdDiff. type PostRequestIdcmdDiffParamsView string // PostRequestIdcmdDiffParamsWithissues defines parameters for PostRequestIdcmdDiff. type PostRequestIdcmdDiffParamsWithissues string // GetRequestviewCollectionParams defines parameters for GetRequestviewCollection. type GetRequestviewCollectionParams struct { // User Filter the results of requests and open reviews for a certain user. If no other parameters are // applied, it will include requests where the user is maintainer of the target or the creator of // the request. User *string `form:"user,omitempty" json:"user,omitempty"` // Group Filter the results of requests and open reviews for a certain group. Group *string `form:"group,omitempty" json:"group,omitempty"` // Project Limit the results to requests with this project as source or target, // or requests which were assigned to be reviewed by the maintainers of this project. Project *string `form:"project,omitempty" json:"project,omitempty"` // Package Limit the results to requests with this package as source or target, // or requests which were assigned to be reviewed by the maintainers of this package. Package *string `form:"package,omitempty" json:"package,omitempty"` // States Limit results to a given request state. Multiple states can be provided as a comma separated list. States *string `form:"states,omitempty" json:"states,omitempty"` // Reviewstates Limit results to a given review state. Multiple states can be provided as a comma separated list. Reviewstates *string `form:"reviewstates,omitempty" json:"reviewstates,omitempty"` // Types Limit the results to certain action types. Multiple types can be provided as a comma separated list. Types *string `form:"types,omitempty" json:"types,omitempty"` // Roles Limit the results to a given role. Multiple roles can be provided as a comma separated list. Roles *string `form:"roles,omitempty" json:"roles,omitempty"` // Withhistory Include the request history in the results. Withhistory *string `form:"withhistory,omitempty" json:"withhistory,omitempty"` // Withfullhistory Includes both, request and review history in the results. Withfullhistory *string `form:"withfullhistory,omitempty" json:"withfullhistory,omitempty"` // Limit Limit the results by the specified amount of requests. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Offset the results by the specified amount of requests. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` // Ids Limit the result to specified request id's. Multiple id's can be provided as a comma separated list. Ids *string `form:"ids,omitempty" json:"ids,omitempty"` } // GetSearchParams defines parameters for GetSearch. type GetSearchParams struct { // In Where to search and apply a XPath expression: either the list of projects or the list of packages. // // Example of a result when `projects` is selected: // ``` // // // // // // // // x86_64 // // // // x86_64 // // // // Standard OBS instance at build.opensuse.org // This instance delivers the default build targets for OBS. // https://api.opensuse.org/public // // // ``` // // Example of a result when `packages` is selected: // ``` // // // // // // // ``` In GetSearchParamsIn `form:"in" json:"in"` // Match XPath expression used to filter the results. Match string `form:"match" json:"match"` // Return XPath expression that defines which values will be returned. // // Instead of returning a collection of projects or packages, the result will be a collection of: // - contents of elements, when that XPath expression match elements, or, // - values of atttributes, when that XPath expression match atttributes. // // Example of result, for a query string like `?in=projects&match=repository/arch='x86_64'&return=repository/name`: // ``` // // openSUSE_Tumbleweed // 15.3 // // ``` Return *string `form:"return,omitempty" json:"return,omitempty"` // Values When set to `1`, return a list of values, instead of returning a list of projects or packages. // // The result will be a collection of: // - contents of elements, when the expression defined in the `match` query parameter match elements. // For example: `match=repository/arch`. // - values of atttributes, when the expression defined in the `match` query parameter match atttributes. // For example: `match=repository/name`. // // Example of result, for a query string like `?in=projects&match=repository/path/project&values=1`: // ``` // // openSUSE.org:openSUSE:Factory // openSUSE.org:openSUSE:Leap:15.3 // // ``` Values *string `form:"values,omitempty" json:"values,omitempty"` } // GetSearchParamsIn defines parameters for GetSearch. type GetSearchParamsIn string // GetSearchChannelParams defines parameters for GetSearchChannel. type GetSearchChannelParams struct { // Match Expression based in XPath. // // Providing a value of `*` will return all channels. // // Available predicates are: // - General fields: `@package` and `@project` // - Binary fields: `binary/@name`, `binary/@binaryarch`, `binary/@package` and `binary/@supportstatus` // - Target fields: `target/disabled`, `target/updatefor/@project` and `target/updatefor/@product` Match string `form:"match" json:"match"` } // GetSearchChannelBinaryParams defines parameters for GetSearchChannelBinary. type GetSearchChannelBinaryParams struct { // Match Expression based in XPath. // // Providing a value of `*` will return all channels. // // Available predicates are: // - General fields: `@name`, `@binaryarch`, `@package`, `@project` and `@supportstatus` // - Target fields: `target/disabled` // - Updatefor fields: `updatefor/@product` and `updatefor/@product` Match string `form:"match" json:"match"` } // GetSearchChannelBinaryIdParams defines parameters for GetSearchChannelBinaryId. type GetSearchChannelBinaryIdParams struct { // Match Expression based in XPath. // // Not providing a value or providing a value of `*` will return all released binaries. // // Available predicates are: // - General fields: `@name`, `@binaryarch`, `@package`, `@project` and `@supportstatus` // - Target fields: `target/disabled` // - Updatefor fields: `updatefor/@product` and `updatefor/@product` Match *string `form:"match,omitempty" json:"match,omitempty"` } // GetSearchIssueParams defines parameters for GetSearchIssue. type GetSearchIssueParams struct { // Match Expression based in XPath. // // Providing a value of `*` will return all issues. // // Available predicates are: // - Issue fields: `@name`, `@state`, and `@tracker`. // - Issue owner fields: `owner/@email`, and `owner/@login`. Match string `form:"match" json:"match"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // GetSearchMissingOwnerParams defines parameters for GetSearchMissingOwner. type GetSearchMissingOwnerParams struct { // Project Only return results for a given project. Project *string `form:"project,omitempty" json:"project,omitempty"` // Filter A comma separated list of role names that should be // taken into account in the result. Filter *string `form:"filter,omitempty" json:"filter,omitempty"` // Attribute Choose the attribute name that marks the rootproject which defines the // owner's for all corresponding subprojects and limit the returned results // to those. The default value is `OBS:OwnerRootProject`. Attribute *string `form:"attribute,omitempty" json:"attribute,omitempty"` } // GetSearchOwnerParams defines parameters for GetSearchOwner. type GetSearchOwnerParams struct { // Package The name of the package whose owners you want to search. Package *string `form:"package,omitempty" json:"package,omitempty"` // Binary The name of a binary package whose owners you want to search. Binary *string `form:"binary,omitempty" json:"binary,omitempty"` // User Search what this user is owner of. User *string `form:"user,omitempty" json:"user,omitempty"` // Group The title of a group. Search what this group is owner of. Group *string `form:"group,omitempty" json:"group,omitempty"` // Limit Limit the number of returned results. This is only available for // the search with the `binary` parameter. The default is set to `1`, // use `0` to receive all results or `-1` for the deepest match. Limit *string `form:"limit,omitempty" json:"limit,omitempty"` // Devel Include/exclude devel packages in the result. Devel *GetSearchOwnerParamsDevel `form:"devel,omitempty" json:"devel,omitempty"` // Project By default the owner search will get results from projects (and their sub-projects) that have the OBS:OwnerRootProject attribute. // Use this parameter to overwrite the default and search in this project (and it's sub-projects). Project *string `form:"project,omitempty" json:"project,omitempty"` // Filter A comma separated list of role names that should be // taken into account in the result. Filter *string `form:"filter,omitempty" json:"filter,omitempty"` // Attribute Choose the attribute name that marks the rootproject which defines the // owner's for all corresponding subprojects and limit the returned results // to those. The default value is `OBS:OwnerRootProject`. Attribute *string `form:"attribute,omitempty" json:"attribute,omitempty"` } // GetSearchOwnerParamsDevel defines parameters for GetSearchOwner. type GetSearchOwnerParamsDevel string // GetSearchPackageParams defines parameters for GetSearchPackage. type GetSearchPackageParams struct { // Match Expression based in XPath. // // Providing a value of `*` will return all packages. // // Available predicates are: // - Package fields: `@name`, `title`, `description`, `scmsync`, and `kind`. // - `@project`: name of the project of the package. // - Devel package fields: // - `devel/@project`: name of the devel project of the package. // - `devel/@package`: name of the devel package of the package. // - Issue fields: `issue/@state`, `issue/@name`, `issue/@tracker`, and `issue/@change`. // - Issue owner fields: `issue/owner/@email`, and `issue/owner/@login`. // - Fields of attributes of an issue: `attribute_issue/@state`, `attribute_issue/@name`, and `attribute_issue/@tracker`. // - Fields of owners of an attribute of an issue: `attribute_issue/owner/@email` and `attribute_issue/owner/@login`. // - Users and groups: // - `person/@userid`: login of a user related to this package. // - `person/@role`: name of the role which a user could be related with this package. // - `group/@groupid`: name (title) of a group related to this package. // - `group/@role`: name of the role which a group could be related with this package. // - `attribute/@name`: name of an attribute of the package. // - `project/attribute/@name`: name of an attribute of the project of the package. Match string `form:"match" json:"match"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // GetSearchPackageIdParams defines parameters for GetSearchPackageId. type GetSearchPackageIdParams struct { // Match Expression based in XPath. // // Not providing a value or providing a value of `*` will return all packages. // // Available predicates are: // - Package fields: `@name`, `title`, `description`, `scysync`, and `kind`. // - `@project`: name of the project of the package. // - Devel package fields: // - `devel/@project`: name of the devel project of the package. // - `devel/@package`: name of the devel package of the package. // - Issue fields: `issue/@state`, `issue/@name`, `issue/@tracker`, and `issue/@change`. // - Issue owner fields: `issue/owner/@email`, and `issue/owner/@login`. // - Fields of attributes of an issue: `attribute_issue/@state`, `attribute_issue/@name`, and `attribute_issue/@tracker`. // - Fields of owners of an attribute of an issue: `attribute_issue/owner/@email` and `attribute_issue/owner/@login`. // - Users and groups: // - `person/@userid`: login of a user related to this package. // - `person/@role`: name of the role which a user could be related with this package. // - `group/@groupid`: name (title) of a group related to this package. // - `group/@role`: name of the role which a group could be related with this package. // - `attribute/@name`: name of an attribute of the package. // - `project/attribute/@name`: name of an attribute of the project of the package. Match *string `form:"match,omitempty" json:"match,omitempty"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // GetSearchPersonParams defines parameters for GetSearchPerson. type GetSearchPersonParams struct { // Match Expression based in XPath. // // Providing a value of `*` will return all users. // // Available predicates are: `@login`, `@email`, `@realname`, and `@state`. Match string `form:"match" json:"match"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // GetSearchProjectParams defines parameters for GetSearchProject. type GetSearchProjectParams struct { // Match Expression based in XPath. // // Providing a value of `*` will return all projects. // // Available predicates are: // - Project fields: `@name`, `@kind`, `title`, `description`, `scmsync`, `url`, and `remoteurl`. // - `package/@name`: name of the packages of the project. // - `attribute/@name`: name of the attributes of the project. // - Users and groups: // - `person/@userid`: login of a user related to this project. // - `person/@role`: name of the role which a user could be related with this project. // - `group/@groupid`: name (title) of a group related to this project. // - `group/@role`: name of the role which a group could be related with this project. // - More complex predicates are: `maintenance/maintains/@project`, `repository/@name`, // `repository/path/@project`, `repository/releasetarget/@trigger`. Match string `form:"match" json:"match"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // GetSearchProjectIdParams defines parameters for GetSearchProjectId. type GetSearchProjectIdParams struct { // Match Expression based in XPath. // // Not providing a value or providing a value of `*` will return all projects. // // Available predicates are: // - Project fields: `@name`, `@kind`, `title`, `description`, `scmsync`, `url`, and `remoteurl`. // - `package/@name`: name of the packages of the project. // - `attribute/@name`: name of the attributes of the project. // - Users and groups: // - `person/@userid`: login of a user related to this project. // - `person/@role`: name of the role which a user could be related with this project. // - `group/@groupid`: name (title) of a group related to this project. // - `group/@role`: name of the role which a group could be related with this project. // - More complex predicates are: `maintenance/maintains/@project`, `repository/@name`, // `repository/path/@project`, `repository/releasetarget/@trigger`. Match *string `form:"match,omitempty" json:"match,omitempty"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // GetSearchPublishedBinaryIdParams defines parameters for GetSearchPublishedBinaryId. type GetSearchPublishedBinaryIdParams struct { // Match XPath expression. Match string `form:"match" json:"match"` // Limit Override default maximum value of 1000 entries to be returned. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Withdownloadurl Add the download url in the results as attribute `downloadurl`. // // A value `0` means without the download url. A value `1` means with the download url. Withdownloadurl *GetSearchPublishedBinaryIdParamsWithdownloadurl `form:"withdownloadurl,omitempty" json:"withdownloadurl,omitempty"` } // GetSearchPublishedBinaryIdParamsWithdownloadurl defines parameters for GetSearchPublishedBinaryId. type GetSearchPublishedBinaryIdParamsWithdownloadurl int // GetSearchPublishedPatternIdParams defines parameters for GetSearchPublishedPatternId. type GetSearchPublishedPatternIdParams struct { // Match XPath expression. Match string `form:"match" json:"match"` // Limit Override default maximum value of 1000 entries to be returned. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Withdownloadurl Add the download url in the results as attribute `downloadurl`. // // A value `0` means without the download url. A value `1` means with the download url. Withdownloadurl *GetSearchPublishedPatternIdParamsWithdownloadurl `form:"withdownloadurl,omitempty" json:"withdownloadurl,omitempty"` } // GetSearchPublishedPatternIdParamsWithdownloadurl defines parameters for GetSearchPublishedPatternId. type GetSearchPublishedPatternIdParamsWithdownloadurl int // GetSearchPublishedRepoinfoIdParams defines parameters for GetSearchPublishedRepoinfoId. type GetSearchPublishedRepoinfoIdParams struct { // Match XPath expression. Match string `form:"match" json:"match"` // Limit Override default maximum value of 1000 entries to be returned. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Withdownloadurl Add the download url in the results as attribute `downloadurl`. // // A value `0` means without the download url. A value `1` means with the download url. Withdownloadurl *GetSearchPublishedRepoinfoIdParamsWithdownloadurl `form:"withdownloadurl,omitempty" json:"withdownloadurl,omitempty"` } // GetSearchPublishedRepoinfoIdParamsWithdownloadurl defines parameters for GetSearchPublishedRepoinfoId. type GetSearchPublishedRepoinfoIdParamsWithdownloadurl int // GetSearchReleasedBinaryParams defines parameters for GetSearchReleasedBinary. type GetSearchReleasedBinaryParams struct { // Match Expression based in XPath. // // Providing a value of `*` will return all released binaries. // // Available predicates are: // - Released binary fields: `@name`, `disturl`, `@version`, `@release`, `@arch`, `@medium`, `binaryid`, `cpeid`, `supportstatus`, and `operation`. // - Update info fields: `updateinfo/@id` and `updateinfo/@version`. // - Build fields: `build/@time` and `build/@binaryid`. // - Other fields: `modify/@time` and `obsolete/@time`. // - Repository fields: `repository/@project` and `repository/@name`. // - Publish fields: `publish/@time`, `publish/@package` and `publish/@flavor`. // - "Update for" fields: `updatefor/@project`, `updatefor/@arch`, `updatefor/@product`, `updatefor/@baseversion`, `updatefor/@patchlevel`, and `updatefor/@version`. // - Product fields: `product/@project`, `product/@version`, `product/@release`, `product/@baseversion`, `product/@patchlevel`, `product/@name`, `product/@arch`, and `product/@medium`. Match string `form:"match" json:"match"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // GetSearchReleasedBinaryIdParams defines parameters for GetSearchReleasedBinaryId. type GetSearchReleasedBinaryIdParams struct { // Match Expression based in XPath. // // Not providing a value or providing a value of `*` will return all released binaries. // // Available predicates are: // - Released binary fields: `@name`, `disturl`, `@version`, `@release`, `@arch`, `@medium`, `binaryid`, `cpeid`, `supportstatus`, and `operation`. // - Update info fields: `updateinfo/@id` and `updateinfo/@version`. // - Build fields: `build/@time` and `build/@binaryid`. // - Other fields: `modify/@time` and `obsolete/@time`. // - Repository fields: `repository/@project` and `repository/@name`. // - Publish fields: `publish/@time`, `publish/@package` and `publish/@flavor`. // - "Update for" fields: `updatefor/@project`, `updatefor/@arch`, `updatefor/@product`, `updatefor/@baseversion`, `updatefor/@patchlevel`, and `updatefor/@version`. // - Product fields: `product/@project`, `product/@version`, `product/@release`, `product/@baseversion`, `product/@patchlevel`, `product/@name`, `product/@arch`, and `product/@medium`. Match *string `form:"match,omitempty" json:"match,omitempty"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // GetSearchRepositoryIdParams defines parameters for GetSearchRepositoryId. type GetSearchRepositoryIdParams struct { // Match Expression based in XPath. // // Not providing a value or providing a value of `*` will return all projects. // // Available predicates are: // - `@name`: name of the repository. // - `@project`: name of the project of the repository. // - Path fields: `path/@project` and `path/@repository`. // - Target product fields: `targetproduct/@project`, `targetproduct/@arch`, `targetproduct/@name`, // `targetproduct/@baseversion`, `targetproduct/@patchlevel`, and `targetproduct/@version`. Match *string `form:"match,omitempty" json:"match,omitempty"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` } // GetSearchRequestParams defines parameters for GetSearchRequest. type GetSearchRequestParams struct { // Match Expression based in XPath. // // Providing a value of `*` will return all requests. // // Available predicates are: // - Request fields: `@id` and `@creator`. // - State fields: `state/@name`, `state/@who`, and `state/@when`. // - Target fields: `target/@project` and `target/@package`. // - Source fields: `source/@project` and `source/@package`. // - Actions fields: `action/@type`, `action/grouped/@id`, `action/target/@project`, `action/target/@package`, `action/source/@project`, and `action/source/@package`. // - Reviews fields: // - General: `review/@when`, `review/@state`. // - Review by: `review/@by_user`, `review/@by_group`, `review/@by_project`, and `review/@by_package`. // - History: `review/history/@when`. // - History fields: `history/@when` and `history/@who`. Match string `form:"match" json:"match"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` // Withhistory Include the request history. // // Without a value or with the value `0` means without the request history. A value `1` means with the request history. Withhistory *string `form:"withhistory,omitempty" json:"withhistory,omitempty"` // Withfullhistory Include the request and review history. // // Without a value or with the value `0` means without the request and review history. A value `1` means with the request and review history. Withfullhistory *string `form:"withfullhistory,omitempty" json:"withfullhistory,omitempty"` } // GetSearchRequestIdParams defines parameters for GetSearchRequestId. type GetSearchRequestIdParams struct { // Match Expression based in XPath. // // Not providing a value or providing a value of `*` will return all requests. // // Available predicates are: // - Request fields: `@id` and `@creator`. // - State fields: `state/@name`, `state/@who`, and `state/@when`. // - Target fields: `target/@project` and `target/@package`. // - Source fields: `source/@project` and `source/@package`. // - Actions fields: `action/@type`, `action/grouped/@id`, `action/target/@project`, `action/target/@package`, `action/source/@project`, and `action/source/@package`. // - Reviews fields: // - General: `review/@when`, `review/@state`. // - Review by: `review/@by_user`, `review/@by_group`, `review/@by_project`, and `review/@by_package`. // - History: `review/history/@when`. // - History fields: `history/@when` and `history/@who`. Match *string `form:"match,omitempty" json:"match,omitempty"` // Limit Limit the number of results. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Offset Return results starting from the element specified by offset. Offset *int `form:"offset,omitempty" json:"offset,omitempty"` // Withhistory Include the request history. // // Without a value or with the value `0` means without the request history. A value `1` means with the request history. Withhistory *string `form:"withhistory,omitempty" json:"withhistory,omitempty"` // Withfullhistory Include the request and review history. // // Without a value or with the value `0` means without the request and review history. A value `1` means with the request and review history. Withfullhistory *string `form:"withfullhistory,omitempty" json:"withfullhistory,omitempty"` } // GetSourceParams defines parameters for GetSource. type GetSourceParams struct { // Deleted Set to `1` to list the deleted projects. This is available for Admins only. Deleted *int `form:"deleted,omitempty" json:"deleted,omitempty"` } // DeleteSourceProjectNameParams defines parameters for DeleteSourceProjectName. type DeleteSourceProjectNameParams struct { // Force Set to `1` if you want to delete the project even if the repositories of other // projects include a path to this project. After deletion, the path // in the other repository will start pointing towards 'deleted/standard' to // prevent the build and publishing Force *int `form:"force,omitempty" json:"force,omitempty"` Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // GetSourceProjectNameParams defines parameters for GetSourceProjectName. type GetSourceProjectNameParams struct { // Deleted Set to `1` to list the packages of a deleted project. Deleted *string `form:"deleted,omitempty" json:"deleted,omitempty"` // Expand Set to `1` to include packages from linked projects. Expand *GetSourceProjectNameParamsExpand `form:"expand,omitempty" json:"expand,omitempty"` // View Specify which sections should be included in the packages list. // // * `issues`: Show all tracked issues for all the packages. // * `productlist`: Show all contained products. // * `verboseproductlist`: List all contained products with detailed information about the product. // // Example of a result when `issues` is selected: // ``` // // // // 2009-05-21 10:50:00 UTC // 2020-02-24 13:01:11 UTC // 505969 // bnc // // https://bugzilla.opensuse.org/show_bug.cgi?id=505969 // CLOSED // lzma, xz: missing manpages // // coolo // coolo@suse.com // Stephan Kulow // // // // 2009-06-04 14:35:00 UTC // 2020-02-24 13:01:11 UTC // 509945 // bnc // // https://bugzilla.opensuse.org/show_bug.cgi?id=509945 // CLOSED // Enforce packaging of static libraries by rpmlint check // // dirkmueller // dmueller@suse.com // Dirk Mueller // // // // // // ``` // // Example of a result when `productlist` is selected: // ``` // // // // // // ``` // // Example of a result when `verboseproductlist` is selected: // ``` // // // cpe:/o:opensuse:opensuse-addon-nonoss:20230108 // 20230108 // // // cpe:/o:opensuse:opensuse:20230108 // 20230108 // // // cpe:/o:opensuse:microos:20230108 // 20230108 // // // ``` View *GetSourceProjectNameParamsView `form:"view,omitempty" json:"view,omitempty"` } // GetSourceProjectNameParamsExpand defines parameters for GetSourceProjectName. type GetSourceProjectNameParamsExpand string // GetSourceProjectNameParamsView defines parameters for GetSourceProjectName. type GetSourceProjectNameParamsView string // GetSourceProjectNameAttributeParams defines parameters for GetSourceProjectNameAttribute. type GetSourceProjectNameAttributeParams struct { // View With view=blame, information about who changed each XML tag and when is displayed. View *GetSourceProjectNameAttributeParamsView `form:"view,omitempty" json:"view,omitempty"` // WithDefault If the attribute doesn't contain any value and `with_default` is present, // the default values will be displayed, if any. WithDefault *string `form:"with_default,omitempty" json:"with_default,omitempty"` } // GetSourceProjectNameAttributeParamsView defines parameters for GetSourceProjectNameAttribute. type GetSourceProjectNameAttributeParamsView string // DeleteSourceProjectNameAttributeAttributeNameParams defines parameters for DeleteSourceProjectNameAttributeAttributeName. type DeleteSourceProjectNameAttributeAttributeNameParams struct { Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // GetSourceProjectNameAttributeAttributeNameParams defines parameters for GetSourceProjectNameAttributeAttributeName. type GetSourceProjectNameAttributeAttributeNameParams struct { // View With view=blame, information about who changed each XML tag and when is displayed. View *GetSourceProjectNameAttributeAttributeNameParamsView `form:"view,omitempty" json:"view,omitempty"` // WithDefault If the attribute doesn't contain any value and `with_default` is present, // the default values will be displayed, if any. WithDefault *string `form:"with_default,omitempty" json:"with_default,omitempty"` } // GetSourceProjectNameAttributeAttributeNameParamsView defines parameters for GetSourceProjectNameAttributeAttributeName. type GetSourceProjectNameAttributeAttributeNameParamsView string // PostSourceProjectNameAttributeAttributeNameParams defines parameters for PostSourceProjectNameAttributeAttributeName. type PostSourceProjectNameAttributeAttributeNameParams struct { Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // GetSourceProjectNameConfigParams defines parameters for GetSourceProjectNameConfig. type GetSourceProjectNameConfigParams struct { Rev *string `form:"rev,omitempty" json:"rev,omitempty"` } // PutSourceProjectNameConfigTextBody defines parameters for PutSourceProjectNameConfig. type PutSourceProjectNameConfigTextBody = string // PutSourceProjectNameConfigParams defines parameters for PutSourceProjectNameConfig. type PutSourceProjectNameConfigParams struct { Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // GetSourceProjectNameMetaParams defines parameters for GetSourceProjectNameMeta. type GetSourceProjectNameMetaParams struct { View *string `form:"view,omitempty" json:"view,omitempty"` } // PutSourceProjectNameMetaParams defines parameters for PutSourceProjectNameMeta. type PutSourceProjectNameMetaParams struct { // Comment Comment that explains the changes you made in meta file. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // GetSourceProjectNameProjectParams defines parameters for GetSourceProjectNameProject. type GetSourceProjectNameProjectParams struct { // Meta Set to 1 to include _meta files Meta *int `form:"meta,omitempty" json:"meta,omitempty"` // Rev Revision number Rev *int `form:"rev,omitempty" json:"rev,omitempty"` } // GetSourceProjectNameProjectHistoryParams defines parameters for GetSourceProjectNameProjectHistory. type GetSourceProjectNameProjectHistoryParams struct { // Deleted Set to `1` to allow to retrieve the revision history of a deleted project. Deleted *string `form:"deleted,omitempty" json:"deleted,omitempty"` // Limit Limit the number of retrieved revision history elements to the specified number. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Meta Set to `1` to retrieve the revision history of the meta file (`_meta`) of the project. Meta *string `form:"meta,omitempty" json:"meta,omitempty"` // Startbefore Start the list of revision history elements before the given revision number. Startbefore *int `form:"startbefore,omitempty" json:"startbefore,omitempty"` // Rev Return the revision entry for a specific revision number. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` } // GetSourceProjectNameProjectFileNameParams defines parameters for GetSourceProjectNameProjectFileName. type GetSourceProjectNameProjectFileNameParams struct { // Deleted Set to `1` to read a file of a deleted project. Deleted *string `form:"deleted,omitempty" json:"deleted,omitempty"` // Meta Set to `1` to include _meta files Meta *int `form:"meta,omitempty" json:"meta,omitempty"` // Rev Revision number Rev *int `form:"rev,omitempty" json:"rev,omitempty"` } // DeleteSourceProjectNamePackageNameParams defines parameters for DeleteSourceProjectNamePackageName. type DeleteSourceProjectNamePackageNameParams struct { // Comment Comment to be included in the revision history of the package. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` // Force Set to `1` to delete this package, even if other packages use this one as devel package. Force *DeleteSourceProjectNamePackageNameParamsForce `form:"force,omitempty" json:"force,omitempty"` } // DeleteSourceProjectNamePackageNameParamsForce defines parameters for DeleteSourceProjectNamePackageName. type DeleteSourceProjectNamePackageNameParamsForce string // GetSourceProjectNamePackageNameParams defines parameters for GetSourceProjectNamePackageName. type GetSourceProjectNamePackageNameParams struct { // Deleted Set to `1` to list source files of deleted packages. // // Return a "Bad Request" error (400) if it is set to `1` and the package exists. Deleted *string `form:"deleted,omitempty" json:"deleted,omitempty"` // Expand Expand links. Expand *GetSourceProjectNamePackageNameParamsExpand `form:"expand,omitempty" json:"expand,omitempty"` // Extension List source files with the given extension. Extension *string `form:"extension,omitempty" json:"extension,omitempty"` // Lastworking Show sources of the last mergeable sources in case of conflicting changes. Lastworking *GetSourceProjectNamePackageNameParamsLastworking `form:"lastworking,omitempty" json:"lastworking,omitempty"` // Linkrev Show sources of the specified linked revision in the base package. Linkrev *string `form:"linkrev,omitempty" json:"linkrev,omitempty"` // Meta Set to `1` to show only the metadata file (`_meta`) in the list of files. Meta *GetSourceProjectNamePackageNameParamsMeta `form:"meta,omitempty" json:"meta,omitempty"` // Product Use with `view=products`. Limit the product view to a given product. Product *string `form:"product,omitempty" json:"product,omitempty"` // Rev Show sources of the specified revision. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // View Specify which information about a package should be returned. // // * `cpio`: Stream all package files as cpio. // * `getmultibuild`: List multibuild packages. // * `info`: Show source version, md5sums and build description files, among other information. // See this [other endpoint](<#/Sources - Packages/get_source__project_name___package_name__view_info>) for details. // * `issues`: Show all tracked issues for this package. // * `products`: Show all products of a package (works only on `_product` or `000product` packages). // * `productrepositories`: Show all repositories used in product definitions (or a given product). View *GetSourceProjectNamePackageNameParamsView `form:"view,omitempty" json:"view,omitempty"` // Withlinked Set to `1` to show all used packages (in case of multiple link indirections) in linkinfo information. Withlinked *GetSourceProjectNamePackageNameParamsWithlinked `form:"withlinked,omitempty" json:"withlinked,omitempty"` } // GetSourceProjectNamePackageNameParamsExpand defines parameters for GetSourceProjectNamePackageName. type GetSourceProjectNamePackageNameParamsExpand string // GetSourceProjectNamePackageNameParamsLastworking defines parameters for GetSourceProjectNamePackageName. type GetSourceProjectNamePackageNameParamsLastworking string // GetSourceProjectNamePackageNameParamsMeta defines parameters for GetSourceProjectNamePackageName. type GetSourceProjectNamePackageNameParamsMeta string // GetSourceProjectNamePackageNameParamsView defines parameters for GetSourceProjectNamePackageName. type GetSourceProjectNamePackageNameParamsView string // GetSourceProjectNamePackageNameParamsWithlinked defines parameters for GetSourceProjectNamePackageName. type GetSourceProjectNamePackageNameParamsWithlinked string // GetSourceProjectNamePackageNameAttributeParams defines parameters for GetSourceProjectNamePackageNameAttribute. type GetSourceProjectNamePackageNameAttributeParams struct { // Rev Passing the number of the revision, this endpoint displays the attributes' XML as it was at that point. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // View With `view=blame`, information about who changed each XML tag and when is displayed. View *GetSourceProjectNamePackageNameAttributeParamsView `form:"view,omitempty" json:"view,omitempty"` // WithDefault If the attribute doesn't contain any value and `with_default` is present, // the default values will be displayed, if any. WithDefault *string `form:"with_default,omitempty" json:"with_default,omitempty"` // WithProject Passing `with_project`, the response displays the attributes of the package's project in addition to the package ones. WithProject *string `form:"with_project,omitempty" json:"with_project,omitempty"` } // GetSourceProjectNamePackageNameAttributeParamsView defines parameters for GetSourceProjectNamePackageNameAttribute. type GetSourceProjectNamePackageNameAttributeParamsView string // GetSourceProjectNamePackageNameAttributeAttributeNameParams defines parameters for GetSourceProjectNamePackageNameAttributeAttributeName. type GetSourceProjectNamePackageNameAttributeAttributeNameParams struct { // Rev Passing the number of the revision, this endpoint displays the attributes' XML as it was at that point. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // View With `view=blame`, information about who changed each XML tag and when is displayed. View *GetSourceProjectNamePackageNameAttributeAttributeNameParamsView `form:"view,omitempty" json:"view,omitempty"` // WithDefault If the attribute doesn't contain any value and `with_default` is present, // the default values will be displayed, if any. WithDefault *string `form:"with_default,omitempty" json:"with_default,omitempty"` // WithProject Passing `with_project`, the response displays the specified attribute of the package's project, if any, in addition to the package one. WithProject *string `form:"with_project,omitempty" json:"with_project,omitempty"` } // GetSourceProjectNamePackageNameAttributeAttributeNameParamsView defines parameters for GetSourceProjectNamePackageNameAttributeAttributeName. type GetSourceProjectNamePackageNameAttributeAttributeNameParamsView string // GetSourceProjectNamePackageNameHistoryParams defines parameters for GetSourceProjectNamePackageNameHistory. type GetSourceProjectNamePackageNameHistoryParams struct { // Deleted Set to `1` to allow to retrieve the revision history of a deleted package. Deleted *string `form:"deleted,omitempty" json:"deleted,omitempty"` // Limit Limit the number of retrieved revision history elements to the specified number. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Meta Set to `1` to retrieve the revision history of the meta file (`_meta`) of the package. Meta *string `form:"meta,omitempty" json:"meta,omitempty"` // Startbefore Start the list of revision history elements before the given revision number. Startbefore *int `form:"startbefore,omitempty" json:"startbefore,omitempty"` // Rev Return the revision entry for a specific revision number. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` } // GetSourceProjectNamePackageNameMetaParams defines parameters for GetSourceProjectNamePackageNameMeta. type GetSourceProjectNamePackageNameMetaParams struct { // Meta Set to `1` to force to retrieve the package metadata from the backend. Meta *string `form:"meta,omitempty" json:"meta,omitempty"` // Rev Return the package metadata for a specific revision number. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // View With `view=blame` show information about who and when each line of the package metadata was changed. View *GetSourceProjectNamePackageNameMetaParamsView `form:"view,omitempty" json:"view,omitempty"` } // GetSourceProjectNamePackageNameMetaParamsView defines parameters for GetSourceProjectNamePackageNameMeta. type GetSourceProjectNamePackageNameMetaParamsView string // PutSourceProjectNamePackageNameMetaParams defines parameters for PutSourceProjectNamePackageNameMeta. type PutSourceProjectNamePackageNameMetaParams struct { // Comment Comment that explains the changes you made in the meta file. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // DeleteSourceProjectNamePackageNameFileNameParams defines parameters for DeleteSourceProjectNamePackageNameFileName. type DeleteSourceProjectNamePackageNameFileNameParams struct { // Rev If set to 'upload', multiple files can be deleted in just one commit. // Delete first the files with `rev=upload`, then close the single commit by another request call with `cmd=commit` Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // Meta Set to `1` to delete meta data instead of sources. Meta *DeleteSourceProjectNamePackageNameFileNameParamsMeta `form:"meta,omitempty" json:"meta,omitempty"` // Comment A comment that will appear in the package's comment section explaining the reason behind the deletion of the file. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` // Keeplink Set to `1` to preserve the link (`_link` file) on the source. Keeplink *DeleteSourceProjectNamePackageNameFileNameParamsKeeplink `form:"keeplink,omitempty" json:"keeplink,omitempty"` } // DeleteSourceProjectNamePackageNameFileNameParamsMeta defines parameters for DeleteSourceProjectNamePackageNameFileName. type DeleteSourceProjectNamePackageNameFileNameParamsMeta int // DeleteSourceProjectNamePackageNameFileNameParamsKeeplink defines parameters for DeleteSourceProjectNamePackageNameFileName. type DeleteSourceProjectNamePackageNameFileNameParamsKeeplink string // GetSourceProjectNamePackageNameFileNameParams defines parameters for GetSourceProjectNamePackageNameFileName. type GetSourceProjectNamePackageNameFileNameParams struct { // Rev Retrieve the file at a specific package revision. Rev *int `form:"rev,omitempty" json:"rev,omitempty"` // Meta Set to `1` to show meta data instead of sources. Meta *GetSourceProjectNamePackageNameFileNameParamsMeta `form:"meta,omitempty" json:"meta,omitempty"` // Deleted Set to 1 to retrieve a file from a deleted project or package. Deleted *GetSourceProjectNamePackageNameFileNameParamsDeleted `form:"deleted,omitempty" json:"deleted,omitempty"` // Expand Set to `1` to include files from linked packages. Expand *GetSourceProjectNamePackageNameFileNameParamsExpand `form:"expand,omitempty" json:"expand,omitempty"` // View With `view=blame`, information about who changed the file. View *GetSourceProjectNamePackageNameFileNameParamsView `form:"view,omitempty" json:"view,omitempty"` } // GetSourceProjectNamePackageNameFileNameParamsMeta defines parameters for GetSourceProjectNamePackageNameFileName. type GetSourceProjectNamePackageNameFileNameParamsMeta int // GetSourceProjectNamePackageNameFileNameParamsDeleted defines parameters for GetSourceProjectNamePackageNameFileName. type GetSourceProjectNamePackageNameFileNameParamsDeleted int // GetSourceProjectNamePackageNameFileNameParamsExpand defines parameters for GetSourceProjectNamePackageNameFileName. type GetSourceProjectNamePackageNameFileNameParamsExpand int // GetSourceProjectNamePackageNameFileNameParamsView defines parameters for GetSourceProjectNamePackageNameFileName. type GetSourceProjectNamePackageNameFileNameParamsView string // PutSourceProjectNamePackageNameFileNameParams defines parameters for PutSourceProjectNamePackageNameFileName. type PutSourceProjectNamePackageNameFileNameParams struct { // Rev If set to 'upload', multiple files can be uploaded in just one commit. // Upload first the files with `rev=upload`, then close the single commit by another request call with `cmd=commit` Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // Meta Set to `1` to write meta data instead of sources. Meta *PutSourceProjectNamePackageNameFileNameParamsMeta `form:"meta,omitempty" json:"meta,omitempty"` // Comment A comment that will appear in the package's comment section explaining the reason behind the creation of the new file. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` // Keeplink Set to `1` to preserve the link (`_link` file) on the source. Keeplink *PutSourceProjectNamePackageNameFileNameParamsKeeplink `form:"keeplink,omitempty" json:"keeplink,omitempty"` } // PutSourceProjectNamePackageNameFileNameParamsMeta defines parameters for PutSourceProjectNamePackageNameFileName. type PutSourceProjectNamePackageNameFileNameParamsMeta int // PutSourceProjectNamePackageNameFileNameParamsKeeplink defines parameters for PutSourceProjectNamePackageNameFileName. type PutSourceProjectNamePackageNameFileNameParamsKeeplink string // PostSourceProjectNamePackageNamecmdAddcontainersParams defines parameters for PostSourceProjectNamePackageNamecmdAddcontainers. type PostSourceProjectNamePackageNamecmdAddcontainersParams struct { Cmd PostSourceProjectNamePackageNamecmdAddcontainersParamsCmd `form:"cmd" json:"cmd"` // ExtendPackageNames Set to consider the container name as a parsed combination of container project and container name. // With format `[container name].[container project name]` where `:` was replaced by `_`, // i.e. "kiwi-templates-Minimal.SUSE_Templates_Images_SLE-15-SP4". ExtendPackageNames *PostSourceProjectNamePackageNamecmdAddcontainersParamsExtendPackageNames `form:"extend_package_names,omitempty" json:"extend_package_names,omitempty"` } // PostSourceProjectNamePackageNamecmdAddcontainersParamsCmd defines parameters for PostSourceProjectNamePackageNamecmdAddcontainers. type PostSourceProjectNamePackageNamecmdAddcontainersParamsCmd string // PostSourceProjectNamePackageNamecmdAddcontainersParamsExtendPackageNames defines parameters for PostSourceProjectNamePackageNamecmdAddcontainers. type PostSourceProjectNamePackageNamecmdAddcontainersParamsExtendPackageNames string // PostSourceProjectNamePackageNamecmdBranchParams defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParams struct { // TargetProject Target project name. TargetProject *string `form:"target_project,omitempty" json:"target_project,omitempty"` // TargetPackage Target package name. TargetPackage *string `form:"target_package,omitempty" json:"target_package,omitempty"` // AddRepositories Set to add repositories based on source project (default for new projects). AddRepositories *PostSourceProjectNamePackageNamecmdBranchParamsAddRepositories `form:"add_repositories,omitempty" json:"add_repositories,omitempty"` // AddRepositoriesRebuild Set one of the defined rebuild policies for new repositories (`transitive`, `direct` or `local`) or copy it from the source project (`copy`) AddRepositoriesRebuild *PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuild `form:"add_repositories_rebuild,omitempty" json:"add_repositories_rebuild,omitempty"` // AddRepositoriesBlock Set to use defined block policy for new repositories. AddRepositoriesBlock *PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesBlock `form:"add_repositories_block,omitempty" json:"add_repositories_block,omitempty"` // Autocleanup Set to enable autocleanup on the branched project. Autocleanup *PostSourceProjectNamePackageNamecmdBranchParamsAutocleanup `form:"autocleanup,omitempty" json:"autocleanup,omitempty"` // Dryrun Set to run without making action, just report results. Dryrun *PostSourceProjectNamePackageNamecmdBranchParamsDryrun `form:"dryrun,omitempty" json:"dryrun,omitempty"` // ExtendPackageNames Set to extend package and repository names to allow multiple instances of the same package. ExtendPackageNames *PostSourceProjectNamePackageNamecmdBranchParamsExtendPackageNames `form:"extend_package_names,omitempty" json:"extend_package_names,omitempty"` // Ignoredevel Set to ignore validation and resolving of devel package or devel project definition. Ignoredevel *PostSourceProjectNamePackageNamecmdBranchParamsIgnoredevel `form:"ignoredevel,omitempty" json:"ignoredevel,omitempty"` // Force Set to 1 to allow overwriting of a pre-existing package. Force *string `form:"force,omitempty" json:"force,omitempty"` // Rev Set to branch against a specific revision. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // Maintenance Set to explicitly ask for a maintenance branch. Maintenance *PostSourceProjectNamePackageNamecmdBranchParamsMaintenance `form:"maintenance,omitempty" json:"maintenance,omitempty"` // Missingok Set to create the target package if it does not exist. Missingok *PostSourceProjectNamePackageNamecmdBranchParamsMissingok `form:"missingok,omitempty" json:"missingok,omitempty"` // Newinstance Set to have the target package exist only via project links, but the link should point to the given project. Newinstance *PostSourceProjectNamePackageNamecmdBranchParamsNewinstance `form:"newinstance,omitempty" json:"newinstance,omitempty"` // Noaccess Set to make the newly created project be read protected. This won't work if the project already exists. Noaccess *PostSourceProjectNamePackageNamecmdBranchParamsNoaccess `form:"noaccess,omitempty" json:"noaccess,omitempty"` // Noservice Set to not run source services on branching. Noservice *PostSourceProjectNamePackageNamecmdBranchParamsNoservice `form:"noservice,omitempty" json:"noservice,omitempty"` // Request Creates a branch project based on the provided request number. Request *string `form:"request,omitempty" json:"request,omitempty"` // UpdatePathElements Set to update all the path elements if needed (used repositories depend on each other). UpdatePathElements *PostSourceProjectNamePackageNamecmdBranchParamsUpdatePathElements `form:"update_path_elements,omitempty" json:"update_path_elements,omitempty"` // UpdateProjectAttribute Set a different Update Project attribute. UpdateProjectAttribute *string `form:"update_project_attribute,omitempty" json:"update_project_attribute,omitempty"` } // PostSourceProjectNamePackageNamecmdBranchParamsAddRepositories defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsAddRepositories string // PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuild defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesRebuild string // PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesBlock defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsAddRepositoriesBlock string // PostSourceProjectNamePackageNamecmdBranchParamsAutocleanup defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsAutocleanup string // PostSourceProjectNamePackageNamecmdBranchParamsDryrun defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsDryrun string // PostSourceProjectNamePackageNamecmdBranchParamsExtendPackageNames defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsExtendPackageNames string // PostSourceProjectNamePackageNamecmdBranchParamsIgnoredevel defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsIgnoredevel string // PostSourceProjectNamePackageNamecmdBranchParamsMaintenance defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsMaintenance string // PostSourceProjectNamePackageNamecmdBranchParamsMissingok defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsMissingok string // PostSourceProjectNamePackageNamecmdBranchParamsNewinstance defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsNewinstance string // PostSourceProjectNamePackageNamecmdBranchParamsNoaccess defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsNoaccess string // PostSourceProjectNamePackageNamecmdBranchParamsNoservice defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsNoservice string // PostSourceProjectNamePackageNamecmdBranchParamsUpdatePathElements defines parameters for PostSourceProjectNamePackageNamecmdBranch. type PostSourceProjectNamePackageNamecmdBranchParamsUpdatePathElements string // PostSourceProjectNamePackageNamecmdCollectbuildenvParams defines parameters for PostSourceProjectNamePackageNamecmdCollectbuildenv. type PostSourceProjectNamePackageNamecmdCollectbuildenvParams struct { // Oproject Origin project. The project that the Origin Package will have the build information copied from. Oproject string `form:"oproject" json:"oproject"` // Opackage Origin package. Build environment information of the package that will be copied. Opackage *string `form:"opackage,omitempty" json:"opackage,omitempty"` // Orev Origin package revision. Revision of the Origin Package on which to base the build environment collection. Orev *string `form:"orev,omitempty" json:"orev,omitempty"` // Comment Comment for the new revision. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // PostSourceProjectNamePackageNamecmdCommitParams defines parameters for PostSourceProjectNamePackageNamecmdCommit. type PostSourceProjectNamePackageNamecmdCommitParams struct { // Comment Provide a comment to the revision in history. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` // Linkrev Link revision in base package. Set to `base` to use the commit revision. // // Used together with the `keeplink` parameter. Linkrev *string `form:"linkrev,omitempty" json:"linkrev,omitempty"` // Rev Revision of the package. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // Keeplink Set to `1` to preserve the link (`_link` file) on the source. Keeplink *PostSourceProjectNamePackageNamecmdCommitParamsKeeplink `form:"keeplink,omitempty" json:"keeplink,omitempty"` // Repairlink Set to `1` to solve conflicts. // // Used together with `keeplink` parameter. Repairlink *PostSourceProjectNamePackageNamecmdCommitParamsRepairlink `form:"repairlink,omitempty" json:"repairlink,omitempty"` } // PostSourceProjectNamePackageNamecmdCommitParamsKeeplink defines parameters for PostSourceProjectNamePackageNamecmdCommit. type PostSourceProjectNamePackageNamecmdCommitParamsKeeplink string // PostSourceProjectNamePackageNamecmdCommitParamsRepairlink defines parameters for PostSourceProjectNamePackageNamecmdCommit. type PostSourceProjectNamePackageNamecmdCommitParamsRepairlink string // PostSourceProjectNamePackageNamecmdCommitfilelistParams defines parameters for PostSourceProjectNamePackageNamecmdCommitfilelist. type PostSourceProjectNamePackageNamecmdCommitfilelistParams struct { // Comment Provide a comment to the revision Comment *string `form:"comment,omitempty" json:"comment,omitempty"` // Linkrev Link revision in base package. Set to `base` to use the commit revision. // // Used together with the `keeplink` parameter. Linkrev *string `form:"linkrev,omitempty" json:"linkrev,omitempty"` // Rev Revision of the package. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // Keeplink Set to `1` to preserve the link (`_link` file) on the source. Keeplink *PostSourceProjectNamePackageNamecmdCommitfilelistParamsKeeplink `form:"keeplink,omitempty" json:"keeplink,omitempty"` // Repairlink Set to `1` to solve conflicts. // // Used together with `keeplink` parameter. Repairlink *PostSourceProjectNamePackageNamecmdCommitfilelistParamsRepairlink `form:"repairlink,omitempty" json:"repairlink,omitempty"` // Withvalidate Set to `1` to activate sha validation code (optional, but recommended) Withvalidate *PostSourceProjectNamePackageNamecmdCommitfilelistParamsWithvalidate `form:"withvalidate,omitempty" json:"withvalidate,omitempty"` } // PostSourceProjectNamePackageNamecmdCommitfilelistParamsKeeplink defines parameters for PostSourceProjectNamePackageNamecmdCommitfilelist. type PostSourceProjectNamePackageNamecmdCommitfilelistParamsKeeplink string // PostSourceProjectNamePackageNamecmdCommitfilelistParamsRepairlink defines parameters for PostSourceProjectNamePackageNamecmdCommitfilelist. type PostSourceProjectNamePackageNamecmdCommitfilelistParamsRepairlink string // PostSourceProjectNamePackageNamecmdCommitfilelistParamsWithvalidate defines parameters for PostSourceProjectNamePackageNamecmdCommitfilelist. type PostSourceProjectNamePackageNamecmdCommitfilelistParamsWithvalidate string // PostSourceProjectNamePackageNamecmdCopyParams defines parameters for PostSourceProjectNamePackageNamecmdCopy. type PostSourceProjectNamePackageNamecmdCopyParams struct { Rev *PostSourceProjectNamePackageNamecmdCopyParamsRev `form:"rev,omitempty" json:"rev,omitempty"` // Opackage Origin package. The package that will be copied. Opackage *string `form:"opackage,omitempty" json:"opackage,omitempty"` // Oproject Origin project. The project that the Origin Package will be copied from. Oproject *string `form:"oproject,omitempty" json:"oproject,omitempty"` // Withbinaries Set to '1' to copy binaries that have been build by the origin package too. Withbinaries *PostSourceProjectNamePackageNamecmdCopyParamsWithbinaries `form:"withbinaries,omitempty" json:"withbinaries,omitempty"` // Makeolder Set to '1' to make the target older, the source vrev is bumped by two numbers and target by one. Setting both makeolder and makeoriginolder will return an error back. Makeolder *PostSourceProjectNamePackageNamecmdCopyParamsMakeolder `form:"makeolder,omitempty" json:"makeolder,omitempty"` // Makeoriginolder Set to '1' to make the origin older, the source vrev is extended and target is guaranteed to be newer. Setting both makeoriginolder and makeolder will return an error back. Makeoriginolder *PostSourceProjectNamePackageNamecmdCopyParamsMakeoriginolder `form:"makeoriginolder,omitempty" json:"makeoriginolder,omitempty"` // Nodelay Set to '1' to do the copying synchronously. By default the copying is done asynchronously. Nodelay *PostSourceProjectNamePackageNamecmdCopyParamsNodelay `form:"nodelay,omitempty" json:"nodelay,omitempty"` // Withhistory Set to '1' to copy the package commit history. Withhistory *PostSourceProjectNamePackageNamecmdCopyParamsWithhistory `form:"withhistory,omitempty" json:"withhistory,omitempty"` // Noservice Set to '1' to avoid running the services after the copy. Noservice *PostSourceProjectNamePackageNamecmdCopyParamsNoservice `form:"noservice,omitempty" json:"noservice,omitempty"` // Comment Comment for the new revision. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // PostSourceProjectNamePackageNamecmdCopyParamsRev defines parameters for PostSourceProjectNamePackageNamecmdCopy. type PostSourceProjectNamePackageNamecmdCopyParamsRev string // PostSourceProjectNamePackageNamecmdCopyParamsWithbinaries defines parameters for PostSourceProjectNamePackageNamecmdCopy. type PostSourceProjectNamePackageNamecmdCopyParamsWithbinaries string // PostSourceProjectNamePackageNamecmdCopyParamsMakeolder defines parameters for PostSourceProjectNamePackageNamecmdCopy. type PostSourceProjectNamePackageNamecmdCopyParamsMakeolder string // PostSourceProjectNamePackageNamecmdCopyParamsMakeoriginolder defines parameters for PostSourceProjectNamePackageNamecmdCopy. type PostSourceProjectNamePackageNamecmdCopyParamsMakeoriginolder string // PostSourceProjectNamePackageNamecmdCopyParamsNodelay defines parameters for PostSourceProjectNamePackageNamecmdCopy. type PostSourceProjectNamePackageNamecmdCopyParamsNodelay string // PostSourceProjectNamePackageNamecmdCopyParamsWithhistory defines parameters for PostSourceProjectNamePackageNamecmdCopy. type PostSourceProjectNamePackageNamecmdCopyParamsWithhistory string // PostSourceProjectNamePackageNamecmdCopyParamsNoservice defines parameters for PostSourceProjectNamePackageNamecmdCopy. type PostSourceProjectNamePackageNamecmdCopyParamsNoservice string // PostSourceProjectNamePackageNamecmdDiffParams defines parameters for PostSourceProjectNamePackageNamecmdDiff. type PostSourceProjectNamePackageNamecmdDiffParams struct { // Cacheonly Set to `1` to retrieve a diff only if the diff is already cached. // // If the diff is not cached return a 412 "Precondition failed" error. Cacheonly *PostSourceProjectNamePackageNamecmdDiffParamsCacheonly `form:"cacheonly,omitempty" json:"cacheonly,omitempty"` // Expand Set to `1` to expand any link before diffing. Expand *PostSourceProjectNamePackageNamecmdDiffParamsExpand `form:"expand,omitempty" json:"expand,omitempty"` // File Limit diff to the given file name. File *string `form:"file,omitempty" json:"file,omitempty"` // File Limit diff to the given file names. File *[]interface{} `form:"file[],omitempty" json:"file[],omitempty"` // Filelimit Limit the size of the diff to this amount of lines. // // By default it takes a built-in value of 200. // // Set to `0` to disable the limit. Filelimit *string `form:"filelimit,omitempty" json:"filelimit,omitempty"` // Linkrev Link revision in base package. Set to `base` to use the commit revision. Linkrev *string `form:"linkrev,omitempty" json:"linkrev,omitempty"` // Meta Set to `1` to diff meta data instead of sources. Meta *PostSourceProjectNamePackageNamecmdDiffParamsMeta `form:"meta,omitempty" json:"meta,omitempty"` // Missingok Set to `1` to diff against an inexistent origin. Missingok *PostSourceProjectNamePackageNamecmdDiffParamsMissingok `form:"missingok,omitempty" json:"missingok,omitempty"` // Nodiff Set to `1` to only show changed files, and not details inside files. Nodiff *PostSourceProjectNamePackageNamecmdDiffParamsNodiff `form:"nodiff,omitempty" json:"nodiff,omitempty"` // Olinkrev Link revision of the origin package. Olinkrev *string `form:"olinkrev,omitempty" json:"olinkrev,omitempty"` // Onlyissues Set to `1` to show no source diff, only the tracker issues and their change state. Onlyissues *PostSourceProjectNamePackageNamecmdDiffParamsOnlyissues `form:"onlyissues,omitempty" json:"onlyissues,omitempty"` // Orev Old revision. Orev *string `form:"orev,omitempty" json:"orev,omitempty"` // Opackage Old package. Opackage *string `form:"opackage,omitempty" json:"opackage,omitempty"` // Oproject Old project. Oproject *string `form:"oproject,omitempty" json:"oproject,omitempty"` // Rev Revision of the package. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // Tarlimit Limit the size of the diff of tar files to this amount of lines. Tarlimit *string `form:"tarlimit,omitempty" json:"tarlimit,omitempty"` // Unified Set to `1` to use unified diff format. Same as setting `view=unified`. // // Setting `unified` to `1` takes precedence on the setting of the `view` parameter. // // See `view` parameter for details on the unified format. Unified *PostSourceProjectNamePackageNamecmdDiffParamsUnified `form:"unified,omitempty" json:"unified,omitempty"` // View Set the format of the diff being returned. // // Don't pass the parameter for custom diff format. // // Set to `unified` for unified content. // // Set to `xml` for structured content in a `sourcediff` xml element. View *PostSourceProjectNamePackageNamecmdDiffParamsView `form:"view,omitempty" json:"view,omitempty"` // Withissues Set to `1` to include parsed issue tracker issues and their change state. Withissues *PostSourceProjectNamePackageNamecmdDiffParamsWithissues `form:"withissues,omitempty" json:"withissues,omitempty"` } // PostSourceProjectNamePackageNamecmdDiffParamsCacheonly defines parameters for PostSourceProjectNamePackageNamecmdDiff. type PostSourceProjectNamePackageNamecmdDiffParamsCacheonly string // PostSourceProjectNamePackageNamecmdDiffParamsExpand defines parameters for PostSourceProjectNamePackageNamecmdDiff. type PostSourceProjectNamePackageNamecmdDiffParamsExpand string // PostSourceProjectNamePackageNamecmdDiffParamsMeta defines parameters for PostSourceProjectNamePackageNamecmdDiff. type PostSourceProjectNamePackageNamecmdDiffParamsMeta string // PostSourceProjectNamePackageNamecmdDiffParamsMissingok defines parameters for PostSourceProjectNamePackageNamecmdDiff. type PostSourceProjectNamePackageNamecmdDiffParamsMissingok string // PostSourceProjectNamePackageNamecmdDiffParamsNodiff defines parameters for PostSourceProjectNamePackageNamecmdDiff. type PostSourceProjectNamePackageNamecmdDiffParamsNodiff string // PostSourceProjectNamePackageNamecmdDiffParamsOnlyissues defines parameters for PostSourceProjectNamePackageNamecmdDiff. type PostSourceProjectNamePackageNamecmdDiffParamsOnlyissues string // PostSourceProjectNamePackageNamecmdDiffParamsUnified defines parameters for PostSourceProjectNamePackageNamecmdDiff. type PostSourceProjectNamePackageNamecmdDiffParamsUnified string // PostSourceProjectNamePackageNamecmdDiffParamsView defines parameters for PostSourceProjectNamePackageNamecmdDiff. type PostSourceProjectNamePackageNamecmdDiffParamsView string // PostSourceProjectNamePackageNamecmdDiffParamsWithissues defines parameters for PostSourceProjectNamePackageNamecmdDiff. type PostSourceProjectNamePackageNamecmdDiffParamsWithissues string // PostSourceProjectNamePackageNamecmdForkParams defines parameters for PostSourceProjectNamePackageNamecmdFork. type PostSourceProjectNamePackageNamecmdForkParams struct { // Scmsync Checkout url for the source Scmsync string `form:"scmsync" json:"scmsync"` // TargetProject target project name, optional (default home::branches:) TargetProject *string `form:"target_project,omitempty" json:"target_project,omitempty"` // TargetPackage target package name TargetPackage *string `form:"target_package,omitempty" json:"target_package,omitempty"` // Force Set to 1 to allow overwriting of a pre-existing package. Force *string `form:"force,omitempty" json:"force,omitempty"` // AddRepositoriesRebuild Set one of the defined rebuild policies for new repositories (`transitive`, `direct` or `local`) or copy it from the source project (`copy`) AddRepositoriesRebuild *PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuild `form:"add_repositories_rebuild,omitempty" json:"add_repositories_rebuild,omitempty"` // AddRepositoriesBlock Set to use defined block policy for new repositories. AddRepositoriesBlock *PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesBlock `form:"add_repositories_block,omitempty" json:"add_repositories_block,omitempty"` } // PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuild defines parameters for PostSourceProjectNamePackageNamecmdFork. type PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesRebuild string // PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesBlock defines parameters for PostSourceProjectNamePackageNamecmdFork. type PostSourceProjectNamePackageNamecmdForkParamsAddRepositoriesBlock string // PostSourceProjectNamePackageNamecmdGetprojectservicesParams defines parameters for PostSourceProjectNamePackageNamecmdGetprojectservices. type PostSourceProjectNamePackageNamecmdGetprojectservicesParams struct { Cmd PostSourceProjectNamePackageNamecmdGetprojectservicesParamsCmd `form:"cmd" json:"cmd"` } // PostSourceProjectNamePackageNamecmdGetprojectservicesParamsCmd defines parameters for PostSourceProjectNamePackageNamecmdGetprojectservices. type PostSourceProjectNamePackageNamecmdGetprojectservicesParamsCmd string // PostSourceProjectNamePackageNamecmdInstantiateParams defines parameters for PostSourceProjectNamePackageNamecmdInstantiate. type PostSourceProjectNamePackageNamecmdInstantiateParams struct { // Makeoriginolder Instead of creating a branch of the package, it will instantiate a copy // of the package and extend the `vrev` to ensure the copy represents a // newer version of the package. Makeoriginolder *string `form:"makeoriginolder,omitempty" json:"makeoriginolder,omitempty"` } // PostSourceProjectNamePackageNamecmdLinkdiffParams defines parameters for PostSourceProjectNamePackageNamecmdLinkdiff. type PostSourceProjectNamePackageNamecmdLinkdiffParams struct { // File Limit diff to the given file name. File *string `form:"file,omitempty" json:"file,omitempty"` // File Limit diff to the given file names. File *[]interface{} `form:"file[],omitempty" json:"file[],omitempty"` // Filelimit Limit the size of the diff to this amount of lines. // // By default it takes a built-in value of 200. // // Set to `0` to disable the limit. Filelimit *string `form:"filelimit,omitempty" json:"filelimit,omitempty"` // Linkrev Link revision in base package. Set to `base` to use the commit revision. Linkrev *string `form:"linkrev,omitempty" json:"linkrev,omitempty"` // Onlyissues Set to `1` to show no source diff, only the tracker issues and their change state. Onlyissues *PostSourceProjectNamePackageNamecmdLinkdiffParamsOnlyissues `form:"onlyissues,omitempty" json:"onlyissues,omitempty"` // Rev Revision of the package. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // Tarlimit Limit the size of the diff of tar files to this amount of lines. Tarlimit *string `form:"tarlimit,omitempty" json:"tarlimit,omitempty"` // Unified Set to `1` to use unified diff format. Same as setting `view=unified`. // // Setting `unified` to `1` takes precedence on the setting of the `view` parameter. // // See `view` parameter for details on the unified format. Unified *PostSourceProjectNamePackageNamecmdLinkdiffParamsUnified `form:"unified,omitempty" json:"unified,omitempty"` // View Set the format of the diff being returned. // // Don't pass the parameter for custom diff format. // // Set to `unified` for unified content. // // Set to `xml` for structured content in a `sourcediff` xml element. View *PostSourceProjectNamePackageNamecmdLinkdiffParamsView `form:"view,omitempty" json:"view,omitempty"` // Withissues Set to `1` to include parsed issue tracker issues and their change state. Withissues *PostSourceProjectNamePackageNamecmdLinkdiffParamsWithissues `form:"withissues,omitempty" json:"withissues,omitempty"` } // PostSourceProjectNamePackageNamecmdLinkdiffParamsOnlyissues defines parameters for PostSourceProjectNamePackageNamecmdLinkdiff. type PostSourceProjectNamePackageNamecmdLinkdiffParamsOnlyissues string // PostSourceProjectNamePackageNamecmdLinkdiffParamsUnified defines parameters for PostSourceProjectNamePackageNamecmdLinkdiff. type PostSourceProjectNamePackageNamecmdLinkdiffParamsUnified string // PostSourceProjectNamePackageNamecmdLinkdiffParamsView defines parameters for PostSourceProjectNamePackageNamecmdLinkdiff. type PostSourceProjectNamePackageNamecmdLinkdiffParamsView string // PostSourceProjectNamePackageNamecmdLinkdiffParamsWithissues defines parameters for PostSourceProjectNamePackageNamecmdLinkdiff. type PostSourceProjectNamePackageNamecmdLinkdiffParamsWithissues string // PostSourceProjectNamePackageNamecmdLinktobranchParams defines parameters for PostSourceProjectNamePackageNamecmdLinktobranch. type PostSourceProjectNamePackageNamecmdLinktobranchParams struct { // Linkrev Link revision in base package. Set to `base` to use the commit revision. Linkrev *string `form:"linkrev,omitempty" json:"linkrev,omitempty"` // Rev Revision of the package. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` } // PostSourceProjectNamePackageNamecmdMergeserviceParams defines parameters for PostSourceProjectNamePackageNamecmdMergeservice. type PostSourceProjectNamePackageNamecmdMergeserviceParams struct { // Comment Set a comment. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // PostSourceProjectNamePackageNamecmdReleaseParams defines parameters for PostSourceProjectNamePackageNamecmdRelease. type PostSourceProjectNamePackageNamecmdReleaseParams struct { // TargetProject The name of the release target project. Specify in which project the sources and // binaries are going to be released. You need to provide the `target_repository` // parameter as well. TargetProject *string `form:"target_project,omitempty" json:"target_project,omitempty"` // TargetRepository The name of the release target repository. Specify in which repository the sources and // binaries are going to be released. You need to provide the `target_project` // parameter as well. TargetRepository *string `form:"target_repository,omitempty" json:"target_repository,omitempty"` // Repository Limit the release to a certain repository, set on the project repository definitions. Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Setrelease If this parameter is present, the release will be tagged with this parameter's value. Setrelease *string `form:"setrelease,omitempty" json:"setrelease,omitempty"` // Arch The name of the architecture. Limit the release to a certain architecture. Arch *string `form:"arch,omitempty" json:"arch,omitempty"` } // PostSourceProjectNamePackageNamecmdRemoveFlagParams defines parameters for PostSourceProjectNamePackageNamecmdRemoveFlag. type PostSourceProjectNamePackageNamecmdRemoveFlagParams struct { // Flag Name of the flag to be removed. Flag PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag `form:"flag" json:"flag"` // Repository Repository for which the flag is to be removed. Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Arch Architecture for which the flag is to be removed. Arch *string `form:"arch,omitempty" json:"arch,omitempty"` } // PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag defines parameters for PostSourceProjectNamePackageNamecmdRemoveFlag. type PostSourceProjectNamePackageNamecmdRemoveFlagParamsFlag string // PostSourceProjectNamePackageNamecmdRunserviceParams defines parameters for PostSourceProjectNamePackageNamecmdRunservice. type PostSourceProjectNamePackageNamecmdRunserviceParams struct { // Comment Set a comment. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` // User Set the user who triggers the services. User *string `form:"user,omitempty" json:"user,omitempty"` } // PostSourceProjectNamePackageNamecmdServicediffParams defines parameters for PostSourceProjectNamePackageNamecmdServicediff. type PostSourceProjectNamePackageNamecmdServicediffParams struct { // File Limit diff to the given file name. File *string `form:"file,omitempty" json:"file,omitempty"` // File Limit diff to the given file names. File *[]interface{} `form:"file[],omitempty" json:"file[],omitempty"` // Filelimit Limit the size of the diff to this amount of lines. // // By default it takes a built-in value of 200. // // Set to `0` to disable the limit. Filelimit *string `form:"filelimit,omitempty" json:"filelimit,omitempty"` // Onlyissues Set to `1` to show no source diff, only the tracker issues and their change state. Onlyissues *PostSourceProjectNamePackageNamecmdServicediffParamsOnlyissues `form:"onlyissues,omitempty" json:"onlyissues,omitempty"` // Rev Revision of the package. Rev *string `form:"rev,omitempty" json:"rev,omitempty"` // Tarlimit Limit the size of the diff of tar files to this amount of lines. Tarlimit *string `form:"tarlimit,omitempty" json:"tarlimit,omitempty"` // Unified Set to `1` to use unified diff format. Same as setting `view=unified`. // // Setting `unified` to `1` takes precedence on the setting of the `view` parameter. // // See `view` parameter for details on the unified format. Unified *PostSourceProjectNamePackageNamecmdServicediffParamsUnified `form:"unified,omitempty" json:"unified,omitempty"` // View Set the format of the diff being returned. // // Don't pass the parameter for custom diff format. // // Set to `unified` for unified content. // // Set to `xml` for structured content in a `sourcediff` xml element. View *PostSourceProjectNamePackageNamecmdServicediffParamsView `form:"view,omitempty" json:"view,omitempty"` // Withissues Set to `1` to include parsed issue tracker issues and their change state. Withissues *PostSourceProjectNamePackageNamecmdServicediffParamsWithissues `form:"withissues,omitempty" json:"withissues,omitempty"` } // PostSourceProjectNamePackageNamecmdServicediffParamsOnlyissues defines parameters for PostSourceProjectNamePackageNamecmdServicediff. type PostSourceProjectNamePackageNamecmdServicediffParamsOnlyissues string // PostSourceProjectNamePackageNamecmdServicediffParamsUnified defines parameters for PostSourceProjectNamePackageNamecmdServicediff. type PostSourceProjectNamePackageNamecmdServicediffParamsUnified string // PostSourceProjectNamePackageNamecmdServicediffParamsView defines parameters for PostSourceProjectNamePackageNamecmdServicediff. type PostSourceProjectNamePackageNamecmdServicediffParamsView string // PostSourceProjectNamePackageNamecmdServicediffParamsWithissues defines parameters for PostSourceProjectNamePackageNamecmdServicediff. type PostSourceProjectNamePackageNamecmdServicediffParamsWithissues string // PostSourceProjectNamePackageNamecmdSetFlagParams defines parameters for PostSourceProjectNamePackageNamecmdSetFlag. type PostSourceProjectNamePackageNamecmdSetFlagParams struct { // Flag Name of the flag to be set. Flag PostSourceProjectNamePackageNamecmdSetFlagParamsFlag `form:"flag" json:"flag"` // Status Status of the flag to be set. Status PostSourceProjectNamePackageNamecmdSetFlagParamsStatus `form:"status" json:"status"` // Repository Repository for which the flag is to be set. Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Arch Architecture for which the flag is to be set. Arch *string `form:"arch,omitempty" json:"arch,omitempty"` } // PostSourceProjectNamePackageNamecmdSetFlagParamsFlag defines parameters for PostSourceProjectNamePackageNamecmdSetFlag. type PostSourceProjectNamePackageNamecmdSetFlagParamsFlag string // PostSourceProjectNamePackageNamecmdSetFlagParamsStatus defines parameters for PostSourceProjectNamePackageNamecmdSetFlag. type PostSourceProjectNamePackageNamecmdSetFlagParamsStatus string // PostSourceProjectNamePackageNamecmdUndeleteParams defines parameters for PostSourceProjectNamePackageNamecmdUndelete. type PostSourceProjectNamePackageNamecmdUndeleteParams struct { // Comment Set a comment. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` // Time Set the time of the undelete operation, expressed in seconds since the epoch. // // Set to `1` to set the time of the undelete operation to the same time the package was deleted. Time *int `form:"time,omitempty" json:"time,omitempty"` } // PostSourceProjectNamePackageNamecmdUnlockParams defines parameters for PostSourceProjectNamePackageNamecmdUnlock. type PostSourceProjectNamePackageNamecmdUnlockParams struct { // Comment Comment to be included in the revision history of the `_meta` file Comment string `form:"comment" json:"comment"` } // GetSourceProjectNamePackageNameviewInfoParams defines parameters for GetSourceProjectNamePackageNameviewInfo. type GetSourceProjectNamePackageNameviewInfoParams struct { // View Specify which information about a package should be returned. // // * `info`: Show source version, md5sums and build description files, among other information. // * `cpio`, `getmultibuild`, `issues`, `products`, `productrepositories`: // See this [other endpoint](<#/Sources - Files/get_source__project_name___package_name_>) for details. View *GetSourceProjectNamePackageNameviewInfoParamsView `form:"view,omitempty" json:"view,omitempty"` // Arch Filter by architecture name. Arch *string `form:"arch,omitempty" json:"arch,omitempty"` // Nofilename Set to `1` to prevent from showing filename elements. Shows only the `sourceinfo` root element. Nofilename *GetSourceProjectNamePackageNameviewInfoParamsNofilename `form:"nofilename,omitempty" json:"nofilename,omitempty"` // Repository Filter by repository name. Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Parse Set to `1` to show more details, like `originproject`, `linked package`, `name`, `version`, `release`, `subpacks`, `deps`, and `prereqs` elements. Parse *GetSourceProjectNamePackageNameviewInfoParamsParse `form:"parse,omitempty" json:"parse,omitempty"` } // GetSourceProjectNamePackageNameviewInfoParamsView defines parameters for GetSourceProjectNamePackageNameviewInfo. type GetSourceProjectNamePackageNameviewInfoParamsView string // GetSourceProjectNamePackageNameviewInfoParamsNofilename defines parameters for GetSourceProjectNamePackageNameviewInfo. type GetSourceProjectNamePackageNameviewInfoParamsNofilename string // GetSourceProjectNamePackageNameviewInfoParamsParse defines parameters for GetSourceProjectNamePackageNameviewInfo. type GetSourceProjectNamePackageNameviewInfoParamsParse string // PostSourceProjectNamecmdAddchannelsParams defines parameters for PostSourceProjectNamecmdAddchannels. type PostSourceProjectNamecmdAddchannelsParams struct { // Mode The channel will be added to the package using this mode. Mode *PostSourceProjectNamecmdAddchannelsParamsMode `form:"mode,omitempty" json:"mode,omitempty"` } // PostSourceProjectNamecmdAddchannelsParamsMode defines parameters for PostSourceProjectNamecmdAddchannels. type PostSourceProjectNamecmdAddchannelsParamsMode string // PostSourceProjectNamecmdCopyParams defines parameters for PostSourceProjectNamecmdCopy. type PostSourceProjectNamecmdCopyParams struct { // Oproject Origin project name Oproject string `form:"oproject" json:"oproject"` // Comment Comment to be added in the revision history. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` // Makeolder Make target older. Set to `1` to bump the source vrev by two numbers and the target by one. Makeolder *PostSourceProjectNamecmdCopyParamsMakeolder `form:"makeolder,omitempty" json:"makeolder,omitempty"` // Makeoriginolder Make origin older. Set to `1` to extend the source vrev. Makeoriginolder *PostSourceProjectNamecmdCopyParamsMakeoriginolder `form:"makeoriginolder,omitempty" json:"makeoriginolder,omitempty"` // Nodelay By default the copying is done as a deferred job. Set to `1` to perform the copy right away. Nodelay *PostSourceProjectNamecmdCopyParamsNodelay `form:"nodelay,omitempty" json:"nodelay,omitempty"` // Noservice Set to `1` not to run source services. Noservice *PostSourceProjectNamecmdCopyParamsNoservice `form:"noservice,omitempty" json:"noservice,omitempty"` // Resign Set to `1` to resign all binaries with the target project key. Resign *PostSourceProjectNamecmdCopyParamsResign `form:"resign,omitempty" json:"resign,omitempty"` // Withbinaries Set to `1` to also copy binaries. Withbinaries *PostSourceProjectNamecmdCopyParamsWithbinaries `form:"withbinaries,omitempty" json:"withbinaries,omitempty"` // Withhistory Set to `1` to also copy the revision history. Withhistory *PostSourceProjectNamecmdCopyParamsWithhistory `form:"withhistory,omitempty" json:"withhistory,omitempty"` } // PostSourceProjectNamecmdCopyParamsMakeolder defines parameters for PostSourceProjectNamecmdCopy. type PostSourceProjectNamecmdCopyParamsMakeolder string // PostSourceProjectNamecmdCopyParamsMakeoriginolder defines parameters for PostSourceProjectNamecmdCopy. type PostSourceProjectNamecmdCopyParamsMakeoriginolder string // PostSourceProjectNamecmdCopyParamsNodelay defines parameters for PostSourceProjectNamecmdCopy. type PostSourceProjectNamecmdCopyParamsNodelay string // PostSourceProjectNamecmdCopyParamsNoservice defines parameters for PostSourceProjectNamecmdCopy. type PostSourceProjectNamecmdCopyParamsNoservice string // PostSourceProjectNamecmdCopyParamsResign defines parameters for PostSourceProjectNamecmdCopy. type PostSourceProjectNamecmdCopyParamsResign string // PostSourceProjectNamecmdCopyParamsWithbinaries defines parameters for PostSourceProjectNamecmdCopy. type PostSourceProjectNamecmdCopyParamsWithbinaries string // PostSourceProjectNamecmdCopyParamsWithhistory defines parameters for PostSourceProjectNamecmdCopy. type PostSourceProjectNamecmdCopyParamsWithhistory string // PostSourceProjectNamecmdCreatepatchinfoParams defines parameters for PostSourceProjectNamecmdCreatepatchinfo. type PostSourceProjectNamecmdCreatepatchinfoParams struct { // Name Name of the patchinfo package. If not passed, 'patchinfo' is the default value. Name *string `form:"name,omitempty" json:"name,omitempty"` // Comment Comment to be included in the 'summary' XML tag of the patchinfo. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` // Force If the patchinfo with the given name already existed and the force parameter is passed, // then the patchinfo will be overwritten. // If the force parameter is not passed, an error will be raised giving you some suggestions. Force *string `form:"force,omitempty" json:"force,omitempty"` } // PostSourceProjectNamecmdExtendkeyParams defines parameters for PostSourceProjectNamecmdExtendkey. type PostSourceProjectNamecmdExtendkeyParams struct { // Days Define the number of days until key expiry Days *int `form:"days,omitempty" json:"days,omitempty"` } // PostSourceProjectNamecmdFreezelinkParams defines parameters for PostSourceProjectNamecmdFreezelink. type PostSourceProjectNamecmdFreezelinkParams struct { // Comment A comment that will appear in the project's comment section explaining the reason behind the freezing. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // PostSourceProjectNamecmdLockParams defines parameters for PostSourceProjectNamecmdLock. type PostSourceProjectNamecmdLockParams struct { // Comment Comment that can be added to describe the reasoning behind the lock. Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // PostSourceProjectNamecmdModifychannelsParams defines parameters for PostSourceProjectNamecmdModifychannels. type PostSourceProjectNamecmdModifychannelsParams struct { // Mode The channel will be added to the package using this mode. Mode *PostSourceProjectNamecmdModifychannelsParamsMode `form:"mode,omitempty" json:"mode,omitempty"` } // PostSourceProjectNamecmdModifychannelsParamsMode defines parameters for PostSourceProjectNamecmdModifychannels. type PostSourceProjectNamecmdModifychannelsParamsMode string // PostSourceProjectNamecmdMoveParams defines parameters for PostSourceProjectNamecmdMove. type PostSourceProjectNamecmdMoveParams struct { // Oproject The project you want to move. Source project. Oproject string `form:"oproject" json:"oproject"` Comment *string `form:"comment,omitempty" json:"comment,omitempty"` } // PostSourceProjectNamecmdReleaseParams defines parameters for PostSourceProjectNamecmdRelease. type PostSourceProjectNamecmdReleaseParams struct { // Nodelay If this parameter is present, do not delay the relase. If this parameter is not present, the release will be delayed to be done later. Nodelay *string `form:"nodelay,omitempty" json:"nodelay,omitempty"` // TargetProject Project containing the repository targeted by the release. TargetProject *string `form:"target_project,omitempty" json:"target_project,omitempty"` // TargetRepository Repository targeted by the release. TargetRepository *string `form:"target_repository,omitempty" json:"target_repository,omitempty"` // Repository Repository for which source and binaries will be released. Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Setrelease If this parameter is present, the release will be tagged with this parameter's value. Setrelease *string `form:"setrelease,omitempty" json:"setrelease,omitempty"` } // PostSourceProjectNamecmdRemoveFlagParams defines parameters for PostSourceProjectNamecmdRemoveFlag. type PostSourceProjectNamecmdRemoveFlagParams struct { // Flag Name of the flag to be deleted Flag string `form:"flag" json:"flag"` // Repository Repository for which the flag is set Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Arch Architecture for which the flag is set Arch *string `form:"arch,omitempty" json:"arch,omitempty"` } // PostSourceProjectNamecmdSetFlagParams defines parameters for PostSourceProjectNamecmdSetFlag. type PostSourceProjectNamecmdSetFlagParams struct { // Flag Name of the flag to be set Flag string `form:"flag" json:"flag"` // Status Status of the flag to be set Status string `form:"status" json:"status"` // Repository Repository for which the flag is to be set Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Arch Architecture for which the flag is to be set Arch *string `form:"arch,omitempty" json:"arch,omitempty"` } // PostSourceProjectNamecmdUnlockParams defines parameters for PostSourceProjectNamecmdUnlock. type PostSourceProjectNamecmdUnlockParams struct { // Comment Comment that should be added to describe the reasoning behind the unlock. Comment string `form:"comment" json:"comment"` } // GetSourceProjectNameviewInfoParams defines parameters for GetSourceProjectNameviewInfo. type GetSourceProjectNameviewInfoParams struct { // View Specify which information about each package should be returned. // // * `info`: Show source version, md5sums and build description files of all packages belonging to a project. // * `issues`, `productlist`, `verboseproductlist`: // See this [other endpoint](<#/Sources - Packages/get_source__project_name_>) for details. View *GetSourceProjectNameviewInfoParamsView `form:"view,omitempty" json:"view,omitempty"` // Arch Filter by architecture name. Arch *string `form:"arch,omitempty" json:"arch,omitempty"` // Noexpand Set to `1` to prevent from showing some elements about packages, like `filename`, `error` or `linked` elements. Noexpand *GetSourceProjectNameviewInfoParamsNoexpand `form:"noexpand,omitempty" json:"noexpand,omitempty"` // Nofilename Set to `1` to prevent from showing filename elements. Shows only the `sourceinfo` root element. Nofilename *GetSourceProjectNameviewInfoParamsNofilename `form:"nofilename,omitempty" json:"nofilename,omitempty"` // Package Filter by package name. Package *string `form:"package,omitempty" json:"package,omitempty"` // Parse Set to `1` to show more details, like `originproject`, `linked package`, `name`, `version`, `release`, `subpacks`, `deps`, and `prereqs` elements. Parse *GetSourceProjectNameviewInfoParamsParse `form:"parse,omitempty" json:"parse,omitempty"` // Repository Filter by repository name. Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Withmetamd5 Set to `1` to show the `metamd5` attribute. Withmetamd5 *GetSourceProjectNameviewInfoParamsWithmetamd5 `form:"withmetamd5,omitempty" json:"withmetamd5,omitempty"` // Withchangesmd5 Set to `1` to show the `revtime` element. Withchangesmd5 *GetSourceProjectNameviewInfoParamsWithchangesmd5 `form:"withchangesmd5,omitempty" json:"withchangesmd5,omitempty"` } // GetSourceProjectNameviewInfoParamsView defines parameters for GetSourceProjectNameviewInfo. type GetSourceProjectNameviewInfoParamsView string // GetSourceProjectNameviewInfoParamsNoexpand defines parameters for GetSourceProjectNameviewInfo. type GetSourceProjectNameviewInfoParamsNoexpand string // GetSourceProjectNameviewInfoParamsNofilename defines parameters for GetSourceProjectNameviewInfo. type GetSourceProjectNameviewInfoParamsNofilename string // GetSourceProjectNameviewInfoParamsParse defines parameters for GetSourceProjectNameviewInfo. type GetSourceProjectNameviewInfoParamsParse string // GetSourceProjectNameviewInfoParamsWithmetamd5 defines parameters for GetSourceProjectNameviewInfo. type GetSourceProjectNameviewInfoParamsWithmetamd5 string // GetSourceProjectNameviewInfoParamsWithchangesmd5 defines parameters for GetSourceProjectNameviewInfo. type GetSourceProjectNameviewInfoParamsWithchangesmd5 string // PostSourcecmdBranchParams defines parameters for PostSourcecmdBranch. type PostSourcecmdBranchParams struct { // Project The project that you want to branch Project *string `form:"project,omitempty" json:"project,omitempty"` // Package The package that you want to branch Package *string `form:"package,omitempty" json:"package,omitempty"` // TargetProject Project which will be used or created TargetProject *string `form:"target_project,omitempty" json:"target_project,omitempty"` // TargetPackage Package name which will be used TargetPackage *string `form:"target_package,omitempty" json:"target_package,omitempty"` // Attribute Attribute used for package search, default is OBS:MaintenanceProject Attribute *string `form:"attribute,omitempty" json:"attribute,omitempty"` // AddRepositories Copy the repositories from branched project AddRepositories *bool `form:"add_repositories,omitempty" json:"add_repositories,omitempty"` // UpdatePathElements Check if repository path elements do use each other and adapt our own path elements UpdatePathElements *bool `form:"update_path_elements,omitempty" json:"update_path_elements,omitempty"` // UpdateProjectAttribute Set a different Update Project attribute. UpdateProjectAttribute *string `form:"update_project_attribute,omitempty" json:"update_project_attribute,omitempty"` // Noaccess Create hidden project. The new created project will be read protected Noaccess *bool `form:"noaccess,omitempty" json:"noaccess,omitempty"` // ExtendPackageNames Extend repo and package names ExtendPackageNames *bool `form:"extend_package_names,omitempty" json:"extend_package_names,omitempty"` // AddRepositoriesRebuild Use defined rebuild policy for new repos or copy it from the source project AddRepositoriesRebuild *PostSourcecmdBranchParamsAddRepositoriesRebuild `form:"add_repositories_rebuild,omitempty" json:"add_repositories_rebuild,omitempty"` // AddRepositoriesBlock Use defined block policy for new repos AddRepositoriesBlock *PostSourcecmdBranchParamsAddRepositoriesBlock `form:"add_repositories_block,omitempty" json:"add_repositories_block,omitempty"` // Newinstance The target package exists only via project links, but the link should point to given project Newinstance *bool `form:"newinstance,omitempty" json:"newinstance,omitempty"` Maintenance *bool `form:"maintenance,omitempty" json:"maintenance,omitempty"` } // PostSourcecmdBranchParamsAddRepositoriesRebuild defines parameters for PostSourcecmdBranch. type PostSourcecmdBranchParamsAddRepositoriesRebuild string // PostSourcecmdBranchParamsAddRepositoriesBlock defines parameters for PostSourcecmdBranch. type PostSourcecmdBranchParamsAddRepositoriesBlock string // PostSourcecmdCreatemaintenanceincidentParams defines parameters for PostSourcecmdCreatemaintenanceincident. type PostSourcecmdCreatemaintenanceincidentParams struct { // Attribute attribute used for package search, default is OBS:MaintenanceProject Attribute *string `form:"attribute,omitempty" json:"attribute,omitempty"` } // GetStagingProjectNameStagingProjectsParams defines parameters for GetStagingProjectNameStagingProjects. type GetStagingProjectNameStagingProjectsParams struct { // Requests "Set to `1` if you want to include the staged, untracked and obsolete requests as well as missing reviews, otherwise don't pass this query parameter." Requests *string `form:"requests,omitempty" json:"requests,omitempty"` // Status "Set to `1` if you want to include the overall state and the status xml (broken packages, missing reviews, checks, etc.), otherwise don't pass this query parameter" Status *string `form:"status,omitempty" json:"status,omitempty"` // History Set to `1` if you want to include the history of the staging project, otherwise don't pass this query parameter. History *string `form:"history,omitempty" json:"history,omitempty"` } // GetStagingProjectNameStagingProjectsStagingProjectNameParams defines parameters for GetStagingProjectNameStagingProjectsStagingProjectName. type GetStagingProjectNameStagingProjectsStagingProjectNameParams struct { // Requests Set to `1` if you want to include the staged, untracked and obsolete requests as well as missing reviews, otherwise don't pass this query parameter. Requests *GetStagingProjectNameStagingProjectsStagingProjectNameParamsRequests `form:"requests,omitempty" json:"requests,omitempty"` // Status Set to `1` if you want to include the overall state and the status xml (broken packages, missing reviews, checks, etc.), otherwise don't pass this query parameter. Status *GetStagingProjectNameStagingProjectsStagingProjectNameParamsStatus `form:"status,omitempty" json:"status,omitempty"` // History Set to `1` if you want to include the history of the staging project, otherwise don't pass this query parameter. History *GetStagingProjectNameStagingProjectsStagingProjectNameParamsHistory `form:"history,omitempty" json:"history,omitempty"` } // GetStagingProjectNameStagingProjectsStagingProjectNameParamsRequests defines parameters for GetStagingProjectNameStagingProjectsStagingProjectName. type GetStagingProjectNameStagingProjectsStagingProjectNameParamsRequests string // GetStagingProjectNameStagingProjectsStagingProjectNameParamsStatus defines parameters for GetStagingProjectNameStagingProjectsStagingProjectName. type GetStagingProjectNameStagingProjectsStagingProjectNameParamsStatus string // GetStagingProjectNameStagingProjectsStagingProjectNameParamsHistory defines parameters for GetStagingProjectNameStagingProjectsStagingProjectName. type GetStagingProjectNameStagingProjectsStagingProjectNameParamsHistory string // PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsParams defines parameters for PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequests. type PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsParams struct { // RemoveExclusion Set to `1` if you want to stop excluding the specified requests before you add them to the staging project. // Don't pass this parameter to only stage the requests that are not excluded. RemoveExclusion *string `form:"remove_exclusion,omitempty" json:"remove_exclusion,omitempty"` } // DeleteStagingProjectNameWorkflowParams defines parameters for DeleteStagingProjectNameWorkflow. type DeleteStagingProjectNameWorkflowParams struct { // WithStagingProjects Set to `1` if you want to delete all the staging projects associated to the staging workflow when it is deleted. // Staging projects' names usually look like: project_name:Staging:A, project_name:Staging:B etc. WithStagingProjects *int `form:"with_staging_projects,omitempty" json:"with_staging_projects,omitempty"` } // GetStatisticsLatestAddedParams defines parameters for GetStatisticsLatestAdded. type GetStatisticsLatestAddedParams struct { // Limit Override default maximum value of 10 entries to be returned. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` } // GetStatisticsLatestUpdatedParams defines parameters for GetStatisticsLatestUpdated. type GetStatisticsLatestUpdatedParams struct { // Limit Override default maximum value of 10 entries to be returned. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` // Timelimit Limit the maximum age to this number of days. Timelimit *int `form:"timelimit,omitempty" json:"timelimit,omitempty"` // Prjfilter Filter by project name. Prjfilter *string `form:"prjfilter,omitempty" json:"prjfilter,omitempty"` // Pkgfilter Filter by package name. Pkgfilter *string `form:"pkgfilter,omitempty" json:"pkgfilter,omitempty"` } // GetStatisticsMostActivePackagesParams defines parameters for GetStatisticsMostActivePackages. type GetStatisticsMostActivePackagesParams struct { // Limit Override default maximum value of 10 entries to be returned. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` } // GetStatisticsMostActiveProjectsParams defines parameters for GetStatisticsMostActiveProjects. type GetStatisticsMostActiveProjectsParams struct { // Limit Override default maximum value of 10 entries to be returned. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` } // GetStatusMessagesParams defines parameters for GetStatusMessages. type GetStatusMessagesParams struct { // Limit Override default maximum value of 1000 entries to be returned. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` } // GetStatusMessageParams defines parameters for GetStatusMessage. type GetStatusMessageParams struct { // Limit Override default maximum value of 1000 entries to be returned. Limit *int `form:"limit,omitempty" json:"limit,omitempty"` } // PostTriggerParams defines parameters for PostTrigger. type PostTriggerParams struct { // Id Numerical ID of the token to trigger. // This is required if you authenticate via a HMAC. Id *int `form:"id,omitempty" json:"id,omitempty"` // Project If the API token does not have a package assigned you can set a project via this parameter. // The operation of the API token is then executed on this project. Project *string `form:"project,omitempty" json:"project,omitempty"` // Package If the API token does not have a package assigned you can set a package via this parameter. // The operation of the API token is then executed on this package. // // Setting this requires the project parameter to be set too. Package *string `form:"package,omitempty" json:"package,omitempty"` // Repository Restrict the API token operation to this repository. // // Only has an effect if the API token operation is 'rebuild' or 'release'. Repository *string `form:"repository,omitempty" json:"repository,omitempty"` // Arch Restrict the API token operation to this architecture with this name. // // Only has an effect when the API token operation is 'rebuild' or 'release'. Arch *string `form:"arch,omitempty" json:"arch,omitempty"` // Targetproject Release binaries only to the provided project with this name. // Setting this requires the 'targetrepository' parameter to be set also. // // Only has an effect if the API token operation is 'release'. Targetproject *string `form:"targetproject,omitempty" json:"targetproject,omitempty"` // Targetrepository Release binaries only to the target repository with this name. // Setting this requires the 'targetproject' parameter to be set also. // // Only has an effect if the API token operation is 'release'. Targetrepository *string `form:"targetrepository,omitempty" json:"targetrepository,omitempty"` // FilterSourceRepository Release binaries only from the repository with this name. // // Only has an effect if the API token operation is 'release'. FilterSourceRepository *string `form:"filter_source_repository,omitempty" json:"filter_source_repository,omitempty"` // XOBSSIGNATURE A HMAC of the request body, signed with the API token secret. // Only useful in combination with the id parameter. XOBSSIGNATURE *string `json:"X-OBS-SIGNATURE,omitempty"` // XHUBSIGNATURE256 A HMAC of the request body, signed with the API token secret. // Only useful in combination with the id parameter. XHUBSIGNATURE256 *string `json:"X-HUB-SIGNATURE-256,omitempty"` // XPagureSignature256 A HMAC of the request body, signed with the API token secret. // Only useful in combination with the id parameter. XPagureSignature256 *string `json:"X-Pagure-Signature-256,omitempty"` // XGitLabToken The API token secret. XGitLabToken *string `json:"X-GitLab-Token,omitempty"` // Authorization The API token secret in the Token realm. Authorization *string `json:"Authorization,omitempty"` } // PostTriggerWorkflowParams defines parameters for PostTriggerWorkflow. type PostTriggerWorkflowParams struct { // Id Numerical ID of the token to trigger. // This is required if you authenticate via a HMAC. Id *int `form:"id,omitempty" json:"id,omitempty"` // XOBSSIGNATURE A HMAC of the request body, signed with the API token secret. // Only useful in combination with the id parameter. XOBSSIGNATURE *string `json:"X-OBS-SIGNATURE,omitempty"` // XHUBSIGNATURE256 A HMAC of the request body, signed with the API token secret. // Only useful in combination with the id parameter. XHUBSIGNATURE256 *string `json:"X-HUB-SIGNATURE-256,omitempty"` // XPagureSignature256 A HMAC of the request body, signed with the API token secret. // Only useful in combination with the id parameter. XPagureSignature256 *string `json:"X-Pagure-Signature-256,omitempty"` // XGitLabToken The API token secret. XGitLabToken *string `json:"X-GitLab-Token,omitempty"` // Authorization The API token secret in the Token realm. Authorization *string `json:"Authorization,omitempty"` } // PostWorkercmdCheckconstraintsParams defines parameters for PostWorkercmdCheckconstraints. type PostWorkercmdCheckconstraintsParams struct { // Project Project name. Project string `form:"project" json:"project"` // Repository Repository name. Repository string `form:"repository" json:"repository"` // Arch Architecture name. Arch string `form:"arch" json:"arch"` // Package Package name. Package string `form:"package" json:"package"` } // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoTextRequestBody defines body for PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo for text/plain ContentType. type PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoTextRequestBody = PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoTextBody // PostCommentsPackageProjectNamePackageNameTextRequestBody defines body for PostCommentsPackageProjectNamePackageName for text/plain ContentType. type PostCommentsPackageProjectNamePackageNameTextRequestBody = PostCommentsPackageProjectNamePackageNameTextBody // PostCommentsProjectProjectNameTextRequestBody defines body for PostCommentsProjectProjectName for text/plain ContentType. type PostCommentsProjectProjectNameTextRequestBody = PostCommentsProjectProjectNameTextBody // PostCommentsRequestIdTextRequestBody defines body for PostCommentsRequestId for text/plain ContentType. type PostCommentsRequestIdTextRequestBody = PostCommentsRequestIdTextBody // PostPersonLoginTextRequestBody defines body for PostPersonLogin for text/plain ContentType. type PostPersonLoginTextRequestBody = PostPersonLoginTextBody // PutSourceProjectNameConfigTextRequestBody defines body for PutSourceProjectNameConfig for text/plain ContentType. type PutSourceProjectNameConfigTextRequestBody = PutSourceProjectNameConfigTextBody // RequestEditorFn is the function signature for the RequestEditor callback function type RequestEditorFn func(ctx context.Context, req *http.Request) error // Doer performs HTTP requests. // // The standard http.Client implements this interface. type HttpRequestDoer interface { Do(req *http.Request) (*http.Response, error) } // Client which conforms to the OpenAPI3 specification for this service. type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn } // ClientOption allows setting custom parameters during construction type ClientOption func(*Client) error // Creates a new Client, with reasonable defaults func NewClient(server string, opts ...ClientOption) (*Client, error) { // create a client with sane default values client := Client{ Server: server, } // mutate client and add all optional params for _, o := range opts { if err := o(&client); err != nil { return nil, err } } // ensure the server URL always has a trailing slash if !strings.HasSuffix(client.Server, "/") { client.Server += "/" } // create httpClient, if not already present if client.Client == nil { client.Client = &http.Client{} } return &client, nil } // WithHTTPClient allows overriding the default Doer, which is // automatically created using http.Client. This is useful for tests. func WithHTTPClient(doer HttpRequestDoer) ClientOption { return func(c *Client) error { c.Client = doer return nil } } // WithRequestEditorFn allows setting up a callback function, which will be // called right before sending the request. This can be used to mutate the request. func WithRequestEditorFn(fn RequestEditorFn) ClientOption { return func(c *Client) error { c.RequestEditors = append(c.RequestEditors, fn) return nil } } // The interface specification for the client above. type ClientInterface interface { // GetAbout request GetAbout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAnnouncements request GetAnnouncements(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostAnnouncementsWithBody request with any body PostAnnouncementsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAnnouncementsAnnouncementId request DeleteAnnouncementsAnnouncementId(ctx context.Context, announcementId int, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAnnouncementsAnnouncementId request GetAnnouncementsAnnouncementId(ctx context.Context, announcementId int, reqEditors ...RequestEditorFn) (*http.Response, error) // PutAnnouncementsAnnouncementIdWithBody request with any body PutAnnouncementsAnnouncementIdWithBody(ctx context.Context, announcementId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetArchitectures request GetArchitectures(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetArchitecturesArchitectureName request GetArchitecturesArchitectureName(ctx context.Context, architectureName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAttribute request GetAttribute(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAttributeNamespace request DeleteAttributeNamespace(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAttributeNamespace request GetAttributeNamespace(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAttributeNamespaceMeta request DeleteAttributeNamespaceMeta(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAttributeNamespaceMeta request GetAttributeNamespaceMeta(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostAttributeNamespaceMetaWithBody request with any body PostAttributeNamespaceMetaWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // PutAttributeNamespaceMetaWithBody request with any body PutAttributeNamespaceMetaWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAttributeNamespaceAttributeName request DeleteAttributeNamespaceAttributeName(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAttributeNamespaceAttributeNameMeta request DeleteAttributeNamespaceAttributeNameMeta(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAttributeNamespaceAttributeNameMeta request GetAttributeNamespaceAttributeNameMeta(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostAttributeNamespaceAttributeNameMetaWithBody request with any body PostAttributeNamespaceAttributeNameMetaWithBody(ctx context.Context, namespace string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // PutAttributeNamespaceAttributeNameMetaWithBody request with any body PutAttributeNamespaceAttributeNameMetaWithBody(ctx context.Context, namespace string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuild request GetBuild(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildWorkerstatus request GetBuildWorkerstatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectName request GetBuildProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostBuildProjectName request PostBuildProjectName(ctx context.Context, projectName string, params *PostBuildProjectNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameResult request GetBuildProjectNameResult(ctx context.Context, projectName string, params *GetBuildProjectNameResultParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryName request GetBuildProjectNameRepositoryName(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameBuildconfig request GetBuildProjectNameRepositoryNameBuildconfig(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo request GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo(ctx context.Context, projectName string, repositoryName string, architectureName string, params *GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo request PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNameJobhistory request GetBuildProjectNameRepositoryNameArchitectureNameJobhistory(ctx context.Context, projectName string, repositoryName string, architectureName string, params *GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNameRepository request GetBuildProjectNameRepositoryNameArchitectureNameRepository(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageName request GetBuildProjectNameRepositoryNameArchitectureNamePackageName(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenv request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenv(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithBody request with any body PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithBody(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithTextBody(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, body PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistory request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistory(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistory request PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistory(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatus request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatus(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLog request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLog(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReason request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReason(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatistics request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatistics(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatus request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatus(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatus request PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatus(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName request DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName []DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName, fileName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, fileName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithBody request with any body PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithBody(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName []PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName, fileName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfo request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfo(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, fileName string, params *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteCommentCommentId request DeleteCommentCommentId(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCommentCommentIdHistory request GetCommentCommentIdHistory(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCommentsPackageProjectNamePackageName request GetCommentsPackageProjectNamePackageName(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostCommentsPackageProjectNamePackageNameWithBody request with any body PostCommentsPackageProjectNamePackageNameWithBody(ctx context.Context, projectName string, packageName string, params *PostCommentsPackageProjectNamePackageNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostCommentsPackageProjectNamePackageNameWithTextBody(ctx context.Context, projectName string, packageName string, params *PostCommentsPackageProjectNamePackageNameParams, body PostCommentsPackageProjectNamePackageNameTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCommentsProjectProjectName request GetCommentsProjectProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostCommentsProjectProjectNameWithBody request with any body PostCommentsProjectProjectNameWithBody(ctx context.Context, projectName string, params *PostCommentsProjectProjectNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostCommentsProjectProjectNameWithTextBody(ctx context.Context, projectName string, params *PostCommentsProjectProjectNameParams, body PostCommentsProjectProjectNameTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCommentsRequestId request GetCommentsRequestId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // PostCommentsRequestIdWithBody request with any body PostCommentsRequestIdWithBody(ctx context.Context, id int, params *PostCommentsRequestIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostCommentsRequestIdWithTextBody(ctx context.Context, id int, params *PostCommentsRequestIdParams, body PostCommentsRequestIdTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetCommentsUser request GetCommentsUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetConfiguration request GetConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PutConfigurationWithBody request with any body PutConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDistributions request GetDistributions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostDistributionsWithBody request with any body PostDistributionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // PutDistributionsBulkReplaceWithBody request with any body PutDistributionsBulkReplaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDistributionsIncludeRemotes request GetDistributionsIncludeRemotes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteDistributionsDistributionId request DeleteDistributionsDistributionId(ctx context.Context, distributionId int, reqEditors ...RequestEditorFn) (*http.Response, error) // GetDistributionsDistributionId request GetDistributionsDistributionId(ctx context.Context, distributionId int, reqEditors ...RequestEditorFn) (*http.Response, error) // PutDistributionsDistributionIdWithBody request with any body PutDistributionsDistributionIdWithBody(ctx context.Context, distributionId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetGroup request GetGroup(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteGroupGroupTitle request DeleteGroupGroupTitle(ctx context.Context, groupTitle string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetGroupGroupTitle request GetGroupGroupTitle(ctx context.Context, groupTitle string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostGroupGroupTitle request PostGroupGroupTitle(ctx context.Context, groupTitle string, params *PostGroupGroupTitleParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PutGroupGroupTitleWithBody request with any body PutGroupGroupTitleWithBody(ctx context.Context, groupTitle string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetImageTemplates request GetImageTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIssueTrackers request GetIssueTrackers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostIssueTrackersWithBody request with any body PostIssueTrackersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteIssueTrackersIssueTrackerName request DeleteIssueTrackersIssueTrackerName(ctx context.Context, issueTrackerName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIssueTrackersIssueTrackerName request GetIssueTrackersIssueTrackerName(ctx context.Context, issueTrackerName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutIssueTrackersIssueTrackerNameWithBody request with any body PutIssueTrackersIssueTrackerNameWithBody(ctx context.Context, issueTrackerName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIssueTrackersIssueTrackerNameIssuesIssueName request GetIssueTrackersIssueTrackerNameIssuesIssueName(ctx context.Context, issueTrackerName string, issueName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMyNotifications request GetMyNotifications(ctx context.Context, params *GetMyNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PutMyNotificationsId request PutMyNotificationsId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPerson request GetPerson(ctx context.Context, params *GetPersonParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostPersonWithBody request with any body PostPersonWithBody(ctx context.Context, params *PostPersonParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // PostPersonRegisterWithBody request with any body PostPersonRegisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPersonLogin request GetPersonLogin(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostPersonLoginWithBody request with any body PostPersonLoginWithBody(ctx context.Context, login string, params *PostPersonLoginParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostPersonLoginWithTextBody(ctx context.Context, login string, params *PostPersonLoginParams, body PostPersonLoginTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PutPersonLoginWithBody request with any body PutPersonLoginWithBody(ctx context.Context, login string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPersonLoginGroup request GetPersonLoginGroup(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPersonLoginToken request GetPersonLoginToken(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostPersonLoginToken request PostPersonLoginToken(ctx context.Context, login string, params *PostPersonLoginTokenParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeletePersonLoginTokenId request DeletePersonLoginTokenId(ctx context.Context, login string, id string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPersonLoginWatchlist request GetPersonLoginWatchlist(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutPersonLoginWatchlistWithBody request with any body PutPersonLoginWatchlistWithBody(ctx context.Context, login string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPublished request GetPublished(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPublishedProjectName request GetPublishedProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPublishedProjectNameRepositoryName request GetPublishedProjectNameRepositoryName(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPublishedProjectNameRepositoryNameArchitectureName request GetPublishedProjectNameRepositoryNameArchitectureName(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilename request GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilename(ctx context.Context, projectName string, repositoryName string, architectureName string, binaryFilename string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmp request GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmp(ctx context.Context, projectName string, repositoryName string, architectureName string, binaryFilename string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPublishedProjectNameRepositoryNameviewStatus request GetPublishedProjectNameRepositoryNameviewStatus(ctx context.Context, projectName string, repositoryName string, params *GetPublishedProjectNameRepositoryNameviewStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetRequest request GetRequest(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostRequestWithBody request with any body PostRequestWithBody(ctx context.Context, params *PostRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteRequestId request DeleteRequestId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // GetRequestId request GetRequestId(ctx context.Context, id int, params *GetRequestIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostRequestId request PostRequestId(ctx context.Context, id int, params *PostRequestIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PutRequestIdWithBody request with any body PutRequestIdWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // PostRequestIdcmdDiff request PostRequestIdcmdDiff(ctx context.Context, id int, params *PostRequestIdcmdDiffParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetRequestviewCollection request GetRequestviewCollection(ctx context.Context, params *GetRequestviewCollectionParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearch request GetSearch(ctx context.Context, params *GetSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearch request PostSearch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchChannel request GetSearchChannel(ctx context.Context, params *GetSearchChannelParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchChannel request PostSearchChannel(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchChannelBinary request GetSearchChannelBinary(ctx context.Context, params *GetSearchChannelBinaryParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchChannelBinary request PostSearchChannelBinary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchChannelBinaryId request GetSearchChannelBinaryId(ctx context.Context, params *GetSearchChannelBinaryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchChannelBinaryId request PostSearchChannelBinaryId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchIssue request GetSearchIssue(ctx context.Context, params *GetSearchIssueParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchIssue request PostSearchIssue(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchMissingOwner request GetSearchMissingOwner(ctx context.Context, params *GetSearchMissingOwnerParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchMissingOwner request PostSearchMissingOwner(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchOwner request GetSearchOwner(ctx context.Context, params *GetSearchOwnerParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchOwner request PostSearchOwner(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchPackage request GetSearchPackage(ctx context.Context, params *GetSearchPackageParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchPackage request PostSearchPackage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchPackageId request GetSearchPackageId(ctx context.Context, params *GetSearchPackageIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchPackageId request PostSearchPackageId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchPackageId request GetSearchPackageId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchPackageId request PostSearchPackageId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchPerson request GetSearchPerson(ctx context.Context, params *GetSearchPersonParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchPerson request PostSearchPerson(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchProject request GetSearchProject(ctx context.Context, params *GetSearchProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchProject request PostSearchProject(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchProjectId request GetSearchProjectId(ctx context.Context, params *GetSearchProjectIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchProjectId request PostSearchProjectId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchProjectId request GetSearchProjectId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchProjectId request PostSearchProjectId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchPublishedBinaryId request GetSearchPublishedBinaryId(ctx context.Context, params *GetSearchPublishedBinaryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchPublishedBinaryId request PostSearchPublishedBinaryId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchPublishedPatternId request GetSearchPublishedPatternId(ctx context.Context, params *GetSearchPublishedPatternIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchPublishedPatternId request PostSearchPublishedPatternId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchPublishedRepoinfoId request GetSearchPublishedRepoinfoId(ctx context.Context, params *GetSearchPublishedRepoinfoIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchPublishedRepoinfoId request PostSearchPublishedRepoinfoId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchReleasedBinary request GetSearchReleasedBinary(ctx context.Context, params *GetSearchReleasedBinaryParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchReleasedBinary request PostSearchReleasedBinary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchReleasedBinaryId request GetSearchReleasedBinaryId(ctx context.Context, params *GetSearchReleasedBinaryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchReleasedBinaryId request PostSearchReleasedBinaryId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchRepositoryId request GetSearchRepositoryId(ctx context.Context, params *GetSearchRepositoryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchRepositoryId request PostSearchRepositoryId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchRequest request GetSearchRequest(ctx context.Context, params *GetSearchRequestParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchRequest request PostSearchRequest(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSearchRequestId request GetSearchRequestId(ctx context.Context, params *GetSearchRequestIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSearchRequestId request PostSearchRequestId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetService request GetService(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSource request GetSource(ctx context.Context, params *GetSourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSourceProjectName request DeleteSourceProjectName(ctx context.Context, projectName string, params *DeleteSourceProjectNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectName request GetSourceProjectName(ctx context.Context, projectName string, params *GetSourceProjectNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNameAttribute request GetSourceProjectNameAttribute(ctx context.Context, projectName string, params *GetSourceProjectNameAttributeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSourceProjectNameAttributeAttributeName request DeleteSourceProjectNameAttributeAttributeName(ctx context.Context, projectName string, attributeName string, params *DeleteSourceProjectNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNameAttributeAttributeName request GetSourceProjectNameAttributeAttributeName(ctx context.Context, projectName string, attributeName string, params *GetSourceProjectNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNameAttributeAttributeNameWithBody request with any body PostSourceProjectNameAttributeAttributeNameWithBody(ctx context.Context, projectName string, attributeName string, params *PostSourceProjectNameAttributeAttributeNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNameConfig request GetSourceProjectNameConfig(ctx context.Context, projectName string, params *GetSourceProjectNameConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PutSourceProjectNameConfigWithBody request with any body PutSourceProjectNameConfigWithBody(ctx context.Context, projectName string, params *PutSourceProjectNameConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutSourceProjectNameConfigWithTextBody(ctx context.Context, projectName string, params *PutSourceProjectNameConfigParams, body PutSourceProjectNameConfigTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNameKeyinfo request GetSourceProjectNameKeyinfo(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNameMeta request GetSourceProjectNameMeta(ctx context.Context, projectName string, params *GetSourceProjectNameMetaParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PutSourceProjectNameMetaWithBody request with any body PutSourceProjectNameMetaWithBody(ctx context.Context, projectName string, params *PutSourceProjectNameMetaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePattern request GetSourceProjectNamePattern(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSourceProjectNamePatternFileName request DeleteSourceProjectNamePatternFileName(ctx context.Context, projectName string, fileName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePatternFileName request GetSourceProjectNamePatternFileName(ctx context.Context, projectName string, fileName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutSourceProjectNamePatternFileNameWithBody request with any body PutSourceProjectNamePatternFileNameWithBody(ctx context.Context, projectName string, fileName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNameProject request GetSourceProjectNameProject(ctx context.Context, projectName string, params *GetSourceProjectNameProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNameProjectHistory request GetSourceProjectNameProjectHistory(ctx context.Context, projectName string, params *GetSourceProjectNameProjectHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNameProjectFileName request GetSourceProjectNameProjectFileName(ctx context.Context, projectName string, fileName string, params *GetSourceProjectNameProjectFileNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSourceProjectNamePubkey request DeleteSourceProjectNamePubkey(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePubkey request GetSourceProjectNamePubkey(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSourceProjectNamePackageName request DeleteSourceProjectNamePackageName(ctx context.Context, projectName string, packageName string, params *DeleteSourceProjectNamePackageNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePackageName request GetSourceProjectNamePackageName(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePackageNameAttribute request GetSourceProjectNamePackageNameAttribute(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameAttributeParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNameAttributeWithBody request with any body PostSourceProjectNamePackageNameAttributeWithBody(ctx context.Context, projectName string, packageName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSourceProjectNamePackageNameAttributeAttributeName request DeleteSourceProjectNamePackageNameAttributeAttributeName(ctx context.Context, projectName string, packageName string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePackageNameAttributeAttributeName request GetSourceProjectNamePackageNameAttributeAttributeName(ctx context.Context, projectName string, packageName string, attributeName string, params *GetSourceProjectNamePackageNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNameAttributeAttributeNameWithBody request with any body PostSourceProjectNamePackageNameAttributeAttributeNameWithBody(ctx context.Context, projectName string, packageName string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePackageNameHistory request GetSourceProjectNamePackageNameHistory(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePackageNameMeta request GetSourceProjectNamePackageNameMeta(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameMetaParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PutSourceProjectNamePackageNameMetaWithBody request with any body PutSourceProjectNamePackageNameMetaWithBody(ctx context.Context, projectName string, packageName string, params *PutSourceProjectNamePackageNameMetaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePackageNameBinaryFilenameAttribute request GetSourceProjectNamePackageNameBinaryFilenameAttribute(ctx context.Context, projectName string, packageName string, binaryFilename string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNameBinaryFilenameAttributeWithBody request with any body PostSourceProjectNamePackageNameBinaryFilenameAttributeWithBody(ctx context.Context, projectName string, packageName string, binaryFilename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeName request DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeName(ctx context.Context, projectName string, packageName string, binaryFilename string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeName request GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeName(ctx context.Context, projectName string, packageName string, binaryFilename string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteSourceProjectNamePackageNameFileName request DeleteSourceProjectNamePackageNameFileName(ctx context.Context, projectName string, packageName string, fileName string, params *DeleteSourceProjectNamePackageNameFileNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePackageNameFileName request GetSourceProjectNamePackageNameFileName(ctx context.Context, projectName string, packageName string, fileName string, params *GetSourceProjectNamePackageNameFileNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PutSourceProjectNamePackageNameFileNameWithBody request with any body PutSourceProjectNamePackageNameFileNameWithBody(ctx context.Context, projectName string, packageName string, fileName string, params *PutSourceProjectNamePackageNameFileNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdAddcontainers request PostSourceProjectNamePackageNamecmdAddcontainers(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdAddcontainersParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdBranch request PostSourceProjectNamePackageNamecmdBranch(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdBranchParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdCollectbuildenv request PostSourceProjectNamePackageNamecmdCollectbuildenv(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCollectbuildenvParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdCommit request PostSourceProjectNamePackageNamecmdCommit(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCommitParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdCommitfilelist request PostSourceProjectNamePackageNamecmdCommitfilelist(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCommitfilelistParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdCopy request PostSourceProjectNamePackageNamecmdCopy(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCopyParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdCreateSpecFileTemplate request PostSourceProjectNamePackageNamecmdCreateSpecFileTemplate(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdDeleteuploadrev request PostSourceProjectNamePackageNamecmdDeleteuploadrev(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdDiff request PostSourceProjectNamePackageNamecmdDiff(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdDiffParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdFork request PostSourceProjectNamePackageNamecmdFork(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdForkParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdGetprojectservices request PostSourceProjectNamePackageNamecmdGetprojectservices(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdGetprojectservicesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdInstantiate request PostSourceProjectNamePackageNamecmdInstantiate(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdInstantiateParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdLinkdiff request PostSourceProjectNamePackageNamecmdLinkdiff(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdLinkdiffParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdLinktobranch request PostSourceProjectNamePackageNamecmdLinktobranch(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdLinktobranchParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdMergeservice request PostSourceProjectNamePackageNamecmdMergeservice(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdMergeserviceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdRebuild request PostSourceProjectNamePackageNamecmdRebuild(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdRelease request PostSourceProjectNamePackageNamecmdRelease(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdReleaseParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdRemoveFlag request PostSourceProjectNamePackageNamecmdRemoveFlag(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdRemoveFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdRunservice request PostSourceProjectNamePackageNamecmdRunservice(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdRunserviceParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdServicediff request PostSourceProjectNamePackageNamecmdServicediff(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdServicediffParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdSetFlag request PostSourceProjectNamePackageNamecmdSetFlag(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdSetFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdShowlinked request PostSourceProjectNamePackageNamecmdShowlinked(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdUndelete request PostSourceProjectNamePackageNamecmdUndelete(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdUndeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdUnlock request PostSourceProjectNamePackageNamecmdUnlock(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdUnlockParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdUpdatepatchinfo request PostSourceProjectNamePackageNamecmdUpdatepatchinfo(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamePackageNamecmdWaitservice request PostSourceProjectNamePackageNamecmdWaitservice(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNamePackageNameviewInfo request GetSourceProjectNamePackageNameviewInfo(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameviewInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdAddchannels request PostSourceProjectNamecmdAddchannels(ctx context.Context, projectName string, params *PostSourceProjectNamecmdAddchannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdCopy request PostSourceProjectNamecmdCopy(ctx context.Context, projectName string, params *PostSourceProjectNamecmdCopyParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdCreatekey request PostSourceProjectNamecmdCreatekey(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdCreatemaintenanceincident request PostSourceProjectNamecmdCreatemaintenanceincident(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdCreatepatchinfo request PostSourceProjectNamecmdCreatepatchinfo(ctx context.Context, projectName string, params *PostSourceProjectNamecmdCreatepatchinfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdExtendkey request PostSourceProjectNamecmdExtendkey(ctx context.Context, projectName string, params *PostSourceProjectNamecmdExtendkeyParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdFreezelink request PostSourceProjectNamecmdFreezelink(ctx context.Context, projectName string, params *PostSourceProjectNamecmdFreezelinkParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdLock request PostSourceProjectNamecmdLock(ctx context.Context, projectName string, params *PostSourceProjectNamecmdLockParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdModifychannels request PostSourceProjectNamecmdModifychannels(ctx context.Context, projectName string, params *PostSourceProjectNamecmdModifychannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdMove request PostSourceProjectNamecmdMove(ctx context.Context, projectName string, params *PostSourceProjectNamecmdMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdRelease request PostSourceProjectNamecmdRelease(ctx context.Context, projectName string, params *PostSourceProjectNamecmdReleaseParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdRemoveFlag request PostSourceProjectNamecmdRemoveFlag(ctx context.Context, projectName string, params *PostSourceProjectNamecmdRemoveFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdSetFlag request PostSourceProjectNamecmdSetFlag(ctx context.Context, projectName string, params *PostSourceProjectNamecmdSetFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdShowlinked request PostSourceProjectNamecmdShowlinked(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdUndelete request PostSourceProjectNamecmdUndelete(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourceProjectNamecmdUnlock request PostSourceProjectNamecmdUnlock(ctx context.Context, projectName string, params *PostSourceProjectNamecmdUnlockParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetSourceProjectNameviewInfo request GetSourceProjectNameviewInfo(ctx context.Context, projectName string, params *GetSourceProjectNameviewInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourcecmdBranch request PostSourcecmdBranch(ctx context.Context, params *PostSourcecmdBranchParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourcecmdCreatemaintenanceincident request PostSourcecmdCreatemaintenanceincident(ctx context.Context, params *PostSourcecmdCreatemaintenanceincidentParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostSourcecmdOrderkiwireposWithBody request with any body PostSourcecmdOrderkiwireposWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStagingProjectNameBacklog request GetStagingProjectNameBacklog(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteStagingProjectNameExcludedRequestsWithBody request with any body DeleteStagingProjectNameExcludedRequestsWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStagingProjectNameExcludedRequests request GetStagingProjectNameExcludedRequests(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStagingProjectNameExcludedRequestsWithBody request with any body PostStagingProjectNameExcludedRequestsWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteStagingProjectNameStagedRequestsWithBody request with any body DeleteStagingProjectNameStagedRequestsWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStagingProjectNameStagingProjects request GetStagingProjectNameStagingProjects(ctx context.Context, projectName string, params *GetStagingProjectNameStagingProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStagingProjectNameStagingProjectsWithBody request with any body PostStagingProjectNameStagingProjectsWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStagingProjectNameStagingProjectsStagingProjectName request GetStagingProjectNameStagingProjectsStagingProjectName(ctx context.Context, projectName string, stagingProjectName string, params *GetStagingProjectNameStagingProjectsStagingProjectNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStagingProjectNameStagingProjectsStagingProjectNameAccept request PostStagingProjectNameStagingProjectsStagingProjectNameAccept(ctx context.Context, projectName string, stagingProjectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyName request PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyName(ctx context.Context, projectName string, stagingProjectName string, stagingProjectCopyName string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBody request with any body DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBody(ctx context.Context, projectName string, stagingProjectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequests request GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequests(ctx context.Context, projectName string, stagingProjectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBody request with any body PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBody(ctx context.Context, projectName string, stagingProjectName string, params *PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteStagingProjectNameWorkflow request DeleteStagingProjectNameWorkflow(ctx context.Context, projectName string, params *DeleteStagingProjectNameWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStagingProjectNameWorkflowWithBody request with any body PostStagingProjectNameWorkflowWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // PutStagingProjectNameWorkflowWithBody request with any body PutStagingProjectNameWorkflowWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatistics request GetStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatisticsActiveRequestCreatorsProjectName request GetStatisticsActiveRequestCreatorsProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatisticsActivityProjectNamePackageName request GetStatisticsActivityProjectNamePackageName(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatisticsAddedTimestampProjectNamePackageName request GetStatisticsAddedTimestampProjectNamePackageName(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatisticsGlobalCounters request GetStatisticsGlobalCounters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatisticsLatestAdded request GetStatisticsLatestAdded(ctx context.Context, params *GetStatisticsLatestAddedParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatisticsLatestUpdated request GetStatisticsLatestUpdated(ctx context.Context, params *GetStatisticsLatestUpdatedParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatisticsMaintenanceStatisticsProjectName request GetStatisticsMaintenanceStatisticsProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatisticsMostActivePackages request GetStatisticsMostActivePackages(ctx context.Context, params *GetStatisticsMostActivePackagesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatisticsMostActiveProjects request GetStatisticsMostActiveProjects(ctx context.Context, params *GetStatisticsMostActiveProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatisticsUpdatedTimestampProjectNamePackageName request GetStatisticsUpdatedTimestampProjectNamePackageName(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusMessages request GetStatusMessages(ctx context.Context, params *GetStatusMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStatusMessagesWithBody request with any body PostStatusMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteStatusMessagesId request DeleteStatusMessagesId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusMessagesId request GetStatusMessagesId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusProjectProjectName request GetStatusProjectProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusWorkerstatus request GetStatusWorkerstatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusMessage request GetStatusMessage(ctx context.Context, params *GetStatusMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildId request GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildId(ctx context.Context, projectName string, repositoryName string, architectureName string, buildId int, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithBody request with any body PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithBody(ctx context.Context, projectName string, repositoryName string, architectureName string, buildId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecks request GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecks(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithBody request with any body PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithBody(ctx context.Context, projectName string, repositoryName string, architectureName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckName request DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckName(ctx context.Context, projectName string, repositoryName string, architectureName string, checkName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusReportsProjectsProjectNameRequiredChecks request GetStatusReportsProjectsProjectNameRequiredChecks(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStatusReportsProjectsProjectNameRequiredChecksWithBody request with any body PostStatusReportsProjectsProjectNameRequiredChecksWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteStatusReportsProjectsProjectNameRequiredChecksCheckName request DeleteStatusReportsProjectsProjectNameRequiredChecksCheckName(ctx context.Context, projectName string, checkName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildId request GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildId(ctx context.Context, projectName string, repositoryName string, buildId int, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithBody request with any body PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithBody(ctx context.Context, projectName string, repositoryName string, buildId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecks request GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecks(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithBody request with any body PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithBody(ctx context.Context, projectName string, repositoryName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckName request DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckName(ctx context.Context, projectName string, repositoryName string, checkName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStatusReportsRequestsIdReports request GetStatusReportsRequestsIdReports(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStatusReportsRequestsIdReportsWithBody request with any body PostStatusReportsRequestsIdReportsWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // PostTrigger request PostTrigger(ctx context.Context, params *PostTriggerParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostTriggerRebuild request PostTriggerRebuild(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostTriggerRelease request PostTriggerRelease(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostTriggerRunservice request PostTriggerRunservice(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostTriggerWebhook request PostTriggerWebhook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // PostTriggerWorkflow request PostTriggerWorkflow(ctx context.Context, params *PostTriggerWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetWorkerStatus request GetWorkerStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetWorkerStatus request GetWorkerStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetWorkerArchitectureNameWorkerId request GetWorkerArchitectureNameWorkerId(ctx context.Context, architectureName string, workerId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostWorkercmdCheckconstraintsWithBody request with any body PostWorkercmdCheckconstraintsWithBody(ctx context.Context, params *PostWorkercmdCheckconstraintsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) } func (c *Client) GetAbout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetAboutRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetAnnouncements(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetAnnouncementsRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostAnnouncementsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostAnnouncementsRequestWithBody(c.Server, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteAnnouncementsAnnouncementId(ctx context.Context, announcementId int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteAnnouncementsAnnouncementIdRequest(c.Server, announcementId) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetAnnouncementsAnnouncementId(ctx context.Context, announcementId int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetAnnouncementsAnnouncementIdRequest(c.Server, announcementId) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutAnnouncementsAnnouncementIdWithBody(ctx context.Context, announcementId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutAnnouncementsAnnouncementIdRequestWithBody(c.Server, announcementId, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetArchitectures(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetArchitecturesRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetArchitecturesArchitectureName(ctx context.Context, architectureName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetArchitecturesArchitectureNameRequest(c.Server, architectureName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetAttribute(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetAttributeRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteAttributeNamespace(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteAttributeNamespaceRequest(c.Server, namespace) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetAttributeNamespace(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetAttributeNamespaceRequest(c.Server, namespace) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteAttributeNamespaceMeta(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteAttributeNamespaceMetaRequest(c.Server, namespace) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetAttributeNamespaceMeta(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetAttributeNamespaceMetaRequest(c.Server, namespace) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostAttributeNamespaceMetaWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostAttributeNamespaceMetaRequestWithBody(c.Server, namespace, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutAttributeNamespaceMetaWithBody(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutAttributeNamespaceMetaRequestWithBody(c.Server, namespace, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteAttributeNamespaceAttributeName(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteAttributeNamespaceAttributeNameRequest(c.Server, namespace, attributeName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteAttributeNamespaceAttributeNameMeta(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteAttributeNamespaceAttributeNameMetaRequest(c.Server, namespace, attributeName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetAttributeNamespaceAttributeNameMeta(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetAttributeNamespaceAttributeNameMetaRequest(c.Server, namespace, attributeName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostAttributeNamespaceAttributeNameMetaWithBody(ctx context.Context, namespace string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostAttributeNamespaceAttributeNameMetaRequestWithBody(c.Server, namespace, attributeName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutAttributeNamespaceAttributeNameMetaWithBody(ctx context.Context, namespace string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutAttributeNamespaceAttributeNameMetaRequestWithBody(c.Server, namespace, attributeName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuild(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildWorkerstatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildWorkerstatusRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostBuildProjectName(ctx context.Context, projectName string, params *PostBuildProjectNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostBuildProjectNameRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameResult(ctx context.Context, projectName string, params *GetBuildProjectNameResultParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameResultRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryName(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameRequest(c.Server, projectName, repositoryName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameBuildconfig(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameBuildconfigRequest(c.Server, projectName, repositoryName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo(ctx context.Context, projectName string, repositoryName string, architectureName string, params *GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoRequest(c.Server, projectName, repositoryName, architectureName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoRequest(c.Server, projectName, repositoryName, architectureName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNameJobhistory(ctx context.Context, projectName string, repositoryName string, architectureName string, params *GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNameJobhistoryRequest(c.Server, projectName, repositoryName, architectureName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNameRepository(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNameRepositoryRequest(c.Server, projectName, repositoryName, architectureName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageName(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameRequest(c.Server, projectName, repositoryName, architectureName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenv(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvRequest(c.Server, projectName, repositoryName, architectureName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoRequest(c.Server, projectName, repositoryName, architectureName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithBody(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoRequestWithBody(c.Server, projectName, repositoryName, architectureName, packageName, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithTextBody(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, body PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoRequestWithTextBody(c.Server, projectName, repositoryName, architectureName, packageName, params, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistory(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryRequest(c.Server, projectName, repositoryName, architectureName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistory(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryRequest(c.Server, projectName, repositoryName, architectureName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatus(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusRequest(c.Server, projectName, repositoryName, architectureName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLog(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogRequest(c.Server, projectName, repositoryName, architectureName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReason(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonRequest(c.Server, projectName, repositoryName, architectureName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatistics(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsRequest(c.Server, projectName, repositoryName, architectureName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatus(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusRequest(c.Server, projectName, repositoryName, architectureName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatus(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusRequest(c.Server, projectName, repositoryName, architectureName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName []DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName, fileName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameRequest(c.Server, projectName, repositoryName, architectureName, packageName, fileName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, fileName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameRequest(c.Server, projectName, repositoryName, architectureName, packageName, fileName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithBody(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName []PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName, fileName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameRequestWithBody(c.Server, projectName, repositoryName, architectureName, packageName, fileName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfo(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, fileName string, params *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoRequest(c.Server, projectName, repositoryName, architectureName, packageName, fileName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteCommentCommentId(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteCommentCommentIdRequest(c.Server, commentId) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetCommentCommentIdHistory(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetCommentCommentIdHistoryRequest(c.Server, commentId) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetCommentsPackageProjectNamePackageName(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetCommentsPackageProjectNamePackageNameRequest(c.Server, projectName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostCommentsPackageProjectNamePackageNameWithBody(ctx context.Context, projectName string, packageName string, params *PostCommentsPackageProjectNamePackageNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostCommentsPackageProjectNamePackageNameRequestWithBody(c.Server, projectName, packageName, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostCommentsPackageProjectNamePackageNameWithTextBody(ctx context.Context, projectName string, packageName string, params *PostCommentsPackageProjectNamePackageNameParams, body PostCommentsPackageProjectNamePackageNameTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostCommentsPackageProjectNamePackageNameRequestWithTextBody(c.Server, projectName, packageName, params, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetCommentsProjectProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetCommentsProjectProjectNameRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostCommentsProjectProjectNameWithBody(ctx context.Context, projectName string, params *PostCommentsProjectProjectNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostCommentsProjectProjectNameRequestWithBody(c.Server, projectName, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostCommentsProjectProjectNameWithTextBody(ctx context.Context, projectName string, params *PostCommentsProjectProjectNameParams, body PostCommentsProjectProjectNameTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostCommentsProjectProjectNameRequestWithTextBody(c.Server, projectName, params, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetCommentsRequestId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetCommentsRequestIdRequest(c.Server, id) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostCommentsRequestIdWithBody(ctx context.Context, id int, params *PostCommentsRequestIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostCommentsRequestIdRequestWithBody(c.Server, id, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostCommentsRequestIdWithTextBody(ctx context.Context, id int, params *PostCommentsRequestIdParams, body PostCommentsRequestIdTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostCommentsRequestIdRequestWithTextBody(c.Server, id, params, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetCommentsUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetCommentsUserRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetConfigurationRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutConfigurationRequestWithBody(c.Server, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetDistributions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetDistributionsRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostDistributionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostDistributionsRequestWithBody(c.Server, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutDistributionsBulkReplaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutDistributionsBulkReplaceRequestWithBody(c.Server, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetDistributionsIncludeRemotes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetDistributionsIncludeRemotesRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteDistributionsDistributionId(ctx context.Context, distributionId int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteDistributionsDistributionIdRequest(c.Server, distributionId) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetDistributionsDistributionId(ctx context.Context, distributionId int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetDistributionsDistributionIdRequest(c.Server, distributionId) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutDistributionsDistributionIdWithBody(ctx context.Context, distributionId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutDistributionsDistributionIdRequestWithBody(c.Server, distributionId, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetGroup(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetGroupRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteGroupGroupTitle(ctx context.Context, groupTitle string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteGroupGroupTitleRequest(c.Server, groupTitle) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetGroupGroupTitle(ctx context.Context, groupTitle string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetGroupGroupTitleRequest(c.Server, groupTitle) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostGroupGroupTitle(ctx context.Context, groupTitle string, params *PostGroupGroupTitleParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostGroupGroupTitleRequest(c.Server, groupTitle, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutGroupGroupTitleWithBody(ctx context.Context, groupTitle string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutGroupGroupTitleRequestWithBody(c.Server, groupTitle, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetImageTemplates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetImageTemplatesRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetIssueTrackers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetIssueTrackersRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostIssueTrackersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostIssueTrackersRequestWithBody(c.Server, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteIssueTrackersIssueTrackerName(ctx context.Context, issueTrackerName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteIssueTrackersIssueTrackerNameRequest(c.Server, issueTrackerName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetIssueTrackersIssueTrackerName(ctx context.Context, issueTrackerName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetIssueTrackersIssueTrackerNameRequest(c.Server, issueTrackerName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutIssueTrackersIssueTrackerNameWithBody(ctx context.Context, issueTrackerName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutIssueTrackersIssueTrackerNameRequestWithBody(c.Server, issueTrackerName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetIssueTrackersIssueTrackerNameIssuesIssueName(ctx context.Context, issueTrackerName string, issueName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetIssueTrackersIssueTrackerNameIssuesIssueNameRequest(c.Server, issueTrackerName, issueName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetMyNotifications(ctx context.Context, params *GetMyNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetMyNotificationsRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutMyNotificationsId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutMyNotificationsIdRequest(c.Server, id) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPerson(ctx context.Context, params *GetPersonParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPersonRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostPersonWithBody(ctx context.Context, params *PostPersonParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostPersonRequestWithBody(c.Server, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostPersonRegisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostPersonRegisterRequestWithBody(c.Server, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPersonLogin(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPersonLoginRequest(c.Server, login) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostPersonLoginWithBody(ctx context.Context, login string, params *PostPersonLoginParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostPersonLoginRequestWithBody(c.Server, login, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostPersonLoginWithTextBody(ctx context.Context, login string, params *PostPersonLoginParams, body PostPersonLoginTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostPersonLoginRequestWithTextBody(c.Server, login, params, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutPersonLoginWithBody(ctx context.Context, login string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutPersonLoginRequestWithBody(c.Server, login, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPersonLoginGroup(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPersonLoginGroupRequest(c.Server, login) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPersonLoginToken(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPersonLoginTokenRequest(c.Server, login) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostPersonLoginToken(ctx context.Context, login string, params *PostPersonLoginTokenParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostPersonLoginTokenRequest(c.Server, login, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeletePersonLoginTokenId(ctx context.Context, login string, id string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeletePersonLoginTokenIdRequest(c.Server, login, id) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPersonLoginWatchlist(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPersonLoginWatchlistRequest(c.Server, login) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutPersonLoginWatchlistWithBody(ctx context.Context, login string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutPersonLoginWatchlistRequestWithBody(c.Server, login, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPublished(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPublishedRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPublishedProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPublishedProjectNameRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPublishedProjectNameRepositoryName(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPublishedProjectNameRepositoryNameRequest(c.Server, projectName, repositoryName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPublishedProjectNameRepositoryNameArchitectureName(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPublishedProjectNameRepositoryNameArchitectureNameRequest(c.Server, projectName, repositoryName, architectureName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilename(ctx context.Context, projectName string, repositoryName string, architectureName string, binaryFilename string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameRequest(c.Server, projectName, repositoryName, architectureName, binaryFilename) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmp(ctx context.Context, projectName string, repositoryName string, architectureName string, binaryFilename string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpRequest(c.Server, projectName, repositoryName, architectureName, binaryFilename) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetPublishedProjectNameRepositoryNameviewStatus(ctx context.Context, projectName string, repositoryName string, params *GetPublishedProjectNameRepositoryNameviewStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetPublishedProjectNameRepositoryNameviewStatusRequest(c.Server, projectName, repositoryName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetRequest(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetRequestRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostRequestWithBody(ctx context.Context, params *PostRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostRequestRequestWithBody(c.Server, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteRequestId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteRequestIdRequest(c.Server, id) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetRequestId(ctx context.Context, id int, params *GetRequestIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetRequestIdRequest(c.Server, id, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostRequestId(ctx context.Context, id int, params *PostRequestIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostRequestIdRequest(c.Server, id, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutRequestIdWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutRequestIdRequestWithBody(c.Server, id, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostRequestIdcmdDiff(ctx context.Context, id int, params *PostRequestIdcmdDiffParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostRequestIdcmdDiffRequest(c.Server, id, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetRequestviewCollection(ctx context.Context, params *GetRequestviewCollectionParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetRequestviewCollectionRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearch(ctx context.Context, params *GetSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearch(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchChannel(ctx context.Context, params *GetSearchChannelParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchChannelRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchChannel(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchChannelRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchChannelBinary(ctx context.Context, params *GetSearchChannelBinaryParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchChannelBinaryRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchChannelBinary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchChannelBinaryRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchChannelBinaryId(ctx context.Context, params *GetSearchChannelBinaryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchChannelBinaryIdRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchChannelBinaryId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchChannelBinaryIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchIssue(ctx context.Context, params *GetSearchIssueParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchIssueRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchIssue(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchIssueRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchMissingOwner(ctx context.Context, params *GetSearchMissingOwnerParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchMissingOwnerRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchMissingOwner(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchMissingOwnerRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchOwner(ctx context.Context, params *GetSearchOwnerParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchOwnerRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchOwner(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchOwnerRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchPackage(ctx context.Context, params *GetSearchPackageParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchPackageRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchPackage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchPackageRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchPackageId(ctx context.Context, params *GetSearchPackageIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchPackageIdRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchPackageId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchPackageIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchPackageId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchPackageIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchPackageId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchPackageIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchPerson(ctx context.Context, params *GetSearchPersonParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchPersonRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchPerson(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchPersonRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchProject(ctx context.Context, params *GetSearchProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchProjectRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchProject(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchProjectRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchProjectId(ctx context.Context, params *GetSearchProjectIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchProjectIdRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchProjectId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchProjectIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchProjectId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchProjectIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchProjectId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchProjectIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchPublishedBinaryId(ctx context.Context, params *GetSearchPublishedBinaryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchPublishedBinaryIdRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchPublishedBinaryId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchPublishedBinaryIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchPublishedPatternId(ctx context.Context, params *GetSearchPublishedPatternIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchPublishedPatternIdRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchPublishedPatternId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchPublishedPatternIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchPublishedRepoinfoId(ctx context.Context, params *GetSearchPublishedRepoinfoIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchPublishedRepoinfoIdRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchPublishedRepoinfoId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchPublishedRepoinfoIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchReleasedBinary(ctx context.Context, params *GetSearchReleasedBinaryParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchReleasedBinaryRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchReleasedBinary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchReleasedBinaryRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchReleasedBinaryId(ctx context.Context, params *GetSearchReleasedBinaryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchReleasedBinaryIdRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchReleasedBinaryId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchReleasedBinaryIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchRepositoryId(ctx context.Context, params *GetSearchRepositoryIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchRepositoryIdRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchRepositoryId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchRepositoryIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchRequest(ctx context.Context, params *GetSearchRequestParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchRequestRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchRequest(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchRequestRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSearchRequestId(ctx context.Context, params *GetSearchRequestIdParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSearchRequestIdRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSearchRequestId(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSearchRequestIdRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetService(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetServiceRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSource(ctx context.Context, params *GetSourceParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteSourceProjectName(ctx context.Context, projectName string, params *DeleteSourceProjectNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteSourceProjectNameRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectName(ctx context.Context, projectName string, params *GetSourceProjectNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNameRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNameAttribute(ctx context.Context, projectName string, params *GetSourceProjectNameAttributeParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNameAttributeRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteSourceProjectNameAttributeAttributeName(ctx context.Context, projectName string, attributeName string, params *DeleteSourceProjectNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteSourceProjectNameAttributeAttributeNameRequest(c.Server, projectName, attributeName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNameAttributeAttributeName(ctx context.Context, projectName string, attributeName string, params *GetSourceProjectNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNameAttributeAttributeNameRequest(c.Server, projectName, attributeName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNameAttributeAttributeNameWithBody(ctx context.Context, projectName string, attributeName string, params *PostSourceProjectNameAttributeAttributeNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNameAttributeAttributeNameRequestWithBody(c.Server, projectName, attributeName, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNameConfig(ctx context.Context, projectName string, params *GetSourceProjectNameConfigParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNameConfigRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutSourceProjectNameConfigWithBody(ctx context.Context, projectName string, params *PutSourceProjectNameConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutSourceProjectNameConfigRequestWithBody(c.Server, projectName, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutSourceProjectNameConfigWithTextBody(ctx context.Context, projectName string, params *PutSourceProjectNameConfigParams, body PutSourceProjectNameConfigTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutSourceProjectNameConfigRequestWithTextBody(c.Server, projectName, params, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNameKeyinfo(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNameKeyinfoRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNameMeta(ctx context.Context, projectName string, params *GetSourceProjectNameMetaParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNameMetaRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutSourceProjectNameMetaWithBody(ctx context.Context, projectName string, params *PutSourceProjectNameMetaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutSourceProjectNameMetaRequestWithBody(c.Server, projectName, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePattern(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePatternRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteSourceProjectNamePatternFileName(ctx context.Context, projectName string, fileName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteSourceProjectNamePatternFileNameRequest(c.Server, projectName, fileName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePatternFileName(ctx context.Context, projectName string, fileName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePatternFileNameRequest(c.Server, projectName, fileName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutSourceProjectNamePatternFileNameWithBody(ctx context.Context, projectName string, fileName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutSourceProjectNamePatternFileNameRequestWithBody(c.Server, projectName, fileName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNameProject(ctx context.Context, projectName string, params *GetSourceProjectNameProjectParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNameProjectRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNameProjectHistory(ctx context.Context, projectName string, params *GetSourceProjectNameProjectHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNameProjectHistoryRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNameProjectFileName(ctx context.Context, projectName string, fileName string, params *GetSourceProjectNameProjectFileNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNameProjectFileNameRequest(c.Server, projectName, fileName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteSourceProjectNamePubkey(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteSourceProjectNamePubkeyRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePubkey(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePubkeyRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteSourceProjectNamePackageName(ctx context.Context, projectName string, packageName string, params *DeleteSourceProjectNamePackageNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteSourceProjectNamePackageNameRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePackageName(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePackageNameRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePackageNameAttribute(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameAttributeParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePackageNameAttributeRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNameAttributeWithBody(ctx context.Context, projectName string, packageName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNameAttributeRequestWithBody(c.Server, projectName, packageName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteSourceProjectNamePackageNameAttributeAttributeName(ctx context.Context, projectName string, packageName string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteSourceProjectNamePackageNameAttributeAttributeNameRequest(c.Server, projectName, packageName, attributeName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePackageNameAttributeAttributeName(ctx context.Context, projectName string, packageName string, attributeName string, params *GetSourceProjectNamePackageNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePackageNameAttributeAttributeNameRequest(c.Server, projectName, packageName, attributeName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNameAttributeAttributeNameWithBody(ctx context.Context, projectName string, packageName string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNameAttributeAttributeNameRequestWithBody(c.Server, projectName, packageName, attributeName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePackageNameHistory(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePackageNameHistoryRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePackageNameMeta(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameMetaParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePackageNameMetaRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutSourceProjectNamePackageNameMetaWithBody(ctx context.Context, projectName string, packageName string, params *PutSourceProjectNamePackageNameMetaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutSourceProjectNamePackageNameMetaRequestWithBody(c.Server, projectName, packageName, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePackageNameBinaryFilenameAttribute(ctx context.Context, projectName string, packageName string, binaryFilename string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePackageNameBinaryFilenameAttributeRequest(c.Server, projectName, packageName, binaryFilename) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNameBinaryFilenameAttributeWithBody(ctx context.Context, projectName string, packageName string, binaryFilename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNameBinaryFilenameAttributeRequestWithBody(c.Server, projectName, packageName, binaryFilename, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeName(ctx context.Context, projectName string, packageName string, binaryFilename string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameRequest(c.Server, projectName, packageName, binaryFilename, attributeName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeName(ctx context.Context, projectName string, packageName string, binaryFilename string, attributeName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameRequest(c.Server, projectName, packageName, binaryFilename, attributeName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteSourceProjectNamePackageNameFileName(ctx context.Context, projectName string, packageName string, fileName string, params *DeleteSourceProjectNamePackageNameFileNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteSourceProjectNamePackageNameFileNameRequest(c.Server, projectName, packageName, fileName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePackageNameFileName(ctx context.Context, projectName string, packageName string, fileName string, params *GetSourceProjectNamePackageNameFileNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePackageNameFileNameRequest(c.Server, projectName, packageName, fileName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutSourceProjectNamePackageNameFileNameWithBody(ctx context.Context, projectName string, packageName string, fileName string, params *PutSourceProjectNamePackageNameFileNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutSourceProjectNamePackageNameFileNameRequestWithBody(c.Server, projectName, packageName, fileName, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdAddcontainers(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdAddcontainersParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdAddcontainersRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdBranch(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdBranchParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdBranchRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdCollectbuildenv(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCollectbuildenvParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdCollectbuildenvRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdCommit(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCommitParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdCommitRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdCommitfilelist(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCommitfilelistParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdCommitfilelistRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdCopy(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCopyParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdCopyRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdCreateSpecFileTemplate(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdCreateSpecFileTemplateRequest(c.Server, projectName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdDeleteuploadrev(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdDeleteuploadrevRequest(c.Server, projectName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdDiff(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdDiffParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdDiffRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdFork(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdForkParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdForkRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdGetprojectservices(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdGetprojectservicesParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdGetprojectservicesRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdInstantiate(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdInstantiateParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdInstantiateRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdLinkdiff(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdLinkdiffParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdLinkdiffRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdLinktobranch(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdLinktobranchParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdLinktobranchRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdMergeservice(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdMergeserviceParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdMergeserviceRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdRebuild(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdRebuildRequest(c.Server, projectName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdRelease(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdReleaseParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdReleaseRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdRemoveFlag(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdRemoveFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdRemoveFlagRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdRunservice(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdRunserviceParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdRunserviceRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdServicediff(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdServicediffParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdServicediffRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdSetFlag(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdSetFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdSetFlagRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdShowlinked(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdShowlinkedRequest(c.Server, projectName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdUndelete(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdUndeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdUndeleteRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdUnlock(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdUnlockParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdUnlockRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdUpdatepatchinfo(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdUpdatepatchinfoRequest(c.Server, projectName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamePackageNamecmdWaitservice(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamePackageNamecmdWaitserviceRequest(c.Server, projectName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNamePackageNameviewInfo(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameviewInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNamePackageNameviewInfoRequest(c.Server, projectName, packageName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdAddchannels(ctx context.Context, projectName string, params *PostSourceProjectNamecmdAddchannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdAddchannelsRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdCopy(ctx context.Context, projectName string, params *PostSourceProjectNamecmdCopyParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdCopyRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdCreatekey(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdCreatekeyRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdCreatemaintenanceincident(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdCreatemaintenanceincidentRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdCreatepatchinfo(ctx context.Context, projectName string, params *PostSourceProjectNamecmdCreatepatchinfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdCreatepatchinfoRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdExtendkey(ctx context.Context, projectName string, params *PostSourceProjectNamecmdExtendkeyParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdExtendkeyRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdFreezelink(ctx context.Context, projectName string, params *PostSourceProjectNamecmdFreezelinkParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdFreezelinkRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdLock(ctx context.Context, projectName string, params *PostSourceProjectNamecmdLockParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdLockRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdModifychannels(ctx context.Context, projectName string, params *PostSourceProjectNamecmdModifychannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdModifychannelsRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdMove(ctx context.Context, projectName string, params *PostSourceProjectNamecmdMoveParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdMoveRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdRelease(ctx context.Context, projectName string, params *PostSourceProjectNamecmdReleaseParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdReleaseRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdRemoveFlag(ctx context.Context, projectName string, params *PostSourceProjectNamecmdRemoveFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdRemoveFlagRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdSetFlag(ctx context.Context, projectName string, params *PostSourceProjectNamecmdSetFlagParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdSetFlagRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdShowlinked(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdShowlinkedRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdUndelete(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdUndeleteRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourceProjectNamecmdUnlock(ctx context.Context, projectName string, params *PostSourceProjectNamecmdUnlockParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourceProjectNamecmdUnlockRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetSourceProjectNameviewInfo(ctx context.Context, projectName string, params *GetSourceProjectNameviewInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetSourceProjectNameviewInfoRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourcecmdBranch(ctx context.Context, params *PostSourcecmdBranchParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourcecmdBranchRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourcecmdCreatemaintenanceincident(ctx context.Context, params *PostSourcecmdCreatemaintenanceincidentParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourcecmdCreatemaintenanceincidentRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostSourcecmdOrderkiwireposWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostSourcecmdOrderkiwireposRequestWithBody(c.Server, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStagingProjectNameBacklog(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStagingProjectNameBacklogRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteStagingProjectNameExcludedRequestsWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteStagingProjectNameExcludedRequestsRequestWithBody(c.Server, projectName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStagingProjectNameExcludedRequests(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStagingProjectNameExcludedRequestsRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStagingProjectNameExcludedRequestsWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStagingProjectNameExcludedRequestsRequestWithBody(c.Server, projectName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteStagingProjectNameStagedRequestsWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteStagingProjectNameStagedRequestsRequestWithBody(c.Server, projectName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStagingProjectNameStagingProjects(ctx context.Context, projectName string, params *GetStagingProjectNameStagingProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStagingProjectNameStagingProjectsRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStagingProjectNameStagingProjectsWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStagingProjectNameStagingProjectsRequestWithBody(c.Server, projectName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStagingProjectNameStagingProjectsStagingProjectName(ctx context.Context, projectName string, stagingProjectName string, params *GetStagingProjectNameStagingProjectsStagingProjectNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStagingProjectNameStagingProjectsStagingProjectNameRequest(c.Server, projectName, stagingProjectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStagingProjectNameStagingProjectsStagingProjectNameAccept(ctx context.Context, projectName string, stagingProjectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStagingProjectNameStagingProjectsStagingProjectNameAcceptRequest(c.Server, projectName, stagingProjectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyName(ctx context.Context, projectName string, stagingProjectName string, stagingProjectCopyName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameRequest(c.Server, projectName, stagingProjectName, stagingProjectCopyName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBody(ctx context.Context, projectName string, stagingProjectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsRequestWithBody(c.Server, projectName, stagingProjectName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequests(ctx context.Context, projectName string, stagingProjectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsRequest(c.Server, projectName, stagingProjectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBody(ctx context.Context, projectName string, stagingProjectName string, params *PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsRequestWithBody(c.Server, projectName, stagingProjectName, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteStagingProjectNameWorkflow(ctx context.Context, projectName string, params *DeleteStagingProjectNameWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteStagingProjectNameWorkflowRequest(c.Server, projectName, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStagingProjectNameWorkflowWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStagingProjectNameWorkflowRequestWithBody(c.Server, projectName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PutStagingProjectNameWorkflowWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPutStagingProjectNameWorkflowRequestWithBody(c.Server, projectName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatistics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatisticsActiveRequestCreatorsProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsActiveRequestCreatorsProjectNameRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatisticsActivityProjectNamePackageName(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsActivityProjectNamePackageNameRequest(c.Server, projectName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatisticsAddedTimestampProjectNamePackageName(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsAddedTimestampProjectNamePackageNameRequest(c.Server, projectName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatisticsGlobalCounters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsGlobalCountersRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatisticsLatestAdded(ctx context.Context, params *GetStatisticsLatestAddedParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsLatestAddedRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatisticsLatestUpdated(ctx context.Context, params *GetStatisticsLatestUpdatedParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsLatestUpdatedRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatisticsMaintenanceStatisticsProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsMaintenanceStatisticsProjectNameRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatisticsMostActivePackages(ctx context.Context, params *GetStatisticsMostActivePackagesParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsMostActivePackagesRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatisticsMostActiveProjects(ctx context.Context, params *GetStatisticsMostActiveProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsMostActiveProjectsRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatisticsUpdatedTimestampProjectNamePackageName(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatisticsUpdatedTimestampProjectNamePackageNameRequest(c.Server, projectName, packageName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusMessages(ctx context.Context, params *GetStatusMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusMessagesRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStatusMessagesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStatusMessagesRequestWithBody(c.Server, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteStatusMessagesId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteStatusMessagesIdRequest(c.Server, id) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusMessagesId(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusMessagesIdRequest(c.Server, id) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusProjectProjectName(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusProjectProjectNameRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusWorkerstatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusWorkerstatusRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusMessage(ctx context.Context, params *GetStatusMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusMessageRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildId(ctx context.Context, projectName string, repositoryName string, architectureName string, buildId int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdRequest(c.Server, projectName, repositoryName, architectureName, buildId) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithBody(ctx context.Context, projectName string, repositoryName string, architectureName string, buildId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdRequestWithBody(c.Server, projectName, repositoryName, architectureName, buildId, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecks(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksRequest(c.Server, projectName, repositoryName, architectureName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithBody(ctx context.Context, projectName string, repositoryName string, architectureName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksRequestWithBody(c.Server, projectName, repositoryName, architectureName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckName(ctx context.Context, projectName string, repositoryName string, architectureName string, checkName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameRequest(c.Server, projectName, repositoryName, architectureName, checkName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusReportsProjectsProjectNameRequiredChecks(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusReportsProjectsProjectNameRequiredChecksRequest(c.Server, projectName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStatusReportsProjectsProjectNameRequiredChecksWithBody(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStatusReportsProjectsProjectNameRequiredChecksRequestWithBody(c.Server, projectName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteStatusReportsProjectsProjectNameRequiredChecksCheckName(ctx context.Context, projectName string, checkName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameRequest(c.Server, projectName, checkName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildId(ctx context.Context, projectName string, repositoryName string, buildId int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdRequest(c.Server, projectName, repositoryName, buildId) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithBody(ctx context.Context, projectName string, repositoryName string, buildId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdRequestWithBody(c.Server, projectName, repositoryName, buildId, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecks(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksRequest(c.Server, projectName, repositoryName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithBody(ctx context.Context, projectName string, repositoryName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksRequestWithBody(c.Server, projectName, repositoryName, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckName(ctx context.Context, projectName string, repositoryName string, checkName string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewDeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameRequest(c.Server, projectName, repositoryName, checkName) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetStatusReportsRequestsIdReports(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetStatusReportsRequestsIdReportsRequest(c.Server, id) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostStatusReportsRequestsIdReportsWithBody(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostStatusReportsRequestsIdReportsRequestWithBody(c.Server, id, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostTrigger(ctx context.Context, params *PostTriggerParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostTriggerRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostTriggerRebuild(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostTriggerRebuildRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostTriggerRelease(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostTriggerReleaseRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostTriggerRunservice(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostTriggerRunserviceRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostTriggerWebhook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostTriggerWebhookRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostTriggerWorkflow(ctx context.Context, params *PostTriggerWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostTriggerWorkflowRequest(c.Server, params) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetWorkerStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetWorkerStatusRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetWorkerStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetWorkerStatusRequest(c.Server) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) GetWorkerArchitectureNameWorkerId(ctx context.Context, architectureName string, workerId string, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetWorkerArchitectureNameWorkerIdRequest(c.Server, architectureName, workerId) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } func (c *Client) PostWorkercmdCheckconstraintsWithBody(ctx context.Context, params *PostWorkercmdCheckconstraintsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewPostWorkercmdCheckconstraintsRequestWithBody(c.Server, params, contentType, body) if err != nil { return nil, err } req = req.WithContext(ctx) if err := c.applyEditors(ctx, req, reqEditors); err != nil { return nil, err } return c.Client.Do(req) } // NewGetAboutRequest generates requests for GetAbout func NewGetAboutRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/about") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetAnnouncementsRequest generates requests for GetAnnouncements func NewGetAnnouncementsRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/announcements") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostAnnouncementsRequestWithBody generates requests for PostAnnouncements with any type of body func NewPostAnnouncementsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/announcements") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteAnnouncementsAnnouncementIdRequest generates requests for DeleteAnnouncementsAnnouncementId func NewDeleteAnnouncementsAnnouncementIdRequest(server string, announcementId int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "announcement_id", runtime.ParamLocationPath, announcementId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/announcements/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetAnnouncementsAnnouncementIdRequest generates requests for GetAnnouncementsAnnouncementId func NewGetAnnouncementsAnnouncementIdRequest(server string, announcementId int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "announcement_id", runtime.ParamLocationPath, announcementId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/announcements/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutAnnouncementsAnnouncementIdRequestWithBody generates requests for PutAnnouncementsAnnouncementId with any type of body func NewPutAnnouncementsAnnouncementIdRequestWithBody(server string, announcementId int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "announcement_id", runtime.ParamLocationPath, announcementId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/announcements/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetArchitecturesRequest generates requests for GetArchitectures func NewGetArchitecturesRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/architectures") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetArchitecturesArchitectureNameRequest generates requests for GetArchitecturesArchitectureName func NewGetArchitecturesArchitectureNameRequest(server string, architectureName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/architectures/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetAttributeRequest generates requests for GetAttribute func NewGetAttributeRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteAttributeNamespaceRequest generates requests for DeleteAttributeNamespace func NewDeleteAttributeNamespaceRequest(server string, namespace string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetAttributeNamespaceRequest generates requests for GetAttributeNamespace func NewGetAttributeNamespaceRequest(server string, namespace string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteAttributeNamespaceMetaRequest generates requests for DeleteAttributeNamespaceMeta func NewDeleteAttributeNamespaceMetaRequest(server string, namespace string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s/_meta", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetAttributeNamespaceMetaRequest generates requests for GetAttributeNamespaceMeta func NewGetAttributeNamespaceMetaRequest(server string, namespace string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s/_meta", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostAttributeNamespaceMetaRequestWithBody generates requests for PostAttributeNamespaceMeta with any type of body func NewPostAttributeNamespaceMetaRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s/_meta", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewPutAttributeNamespaceMetaRequestWithBody generates requests for PutAttributeNamespaceMeta with any type of body func NewPutAttributeNamespaceMetaRequestWithBody(server string, namespace string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s/_meta", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteAttributeNamespaceAttributeNameRequest generates requests for DeleteAttributeNamespaceAttributeName func NewDeleteAttributeNamespaceAttributeNameRequest(server string, namespace string, attributeName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteAttributeNamespaceAttributeNameMetaRequest generates requests for DeleteAttributeNamespaceAttributeNameMeta func NewDeleteAttributeNamespaceAttributeNameMetaRequest(server string, namespace string, attributeName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s/%s/_meta", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetAttributeNamespaceAttributeNameMetaRequest generates requests for GetAttributeNamespaceAttributeNameMeta func NewGetAttributeNamespaceAttributeNameMetaRequest(server string, namespace string, attributeName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s/%s/_meta", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostAttributeNamespaceAttributeNameMetaRequestWithBody generates requests for PostAttributeNamespaceAttributeNameMeta with any type of body func NewPostAttributeNamespaceAttributeNameMetaRequestWithBody(server string, namespace string, attributeName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s/%s/_meta", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewPutAttributeNamespaceAttributeNameMetaRequestWithBody generates requests for PutAttributeNamespaceAttributeNameMeta with any type of body func NewPutAttributeNamespaceAttributeNameMetaRequestWithBody(server string, namespace string, attributeName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "namespace", runtime.ParamLocationPath, namespace) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/attribute/%s/%s/_meta", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetBuildRequest generates requests for GetBuild func NewGetBuildRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildWorkerstatusRequest generates requests for GetBuildWorkerstatus func NewGetBuildWorkerstatusRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/_workerstatus") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRequest generates requests for GetBuildProjectName func NewGetBuildProjectNameRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostBuildProjectNameRequest generates requests for PostBuildProjectName func NewPostBuildProjectNameRequest(server string, projectName string, params *PostBuildProjectNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Package != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, *params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Arch != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, *params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cmd", runtime.ParamLocationQuery, params.Cmd); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameResultRequest generates requests for GetBuildProjectNameResult func NewGetBuildProjectNameResultRequest(server string, projectName string, params *GetBuildProjectNameResultParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/_result", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Package != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, *params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Arch != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, *params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Lastbuild != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "lastbuild", runtime.ParamLocationQuery, *params.Lastbuild); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Locallink != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "locallink", runtime.ParamLocationQuery, *params.Locallink); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Multibuild != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "multibuild", runtime.ParamLocationQuery, *params.Multibuild); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameRequest generates requests for GetBuildProjectNameRepositoryName func NewGetBuildProjectNameRepositoryNameRequest(server string, projectName string, repositoryName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameBuildconfigRequest generates requests for GetBuildProjectNameRepositoryNameBuildconfig func NewGetBuildProjectNameRepositoryNameBuildconfigRequest(server string, projectName string, repositoryName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/_buildconfig", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo func NewGetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoRequest(server string, projectName string, repositoryName string, architectureName string, params *GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/_builddepinfo", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Package != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, *params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoRequest generates requests for PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo func NewPostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoRequest(server string, projectName string, repositoryName string, architectureName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/_builddepinfo", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNameJobhistoryRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNameJobhistory func NewGetBuildProjectNameRepositoryNameArchitectureNameJobhistoryRequest(server string, projectName string, repositoryName string, architectureName string, params *GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/_jobhistory", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Code != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "code", runtime.ParamLocationQuery, *params.Code); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.EndtimeEnd != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "endtime_end", runtime.ParamLocationQuery, *params.EndtimeEnd); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.EndtimeStart != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "endtime_start", runtime.ParamLocationQuery, *params.EndtimeStart); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Package != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, *params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNameRepositoryRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNameRepository func NewGetBuildProjectNameRepositoryNameArchitectureNameRepositoryRequest(server string, projectName string, repositoryName string, architectureName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/_repository", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageName func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameRequest(server string, projectName string, repositoryName string, architectureName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenv func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvRequest(server string, projectName string, repositoryName string, architectureName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_buildenv", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoRequest(server string, projectName string, repositoryName string, architectureName string, packageName string, params *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_buildinfo", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Add != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "add", runtime.ParamLocationQuery, *params.Add); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Debug != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "debug", runtime.ParamLocationQuery, *params.Debug); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoRequestWithTextBody calls the generic PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo builder with text/plain body func NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoRequestWithTextBody(server string, projectName string, repositoryName string, architectureName string, packageName string, params *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, body PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoTextRequestBody) (*http.Request, error) { var bodyReader io.Reader bodyReader = strings.NewReader(string(body)) return NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoRequestWithBody(server, projectName, repositoryName, architectureName, packageName, params, "text/plain", bodyReader) } // NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoRequestWithBody generates requests for PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo with any type of body func NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoRequestWithBody(server string, projectName string, repositoryName string, architectureName string, packageName string, params *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_buildinfo", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Add != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "add", runtime.ParamLocationQuery, *params.Add); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Debug != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "debug", runtime.ParamLocationQuery, *params.Debug); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistory func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryRequest(server string, projectName string, repositoryName string, architectureName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_history", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryRequest generates requests for PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistory func NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryRequest(server string, projectName string, repositoryName string, architectureName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_history", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatus func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusRequest(server string, projectName string, repositoryName string, architectureName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_jobstatus", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLog func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogRequest(server string, projectName string, repositoryName string, architectureName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_log", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReason func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonRequest(server string, projectName string, repositoryName string, architectureName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_reason", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatistics func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsRequest(server string, projectName string, repositoryName string, architectureName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_statistics", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatus func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusRequest(server string, projectName string, repositoryName string, architectureName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_status", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusRequest generates requests for PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatus func NewPostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusRequest(server string, projectName string, repositoryName string, architectureName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/_status", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameRequest generates requests for DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName func NewDeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameRequest(server string, projectName string, repositoryName string, architectureName string, packageName []DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName, fileName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam4 string pathParam4, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/%s", pathParam0, pathParam1, pathParam2, pathParam3, pathParam4) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameRequest(server string, projectName string, repositoryName string, architectureName string, packageName string, fileName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam4 string pathParam4, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/%s", pathParam0, pathParam1, pathParam2, pathParam3, pathParam4) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameRequestWithBody generates requests for PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName with any type of body func NewPutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameRequestWithBody(server string, projectName string, repositoryName string, architectureName string, packageName []PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName, fileName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam4 string pathParam4, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/%s", pathParam0, pathParam1, pathParam2, pathParam3, pathParam4) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoRequest generates requests for GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfo func NewGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoRequest(server string, projectName string, repositoryName string, architectureName string, packageName string, fileName string, params *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam4 string pathParam4, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/build/%s/%s/%s/%s/%s?view=fileinfo", pathParam0, pathParam1, pathParam2, pathParam3, pathParam4) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteCommentCommentIdRequest generates requests for DeleteCommentCommentId func NewDeleteCommentCommentIdRequest(server string, commentId int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "comment_id", runtime.ParamLocationPath, commentId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/comment/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetCommentCommentIdHistoryRequest generates requests for GetCommentCommentIdHistory func NewGetCommentCommentIdHistoryRequest(server string, commentId int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "comment_id", runtime.ParamLocationPath, commentId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/comment/%s/history", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetCommentsPackageProjectNamePackageNameRequest generates requests for GetCommentsPackageProjectNamePackageName func NewGetCommentsPackageProjectNamePackageNameRequest(server string, projectName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/comments/package/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostCommentsPackageProjectNamePackageNameRequestWithTextBody calls the generic PostCommentsPackageProjectNamePackageName builder with text/plain body func NewPostCommentsPackageProjectNamePackageNameRequestWithTextBody(server string, projectName string, packageName string, params *PostCommentsPackageProjectNamePackageNameParams, body PostCommentsPackageProjectNamePackageNameTextRequestBody) (*http.Request, error) { var bodyReader io.Reader bodyReader = strings.NewReader(string(body)) return NewPostCommentsPackageProjectNamePackageNameRequestWithBody(server, projectName, packageName, params, "text/plain", bodyReader) } // NewPostCommentsPackageProjectNamePackageNameRequestWithBody generates requests for PostCommentsPackageProjectNamePackageName with any type of body func NewPostCommentsPackageProjectNamePackageNameRequestWithBody(server string, projectName string, packageName string, params *PostCommentsPackageProjectNamePackageNameParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/comments/package/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.ParentId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_id", runtime.ParamLocationQuery, *params.ParentId); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetCommentsProjectProjectNameRequest generates requests for GetCommentsProjectProjectName func NewGetCommentsProjectProjectNameRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/comments/project/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostCommentsProjectProjectNameRequestWithTextBody calls the generic PostCommentsProjectProjectName builder with text/plain body func NewPostCommentsProjectProjectNameRequestWithTextBody(server string, projectName string, params *PostCommentsProjectProjectNameParams, body PostCommentsProjectProjectNameTextRequestBody) (*http.Request, error) { var bodyReader io.Reader bodyReader = strings.NewReader(string(body)) return NewPostCommentsProjectProjectNameRequestWithBody(server, projectName, params, "text/plain", bodyReader) } // NewPostCommentsProjectProjectNameRequestWithBody generates requests for PostCommentsProjectProjectName with any type of body func NewPostCommentsProjectProjectNameRequestWithBody(server string, projectName string, params *PostCommentsProjectProjectNameParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/comments/project/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.ParentId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_id", runtime.ParamLocationQuery, *params.ParentId); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetCommentsRequestIdRequest generates requests for GetCommentsRequestId func NewGetCommentsRequestIdRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/comments/request/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostCommentsRequestIdRequestWithTextBody calls the generic PostCommentsRequestId builder with text/plain body func NewPostCommentsRequestIdRequestWithTextBody(server string, id int, params *PostCommentsRequestIdParams, body PostCommentsRequestIdTextRequestBody) (*http.Request, error) { var bodyReader io.Reader bodyReader = strings.NewReader(string(body)) return NewPostCommentsRequestIdRequestWithBody(server, id, params, "text/plain", bodyReader) } // NewPostCommentsRequestIdRequestWithBody generates requests for PostCommentsRequestId with any type of body func NewPostCommentsRequestIdRequestWithBody(server string, id int, params *PostCommentsRequestIdParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/comments/request/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.ParentId != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parent_id", runtime.ParamLocationQuery, *params.ParentId); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetCommentsUserRequest generates requests for GetCommentsUser func NewGetCommentsUserRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/comments/user") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetConfigurationRequest generates requests for GetConfiguration func NewGetConfigurationRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/configuration") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutConfigurationRequestWithBody generates requests for PutConfiguration with any type of body func NewPutConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/configuration") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetDistributionsRequest generates requests for GetDistributions func NewGetDistributionsRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/distributions") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostDistributionsRequestWithBody generates requests for PostDistributions with any type of body func NewPostDistributionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/distributions") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewPutDistributionsBulkReplaceRequestWithBody generates requests for PutDistributionsBulkReplace with any type of body func NewPutDistributionsBulkReplaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/distributions/bulk_replace") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetDistributionsIncludeRemotesRequest generates requests for GetDistributionsIncludeRemotes func NewGetDistributionsIncludeRemotesRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/distributions/include_remotes") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteDistributionsDistributionIdRequest generates requests for DeleteDistributionsDistributionId func NewDeleteDistributionsDistributionIdRequest(server string, distributionId int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "distribution_id", runtime.ParamLocationPath, distributionId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/distributions/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetDistributionsDistributionIdRequest generates requests for GetDistributionsDistributionId func NewGetDistributionsDistributionIdRequest(server string, distributionId int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "distribution_id", runtime.ParamLocationPath, distributionId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/distributions/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutDistributionsDistributionIdRequestWithBody generates requests for PutDistributionsDistributionId with any type of body func NewPutDistributionsDistributionIdRequestWithBody(server string, distributionId int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "distribution_id", runtime.ParamLocationPath, distributionId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/distributions/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetGroupRequest generates requests for GetGroup func NewGetGroupRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/group") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteGroupGroupTitleRequest generates requests for DeleteGroupGroupTitle func NewDeleteGroupGroupTitleRequest(server string, groupTitle string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "group_title", runtime.ParamLocationPath, groupTitle) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/group/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetGroupGroupTitleRequest generates requests for GetGroupGroupTitle func NewGetGroupGroupTitleRequest(server string, groupTitle string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "group_title", runtime.ParamLocationPath, groupTitle) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/group/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostGroupGroupTitleRequest generates requests for PostGroupGroupTitle func NewPostGroupGroupTitleRequest(server string, groupTitle string, params *PostGroupGroupTitleParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "group_title", runtime.ParamLocationPath, groupTitle) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/group/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Cmd != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cmd", runtime.ParamLocationQuery, *params.Cmd); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Userid != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "userid", runtime.ParamLocationQuery, *params.Userid); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Email != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "email", runtime.ParamLocationQuery, *params.Email); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutGroupGroupTitleRequestWithBody generates requests for PutGroupGroupTitle with any type of body func NewPutGroupGroupTitleRequestWithBody(server string, groupTitle string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "group_title", runtime.ParamLocationPath, groupTitle) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/group/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetImageTemplatesRequest generates requests for GetImageTemplates func NewGetImageTemplatesRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/image_templates") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetIssueTrackersRequest generates requests for GetIssueTrackers func NewGetIssueTrackersRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/issue_trackers") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostIssueTrackersRequestWithBody generates requests for PostIssueTrackers with any type of body func NewPostIssueTrackersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/issue_trackers") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteIssueTrackersIssueTrackerNameRequest generates requests for DeleteIssueTrackersIssueTrackerName func NewDeleteIssueTrackersIssueTrackerNameRequest(server string, issueTrackerName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "issue_tracker_name", runtime.ParamLocationPath, issueTrackerName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/issue_trackers/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetIssueTrackersIssueTrackerNameRequest generates requests for GetIssueTrackersIssueTrackerName func NewGetIssueTrackersIssueTrackerNameRequest(server string, issueTrackerName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "issue_tracker_name", runtime.ParamLocationPath, issueTrackerName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/issue_trackers/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutIssueTrackersIssueTrackerNameRequestWithBody generates requests for PutIssueTrackersIssueTrackerName with any type of body func NewPutIssueTrackersIssueTrackerNameRequestWithBody(server string, issueTrackerName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "issue_tracker_name", runtime.ParamLocationPath, issueTrackerName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/issue_trackers/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetIssueTrackersIssueTrackerNameIssuesIssueNameRequest generates requests for GetIssueTrackersIssueTrackerNameIssuesIssueName func NewGetIssueTrackersIssueTrackerNameIssuesIssueNameRequest(server string, issueTrackerName string, issueName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "issue_tracker_name", runtime.ParamLocationPath, issueTrackerName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "issue_name", runtime.ParamLocationPath, issueName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/issue_trackers/%s/issues/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetMyNotificationsRequest generates requests for GetMyNotifications func NewGetMyNotificationsRequest(server string, params *GetMyNotificationsParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/my/notifications") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Project != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "project", runtime.ParamLocationQuery, *params.Project); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Page != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "page", runtime.ParamLocationQuery, *params.Page); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.ShowMaximum != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "show_maximum", runtime.ParamLocationQuery, *params.ShowMaximum); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.NotificationsType != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "notifications_type", runtime.ParamLocationQuery, *params.NotificationsType); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutMyNotificationsIdRequest generates requests for PutMyNotificationsId func NewPutMyNotificationsIdRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/my/notifications/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetPersonRequest generates requests for GetPerson func NewGetPersonRequest(server string, params *GetPersonParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Prefix != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prefix", runtime.ParamLocationQuery, *params.Prefix); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Confirmed != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "confirmed", runtime.ParamLocationQuery, *params.Confirmed); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostPersonRequestWithBody generates requests for PostPerson with any type of body func NewPostPersonRequestWithBody(server string, params *PostPersonParams, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cmd", runtime.ParamLocationQuery, params.Cmd); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewPostPersonRegisterRequestWithBody generates requests for PostPersonRegister with any type of body func NewPostPersonRegisterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person/register") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetPersonLoginRequest generates requests for GetPersonLogin func NewGetPersonLoginRequest(server string, login string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "login", runtime.ParamLocationPath, login) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostPersonLoginRequestWithTextBody calls the generic PostPersonLogin builder with text/plain body func NewPostPersonLoginRequestWithTextBody(server string, login string, params *PostPersonLoginParams, body PostPersonLoginTextRequestBody) (*http.Request, error) { var bodyReader io.Reader bodyReader = strings.NewReader(string(body)) return NewPostPersonLoginRequestWithBody(server, login, params, "text/plain", bodyReader) } // NewPostPersonLoginRequestWithBody generates requests for PostPersonLogin with any type of body func NewPostPersonLoginRequestWithBody(server string, login string, params *PostPersonLoginParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "login", runtime.ParamLocationPath, login) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cmd", runtime.ParamLocationQuery, params.Cmd); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewPutPersonLoginRequestWithBody generates requests for PutPersonLogin with any type of body func NewPutPersonLoginRequestWithBody(server string, login string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "login", runtime.ParamLocationPath, login) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetPersonLoginGroupRequest generates requests for GetPersonLoginGroup func NewGetPersonLoginGroupRequest(server string, login string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "login", runtime.ParamLocationPath, login) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person/%s/group", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetPersonLoginTokenRequest generates requests for GetPersonLoginToken func NewGetPersonLoginTokenRequest(server string, login string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "login", runtime.ParamLocationPath, login) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person/%s/token", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostPersonLoginTokenRequest generates requests for PostPersonLoginToken func NewPostPersonLoginTokenRequest(server string, login string, params *PostPersonLoginTokenParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "login", runtime.ParamLocationPath, login) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person/%s/token", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Description != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "description", runtime.ParamLocationQuery, *params.Description); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Project != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "project", runtime.ParamLocationQuery, *params.Project); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Package != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, *params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Operation != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "operation", runtime.ParamLocationQuery, *params.Operation); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.ScmToken != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scm_token", runtime.ParamLocationQuery, *params.ScmToken); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeletePersonLoginTokenIdRequest generates requests for DeletePersonLoginTokenId func NewDeletePersonLoginTokenIdRequest(server string, login string, id string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "login", runtime.ParamLocationPath, login) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person/%s/token/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetPersonLoginWatchlistRequest generates requests for GetPersonLoginWatchlist func NewGetPersonLoginWatchlistRequest(server string, login string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "login", runtime.ParamLocationPath, login) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person/%s/watchlist", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutPersonLoginWatchlistRequestWithBody generates requests for PutPersonLoginWatchlist with any type of body func NewPutPersonLoginWatchlistRequestWithBody(server string, login string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "login", runtime.ParamLocationPath, login) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/person/%s/watchlist", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetPublishedRequest generates requests for GetPublished func NewGetPublishedRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/published") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetPublishedProjectNameRequest generates requests for GetPublishedProjectName func NewGetPublishedProjectNameRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/published/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetPublishedProjectNameRepositoryNameRequest generates requests for GetPublishedProjectNameRepositoryName func NewGetPublishedProjectNameRepositoryNameRequest(server string, projectName string, repositoryName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/published/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetPublishedProjectNameRepositoryNameArchitectureNameRequest generates requests for GetPublishedProjectNameRepositoryNameArchitectureName func NewGetPublishedProjectNameRepositoryNameArchitectureNameRequest(server string, projectName string, repositoryName string, architectureName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/published/%s/%s/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameRequest generates requests for GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilename func NewGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameRequest(server string, projectName string, repositoryName string, architectureName string, binaryFilename string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "binary_filename", runtime.ParamLocationPath, binaryFilename) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/published/%s/%s/%s/%s", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpRequest generates requests for GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmp func NewGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpRequest(server string, projectName string, repositoryName string, architectureName string, binaryFilename string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "binary_filename", runtime.ParamLocationPath, binaryFilename) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/published/%s/%s/%s/%s?view=ymp", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetPublishedProjectNameRepositoryNameviewStatusRequest generates requests for GetPublishedProjectNameRepositoryNameviewStatus func NewGetPublishedProjectNameRepositoryNameviewStatusRequest(server string, projectName string, repositoryName string, params *GetPublishedProjectNameRepositoryNameviewStatusParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/published/%s/%s?view=status", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetRequestRequest generates requests for GetRequest func NewGetRequestRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/request") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostRequestRequestWithBody generates requests for PostRequest with any type of body func NewPostRequestRequestWithBody(server string, params *PostRequestParams, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/request") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cmd", runtime.ParamLocationQuery, params.Cmd); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Addrevision != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "addrevision", runtime.ParamLocationQuery, *params.Addrevision); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.IgnoreDelegate != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ignore_delegate", runtime.ParamLocationQuery, *params.IgnoreDelegate); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.IgnoreBuildState != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ignore_build_state", runtime.ParamLocationQuery, *params.IgnoreBuildState); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteRequestIdRequest generates requests for DeleteRequestId func NewDeleteRequestIdRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/request/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetRequestIdRequest generates requests for GetRequestId func NewGetRequestIdRequest(server string, id int, params *GetRequestIdParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/request/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Withhistory != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withhistory", runtime.ParamLocationQuery, *params.Withhistory); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withfullhistory != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withfullhistory", runtime.ParamLocationQuery, *params.Withfullhistory); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostRequestIdRequest generates requests for PostRequestId func NewPostRequestIdRequest(server string, id int, params *PostRequestIdParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/request/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Cmd != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", false, "cmd", runtime.ParamLocationQuery, *params.Cmd); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Newstate != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "newstate", runtime.ParamLocationQuery, *params.Newstate); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.SupersededBy != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "superseded_by", runtime.ParamLocationQuery, *params.SupersededBy); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Priority != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "priority", runtime.ParamLocationQuery, *params.Priority); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.ByUser != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_user", runtime.ParamLocationQuery, *params.ByUser); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.ByGroup != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_group", runtime.ParamLocationQuery, *params.ByGroup); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.ByProject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_project", runtime.ParamLocationQuery, *params.ByProject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.ByPackage != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "by_package", runtime.ParamLocationQuery, *params.ByPackage); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Force != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Incident != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "incident", runtime.ParamLocationQuery, *params.Incident); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Revert != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "revert", runtime.ParamLocationQuery, *params.Revert); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Time != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time", runtime.ParamLocationQuery, *params.Time); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutRequestIdRequestWithBody generates requests for PutRequestId with any type of body func NewPutRequestIdRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/request/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewPostRequestIdcmdDiffRequest generates requests for PostRequestIdcmdDiff func NewPostRequestIdcmdDiffRequest(server string, id int, params *PostRequestIdcmdDiffParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/request/%s?cmd=diff", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.DiffToSuperseded != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "diff_to_superseded", runtime.ParamLocationQuery, *params.DiffToSuperseded); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withissues != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withissues", runtime.ParamLocationQuery, *params.Withissues); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withdescriptionissues != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withdescriptionissues", runtime.ParamLocationQuery, *params.Withdescriptionissues); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetRequestviewCollectionRequest generates requests for GetRequestviewCollection func NewGetRequestviewCollectionRequest(server string, params *GetRequestviewCollectionParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/request?view=collection") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.User != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user", runtime.ParamLocationQuery, *params.User); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Group != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group", runtime.ParamLocationQuery, *params.Group); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Project != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "project", runtime.ParamLocationQuery, *params.Project); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Package != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, *params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.States != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "states", runtime.ParamLocationQuery, *params.States); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Reviewstates != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "reviewstates", runtime.ParamLocationQuery, *params.Reviewstates); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Types != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "types", runtime.ParamLocationQuery, *params.Types); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Roles != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "roles", runtime.ParamLocationQuery, *params.Roles); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withhistory != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withhistory", runtime.ParamLocationQuery, *params.Withhistory); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withfullhistory != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withfullhistory", runtime.ParamLocationQuery, *params.Withfullhistory); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Ids != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ids", runtime.ParamLocationQuery, *params.Ids); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchRequest generates requests for GetSearch func NewGetSearchRequest(server string, params *GetSearchParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "in", runtime.ParamLocationQuery, params.In); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Return != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "return", runtime.ParamLocationQuery, *params.Return); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Values != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "values", runtime.ParamLocationQuery, *params.Values); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchRequest generates requests for PostSearch func NewPostSearchRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchChannelRequest generates requests for GetSearchChannel func NewGetSearchChannelRequest(server string, params *GetSearchChannelParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/channel") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchChannelRequest generates requests for PostSearchChannel func NewPostSearchChannelRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/channel") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchChannelBinaryRequest generates requests for GetSearchChannelBinary func NewGetSearchChannelBinaryRequest(server string, params *GetSearchChannelBinaryParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/channel/binary") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchChannelBinaryRequest generates requests for PostSearchChannelBinary func NewPostSearchChannelBinaryRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/channel/binary") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchChannelBinaryIdRequest generates requests for GetSearchChannelBinaryId func NewGetSearchChannelBinaryIdRequest(server string, params *GetSearchChannelBinaryIdParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/channel/binary/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Match != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, *params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchChannelBinaryIdRequest generates requests for PostSearchChannelBinaryId func NewPostSearchChannelBinaryIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/channel/binary/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchIssueRequest generates requests for GetSearchIssue func NewGetSearchIssueRequest(server string, params *GetSearchIssueParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/issue") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchIssueRequest generates requests for PostSearchIssue func NewPostSearchIssueRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/issue") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchMissingOwnerRequest generates requests for GetSearchMissingOwner func NewGetSearchMissingOwnerRequest(server string, params *GetSearchMissingOwnerParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/missing_owner") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Project != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "project", runtime.ParamLocationQuery, *params.Project); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Filter != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "filter", runtime.ParamLocationQuery, *params.Filter); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Attribute != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "attribute", runtime.ParamLocationQuery, *params.Attribute); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchMissingOwnerRequest generates requests for PostSearchMissingOwner func NewPostSearchMissingOwnerRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/missing_owner") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchOwnerRequest generates requests for GetSearchOwner func NewGetSearchOwnerRequest(server string, params *GetSearchOwnerParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/owner") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Package != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, *params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Binary != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "binary", runtime.ParamLocationQuery, *params.Binary); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.User != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user", runtime.ParamLocationQuery, *params.User); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Group != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "group", runtime.ParamLocationQuery, *params.Group); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Devel != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "devel", runtime.ParamLocationQuery, *params.Devel); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Project != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "project", runtime.ParamLocationQuery, *params.Project); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Filter != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "filter", runtime.ParamLocationQuery, *params.Filter); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Attribute != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "attribute", runtime.ParamLocationQuery, *params.Attribute); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchOwnerRequest generates requests for PostSearchOwner func NewPostSearchOwnerRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/owner") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchPackageRequest generates requests for GetSearchPackage func NewGetSearchPackageRequest(server string, params *GetSearchPackageParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/package") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchPackageRequest generates requests for PostSearchPackage func NewPostSearchPackageRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/package") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchPackageIdRequest generates requests for GetSearchPackageId func NewGetSearchPackageIdRequest(server string, params *GetSearchPackageIdParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/package/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Match != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, *params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchPackageIdRequest generates requests for PostSearchPackageId func NewPostSearchPackageIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/package/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchPackageIdRequest generates requests for GetSearchPackageId func NewGetSearchPackageIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/package_id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchPackageIdRequest generates requests for PostSearchPackageId func NewPostSearchPackageIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/package_id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchPersonRequest generates requests for GetSearchPerson func NewGetSearchPersonRequest(server string, params *GetSearchPersonParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/person") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchPersonRequest generates requests for PostSearchPerson func NewPostSearchPersonRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/person") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchProjectRequest generates requests for GetSearchProject func NewGetSearchProjectRequest(server string, params *GetSearchProjectParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/project") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchProjectRequest generates requests for PostSearchProject func NewPostSearchProjectRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/project") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchProjectIdRequest generates requests for GetSearchProjectId func NewGetSearchProjectIdRequest(server string, params *GetSearchProjectIdParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/project/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Match != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, *params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchProjectIdRequest generates requests for PostSearchProjectId func NewPostSearchProjectIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/project/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchProjectIdRequest generates requests for GetSearchProjectId func NewGetSearchProjectIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/project_id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchProjectIdRequest generates requests for PostSearchProjectId func NewPostSearchProjectIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/project_id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchPublishedBinaryIdRequest generates requests for GetSearchPublishedBinaryId func NewGetSearchPublishedBinaryIdRequest(server string, params *GetSearchPublishedBinaryIdParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/published/binary/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withdownloadurl != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withdownloadurl", runtime.ParamLocationQuery, *params.Withdownloadurl); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchPublishedBinaryIdRequest generates requests for PostSearchPublishedBinaryId func NewPostSearchPublishedBinaryIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/published/binary/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchPublishedPatternIdRequest generates requests for GetSearchPublishedPatternId func NewGetSearchPublishedPatternIdRequest(server string, params *GetSearchPublishedPatternIdParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/published/pattern/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withdownloadurl != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withdownloadurl", runtime.ParamLocationQuery, *params.Withdownloadurl); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchPublishedPatternIdRequest generates requests for PostSearchPublishedPatternId func NewPostSearchPublishedPatternIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/published/pattern/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchPublishedRepoinfoIdRequest generates requests for GetSearchPublishedRepoinfoId func NewGetSearchPublishedRepoinfoIdRequest(server string, params *GetSearchPublishedRepoinfoIdParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/published/repoinfo/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withdownloadurl != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withdownloadurl", runtime.ParamLocationQuery, *params.Withdownloadurl); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchPublishedRepoinfoIdRequest generates requests for PostSearchPublishedRepoinfoId func NewPostSearchPublishedRepoinfoIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/published/repoinfo/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchReleasedBinaryRequest generates requests for GetSearchReleasedBinary func NewGetSearchReleasedBinaryRequest(server string, params *GetSearchReleasedBinaryParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/released/binary") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchReleasedBinaryRequest generates requests for PostSearchReleasedBinary func NewPostSearchReleasedBinaryRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/released/binary") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchReleasedBinaryIdRequest generates requests for GetSearchReleasedBinaryId func NewGetSearchReleasedBinaryIdRequest(server string, params *GetSearchReleasedBinaryIdParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/released/binary/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Match != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, *params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchReleasedBinaryIdRequest generates requests for PostSearchReleasedBinaryId func NewPostSearchReleasedBinaryIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/released/binary/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchRepositoryIdRequest generates requests for GetSearchRepositoryId func NewGetSearchRepositoryIdRequest(server string, params *GetSearchRepositoryIdParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/repository/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Match != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, *params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchRepositoryIdRequest generates requests for PostSearchRepositoryId func NewPostSearchRepositoryIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/repository/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchRequestRequest generates requests for GetSearchRequest func NewGetSearchRequestRequest(server string, params *GetSearchRequestParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/request") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withhistory != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withhistory", runtime.ParamLocationQuery, *params.Withhistory); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withfullhistory != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withfullhistory", runtime.ParamLocationQuery, *params.Withfullhistory); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchRequestRequest generates requests for PostSearchRequest func NewPostSearchRequestRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/request") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSearchRequestIdRequest generates requests for GetSearchRequestId func NewGetSearchRequestIdRequest(server string, params *GetSearchRequestIdParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/request/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Match != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "match", runtime.ParamLocationQuery, *params.Match); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Offset != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "offset", runtime.ParamLocationQuery, *params.Offset); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withhistory != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withhistory", runtime.ParamLocationQuery, *params.Withhistory); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withfullhistory != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withfullhistory", runtime.ParamLocationQuery, *params.Withfullhistory); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSearchRequestIdRequest generates requests for PostSearchRequestId func NewPostSearchRequestIdRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/search/request/id") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetServiceRequest generates requests for GetService func NewGetServiceRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/service") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceRequest generates requests for GetSource func NewGetSourceRequest(server string, params *GetSourceParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Deleted != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "deleted", runtime.ParamLocationQuery, *params.Deleted); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteSourceProjectNameRequest generates requests for DeleteSourceProjectName func NewDeleteSourceProjectNameRequest(server string, projectName string, params *DeleteSourceProjectNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Force != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNameRequest generates requests for GetSourceProjectName func NewGetSourceProjectNameRequest(server string, projectName string, params *GetSourceProjectNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Deleted != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "deleted", runtime.ParamLocationQuery, *params.Deleted); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Expand != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expand", runtime.ParamLocationQuery, *params.Expand); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNameAttributeRequest generates requests for GetSourceProjectNameAttribute func NewGetSourceProjectNameAttributeRequest(server string, projectName string, params *GetSourceProjectNameAttributeParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_attribute", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.WithDefault != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_default", runtime.ParamLocationQuery, *params.WithDefault); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteSourceProjectNameAttributeAttributeNameRequest generates requests for DeleteSourceProjectNameAttributeAttributeName func NewDeleteSourceProjectNameAttributeAttributeNameRequest(server string, projectName string, attributeName string, params *DeleteSourceProjectNameAttributeAttributeNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_attribute/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNameAttributeAttributeNameRequest generates requests for GetSourceProjectNameAttributeAttributeName func NewGetSourceProjectNameAttributeAttributeNameRequest(server string, projectName string, attributeName string, params *GetSourceProjectNameAttributeAttributeNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_attribute/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.WithDefault != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_default", runtime.ParamLocationQuery, *params.WithDefault); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNameAttributeAttributeNameRequestWithBody generates requests for PostSourceProjectNameAttributeAttributeName with any type of body func NewPostSourceProjectNameAttributeAttributeNameRequestWithBody(server string, projectName string, attributeName string, params *PostSourceProjectNameAttributeAttributeNameParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_attribute/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetSourceProjectNameConfigRequest generates requests for GetSourceProjectNameConfig func NewGetSourceProjectNameConfigRequest(server string, projectName string, params *GetSourceProjectNameConfigParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_config", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutSourceProjectNameConfigRequestWithTextBody calls the generic PutSourceProjectNameConfig builder with text/plain body func NewPutSourceProjectNameConfigRequestWithTextBody(server string, projectName string, params *PutSourceProjectNameConfigParams, body PutSourceProjectNameConfigTextRequestBody) (*http.Request, error) { var bodyReader io.Reader bodyReader = strings.NewReader(string(body)) return NewPutSourceProjectNameConfigRequestWithBody(server, projectName, params, "text/plain", bodyReader) } // NewPutSourceProjectNameConfigRequestWithBody generates requests for PutSourceProjectNameConfig with any type of body func NewPutSourceProjectNameConfigRequestWithBody(server string, projectName string, params *PutSourceProjectNameConfigParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_config", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetSourceProjectNameKeyinfoRequest generates requests for GetSourceProjectNameKeyinfo func NewGetSourceProjectNameKeyinfoRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_keyinfo", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNameMetaRequest generates requests for GetSourceProjectNameMeta func NewGetSourceProjectNameMetaRequest(server string, projectName string, params *GetSourceProjectNameMetaParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_meta", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutSourceProjectNameMetaRequestWithBody generates requests for PutSourceProjectNameMeta with any type of body func NewPutSourceProjectNameMetaRequestWithBody(server string, projectName string, params *PutSourceProjectNameMetaParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_meta", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetSourceProjectNamePatternRequest generates requests for GetSourceProjectNamePattern func NewGetSourceProjectNamePatternRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_pattern", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteSourceProjectNamePatternFileNameRequest generates requests for DeleteSourceProjectNamePatternFileName func NewDeleteSourceProjectNamePatternFileNameRequest(server string, projectName string, fileName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_pattern/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNamePatternFileNameRequest generates requests for GetSourceProjectNamePatternFileName func NewGetSourceProjectNamePatternFileNameRequest(server string, projectName string, fileName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_pattern/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutSourceProjectNamePatternFileNameRequestWithBody generates requests for PutSourceProjectNamePatternFileName with any type of body func NewPutSourceProjectNamePatternFileNameRequestWithBody(server string, projectName string, fileName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_pattern/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetSourceProjectNameProjectRequest generates requests for GetSourceProjectNameProject func NewGetSourceProjectNameProjectRequest(server string, projectName string, params *GetSourceProjectNameProjectParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_project", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Meta != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "meta", runtime.ParamLocationQuery, *params.Meta); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNameProjectHistoryRequest generates requests for GetSourceProjectNameProjectHistory func NewGetSourceProjectNameProjectHistoryRequest(server string, projectName string, params *GetSourceProjectNameProjectHistoryParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_project/_history", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Deleted != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "deleted", runtime.ParamLocationQuery, *params.Deleted); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Meta != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "meta", runtime.ParamLocationQuery, *params.Meta); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Startbefore != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "startbefore", runtime.ParamLocationQuery, *params.Startbefore); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNameProjectFileNameRequest generates requests for GetSourceProjectNameProjectFileName func NewGetSourceProjectNameProjectFileNameRequest(server string, projectName string, fileName string, params *GetSourceProjectNameProjectFileNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_project/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Deleted != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "deleted", runtime.ParamLocationQuery, *params.Deleted); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Meta != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "meta", runtime.ParamLocationQuery, *params.Meta); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteSourceProjectNamePubkeyRequest generates requests for DeleteSourceProjectNamePubkey func NewDeleteSourceProjectNamePubkeyRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_pubkey", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNamePubkeyRequest generates requests for GetSourceProjectNamePubkey func NewGetSourceProjectNamePubkeyRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/_pubkey", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteSourceProjectNamePackageNameRequest generates requests for DeleteSourceProjectNamePackageName func NewDeleteSourceProjectNamePackageNameRequest(server string, projectName string, packageName string, params *DeleteSourceProjectNamePackageNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Force != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNamePackageNameRequest generates requests for GetSourceProjectNamePackageName func NewGetSourceProjectNamePackageNameRequest(server string, projectName string, packageName string, params *GetSourceProjectNamePackageNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Deleted != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "deleted", runtime.ParamLocationQuery, *params.Deleted); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Expand != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expand", runtime.ParamLocationQuery, *params.Expand); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Extension != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "extension", runtime.ParamLocationQuery, *params.Extension); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Lastworking != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "lastworking", runtime.ParamLocationQuery, *params.Lastworking); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Linkrev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "linkrev", runtime.ParamLocationQuery, *params.Linkrev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Meta != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "meta", runtime.ParamLocationQuery, *params.Meta); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Product != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "product", runtime.ParamLocationQuery, *params.Product); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withlinked != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withlinked", runtime.ParamLocationQuery, *params.Withlinked); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNamePackageNameAttributeRequest generates requests for GetSourceProjectNamePackageNameAttribute func NewGetSourceProjectNamePackageNameAttributeRequest(server string, projectName string, packageName string, params *GetSourceProjectNamePackageNameAttributeParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/_attribute", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.WithDefault != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_default", runtime.ParamLocationQuery, *params.WithDefault); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.WithProject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_project", runtime.ParamLocationQuery, *params.WithProject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNameAttributeRequestWithBody generates requests for PostSourceProjectNamePackageNameAttribute with any type of body func NewPostSourceProjectNamePackageNameAttributeRequestWithBody(server string, projectName string, packageName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/_attribute", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteSourceProjectNamePackageNameAttributeAttributeNameRequest generates requests for DeleteSourceProjectNamePackageNameAttributeAttributeName func NewDeleteSourceProjectNamePackageNameAttributeAttributeNameRequest(server string, projectName string, packageName string, attributeName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/_attribute/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNamePackageNameAttributeAttributeNameRequest generates requests for GetSourceProjectNamePackageNameAttributeAttributeName func NewGetSourceProjectNamePackageNameAttributeAttributeNameRequest(server string, projectName string, packageName string, attributeName string, params *GetSourceProjectNamePackageNameAttributeAttributeNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/_attribute/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.WithDefault != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_default", runtime.ParamLocationQuery, *params.WithDefault); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.WithProject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_project", runtime.ParamLocationQuery, *params.WithProject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNameAttributeAttributeNameRequestWithBody generates requests for PostSourceProjectNamePackageNameAttributeAttributeName with any type of body func NewPostSourceProjectNamePackageNameAttributeAttributeNameRequestWithBody(server string, projectName string, packageName string, attributeName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/_attribute/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetSourceProjectNamePackageNameHistoryRequest generates requests for GetSourceProjectNamePackageNameHistory func NewGetSourceProjectNamePackageNameHistoryRequest(server string, projectName string, packageName string, params *GetSourceProjectNamePackageNameHistoryParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/_history", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Deleted != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "deleted", runtime.ParamLocationQuery, *params.Deleted); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Meta != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "meta", runtime.ParamLocationQuery, *params.Meta); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Startbefore != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "startbefore", runtime.ParamLocationQuery, *params.Startbefore); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNamePackageNameMetaRequest generates requests for GetSourceProjectNamePackageNameMeta func NewGetSourceProjectNamePackageNameMetaRequest(server string, projectName string, packageName string, params *GetSourceProjectNamePackageNameMetaParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/_meta", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Meta != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "meta", runtime.ParamLocationQuery, *params.Meta); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutSourceProjectNamePackageNameMetaRequestWithBody generates requests for PutSourceProjectNamePackageNameMeta with any type of body func NewPutSourceProjectNamePackageNameMetaRequestWithBody(server string, projectName string, packageName string, params *PutSourceProjectNamePackageNameMetaParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/_meta", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetSourceProjectNamePackageNameBinaryFilenameAttributeRequest generates requests for GetSourceProjectNamePackageNameBinaryFilenameAttribute func NewGetSourceProjectNamePackageNameBinaryFilenameAttributeRequest(server string, projectName string, packageName string, binaryFilename string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "binary_filename", runtime.ParamLocationPath, binaryFilename) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/%s/_attribute", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNameBinaryFilenameAttributeRequestWithBody generates requests for PostSourceProjectNamePackageNameBinaryFilenameAttribute with any type of body func NewPostSourceProjectNamePackageNameBinaryFilenameAttributeRequestWithBody(server string, projectName string, packageName string, binaryFilename string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "binary_filename", runtime.ParamLocationPath, binaryFilename) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/%s/_attribute", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameRequest generates requests for DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeName func NewDeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameRequest(server string, projectName string, packageName string, binaryFilename string, attributeName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "binary_filename", runtime.ParamLocationPath, binaryFilename) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/%s/_attribute/%s", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameRequest generates requests for GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeName func NewGetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameRequest(server string, projectName string, packageName string, binaryFilename string, attributeName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "binary_filename", runtime.ParamLocationPath, binaryFilename) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "attribute_name", runtime.ParamLocationPath, attributeName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/%s/_attribute/%s", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteSourceProjectNamePackageNameFileNameRequest generates requests for DeleteSourceProjectNamePackageNameFileName func NewDeleteSourceProjectNamePackageNameFileNameRequest(server string, projectName string, packageName string, fileName string, params *DeleteSourceProjectNamePackageNameFileNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Meta != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "meta", runtime.ParamLocationQuery, *params.Meta); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Keeplink != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "keeplink", runtime.ParamLocationQuery, *params.Keeplink); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNamePackageNameFileNameRequest generates requests for GetSourceProjectNamePackageNameFileName func NewGetSourceProjectNamePackageNameFileNameRequest(server string, projectName string, packageName string, fileName string, params *GetSourceProjectNamePackageNameFileNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Meta != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "meta", runtime.ParamLocationQuery, *params.Meta); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Deleted != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "deleted", runtime.ParamLocationQuery, *params.Deleted); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Expand != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expand", runtime.ParamLocationQuery, *params.Expand); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPutSourceProjectNamePackageNameFileNameRequestWithBody generates requests for PutSourceProjectNamePackageNameFileName with any type of body func NewPutSourceProjectNamePackageNameFileNameRequestWithBody(server string, projectName string, packageName string, fileName string, params *PutSourceProjectNamePackageNameFileNameParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "file_name", runtime.ParamLocationPath, fileName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Meta != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "meta", runtime.ParamLocationQuery, *params.Meta); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Keeplink != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "keeplink", runtime.ParamLocationQuery, *params.Keeplink); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewPostSourceProjectNamePackageNamecmdAddcontainersRequest generates requests for PostSourceProjectNamePackageNamecmdAddcontainers func NewPostSourceProjectNamePackageNamecmdAddcontainersRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdAddcontainersParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=addcontainers", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cmd", runtime.ParamLocationQuery, params.Cmd); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.ExtendPackageNames != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "extend_package_names", runtime.ParamLocationQuery, *params.ExtendPackageNames); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdBranchRequest generates requests for PostSourceProjectNamePackageNamecmdBranch func NewPostSourceProjectNamePackageNamecmdBranchRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdBranchParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=branch", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.TargetProject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_project", runtime.ParamLocationQuery, *params.TargetProject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.TargetPackage != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_package", runtime.ParamLocationQuery, *params.TargetPackage); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.AddRepositories != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "add_repositories", runtime.ParamLocationQuery, *params.AddRepositories); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.AddRepositoriesRebuild != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "add_repositories_rebuild", runtime.ParamLocationQuery, *params.AddRepositoriesRebuild); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.AddRepositoriesBlock != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "add_repositories_block", runtime.ParamLocationQuery, *params.AddRepositoriesBlock); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Autocleanup != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "autocleanup", runtime.ParamLocationQuery, *params.Autocleanup); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Dryrun != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "dryrun", runtime.ParamLocationQuery, *params.Dryrun); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.ExtendPackageNames != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "extend_package_names", runtime.ParamLocationQuery, *params.ExtendPackageNames); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Ignoredevel != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "ignoredevel", runtime.ParamLocationQuery, *params.Ignoredevel); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Force != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Maintenance != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maintenance", runtime.ParamLocationQuery, *params.Maintenance); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Missingok != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "missingok", runtime.ParamLocationQuery, *params.Missingok); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Newinstance != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "newinstance", runtime.ParamLocationQuery, *params.Newinstance); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Noaccess != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "noaccess", runtime.ParamLocationQuery, *params.Noaccess); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Noservice != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "noservice", runtime.ParamLocationQuery, *params.Noservice); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Request != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "request", runtime.ParamLocationQuery, *params.Request); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.UpdatePathElements != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "update_path_elements", runtime.ParamLocationQuery, *params.UpdatePathElements); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.UpdateProjectAttribute != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "update_project_attribute", runtime.ParamLocationQuery, *params.UpdateProjectAttribute); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdCollectbuildenvRequest generates requests for PostSourceProjectNamePackageNamecmdCollectbuildenv func NewPostSourceProjectNamePackageNamecmdCollectbuildenvRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCollectbuildenvParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=collectbuildenv", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "oproject", runtime.ParamLocationQuery, params.Oproject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Opackage != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "opackage", runtime.ParamLocationQuery, *params.Opackage); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Orev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "orev", runtime.ParamLocationQuery, *params.Orev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdCommitRequest generates requests for PostSourceProjectNamePackageNamecmdCommit func NewPostSourceProjectNamePackageNamecmdCommitRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCommitParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=commit", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Linkrev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "linkrev", runtime.ParamLocationQuery, *params.Linkrev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Keeplink != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "keeplink", runtime.ParamLocationQuery, *params.Keeplink); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Repairlink != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repairlink", runtime.ParamLocationQuery, *params.Repairlink); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdCommitfilelistRequest generates requests for PostSourceProjectNamePackageNamecmdCommitfilelist func NewPostSourceProjectNamePackageNamecmdCommitfilelistRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCommitfilelistParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=commitfilelist", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Linkrev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "linkrev", runtime.ParamLocationQuery, *params.Linkrev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Keeplink != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "keeplink", runtime.ParamLocationQuery, *params.Keeplink); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Repairlink != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repairlink", runtime.ParamLocationQuery, *params.Repairlink); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withvalidate != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withvalidate", runtime.ParamLocationQuery, *params.Withvalidate); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdCopyRequest generates requests for PostSourceProjectNamePackageNamecmdCopy func NewPostSourceProjectNamePackageNamecmdCopyRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCopyParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=copy", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Opackage != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "opackage", runtime.ParamLocationQuery, *params.Opackage); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Oproject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "oproject", runtime.ParamLocationQuery, *params.Oproject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withbinaries != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withbinaries", runtime.ParamLocationQuery, *params.Withbinaries); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Makeolder != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "makeolder", runtime.ParamLocationQuery, *params.Makeolder); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Makeoriginolder != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "makeoriginolder", runtime.ParamLocationQuery, *params.Makeoriginolder); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Nodelay != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nodelay", runtime.ParamLocationQuery, *params.Nodelay); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withhistory != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withhistory", runtime.ParamLocationQuery, *params.Withhistory); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Noservice != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "noservice", runtime.ParamLocationQuery, *params.Noservice); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdCreateSpecFileTemplateRequest generates requests for PostSourceProjectNamePackageNamecmdCreateSpecFileTemplate func NewPostSourceProjectNamePackageNamecmdCreateSpecFileTemplateRequest(server string, projectName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=createSpecFileTemplate", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdDeleteuploadrevRequest generates requests for PostSourceProjectNamePackageNamecmdDeleteuploadrev func NewPostSourceProjectNamePackageNamecmdDeleteuploadrevRequest(server string, projectName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=deleteuploadrev", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdDiffRequest generates requests for PostSourceProjectNamePackageNamecmdDiff func NewPostSourceProjectNamePackageNamecmdDiffRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdDiffParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=diff", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Cacheonly != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cacheonly", runtime.ParamLocationQuery, *params.Cacheonly); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Expand != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "expand", runtime.ParamLocationQuery, *params.Expand); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.File != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file", runtime.ParamLocationQuery, *params.File); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.File != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file[]", runtime.ParamLocationQuery, *params.File); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Filelimit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "filelimit", runtime.ParamLocationQuery, *params.Filelimit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Linkrev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "linkrev", runtime.ParamLocationQuery, *params.Linkrev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Meta != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "meta", runtime.ParamLocationQuery, *params.Meta); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Missingok != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "missingok", runtime.ParamLocationQuery, *params.Missingok); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Nodiff != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nodiff", runtime.ParamLocationQuery, *params.Nodiff); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Olinkrev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "olinkrev", runtime.ParamLocationQuery, *params.Olinkrev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Onlyissues != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "onlyissues", runtime.ParamLocationQuery, *params.Onlyissues); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Orev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "orev", runtime.ParamLocationQuery, *params.Orev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Opackage != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "opackage", runtime.ParamLocationQuery, *params.Opackage); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Oproject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "oproject", runtime.ParamLocationQuery, *params.Oproject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Tarlimit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tarlimit", runtime.ParamLocationQuery, *params.Tarlimit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Unified != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "unified", runtime.ParamLocationQuery, *params.Unified); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withissues != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withissues", runtime.ParamLocationQuery, *params.Withissues); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdForkRequest generates requests for PostSourceProjectNamePackageNamecmdFork func NewPostSourceProjectNamePackageNamecmdForkRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdForkParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=fork", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "scmsync", runtime.ParamLocationQuery, params.Scmsync); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.TargetProject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_project", runtime.ParamLocationQuery, *params.TargetProject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.TargetPackage != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_package", runtime.ParamLocationQuery, *params.TargetPackage); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Force != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.AddRepositoriesRebuild != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "add_repositories_rebuild", runtime.ParamLocationQuery, *params.AddRepositoriesRebuild); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.AddRepositoriesBlock != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "add_repositories_block", runtime.ParamLocationQuery, *params.AddRepositoriesBlock); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdGetprojectservicesRequest generates requests for PostSourceProjectNamePackageNamecmdGetprojectservices func NewPostSourceProjectNamePackageNamecmdGetprojectservicesRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdGetprojectservicesParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=getprojectservices", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "cmd", runtime.ParamLocationQuery, params.Cmd); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdInstantiateRequest generates requests for PostSourceProjectNamePackageNamecmdInstantiate func NewPostSourceProjectNamePackageNamecmdInstantiateRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdInstantiateParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=instantiate", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Makeoriginolder != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "makeoriginolder", runtime.ParamLocationQuery, *params.Makeoriginolder); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdLinkdiffRequest generates requests for PostSourceProjectNamePackageNamecmdLinkdiff func NewPostSourceProjectNamePackageNamecmdLinkdiffRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdLinkdiffParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=linkdiff", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.File != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file", runtime.ParamLocationQuery, *params.File); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.File != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file[]", runtime.ParamLocationQuery, *params.File); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Filelimit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "filelimit", runtime.ParamLocationQuery, *params.Filelimit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Linkrev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "linkrev", runtime.ParamLocationQuery, *params.Linkrev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Onlyissues != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "onlyissues", runtime.ParamLocationQuery, *params.Onlyissues); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Tarlimit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tarlimit", runtime.ParamLocationQuery, *params.Tarlimit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Unified != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "unified", runtime.ParamLocationQuery, *params.Unified); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withissues != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withissues", runtime.ParamLocationQuery, *params.Withissues); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdLinktobranchRequest generates requests for PostSourceProjectNamePackageNamecmdLinktobranch func NewPostSourceProjectNamePackageNamecmdLinktobranchRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdLinktobranchParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=linktobranch", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Linkrev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "linkrev", runtime.ParamLocationQuery, *params.Linkrev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdMergeserviceRequest generates requests for PostSourceProjectNamePackageNamecmdMergeservice func NewPostSourceProjectNamePackageNamecmdMergeserviceRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdMergeserviceParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=mergeservice", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdRebuildRequest generates requests for PostSourceProjectNamePackageNamecmdRebuild func NewPostSourceProjectNamePackageNamecmdRebuildRequest(server string, projectName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=rebuild", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdReleaseRequest generates requests for PostSourceProjectNamePackageNamecmdRelease func NewPostSourceProjectNamePackageNamecmdReleaseRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdReleaseParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=release", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.TargetProject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_project", runtime.ParamLocationQuery, *params.TargetProject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.TargetRepository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_repository", runtime.ParamLocationQuery, *params.TargetRepository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Setrelease != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "setrelease", runtime.ParamLocationQuery, *params.Setrelease); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Arch != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, *params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdRemoveFlagRequest generates requests for PostSourceProjectNamePackageNamecmdRemoveFlag func NewPostSourceProjectNamePackageNamecmdRemoveFlagRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdRemoveFlagParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=remove_flag", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "flag", runtime.ParamLocationQuery, params.Flag); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Arch != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, *params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdRunserviceRequest generates requests for PostSourceProjectNamePackageNamecmdRunservice func NewPostSourceProjectNamePackageNamecmdRunserviceRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdRunserviceParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=runservice", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.User != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "user", runtime.ParamLocationQuery, *params.User); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdServicediffRequest generates requests for PostSourceProjectNamePackageNamecmdServicediff func NewPostSourceProjectNamePackageNamecmdServicediffRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdServicediffParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=servicediff", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.File != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file", runtime.ParamLocationQuery, *params.File); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.File != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "file[]", runtime.ParamLocationQuery, *params.File); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Filelimit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "filelimit", runtime.ParamLocationQuery, *params.Filelimit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Onlyissues != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "onlyissues", runtime.ParamLocationQuery, *params.Onlyissues); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Rev != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "rev", runtime.ParamLocationQuery, *params.Rev); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Tarlimit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "tarlimit", runtime.ParamLocationQuery, *params.Tarlimit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Unified != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "unified", runtime.ParamLocationQuery, *params.Unified); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withissues != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withissues", runtime.ParamLocationQuery, *params.Withissues); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdSetFlagRequest generates requests for PostSourceProjectNamePackageNamecmdSetFlag func NewPostSourceProjectNamePackageNamecmdSetFlagRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdSetFlagParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=set_flag", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "flag", runtime.ParamLocationQuery, params.Flag); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, params.Status); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Arch != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, *params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdShowlinkedRequest generates requests for PostSourceProjectNamePackageNamecmdShowlinked func NewPostSourceProjectNamePackageNamecmdShowlinkedRequest(server string, projectName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=showlinked", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdUndeleteRequest generates requests for PostSourceProjectNamePackageNamecmdUndelete func NewPostSourceProjectNamePackageNamecmdUndeleteRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdUndeleteParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=undelete", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Time != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "time", runtime.ParamLocationQuery, *params.Time); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdUnlockRequest generates requests for PostSourceProjectNamePackageNamecmdUnlock func NewPostSourceProjectNamePackageNamecmdUnlockRequest(server string, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdUnlockParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=unlock", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdUpdatepatchinfoRequest generates requests for PostSourceProjectNamePackageNamecmdUpdatepatchinfo func NewPostSourceProjectNamePackageNamecmdUpdatepatchinfoRequest(server string, projectName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=updatepatchinfo", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamePackageNamecmdWaitserviceRequest generates requests for PostSourceProjectNamePackageNamecmdWaitservice func NewPostSourceProjectNamePackageNamecmdWaitserviceRequest(server string, projectName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?cmd=waitservice", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNamePackageNameviewInfoRequest generates requests for GetSourceProjectNamePackageNameviewInfo func NewGetSourceProjectNamePackageNameviewInfoRequest(server string, projectName string, packageName string, params *GetSourceProjectNamePackageNameviewInfoParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s/%s?view=info", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Arch != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, *params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Nofilename != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nofilename", runtime.ParamLocationQuery, *params.Nofilename); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Parse != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parse", runtime.ParamLocationQuery, *params.Parse); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdAddchannelsRequest generates requests for PostSourceProjectNamecmdAddchannels func NewPostSourceProjectNamecmdAddchannelsRequest(server string, projectName string, params *PostSourceProjectNamecmdAddchannelsParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=addchannels", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Mode != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mode", runtime.ParamLocationQuery, *params.Mode); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdCopyRequest generates requests for PostSourceProjectNamecmdCopy func NewPostSourceProjectNamecmdCopyRequest(server string, projectName string, params *PostSourceProjectNamecmdCopyParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=copy", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "oproject", runtime.ParamLocationQuery, params.Oproject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Makeolder != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "makeolder", runtime.ParamLocationQuery, *params.Makeolder); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Makeoriginolder != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "makeoriginolder", runtime.ParamLocationQuery, *params.Makeoriginolder); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Nodelay != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nodelay", runtime.ParamLocationQuery, *params.Nodelay); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Noservice != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "noservice", runtime.ParamLocationQuery, *params.Noservice); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Resign != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "resign", runtime.ParamLocationQuery, *params.Resign); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withbinaries != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withbinaries", runtime.ParamLocationQuery, *params.Withbinaries); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withhistory != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withhistory", runtime.ParamLocationQuery, *params.Withhistory); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdCreatekeyRequest generates requests for PostSourceProjectNamecmdCreatekey func NewPostSourceProjectNamecmdCreatekeyRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=createkey", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdCreatemaintenanceincidentRequest generates requests for PostSourceProjectNamecmdCreatemaintenanceincident func NewPostSourceProjectNamecmdCreatemaintenanceincidentRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=createmaintenanceincident", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdCreatepatchinfoRequest generates requests for PostSourceProjectNamecmdCreatepatchinfo func NewPostSourceProjectNamecmdCreatepatchinfoRequest(server string, projectName string, params *PostSourceProjectNamecmdCreatepatchinfoParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=createpatchinfo", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Name != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "name", runtime.ParamLocationQuery, *params.Name); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Force != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdExtendkeyRequest generates requests for PostSourceProjectNamecmdExtendkey func NewPostSourceProjectNamecmdExtendkeyRequest(server string, projectName string, params *PostSourceProjectNamecmdExtendkeyParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=extendkey", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Days != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "days", runtime.ParamLocationQuery, *params.Days); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdFreezelinkRequest generates requests for PostSourceProjectNamecmdFreezelink func NewPostSourceProjectNamecmdFreezelinkRequest(server string, projectName string, params *PostSourceProjectNamecmdFreezelinkParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=freezelink", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdLockRequest generates requests for PostSourceProjectNamecmdLock func NewPostSourceProjectNamecmdLockRequest(server string, projectName string, params *PostSourceProjectNamecmdLockParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=lock", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdModifychannelsRequest generates requests for PostSourceProjectNamecmdModifychannels func NewPostSourceProjectNamecmdModifychannelsRequest(server string, projectName string, params *PostSourceProjectNamecmdModifychannelsParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=modifychannels", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Mode != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "mode", runtime.ParamLocationQuery, *params.Mode); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdMoveRequest generates requests for PostSourceProjectNamecmdMove func NewPostSourceProjectNamecmdMoveRequest(server string, projectName string, params *PostSourceProjectNamecmdMoveParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=move", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "oproject", runtime.ParamLocationQuery, params.Oproject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Comment != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, *params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdReleaseRequest generates requests for PostSourceProjectNamecmdRelease func NewPostSourceProjectNamecmdReleaseRequest(server string, projectName string, params *PostSourceProjectNamecmdReleaseParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=release", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Nodelay != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nodelay", runtime.ParamLocationQuery, *params.Nodelay); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.TargetProject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_project", runtime.ParamLocationQuery, *params.TargetProject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.TargetRepository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_repository", runtime.ParamLocationQuery, *params.TargetRepository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Setrelease != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "setrelease", runtime.ParamLocationQuery, *params.Setrelease); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdRemoveFlagRequest generates requests for PostSourceProjectNamecmdRemoveFlag func NewPostSourceProjectNamecmdRemoveFlagRequest(server string, projectName string, params *PostSourceProjectNamecmdRemoveFlagParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=remove_flag", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "flag", runtime.ParamLocationQuery, params.Flag); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Arch != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, *params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdSetFlagRequest generates requests for PostSourceProjectNamecmdSetFlag func NewPostSourceProjectNamecmdSetFlagRequest(server string, projectName string, params *PostSourceProjectNamecmdSetFlagParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=set_flag", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "flag", runtime.ParamLocationQuery, params.Flag); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, params.Status); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Arch != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, *params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdShowlinkedRequest generates requests for PostSourceProjectNamecmdShowlinked func NewPostSourceProjectNamecmdShowlinkedRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=showlinked", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdUndeleteRequest generates requests for PostSourceProjectNamecmdUndelete func NewPostSourceProjectNamecmdUndeleteRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=undelete", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourceProjectNamecmdUnlockRequest generates requests for PostSourceProjectNamecmdUnlock func NewPostSourceProjectNamecmdUnlockRequest(server string, projectName string, params *PostSourceProjectNamecmdUnlockParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?cmd=unlock", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "comment", runtime.ParamLocationQuery, params.Comment); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetSourceProjectNameviewInfoRequest generates requests for GetSourceProjectNameviewInfo func NewGetSourceProjectNameviewInfoRequest(server string, projectName string, params *GetSourceProjectNameviewInfoParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source/%s?view=info", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.View != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "view", runtime.ParamLocationQuery, *params.View); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Arch != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, *params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Noexpand != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "noexpand", runtime.ParamLocationQuery, *params.Noexpand); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Nofilename != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "nofilename", runtime.ParamLocationQuery, *params.Nofilename); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Package != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, *params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Parse != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "parse", runtime.ParamLocationQuery, *params.Parse); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withmetamd5 != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withmetamd5", runtime.ParamLocationQuery, *params.Withmetamd5); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Withchangesmd5 != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "withchangesmd5", runtime.ParamLocationQuery, *params.Withchangesmd5); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourcecmdBranchRequest generates requests for PostSourcecmdBranch func NewPostSourcecmdBranchRequest(server string, params *PostSourcecmdBranchParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source?cmd=branch") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Project != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "project", runtime.ParamLocationQuery, *params.Project); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Package != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, *params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.TargetProject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_project", runtime.ParamLocationQuery, *params.TargetProject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.TargetPackage != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "target_package", runtime.ParamLocationQuery, *params.TargetPackage); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Attribute != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "attribute", runtime.ParamLocationQuery, *params.Attribute); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.AddRepositories != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "add_repositories", runtime.ParamLocationQuery, *params.AddRepositories); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.UpdatePathElements != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "update_path_elements", runtime.ParamLocationQuery, *params.UpdatePathElements); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.UpdateProjectAttribute != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "update_project_attribute", runtime.ParamLocationQuery, *params.UpdateProjectAttribute); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Noaccess != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "noaccess", runtime.ParamLocationQuery, *params.Noaccess); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.ExtendPackageNames != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "extend_package_names", runtime.ParamLocationQuery, *params.ExtendPackageNames); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.AddRepositoriesRebuild != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "add_repositories_rebuild", runtime.ParamLocationQuery, *params.AddRepositoriesRebuild); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.AddRepositoriesBlock != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "add_repositories_block", runtime.ParamLocationQuery, *params.AddRepositoriesBlock); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Newinstance != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "newinstance", runtime.ParamLocationQuery, *params.Newinstance); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Maintenance != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "maintenance", runtime.ParamLocationQuery, *params.Maintenance); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourcecmdCreatemaintenanceincidentRequest generates requests for PostSourcecmdCreatemaintenanceincident func NewPostSourcecmdCreatemaintenanceincidentRequest(server string, params *PostSourcecmdCreatemaintenanceincidentParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source?cmd=createmaintenanceincident") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Attribute != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "attribute", runtime.ParamLocationQuery, *params.Attribute); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostSourcecmdOrderkiwireposRequestWithBody generates requests for PostSourcecmdOrderkiwirepos with any type of body func NewPostSourcecmdOrderkiwireposRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/source?cmd=orderkiwirepos") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetStagingProjectNameBacklogRequest generates requests for GetStagingProjectNameBacklog func NewGetStagingProjectNameBacklogRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/backlog", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteStagingProjectNameExcludedRequestsRequestWithBody generates requests for DeleteStagingProjectNameExcludedRequests with any type of body func NewDeleteStagingProjectNameExcludedRequestsRequestWithBody(server string, projectName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/excluded_requests", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetStagingProjectNameExcludedRequestsRequest generates requests for GetStagingProjectNameExcludedRequests func NewGetStagingProjectNameExcludedRequestsRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/excluded_requests", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStagingProjectNameExcludedRequestsRequestWithBody generates requests for PostStagingProjectNameExcludedRequests with any type of body func NewPostStagingProjectNameExcludedRequestsRequestWithBody(server string, projectName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/excluded_requests", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteStagingProjectNameStagedRequestsRequestWithBody generates requests for DeleteStagingProjectNameStagedRequests with any type of body func NewDeleteStagingProjectNameStagedRequestsRequestWithBody(server string, projectName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/staged_requests", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetStagingProjectNameStagingProjectsRequest generates requests for GetStagingProjectNameStagingProjects func NewGetStagingProjectNameStagingProjectsRequest(server string, projectName string, params *GetStagingProjectNameStagingProjectsParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/staging_projects", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Requests != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "requests", runtime.ParamLocationQuery, *params.Requests); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Status != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.History != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "history", runtime.ParamLocationQuery, *params.History); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStagingProjectNameStagingProjectsRequestWithBody generates requests for PostStagingProjectNameStagingProjects with any type of body func NewPostStagingProjectNameStagingProjectsRequestWithBody(server string, projectName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/staging_projects", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetStagingProjectNameStagingProjectsStagingProjectNameRequest generates requests for GetStagingProjectNameStagingProjectsStagingProjectName func NewGetStagingProjectNameStagingProjectsStagingProjectNameRequest(server string, projectName string, stagingProjectName string, params *GetStagingProjectNameStagingProjectsStagingProjectNameParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "staging_project_name", runtime.ParamLocationPath, stagingProjectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/staging_projects/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Requests != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "requests", runtime.ParamLocationQuery, *params.Requests); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Status != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "status", runtime.ParamLocationQuery, *params.Status); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.History != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "history", runtime.ParamLocationQuery, *params.History); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStagingProjectNameStagingProjectsStagingProjectNameAcceptRequest generates requests for PostStagingProjectNameStagingProjectsStagingProjectNameAccept func NewPostStagingProjectNameStagingProjectsStagingProjectNameAcceptRequest(server string, projectName string, stagingProjectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "staging_project_name", runtime.ParamLocationPath, stagingProjectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/staging_projects/%s/accept", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameRequest generates requests for PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyName func NewPostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameRequest(server string, projectName string, stagingProjectName string, stagingProjectCopyName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "staging_project_name", runtime.ParamLocationPath, stagingProjectName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "staging_project_copy_name", runtime.ParamLocationPath, stagingProjectCopyName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/staging_projects/%s/copy/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewDeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsRequestWithBody generates requests for DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequests with any type of body func NewDeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsRequestWithBody(server string, projectName string, stagingProjectName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "staging_project_name", runtime.ParamLocationPath, stagingProjectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/staging_projects/%s/staged_requests", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsRequest generates requests for GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequests func NewGetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsRequest(server string, projectName string, stagingProjectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "staging_project_name", runtime.ParamLocationPath, stagingProjectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/staging_projects/%s/staged_requests", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsRequestWithBody generates requests for PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequests with any type of body func NewPostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsRequestWithBody(server string, projectName string, stagingProjectName string, params *PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsParams, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "staging_project_name", runtime.ParamLocationPath, stagingProjectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/staging_projects/%s/staged_requests", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.RemoveExclusion != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "remove_exclusion", runtime.ParamLocationQuery, *params.RemoveExclusion); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteStagingProjectNameWorkflowRequest generates requests for DeleteStagingProjectNameWorkflow func NewDeleteStagingProjectNameWorkflowRequest(server string, projectName string, params *DeleteStagingProjectNameWorkflowParams) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/workflow", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.WithStagingProjects != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "with_staging_projects", runtime.ParamLocationQuery, *params.WithStagingProjects); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStagingProjectNameWorkflowRequestWithBody generates requests for PostStagingProjectNameWorkflow with any type of body func NewPostStagingProjectNameWorkflowRequestWithBody(server string, projectName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/workflow", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewPutStagingProjectNameWorkflowRequestWithBody generates requests for PutStagingProjectNameWorkflow with any type of body func NewPutStagingProjectNameWorkflowRequestWithBody(server string, projectName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/staging/%s/workflow", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("PUT", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetStatisticsRequest generates requests for GetStatistics func NewGetStatisticsRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatisticsActiveRequestCreatorsProjectNameRequest generates requests for GetStatisticsActiveRequestCreatorsProjectName func NewGetStatisticsActiveRequestCreatorsProjectNameRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics/active_request_creators/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatisticsActivityProjectNamePackageNameRequest generates requests for GetStatisticsActivityProjectNamePackageName func NewGetStatisticsActivityProjectNamePackageNameRequest(server string, projectName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics/activity/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatisticsAddedTimestampProjectNamePackageNameRequest generates requests for GetStatisticsAddedTimestampProjectNamePackageName func NewGetStatisticsAddedTimestampProjectNamePackageNameRequest(server string, projectName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics/added_timestamp/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatisticsGlobalCountersRequest generates requests for GetStatisticsGlobalCounters func NewGetStatisticsGlobalCountersRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics/global_counters") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatisticsLatestAddedRequest generates requests for GetStatisticsLatestAdded func NewGetStatisticsLatestAddedRequest(server string, params *GetStatisticsLatestAddedParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics/latest_added") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatisticsLatestUpdatedRequest generates requests for GetStatisticsLatestUpdated func NewGetStatisticsLatestUpdatedRequest(server string, params *GetStatisticsLatestUpdatedParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics/latest_updated") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Timelimit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "timelimit", runtime.ParamLocationQuery, *params.Timelimit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Prjfilter != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "prjfilter", runtime.ParamLocationQuery, *params.Prjfilter); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Pkgfilter != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgfilter", runtime.ParamLocationQuery, *params.Pkgfilter); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatisticsMaintenanceStatisticsProjectNameRequest generates requests for GetStatisticsMaintenanceStatisticsProjectName func NewGetStatisticsMaintenanceStatisticsProjectNameRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics/maintenance_statistics/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatisticsMostActivePackagesRequest generates requests for GetStatisticsMostActivePackages func NewGetStatisticsMostActivePackagesRequest(server string, params *GetStatisticsMostActivePackagesParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics/most_active_packages") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatisticsMostActiveProjectsRequest generates requests for GetStatisticsMostActiveProjects func NewGetStatisticsMostActiveProjectsRequest(server string, params *GetStatisticsMostActiveProjectsParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics/most_active_projects") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatisticsUpdatedTimestampProjectNamePackageNameRequest generates requests for GetStatisticsUpdatedTimestampProjectNamePackageName func NewGetStatisticsUpdatedTimestampProjectNamePackageNameRequest(server string, projectName string, packageName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "package_name", runtime.ParamLocationPath, packageName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/statistics/updated_timestamp/%s/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatusMessagesRequest generates requests for GetStatusMessages func NewGetStatusMessagesRequest(server string, params *GetStatusMessagesParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status/messages") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStatusMessagesRequestWithBody generates requests for PostStatusMessages with any type of body func NewPostStatusMessagesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status/messages") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteStatusMessagesIdRequest generates requests for DeleteStatusMessagesId func NewDeleteStatusMessagesIdRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status/messages/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatusMessagesIdRequest generates requests for GetStatusMessagesId func NewGetStatusMessagesIdRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status/messages/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatusProjectProjectNameRequest generates requests for GetStatusProjectProjectName func NewGetStatusProjectProjectNameRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status/project/%s", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatusWorkerstatusRequest generates requests for GetStatusWorkerstatus func NewGetStatusWorkerstatusRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status/workerstatus") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatusMessageRequest generates requests for GetStatusMessage func NewGetStatusMessageRequest(server string, params *GetStatusMessageParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_message") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Limit != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "limit", runtime.ParamLocationQuery, *params.Limit); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdRequest generates requests for GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildId func NewGetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdRequest(server string, projectName string, repositoryName string, architectureName string, buildId int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "build_id", runtime.ParamLocationPath, buildId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/built/%s/%s/%s/reports/%s", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdRequestWithBody generates requests for PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildId with any type of body func NewPostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdRequestWithBody(server string, projectName string, repositoryName string, architectureName string, buildId int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "build_id", runtime.ParamLocationPath, buildId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/built/%s/%s/%s/reports/%s", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksRequest generates requests for GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecks func NewGetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksRequest(server string, projectName string, repositoryName string, architectureName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/built_repositories/%s/%s/%s/required_checks", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksRequestWithBody generates requests for PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecks with any type of body func NewPostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksRequestWithBody(server string, projectName string, repositoryName string, architectureName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/built_repositories/%s/%s/%s/required_checks", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameRequest generates requests for DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckName func NewDeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameRequest(server string, projectName string, repositoryName string, architectureName string, checkName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam3 string pathParam3, err = runtime.StyleParamWithLocation("simple", false, "check_name", runtime.ParamLocationPath, checkName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/built_repositories/%s/%s/%s/required_checks/%s", pathParam0, pathParam1, pathParam2, pathParam3) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatusReportsProjectsProjectNameRequiredChecksRequest generates requests for GetStatusReportsProjectsProjectNameRequiredChecks func NewGetStatusReportsProjectsProjectNameRequiredChecksRequest(server string, projectName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/projects/%s/required_checks", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStatusReportsProjectsProjectNameRequiredChecksRequestWithBody generates requests for PostStatusReportsProjectsProjectNameRequiredChecks with any type of body func NewPostStatusReportsProjectsProjectNameRequiredChecksRequestWithBody(server string, projectName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/projects/%s/required_checks", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameRequest generates requests for DeleteStatusReportsProjectsProjectNameRequiredChecksCheckName func NewDeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameRequest(server string, projectName string, checkName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "check_name", runtime.ParamLocationPath, checkName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/projects/%s/required_checks/%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdRequest generates requests for GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildId func NewGetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdRequest(server string, projectName string, repositoryName string, buildId int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "build_id", runtime.ParamLocationPath, buildId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/published/%s/%s/reports/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdRequestWithBody generates requests for PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildId with any type of body func NewPostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdRequestWithBody(server string, projectName string, repositoryName string, buildId int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "build_id", runtime.ParamLocationPath, buildId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/published/%s/%s/reports/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewGetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksRequest generates requests for GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecks func NewGetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksRequest(server string, projectName string, repositoryName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/repositories/%s/%s/required_checks", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksRequestWithBody generates requests for PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecks with any type of body func NewPostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksRequestWithBody(server string, projectName string, repositoryName string, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/repositories/%s/%s/required_checks", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewDeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameRequest generates requests for DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckName func NewDeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameRequest(server string, projectName string, repositoryName string, checkName string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "project_name", runtime.ParamLocationPath, projectName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "repository_name", runtime.ParamLocationPath, repositoryName) if err != nil { return nil, err } var pathParam2 string pathParam2, err = runtime.StyleParamWithLocation("simple", false, "check_name", runtime.ParamLocationPath, checkName) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/repositories/%s/%s/required_checks/%s", pathParam0, pathParam1, pathParam2) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetStatusReportsRequestsIdReportsRequest generates requests for GetStatusReportsRequestsIdReports func NewGetStatusReportsRequestsIdReportsRequest(server string, id int) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/requests/%s/reports", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostStatusReportsRequestsIdReportsRequestWithBody generates requests for PostStatusReportsRequestsIdReports with any type of body func NewPostStatusReportsRequestsIdReportsRequestWithBody(server string, id int, contentType string, body io.Reader) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "id", runtime.ParamLocationPath, id) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/status_reports/requests/%s/reports", pathParam0) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } // NewPostTriggerRequest generates requests for PostTrigger func NewPostTriggerRequest(server string, params *PostTriggerParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/trigger") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Project != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "project", runtime.ParamLocationQuery, *params.Project); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Package != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, *params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Repository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, *params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Arch != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, *params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Targetproject != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "targetproject", runtime.ParamLocationQuery, *params.Targetproject); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.Targetrepository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "targetrepository", runtime.ParamLocationQuery, *params.Targetrepository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } if params.FilterSourceRepository != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "filter_source_repository", runtime.ParamLocationQuery, *params.FilterSourceRepository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } if params != nil { if params.XOBSSIGNATURE != nil { var headerParam0 string headerParam0, err = runtime.StyleParamWithLocation("simple", false, "X-OBS-SIGNATURE", runtime.ParamLocationHeader, *params.XOBSSIGNATURE) if err != nil { return nil, err } req.Header.Set("X-OBS-SIGNATURE", headerParam0) } if params.XHUBSIGNATURE256 != nil { var headerParam1 string headerParam1, err = runtime.StyleParamWithLocation("simple", false, "X-HUB-SIGNATURE-256", runtime.ParamLocationHeader, *params.XHUBSIGNATURE256) if err != nil { return nil, err } req.Header.Set("X-HUB-SIGNATURE-256", headerParam1) } if params.XPagureSignature256 != nil { var headerParam2 string headerParam2, err = runtime.StyleParamWithLocation("simple", false, "X-Pagure-Signature-256", runtime.ParamLocationHeader, *params.XPagureSignature256) if err != nil { return nil, err } req.Header.Set("X-Pagure-Signature-256", headerParam2) } if params.XGitLabToken != nil { var headerParam3 string headerParam3, err = runtime.StyleParamWithLocation("simple", false, "X-GitLab-Token", runtime.ParamLocationHeader, *params.XGitLabToken) if err != nil { return nil, err } req.Header.Set("X-GitLab-Token", headerParam3) } if params.Authorization != nil { var headerParam4 string headerParam4, err = runtime.StyleParamWithLocation("simple", false, "Authorization", runtime.ParamLocationHeader, *params.Authorization) if err != nil { return nil, err } req.Header.Set("Authorization", headerParam4) } } return req, nil } // NewPostTriggerRebuildRequest generates requests for PostTriggerRebuild func NewPostTriggerRebuildRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/trigger/rebuild") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostTriggerReleaseRequest generates requests for PostTriggerRelease func NewPostTriggerReleaseRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/trigger/release") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostTriggerRunserviceRequest generates requests for PostTriggerRunservice func NewPostTriggerRunserviceRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/trigger/runservice") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostTriggerWebhookRequest generates requests for PostTriggerWebhook func NewPostTriggerWebhookRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/trigger/webhook") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostTriggerWorkflowRequest generates requests for PostTriggerWorkflow func NewPostTriggerWorkflowRequest(server string, params *PostTriggerWorkflowParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/trigger/workflow") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if params.Id != nil { if queryFrag, err := runtime.StyleParamWithLocation("form", true, "id", runtime.ParamLocationQuery, *params.Id); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } if params != nil { if params.XOBSSIGNATURE != nil { var headerParam0 string headerParam0, err = runtime.StyleParamWithLocation("simple", false, "X-OBS-SIGNATURE", runtime.ParamLocationHeader, *params.XOBSSIGNATURE) if err != nil { return nil, err } req.Header.Set("X-OBS-SIGNATURE", headerParam0) } if params.XHUBSIGNATURE256 != nil { var headerParam1 string headerParam1, err = runtime.StyleParamWithLocation("simple", false, "X-HUB-SIGNATURE-256", runtime.ParamLocationHeader, *params.XHUBSIGNATURE256) if err != nil { return nil, err } req.Header.Set("X-HUB-SIGNATURE-256", headerParam1) } if params.XPagureSignature256 != nil { var headerParam2 string headerParam2, err = runtime.StyleParamWithLocation("simple", false, "X-Pagure-Signature-256", runtime.ParamLocationHeader, *params.XPagureSignature256) if err != nil { return nil, err } req.Header.Set("X-Pagure-Signature-256", headerParam2) } if params.XGitLabToken != nil { var headerParam3 string headerParam3, err = runtime.StyleParamWithLocation("simple", false, "X-GitLab-Token", runtime.ParamLocationHeader, *params.XGitLabToken) if err != nil { return nil, err } req.Header.Set("X-GitLab-Token", headerParam3) } if params.Authorization != nil { var headerParam4 string headerParam4, err = runtime.StyleParamWithLocation("simple", false, "Authorization", runtime.ParamLocationHeader, *params.Authorization) if err != nil { return nil, err } req.Header.Set("Authorization", headerParam4) } } return req, nil } // NewGetWorkerStatusRequest generates requests for GetWorkerStatus func NewGetWorkerStatusRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/worker/_status") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetWorkerStatusRequest generates requests for GetWorkerStatus func NewGetWorkerStatusRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/worker/status") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewGetWorkerArchitectureNameWorkerIdRequest generates requests for GetWorkerArchitectureNameWorkerId func NewGetWorkerArchitectureNameWorkerIdRequest(server string, architectureName string, workerId string) (*http.Request, error) { var err error var pathParam0 string pathParam0, err = runtime.StyleParamWithLocation("simple", false, "architecture_name", runtime.ParamLocationPath, architectureName) if err != nil { return nil, err } var pathParam1 string pathParam1, err = runtime.StyleParamWithLocation("simple", false, "worker_id", runtime.ParamLocationPath, workerId) if err != nil { return nil, err } serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/worker/%s:%s", pathParam0, pathParam1) if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } return req, nil } // NewPostWorkercmdCheckconstraintsRequestWithBody generates requests for PostWorkercmdCheckconstraints with any type of body func NewPostWorkercmdCheckconstraintsRequestWithBody(server string, params *PostWorkercmdCheckconstraintsParams, contentType string, body io.Reader) (*http.Request, error) { var err error serverURL, err := url.Parse(server) if err != nil { return nil, err } operationPath := fmt.Sprintf("/worker?cmd=checkconstraints") if operationPath[0] == '/' { operationPath = "." + operationPath } queryURL, err := serverURL.Parse(operationPath) if err != nil { return nil, err } if params != nil { queryValues := queryURL.Query() if queryFrag, err := runtime.StyleParamWithLocation("form", true, "project", runtime.ParamLocationQuery, params.Project); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if queryFrag, err := runtime.StyleParamWithLocation("form", true, "repository", runtime.ParamLocationQuery, params.Repository); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if queryFrag, err := runtime.StyleParamWithLocation("form", true, "arch", runtime.ParamLocationQuery, params.Arch); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } if queryFrag, err := runtime.StyleParamWithLocation("form", true, "package", runtime.ParamLocationQuery, params.Package); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err } else { for k, v := range parsed { for _, v2 := range v { queryValues.Add(k, v2) } } } queryURL.RawQuery = queryValues.Encode() } req, err := http.NewRequest("POST", queryURL.String(), body) if err != nil { return nil, err } req.Header.Add("Content-Type", contentType) return req, nil } func (c *Client) applyEditors(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn) error { for _, r := range c.RequestEditors { if err := r(ctx, req); err != nil { return err } } for _, r := range additionalEditors { if err := r(ctx, req); err != nil { return err } } return nil } // ClientWithResponses builds on ClientInterface to offer response payloads type ClientWithResponses struct { ClientInterface } // NewClientWithResponses creates a new ClientWithResponses, which wraps // Client with return type handling func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) { client, err := NewClient(server, opts...) if err != nil { return nil, err } return &ClientWithResponses{client}, nil } // WithBaseURL overrides the baseURL. func WithBaseURL(baseURL string) ClientOption { return func(c *Client) error { newBaseURL, err := url.Parse(baseURL) if err != nil { return err } c.Server = newBaseURL.String() return nil } } // ClientWithResponsesInterface is the interface specification for the client with responses above. type ClientWithResponsesInterface interface { // GetAboutWithResponse request GetAboutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAboutResponse, error) // GetAnnouncementsWithResponse request GetAnnouncementsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAnnouncementsResponse, error) // PostAnnouncementsWithBodyWithResponse request with any body PostAnnouncementsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAnnouncementsResponse, error) // DeleteAnnouncementsAnnouncementIdWithResponse request DeleteAnnouncementsAnnouncementIdWithResponse(ctx context.Context, announcementId int, reqEditors ...RequestEditorFn) (*DeleteAnnouncementsAnnouncementIdResponse, error) // GetAnnouncementsAnnouncementIdWithResponse request GetAnnouncementsAnnouncementIdWithResponse(ctx context.Context, announcementId int, reqEditors ...RequestEditorFn) (*GetAnnouncementsAnnouncementIdResponse, error) // PutAnnouncementsAnnouncementIdWithBodyWithResponse request with any body PutAnnouncementsAnnouncementIdWithBodyWithResponse(ctx context.Context, announcementId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAnnouncementsAnnouncementIdResponse, error) // GetArchitecturesWithResponse request GetArchitecturesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetArchitecturesResponse, error) // GetArchitecturesArchitectureNameWithResponse request GetArchitecturesArchitectureNameWithResponse(ctx context.Context, architectureName string, reqEditors ...RequestEditorFn) (*GetArchitecturesArchitectureNameResponse, error) // GetAttributeWithResponse request GetAttributeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAttributeResponse, error) // DeleteAttributeNamespaceWithResponse request DeleteAttributeNamespaceWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*DeleteAttributeNamespaceResponse, error) // GetAttributeNamespaceWithResponse request GetAttributeNamespaceWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*GetAttributeNamespaceResponse, error) // DeleteAttributeNamespaceMetaWithResponse request DeleteAttributeNamespaceMetaWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*DeleteAttributeNamespaceMetaResponse, error) // GetAttributeNamespaceMetaWithResponse request GetAttributeNamespaceMetaWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*GetAttributeNamespaceMetaResponse, error) // PostAttributeNamespaceMetaWithBodyWithResponse request with any body PostAttributeNamespaceMetaWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttributeNamespaceMetaResponse, error) // PutAttributeNamespaceMetaWithBodyWithResponse request with any body PutAttributeNamespaceMetaWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAttributeNamespaceMetaResponse, error) // DeleteAttributeNamespaceAttributeNameWithResponse request DeleteAttributeNamespaceAttributeNameWithResponse(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*DeleteAttributeNamespaceAttributeNameResponse, error) // DeleteAttributeNamespaceAttributeNameMetaWithResponse request DeleteAttributeNamespaceAttributeNameMetaWithResponse(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*DeleteAttributeNamespaceAttributeNameMetaResponse, error) // GetAttributeNamespaceAttributeNameMetaWithResponse request GetAttributeNamespaceAttributeNameMetaWithResponse(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*GetAttributeNamespaceAttributeNameMetaResponse, error) // PostAttributeNamespaceAttributeNameMetaWithBodyWithResponse request with any body PostAttributeNamespaceAttributeNameMetaWithBodyWithResponse(ctx context.Context, namespace string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttributeNamespaceAttributeNameMetaResponse, error) // PutAttributeNamespaceAttributeNameMetaWithBodyWithResponse request with any body PutAttributeNamespaceAttributeNameMetaWithBodyWithResponse(ctx context.Context, namespace string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAttributeNamespaceAttributeNameMetaResponse, error) // GetBuildWithResponse request GetBuildWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBuildResponse, error) // GetBuildWorkerstatusWithResponse request GetBuildWorkerstatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBuildWorkerstatusResponse, error) // GetBuildProjectNameWithResponse request GetBuildProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameResponse, error) // PostBuildProjectNameWithResponse request PostBuildProjectNameWithResponse(ctx context.Context, projectName string, params *PostBuildProjectNameParams, reqEditors ...RequestEditorFn) (*PostBuildProjectNameResponse, error) // GetBuildProjectNameResultWithResponse request GetBuildProjectNameResultWithResponse(ctx context.Context, projectName string, params *GetBuildProjectNameResultParams, reqEditors ...RequestEditorFn) (*GetBuildProjectNameResultResponse, error) // GetBuildProjectNameRepositoryNameWithResponse request GetBuildProjectNameRepositoryNameWithResponse(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameResponse, error) // GetBuildProjectNameRepositoryNameBuildconfigWithResponse request GetBuildProjectNameRepositoryNameBuildconfigWithResponse(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameBuildconfigResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoWithResponse request GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, params *GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParams, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse, error) // PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoWithResponse request PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryWithResponse request GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, params *GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryParams, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNameRepositoryWithResponse request GetBuildProjectNameRepositoryNameArchitectureNameRepositoryWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse, error) // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithBodyWithResponse request with any body PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse, error) PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithTextBodyWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, body PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoTextRequestBody, reqEditors ...RequestEditorFn) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse, error) // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryWithResponse request PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse, error) // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusWithResponse request PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse, error) // DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse request DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName []DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName, fileName string, reqEditors ...RequestEditorFn) (*DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, fileName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse, error) // PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithBodyWithResponse request with any body PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName []PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName, fileName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse, error) // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoWithResponse request GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, fileName string, params *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParams, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse, error) // DeleteCommentCommentIdWithResponse request DeleteCommentCommentIdWithResponse(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*DeleteCommentCommentIdResponse, error) // GetCommentCommentIdHistoryWithResponse request GetCommentCommentIdHistoryWithResponse(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*GetCommentCommentIdHistoryResponse, error) // GetCommentsPackageProjectNamePackageNameWithResponse request GetCommentsPackageProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*GetCommentsPackageProjectNamePackageNameResponse, error) // PostCommentsPackageProjectNamePackageNameWithBodyWithResponse request with any body PostCommentsPackageProjectNamePackageNameWithBodyWithResponse(ctx context.Context, projectName string, packageName string, params *PostCommentsPackageProjectNamePackageNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsPackageProjectNamePackageNameResponse, error) PostCommentsPackageProjectNamePackageNameWithTextBodyWithResponse(ctx context.Context, projectName string, packageName string, params *PostCommentsPackageProjectNamePackageNameParams, body PostCommentsPackageProjectNamePackageNameTextRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsPackageProjectNamePackageNameResponse, error) // GetCommentsProjectProjectNameWithResponse request GetCommentsProjectProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetCommentsProjectProjectNameResponse, error) // PostCommentsProjectProjectNameWithBodyWithResponse request with any body PostCommentsProjectProjectNameWithBodyWithResponse(ctx context.Context, projectName string, params *PostCommentsProjectProjectNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsProjectProjectNameResponse, error) PostCommentsProjectProjectNameWithTextBodyWithResponse(ctx context.Context, projectName string, params *PostCommentsProjectProjectNameParams, body PostCommentsProjectProjectNameTextRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsProjectProjectNameResponse, error) // GetCommentsRequestIdWithResponse request GetCommentsRequestIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCommentsRequestIdResponse, error) // PostCommentsRequestIdWithBodyWithResponse request with any body PostCommentsRequestIdWithBodyWithResponse(ctx context.Context, id int, params *PostCommentsRequestIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsRequestIdResponse, error) PostCommentsRequestIdWithTextBodyWithResponse(ctx context.Context, id int, params *PostCommentsRequestIdParams, body PostCommentsRequestIdTextRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsRequestIdResponse, error) // GetCommentsUserWithResponse request GetCommentsUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCommentsUserResponse, error) // GetConfigurationWithResponse request GetConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigurationResponse, error) // PutConfigurationWithBodyWithResponse request with any body PutConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutConfigurationResponse, error) // GetDistributionsWithResponse request GetDistributionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDistributionsResponse, error) // PostDistributionsWithBodyWithResponse request with any body PostDistributionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDistributionsResponse, error) // PutDistributionsBulkReplaceWithBodyWithResponse request with any body PutDistributionsBulkReplaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutDistributionsBulkReplaceResponse, error) // GetDistributionsIncludeRemotesWithResponse request GetDistributionsIncludeRemotesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDistributionsIncludeRemotesResponse, error) // DeleteDistributionsDistributionIdWithResponse request DeleteDistributionsDistributionIdWithResponse(ctx context.Context, distributionId int, reqEditors ...RequestEditorFn) (*DeleteDistributionsDistributionIdResponse, error) // GetDistributionsDistributionIdWithResponse request GetDistributionsDistributionIdWithResponse(ctx context.Context, distributionId int, reqEditors ...RequestEditorFn) (*GetDistributionsDistributionIdResponse, error) // PutDistributionsDistributionIdWithBodyWithResponse request with any body PutDistributionsDistributionIdWithBodyWithResponse(ctx context.Context, distributionId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutDistributionsDistributionIdResponse, error) // GetGroupWithResponse request GetGroupWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGroupResponse, error) // DeleteGroupGroupTitleWithResponse request DeleteGroupGroupTitleWithResponse(ctx context.Context, groupTitle string, reqEditors ...RequestEditorFn) (*DeleteGroupGroupTitleResponse, error) // GetGroupGroupTitleWithResponse request GetGroupGroupTitleWithResponse(ctx context.Context, groupTitle string, reqEditors ...RequestEditorFn) (*GetGroupGroupTitleResponse, error) // PostGroupGroupTitleWithResponse request PostGroupGroupTitleWithResponse(ctx context.Context, groupTitle string, params *PostGroupGroupTitleParams, reqEditors ...RequestEditorFn) (*PostGroupGroupTitleResponse, error) // PutGroupGroupTitleWithBodyWithResponse request with any body PutGroupGroupTitleWithBodyWithResponse(ctx context.Context, groupTitle string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutGroupGroupTitleResponse, error) // GetImageTemplatesWithResponse request GetImageTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetImageTemplatesResponse, error) // GetIssueTrackersWithResponse request GetIssueTrackersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIssueTrackersResponse, error) // PostIssueTrackersWithBodyWithResponse request with any body PostIssueTrackersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostIssueTrackersResponse, error) // DeleteIssueTrackersIssueTrackerNameWithResponse request DeleteIssueTrackersIssueTrackerNameWithResponse(ctx context.Context, issueTrackerName string, reqEditors ...RequestEditorFn) (*DeleteIssueTrackersIssueTrackerNameResponse, error) // GetIssueTrackersIssueTrackerNameWithResponse request GetIssueTrackersIssueTrackerNameWithResponse(ctx context.Context, issueTrackerName string, reqEditors ...RequestEditorFn) (*GetIssueTrackersIssueTrackerNameResponse, error) // PutIssueTrackersIssueTrackerNameWithBodyWithResponse request with any body PutIssueTrackersIssueTrackerNameWithBodyWithResponse(ctx context.Context, issueTrackerName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutIssueTrackersIssueTrackerNameResponse, error) // GetIssueTrackersIssueTrackerNameIssuesIssueNameWithResponse request GetIssueTrackersIssueTrackerNameIssuesIssueNameWithResponse(ctx context.Context, issueTrackerName string, issueName string, reqEditors ...RequestEditorFn) (*GetIssueTrackersIssueTrackerNameIssuesIssueNameResponse, error) // GetMyNotificationsWithResponse request GetMyNotificationsWithResponse(ctx context.Context, params *GetMyNotificationsParams, reqEditors ...RequestEditorFn) (*GetMyNotificationsResponse, error) // PutMyNotificationsIdWithResponse request PutMyNotificationsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PutMyNotificationsIdResponse, error) // GetPersonWithResponse request GetPersonWithResponse(ctx context.Context, params *GetPersonParams, reqEditors ...RequestEditorFn) (*GetPersonResponse, error) // PostPersonWithBodyWithResponse request with any body PostPersonWithBodyWithResponse(ctx context.Context, params *PostPersonParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPersonResponse, error) // PostPersonRegisterWithBodyWithResponse request with any body PostPersonRegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPersonRegisterResponse, error) // GetPersonLoginWithResponse request GetPersonLoginWithResponse(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*GetPersonLoginResponse, error) // PostPersonLoginWithBodyWithResponse request with any body PostPersonLoginWithBodyWithResponse(ctx context.Context, login string, params *PostPersonLoginParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPersonLoginResponse, error) PostPersonLoginWithTextBodyWithResponse(ctx context.Context, login string, params *PostPersonLoginParams, body PostPersonLoginTextRequestBody, reqEditors ...RequestEditorFn) (*PostPersonLoginResponse, error) // PutPersonLoginWithBodyWithResponse request with any body PutPersonLoginWithBodyWithResponse(ctx context.Context, login string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPersonLoginResponse, error) // GetPersonLoginGroupWithResponse request GetPersonLoginGroupWithResponse(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*GetPersonLoginGroupResponse, error) // GetPersonLoginTokenWithResponse request GetPersonLoginTokenWithResponse(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*GetPersonLoginTokenResponse, error) // PostPersonLoginTokenWithResponse request PostPersonLoginTokenWithResponse(ctx context.Context, login string, params *PostPersonLoginTokenParams, reqEditors ...RequestEditorFn) (*PostPersonLoginTokenResponse, error) // DeletePersonLoginTokenIdWithResponse request DeletePersonLoginTokenIdWithResponse(ctx context.Context, login string, id string, reqEditors ...RequestEditorFn) (*DeletePersonLoginTokenIdResponse, error) // GetPersonLoginWatchlistWithResponse request GetPersonLoginWatchlistWithResponse(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*GetPersonLoginWatchlistResponse, error) // PutPersonLoginWatchlistWithBodyWithResponse request with any body PutPersonLoginWatchlistWithBodyWithResponse(ctx context.Context, login string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPersonLoginWatchlistResponse, error) // GetPublishedWithResponse request GetPublishedWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublishedResponse, error) // GetPublishedProjectNameWithResponse request GetPublishedProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameResponse, error) // GetPublishedProjectNameRepositoryNameWithResponse request GetPublishedProjectNameRepositoryNameWithResponse(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameRepositoryNameResponse, error) // GetPublishedProjectNameRepositoryNameArchitectureNameWithResponse request GetPublishedProjectNameRepositoryNameArchitectureNameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameRepositoryNameArchitectureNameResponse, error) // GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameWithResponse request GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, binaryFilename string, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse, error) // GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpWithResponse request GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, binaryFilename string, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse, error) // GetPublishedProjectNameRepositoryNameviewStatusWithResponse request GetPublishedProjectNameRepositoryNameviewStatusWithResponse(ctx context.Context, projectName string, repositoryName string, params *GetPublishedProjectNameRepositoryNameviewStatusParams, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameRepositoryNameviewStatusResponse, error) // GetRequestWithResponse request GetRequestWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRequestResponse, error) // PostRequestWithBodyWithResponse request with any body PostRequestWithBodyWithResponse(ctx context.Context, params *PostRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRequestResponse, error) // DeleteRequestIdWithResponse request DeleteRequestIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteRequestIdResponse, error) // GetRequestIdWithResponse request GetRequestIdWithResponse(ctx context.Context, id int, params *GetRequestIdParams, reqEditors ...RequestEditorFn) (*GetRequestIdResponse, error) // PostRequestIdWithResponse request PostRequestIdWithResponse(ctx context.Context, id int, params *PostRequestIdParams, reqEditors ...RequestEditorFn) (*PostRequestIdResponse, error) // PutRequestIdWithBodyWithResponse request with any body PutRequestIdWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutRequestIdResponse, error) // PostRequestIdcmdDiffWithResponse request PostRequestIdcmdDiffWithResponse(ctx context.Context, id int, params *PostRequestIdcmdDiffParams, reqEditors ...RequestEditorFn) (*PostRequestIdcmdDiffResponse, error) // GetRequestviewCollectionWithResponse request GetRequestviewCollectionWithResponse(ctx context.Context, params *GetRequestviewCollectionParams, reqEditors ...RequestEditorFn) (*GetRequestviewCollectionResponse, error) // GetSearchWithResponse request GetSearchWithResponse(ctx context.Context, params *GetSearchParams, reqEditors ...RequestEditorFn) (*GetSearchResponse, error) // PostSearchWithResponse request PostSearchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchResponse, error) // GetSearchChannelWithResponse request GetSearchChannelWithResponse(ctx context.Context, params *GetSearchChannelParams, reqEditors ...RequestEditorFn) (*GetSearchChannelResponse, error) // PostSearchChannelWithResponse request PostSearchChannelWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchChannelResponse, error) // GetSearchChannelBinaryWithResponse request GetSearchChannelBinaryWithResponse(ctx context.Context, params *GetSearchChannelBinaryParams, reqEditors ...RequestEditorFn) (*GetSearchChannelBinaryResponse, error) // PostSearchChannelBinaryWithResponse request PostSearchChannelBinaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchChannelBinaryResponse, error) // GetSearchChannelBinaryIdWithResponse request GetSearchChannelBinaryIdWithResponse(ctx context.Context, params *GetSearchChannelBinaryIdParams, reqEditors ...RequestEditorFn) (*GetSearchChannelBinaryIdResponse, error) // PostSearchChannelBinaryIdWithResponse request PostSearchChannelBinaryIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchChannelBinaryIdResponse, error) // GetSearchIssueWithResponse request GetSearchIssueWithResponse(ctx context.Context, params *GetSearchIssueParams, reqEditors ...RequestEditorFn) (*GetSearchIssueResponse, error) // PostSearchIssueWithResponse request PostSearchIssueWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchIssueResponse, error) // GetSearchMissingOwnerWithResponse request GetSearchMissingOwnerWithResponse(ctx context.Context, params *GetSearchMissingOwnerParams, reqEditors ...RequestEditorFn) (*GetSearchMissingOwnerResponse, error) // PostSearchMissingOwnerWithResponse request PostSearchMissingOwnerWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchMissingOwnerResponse, error) // GetSearchOwnerWithResponse request GetSearchOwnerWithResponse(ctx context.Context, params *GetSearchOwnerParams, reqEditors ...RequestEditorFn) (*GetSearchOwnerResponse, error) // PostSearchOwnerWithResponse request PostSearchOwnerWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchOwnerResponse, error) // GetSearchPackageWithResponse request GetSearchPackageWithResponse(ctx context.Context, params *GetSearchPackageParams, reqEditors ...RequestEditorFn) (*GetSearchPackageResponse, error) // PostSearchPackageWithResponse request PostSearchPackageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPackageResponse, error) // GetSearchPackageIdWithResponse request GetSearchPackageIdWithResponse(ctx context.Context, params *GetSearchPackageIdParams, reqEditors ...RequestEditorFn) (*GetSearchPackageIdResponse, error) // PostSearchPackageIdWithResponse request PostSearchPackageIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPackageIdResponse, error) // GetSearchPackageIdWithResponse request GetSearchPackageIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSearchPackageIdResponse, error) // PostSearchPackageIdWithResponse request PostSearchPackageIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPackageIdResponse, error) // GetSearchPersonWithResponse request GetSearchPersonWithResponse(ctx context.Context, params *GetSearchPersonParams, reqEditors ...RequestEditorFn) (*GetSearchPersonResponse, error) // PostSearchPersonWithResponse request PostSearchPersonWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPersonResponse, error) // GetSearchProjectWithResponse request GetSearchProjectWithResponse(ctx context.Context, params *GetSearchProjectParams, reqEditors ...RequestEditorFn) (*GetSearchProjectResponse, error) // PostSearchProjectWithResponse request PostSearchProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchProjectResponse, error) // GetSearchProjectIdWithResponse request GetSearchProjectIdWithResponse(ctx context.Context, params *GetSearchProjectIdParams, reqEditors ...RequestEditorFn) (*GetSearchProjectIdResponse, error) // PostSearchProjectIdWithResponse request PostSearchProjectIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchProjectIdResponse, error) // GetSearchProjectIdWithResponse request GetSearchProjectIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSearchProjectIdResponse, error) // PostSearchProjectIdWithResponse request PostSearchProjectIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchProjectIdResponse, error) // GetSearchPublishedBinaryIdWithResponse request GetSearchPublishedBinaryIdWithResponse(ctx context.Context, params *GetSearchPublishedBinaryIdParams, reqEditors ...RequestEditorFn) (*GetSearchPublishedBinaryIdResponse, error) // PostSearchPublishedBinaryIdWithResponse request PostSearchPublishedBinaryIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPublishedBinaryIdResponse, error) // GetSearchPublishedPatternIdWithResponse request GetSearchPublishedPatternIdWithResponse(ctx context.Context, params *GetSearchPublishedPatternIdParams, reqEditors ...RequestEditorFn) (*GetSearchPublishedPatternIdResponse, error) // PostSearchPublishedPatternIdWithResponse request PostSearchPublishedPatternIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPublishedPatternIdResponse, error) // GetSearchPublishedRepoinfoIdWithResponse request GetSearchPublishedRepoinfoIdWithResponse(ctx context.Context, params *GetSearchPublishedRepoinfoIdParams, reqEditors ...RequestEditorFn) (*GetSearchPublishedRepoinfoIdResponse, error) // PostSearchPublishedRepoinfoIdWithResponse request PostSearchPublishedRepoinfoIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPublishedRepoinfoIdResponse, error) // GetSearchReleasedBinaryWithResponse request GetSearchReleasedBinaryWithResponse(ctx context.Context, params *GetSearchReleasedBinaryParams, reqEditors ...RequestEditorFn) (*GetSearchReleasedBinaryResponse, error) // PostSearchReleasedBinaryWithResponse request PostSearchReleasedBinaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchReleasedBinaryResponse, error) // GetSearchReleasedBinaryIdWithResponse request GetSearchReleasedBinaryIdWithResponse(ctx context.Context, params *GetSearchReleasedBinaryIdParams, reqEditors ...RequestEditorFn) (*GetSearchReleasedBinaryIdResponse, error) // PostSearchReleasedBinaryIdWithResponse request PostSearchReleasedBinaryIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchReleasedBinaryIdResponse, error) // GetSearchRepositoryIdWithResponse request GetSearchRepositoryIdWithResponse(ctx context.Context, params *GetSearchRepositoryIdParams, reqEditors ...RequestEditorFn) (*GetSearchRepositoryIdResponse, error) // PostSearchRepositoryIdWithResponse request PostSearchRepositoryIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchRepositoryIdResponse, error) // GetSearchRequestWithResponse request GetSearchRequestWithResponse(ctx context.Context, params *GetSearchRequestParams, reqEditors ...RequestEditorFn) (*GetSearchRequestResponse, error) // PostSearchRequestWithResponse request PostSearchRequestWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchRequestResponse, error) // GetSearchRequestIdWithResponse request GetSearchRequestIdWithResponse(ctx context.Context, params *GetSearchRequestIdParams, reqEditors ...RequestEditorFn) (*GetSearchRequestIdResponse, error) // PostSearchRequestIdWithResponse request PostSearchRequestIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchRequestIdResponse, error) // GetServiceWithResponse request GetServiceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetServiceResponse, error) // GetSourceWithResponse request GetSourceWithResponse(ctx context.Context, params *GetSourceParams, reqEditors ...RequestEditorFn) (*GetSourceResponse, error) // DeleteSourceProjectNameWithResponse request DeleteSourceProjectNameWithResponse(ctx context.Context, projectName string, params *DeleteSourceProjectNameParams, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNameResponse, error) // GetSourceProjectNameWithResponse request GetSourceProjectNameWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameResponse, error) // GetSourceProjectNameAttributeWithResponse request GetSourceProjectNameAttributeWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameAttributeParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameAttributeResponse, error) // DeleteSourceProjectNameAttributeAttributeNameWithResponse request DeleteSourceProjectNameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, attributeName string, params *DeleteSourceProjectNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNameAttributeAttributeNameResponse, error) // GetSourceProjectNameAttributeAttributeNameWithResponse request GetSourceProjectNameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, attributeName string, params *GetSourceProjectNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameAttributeAttributeNameResponse, error) // PostSourceProjectNameAttributeAttributeNameWithBodyWithResponse request with any body PostSourceProjectNameAttributeAttributeNameWithBodyWithResponse(ctx context.Context, projectName string, attributeName string, params *PostSourceProjectNameAttributeAttributeNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSourceProjectNameAttributeAttributeNameResponse, error) // GetSourceProjectNameConfigWithResponse request GetSourceProjectNameConfigWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameConfigParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameConfigResponse, error) // PutSourceProjectNameConfigWithBodyWithResponse request with any body PutSourceProjectNameConfigWithBodyWithResponse(ctx context.Context, projectName string, params *PutSourceProjectNameConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSourceProjectNameConfigResponse, error) PutSourceProjectNameConfigWithTextBodyWithResponse(ctx context.Context, projectName string, params *PutSourceProjectNameConfigParams, body PutSourceProjectNameConfigTextRequestBody, reqEditors ...RequestEditorFn) (*PutSourceProjectNameConfigResponse, error) // GetSourceProjectNameKeyinfoWithResponse request GetSourceProjectNameKeyinfoWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetSourceProjectNameKeyinfoResponse, error) // GetSourceProjectNameMetaWithResponse request GetSourceProjectNameMetaWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameMetaParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameMetaResponse, error) // PutSourceProjectNameMetaWithBodyWithResponse request with any body PutSourceProjectNameMetaWithBodyWithResponse(ctx context.Context, projectName string, params *PutSourceProjectNameMetaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSourceProjectNameMetaResponse, error) // GetSourceProjectNamePatternWithResponse request GetSourceProjectNamePatternWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePatternResponse, error) // DeleteSourceProjectNamePatternFileNameWithResponse request DeleteSourceProjectNamePatternFileNameWithResponse(ctx context.Context, projectName string, fileName string, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePatternFileNameResponse, error) // GetSourceProjectNamePatternFileNameWithResponse request GetSourceProjectNamePatternFileNameWithResponse(ctx context.Context, projectName string, fileName string, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePatternFileNameResponse, error) // PutSourceProjectNamePatternFileNameWithBodyWithResponse request with any body PutSourceProjectNamePatternFileNameWithBodyWithResponse(ctx context.Context, projectName string, fileName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSourceProjectNamePatternFileNameResponse, error) // GetSourceProjectNameProjectWithResponse request GetSourceProjectNameProjectWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameProjectParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameProjectResponse, error) // GetSourceProjectNameProjectHistoryWithResponse request GetSourceProjectNameProjectHistoryWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameProjectHistoryParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameProjectHistoryResponse, error) // GetSourceProjectNameProjectFileNameWithResponse request GetSourceProjectNameProjectFileNameWithResponse(ctx context.Context, projectName string, fileName string, params *GetSourceProjectNameProjectFileNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameProjectFileNameResponse, error) // DeleteSourceProjectNamePubkeyWithResponse request DeleteSourceProjectNamePubkeyWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePubkeyResponse, error) // GetSourceProjectNamePubkeyWithResponse request GetSourceProjectNamePubkeyWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePubkeyResponse, error) // DeleteSourceProjectNamePackageNameWithResponse request DeleteSourceProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, params *DeleteSourceProjectNamePackageNameParams, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePackageNameResponse, error) // GetSourceProjectNamePackageNameWithResponse request GetSourceProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameResponse, error) // GetSourceProjectNamePackageNameAttributeWithResponse request GetSourceProjectNamePackageNameAttributeWithResponse(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameAttributeParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameAttributeResponse, error) // PostSourceProjectNamePackageNameAttributeWithBodyWithResponse request with any body PostSourceProjectNamePackageNameAttributeWithBodyWithResponse(ctx context.Context, projectName string, packageName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNameAttributeResponse, error) // DeleteSourceProjectNamePackageNameAttributeAttributeNameWithResponse request DeleteSourceProjectNamePackageNameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, packageName string, attributeName string, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePackageNameAttributeAttributeNameResponse, error) // GetSourceProjectNamePackageNameAttributeAttributeNameWithResponse request GetSourceProjectNamePackageNameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, packageName string, attributeName string, params *GetSourceProjectNamePackageNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameAttributeAttributeNameResponse, error) // PostSourceProjectNamePackageNameAttributeAttributeNameWithBodyWithResponse request with any body PostSourceProjectNamePackageNameAttributeAttributeNameWithBodyWithResponse(ctx context.Context, projectName string, packageName string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNameAttributeAttributeNameResponse, error) // GetSourceProjectNamePackageNameHistoryWithResponse request GetSourceProjectNamePackageNameHistoryWithResponse(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameHistoryParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameHistoryResponse, error) // GetSourceProjectNamePackageNameMetaWithResponse request GetSourceProjectNamePackageNameMetaWithResponse(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameMetaParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameMetaResponse, error) // PutSourceProjectNamePackageNameMetaWithBodyWithResponse request with any body PutSourceProjectNamePackageNameMetaWithBodyWithResponse(ctx context.Context, projectName string, packageName string, params *PutSourceProjectNamePackageNameMetaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSourceProjectNamePackageNameMetaResponse, error) // GetSourceProjectNamePackageNameBinaryFilenameAttributeWithResponse request GetSourceProjectNamePackageNameBinaryFilenameAttributeWithResponse(ctx context.Context, projectName string, packageName string, binaryFilename string, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameBinaryFilenameAttributeResponse, error) // PostSourceProjectNamePackageNameBinaryFilenameAttributeWithBodyWithResponse request with any body PostSourceProjectNamePackageNameBinaryFilenameAttributeWithBodyWithResponse(ctx context.Context, projectName string, packageName string, binaryFilename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNameBinaryFilenameAttributeResponse, error) // DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameWithResponse request DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, packageName string, binaryFilename string, attributeName string, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse, error) // GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameWithResponse request GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, packageName string, binaryFilename string, attributeName string, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse, error) // DeleteSourceProjectNamePackageNameFileNameWithResponse request DeleteSourceProjectNamePackageNameFileNameWithResponse(ctx context.Context, projectName string, packageName string, fileName string, params *DeleteSourceProjectNamePackageNameFileNameParams, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePackageNameFileNameResponse, error) // GetSourceProjectNamePackageNameFileNameWithResponse request GetSourceProjectNamePackageNameFileNameWithResponse(ctx context.Context, projectName string, packageName string, fileName string, params *GetSourceProjectNamePackageNameFileNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameFileNameResponse, error) // PutSourceProjectNamePackageNameFileNameWithBodyWithResponse request with any body PutSourceProjectNamePackageNameFileNameWithBodyWithResponse(ctx context.Context, projectName string, packageName string, fileName string, params *PutSourceProjectNamePackageNameFileNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSourceProjectNamePackageNameFileNameResponse, error) // PostSourceProjectNamePackageNamecmdAddcontainersWithResponse request PostSourceProjectNamePackageNamecmdAddcontainersWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdAddcontainersParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdAddcontainersResponse, error) // PostSourceProjectNamePackageNamecmdBranchWithResponse request PostSourceProjectNamePackageNamecmdBranchWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdBranchParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdBranchResponse, error) // PostSourceProjectNamePackageNamecmdCollectbuildenvWithResponse request PostSourceProjectNamePackageNamecmdCollectbuildenvWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCollectbuildenvParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdCollectbuildenvResponse, error) // PostSourceProjectNamePackageNamecmdCommitWithResponse request PostSourceProjectNamePackageNamecmdCommitWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCommitParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdCommitResponse, error) // PostSourceProjectNamePackageNamecmdCommitfilelistWithResponse request PostSourceProjectNamePackageNamecmdCommitfilelistWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCommitfilelistParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdCommitfilelistResponse, error) // PostSourceProjectNamePackageNamecmdCopyWithResponse request PostSourceProjectNamePackageNamecmdCopyWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCopyParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdCopyResponse, error) // PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateWithResponse request PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse, error) // PostSourceProjectNamePackageNamecmdDeleteuploadrevWithResponse request PostSourceProjectNamePackageNamecmdDeleteuploadrevWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdDeleteuploadrevResponse, error) // PostSourceProjectNamePackageNamecmdDiffWithResponse request PostSourceProjectNamePackageNamecmdDiffWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdDiffParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdDiffResponse, error) // PostSourceProjectNamePackageNamecmdForkWithResponse request PostSourceProjectNamePackageNamecmdForkWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdForkParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdForkResponse, error) // PostSourceProjectNamePackageNamecmdGetprojectservicesWithResponse request PostSourceProjectNamePackageNamecmdGetprojectservicesWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdGetprojectservicesParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdGetprojectservicesResponse, error) // PostSourceProjectNamePackageNamecmdInstantiateWithResponse request PostSourceProjectNamePackageNamecmdInstantiateWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdInstantiateParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdInstantiateResponse, error) // PostSourceProjectNamePackageNamecmdLinkdiffWithResponse request PostSourceProjectNamePackageNamecmdLinkdiffWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdLinkdiffParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdLinkdiffResponse, error) // PostSourceProjectNamePackageNamecmdLinktobranchWithResponse request PostSourceProjectNamePackageNamecmdLinktobranchWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdLinktobranchParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdLinktobranchResponse, error) // PostSourceProjectNamePackageNamecmdMergeserviceWithResponse request PostSourceProjectNamePackageNamecmdMergeserviceWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdMergeserviceParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdMergeserviceResponse, error) // PostSourceProjectNamePackageNamecmdRebuildWithResponse request PostSourceProjectNamePackageNamecmdRebuildWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdRebuildResponse, error) // PostSourceProjectNamePackageNamecmdReleaseWithResponse request PostSourceProjectNamePackageNamecmdReleaseWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdReleaseParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdReleaseResponse, error) // PostSourceProjectNamePackageNamecmdRemoveFlagWithResponse request PostSourceProjectNamePackageNamecmdRemoveFlagWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdRemoveFlagParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdRemoveFlagResponse, error) // PostSourceProjectNamePackageNamecmdRunserviceWithResponse request PostSourceProjectNamePackageNamecmdRunserviceWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdRunserviceParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdRunserviceResponse, error) // PostSourceProjectNamePackageNamecmdServicediffWithResponse request PostSourceProjectNamePackageNamecmdServicediffWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdServicediffParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdServicediffResponse, error) // PostSourceProjectNamePackageNamecmdSetFlagWithResponse request PostSourceProjectNamePackageNamecmdSetFlagWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdSetFlagParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdSetFlagResponse, error) // PostSourceProjectNamePackageNamecmdShowlinkedWithResponse request PostSourceProjectNamePackageNamecmdShowlinkedWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdShowlinkedResponse, error) // PostSourceProjectNamePackageNamecmdUndeleteWithResponse request PostSourceProjectNamePackageNamecmdUndeleteWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdUndeleteParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdUndeleteResponse, error) // PostSourceProjectNamePackageNamecmdUnlockWithResponse request PostSourceProjectNamePackageNamecmdUnlockWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdUnlockParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdUnlockResponse, error) // PostSourceProjectNamePackageNamecmdUpdatepatchinfoWithResponse request PostSourceProjectNamePackageNamecmdUpdatepatchinfoWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse, error) // PostSourceProjectNamePackageNamecmdWaitserviceWithResponse request PostSourceProjectNamePackageNamecmdWaitserviceWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdWaitserviceResponse, error) // GetSourceProjectNamePackageNameviewInfoWithResponse request GetSourceProjectNamePackageNameviewInfoWithResponse(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameviewInfoParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameviewInfoResponse, error) // PostSourceProjectNamecmdAddchannelsWithResponse request PostSourceProjectNamecmdAddchannelsWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdAddchannelsParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdAddchannelsResponse, error) // PostSourceProjectNamecmdCopyWithResponse request PostSourceProjectNamecmdCopyWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdCopyParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdCopyResponse, error) // PostSourceProjectNamecmdCreatekeyWithResponse request PostSourceProjectNamecmdCreatekeyWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdCreatekeyResponse, error) // PostSourceProjectNamecmdCreatemaintenanceincidentWithResponse request PostSourceProjectNamecmdCreatemaintenanceincidentWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdCreatemaintenanceincidentResponse, error) // PostSourceProjectNamecmdCreatepatchinfoWithResponse request PostSourceProjectNamecmdCreatepatchinfoWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdCreatepatchinfoParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdCreatepatchinfoResponse, error) // PostSourceProjectNamecmdExtendkeyWithResponse request PostSourceProjectNamecmdExtendkeyWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdExtendkeyParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdExtendkeyResponse, error) // PostSourceProjectNamecmdFreezelinkWithResponse request PostSourceProjectNamecmdFreezelinkWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdFreezelinkParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdFreezelinkResponse, error) // PostSourceProjectNamecmdLockWithResponse request PostSourceProjectNamecmdLockWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdLockParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdLockResponse, error) // PostSourceProjectNamecmdModifychannelsWithResponse request PostSourceProjectNamecmdModifychannelsWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdModifychannelsParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdModifychannelsResponse, error) // PostSourceProjectNamecmdMoveWithResponse request PostSourceProjectNamecmdMoveWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdMoveParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdMoveResponse, error) // PostSourceProjectNamecmdReleaseWithResponse request PostSourceProjectNamecmdReleaseWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdReleaseParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdReleaseResponse, error) // PostSourceProjectNamecmdRemoveFlagWithResponse request PostSourceProjectNamecmdRemoveFlagWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdRemoveFlagParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdRemoveFlagResponse, error) // PostSourceProjectNamecmdSetFlagWithResponse request PostSourceProjectNamecmdSetFlagWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdSetFlagParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdSetFlagResponse, error) // PostSourceProjectNamecmdShowlinkedWithResponse request PostSourceProjectNamecmdShowlinkedWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdShowlinkedResponse, error) // PostSourceProjectNamecmdUndeleteWithResponse request PostSourceProjectNamecmdUndeleteWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdUndeleteResponse, error) // PostSourceProjectNamecmdUnlockWithResponse request PostSourceProjectNamecmdUnlockWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdUnlockParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdUnlockResponse, error) // GetSourceProjectNameviewInfoWithResponse request GetSourceProjectNameviewInfoWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameviewInfoParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameviewInfoResponse, error) // PostSourcecmdBranchWithResponse request PostSourcecmdBranchWithResponse(ctx context.Context, params *PostSourcecmdBranchParams, reqEditors ...RequestEditorFn) (*PostSourcecmdBranchResponse, error) // PostSourcecmdCreatemaintenanceincidentWithResponse request PostSourcecmdCreatemaintenanceincidentWithResponse(ctx context.Context, params *PostSourcecmdCreatemaintenanceincidentParams, reqEditors ...RequestEditorFn) (*PostSourcecmdCreatemaintenanceincidentResponse, error) // PostSourcecmdOrderkiwireposWithBodyWithResponse request with any body PostSourcecmdOrderkiwireposWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSourcecmdOrderkiwireposResponse, error) // GetStagingProjectNameBacklogWithResponse request GetStagingProjectNameBacklogWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStagingProjectNameBacklogResponse, error) // DeleteStagingProjectNameExcludedRequestsWithBodyWithResponse request with any body DeleteStagingProjectNameExcludedRequestsWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStagingProjectNameExcludedRequestsResponse, error) // GetStagingProjectNameExcludedRequestsWithResponse request GetStagingProjectNameExcludedRequestsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStagingProjectNameExcludedRequestsResponse, error) // PostStagingProjectNameExcludedRequestsWithBodyWithResponse request with any body PostStagingProjectNameExcludedRequestsWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStagingProjectNameExcludedRequestsResponse, error) // DeleteStagingProjectNameStagedRequestsWithBodyWithResponse request with any body DeleteStagingProjectNameStagedRequestsWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStagingProjectNameStagedRequestsResponse, error) // GetStagingProjectNameStagingProjectsWithResponse request GetStagingProjectNameStagingProjectsWithResponse(ctx context.Context, projectName string, params *GetStagingProjectNameStagingProjectsParams, reqEditors ...RequestEditorFn) (*GetStagingProjectNameStagingProjectsResponse, error) // PostStagingProjectNameStagingProjectsWithBodyWithResponse request with any body PostStagingProjectNameStagingProjectsWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStagingProjectNameStagingProjectsResponse, error) // GetStagingProjectNameStagingProjectsStagingProjectNameWithResponse request GetStagingProjectNameStagingProjectsStagingProjectNameWithResponse(ctx context.Context, projectName string, stagingProjectName string, params *GetStagingProjectNameStagingProjectsStagingProjectNameParams, reqEditors ...RequestEditorFn) (*GetStagingProjectNameStagingProjectsStagingProjectNameResponse, error) // PostStagingProjectNameStagingProjectsStagingProjectNameAcceptWithResponse request PostStagingProjectNameStagingProjectsStagingProjectNameAcceptWithResponse(ctx context.Context, projectName string, stagingProjectName string, reqEditors ...RequestEditorFn) (*PostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse, error) // PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameWithResponse request PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameWithResponse(ctx context.Context, projectName string, stagingProjectName string, stagingProjectCopyName string, reqEditors ...RequestEditorFn) (*PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse, error) // DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBodyWithResponse request with any body DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBodyWithResponse(ctx context.Context, projectName string, stagingProjectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse, error) // GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithResponse request GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithResponse(ctx context.Context, projectName string, stagingProjectName string, reqEditors ...RequestEditorFn) (*GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse, error) // PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBodyWithResponse request with any body PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBodyWithResponse(ctx context.Context, projectName string, stagingProjectName string, params *PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse, error) // DeleteStagingProjectNameWorkflowWithResponse request DeleteStagingProjectNameWorkflowWithResponse(ctx context.Context, projectName string, params *DeleteStagingProjectNameWorkflowParams, reqEditors ...RequestEditorFn) (*DeleteStagingProjectNameWorkflowResponse, error) // PostStagingProjectNameWorkflowWithBodyWithResponse request with any body PostStagingProjectNameWorkflowWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStagingProjectNameWorkflowResponse, error) // PutStagingProjectNameWorkflowWithBodyWithResponse request with any body PutStagingProjectNameWorkflowWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStagingProjectNameWorkflowResponse, error) // GetStatisticsWithResponse request GetStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStatisticsResponse, error) // GetStatisticsActiveRequestCreatorsProjectNameWithResponse request GetStatisticsActiveRequestCreatorsProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStatisticsActiveRequestCreatorsProjectNameResponse, error) // GetStatisticsActivityProjectNamePackageNameWithResponse request GetStatisticsActivityProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*GetStatisticsActivityProjectNamePackageNameResponse, error) // GetStatisticsAddedTimestampProjectNamePackageNameWithResponse request GetStatisticsAddedTimestampProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*GetStatisticsAddedTimestampProjectNamePackageNameResponse, error) // GetStatisticsGlobalCountersWithResponse request GetStatisticsGlobalCountersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStatisticsGlobalCountersResponse, error) // GetStatisticsLatestAddedWithResponse request GetStatisticsLatestAddedWithResponse(ctx context.Context, params *GetStatisticsLatestAddedParams, reqEditors ...RequestEditorFn) (*GetStatisticsLatestAddedResponse, error) // GetStatisticsLatestUpdatedWithResponse request GetStatisticsLatestUpdatedWithResponse(ctx context.Context, params *GetStatisticsLatestUpdatedParams, reqEditors ...RequestEditorFn) (*GetStatisticsLatestUpdatedResponse, error) // GetStatisticsMaintenanceStatisticsProjectNameWithResponse request GetStatisticsMaintenanceStatisticsProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStatisticsMaintenanceStatisticsProjectNameResponse, error) // GetStatisticsMostActivePackagesWithResponse request GetStatisticsMostActivePackagesWithResponse(ctx context.Context, params *GetStatisticsMostActivePackagesParams, reqEditors ...RequestEditorFn) (*GetStatisticsMostActivePackagesResponse, error) // GetStatisticsMostActiveProjectsWithResponse request GetStatisticsMostActiveProjectsWithResponse(ctx context.Context, params *GetStatisticsMostActiveProjectsParams, reqEditors ...RequestEditorFn) (*GetStatisticsMostActiveProjectsResponse, error) // GetStatisticsUpdatedTimestampProjectNamePackageNameWithResponse request GetStatisticsUpdatedTimestampProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*GetStatisticsUpdatedTimestampProjectNamePackageNameResponse, error) // GetStatusMessagesWithResponse request GetStatusMessagesWithResponse(ctx context.Context, params *GetStatusMessagesParams, reqEditors ...RequestEditorFn) (*GetStatusMessagesResponse, error) // PostStatusMessagesWithBodyWithResponse request with any body PostStatusMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusMessagesResponse, error) // DeleteStatusMessagesIdWithResponse request DeleteStatusMessagesIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteStatusMessagesIdResponse, error) // GetStatusMessagesIdWithResponse request GetStatusMessagesIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetStatusMessagesIdResponse, error) // GetStatusProjectProjectNameWithResponse request GetStatusProjectProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStatusProjectProjectNameResponse, error) // GetStatusWorkerstatusWithResponse request GetStatusWorkerstatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStatusWorkerstatusResponse, error) // GetStatusMessageWithResponse request GetStatusMessageWithResponse(ctx context.Context, params *GetStatusMessageParams, reqEditors ...RequestEditorFn) (*GetStatusMessageResponse, error) // GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithResponse request GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, buildId int, reqEditors ...RequestEditorFn) (*GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse, error) // PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithBodyWithResponse request with any body PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, buildId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse, error) // GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithResponse request GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse, error) // PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithBodyWithResponse request with any body PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse, error) // DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameWithResponse request DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, checkName string, reqEditors ...RequestEditorFn) (*DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse, error) // GetStatusReportsProjectsProjectNameRequiredChecksWithResponse request GetStatusReportsProjectsProjectNameRequiredChecksWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStatusReportsProjectsProjectNameRequiredChecksResponse, error) // PostStatusReportsProjectsProjectNameRequiredChecksWithBodyWithResponse request with any body PostStatusReportsProjectsProjectNameRequiredChecksWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsProjectsProjectNameRequiredChecksResponse, error) // DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameWithResponse request DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameWithResponse(ctx context.Context, projectName string, checkName string, reqEditors ...RequestEditorFn) (*DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse, error) // GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithResponse request GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithResponse(ctx context.Context, projectName string, repositoryName string, buildId int, reqEditors ...RequestEditorFn) (*GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse, error) // PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithBodyWithResponse request with any body PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, buildId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse, error) // GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithResponse request GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithResponse(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse, error) // PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithBodyWithResponse request with any body PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse, error) // DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameWithResponse request DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameWithResponse(ctx context.Context, projectName string, repositoryName string, checkName string, reqEditors ...RequestEditorFn) (*DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse, error) // GetStatusReportsRequestsIdReportsWithResponse request GetStatusReportsRequestsIdReportsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetStatusReportsRequestsIdReportsResponse, error) // PostStatusReportsRequestsIdReportsWithBodyWithResponse request with any body PostStatusReportsRequestsIdReportsWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsRequestsIdReportsResponse, error) // PostTriggerWithResponse request PostTriggerWithResponse(ctx context.Context, params *PostTriggerParams, reqEditors ...RequestEditorFn) (*PostTriggerResponse, error) // PostTriggerRebuildWithResponse request PostTriggerRebuildWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTriggerRebuildResponse, error) // PostTriggerReleaseWithResponse request PostTriggerReleaseWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTriggerReleaseResponse, error) // PostTriggerRunserviceWithResponse request PostTriggerRunserviceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTriggerRunserviceResponse, error) // PostTriggerWebhookWithResponse request PostTriggerWebhookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTriggerWebhookResponse, error) // PostTriggerWorkflowWithResponse request PostTriggerWorkflowWithResponse(ctx context.Context, params *PostTriggerWorkflowParams, reqEditors ...RequestEditorFn) (*PostTriggerWorkflowResponse, error) // GetWorkerStatusWithResponse request GetWorkerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkerStatusResponse, error) // GetWorkerStatusWithResponse request GetWorkerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkerStatusResponse, error) // GetWorkerArchitectureNameWorkerIdWithResponse request GetWorkerArchitectureNameWorkerIdWithResponse(ctx context.Context, architectureName string, workerId string, reqEditors ...RequestEditorFn) (*GetWorkerArchitectureNameWorkerIdResponse, error) // PostWorkercmdCheckconstraintsWithBodyWithResponse request with any body PostWorkercmdCheckconstraintsWithBodyWithResponse(ctx context.Context, params *PostWorkercmdCheckconstraintsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostWorkercmdCheckconstraintsResponse, error) } type GetAboutResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetAboutResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetAboutResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetAnnouncementsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetAnnouncementsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetAnnouncementsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostAnnouncementsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostAnnouncementsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostAnnouncementsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteAnnouncementsAnnouncementIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteAnnouncementsAnnouncementIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteAnnouncementsAnnouncementIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetAnnouncementsAnnouncementIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetAnnouncementsAnnouncementIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetAnnouncementsAnnouncementIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutAnnouncementsAnnouncementIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutAnnouncementsAnnouncementIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutAnnouncementsAnnouncementIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetArchitecturesResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetArchitecturesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetArchitecturesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetArchitecturesArchitectureNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetArchitecturesArchitectureNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetArchitecturesArchitectureNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetAttributeResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetAttributeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetAttributeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteAttributeNamespaceResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteAttributeNamespaceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteAttributeNamespaceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetAttributeNamespaceResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetAttributeNamespaceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetAttributeNamespaceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteAttributeNamespaceMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteAttributeNamespaceMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteAttributeNamespaceMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetAttributeNamespaceMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetAttributeNamespaceMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetAttributeNamespaceMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostAttributeNamespaceMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostAttributeNamespaceMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostAttributeNamespaceMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutAttributeNamespaceMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutAttributeNamespaceMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutAttributeNamespaceMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteAttributeNamespaceAttributeNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteAttributeNamespaceAttributeNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteAttributeNamespaceAttributeNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteAttributeNamespaceAttributeNameMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteAttributeNamespaceAttributeNameMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteAttributeNamespaceAttributeNameMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetAttributeNamespaceAttributeNameMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetAttributeNamespaceAttributeNameMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetAttributeNamespaceAttributeNameMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostAttributeNamespaceAttributeNameMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostAttributeNamespaceAttributeNameMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostAttributeNamespaceAttributeNameMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutAttributeNamespaceAttributeNameMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutAttributeNamespaceAttributeNameMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutAttributeNamespaceAttributeNameMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildWorkerstatusResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildWorkerstatusResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildWorkerstatusResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostBuildProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostBuildProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostBuildProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameResultResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameResultResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameResultResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameBuildconfigResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameBuildconfigResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameBuildconfigResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteCommentCommentIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteCommentCommentIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteCommentCommentIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetCommentCommentIdHistoryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetCommentCommentIdHistoryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetCommentCommentIdHistoryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetCommentsPackageProjectNamePackageNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetCommentsPackageProjectNamePackageNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetCommentsPackageProjectNamePackageNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostCommentsPackageProjectNamePackageNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostCommentsPackageProjectNamePackageNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostCommentsPackageProjectNamePackageNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetCommentsProjectProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetCommentsProjectProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetCommentsProjectProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostCommentsProjectProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostCommentsProjectProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostCommentsProjectProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetCommentsRequestIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetCommentsRequestIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetCommentsRequestIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostCommentsRequestIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostCommentsRequestIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostCommentsRequestIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetCommentsUserResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetCommentsUserResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetCommentsUserResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetConfigurationResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetConfigurationResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetConfigurationResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutConfigurationResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutConfigurationResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutConfigurationResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetDistributionsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetDistributionsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetDistributionsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostDistributionsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostDistributionsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostDistributionsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutDistributionsBulkReplaceResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutDistributionsBulkReplaceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutDistributionsBulkReplaceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetDistributionsIncludeRemotesResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetDistributionsIncludeRemotesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetDistributionsIncludeRemotesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteDistributionsDistributionIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteDistributionsDistributionIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteDistributionsDistributionIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetDistributionsDistributionIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetDistributionsDistributionIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetDistributionsDistributionIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutDistributionsDistributionIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutDistributionsDistributionIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutDistributionsDistributionIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetGroupResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetGroupResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetGroupResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteGroupGroupTitleResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteGroupGroupTitleResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteGroupGroupTitleResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetGroupGroupTitleResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetGroupGroupTitleResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetGroupGroupTitleResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostGroupGroupTitleResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostGroupGroupTitleResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostGroupGroupTitleResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutGroupGroupTitleResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutGroupGroupTitleResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutGroupGroupTitleResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetImageTemplatesResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetImageTemplatesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetImageTemplatesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetIssueTrackersResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetIssueTrackersResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetIssueTrackersResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostIssueTrackersResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostIssueTrackersResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostIssueTrackersResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteIssueTrackersIssueTrackerNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteIssueTrackersIssueTrackerNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteIssueTrackersIssueTrackerNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetIssueTrackersIssueTrackerNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetIssueTrackersIssueTrackerNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetIssueTrackersIssueTrackerNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutIssueTrackersIssueTrackerNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutIssueTrackersIssueTrackerNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutIssueTrackersIssueTrackerNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetIssueTrackersIssueTrackerNameIssuesIssueNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetIssueTrackersIssueTrackerNameIssuesIssueNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetIssueTrackersIssueTrackerNameIssuesIssueNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetMyNotificationsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetMyNotificationsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetMyNotificationsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutMyNotificationsIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutMyNotificationsIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutMyNotificationsIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPersonResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPersonResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPersonResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostPersonResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostPersonResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostPersonResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostPersonRegisterResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostPersonRegisterResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostPersonRegisterResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPersonLoginResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPersonLoginResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPersonLoginResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostPersonLoginResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostPersonLoginResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostPersonLoginResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutPersonLoginResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutPersonLoginResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutPersonLoginResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPersonLoginGroupResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPersonLoginGroupResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPersonLoginGroupResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPersonLoginTokenResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPersonLoginTokenResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPersonLoginTokenResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostPersonLoginTokenResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostPersonLoginTokenResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostPersonLoginTokenResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeletePersonLoginTokenIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeletePersonLoginTokenIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeletePersonLoginTokenIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPersonLoginWatchlistResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPersonLoginWatchlistResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPersonLoginWatchlistResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutPersonLoginWatchlistResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutPersonLoginWatchlistResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutPersonLoginWatchlistResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPublishedResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPublishedResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPublishedResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPublishedProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPublishedProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPublishedProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPublishedProjectNameRepositoryNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPublishedProjectNameRepositoryNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPublishedProjectNameRepositoryNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPublishedProjectNameRepositoryNameArchitectureNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPublishedProjectNameRepositoryNameArchitectureNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPublishedProjectNameRepositoryNameArchitectureNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse struct { Body []byte HTTPResponse *http.Response XML200 *openapi_types.File } // Status returns HTTPResponse.Status func (r GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetPublishedProjectNameRepositoryNameviewStatusResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetPublishedProjectNameRepositoryNameviewStatusResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetPublishedProjectNameRepositoryNameviewStatusResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetRequestResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetRequestResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetRequestResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostRequestResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostRequestResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostRequestResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteRequestIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteRequestIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteRequestIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetRequestIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetRequestIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetRequestIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostRequestIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostRequestIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostRequestIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutRequestIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutRequestIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutRequestIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostRequestIdcmdDiffResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostRequestIdcmdDiffResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostRequestIdcmdDiffResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetRequestviewCollectionResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetRequestviewCollectionResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetRequestviewCollectionResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchChannelResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchChannelResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchChannelResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchChannelResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchChannelResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchChannelResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchChannelBinaryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchChannelBinaryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchChannelBinaryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchChannelBinaryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchChannelBinaryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchChannelBinaryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchChannelBinaryIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchChannelBinaryIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchChannelBinaryIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchChannelBinaryIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchChannelBinaryIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchChannelBinaryIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchIssueResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchIssueResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchIssueResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchIssueResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchIssueResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchIssueResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchMissingOwnerResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchMissingOwnerResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchMissingOwnerResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchMissingOwnerResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchMissingOwnerResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchMissingOwnerResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchOwnerResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchOwnerResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchOwnerResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchOwnerResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchOwnerResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchOwnerResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchPackageResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchPackageResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchPackageResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchPackageResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchPackageResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchPackageResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchPackageIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchPackageIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchPackageIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchPackageIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchPackageIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchPackageIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchPackageIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchPackageIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchPackageIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchPackageIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchPackageIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchPackageIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchPersonResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchPersonResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchPersonResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchPersonResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchPersonResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchPersonResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchProjectResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchProjectResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchProjectResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchProjectResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchProjectResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchProjectResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchProjectIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchProjectIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchProjectIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchProjectIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchProjectIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchProjectIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchProjectIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchProjectIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchProjectIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchProjectIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchProjectIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchProjectIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchPublishedBinaryIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchPublishedBinaryIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchPublishedBinaryIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchPublishedBinaryIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchPublishedBinaryIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchPublishedBinaryIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchPublishedPatternIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchPublishedPatternIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchPublishedPatternIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchPublishedPatternIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchPublishedPatternIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchPublishedPatternIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchPublishedRepoinfoIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchPublishedRepoinfoIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchPublishedRepoinfoIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchPublishedRepoinfoIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchPublishedRepoinfoIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchPublishedRepoinfoIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchReleasedBinaryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchReleasedBinaryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchReleasedBinaryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchReleasedBinaryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchReleasedBinaryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchReleasedBinaryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchReleasedBinaryIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchReleasedBinaryIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchReleasedBinaryIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchReleasedBinaryIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchReleasedBinaryIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchReleasedBinaryIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchRepositoryIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchRepositoryIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchRepositoryIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchRepositoryIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchRepositoryIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchRepositoryIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchRequestResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchRequestResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchRequestResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchRequestResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchRequestResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchRequestResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSearchRequestIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSearchRequestIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSearchRequestIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSearchRequestIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSearchRequestIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSearchRequestIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetServiceResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetServiceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetServiceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteSourceProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteSourceProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteSourceProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNameAttributeResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNameAttributeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNameAttributeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteSourceProjectNameAttributeAttributeNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteSourceProjectNameAttributeAttributeNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteSourceProjectNameAttributeAttributeNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNameAttributeAttributeNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNameAttributeAttributeNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNameAttributeAttributeNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNameAttributeAttributeNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNameAttributeAttributeNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNameAttributeAttributeNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNameConfigResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNameConfigResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNameConfigResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutSourceProjectNameConfigResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutSourceProjectNameConfigResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutSourceProjectNameConfigResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNameKeyinfoResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNameKeyinfoResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNameKeyinfoResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNameMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNameMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNameMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutSourceProjectNameMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutSourceProjectNameMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutSourceProjectNameMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePatternResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePatternResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePatternResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteSourceProjectNamePatternFileNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteSourceProjectNamePatternFileNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteSourceProjectNamePatternFileNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePatternFileNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePatternFileNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePatternFileNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutSourceProjectNamePatternFileNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutSourceProjectNamePatternFileNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutSourceProjectNamePatternFileNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNameProjectResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNameProjectResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNameProjectResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNameProjectHistoryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNameProjectHistoryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNameProjectHistoryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNameProjectFileNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNameProjectFileNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNameProjectFileNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteSourceProjectNamePubkeyResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteSourceProjectNamePubkeyResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteSourceProjectNamePubkeyResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePubkeyResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePubkeyResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePubkeyResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteSourceProjectNamePackageNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteSourceProjectNamePackageNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteSourceProjectNamePackageNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePackageNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePackageNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePackageNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePackageNameAttributeResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePackageNameAttributeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePackageNameAttributeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNameAttributeResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNameAttributeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNameAttributeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteSourceProjectNamePackageNameAttributeAttributeNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteSourceProjectNamePackageNameAttributeAttributeNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteSourceProjectNamePackageNameAttributeAttributeNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePackageNameAttributeAttributeNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePackageNameAttributeAttributeNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePackageNameAttributeAttributeNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNameAttributeAttributeNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNameAttributeAttributeNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNameAttributeAttributeNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePackageNameHistoryResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePackageNameHistoryResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePackageNameHistoryResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePackageNameMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePackageNameMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePackageNameMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutSourceProjectNamePackageNameMetaResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutSourceProjectNamePackageNameMetaResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutSourceProjectNamePackageNameMetaResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePackageNameBinaryFilenameAttributeResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePackageNameBinaryFilenameAttributeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePackageNameBinaryFilenameAttributeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNameBinaryFilenameAttributeResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNameBinaryFilenameAttributeResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNameBinaryFilenameAttributeResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteSourceProjectNamePackageNameFileNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteSourceProjectNamePackageNameFileNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteSourceProjectNamePackageNameFileNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePackageNameFileNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePackageNameFileNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePackageNameFileNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutSourceProjectNamePackageNameFileNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutSourceProjectNamePackageNameFileNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutSourceProjectNamePackageNameFileNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdAddcontainersResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdAddcontainersResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdAddcontainersResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdBranchResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdBranchResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdBranchResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdCollectbuildenvResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdCollectbuildenvResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdCollectbuildenvResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdCommitResponse struct { Body []byte HTTPResponse *http.Response XML200 *struct { Comment *string `json:"comment,omitempty"` Requestid *string `json:"requestid,omitempty"` Rev *string `json:"rev,omitempty"` Srcmd5 *string `json:"srcmd5,omitempty"` Time *string `json:"time,omitempty"` User *string `json:"user,omitempty"` Version *string `json:"version,omitempty"` Vrev *string `json:"vrev,omitempty"` } } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdCommitResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdCommitResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdCommitfilelistResponse struct { Body []byte HTTPResponse *http.Response XML200 *struct { Comment *string `json:"comment,omitempty"` Requestid *string `json:"requestid,omitempty"` Rev *string `json:"rev,omitempty"` Srcmd5 *string `json:"srcmd5,omitempty"` Time *string `json:"time,omitempty"` User *string `json:"user,omitempty"` Version *string `json:"version,omitempty"` Vrev *string `json:"vrev,omitempty"` } } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdCommitfilelistResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdCommitfilelistResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdCopyResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdCopyResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdCopyResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdDeleteuploadrevResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdDeleteuploadrevResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdDeleteuploadrevResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdDiffResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdDiffResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdDiffResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdForkResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdForkResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdForkResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdGetprojectservicesResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdGetprojectservicesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdGetprojectservicesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdInstantiateResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdInstantiateResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdInstantiateResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdLinkdiffResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdLinkdiffResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdLinkdiffResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdLinktobranchResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdLinktobranchResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdLinktobranchResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdMergeserviceResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdMergeserviceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdMergeserviceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdRebuildResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdRebuildResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdRebuildResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdReleaseResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdReleaseResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdReleaseResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdRemoveFlagResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdRemoveFlagResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdRemoveFlagResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdRunserviceResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdRunserviceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdRunserviceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdServicediffResponse struct { Body []byte HTTPResponse *http.Response XML200 *struct { Name *interface{} `json:"name,omitempty"` } } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdServicediffResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdServicediffResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdSetFlagResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdSetFlagResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdSetFlagResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdShowlinkedResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdShowlinkedResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdShowlinkedResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdUndeleteResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdUndeleteResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdUndeleteResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdUnlockResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdUnlockResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdUnlockResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamePackageNamecmdWaitserviceResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamePackageNamecmdWaitserviceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamePackageNamecmdWaitserviceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNamePackageNameviewInfoResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNamePackageNameviewInfoResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNamePackageNameviewInfoResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdAddchannelsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdAddchannelsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdAddchannelsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdCopyResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdCopyResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdCopyResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdCreatekeyResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdCreatekeyResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdCreatekeyResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdCreatemaintenanceincidentResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdCreatemaintenanceincidentResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdCreatemaintenanceincidentResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdCreatepatchinfoResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdCreatepatchinfoResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdCreatepatchinfoResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdExtendkeyResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdExtendkeyResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdExtendkeyResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdFreezelinkResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdFreezelinkResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdFreezelinkResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdLockResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdLockResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdLockResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdModifychannelsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdModifychannelsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdModifychannelsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdMoveResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdMoveResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdMoveResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdReleaseResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdReleaseResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdReleaseResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdRemoveFlagResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdRemoveFlagResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdRemoveFlagResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdSetFlagResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdSetFlagResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdSetFlagResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdShowlinkedResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdShowlinkedResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdShowlinkedResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdUndeleteResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdUndeleteResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdUndeleteResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourceProjectNamecmdUnlockResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourceProjectNamecmdUnlockResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourceProjectNamecmdUnlockResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetSourceProjectNameviewInfoResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetSourceProjectNameviewInfoResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetSourceProjectNameviewInfoResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourcecmdBranchResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourcecmdBranchResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourcecmdBranchResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourcecmdCreatemaintenanceincidentResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostSourcecmdCreatemaintenanceincidentResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourcecmdCreatemaintenanceincidentResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostSourcecmdOrderkiwireposResponse struct { Body []byte HTTPResponse *http.Response XML200 *struct { Name *string `json:"name,omitempty"` Repository *[]struct { Source *struct { Path *string `json:"path,omitempty"` } `json:"source,omitempty"` } `json:"repository,omitempty"` Schemaversion *string `json:"schemaversion,omitempty"` } } // Status returns HTTPResponse.Status func (r PostSourcecmdOrderkiwireposResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostSourcecmdOrderkiwireposResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStagingProjectNameBacklogResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStagingProjectNameBacklogResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStagingProjectNameBacklogResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteStagingProjectNameExcludedRequestsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteStagingProjectNameExcludedRequestsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteStagingProjectNameExcludedRequestsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStagingProjectNameExcludedRequestsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStagingProjectNameExcludedRequestsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStagingProjectNameExcludedRequestsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStagingProjectNameExcludedRequestsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStagingProjectNameExcludedRequestsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStagingProjectNameExcludedRequestsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteStagingProjectNameStagedRequestsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteStagingProjectNameStagedRequestsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteStagingProjectNameStagedRequestsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStagingProjectNameStagingProjectsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStagingProjectNameStagingProjectsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStagingProjectNameStagingProjectsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStagingProjectNameStagingProjectsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStagingProjectNameStagingProjectsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStagingProjectNameStagingProjectsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStagingProjectNameStagingProjectsStagingProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStagingProjectNameStagingProjectsStagingProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStagingProjectNameStagingProjectsStagingProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteStagingProjectNameWorkflowResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteStagingProjectNameWorkflowResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteStagingProjectNameWorkflowResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStagingProjectNameWorkflowResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStagingProjectNameWorkflowResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStagingProjectNameWorkflowResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PutStagingProjectNameWorkflowResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PutStagingProjectNameWorkflowResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PutStagingProjectNameWorkflowResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsActiveRequestCreatorsProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsActiveRequestCreatorsProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsActiveRequestCreatorsProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsActivityProjectNamePackageNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsActivityProjectNamePackageNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsActivityProjectNamePackageNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsAddedTimestampProjectNamePackageNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsAddedTimestampProjectNamePackageNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsAddedTimestampProjectNamePackageNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsGlobalCountersResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsGlobalCountersResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsGlobalCountersResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsLatestAddedResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsLatestAddedResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsLatestAddedResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsLatestUpdatedResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsLatestUpdatedResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsLatestUpdatedResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsMaintenanceStatisticsProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsMaintenanceStatisticsProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsMaintenanceStatisticsProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsMostActivePackagesResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsMostActivePackagesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsMostActivePackagesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsMostActiveProjectsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsMostActiveProjectsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsMostActiveProjectsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatisticsUpdatedTimestampProjectNamePackageNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatisticsUpdatedTimestampProjectNamePackageNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatisticsUpdatedTimestampProjectNamePackageNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusMessagesResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusMessagesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusMessagesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStatusMessagesResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStatusMessagesResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStatusMessagesResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteStatusMessagesIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteStatusMessagesIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteStatusMessagesIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusMessagesIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusMessagesIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusMessagesIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusProjectProjectNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusProjectProjectNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusProjectProjectNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusWorkerstatusResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusWorkerstatusResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusWorkerstatusResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusMessageResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusMessageResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusMessageResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusReportsProjectsProjectNameRequiredChecksResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusReportsProjectsProjectNameRequiredChecksResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusReportsProjectsProjectNameRequiredChecksResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStatusReportsProjectsProjectNameRequiredChecksResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStatusReportsProjectsProjectNameRequiredChecksResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStatusReportsProjectsProjectNameRequiredChecksResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetStatusReportsRequestsIdReportsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetStatusReportsRequestsIdReportsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetStatusReportsRequestsIdReportsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostStatusReportsRequestsIdReportsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostStatusReportsRequestsIdReportsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostStatusReportsRequestsIdReportsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostTriggerResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostTriggerResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostTriggerResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostTriggerRebuildResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostTriggerRebuildResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostTriggerRebuildResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostTriggerReleaseResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostTriggerReleaseResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostTriggerReleaseResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostTriggerRunserviceResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostTriggerRunserviceResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostTriggerRunserviceResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostTriggerWebhookResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostTriggerWebhookResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostTriggerWebhookResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostTriggerWorkflowResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostTriggerWorkflowResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostTriggerWorkflowResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetWorkerStatusResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetWorkerStatusResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetWorkerStatusResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetWorkerStatusResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetWorkerStatusResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetWorkerStatusResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type GetWorkerArchitectureNameWorkerIdResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r GetWorkerArchitectureNameWorkerIdResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r GetWorkerArchitectureNameWorkerIdResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } type PostWorkercmdCheckconstraintsResponse struct { Body []byte HTTPResponse *http.Response } // Status returns HTTPResponse.Status func (r PostWorkercmdCheckconstraintsResponse) Status() string { if r.HTTPResponse != nil { return r.HTTPResponse.Status } return http.StatusText(0) } // StatusCode returns HTTPResponse.StatusCode func (r PostWorkercmdCheckconstraintsResponse) StatusCode() int { if r.HTTPResponse != nil { return r.HTTPResponse.StatusCode } return 0 } // GetAboutWithResponse request returning *GetAboutResponse func (c *ClientWithResponses) GetAboutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAboutResponse, error) { rsp, err := c.GetAbout(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetAboutResponse(rsp) } // GetAnnouncementsWithResponse request returning *GetAnnouncementsResponse func (c *ClientWithResponses) GetAnnouncementsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAnnouncementsResponse, error) { rsp, err := c.GetAnnouncements(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetAnnouncementsResponse(rsp) } // PostAnnouncementsWithBodyWithResponse request with arbitrary body returning *PostAnnouncementsResponse func (c *ClientWithResponses) PostAnnouncementsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAnnouncementsResponse, error) { rsp, err := c.PostAnnouncementsWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostAnnouncementsResponse(rsp) } // DeleteAnnouncementsAnnouncementIdWithResponse request returning *DeleteAnnouncementsAnnouncementIdResponse func (c *ClientWithResponses) DeleteAnnouncementsAnnouncementIdWithResponse(ctx context.Context, announcementId int, reqEditors ...RequestEditorFn) (*DeleteAnnouncementsAnnouncementIdResponse, error) { rsp, err := c.DeleteAnnouncementsAnnouncementId(ctx, announcementId, reqEditors...) if err != nil { return nil, err } return ParseDeleteAnnouncementsAnnouncementIdResponse(rsp) } // GetAnnouncementsAnnouncementIdWithResponse request returning *GetAnnouncementsAnnouncementIdResponse func (c *ClientWithResponses) GetAnnouncementsAnnouncementIdWithResponse(ctx context.Context, announcementId int, reqEditors ...RequestEditorFn) (*GetAnnouncementsAnnouncementIdResponse, error) { rsp, err := c.GetAnnouncementsAnnouncementId(ctx, announcementId, reqEditors...) if err != nil { return nil, err } return ParseGetAnnouncementsAnnouncementIdResponse(rsp) } // PutAnnouncementsAnnouncementIdWithBodyWithResponse request with arbitrary body returning *PutAnnouncementsAnnouncementIdResponse func (c *ClientWithResponses) PutAnnouncementsAnnouncementIdWithBodyWithResponse(ctx context.Context, announcementId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAnnouncementsAnnouncementIdResponse, error) { rsp, err := c.PutAnnouncementsAnnouncementIdWithBody(ctx, announcementId, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutAnnouncementsAnnouncementIdResponse(rsp) } // GetArchitecturesWithResponse request returning *GetArchitecturesResponse func (c *ClientWithResponses) GetArchitecturesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetArchitecturesResponse, error) { rsp, err := c.GetArchitectures(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetArchitecturesResponse(rsp) } // GetArchitecturesArchitectureNameWithResponse request returning *GetArchitecturesArchitectureNameResponse func (c *ClientWithResponses) GetArchitecturesArchitectureNameWithResponse(ctx context.Context, architectureName string, reqEditors ...RequestEditorFn) (*GetArchitecturesArchitectureNameResponse, error) { rsp, err := c.GetArchitecturesArchitectureName(ctx, architectureName, reqEditors...) if err != nil { return nil, err } return ParseGetArchitecturesArchitectureNameResponse(rsp) } // GetAttributeWithResponse request returning *GetAttributeResponse func (c *ClientWithResponses) GetAttributeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAttributeResponse, error) { rsp, err := c.GetAttribute(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetAttributeResponse(rsp) } // DeleteAttributeNamespaceWithResponse request returning *DeleteAttributeNamespaceResponse func (c *ClientWithResponses) DeleteAttributeNamespaceWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*DeleteAttributeNamespaceResponse, error) { rsp, err := c.DeleteAttributeNamespace(ctx, namespace, reqEditors...) if err != nil { return nil, err } return ParseDeleteAttributeNamespaceResponse(rsp) } // GetAttributeNamespaceWithResponse request returning *GetAttributeNamespaceResponse func (c *ClientWithResponses) GetAttributeNamespaceWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*GetAttributeNamespaceResponse, error) { rsp, err := c.GetAttributeNamespace(ctx, namespace, reqEditors...) if err != nil { return nil, err } return ParseGetAttributeNamespaceResponse(rsp) } // DeleteAttributeNamespaceMetaWithResponse request returning *DeleteAttributeNamespaceMetaResponse func (c *ClientWithResponses) DeleteAttributeNamespaceMetaWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*DeleteAttributeNamespaceMetaResponse, error) { rsp, err := c.DeleteAttributeNamespaceMeta(ctx, namespace, reqEditors...) if err != nil { return nil, err } return ParseDeleteAttributeNamespaceMetaResponse(rsp) } // GetAttributeNamespaceMetaWithResponse request returning *GetAttributeNamespaceMetaResponse func (c *ClientWithResponses) GetAttributeNamespaceMetaWithResponse(ctx context.Context, namespace string, reqEditors ...RequestEditorFn) (*GetAttributeNamespaceMetaResponse, error) { rsp, err := c.GetAttributeNamespaceMeta(ctx, namespace, reqEditors...) if err != nil { return nil, err } return ParseGetAttributeNamespaceMetaResponse(rsp) } // PostAttributeNamespaceMetaWithBodyWithResponse request with arbitrary body returning *PostAttributeNamespaceMetaResponse func (c *ClientWithResponses) PostAttributeNamespaceMetaWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttributeNamespaceMetaResponse, error) { rsp, err := c.PostAttributeNamespaceMetaWithBody(ctx, namespace, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostAttributeNamespaceMetaResponse(rsp) } // PutAttributeNamespaceMetaWithBodyWithResponse request with arbitrary body returning *PutAttributeNamespaceMetaResponse func (c *ClientWithResponses) PutAttributeNamespaceMetaWithBodyWithResponse(ctx context.Context, namespace string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAttributeNamespaceMetaResponse, error) { rsp, err := c.PutAttributeNamespaceMetaWithBody(ctx, namespace, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutAttributeNamespaceMetaResponse(rsp) } // DeleteAttributeNamespaceAttributeNameWithResponse request returning *DeleteAttributeNamespaceAttributeNameResponse func (c *ClientWithResponses) DeleteAttributeNamespaceAttributeNameWithResponse(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*DeleteAttributeNamespaceAttributeNameResponse, error) { rsp, err := c.DeleteAttributeNamespaceAttributeName(ctx, namespace, attributeName, reqEditors...) if err != nil { return nil, err } return ParseDeleteAttributeNamespaceAttributeNameResponse(rsp) } // DeleteAttributeNamespaceAttributeNameMetaWithResponse request returning *DeleteAttributeNamespaceAttributeNameMetaResponse func (c *ClientWithResponses) DeleteAttributeNamespaceAttributeNameMetaWithResponse(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*DeleteAttributeNamespaceAttributeNameMetaResponse, error) { rsp, err := c.DeleteAttributeNamespaceAttributeNameMeta(ctx, namespace, attributeName, reqEditors...) if err != nil { return nil, err } return ParseDeleteAttributeNamespaceAttributeNameMetaResponse(rsp) } // GetAttributeNamespaceAttributeNameMetaWithResponse request returning *GetAttributeNamespaceAttributeNameMetaResponse func (c *ClientWithResponses) GetAttributeNamespaceAttributeNameMetaWithResponse(ctx context.Context, namespace string, attributeName string, reqEditors ...RequestEditorFn) (*GetAttributeNamespaceAttributeNameMetaResponse, error) { rsp, err := c.GetAttributeNamespaceAttributeNameMeta(ctx, namespace, attributeName, reqEditors...) if err != nil { return nil, err } return ParseGetAttributeNamespaceAttributeNameMetaResponse(rsp) } // PostAttributeNamespaceAttributeNameMetaWithBodyWithResponse request with arbitrary body returning *PostAttributeNamespaceAttributeNameMetaResponse func (c *ClientWithResponses) PostAttributeNamespaceAttributeNameMetaWithBodyWithResponse(ctx context.Context, namespace string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAttributeNamespaceAttributeNameMetaResponse, error) { rsp, err := c.PostAttributeNamespaceAttributeNameMetaWithBody(ctx, namespace, attributeName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostAttributeNamespaceAttributeNameMetaResponse(rsp) } // PutAttributeNamespaceAttributeNameMetaWithBodyWithResponse request with arbitrary body returning *PutAttributeNamespaceAttributeNameMetaResponse func (c *ClientWithResponses) PutAttributeNamespaceAttributeNameMetaWithBodyWithResponse(ctx context.Context, namespace string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAttributeNamespaceAttributeNameMetaResponse, error) { rsp, err := c.PutAttributeNamespaceAttributeNameMetaWithBody(ctx, namespace, attributeName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutAttributeNamespaceAttributeNameMetaResponse(rsp) } // GetBuildWithResponse request returning *GetBuildResponse func (c *ClientWithResponses) GetBuildWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBuildResponse, error) { rsp, err := c.GetBuild(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetBuildResponse(rsp) } // GetBuildWorkerstatusWithResponse request returning *GetBuildWorkerstatusResponse func (c *ClientWithResponses) GetBuildWorkerstatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetBuildWorkerstatusResponse, error) { rsp, err := c.GetBuildWorkerstatus(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetBuildWorkerstatusResponse(rsp) } // GetBuildProjectNameWithResponse request returning *GetBuildProjectNameResponse func (c *ClientWithResponses) GetBuildProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameResponse, error) { rsp, err := c.GetBuildProjectName(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameResponse(rsp) } // PostBuildProjectNameWithResponse request returning *PostBuildProjectNameResponse func (c *ClientWithResponses) PostBuildProjectNameWithResponse(ctx context.Context, projectName string, params *PostBuildProjectNameParams, reqEditors ...RequestEditorFn) (*PostBuildProjectNameResponse, error) { rsp, err := c.PostBuildProjectName(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostBuildProjectNameResponse(rsp) } // GetBuildProjectNameResultWithResponse request returning *GetBuildProjectNameResultResponse func (c *ClientWithResponses) GetBuildProjectNameResultWithResponse(ctx context.Context, projectName string, params *GetBuildProjectNameResultParams, reqEditors ...RequestEditorFn) (*GetBuildProjectNameResultResponse, error) { rsp, err := c.GetBuildProjectNameResult(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameResultResponse(rsp) } // GetBuildProjectNameRepositoryNameWithResponse request returning *GetBuildProjectNameRepositoryNameResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameWithResponse(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryName(ctx, projectName, repositoryName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameResponse(rsp) } // GetBuildProjectNameRepositoryNameBuildconfigWithResponse request returning *GetBuildProjectNameRepositoryNameBuildconfigResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameBuildconfigWithResponse(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameBuildconfigResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameBuildconfig(ctx, projectName, repositoryName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameBuildconfigResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, params *GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoParams, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo(ctx, projectName, repositoryName, architectureName, params, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse(rsp) } // PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoWithResponse request returning *PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse func (c *ClientWithResponses) PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse, error) { rsp, err := c.PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfo(ctx, projectName, repositoryName, architectureName, reqEditors...) if err != nil { return nil, err } return ParsePostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, params *GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryParams, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNameJobhistory(ctx, projectName, repositoryName, architectureName, params, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNameRepositoryWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNameRepositoryWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNameRepository(ctx, projectName, repositoryName, architectureName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageName(ctx, projectName, repositoryName, architectureName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenv(ctx, projectName, repositoryName, architectureName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfo(ctx, projectName, repositoryName, architectureName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse(rsp) } // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithBodyWithResponse request with arbitrary body returning *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse func (c *ClientWithResponses) PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse, error) { rsp, err := c.PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithBody(ctx, projectName, repositoryName, architectureName, packageName, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse(rsp) } func (c *ClientWithResponses) PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithTextBodyWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, params *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoParams, body PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoTextRequestBody, reqEditors ...RequestEditorFn) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse, error) { rsp, err := c.PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithTextBody(ctx, projectName, repositoryName, architectureName, packageName, params, body, reqEditors...) if err != nil { return nil, err } return ParsePostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistory(ctx, projectName, repositoryName, architectureName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse(rsp) } // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryWithResponse request returning *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse func (c *ClientWithResponses) PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse, error) { rsp, err := c.PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistory(ctx, projectName, repositoryName, architectureName, packageName, reqEditors...) if err != nil { return nil, err } return ParsePostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatus(ctx, projectName, repositoryName, architectureName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLog(ctx, projectName, repositoryName, architectureName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReason(ctx, projectName, repositoryName, architectureName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatistics(ctx, projectName, repositoryName, architectureName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatus(ctx, projectName, repositoryName, architectureName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse(rsp) } // PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusWithResponse request returning *PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse func (c *ClientWithResponses) PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, reqEditors ...RequestEditorFn) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse, error) { rsp, err := c.PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatus(ctx, projectName, repositoryName, architectureName, packageName, reqEditors...) if err != nil { return nil, err } return ParsePostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse(rsp) } // DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse request returning *DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse func (c *ClientWithResponses) DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName []DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName, fileName string, reqEditors ...RequestEditorFn) (*DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse, error) { rsp, err := c.DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName(ctx, projectName, repositoryName, architectureName, packageName, fileName, reqEditors...) if err != nil { return nil, err } return ParseDeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, fileName string, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileName(ctx, projectName, repositoryName, architectureName, packageName, fileName, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse(rsp) } // PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithBodyWithResponse request with arbitrary body returning *PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse func (c *ClientWithResponses) PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName []PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameParamsPackageName, fileName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse, error) { rsp, err := c.PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithBody(ctx, projectName, repositoryName, architectureName, packageName, fileName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse(rsp) } // GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoWithResponse request returning *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse func (c *ClientWithResponses) GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, packageName string, fileName string, params *GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoParams, reqEditors ...RequestEditorFn) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse, error) { rsp, err := c.GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfo(ctx, projectName, repositoryName, architectureName, packageName, fileName, params, reqEditors...) if err != nil { return nil, err } return ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse(rsp) } // DeleteCommentCommentIdWithResponse request returning *DeleteCommentCommentIdResponse func (c *ClientWithResponses) DeleteCommentCommentIdWithResponse(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*DeleteCommentCommentIdResponse, error) { rsp, err := c.DeleteCommentCommentId(ctx, commentId, reqEditors...) if err != nil { return nil, err } return ParseDeleteCommentCommentIdResponse(rsp) } // GetCommentCommentIdHistoryWithResponse request returning *GetCommentCommentIdHistoryResponse func (c *ClientWithResponses) GetCommentCommentIdHistoryWithResponse(ctx context.Context, commentId int, reqEditors ...RequestEditorFn) (*GetCommentCommentIdHistoryResponse, error) { rsp, err := c.GetCommentCommentIdHistory(ctx, commentId, reqEditors...) if err != nil { return nil, err } return ParseGetCommentCommentIdHistoryResponse(rsp) } // GetCommentsPackageProjectNamePackageNameWithResponse request returning *GetCommentsPackageProjectNamePackageNameResponse func (c *ClientWithResponses) GetCommentsPackageProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*GetCommentsPackageProjectNamePackageNameResponse, error) { rsp, err := c.GetCommentsPackageProjectNamePackageName(ctx, projectName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetCommentsPackageProjectNamePackageNameResponse(rsp) } // PostCommentsPackageProjectNamePackageNameWithBodyWithResponse request with arbitrary body returning *PostCommentsPackageProjectNamePackageNameResponse func (c *ClientWithResponses) PostCommentsPackageProjectNamePackageNameWithBodyWithResponse(ctx context.Context, projectName string, packageName string, params *PostCommentsPackageProjectNamePackageNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsPackageProjectNamePackageNameResponse, error) { rsp, err := c.PostCommentsPackageProjectNamePackageNameWithBody(ctx, projectName, packageName, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostCommentsPackageProjectNamePackageNameResponse(rsp) } func (c *ClientWithResponses) PostCommentsPackageProjectNamePackageNameWithTextBodyWithResponse(ctx context.Context, projectName string, packageName string, params *PostCommentsPackageProjectNamePackageNameParams, body PostCommentsPackageProjectNamePackageNameTextRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsPackageProjectNamePackageNameResponse, error) { rsp, err := c.PostCommentsPackageProjectNamePackageNameWithTextBody(ctx, projectName, packageName, params, body, reqEditors...) if err != nil { return nil, err } return ParsePostCommentsPackageProjectNamePackageNameResponse(rsp) } // GetCommentsProjectProjectNameWithResponse request returning *GetCommentsProjectProjectNameResponse func (c *ClientWithResponses) GetCommentsProjectProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetCommentsProjectProjectNameResponse, error) { rsp, err := c.GetCommentsProjectProjectName(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetCommentsProjectProjectNameResponse(rsp) } // PostCommentsProjectProjectNameWithBodyWithResponse request with arbitrary body returning *PostCommentsProjectProjectNameResponse func (c *ClientWithResponses) PostCommentsProjectProjectNameWithBodyWithResponse(ctx context.Context, projectName string, params *PostCommentsProjectProjectNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsProjectProjectNameResponse, error) { rsp, err := c.PostCommentsProjectProjectNameWithBody(ctx, projectName, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostCommentsProjectProjectNameResponse(rsp) } func (c *ClientWithResponses) PostCommentsProjectProjectNameWithTextBodyWithResponse(ctx context.Context, projectName string, params *PostCommentsProjectProjectNameParams, body PostCommentsProjectProjectNameTextRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsProjectProjectNameResponse, error) { rsp, err := c.PostCommentsProjectProjectNameWithTextBody(ctx, projectName, params, body, reqEditors...) if err != nil { return nil, err } return ParsePostCommentsProjectProjectNameResponse(rsp) } // GetCommentsRequestIdWithResponse request returning *GetCommentsRequestIdResponse func (c *ClientWithResponses) GetCommentsRequestIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetCommentsRequestIdResponse, error) { rsp, err := c.GetCommentsRequestId(ctx, id, reqEditors...) if err != nil { return nil, err } return ParseGetCommentsRequestIdResponse(rsp) } // PostCommentsRequestIdWithBodyWithResponse request with arbitrary body returning *PostCommentsRequestIdResponse func (c *ClientWithResponses) PostCommentsRequestIdWithBodyWithResponse(ctx context.Context, id int, params *PostCommentsRequestIdParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostCommentsRequestIdResponse, error) { rsp, err := c.PostCommentsRequestIdWithBody(ctx, id, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostCommentsRequestIdResponse(rsp) } func (c *ClientWithResponses) PostCommentsRequestIdWithTextBodyWithResponse(ctx context.Context, id int, params *PostCommentsRequestIdParams, body PostCommentsRequestIdTextRequestBody, reqEditors ...RequestEditorFn) (*PostCommentsRequestIdResponse, error) { rsp, err := c.PostCommentsRequestIdWithTextBody(ctx, id, params, body, reqEditors...) if err != nil { return nil, err } return ParsePostCommentsRequestIdResponse(rsp) } // GetCommentsUserWithResponse request returning *GetCommentsUserResponse func (c *ClientWithResponses) GetCommentsUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCommentsUserResponse, error) { rsp, err := c.GetCommentsUser(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetCommentsUserResponse(rsp) } // GetConfigurationWithResponse request returning *GetConfigurationResponse func (c *ClientWithResponses) GetConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigurationResponse, error) { rsp, err := c.GetConfiguration(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetConfigurationResponse(rsp) } // PutConfigurationWithBodyWithResponse request with arbitrary body returning *PutConfigurationResponse func (c *ClientWithResponses) PutConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutConfigurationResponse, error) { rsp, err := c.PutConfigurationWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutConfigurationResponse(rsp) } // GetDistributionsWithResponse request returning *GetDistributionsResponse func (c *ClientWithResponses) GetDistributionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDistributionsResponse, error) { rsp, err := c.GetDistributions(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetDistributionsResponse(rsp) } // PostDistributionsWithBodyWithResponse request with arbitrary body returning *PostDistributionsResponse func (c *ClientWithResponses) PostDistributionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDistributionsResponse, error) { rsp, err := c.PostDistributionsWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostDistributionsResponse(rsp) } // PutDistributionsBulkReplaceWithBodyWithResponse request with arbitrary body returning *PutDistributionsBulkReplaceResponse func (c *ClientWithResponses) PutDistributionsBulkReplaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutDistributionsBulkReplaceResponse, error) { rsp, err := c.PutDistributionsBulkReplaceWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutDistributionsBulkReplaceResponse(rsp) } // GetDistributionsIncludeRemotesWithResponse request returning *GetDistributionsIncludeRemotesResponse func (c *ClientWithResponses) GetDistributionsIncludeRemotesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDistributionsIncludeRemotesResponse, error) { rsp, err := c.GetDistributionsIncludeRemotes(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetDistributionsIncludeRemotesResponse(rsp) } // DeleteDistributionsDistributionIdWithResponse request returning *DeleteDistributionsDistributionIdResponse func (c *ClientWithResponses) DeleteDistributionsDistributionIdWithResponse(ctx context.Context, distributionId int, reqEditors ...RequestEditorFn) (*DeleteDistributionsDistributionIdResponse, error) { rsp, err := c.DeleteDistributionsDistributionId(ctx, distributionId, reqEditors...) if err != nil { return nil, err } return ParseDeleteDistributionsDistributionIdResponse(rsp) } // GetDistributionsDistributionIdWithResponse request returning *GetDistributionsDistributionIdResponse func (c *ClientWithResponses) GetDistributionsDistributionIdWithResponse(ctx context.Context, distributionId int, reqEditors ...RequestEditorFn) (*GetDistributionsDistributionIdResponse, error) { rsp, err := c.GetDistributionsDistributionId(ctx, distributionId, reqEditors...) if err != nil { return nil, err } return ParseGetDistributionsDistributionIdResponse(rsp) } // PutDistributionsDistributionIdWithBodyWithResponse request with arbitrary body returning *PutDistributionsDistributionIdResponse func (c *ClientWithResponses) PutDistributionsDistributionIdWithBodyWithResponse(ctx context.Context, distributionId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutDistributionsDistributionIdResponse, error) { rsp, err := c.PutDistributionsDistributionIdWithBody(ctx, distributionId, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutDistributionsDistributionIdResponse(rsp) } // GetGroupWithResponse request returning *GetGroupResponse func (c *ClientWithResponses) GetGroupWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetGroupResponse, error) { rsp, err := c.GetGroup(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetGroupResponse(rsp) } // DeleteGroupGroupTitleWithResponse request returning *DeleteGroupGroupTitleResponse func (c *ClientWithResponses) DeleteGroupGroupTitleWithResponse(ctx context.Context, groupTitle string, reqEditors ...RequestEditorFn) (*DeleteGroupGroupTitleResponse, error) { rsp, err := c.DeleteGroupGroupTitle(ctx, groupTitle, reqEditors...) if err != nil { return nil, err } return ParseDeleteGroupGroupTitleResponse(rsp) } // GetGroupGroupTitleWithResponse request returning *GetGroupGroupTitleResponse func (c *ClientWithResponses) GetGroupGroupTitleWithResponse(ctx context.Context, groupTitle string, reqEditors ...RequestEditorFn) (*GetGroupGroupTitleResponse, error) { rsp, err := c.GetGroupGroupTitle(ctx, groupTitle, reqEditors...) if err != nil { return nil, err } return ParseGetGroupGroupTitleResponse(rsp) } // PostGroupGroupTitleWithResponse request returning *PostGroupGroupTitleResponse func (c *ClientWithResponses) PostGroupGroupTitleWithResponse(ctx context.Context, groupTitle string, params *PostGroupGroupTitleParams, reqEditors ...RequestEditorFn) (*PostGroupGroupTitleResponse, error) { rsp, err := c.PostGroupGroupTitle(ctx, groupTitle, params, reqEditors...) if err != nil { return nil, err } return ParsePostGroupGroupTitleResponse(rsp) } // PutGroupGroupTitleWithBodyWithResponse request with arbitrary body returning *PutGroupGroupTitleResponse func (c *ClientWithResponses) PutGroupGroupTitleWithBodyWithResponse(ctx context.Context, groupTitle string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutGroupGroupTitleResponse, error) { rsp, err := c.PutGroupGroupTitleWithBody(ctx, groupTitle, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutGroupGroupTitleResponse(rsp) } // GetImageTemplatesWithResponse request returning *GetImageTemplatesResponse func (c *ClientWithResponses) GetImageTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetImageTemplatesResponse, error) { rsp, err := c.GetImageTemplates(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetImageTemplatesResponse(rsp) } // GetIssueTrackersWithResponse request returning *GetIssueTrackersResponse func (c *ClientWithResponses) GetIssueTrackersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIssueTrackersResponse, error) { rsp, err := c.GetIssueTrackers(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetIssueTrackersResponse(rsp) } // PostIssueTrackersWithBodyWithResponse request with arbitrary body returning *PostIssueTrackersResponse func (c *ClientWithResponses) PostIssueTrackersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostIssueTrackersResponse, error) { rsp, err := c.PostIssueTrackersWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostIssueTrackersResponse(rsp) } // DeleteIssueTrackersIssueTrackerNameWithResponse request returning *DeleteIssueTrackersIssueTrackerNameResponse func (c *ClientWithResponses) DeleteIssueTrackersIssueTrackerNameWithResponse(ctx context.Context, issueTrackerName string, reqEditors ...RequestEditorFn) (*DeleteIssueTrackersIssueTrackerNameResponse, error) { rsp, err := c.DeleteIssueTrackersIssueTrackerName(ctx, issueTrackerName, reqEditors...) if err != nil { return nil, err } return ParseDeleteIssueTrackersIssueTrackerNameResponse(rsp) } // GetIssueTrackersIssueTrackerNameWithResponse request returning *GetIssueTrackersIssueTrackerNameResponse func (c *ClientWithResponses) GetIssueTrackersIssueTrackerNameWithResponse(ctx context.Context, issueTrackerName string, reqEditors ...RequestEditorFn) (*GetIssueTrackersIssueTrackerNameResponse, error) { rsp, err := c.GetIssueTrackersIssueTrackerName(ctx, issueTrackerName, reqEditors...) if err != nil { return nil, err } return ParseGetIssueTrackersIssueTrackerNameResponse(rsp) } // PutIssueTrackersIssueTrackerNameWithBodyWithResponse request with arbitrary body returning *PutIssueTrackersIssueTrackerNameResponse func (c *ClientWithResponses) PutIssueTrackersIssueTrackerNameWithBodyWithResponse(ctx context.Context, issueTrackerName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutIssueTrackersIssueTrackerNameResponse, error) { rsp, err := c.PutIssueTrackersIssueTrackerNameWithBody(ctx, issueTrackerName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutIssueTrackersIssueTrackerNameResponse(rsp) } // GetIssueTrackersIssueTrackerNameIssuesIssueNameWithResponse request returning *GetIssueTrackersIssueTrackerNameIssuesIssueNameResponse func (c *ClientWithResponses) GetIssueTrackersIssueTrackerNameIssuesIssueNameWithResponse(ctx context.Context, issueTrackerName string, issueName string, reqEditors ...RequestEditorFn) (*GetIssueTrackersIssueTrackerNameIssuesIssueNameResponse, error) { rsp, err := c.GetIssueTrackersIssueTrackerNameIssuesIssueName(ctx, issueTrackerName, issueName, reqEditors...) if err != nil { return nil, err } return ParseGetIssueTrackersIssueTrackerNameIssuesIssueNameResponse(rsp) } // GetMyNotificationsWithResponse request returning *GetMyNotificationsResponse func (c *ClientWithResponses) GetMyNotificationsWithResponse(ctx context.Context, params *GetMyNotificationsParams, reqEditors ...RequestEditorFn) (*GetMyNotificationsResponse, error) { rsp, err := c.GetMyNotifications(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetMyNotificationsResponse(rsp) } // PutMyNotificationsIdWithResponse request returning *PutMyNotificationsIdResponse func (c *ClientWithResponses) PutMyNotificationsIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*PutMyNotificationsIdResponse, error) { rsp, err := c.PutMyNotificationsId(ctx, id, reqEditors...) if err != nil { return nil, err } return ParsePutMyNotificationsIdResponse(rsp) } // GetPersonWithResponse request returning *GetPersonResponse func (c *ClientWithResponses) GetPersonWithResponse(ctx context.Context, params *GetPersonParams, reqEditors ...RequestEditorFn) (*GetPersonResponse, error) { rsp, err := c.GetPerson(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetPersonResponse(rsp) } // PostPersonWithBodyWithResponse request with arbitrary body returning *PostPersonResponse func (c *ClientWithResponses) PostPersonWithBodyWithResponse(ctx context.Context, params *PostPersonParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPersonResponse, error) { rsp, err := c.PostPersonWithBody(ctx, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostPersonResponse(rsp) } // PostPersonRegisterWithBodyWithResponse request with arbitrary body returning *PostPersonRegisterResponse func (c *ClientWithResponses) PostPersonRegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPersonRegisterResponse, error) { rsp, err := c.PostPersonRegisterWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostPersonRegisterResponse(rsp) } // GetPersonLoginWithResponse request returning *GetPersonLoginResponse func (c *ClientWithResponses) GetPersonLoginWithResponse(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*GetPersonLoginResponse, error) { rsp, err := c.GetPersonLogin(ctx, login, reqEditors...) if err != nil { return nil, err } return ParseGetPersonLoginResponse(rsp) } // PostPersonLoginWithBodyWithResponse request with arbitrary body returning *PostPersonLoginResponse func (c *ClientWithResponses) PostPersonLoginWithBodyWithResponse(ctx context.Context, login string, params *PostPersonLoginParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostPersonLoginResponse, error) { rsp, err := c.PostPersonLoginWithBody(ctx, login, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostPersonLoginResponse(rsp) } func (c *ClientWithResponses) PostPersonLoginWithTextBodyWithResponse(ctx context.Context, login string, params *PostPersonLoginParams, body PostPersonLoginTextRequestBody, reqEditors ...RequestEditorFn) (*PostPersonLoginResponse, error) { rsp, err := c.PostPersonLoginWithTextBody(ctx, login, params, body, reqEditors...) if err != nil { return nil, err } return ParsePostPersonLoginResponse(rsp) } // PutPersonLoginWithBodyWithResponse request with arbitrary body returning *PutPersonLoginResponse func (c *ClientWithResponses) PutPersonLoginWithBodyWithResponse(ctx context.Context, login string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPersonLoginResponse, error) { rsp, err := c.PutPersonLoginWithBody(ctx, login, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutPersonLoginResponse(rsp) } // GetPersonLoginGroupWithResponse request returning *GetPersonLoginGroupResponse func (c *ClientWithResponses) GetPersonLoginGroupWithResponse(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*GetPersonLoginGroupResponse, error) { rsp, err := c.GetPersonLoginGroup(ctx, login, reqEditors...) if err != nil { return nil, err } return ParseGetPersonLoginGroupResponse(rsp) } // GetPersonLoginTokenWithResponse request returning *GetPersonLoginTokenResponse func (c *ClientWithResponses) GetPersonLoginTokenWithResponse(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*GetPersonLoginTokenResponse, error) { rsp, err := c.GetPersonLoginToken(ctx, login, reqEditors...) if err != nil { return nil, err } return ParseGetPersonLoginTokenResponse(rsp) } // PostPersonLoginTokenWithResponse request returning *PostPersonLoginTokenResponse func (c *ClientWithResponses) PostPersonLoginTokenWithResponse(ctx context.Context, login string, params *PostPersonLoginTokenParams, reqEditors ...RequestEditorFn) (*PostPersonLoginTokenResponse, error) { rsp, err := c.PostPersonLoginToken(ctx, login, params, reqEditors...) if err != nil { return nil, err } return ParsePostPersonLoginTokenResponse(rsp) } // DeletePersonLoginTokenIdWithResponse request returning *DeletePersonLoginTokenIdResponse func (c *ClientWithResponses) DeletePersonLoginTokenIdWithResponse(ctx context.Context, login string, id string, reqEditors ...RequestEditorFn) (*DeletePersonLoginTokenIdResponse, error) { rsp, err := c.DeletePersonLoginTokenId(ctx, login, id, reqEditors...) if err != nil { return nil, err } return ParseDeletePersonLoginTokenIdResponse(rsp) } // GetPersonLoginWatchlistWithResponse request returning *GetPersonLoginWatchlistResponse func (c *ClientWithResponses) GetPersonLoginWatchlistWithResponse(ctx context.Context, login string, reqEditors ...RequestEditorFn) (*GetPersonLoginWatchlistResponse, error) { rsp, err := c.GetPersonLoginWatchlist(ctx, login, reqEditors...) if err != nil { return nil, err } return ParseGetPersonLoginWatchlistResponse(rsp) } // PutPersonLoginWatchlistWithBodyWithResponse request with arbitrary body returning *PutPersonLoginWatchlistResponse func (c *ClientWithResponses) PutPersonLoginWatchlistWithBodyWithResponse(ctx context.Context, login string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutPersonLoginWatchlistResponse, error) { rsp, err := c.PutPersonLoginWatchlistWithBody(ctx, login, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutPersonLoginWatchlistResponse(rsp) } // GetPublishedWithResponse request returning *GetPublishedResponse func (c *ClientWithResponses) GetPublishedWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublishedResponse, error) { rsp, err := c.GetPublished(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetPublishedResponse(rsp) } // GetPublishedProjectNameWithResponse request returning *GetPublishedProjectNameResponse func (c *ClientWithResponses) GetPublishedProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameResponse, error) { rsp, err := c.GetPublishedProjectName(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetPublishedProjectNameResponse(rsp) } // GetPublishedProjectNameRepositoryNameWithResponse request returning *GetPublishedProjectNameRepositoryNameResponse func (c *ClientWithResponses) GetPublishedProjectNameRepositoryNameWithResponse(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameRepositoryNameResponse, error) { rsp, err := c.GetPublishedProjectNameRepositoryName(ctx, projectName, repositoryName, reqEditors...) if err != nil { return nil, err } return ParseGetPublishedProjectNameRepositoryNameResponse(rsp) } // GetPublishedProjectNameRepositoryNameArchitectureNameWithResponse request returning *GetPublishedProjectNameRepositoryNameArchitectureNameResponse func (c *ClientWithResponses) GetPublishedProjectNameRepositoryNameArchitectureNameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameRepositoryNameArchitectureNameResponse, error) { rsp, err := c.GetPublishedProjectNameRepositoryNameArchitectureName(ctx, projectName, repositoryName, architectureName, reqEditors...) if err != nil { return nil, err } return ParseGetPublishedProjectNameRepositoryNameArchitectureNameResponse(rsp) } // GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameWithResponse request returning *GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse func (c *ClientWithResponses) GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, binaryFilename string, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse, error) { rsp, err := c.GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilename(ctx, projectName, repositoryName, architectureName, binaryFilename, reqEditors...) if err != nil { return nil, err } return ParseGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse(rsp) } // GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpWithResponse request returning *GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse func (c *ClientWithResponses) GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, binaryFilename string, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse, error) { rsp, err := c.GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmp(ctx, projectName, repositoryName, architectureName, binaryFilename, reqEditors...) if err != nil { return nil, err } return ParseGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse(rsp) } // GetPublishedProjectNameRepositoryNameviewStatusWithResponse request returning *GetPublishedProjectNameRepositoryNameviewStatusResponse func (c *ClientWithResponses) GetPublishedProjectNameRepositoryNameviewStatusWithResponse(ctx context.Context, projectName string, repositoryName string, params *GetPublishedProjectNameRepositoryNameviewStatusParams, reqEditors ...RequestEditorFn) (*GetPublishedProjectNameRepositoryNameviewStatusResponse, error) { rsp, err := c.GetPublishedProjectNameRepositoryNameviewStatus(ctx, projectName, repositoryName, params, reqEditors...) if err != nil { return nil, err } return ParseGetPublishedProjectNameRepositoryNameviewStatusResponse(rsp) } // GetRequestWithResponse request returning *GetRequestResponse func (c *ClientWithResponses) GetRequestWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRequestResponse, error) { rsp, err := c.GetRequest(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetRequestResponse(rsp) } // PostRequestWithBodyWithResponse request with arbitrary body returning *PostRequestResponse func (c *ClientWithResponses) PostRequestWithBodyWithResponse(ctx context.Context, params *PostRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRequestResponse, error) { rsp, err := c.PostRequestWithBody(ctx, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostRequestResponse(rsp) } // DeleteRequestIdWithResponse request returning *DeleteRequestIdResponse func (c *ClientWithResponses) DeleteRequestIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteRequestIdResponse, error) { rsp, err := c.DeleteRequestId(ctx, id, reqEditors...) if err != nil { return nil, err } return ParseDeleteRequestIdResponse(rsp) } // GetRequestIdWithResponse request returning *GetRequestIdResponse func (c *ClientWithResponses) GetRequestIdWithResponse(ctx context.Context, id int, params *GetRequestIdParams, reqEditors ...RequestEditorFn) (*GetRequestIdResponse, error) { rsp, err := c.GetRequestId(ctx, id, params, reqEditors...) if err != nil { return nil, err } return ParseGetRequestIdResponse(rsp) } // PostRequestIdWithResponse request returning *PostRequestIdResponse func (c *ClientWithResponses) PostRequestIdWithResponse(ctx context.Context, id int, params *PostRequestIdParams, reqEditors ...RequestEditorFn) (*PostRequestIdResponse, error) { rsp, err := c.PostRequestId(ctx, id, params, reqEditors...) if err != nil { return nil, err } return ParsePostRequestIdResponse(rsp) } // PutRequestIdWithBodyWithResponse request with arbitrary body returning *PutRequestIdResponse func (c *ClientWithResponses) PutRequestIdWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutRequestIdResponse, error) { rsp, err := c.PutRequestIdWithBody(ctx, id, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutRequestIdResponse(rsp) } // PostRequestIdcmdDiffWithResponse request returning *PostRequestIdcmdDiffResponse func (c *ClientWithResponses) PostRequestIdcmdDiffWithResponse(ctx context.Context, id int, params *PostRequestIdcmdDiffParams, reqEditors ...RequestEditorFn) (*PostRequestIdcmdDiffResponse, error) { rsp, err := c.PostRequestIdcmdDiff(ctx, id, params, reqEditors...) if err != nil { return nil, err } return ParsePostRequestIdcmdDiffResponse(rsp) } // GetRequestviewCollectionWithResponse request returning *GetRequestviewCollectionResponse func (c *ClientWithResponses) GetRequestviewCollectionWithResponse(ctx context.Context, params *GetRequestviewCollectionParams, reqEditors ...RequestEditorFn) (*GetRequestviewCollectionResponse, error) { rsp, err := c.GetRequestviewCollection(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetRequestviewCollectionResponse(rsp) } // GetSearchWithResponse request returning *GetSearchResponse func (c *ClientWithResponses) GetSearchWithResponse(ctx context.Context, params *GetSearchParams, reqEditors ...RequestEditorFn) (*GetSearchResponse, error) { rsp, err := c.GetSearch(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchResponse(rsp) } // PostSearchWithResponse request returning *PostSearchResponse func (c *ClientWithResponses) PostSearchWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchResponse, error) { rsp, err := c.PostSearch(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchResponse(rsp) } // GetSearchChannelWithResponse request returning *GetSearchChannelResponse func (c *ClientWithResponses) GetSearchChannelWithResponse(ctx context.Context, params *GetSearchChannelParams, reqEditors ...RequestEditorFn) (*GetSearchChannelResponse, error) { rsp, err := c.GetSearchChannel(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchChannelResponse(rsp) } // PostSearchChannelWithResponse request returning *PostSearchChannelResponse func (c *ClientWithResponses) PostSearchChannelWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchChannelResponse, error) { rsp, err := c.PostSearchChannel(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchChannelResponse(rsp) } // GetSearchChannelBinaryWithResponse request returning *GetSearchChannelBinaryResponse func (c *ClientWithResponses) GetSearchChannelBinaryWithResponse(ctx context.Context, params *GetSearchChannelBinaryParams, reqEditors ...RequestEditorFn) (*GetSearchChannelBinaryResponse, error) { rsp, err := c.GetSearchChannelBinary(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchChannelBinaryResponse(rsp) } // PostSearchChannelBinaryWithResponse request returning *PostSearchChannelBinaryResponse func (c *ClientWithResponses) PostSearchChannelBinaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchChannelBinaryResponse, error) { rsp, err := c.PostSearchChannelBinary(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchChannelBinaryResponse(rsp) } // GetSearchChannelBinaryIdWithResponse request returning *GetSearchChannelBinaryIdResponse func (c *ClientWithResponses) GetSearchChannelBinaryIdWithResponse(ctx context.Context, params *GetSearchChannelBinaryIdParams, reqEditors ...RequestEditorFn) (*GetSearchChannelBinaryIdResponse, error) { rsp, err := c.GetSearchChannelBinaryId(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchChannelBinaryIdResponse(rsp) } // PostSearchChannelBinaryIdWithResponse request returning *PostSearchChannelBinaryIdResponse func (c *ClientWithResponses) PostSearchChannelBinaryIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchChannelBinaryIdResponse, error) { rsp, err := c.PostSearchChannelBinaryId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchChannelBinaryIdResponse(rsp) } // GetSearchIssueWithResponse request returning *GetSearchIssueResponse func (c *ClientWithResponses) GetSearchIssueWithResponse(ctx context.Context, params *GetSearchIssueParams, reqEditors ...RequestEditorFn) (*GetSearchIssueResponse, error) { rsp, err := c.GetSearchIssue(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchIssueResponse(rsp) } // PostSearchIssueWithResponse request returning *PostSearchIssueResponse func (c *ClientWithResponses) PostSearchIssueWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchIssueResponse, error) { rsp, err := c.PostSearchIssue(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchIssueResponse(rsp) } // GetSearchMissingOwnerWithResponse request returning *GetSearchMissingOwnerResponse func (c *ClientWithResponses) GetSearchMissingOwnerWithResponse(ctx context.Context, params *GetSearchMissingOwnerParams, reqEditors ...RequestEditorFn) (*GetSearchMissingOwnerResponse, error) { rsp, err := c.GetSearchMissingOwner(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchMissingOwnerResponse(rsp) } // PostSearchMissingOwnerWithResponse request returning *PostSearchMissingOwnerResponse func (c *ClientWithResponses) PostSearchMissingOwnerWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchMissingOwnerResponse, error) { rsp, err := c.PostSearchMissingOwner(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchMissingOwnerResponse(rsp) } // GetSearchOwnerWithResponse request returning *GetSearchOwnerResponse func (c *ClientWithResponses) GetSearchOwnerWithResponse(ctx context.Context, params *GetSearchOwnerParams, reqEditors ...RequestEditorFn) (*GetSearchOwnerResponse, error) { rsp, err := c.GetSearchOwner(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchOwnerResponse(rsp) } // PostSearchOwnerWithResponse request returning *PostSearchOwnerResponse func (c *ClientWithResponses) PostSearchOwnerWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchOwnerResponse, error) { rsp, err := c.PostSearchOwner(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchOwnerResponse(rsp) } // GetSearchPackageWithResponse request returning *GetSearchPackageResponse func (c *ClientWithResponses) GetSearchPackageWithResponse(ctx context.Context, params *GetSearchPackageParams, reqEditors ...RequestEditorFn) (*GetSearchPackageResponse, error) { rsp, err := c.GetSearchPackage(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchPackageResponse(rsp) } // PostSearchPackageWithResponse request returning *PostSearchPackageResponse func (c *ClientWithResponses) PostSearchPackageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPackageResponse, error) { rsp, err := c.PostSearchPackage(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchPackageResponse(rsp) } // GetSearchPackageIdWithResponse request returning *GetSearchPackageIdResponse func (c *ClientWithResponses) GetSearchPackageIdWithResponse(ctx context.Context, params *GetSearchPackageIdParams, reqEditors ...RequestEditorFn) (*GetSearchPackageIdResponse, error) { rsp, err := c.GetSearchPackageId(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchPackageIdResponse(rsp) } // PostSearchPackageIdWithResponse request returning *PostSearchPackageIdResponse func (c *ClientWithResponses) PostSearchPackageIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPackageIdResponse, error) { rsp, err := c.PostSearchPackageId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchPackageIdResponse(rsp) } // GetSearchPackageIdWithResponse request returning *GetSearchPackageIdResponse func (c *ClientWithResponses) GetSearchPackageIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSearchPackageIdResponse, error) { rsp, err := c.GetSearchPackageId(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetSearchPackageIdResponse(rsp) } // PostSearchPackageIdWithResponse request returning *PostSearchPackageIdResponse func (c *ClientWithResponses) PostSearchPackageIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPackageIdResponse, error) { rsp, err := c.PostSearchPackageId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchPackageIdResponse(rsp) } // GetSearchPersonWithResponse request returning *GetSearchPersonResponse func (c *ClientWithResponses) GetSearchPersonWithResponse(ctx context.Context, params *GetSearchPersonParams, reqEditors ...RequestEditorFn) (*GetSearchPersonResponse, error) { rsp, err := c.GetSearchPerson(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchPersonResponse(rsp) } // PostSearchPersonWithResponse request returning *PostSearchPersonResponse func (c *ClientWithResponses) PostSearchPersonWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPersonResponse, error) { rsp, err := c.PostSearchPerson(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchPersonResponse(rsp) } // GetSearchProjectWithResponse request returning *GetSearchProjectResponse func (c *ClientWithResponses) GetSearchProjectWithResponse(ctx context.Context, params *GetSearchProjectParams, reqEditors ...RequestEditorFn) (*GetSearchProjectResponse, error) { rsp, err := c.GetSearchProject(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchProjectResponse(rsp) } // PostSearchProjectWithResponse request returning *PostSearchProjectResponse func (c *ClientWithResponses) PostSearchProjectWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchProjectResponse, error) { rsp, err := c.PostSearchProject(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchProjectResponse(rsp) } // GetSearchProjectIdWithResponse request returning *GetSearchProjectIdResponse func (c *ClientWithResponses) GetSearchProjectIdWithResponse(ctx context.Context, params *GetSearchProjectIdParams, reqEditors ...RequestEditorFn) (*GetSearchProjectIdResponse, error) { rsp, err := c.GetSearchProjectId(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchProjectIdResponse(rsp) } // PostSearchProjectIdWithResponse request returning *PostSearchProjectIdResponse func (c *ClientWithResponses) PostSearchProjectIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchProjectIdResponse, error) { rsp, err := c.PostSearchProjectId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchProjectIdResponse(rsp) } // GetSearchProjectIdWithResponse request returning *GetSearchProjectIdResponse func (c *ClientWithResponses) GetSearchProjectIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSearchProjectIdResponse, error) { rsp, err := c.GetSearchProjectId(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetSearchProjectIdResponse(rsp) } // PostSearchProjectIdWithResponse request returning *PostSearchProjectIdResponse func (c *ClientWithResponses) PostSearchProjectIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchProjectIdResponse, error) { rsp, err := c.PostSearchProjectId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchProjectIdResponse(rsp) } // GetSearchPublishedBinaryIdWithResponse request returning *GetSearchPublishedBinaryIdResponse func (c *ClientWithResponses) GetSearchPublishedBinaryIdWithResponse(ctx context.Context, params *GetSearchPublishedBinaryIdParams, reqEditors ...RequestEditorFn) (*GetSearchPublishedBinaryIdResponse, error) { rsp, err := c.GetSearchPublishedBinaryId(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchPublishedBinaryIdResponse(rsp) } // PostSearchPublishedBinaryIdWithResponse request returning *PostSearchPublishedBinaryIdResponse func (c *ClientWithResponses) PostSearchPublishedBinaryIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPublishedBinaryIdResponse, error) { rsp, err := c.PostSearchPublishedBinaryId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchPublishedBinaryIdResponse(rsp) } // GetSearchPublishedPatternIdWithResponse request returning *GetSearchPublishedPatternIdResponse func (c *ClientWithResponses) GetSearchPublishedPatternIdWithResponse(ctx context.Context, params *GetSearchPublishedPatternIdParams, reqEditors ...RequestEditorFn) (*GetSearchPublishedPatternIdResponse, error) { rsp, err := c.GetSearchPublishedPatternId(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchPublishedPatternIdResponse(rsp) } // PostSearchPublishedPatternIdWithResponse request returning *PostSearchPublishedPatternIdResponse func (c *ClientWithResponses) PostSearchPublishedPatternIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPublishedPatternIdResponse, error) { rsp, err := c.PostSearchPublishedPatternId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchPublishedPatternIdResponse(rsp) } // GetSearchPublishedRepoinfoIdWithResponse request returning *GetSearchPublishedRepoinfoIdResponse func (c *ClientWithResponses) GetSearchPublishedRepoinfoIdWithResponse(ctx context.Context, params *GetSearchPublishedRepoinfoIdParams, reqEditors ...RequestEditorFn) (*GetSearchPublishedRepoinfoIdResponse, error) { rsp, err := c.GetSearchPublishedRepoinfoId(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchPublishedRepoinfoIdResponse(rsp) } // PostSearchPublishedRepoinfoIdWithResponse request returning *PostSearchPublishedRepoinfoIdResponse func (c *ClientWithResponses) PostSearchPublishedRepoinfoIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchPublishedRepoinfoIdResponse, error) { rsp, err := c.PostSearchPublishedRepoinfoId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchPublishedRepoinfoIdResponse(rsp) } // GetSearchReleasedBinaryWithResponse request returning *GetSearchReleasedBinaryResponse func (c *ClientWithResponses) GetSearchReleasedBinaryWithResponse(ctx context.Context, params *GetSearchReleasedBinaryParams, reqEditors ...RequestEditorFn) (*GetSearchReleasedBinaryResponse, error) { rsp, err := c.GetSearchReleasedBinary(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchReleasedBinaryResponse(rsp) } // PostSearchReleasedBinaryWithResponse request returning *PostSearchReleasedBinaryResponse func (c *ClientWithResponses) PostSearchReleasedBinaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchReleasedBinaryResponse, error) { rsp, err := c.PostSearchReleasedBinary(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchReleasedBinaryResponse(rsp) } // GetSearchReleasedBinaryIdWithResponse request returning *GetSearchReleasedBinaryIdResponse func (c *ClientWithResponses) GetSearchReleasedBinaryIdWithResponse(ctx context.Context, params *GetSearchReleasedBinaryIdParams, reqEditors ...RequestEditorFn) (*GetSearchReleasedBinaryIdResponse, error) { rsp, err := c.GetSearchReleasedBinaryId(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchReleasedBinaryIdResponse(rsp) } // PostSearchReleasedBinaryIdWithResponse request returning *PostSearchReleasedBinaryIdResponse func (c *ClientWithResponses) PostSearchReleasedBinaryIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchReleasedBinaryIdResponse, error) { rsp, err := c.PostSearchReleasedBinaryId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchReleasedBinaryIdResponse(rsp) } // GetSearchRepositoryIdWithResponse request returning *GetSearchRepositoryIdResponse func (c *ClientWithResponses) GetSearchRepositoryIdWithResponse(ctx context.Context, params *GetSearchRepositoryIdParams, reqEditors ...RequestEditorFn) (*GetSearchRepositoryIdResponse, error) { rsp, err := c.GetSearchRepositoryId(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchRepositoryIdResponse(rsp) } // PostSearchRepositoryIdWithResponse request returning *PostSearchRepositoryIdResponse func (c *ClientWithResponses) PostSearchRepositoryIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchRepositoryIdResponse, error) { rsp, err := c.PostSearchRepositoryId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchRepositoryIdResponse(rsp) } // GetSearchRequestWithResponse request returning *GetSearchRequestResponse func (c *ClientWithResponses) GetSearchRequestWithResponse(ctx context.Context, params *GetSearchRequestParams, reqEditors ...RequestEditorFn) (*GetSearchRequestResponse, error) { rsp, err := c.GetSearchRequest(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchRequestResponse(rsp) } // PostSearchRequestWithResponse request returning *PostSearchRequestResponse func (c *ClientWithResponses) PostSearchRequestWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchRequestResponse, error) { rsp, err := c.PostSearchRequest(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchRequestResponse(rsp) } // GetSearchRequestIdWithResponse request returning *GetSearchRequestIdResponse func (c *ClientWithResponses) GetSearchRequestIdWithResponse(ctx context.Context, params *GetSearchRequestIdParams, reqEditors ...RequestEditorFn) (*GetSearchRequestIdResponse, error) { rsp, err := c.GetSearchRequestId(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSearchRequestIdResponse(rsp) } // PostSearchRequestIdWithResponse request returning *PostSearchRequestIdResponse func (c *ClientWithResponses) PostSearchRequestIdWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostSearchRequestIdResponse, error) { rsp, err := c.PostSearchRequestId(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostSearchRequestIdResponse(rsp) } // GetServiceWithResponse request returning *GetServiceResponse func (c *ClientWithResponses) GetServiceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetServiceResponse, error) { rsp, err := c.GetService(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetServiceResponse(rsp) } // GetSourceWithResponse request returning *GetSourceResponse func (c *ClientWithResponses) GetSourceWithResponse(ctx context.Context, params *GetSourceParams, reqEditors ...RequestEditorFn) (*GetSourceResponse, error) { rsp, err := c.GetSource(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceResponse(rsp) } // DeleteSourceProjectNameWithResponse request returning *DeleteSourceProjectNameResponse func (c *ClientWithResponses) DeleteSourceProjectNameWithResponse(ctx context.Context, projectName string, params *DeleteSourceProjectNameParams, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNameResponse, error) { rsp, err := c.DeleteSourceProjectName(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseDeleteSourceProjectNameResponse(rsp) } // GetSourceProjectNameWithResponse request returning *GetSourceProjectNameResponse func (c *ClientWithResponses) GetSourceProjectNameWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameResponse, error) { rsp, err := c.GetSourceProjectName(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNameResponse(rsp) } // GetSourceProjectNameAttributeWithResponse request returning *GetSourceProjectNameAttributeResponse func (c *ClientWithResponses) GetSourceProjectNameAttributeWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameAttributeParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameAttributeResponse, error) { rsp, err := c.GetSourceProjectNameAttribute(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNameAttributeResponse(rsp) } // DeleteSourceProjectNameAttributeAttributeNameWithResponse request returning *DeleteSourceProjectNameAttributeAttributeNameResponse func (c *ClientWithResponses) DeleteSourceProjectNameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, attributeName string, params *DeleteSourceProjectNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNameAttributeAttributeNameResponse, error) { rsp, err := c.DeleteSourceProjectNameAttributeAttributeName(ctx, projectName, attributeName, params, reqEditors...) if err != nil { return nil, err } return ParseDeleteSourceProjectNameAttributeAttributeNameResponse(rsp) } // GetSourceProjectNameAttributeAttributeNameWithResponse request returning *GetSourceProjectNameAttributeAttributeNameResponse func (c *ClientWithResponses) GetSourceProjectNameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, attributeName string, params *GetSourceProjectNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameAttributeAttributeNameResponse, error) { rsp, err := c.GetSourceProjectNameAttributeAttributeName(ctx, projectName, attributeName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNameAttributeAttributeNameResponse(rsp) } // PostSourceProjectNameAttributeAttributeNameWithBodyWithResponse request with arbitrary body returning *PostSourceProjectNameAttributeAttributeNameResponse func (c *ClientWithResponses) PostSourceProjectNameAttributeAttributeNameWithBodyWithResponse(ctx context.Context, projectName string, attributeName string, params *PostSourceProjectNameAttributeAttributeNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSourceProjectNameAttributeAttributeNameResponse, error) { rsp, err := c.PostSourceProjectNameAttributeAttributeNameWithBody(ctx, projectName, attributeName, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNameAttributeAttributeNameResponse(rsp) } // GetSourceProjectNameConfigWithResponse request returning *GetSourceProjectNameConfigResponse func (c *ClientWithResponses) GetSourceProjectNameConfigWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameConfigParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameConfigResponse, error) { rsp, err := c.GetSourceProjectNameConfig(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNameConfigResponse(rsp) } // PutSourceProjectNameConfigWithBodyWithResponse request with arbitrary body returning *PutSourceProjectNameConfigResponse func (c *ClientWithResponses) PutSourceProjectNameConfigWithBodyWithResponse(ctx context.Context, projectName string, params *PutSourceProjectNameConfigParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSourceProjectNameConfigResponse, error) { rsp, err := c.PutSourceProjectNameConfigWithBody(ctx, projectName, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutSourceProjectNameConfigResponse(rsp) } func (c *ClientWithResponses) PutSourceProjectNameConfigWithTextBodyWithResponse(ctx context.Context, projectName string, params *PutSourceProjectNameConfigParams, body PutSourceProjectNameConfigTextRequestBody, reqEditors ...RequestEditorFn) (*PutSourceProjectNameConfigResponse, error) { rsp, err := c.PutSourceProjectNameConfigWithTextBody(ctx, projectName, params, body, reqEditors...) if err != nil { return nil, err } return ParsePutSourceProjectNameConfigResponse(rsp) } // GetSourceProjectNameKeyinfoWithResponse request returning *GetSourceProjectNameKeyinfoResponse func (c *ClientWithResponses) GetSourceProjectNameKeyinfoWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetSourceProjectNameKeyinfoResponse, error) { rsp, err := c.GetSourceProjectNameKeyinfo(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNameKeyinfoResponse(rsp) } // GetSourceProjectNameMetaWithResponse request returning *GetSourceProjectNameMetaResponse func (c *ClientWithResponses) GetSourceProjectNameMetaWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameMetaParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameMetaResponse, error) { rsp, err := c.GetSourceProjectNameMeta(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNameMetaResponse(rsp) } // PutSourceProjectNameMetaWithBodyWithResponse request with arbitrary body returning *PutSourceProjectNameMetaResponse func (c *ClientWithResponses) PutSourceProjectNameMetaWithBodyWithResponse(ctx context.Context, projectName string, params *PutSourceProjectNameMetaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSourceProjectNameMetaResponse, error) { rsp, err := c.PutSourceProjectNameMetaWithBody(ctx, projectName, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutSourceProjectNameMetaResponse(rsp) } // GetSourceProjectNamePatternWithResponse request returning *GetSourceProjectNamePatternResponse func (c *ClientWithResponses) GetSourceProjectNamePatternWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePatternResponse, error) { rsp, err := c.GetSourceProjectNamePattern(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePatternResponse(rsp) } // DeleteSourceProjectNamePatternFileNameWithResponse request returning *DeleteSourceProjectNamePatternFileNameResponse func (c *ClientWithResponses) DeleteSourceProjectNamePatternFileNameWithResponse(ctx context.Context, projectName string, fileName string, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePatternFileNameResponse, error) { rsp, err := c.DeleteSourceProjectNamePatternFileName(ctx, projectName, fileName, reqEditors...) if err != nil { return nil, err } return ParseDeleteSourceProjectNamePatternFileNameResponse(rsp) } // GetSourceProjectNamePatternFileNameWithResponse request returning *GetSourceProjectNamePatternFileNameResponse func (c *ClientWithResponses) GetSourceProjectNamePatternFileNameWithResponse(ctx context.Context, projectName string, fileName string, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePatternFileNameResponse, error) { rsp, err := c.GetSourceProjectNamePatternFileName(ctx, projectName, fileName, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePatternFileNameResponse(rsp) } // PutSourceProjectNamePatternFileNameWithBodyWithResponse request with arbitrary body returning *PutSourceProjectNamePatternFileNameResponse func (c *ClientWithResponses) PutSourceProjectNamePatternFileNameWithBodyWithResponse(ctx context.Context, projectName string, fileName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSourceProjectNamePatternFileNameResponse, error) { rsp, err := c.PutSourceProjectNamePatternFileNameWithBody(ctx, projectName, fileName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutSourceProjectNamePatternFileNameResponse(rsp) } // GetSourceProjectNameProjectWithResponse request returning *GetSourceProjectNameProjectResponse func (c *ClientWithResponses) GetSourceProjectNameProjectWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameProjectParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameProjectResponse, error) { rsp, err := c.GetSourceProjectNameProject(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNameProjectResponse(rsp) } // GetSourceProjectNameProjectHistoryWithResponse request returning *GetSourceProjectNameProjectHistoryResponse func (c *ClientWithResponses) GetSourceProjectNameProjectHistoryWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameProjectHistoryParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameProjectHistoryResponse, error) { rsp, err := c.GetSourceProjectNameProjectHistory(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNameProjectHistoryResponse(rsp) } // GetSourceProjectNameProjectFileNameWithResponse request returning *GetSourceProjectNameProjectFileNameResponse func (c *ClientWithResponses) GetSourceProjectNameProjectFileNameWithResponse(ctx context.Context, projectName string, fileName string, params *GetSourceProjectNameProjectFileNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameProjectFileNameResponse, error) { rsp, err := c.GetSourceProjectNameProjectFileName(ctx, projectName, fileName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNameProjectFileNameResponse(rsp) } // DeleteSourceProjectNamePubkeyWithResponse request returning *DeleteSourceProjectNamePubkeyResponse func (c *ClientWithResponses) DeleteSourceProjectNamePubkeyWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePubkeyResponse, error) { rsp, err := c.DeleteSourceProjectNamePubkey(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseDeleteSourceProjectNamePubkeyResponse(rsp) } // GetSourceProjectNamePubkeyWithResponse request returning *GetSourceProjectNamePubkeyResponse func (c *ClientWithResponses) GetSourceProjectNamePubkeyWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePubkeyResponse, error) { rsp, err := c.GetSourceProjectNamePubkey(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePubkeyResponse(rsp) } // DeleteSourceProjectNamePackageNameWithResponse request returning *DeleteSourceProjectNamePackageNameResponse func (c *ClientWithResponses) DeleteSourceProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, params *DeleteSourceProjectNamePackageNameParams, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePackageNameResponse, error) { rsp, err := c.DeleteSourceProjectNamePackageName(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParseDeleteSourceProjectNamePackageNameResponse(rsp) } // GetSourceProjectNamePackageNameWithResponse request returning *GetSourceProjectNamePackageNameResponse func (c *ClientWithResponses) GetSourceProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameResponse, error) { rsp, err := c.GetSourceProjectNamePackageName(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePackageNameResponse(rsp) } // GetSourceProjectNamePackageNameAttributeWithResponse request returning *GetSourceProjectNamePackageNameAttributeResponse func (c *ClientWithResponses) GetSourceProjectNamePackageNameAttributeWithResponse(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameAttributeParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameAttributeResponse, error) { rsp, err := c.GetSourceProjectNamePackageNameAttribute(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePackageNameAttributeResponse(rsp) } // PostSourceProjectNamePackageNameAttributeWithBodyWithResponse request with arbitrary body returning *PostSourceProjectNamePackageNameAttributeResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNameAttributeWithBodyWithResponse(ctx context.Context, projectName string, packageName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNameAttributeResponse, error) { rsp, err := c.PostSourceProjectNamePackageNameAttributeWithBody(ctx, projectName, packageName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNameAttributeResponse(rsp) } // DeleteSourceProjectNamePackageNameAttributeAttributeNameWithResponse request returning *DeleteSourceProjectNamePackageNameAttributeAttributeNameResponse func (c *ClientWithResponses) DeleteSourceProjectNamePackageNameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, packageName string, attributeName string, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePackageNameAttributeAttributeNameResponse, error) { rsp, err := c.DeleteSourceProjectNamePackageNameAttributeAttributeName(ctx, projectName, packageName, attributeName, reqEditors...) if err != nil { return nil, err } return ParseDeleteSourceProjectNamePackageNameAttributeAttributeNameResponse(rsp) } // GetSourceProjectNamePackageNameAttributeAttributeNameWithResponse request returning *GetSourceProjectNamePackageNameAttributeAttributeNameResponse func (c *ClientWithResponses) GetSourceProjectNamePackageNameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, packageName string, attributeName string, params *GetSourceProjectNamePackageNameAttributeAttributeNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameAttributeAttributeNameResponse, error) { rsp, err := c.GetSourceProjectNamePackageNameAttributeAttributeName(ctx, projectName, packageName, attributeName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePackageNameAttributeAttributeNameResponse(rsp) } // PostSourceProjectNamePackageNameAttributeAttributeNameWithBodyWithResponse request with arbitrary body returning *PostSourceProjectNamePackageNameAttributeAttributeNameResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNameAttributeAttributeNameWithBodyWithResponse(ctx context.Context, projectName string, packageName string, attributeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNameAttributeAttributeNameResponse, error) { rsp, err := c.PostSourceProjectNamePackageNameAttributeAttributeNameWithBody(ctx, projectName, packageName, attributeName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNameAttributeAttributeNameResponse(rsp) } // GetSourceProjectNamePackageNameHistoryWithResponse request returning *GetSourceProjectNamePackageNameHistoryResponse func (c *ClientWithResponses) GetSourceProjectNamePackageNameHistoryWithResponse(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameHistoryParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameHistoryResponse, error) { rsp, err := c.GetSourceProjectNamePackageNameHistory(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePackageNameHistoryResponse(rsp) } // GetSourceProjectNamePackageNameMetaWithResponse request returning *GetSourceProjectNamePackageNameMetaResponse func (c *ClientWithResponses) GetSourceProjectNamePackageNameMetaWithResponse(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameMetaParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameMetaResponse, error) { rsp, err := c.GetSourceProjectNamePackageNameMeta(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePackageNameMetaResponse(rsp) } // PutSourceProjectNamePackageNameMetaWithBodyWithResponse request with arbitrary body returning *PutSourceProjectNamePackageNameMetaResponse func (c *ClientWithResponses) PutSourceProjectNamePackageNameMetaWithBodyWithResponse(ctx context.Context, projectName string, packageName string, params *PutSourceProjectNamePackageNameMetaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSourceProjectNamePackageNameMetaResponse, error) { rsp, err := c.PutSourceProjectNamePackageNameMetaWithBody(ctx, projectName, packageName, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutSourceProjectNamePackageNameMetaResponse(rsp) } // GetSourceProjectNamePackageNameBinaryFilenameAttributeWithResponse request returning *GetSourceProjectNamePackageNameBinaryFilenameAttributeResponse func (c *ClientWithResponses) GetSourceProjectNamePackageNameBinaryFilenameAttributeWithResponse(ctx context.Context, projectName string, packageName string, binaryFilename string, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameBinaryFilenameAttributeResponse, error) { rsp, err := c.GetSourceProjectNamePackageNameBinaryFilenameAttribute(ctx, projectName, packageName, binaryFilename, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePackageNameBinaryFilenameAttributeResponse(rsp) } // PostSourceProjectNamePackageNameBinaryFilenameAttributeWithBodyWithResponse request with arbitrary body returning *PostSourceProjectNamePackageNameBinaryFilenameAttributeResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNameBinaryFilenameAttributeWithBodyWithResponse(ctx context.Context, projectName string, packageName string, binaryFilename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNameBinaryFilenameAttributeResponse, error) { rsp, err := c.PostSourceProjectNamePackageNameBinaryFilenameAttributeWithBody(ctx, projectName, packageName, binaryFilename, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNameBinaryFilenameAttributeResponse(rsp) } // DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameWithResponse request returning *DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse func (c *ClientWithResponses) DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, packageName string, binaryFilename string, attributeName string, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse, error) { rsp, err := c.DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeName(ctx, projectName, packageName, binaryFilename, attributeName, reqEditors...) if err != nil { return nil, err } return ParseDeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse(rsp) } // GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameWithResponse request returning *GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse func (c *ClientWithResponses) GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameWithResponse(ctx context.Context, projectName string, packageName string, binaryFilename string, attributeName string, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse, error) { rsp, err := c.GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeName(ctx, projectName, packageName, binaryFilename, attributeName, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse(rsp) } // DeleteSourceProjectNamePackageNameFileNameWithResponse request returning *DeleteSourceProjectNamePackageNameFileNameResponse func (c *ClientWithResponses) DeleteSourceProjectNamePackageNameFileNameWithResponse(ctx context.Context, projectName string, packageName string, fileName string, params *DeleteSourceProjectNamePackageNameFileNameParams, reqEditors ...RequestEditorFn) (*DeleteSourceProjectNamePackageNameFileNameResponse, error) { rsp, err := c.DeleteSourceProjectNamePackageNameFileName(ctx, projectName, packageName, fileName, params, reqEditors...) if err != nil { return nil, err } return ParseDeleteSourceProjectNamePackageNameFileNameResponse(rsp) } // GetSourceProjectNamePackageNameFileNameWithResponse request returning *GetSourceProjectNamePackageNameFileNameResponse func (c *ClientWithResponses) GetSourceProjectNamePackageNameFileNameWithResponse(ctx context.Context, projectName string, packageName string, fileName string, params *GetSourceProjectNamePackageNameFileNameParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameFileNameResponse, error) { rsp, err := c.GetSourceProjectNamePackageNameFileName(ctx, projectName, packageName, fileName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePackageNameFileNameResponse(rsp) } // PutSourceProjectNamePackageNameFileNameWithBodyWithResponse request with arbitrary body returning *PutSourceProjectNamePackageNameFileNameResponse func (c *ClientWithResponses) PutSourceProjectNamePackageNameFileNameWithBodyWithResponse(ctx context.Context, projectName string, packageName string, fileName string, params *PutSourceProjectNamePackageNameFileNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutSourceProjectNamePackageNameFileNameResponse, error) { rsp, err := c.PutSourceProjectNamePackageNameFileNameWithBody(ctx, projectName, packageName, fileName, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutSourceProjectNamePackageNameFileNameResponse(rsp) } // PostSourceProjectNamePackageNamecmdAddcontainersWithResponse request returning *PostSourceProjectNamePackageNamecmdAddcontainersResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdAddcontainersWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdAddcontainersParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdAddcontainersResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdAddcontainers(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdAddcontainersResponse(rsp) } // PostSourceProjectNamePackageNamecmdBranchWithResponse request returning *PostSourceProjectNamePackageNamecmdBranchResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdBranchWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdBranchParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdBranchResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdBranch(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdBranchResponse(rsp) } // PostSourceProjectNamePackageNamecmdCollectbuildenvWithResponse request returning *PostSourceProjectNamePackageNamecmdCollectbuildenvResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdCollectbuildenvWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCollectbuildenvParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdCollectbuildenvResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdCollectbuildenv(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdCollectbuildenvResponse(rsp) } // PostSourceProjectNamePackageNamecmdCommitWithResponse request returning *PostSourceProjectNamePackageNamecmdCommitResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdCommitWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCommitParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdCommitResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdCommit(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdCommitResponse(rsp) } // PostSourceProjectNamePackageNamecmdCommitfilelistWithResponse request returning *PostSourceProjectNamePackageNamecmdCommitfilelistResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdCommitfilelistWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCommitfilelistParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdCommitfilelistResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdCommitfilelist(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdCommitfilelistResponse(rsp) } // PostSourceProjectNamePackageNamecmdCopyWithResponse request returning *PostSourceProjectNamePackageNamecmdCopyResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdCopyWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdCopyParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdCopyResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdCopy(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdCopyResponse(rsp) } // PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateWithResponse request returning *PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdCreateSpecFileTemplate(ctx, projectName, packageName, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse(rsp) } // PostSourceProjectNamePackageNamecmdDeleteuploadrevWithResponse request returning *PostSourceProjectNamePackageNamecmdDeleteuploadrevResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdDeleteuploadrevWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdDeleteuploadrevResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdDeleteuploadrev(ctx, projectName, packageName, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdDeleteuploadrevResponse(rsp) } // PostSourceProjectNamePackageNamecmdDiffWithResponse request returning *PostSourceProjectNamePackageNamecmdDiffResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdDiffWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdDiffParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdDiffResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdDiff(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdDiffResponse(rsp) } // PostSourceProjectNamePackageNamecmdForkWithResponse request returning *PostSourceProjectNamePackageNamecmdForkResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdForkWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdForkParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdForkResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdFork(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdForkResponse(rsp) } // PostSourceProjectNamePackageNamecmdGetprojectservicesWithResponse request returning *PostSourceProjectNamePackageNamecmdGetprojectservicesResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdGetprojectservicesWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdGetprojectservicesParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdGetprojectservicesResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdGetprojectservices(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdGetprojectservicesResponse(rsp) } // PostSourceProjectNamePackageNamecmdInstantiateWithResponse request returning *PostSourceProjectNamePackageNamecmdInstantiateResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdInstantiateWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdInstantiateParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdInstantiateResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdInstantiate(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdInstantiateResponse(rsp) } // PostSourceProjectNamePackageNamecmdLinkdiffWithResponse request returning *PostSourceProjectNamePackageNamecmdLinkdiffResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdLinkdiffWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdLinkdiffParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdLinkdiffResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdLinkdiff(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdLinkdiffResponse(rsp) } // PostSourceProjectNamePackageNamecmdLinktobranchWithResponse request returning *PostSourceProjectNamePackageNamecmdLinktobranchResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdLinktobranchWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdLinktobranchParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdLinktobranchResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdLinktobranch(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdLinktobranchResponse(rsp) } // PostSourceProjectNamePackageNamecmdMergeserviceWithResponse request returning *PostSourceProjectNamePackageNamecmdMergeserviceResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdMergeserviceWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdMergeserviceParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdMergeserviceResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdMergeservice(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdMergeserviceResponse(rsp) } // PostSourceProjectNamePackageNamecmdRebuildWithResponse request returning *PostSourceProjectNamePackageNamecmdRebuildResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdRebuildWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdRebuildResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdRebuild(ctx, projectName, packageName, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdRebuildResponse(rsp) } // PostSourceProjectNamePackageNamecmdReleaseWithResponse request returning *PostSourceProjectNamePackageNamecmdReleaseResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdReleaseWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdReleaseParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdReleaseResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdRelease(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdReleaseResponse(rsp) } // PostSourceProjectNamePackageNamecmdRemoveFlagWithResponse request returning *PostSourceProjectNamePackageNamecmdRemoveFlagResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdRemoveFlagWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdRemoveFlagParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdRemoveFlagResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdRemoveFlag(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdRemoveFlagResponse(rsp) } // PostSourceProjectNamePackageNamecmdRunserviceWithResponse request returning *PostSourceProjectNamePackageNamecmdRunserviceResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdRunserviceWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdRunserviceParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdRunserviceResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdRunservice(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdRunserviceResponse(rsp) } // PostSourceProjectNamePackageNamecmdServicediffWithResponse request returning *PostSourceProjectNamePackageNamecmdServicediffResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdServicediffWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdServicediffParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdServicediffResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdServicediff(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdServicediffResponse(rsp) } // PostSourceProjectNamePackageNamecmdSetFlagWithResponse request returning *PostSourceProjectNamePackageNamecmdSetFlagResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdSetFlagWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdSetFlagParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdSetFlagResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdSetFlag(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdSetFlagResponse(rsp) } // PostSourceProjectNamePackageNamecmdShowlinkedWithResponse request returning *PostSourceProjectNamePackageNamecmdShowlinkedResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdShowlinkedWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdShowlinkedResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdShowlinked(ctx, projectName, packageName, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdShowlinkedResponse(rsp) } // PostSourceProjectNamePackageNamecmdUndeleteWithResponse request returning *PostSourceProjectNamePackageNamecmdUndeleteResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdUndeleteWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdUndeleteParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdUndeleteResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdUndelete(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdUndeleteResponse(rsp) } // PostSourceProjectNamePackageNamecmdUnlockWithResponse request returning *PostSourceProjectNamePackageNamecmdUnlockResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdUnlockWithResponse(ctx context.Context, projectName string, packageName string, params *PostSourceProjectNamePackageNamecmdUnlockParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdUnlockResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdUnlock(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdUnlockResponse(rsp) } // PostSourceProjectNamePackageNamecmdUpdatepatchinfoWithResponse request returning *PostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdUpdatepatchinfoWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdUpdatepatchinfo(ctx, projectName, packageName, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse(rsp) } // PostSourceProjectNamePackageNamecmdWaitserviceWithResponse request returning *PostSourceProjectNamePackageNamecmdWaitserviceResponse func (c *ClientWithResponses) PostSourceProjectNamePackageNamecmdWaitserviceWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamePackageNamecmdWaitserviceResponse, error) { rsp, err := c.PostSourceProjectNamePackageNamecmdWaitservice(ctx, projectName, packageName, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamePackageNamecmdWaitserviceResponse(rsp) } // GetSourceProjectNamePackageNameviewInfoWithResponse request returning *GetSourceProjectNamePackageNameviewInfoResponse func (c *ClientWithResponses) GetSourceProjectNamePackageNameviewInfoWithResponse(ctx context.Context, projectName string, packageName string, params *GetSourceProjectNamePackageNameviewInfoParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNamePackageNameviewInfoResponse, error) { rsp, err := c.GetSourceProjectNamePackageNameviewInfo(ctx, projectName, packageName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNamePackageNameviewInfoResponse(rsp) } // PostSourceProjectNamecmdAddchannelsWithResponse request returning *PostSourceProjectNamecmdAddchannelsResponse func (c *ClientWithResponses) PostSourceProjectNamecmdAddchannelsWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdAddchannelsParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdAddchannelsResponse, error) { rsp, err := c.PostSourceProjectNamecmdAddchannels(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdAddchannelsResponse(rsp) } // PostSourceProjectNamecmdCopyWithResponse request returning *PostSourceProjectNamecmdCopyResponse func (c *ClientWithResponses) PostSourceProjectNamecmdCopyWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdCopyParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdCopyResponse, error) { rsp, err := c.PostSourceProjectNamecmdCopy(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdCopyResponse(rsp) } // PostSourceProjectNamecmdCreatekeyWithResponse request returning *PostSourceProjectNamecmdCreatekeyResponse func (c *ClientWithResponses) PostSourceProjectNamecmdCreatekeyWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdCreatekeyResponse, error) { rsp, err := c.PostSourceProjectNamecmdCreatekey(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdCreatekeyResponse(rsp) } // PostSourceProjectNamecmdCreatemaintenanceincidentWithResponse request returning *PostSourceProjectNamecmdCreatemaintenanceincidentResponse func (c *ClientWithResponses) PostSourceProjectNamecmdCreatemaintenanceincidentWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdCreatemaintenanceincidentResponse, error) { rsp, err := c.PostSourceProjectNamecmdCreatemaintenanceincident(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdCreatemaintenanceincidentResponse(rsp) } // PostSourceProjectNamecmdCreatepatchinfoWithResponse request returning *PostSourceProjectNamecmdCreatepatchinfoResponse func (c *ClientWithResponses) PostSourceProjectNamecmdCreatepatchinfoWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdCreatepatchinfoParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdCreatepatchinfoResponse, error) { rsp, err := c.PostSourceProjectNamecmdCreatepatchinfo(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdCreatepatchinfoResponse(rsp) } // PostSourceProjectNamecmdExtendkeyWithResponse request returning *PostSourceProjectNamecmdExtendkeyResponse func (c *ClientWithResponses) PostSourceProjectNamecmdExtendkeyWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdExtendkeyParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdExtendkeyResponse, error) { rsp, err := c.PostSourceProjectNamecmdExtendkey(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdExtendkeyResponse(rsp) } // PostSourceProjectNamecmdFreezelinkWithResponse request returning *PostSourceProjectNamecmdFreezelinkResponse func (c *ClientWithResponses) PostSourceProjectNamecmdFreezelinkWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdFreezelinkParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdFreezelinkResponse, error) { rsp, err := c.PostSourceProjectNamecmdFreezelink(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdFreezelinkResponse(rsp) } // PostSourceProjectNamecmdLockWithResponse request returning *PostSourceProjectNamecmdLockResponse func (c *ClientWithResponses) PostSourceProjectNamecmdLockWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdLockParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdLockResponse, error) { rsp, err := c.PostSourceProjectNamecmdLock(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdLockResponse(rsp) } // PostSourceProjectNamecmdModifychannelsWithResponse request returning *PostSourceProjectNamecmdModifychannelsResponse func (c *ClientWithResponses) PostSourceProjectNamecmdModifychannelsWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdModifychannelsParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdModifychannelsResponse, error) { rsp, err := c.PostSourceProjectNamecmdModifychannels(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdModifychannelsResponse(rsp) } // PostSourceProjectNamecmdMoveWithResponse request returning *PostSourceProjectNamecmdMoveResponse func (c *ClientWithResponses) PostSourceProjectNamecmdMoveWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdMoveParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdMoveResponse, error) { rsp, err := c.PostSourceProjectNamecmdMove(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdMoveResponse(rsp) } // PostSourceProjectNamecmdReleaseWithResponse request returning *PostSourceProjectNamecmdReleaseResponse func (c *ClientWithResponses) PostSourceProjectNamecmdReleaseWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdReleaseParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdReleaseResponse, error) { rsp, err := c.PostSourceProjectNamecmdRelease(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdReleaseResponse(rsp) } // PostSourceProjectNamecmdRemoveFlagWithResponse request returning *PostSourceProjectNamecmdRemoveFlagResponse func (c *ClientWithResponses) PostSourceProjectNamecmdRemoveFlagWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdRemoveFlagParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdRemoveFlagResponse, error) { rsp, err := c.PostSourceProjectNamecmdRemoveFlag(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdRemoveFlagResponse(rsp) } // PostSourceProjectNamecmdSetFlagWithResponse request returning *PostSourceProjectNamecmdSetFlagResponse func (c *ClientWithResponses) PostSourceProjectNamecmdSetFlagWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdSetFlagParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdSetFlagResponse, error) { rsp, err := c.PostSourceProjectNamecmdSetFlag(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdSetFlagResponse(rsp) } // PostSourceProjectNamecmdShowlinkedWithResponse request returning *PostSourceProjectNamecmdShowlinkedResponse func (c *ClientWithResponses) PostSourceProjectNamecmdShowlinkedWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdShowlinkedResponse, error) { rsp, err := c.PostSourceProjectNamecmdShowlinked(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdShowlinkedResponse(rsp) } // PostSourceProjectNamecmdUndeleteWithResponse request returning *PostSourceProjectNamecmdUndeleteResponse func (c *ClientWithResponses) PostSourceProjectNamecmdUndeleteWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdUndeleteResponse, error) { rsp, err := c.PostSourceProjectNamecmdUndelete(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdUndeleteResponse(rsp) } // PostSourceProjectNamecmdUnlockWithResponse request returning *PostSourceProjectNamecmdUnlockResponse func (c *ClientWithResponses) PostSourceProjectNamecmdUnlockWithResponse(ctx context.Context, projectName string, params *PostSourceProjectNamecmdUnlockParams, reqEditors ...RequestEditorFn) (*PostSourceProjectNamecmdUnlockResponse, error) { rsp, err := c.PostSourceProjectNamecmdUnlock(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourceProjectNamecmdUnlockResponse(rsp) } // GetSourceProjectNameviewInfoWithResponse request returning *GetSourceProjectNameviewInfoResponse func (c *ClientWithResponses) GetSourceProjectNameviewInfoWithResponse(ctx context.Context, projectName string, params *GetSourceProjectNameviewInfoParams, reqEditors ...RequestEditorFn) (*GetSourceProjectNameviewInfoResponse, error) { rsp, err := c.GetSourceProjectNameviewInfo(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseGetSourceProjectNameviewInfoResponse(rsp) } // PostSourcecmdBranchWithResponse request returning *PostSourcecmdBranchResponse func (c *ClientWithResponses) PostSourcecmdBranchWithResponse(ctx context.Context, params *PostSourcecmdBranchParams, reqEditors ...RequestEditorFn) (*PostSourcecmdBranchResponse, error) { rsp, err := c.PostSourcecmdBranch(ctx, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourcecmdBranchResponse(rsp) } // PostSourcecmdCreatemaintenanceincidentWithResponse request returning *PostSourcecmdCreatemaintenanceincidentResponse func (c *ClientWithResponses) PostSourcecmdCreatemaintenanceincidentWithResponse(ctx context.Context, params *PostSourcecmdCreatemaintenanceincidentParams, reqEditors ...RequestEditorFn) (*PostSourcecmdCreatemaintenanceincidentResponse, error) { rsp, err := c.PostSourcecmdCreatemaintenanceincident(ctx, params, reqEditors...) if err != nil { return nil, err } return ParsePostSourcecmdCreatemaintenanceincidentResponse(rsp) } // PostSourcecmdOrderkiwireposWithBodyWithResponse request with arbitrary body returning *PostSourcecmdOrderkiwireposResponse func (c *ClientWithResponses) PostSourcecmdOrderkiwireposWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostSourcecmdOrderkiwireposResponse, error) { rsp, err := c.PostSourcecmdOrderkiwireposWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostSourcecmdOrderkiwireposResponse(rsp) } // GetStagingProjectNameBacklogWithResponse request returning *GetStagingProjectNameBacklogResponse func (c *ClientWithResponses) GetStagingProjectNameBacklogWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStagingProjectNameBacklogResponse, error) { rsp, err := c.GetStagingProjectNameBacklog(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetStagingProjectNameBacklogResponse(rsp) } // DeleteStagingProjectNameExcludedRequestsWithBodyWithResponse request with arbitrary body returning *DeleteStagingProjectNameExcludedRequestsResponse func (c *ClientWithResponses) DeleteStagingProjectNameExcludedRequestsWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStagingProjectNameExcludedRequestsResponse, error) { rsp, err := c.DeleteStagingProjectNameExcludedRequestsWithBody(ctx, projectName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParseDeleteStagingProjectNameExcludedRequestsResponse(rsp) } // GetStagingProjectNameExcludedRequestsWithResponse request returning *GetStagingProjectNameExcludedRequestsResponse func (c *ClientWithResponses) GetStagingProjectNameExcludedRequestsWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStagingProjectNameExcludedRequestsResponse, error) { rsp, err := c.GetStagingProjectNameExcludedRequests(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetStagingProjectNameExcludedRequestsResponse(rsp) } // PostStagingProjectNameExcludedRequestsWithBodyWithResponse request with arbitrary body returning *PostStagingProjectNameExcludedRequestsResponse func (c *ClientWithResponses) PostStagingProjectNameExcludedRequestsWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStagingProjectNameExcludedRequestsResponse, error) { rsp, err := c.PostStagingProjectNameExcludedRequestsWithBody(ctx, projectName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStagingProjectNameExcludedRequestsResponse(rsp) } // DeleteStagingProjectNameStagedRequestsWithBodyWithResponse request with arbitrary body returning *DeleteStagingProjectNameStagedRequestsResponse func (c *ClientWithResponses) DeleteStagingProjectNameStagedRequestsWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStagingProjectNameStagedRequestsResponse, error) { rsp, err := c.DeleteStagingProjectNameStagedRequestsWithBody(ctx, projectName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParseDeleteStagingProjectNameStagedRequestsResponse(rsp) } // GetStagingProjectNameStagingProjectsWithResponse request returning *GetStagingProjectNameStagingProjectsResponse func (c *ClientWithResponses) GetStagingProjectNameStagingProjectsWithResponse(ctx context.Context, projectName string, params *GetStagingProjectNameStagingProjectsParams, reqEditors ...RequestEditorFn) (*GetStagingProjectNameStagingProjectsResponse, error) { rsp, err := c.GetStagingProjectNameStagingProjects(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseGetStagingProjectNameStagingProjectsResponse(rsp) } // PostStagingProjectNameStagingProjectsWithBodyWithResponse request with arbitrary body returning *PostStagingProjectNameStagingProjectsResponse func (c *ClientWithResponses) PostStagingProjectNameStagingProjectsWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStagingProjectNameStagingProjectsResponse, error) { rsp, err := c.PostStagingProjectNameStagingProjectsWithBody(ctx, projectName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStagingProjectNameStagingProjectsResponse(rsp) } // GetStagingProjectNameStagingProjectsStagingProjectNameWithResponse request returning *GetStagingProjectNameStagingProjectsStagingProjectNameResponse func (c *ClientWithResponses) GetStagingProjectNameStagingProjectsStagingProjectNameWithResponse(ctx context.Context, projectName string, stagingProjectName string, params *GetStagingProjectNameStagingProjectsStagingProjectNameParams, reqEditors ...RequestEditorFn) (*GetStagingProjectNameStagingProjectsStagingProjectNameResponse, error) { rsp, err := c.GetStagingProjectNameStagingProjectsStagingProjectName(ctx, projectName, stagingProjectName, params, reqEditors...) if err != nil { return nil, err } return ParseGetStagingProjectNameStagingProjectsStagingProjectNameResponse(rsp) } // PostStagingProjectNameStagingProjectsStagingProjectNameAcceptWithResponse request returning *PostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse func (c *ClientWithResponses) PostStagingProjectNameStagingProjectsStagingProjectNameAcceptWithResponse(ctx context.Context, projectName string, stagingProjectName string, reqEditors ...RequestEditorFn) (*PostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse, error) { rsp, err := c.PostStagingProjectNameStagingProjectsStagingProjectNameAccept(ctx, projectName, stagingProjectName, reqEditors...) if err != nil { return nil, err } return ParsePostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse(rsp) } // PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameWithResponse request returning *PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse func (c *ClientWithResponses) PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameWithResponse(ctx context.Context, projectName string, stagingProjectName string, stagingProjectCopyName string, reqEditors ...RequestEditorFn) (*PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse, error) { rsp, err := c.PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyName(ctx, projectName, stagingProjectName, stagingProjectCopyName, reqEditors...) if err != nil { return nil, err } return ParsePostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse(rsp) } // DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBodyWithResponse request with arbitrary body returning *DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse func (c *ClientWithResponses) DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBodyWithResponse(ctx context.Context, projectName string, stagingProjectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse, error) { rsp, err := c.DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBody(ctx, projectName, stagingProjectName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParseDeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse(rsp) } // GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithResponse request returning *GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse func (c *ClientWithResponses) GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithResponse(ctx context.Context, projectName string, stagingProjectName string, reqEditors ...RequestEditorFn) (*GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse, error) { rsp, err := c.GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequests(ctx, projectName, stagingProjectName, reqEditors...) if err != nil { return nil, err } return ParseGetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse(rsp) } // PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBodyWithResponse request with arbitrary body returning *PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse func (c *ClientWithResponses) PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBodyWithResponse(ctx context.Context, projectName string, stagingProjectName string, params *PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse, error) { rsp, err := c.PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithBody(ctx, projectName, stagingProjectName, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse(rsp) } // DeleteStagingProjectNameWorkflowWithResponse request returning *DeleteStagingProjectNameWorkflowResponse func (c *ClientWithResponses) DeleteStagingProjectNameWorkflowWithResponse(ctx context.Context, projectName string, params *DeleteStagingProjectNameWorkflowParams, reqEditors ...RequestEditorFn) (*DeleteStagingProjectNameWorkflowResponse, error) { rsp, err := c.DeleteStagingProjectNameWorkflow(ctx, projectName, params, reqEditors...) if err != nil { return nil, err } return ParseDeleteStagingProjectNameWorkflowResponse(rsp) } // PostStagingProjectNameWorkflowWithBodyWithResponse request with arbitrary body returning *PostStagingProjectNameWorkflowResponse func (c *ClientWithResponses) PostStagingProjectNameWorkflowWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStagingProjectNameWorkflowResponse, error) { rsp, err := c.PostStagingProjectNameWorkflowWithBody(ctx, projectName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStagingProjectNameWorkflowResponse(rsp) } // PutStagingProjectNameWorkflowWithBodyWithResponse request with arbitrary body returning *PutStagingProjectNameWorkflowResponse func (c *ClientWithResponses) PutStagingProjectNameWorkflowWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStagingProjectNameWorkflowResponse, error) { rsp, err := c.PutStagingProjectNameWorkflowWithBody(ctx, projectName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePutStagingProjectNameWorkflowResponse(rsp) } // GetStatisticsWithResponse request returning *GetStatisticsResponse func (c *ClientWithResponses) GetStatisticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStatisticsResponse, error) { rsp, err := c.GetStatistics(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsResponse(rsp) } // GetStatisticsActiveRequestCreatorsProjectNameWithResponse request returning *GetStatisticsActiveRequestCreatorsProjectNameResponse func (c *ClientWithResponses) GetStatisticsActiveRequestCreatorsProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStatisticsActiveRequestCreatorsProjectNameResponse, error) { rsp, err := c.GetStatisticsActiveRequestCreatorsProjectName(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsActiveRequestCreatorsProjectNameResponse(rsp) } // GetStatisticsActivityProjectNamePackageNameWithResponse request returning *GetStatisticsActivityProjectNamePackageNameResponse func (c *ClientWithResponses) GetStatisticsActivityProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*GetStatisticsActivityProjectNamePackageNameResponse, error) { rsp, err := c.GetStatisticsActivityProjectNamePackageName(ctx, projectName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsActivityProjectNamePackageNameResponse(rsp) } // GetStatisticsAddedTimestampProjectNamePackageNameWithResponse request returning *GetStatisticsAddedTimestampProjectNamePackageNameResponse func (c *ClientWithResponses) GetStatisticsAddedTimestampProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*GetStatisticsAddedTimestampProjectNamePackageNameResponse, error) { rsp, err := c.GetStatisticsAddedTimestampProjectNamePackageName(ctx, projectName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsAddedTimestampProjectNamePackageNameResponse(rsp) } // GetStatisticsGlobalCountersWithResponse request returning *GetStatisticsGlobalCountersResponse func (c *ClientWithResponses) GetStatisticsGlobalCountersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStatisticsGlobalCountersResponse, error) { rsp, err := c.GetStatisticsGlobalCounters(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsGlobalCountersResponse(rsp) } // GetStatisticsLatestAddedWithResponse request returning *GetStatisticsLatestAddedResponse func (c *ClientWithResponses) GetStatisticsLatestAddedWithResponse(ctx context.Context, params *GetStatisticsLatestAddedParams, reqEditors ...RequestEditorFn) (*GetStatisticsLatestAddedResponse, error) { rsp, err := c.GetStatisticsLatestAdded(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsLatestAddedResponse(rsp) } // GetStatisticsLatestUpdatedWithResponse request returning *GetStatisticsLatestUpdatedResponse func (c *ClientWithResponses) GetStatisticsLatestUpdatedWithResponse(ctx context.Context, params *GetStatisticsLatestUpdatedParams, reqEditors ...RequestEditorFn) (*GetStatisticsLatestUpdatedResponse, error) { rsp, err := c.GetStatisticsLatestUpdated(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsLatestUpdatedResponse(rsp) } // GetStatisticsMaintenanceStatisticsProjectNameWithResponse request returning *GetStatisticsMaintenanceStatisticsProjectNameResponse func (c *ClientWithResponses) GetStatisticsMaintenanceStatisticsProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStatisticsMaintenanceStatisticsProjectNameResponse, error) { rsp, err := c.GetStatisticsMaintenanceStatisticsProjectName(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsMaintenanceStatisticsProjectNameResponse(rsp) } // GetStatisticsMostActivePackagesWithResponse request returning *GetStatisticsMostActivePackagesResponse func (c *ClientWithResponses) GetStatisticsMostActivePackagesWithResponse(ctx context.Context, params *GetStatisticsMostActivePackagesParams, reqEditors ...RequestEditorFn) (*GetStatisticsMostActivePackagesResponse, error) { rsp, err := c.GetStatisticsMostActivePackages(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsMostActivePackagesResponse(rsp) } // GetStatisticsMostActiveProjectsWithResponse request returning *GetStatisticsMostActiveProjectsResponse func (c *ClientWithResponses) GetStatisticsMostActiveProjectsWithResponse(ctx context.Context, params *GetStatisticsMostActiveProjectsParams, reqEditors ...RequestEditorFn) (*GetStatisticsMostActiveProjectsResponse, error) { rsp, err := c.GetStatisticsMostActiveProjects(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsMostActiveProjectsResponse(rsp) } // GetStatisticsUpdatedTimestampProjectNamePackageNameWithResponse request returning *GetStatisticsUpdatedTimestampProjectNamePackageNameResponse func (c *ClientWithResponses) GetStatisticsUpdatedTimestampProjectNamePackageNameWithResponse(ctx context.Context, projectName string, packageName string, reqEditors ...RequestEditorFn) (*GetStatisticsUpdatedTimestampProjectNamePackageNameResponse, error) { rsp, err := c.GetStatisticsUpdatedTimestampProjectNamePackageName(ctx, projectName, packageName, reqEditors...) if err != nil { return nil, err } return ParseGetStatisticsUpdatedTimestampProjectNamePackageNameResponse(rsp) } // GetStatusMessagesWithResponse request returning *GetStatusMessagesResponse func (c *ClientWithResponses) GetStatusMessagesWithResponse(ctx context.Context, params *GetStatusMessagesParams, reqEditors ...RequestEditorFn) (*GetStatusMessagesResponse, error) { rsp, err := c.GetStatusMessages(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetStatusMessagesResponse(rsp) } // PostStatusMessagesWithBodyWithResponse request with arbitrary body returning *PostStatusMessagesResponse func (c *ClientWithResponses) PostStatusMessagesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusMessagesResponse, error) { rsp, err := c.PostStatusMessagesWithBody(ctx, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStatusMessagesResponse(rsp) } // DeleteStatusMessagesIdWithResponse request returning *DeleteStatusMessagesIdResponse func (c *ClientWithResponses) DeleteStatusMessagesIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*DeleteStatusMessagesIdResponse, error) { rsp, err := c.DeleteStatusMessagesId(ctx, id, reqEditors...) if err != nil { return nil, err } return ParseDeleteStatusMessagesIdResponse(rsp) } // GetStatusMessagesIdWithResponse request returning *GetStatusMessagesIdResponse func (c *ClientWithResponses) GetStatusMessagesIdWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetStatusMessagesIdResponse, error) { rsp, err := c.GetStatusMessagesId(ctx, id, reqEditors...) if err != nil { return nil, err } return ParseGetStatusMessagesIdResponse(rsp) } // GetStatusProjectProjectNameWithResponse request returning *GetStatusProjectProjectNameResponse func (c *ClientWithResponses) GetStatusProjectProjectNameWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStatusProjectProjectNameResponse, error) { rsp, err := c.GetStatusProjectProjectName(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetStatusProjectProjectNameResponse(rsp) } // GetStatusWorkerstatusWithResponse request returning *GetStatusWorkerstatusResponse func (c *ClientWithResponses) GetStatusWorkerstatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStatusWorkerstatusResponse, error) { rsp, err := c.GetStatusWorkerstatus(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetStatusWorkerstatusResponse(rsp) } // GetStatusMessageWithResponse request returning *GetStatusMessageResponse func (c *ClientWithResponses) GetStatusMessageWithResponse(ctx context.Context, params *GetStatusMessageParams, reqEditors ...RequestEditorFn) (*GetStatusMessageResponse, error) { rsp, err := c.GetStatusMessage(ctx, params, reqEditors...) if err != nil { return nil, err } return ParseGetStatusMessageResponse(rsp) } // GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithResponse request returning *GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse func (c *ClientWithResponses) GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, buildId int, reqEditors ...RequestEditorFn) (*GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse, error) { rsp, err := c.GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildId(ctx, projectName, repositoryName, architectureName, buildId, reqEditors...) if err != nil { return nil, err } return ParseGetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse(rsp) } // PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithBodyWithResponse request with arbitrary body returning *PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse func (c *ClientWithResponses) PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, buildId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse, error) { rsp, err := c.PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithBody(ctx, projectName, repositoryName, architectureName, buildId, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse(rsp) } // GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithResponse request returning *GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse func (c *ClientWithResponses) GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, reqEditors ...RequestEditorFn) (*GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse, error) { rsp, err := c.GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecks(ctx, projectName, repositoryName, architectureName, reqEditors...) if err != nil { return nil, err } return ParseGetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse(rsp) } // PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithBodyWithResponse request with arbitrary body returning *PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse func (c *ClientWithResponses) PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse, error) { rsp, err := c.PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithBody(ctx, projectName, repositoryName, architectureName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse(rsp) } // DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameWithResponse request returning *DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse func (c *ClientWithResponses) DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameWithResponse(ctx context.Context, projectName string, repositoryName string, architectureName string, checkName string, reqEditors ...RequestEditorFn) (*DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse, error) { rsp, err := c.DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckName(ctx, projectName, repositoryName, architectureName, checkName, reqEditors...) if err != nil { return nil, err } return ParseDeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse(rsp) } // GetStatusReportsProjectsProjectNameRequiredChecksWithResponse request returning *GetStatusReportsProjectsProjectNameRequiredChecksResponse func (c *ClientWithResponses) GetStatusReportsProjectsProjectNameRequiredChecksWithResponse(ctx context.Context, projectName string, reqEditors ...RequestEditorFn) (*GetStatusReportsProjectsProjectNameRequiredChecksResponse, error) { rsp, err := c.GetStatusReportsProjectsProjectNameRequiredChecks(ctx, projectName, reqEditors...) if err != nil { return nil, err } return ParseGetStatusReportsProjectsProjectNameRequiredChecksResponse(rsp) } // PostStatusReportsProjectsProjectNameRequiredChecksWithBodyWithResponse request with arbitrary body returning *PostStatusReportsProjectsProjectNameRequiredChecksResponse func (c *ClientWithResponses) PostStatusReportsProjectsProjectNameRequiredChecksWithBodyWithResponse(ctx context.Context, projectName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsProjectsProjectNameRequiredChecksResponse, error) { rsp, err := c.PostStatusReportsProjectsProjectNameRequiredChecksWithBody(ctx, projectName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStatusReportsProjectsProjectNameRequiredChecksResponse(rsp) } // DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameWithResponse request returning *DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse func (c *ClientWithResponses) DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameWithResponse(ctx context.Context, projectName string, checkName string, reqEditors ...RequestEditorFn) (*DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse, error) { rsp, err := c.DeleteStatusReportsProjectsProjectNameRequiredChecksCheckName(ctx, projectName, checkName, reqEditors...) if err != nil { return nil, err } return ParseDeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse(rsp) } // GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithResponse request returning *GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse func (c *ClientWithResponses) GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithResponse(ctx context.Context, projectName string, repositoryName string, buildId int, reqEditors ...RequestEditorFn) (*GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse, error) { rsp, err := c.GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildId(ctx, projectName, repositoryName, buildId, reqEditors...) if err != nil { return nil, err } return ParseGetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse(rsp) } // PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithBodyWithResponse request with arbitrary body returning *PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse func (c *ClientWithResponses) PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, buildId int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse, error) { rsp, err := c.PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithBody(ctx, projectName, repositoryName, buildId, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse(rsp) } // GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithResponse request returning *GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse func (c *ClientWithResponses) GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithResponse(ctx context.Context, projectName string, repositoryName string, reqEditors ...RequestEditorFn) (*GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse, error) { rsp, err := c.GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecks(ctx, projectName, repositoryName, reqEditors...) if err != nil { return nil, err } return ParseGetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse(rsp) } // PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithBodyWithResponse request with arbitrary body returning *PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse func (c *ClientWithResponses) PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithBodyWithResponse(ctx context.Context, projectName string, repositoryName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse, error) { rsp, err := c.PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithBody(ctx, projectName, repositoryName, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse(rsp) } // DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameWithResponse request returning *DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse func (c *ClientWithResponses) DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameWithResponse(ctx context.Context, projectName string, repositoryName string, checkName string, reqEditors ...RequestEditorFn) (*DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse, error) { rsp, err := c.DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckName(ctx, projectName, repositoryName, checkName, reqEditors...) if err != nil { return nil, err } return ParseDeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse(rsp) } // GetStatusReportsRequestsIdReportsWithResponse request returning *GetStatusReportsRequestsIdReportsResponse func (c *ClientWithResponses) GetStatusReportsRequestsIdReportsWithResponse(ctx context.Context, id int, reqEditors ...RequestEditorFn) (*GetStatusReportsRequestsIdReportsResponse, error) { rsp, err := c.GetStatusReportsRequestsIdReports(ctx, id, reqEditors...) if err != nil { return nil, err } return ParseGetStatusReportsRequestsIdReportsResponse(rsp) } // PostStatusReportsRequestsIdReportsWithBodyWithResponse request with arbitrary body returning *PostStatusReportsRequestsIdReportsResponse func (c *ClientWithResponses) PostStatusReportsRequestsIdReportsWithBodyWithResponse(ctx context.Context, id int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStatusReportsRequestsIdReportsResponse, error) { rsp, err := c.PostStatusReportsRequestsIdReportsWithBody(ctx, id, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostStatusReportsRequestsIdReportsResponse(rsp) } // PostTriggerWithResponse request returning *PostTriggerResponse func (c *ClientWithResponses) PostTriggerWithResponse(ctx context.Context, params *PostTriggerParams, reqEditors ...RequestEditorFn) (*PostTriggerResponse, error) { rsp, err := c.PostTrigger(ctx, params, reqEditors...) if err != nil { return nil, err } return ParsePostTriggerResponse(rsp) } // PostTriggerRebuildWithResponse request returning *PostTriggerRebuildResponse func (c *ClientWithResponses) PostTriggerRebuildWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTriggerRebuildResponse, error) { rsp, err := c.PostTriggerRebuild(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostTriggerRebuildResponse(rsp) } // PostTriggerReleaseWithResponse request returning *PostTriggerReleaseResponse func (c *ClientWithResponses) PostTriggerReleaseWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTriggerReleaseResponse, error) { rsp, err := c.PostTriggerRelease(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostTriggerReleaseResponse(rsp) } // PostTriggerRunserviceWithResponse request returning *PostTriggerRunserviceResponse func (c *ClientWithResponses) PostTriggerRunserviceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTriggerRunserviceResponse, error) { rsp, err := c.PostTriggerRunservice(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostTriggerRunserviceResponse(rsp) } // PostTriggerWebhookWithResponse request returning *PostTriggerWebhookResponse func (c *ClientWithResponses) PostTriggerWebhookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTriggerWebhookResponse, error) { rsp, err := c.PostTriggerWebhook(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostTriggerWebhookResponse(rsp) } // PostTriggerWorkflowWithResponse request returning *PostTriggerWorkflowResponse func (c *ClientWithResponses) PostTriggerWorkflowWithResponse(ctx context.Context, params *PostTriggerWorkflowParams, reqEditors ...RequestEditorFn) (*PostTriggerWorkflowResponse, error) { rsp, err := c.PostTriggerWorkflow(ctx, params, reqEditors...) if err != nil { return nil, err } return ParsePostTriggerWorkflowResponse(rsp) } // GetWorkerStatusWithResponse request returning *GetWorkerStatusResponse func (c *ClientWithResponses) GetWorkerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkerStatusResponse, error) { rsp, err := c.GetWorkerStatus(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetWorkerStatusResponse(rsp) } // GetWorkerStatusWithResponse request returning *GetWorkerStatusResponse func (c *ClientWithResponses) GetWorkerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkerStatusResponse, error) { rsp, err := c.GetWorkerStatus(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetWorkerStatusResponse(rsp) } // GetWorkerArchitectureNameWorkerIdWithResponse request returning *GetWorkerArchitectureNameWorkerIdResponse func (c *ClientWithResponses) GetWorkerArchitectureNameWorkerIdWithResponse(ctx context.Context, architectureName string, workerId string, reqEditors ...RequestEditorFn) (*GetWorkerArchitectureNameWorkerIdResponse, error) { rsp, err := c.GetWorkerArchitectureNameWorkerId(ctx, architectureName, workerId, reqEditors...) if err != nil { return nil, err } return ParseGetWorkerArchitectureNameWorkerIdResponse(rsp) } // PostWorkercmdCheckconstraintsWithBodyWithResponse request with arbitrary body returning *PostWorkercmdCheckconstraintsResponse func (c *ClientWithResponses) PostWorkercmdCheckconstraintsWithBodyWithResponse(ctx context.Context, params *PostWorkercmdCheckconstraintsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostWorkercmdCheckconstraintsResponse, error) { rsp, err := c.PostWorkercmdCheckconstraintsWithBody(ctx, params, contentType, body, reqEditors...) if err != nil { return nil, err } return ParsePostWorkercmdCheckconstraintsResponse(rsp) } // ParseGetAboutResponse parses an HTTP response from a GetAboutWithResponse call func ParseGetAboutResponse(rsp *http.Response) (*GetAboutResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetAboutResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetAnnouncementsResponse parses an HTTP response from a GetAnnouncementsWithResponse call func ParseGetAnnouncementsResponse(rsp *http.Response) (*GetAnnouncementsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetAnnouncementsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostAnnouncementsResponse parses an HTTP response from a PostAnnouncementsWithResponse call func ParsePostAnnouncementsResponse(rsp *http.Response) (*PostAnnouncementsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostAnnouncementsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteAnnouncementsAnnouncementIdResponse parses an HTTP response from a DeleteAnnouncementsAnnouncementIdWithResponse call func ParseDeleteAnnouncementsAnnouncementIdResponse(rsp *http.Response) (*DeleteAnnouncementsAnnouncementIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteAnnouncementsAnnouncementIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetAnnouncementsAnnouncementIdResponse parses an HTTP response from a GetAnnouncementsAnnouncementIdWithResponse call func ParseGetAnnouncementsAnnouncementIdResponse(rsp *http.Response) (*GetAnnouncementsAnnouncementIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetAnnouncementsAnnouncementIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutAnnouncementsAnnouncementIdResponse parses an HTTP response from a PutAnnouncementsAnnouncementIdWithResponse call func ParsePutAnnouncementsAnnouncementIdResponse(rsp *http.Response) (*PutAnnouncementsAnnouncementIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutAnnouncementsAnnouncementIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetArchitecturesResponse parses an HTTP response from a GetArchitecturesWithResponse call func ParseGetArchitecturesResponse(rsp *http.Response) (*GetArchitecturesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetArchitecturesResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetArchitecturesArchitectureNameResponse parses an HTTP response from a GetArchitecturesArchitectureNameWithResponse call func ParseGetArchitecturesArchitectureNameResponse(rsp *http.Response) (*GetArchitecturesArchitectureNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetArchitecturesArchitectureNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetAttributeResponse parses an HTTP response from a GetAttributeWithResponse call func ParseGetAttributeResponse(rsp *http.Response) (*GetAttributeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetAttributeResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteAttributeNamespaceResponse parses an HTTP response from a DeleteAttributeNamespaceWithResponse call func ParseDeleteAttributeNamespaceResponse(rsp *http.Response) (*DeleteAttributeNamespaceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteAttributeNamespaceResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetAttributeNamespaceResponse parses an HTTP response from a GetAttributeNamespaceWithResponse call func ParseGetAttributeNamespaceResponse(rsp *http.Response) (*GetAttributeNamespaceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetAttributeNamespaceResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteAttributeNamespaceMetaResponse parses an HTTP response from a DeleteAttributeNamespaceMetaWithResponse call func ParseDeleteAttributeNamespaceMetaResponse(rsp *http.Response) (*DeleteAttributeNamespaceMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteAttributeNamespaceMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetAttributeNamespaceMetaResponse parses an HTTP response from a GetAttributeNamespaceMetaWithResponse call func ParseGetAttributeNamespaceMetaResponse(rsp *http.Response) (*GetAttributeNamespaceMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetAttributeNamespaceMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostAttributeNamespaceMetaResponse parses an HTTP response from a PostAttributeNamespaceMetaWithResponse call func ParsePostAttributeNamespaceMetaResponse(rsp *http.Response) (*PostAttributeNamespaceMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostAttributeNamespaceMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutAttributeNamespaceMetaResponse parses an HTTP response from a PutAttributeNamespaceMetaWithResponse call func ParsePutAttributeNamespaceMetaResponse(rsp *http.Response) (*PutAttributeNamespaceMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutAttributeNamespaceMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteAttributeNamespaceAttributeNameResponse parses an HTTP response from a DeleteAttributeNamespaceAttributeNameWithResponse call func ParseDeleteAttributeNamespaceAttributeNameResponse(rsp *http.Response) (*DeleteAttributeNamespaceAttributeNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteAttributeNamespaceAttributeNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteAttributeNamespaceAttributeNameMetaResponse parses an HTTP response from a DeleteAttributeNamespaceAttributeNameMetaWithResponse call func ParseDeleteAttributeNamespaceAttributeNameMetaResponse(rsp *http.Response) (*DeleteAttributeNamespaceAttributeNameMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteAttributeNamespaceAttributeNameMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetAttributeNamespaceAttributeNameMetaResponse parses an HTTP response from a GetAttributeNamespaceAttributeNameMetaWithResponse call func ParseGetAttributeNamespaceAttributeNameMetaResponse(rsp *http.Response) (*GetAttributeNamespaceAttributeNameMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetAttributeNamespaceAttributeNameMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostAttributeNamespaceAttributeNameMetaResponse parses an HTTP response from a PostAttributeNamespaceAttributeNameMetaWithResponse call func ParsePostAttributeNamespaceAttributeNameMetaResponse(rsp *http.Response) (*PostAttributeNamespaceAttributeNameMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostAttributeNamespaceAttributeNameMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutAttributeNamespaceAttributeNameMetaResponse parses an HTTP response from a PutAttributeNamespaceAttributeNameMetaWithResponse call func ParsePutAttributeNamespaceAttributeNameMetaResponse(rsp *http.Response) (*PutAttributeNamespaceAttributeNameMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutAttributeNamespaceAttributeNameMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildResponse parses an HTTP response from a GetBuildWithResponse call func ParseGetBuildResponse(rsp *http.Response) (*GetBuildResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildWorkerstatusResponse parses an HTTP response from a GetBuildWorkerstatusWithResponse call func ParseGetBuildWorkerstatusResponse(rsp *http.Response) (*GetBuildWorkerstatusResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildWorkerstatusResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameResponse parses an HTTP response from a GetBuildProjectNameWithResponse call func ParseGetBuildProjectNameResponse(rsp *http.Response) (*GetBuildProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostBuildProjectNameResponse parses an HTTP response from a PostBuildProjectNameWithResponse call func ParsePostBuildProjectNameResponse(rsp *http.Response) (*PostBuildProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostBuildProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameResultResponse parses an HTTP response from a GetBuildProjectNameResultWithResponse call func ParseGetBuildProjectNameResultResponse(rsp *http.Response) (*GetBuildProjectNameResultResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameResultResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameWithResponse call func ParseGetBuildProjectNameRepositoryNameResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameBuildconfigResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameBuildconfigWithResponse call func ParseGetBuildProjectNameRepositoryNameBuildconfigResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameBuildconfigResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameBuildconfigResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse parses an HTTP response from a PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoWithResponse call func ParsePostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse(rsp *http.Response) (*PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostBuildProjectNameRepositoryNameArchitectureNameBuilddepinfoResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNameJobhistoryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNameRepositoryWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNameRepositoryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildenvResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse parses an HTTP response from a PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoWithResponse call func ParsePostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse(rsp *http.Response) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostBuildProjectNameRepositoryNameArchitectureNamePackageNameBuildinfoResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse parses an HTTP response from a PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryWithResponse call func ParsePostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse(rsp *http.Response) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostBuildProjectNameRepositoryNameArchitectureNamePackageNameHistoryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameJobstatusResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameLogResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameReasonResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatisticsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse parses an HTTP response from a PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusWithResponse call func ParsePostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse(rsp *http.Response) (*PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostBuildProjectNameRepositoryNameArchitectureNamePackageNameStatusResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse parses an HTTP response from a DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse call func ParseDeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse(rsp *http.Response) (*DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse parses an HTTP response from a PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameWithResponse call func ParsePutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse(rsp *http.Response) (*PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse parses an HTTP response from a GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoWithResponse call func ParseGetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse(rsp *http.Response) (*GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetBuildProjectNameRepositoryNameArchitectureNamePackageNameFileNameviewFileinfoResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteCommentCommentIdResponse parses an HTTP response from a DeleteCommentCommentIdWithResponse call func ParseDeleteCommentCommentIdResponse(rsp *http.Response) (*DeleteCommentCommentIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteCommentCommentIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetCommentCommentIdHistoryResponse parses an HTTP response from a GetCommentCommentIdHistoryWithResponse call func ParseGetCommentCommentIdHistoryResponse(rsp *http.Response) (*GetCommentCommentIdHistoryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetCommentCommentIdHistoryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetCommentsPackageProjectNamePackageNameResponse parses an HTTP response from a GetCommentsPackageProjectNamePackageNameWithResponse call func ParseGetCommentsPackageProjectNamePackageNameResponse(rsp *http.Response) (*GetCommentsPackageProjectNamePackageNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetCommentsPackageProjectNamePackageNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostCommentsPackageProjectNamePackageNameResponse parses an HTTP response from a PostCommentsPackageProjectNamePackageNameWithResponse call func ParsePostCommentsPackageProjectNamePackageNameResponse(rsp *http.Response) (*PostCommentsPackageProjectNamePackageNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostCommentsPackageProjectNamePackageNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetCommentsProjectProjectNameResponse parses an HTTP response from a GetCommentsProjectProjectNameWithResponse call func ParseGetCommentsProjectProjectNameResponse(rsp *http.Response) (*GetCommentsProjectProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetCommentsProjectProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostCommentsProjectProjectNameResponse parses an HTTP response from a PostCommentsProjectProjectNameWithResponse call func ParsePostCommentsProjectProjectNameResponse(rsp *http.Response) (*PostCommentsProjectProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostCommentsProjectProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetCommentsRequestIdResponse parses an HTTP response from a GetCommentsRequestIdWithResponse call func ParseGetCommentsRequestIdResponse(rsp *http.Response) (*GetCommentsRequestIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetCommentsRequestIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostCommentsRequestIdResponse parses an HTTP response from a PostCommentsRequestIdWithResponse call func ParsePostCommentsRequestIdResponse(rsp *http.Response) (*PostCommentsRequestIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostCommentsRequestIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetCommentsUserResponse parses an HTTP response from a GetCommentsUserWithResponse call func ParseGetCommentsUserResponse(rsp *http.Response) (*GetCommentsUserResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetCommentsUserResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetConfigurationResponse parses an HTTP response from a GetConfigurationWithResponse call func ParseGetConfigurationResponse(rsp *http.Response) (*GetConfigurationResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetConfigurationResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutConfigurationResponse parses an HTTP response from a PutConfigurationWithResponse call func ParsePutConfigurationResponse(rsp *http.Response) (*PutConfigurationResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutConfigurationResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetDistributionsResponse parses an HTTP response from a GetDistributionsWithResponse call func ParseGetDistributionsResponse(rsp *http.Response) (*GetDistributionsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetDistributionsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostDistributionsResponse parses an HTTP response from a PostDistributionsWithResponse call func ParsePostDistributionsResponse(rsp *http.Response) (*PostDistributionsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostDistributionsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutDistributionsBulkReplaceResponse parses an HTTP response from a PutDistributionsBulkReplaceWithResponse call func ParsePutDistributionsBulkReplaceResponse(rsp *http.Response) (*PutDistributionsBulkReplaceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutDistributionsBulkReplaceResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetDistributionsIncludeRemotesResponse parses an HTTP response from a GetDistributionsIncludeRemotesWithResponse call func ParseGetDistributionsIncludeRemotesResponse(rsp *http.Response) (*GetDistributionsIncludeRemotesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetDistributionsIncludeRemotesResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteDistributionsDistributionIdResponse parses an HTTP response from a DeleteDistributionsDistributionIdWithResponse call func ParseDeleteDistributionsDistributionIdResponse(rsp *http.Response) (*DeleteDistributionsDistributionIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteDistributionsDistributionIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetDistributionsDistributionIdResponse parses an HTTP response from a GetDistributionsDistributionIdWithResponse call func ParseGetDistributionsDistributionIdResponse(rsp *http.Response) (*GetDistributionsDistributionIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetDistributionsDistributionIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutDistributionsDistributionIdResponse parses an HTTP response from a PutDistributionsDistributionIdWithResponse call func ParsePutDistributionsDistributionIdResponse(rsp *http.Response) (*PutDistributionsDistributionIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutDistributionsDistributionIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetGroupResponse parses an HTTP response from a GetGroupWithResponse call func ParseGetGroupResponse(rsp *http.Response) (*GetGroupResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetGroupResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteGroupGroupTitleResponse parses an HTTP response from a DeleteGroupGroupTitleWithResponse call func ParseDeleteGroupGroupTitleResponse(rsp *http.Response) (*DeleteGroupGroupTitleResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteGroupGroupTitleResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetGroupGroupTitleResponse parses an HTTP response from a GetGroupGroupTitleWithResponse call func ParseGetGroupGroupTitleResponse(rsp *http.Response) (*GetGroupGroupTitleResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetGroupGroupTitleResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostGroupGroupTitleResponse parses an HTTP response from a PostGroupGroupTitleWithResponse call func ParsePostGroupGroupTitleResponse(rsp *http.Response) (*PostGroupGroupTitleResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostGroupGroupTitleResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutGroupGroupTitleResponse parses an HTTP response from a PutGroupGroupTitleWithResponse call func ParsePutGroupGroupTitleResponse(rsp *http.Response) (*PutGroupGroupTitleResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutGroupGroupTitleResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetImageTemplatesResponse parses an HTTP response from a GetImageTemplatesWithResponse call func ParseGetImageTemplatesResponse(rsp *http.Response) (*GetImageTemplatesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetImageTemplatesResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetIssueTrackersResponse parses an HTTP response from a GetIssueTrackersWithResponse call func ParseGetIssueTrackersResponse(rsp *http.Response) (*GetIssueTrackersResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetIssueTrackersResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostIssueTrackersResponse parses an HTTP response from a PostIssueTrackersWithResponse call func ParsePostIssueTrackersResponse(rsp *http.Response) (*PostIssueTrackersResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostIssueTrackersResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteIssueTrackersIssueTrackerNameResponse parses an HTTP response from a DeleteIssueTrackersIssueTrackerNameWithResponse call func ParseDeleteIssueTrackersIssueTrackerNameResponse(rsp *http.Response) (*DeleteIssueTrackersIssueTrackerNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteIssueTrackersIssueTrackerNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetIssueTrackersIssueTrackerNameResponse parses an HTTP response from a GetIssueTrackersIssueTrackerNameWithResponse call func ParseGetIssueTrackersIssueTrackerNameResponse(rsp *http.Response) (*GetIssueTrackersIssueTrackerNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetIssueTrackersIssueTrackerNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutIssueTrackersIssueTrackerNameResponse parses an HTTP response from a PutIssueTrackersIssueTrackerNameWithResponse call func ParsePutIssueTrackersIssueTrackerNameResponse(rsp *http.Response) (*PutIssueTrackersIssueTrackerNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutIssueTrackersIssueTrackerNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetIssueTrackersIssueTrackerNameIssuesIssueNameResponse parses an HTTP response from a GetIssueTrackersIssueTrackerNameIssuesIssueNameWithResponse call func ParseGetIssueTrackersIssueTrackerNameIssuesIssueNameResponse(rsp *http.Response) (*GetIssueTrackersIssueTrackerNameIssuesIssueNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetIssueTrackersIssueTrackerNameIssuesIssueNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetMyNotificationsResponse parses an HTTP response from a GetMyNotificationsWithResponse call func ParseGetMyNotificationsResponse(rsp *http.Response) (*GetMyNotificationsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetMyNotificationsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutMyNotificationsIdResponse parses an HTTP response from a PutMyNotificationsIdWithResponse call func ParsePutMyNotificationsIdResponse(rsp *http.Response) (*PutMyNotificationsIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutMyNotificationsIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPersonResponse parses an HTTP response from a GetPersonWithResponse call func ParseGetPersonResponse(rsp *http.Response) (*GetPersonResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPersonResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostPersonResponse parses an HTTP response from a PostPersonWithResponse call func ParsePostPersonResponse(rsp *http.Response) (*PostPersonResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostPersonResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostPersonRegisterResponse parses an HTTP response from a PostPersonRegisterWithResponse call func ParsePostPersonRegisterResponse(rsp *http.Response) (*PostPersonRegisterResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostPersonRegisterResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPersonLoginResponse parses an HTTP response from a GetPersonLoginWithResponse call func ParseGetPersonLoginResponse(rsp *http.Response) (*GetPersonLoginResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPersonLoginResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostPersonLoginResponse parses an HTTP response from a PostPersonLoginWithResponse call func ParsePostPersonLoginResponse(rsp *http.Response) (*PostPersonLoginResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostPersonLoginResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutPersonLoginResponse parses an HTTP response from a PutPersonLoginWithResponse call func ParsePutPersonLoginResponse(rsp *http.Response) (*PutPersonLoginResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutPersonLoginResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPersonLoginGroupResponse parses an HTTP response from a GetPersonLoginGroupWithResponse call func ParseGetPersonLoginGroupResponse(rsp *http.Response) (*GetPersonLoginGroupResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPersonLoginGroupResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPersonLoginTokenResponse parses an HTTP response from a GetPersonLoginTokenWithResponse call func ParseGetPersonLoginTokenResponse(rsp *http.Response) (*GetPersonLoginTokenResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPersonLoginTokenResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostPersonLoginTokenResponse parses an HTTP response from a PostPersonLoginTokenWithResponse call func ParsePostPersonLoginTokenResponse(rsp *http.Response) (*PostPersonLoginTokenResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostPersonLoginTokenResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeletePersonLoginTokenIdResponse parses an HTTP response from a DeletePersonLoginTokenIdWithResponse call func ParseDeletePersonLoginTokenIdResponse(rsp *http.Response) (*DeletePersonLoginTokenIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeletePersonLoginTokenIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPersonLoginWatchlistResponse parses an HTTP response from a GetPersonLoginWatchlistWithResponse call func ParseGetPersonLoginWatchlistResponse(rsp *http.Response) (*GetPersonLoginWatchlistResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPersonLoginWatchlistResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutPersonLoginWatchlistResponse parses an HTTP response from a PutPersonLoginWatchlistWithResponse call func ParsePutPersonLoginWatchlistResponse(rsp *http.Response) (*PutPersonLoginWatchlistResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutPersonLoginWatchlistResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPublishedResponse parses an HTTP response from a GetPublishedWithResponse call func ParseGetPublishedResponse(rsp *http.Response) (*GetPublishedResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPublishedResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPublishedProjectNameResponse parses an HTTP response from a GetPublishedProjectNameWithResponse call func ParseGetPublishedProjectNameResponse(rsp *http.Response) (*GetPublishedProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPublishedProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPublishedProjectNameRepositoryNameResponse parses an HTTP response from a GetPublishedProjectNameRepositoryNameWithResponse call func ParseGetPublishedProjectNameRepositoryNameResponse(rsp *http.Response) (*GetPublishedProjectNameRepositoryNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPublishedProjectNameRepositoryNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPublishedProjectNameRepositoryNameArchitectureNameResponse parses an HTTP response from a GetPublishedProjectNameRepositoryNameArchitectureNameWithResponse call func ParseGetPublishedProjectNameRepositoryNameArchitectureNameResponse(rsp *http.Response) (*GetPublishedProjectNameRepositoryNameArchitectureNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPublishedProjectNameRepositoryNameArchitectureNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse parses an HTTP response from a GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameWithResponse call func ParseGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse(rsp *http.Response) (*GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "xml") && rsp.StatusCode == 200: var dest openapi_types.File if err := xml.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.XML200 = &dest case rsp.StatusCode == 200: // Content-type (application/*) unsupported } return response, nil } // ParseGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse parses an HTTP response from a GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpWithResponse call func ParseGetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse(rsp *http.Response) (*GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPublishedProjectNameRepositoryNameArchitectureNameBinaryFilenameviewYmpResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetPublishedProjectNameRepositoryNameviewStatusResponse parses an HTTP response from a GetPublishedProjectNameRepositoryNameviewStatusWithResponse call func ParseGetPublishedProjectNameRepositoryNameviewStatusResponse(rsp *http.Response) (*GetPublishedProjectNameRepositoryNameviewStatusResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetPublishedProjectNameRepositoryNameviewStatusResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetRequestResponse parses an HTTP response from a GetRequestWithResponse call func ParseGetRequestResponse(rsp *http.Response) (*GetRequestResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetRequestResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostRequestResponse parses an HTTP response from a PostRequestWithResponse call func ParsePostRequestResponse(rsp *http.Response) (*PostRequestResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostRequestResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteRequestIdResponse parses an HTTP response from a DeleteRequestIdWithResponse call func ParseDeleteRequestIdResponse(rsp *http.Response) (*DeleteRequestIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteRequestIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetRequestIdResponse parses an HTTP response from a GetRequestIdWithResponse call func ParseGetRequestIdResponse(rsp *http.Response) (*GetRequestIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetRequestIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostRequestIdResponse parses an HTTP response from a PostRequestIdWithResponse call func ParsePostRequestIdResponse(rsp *http.Response) (*PostRequestIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostRequestIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutRequestIdResponse parses an HTTP response from a PutRequestIdWithResponse call func ParsePutRequestIdResponse(rsp *http.Response) (*PutRequestIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutRequestIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostRequestIdcmdDiffResponse parses an HTTP response from a PostRequestIdcmdDiffWithResponse call func ParsePostRequestIdcmdDiffResponse(rsp *http.Response) (*PostRequestIdcmdDiffResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostRequestIdcmdDiffResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetRequestviewCollectionResponse parses an HTTP response from a GetRequestviewCollectionWithResponse call func ParseGetRequestviewCollectionResponse(rsp *http.Response) (*GetRequestviewCollectionResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetRequestviewCollectionResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchResponse parses an HTTP response from a GetSearchWithResponse call func ParseGetSearchResponse(rsp *http.Response) (*GetSearchResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchResponse parses an HTTP response from a PostSearchWithResponse call func ParsePostSearchResponse(rsp *http.Response) (*PostSearchResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchChannelResponse parses an HTTP response from a GetSearchChannelWithResponse call func ParseGetSearchChannelResponse(rsp *http.Response) (*GetSearchChannelResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchChannelResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchChannelResponse parses an HTTP response from a PostSearchChannelWithResponse call func ParsePostSearchChannelResponse(rsp *http.Response) (*PostSearchChannelResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchChannelResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchChannelBinaryResponse parses an HTTP response from a GetSearchChannelBinaryWithResponse call func ParseGetSearchChannelBinaryResponse(rsp *http.Response) (*GetSearchChannelBinaryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchChannelBinaryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchChannelBinaryResponse parses an HTTP response from a PostSearchChannelBinaryWithResponse call func ParsePostSearchChannelBinaryResponse(rsp *http.Response) (*PostSearchChannelBinaryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchChannelBinaryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchChannelBinaryIdResponse parses an HTTP response from a GetSearchChannelBinaryIdWithResponse call func ParseGetSearchChannelBinaryIdResponse(rsp *http.Response) (*GetSearchChannelBinaryIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchChannelBinaryIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchChannelBinaryIdResponse parses an HTTP response from a PostSearchChannelBinaryIdWithResponse call func ParsePostSearchChannelBinaryIdResponse(rsp *http.Response) (*PostSearchChannelBinaryIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchChannelBinaryIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchIssueResponse parses an HTTP response from a GetSearchIssueWithResponse call func ParseGetSearchIssueResponse(rsp *http.Response) (*GetSearchIssueResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchIssueResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchIssueResponse parses an HTTP response from a PostSearchIssueWithResponse call func ParsePostSearchIssueResponse(rsp *http.Response) (*PostSearchIssueResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchIssueResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchMissingOwnerResponse parses an HTTP response from a GetSearchMissingOwnerWithResponse call func ParseGetSearchMissingOwnerResponse(rsp *http.Response) (*GetSearchMissingOwnerResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchMissingOwnerResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchMissingOwnerResponse parses an HTTP response from a PostSearchMissingOwnerWithResponse call func ParsePostSearchMissingOwnerResponse(rsp *http.Response) (*PostSearchMissingOwnerResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchMissingOwnerResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchOwnerResponse parses an HTTP response from a GetSearchOwnerWithResponse call func ParseGetSearchOwnerResponse(rsp *http.Response) (*GetSearchOwnerResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchOwnerResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchOwnerResponse parses an HTTP response from a PostSearchOwnerWithResponse call func ParsePostSearchOwnerResponse(rsp *http.Response) (*PostSearchOwnerResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchOwnerResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchPackageResponse parses an HTTP response from a GetSearchPackageWithResponse call func ParseGetSearchPackageResponse(rsp *http.Response) (*GetSearchPackageResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchPackageResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchPackageResponse parses an HTTP response from a PostSearchPackageWithResponse call func ParsePostSearchPackageResponse(rsp *http.Response) (*PostSearchPackageResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchPackageResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchPackageIdResponse parses an HTTP response from a GetSearchPackageIdWithResponse call func ParseGetSearchPackageIdResponse(rsp *http.Response) (*GetSearchPackageIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchPackageIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchPackageIdResponse parses an HTTP response from a PostSearchPackageIdWithResponse call func ParsePostSearchPackageIdResponse(rsp *http.Response) (*PostSearchPackageIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchPackageIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchPackageIdResponse parses an HTTP response from a GetSearchPackageIdWithResponse call func ParseGetSearchPackageIdResponse(rsp *http.Response) (*GetSearchPackageIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchPackageIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchPackageIdResponse parses an HTTP response from a PostSearchPackageIdWithResponse call func ParsePostSearchPackageIdResponse(rsp *http.Response) (*PostSearchPackageIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchPackageIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchPersonResponse parses an HTTP response from a GetSearchPersonWithResponse call func ParseGetSearchPersonResponse(rsp *http.Response) (*GetSearchPersonResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchPersonResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchPersonResponse parses an HTTP response from a PostSearchPersonWithResponse call func ParsePostSearchPersonResponse(rsp *http.Response) (*PostSearchPersonResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchPersonResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchProjectResponse parses an HTTP response from a GetSearchProjectWithResponse call func ParseGetSearchProjectResponse(rsp *http.Response) (*GetSearchProjectResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchProjectResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchProjectResponse parses an HTTP response from a PostSearchProjectWithResponse call func ParsePostSearchProjectResponse(rsp *http.Response) (*PostSearchProjectResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchProjectResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchProjectIdResponse parses an HTTP response from a GetSearchProjectIdWithResponse call func ParseGetSearchProjectIdResponse(rsp *http.Response) (*GetSearchProjectIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchProjectIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchProjectIdResponse parses an HTTP response from a PostSearchProjectIdWithResponse call func ParsePostSearchProjectIdResponse(rsp *http.Response) (*PostSearchProjectIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchProjectIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchProjectIdResponse parses an HTTP response from a GetSearchProjectIdWithResponse call func ParseGetSearchProjectIdResponse(rsp *http.Response) (*GetSearchProjectIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchProjectIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchProjectIdResponse parses an HTTP response from a PostSearchProjectIdWithResponse call func ParsePostSearchProjectIdResponse(rsp *http.Response) (*PostSearchProjectIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchProjectIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchPublishedBinaryIdResponse parses an HTTP response from a GetSearchPublishedBinaryIdWithResponse call func ParseGetSearchPublishedBinaryIdResponse(rsp *http.Response) (*GetSearchPublishedBinaryIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchPublishedBinaryIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchPublishedBinaryIdResponse parses an HTTP response from a PostSearchPublishedBinaryIdWithResponse call func ParsePostSearchPublishedBinaryIdResponse(rsp *http.Response) (*PostSearchPublishedBinaryIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchPublishedBinaryIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchPublishedPatternIdResponse parses an HTTP response from a GetSearchPublishedPatternIdWithResponse call func ParseGetSearchPublishedPatternIdResponse(rsp *http.Response) (*GetSearchPublishedPatternIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchPublishedPatternIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchPublishedPatternIdResponse parses an HTTP response from a PostSearchPublishedPatternIdWithResponse call func ParsePostSearchPublishedPatternIdResponse(rsp *http.Response) (*PostSearchPublishedPatternIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchPublishedPatternIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchPublishedRepoinfoIdResponse parses an HTTP response from a GetSearchPublishedRepoinfoIdWithResponse call func ParseGetSearchPublishedRepoinfoIdResponse(rsp *http.Response) (*GetSearchPublishedRepoinfoIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchPublishedRepoinfoIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchPublishedRepoinfoIdResponse parses an HTTP response from a PostSearchPublishedRepoinfoIdWithResponse call func ParsePostSearchPublishedRepoinfoIdResponse(rsp *http.Response) (*PostSearchPublishedRepoinfoIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchPublishedRepoinfoIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchReleasedBinaryResponse parses an HTTP response from a GetSearchReleasedBinaryWithResponse call func ParseGetSearchReleasedBinaryResponse(rsp *http.Response) (*GetSearchReleasedBinaryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchReleasedBinaryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchReleasedBinaryResponse parses an HTTP response from a PostSearchReleasedBinaryWithResponse call func ParsePostSearchReleasedBinaryResponse(rsp *http.Response) (*PostSearchReleasedBinaryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchReleasedBinaryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchReleasedBinaryIdResponse parses an HTTP response from a GetSearchReleasedBinaryIdWithResponse call func ParseGetSearchReleasedBinaryIdResponse(rsp *http.Response) (*GetSearchReleasedBinaryIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchReleasedBinaryIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchReleasedBinaryIdResponse parses an HTTP response from a PostSearchReleasedBinaryIdWithResponse call func ParsePostSearchReleasedBinaryIdResponse(rsp *http.Response) (*PostSearchReleasedBinaryIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchReleasedBinaryIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchRepositoryIdResponse parses an HTTP response from a GetSearchRepositoryIdWithResponse call func ParseGetSearchRepositoryIdResponse(rsp *http.Response) (*GetSearchRepositoryIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchRepositoryIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchRepositoryIdResponse parses an HTTP response from a PostSearchRepositoryIdWithResponse call func ParsePostSearchRepositoryIdResponse(rsp *http.Response) (*PostSearchRepositoryIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchRepositoryIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchRequestResponse parses an HTTP response from a GetSearchRequestWithResponse call func ParseGetSearchRequestResponse(rsp *http.Response) (*GetSearchRequestResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchRequestResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchRequestResponse parses an HTTP response from a PostSearchRequestWithResponse call func ParsePostSearchRequestResponse(rsp *http.Response) (*PostSearchRequestResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchRequestResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSearchRequestIdResponse parses an HTTP response from a GetSearchRequestIdWithResponse call func ParseGetSearchRequestIdResponse(rsp *http.Response) (*GetSearchRequestIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSearchRequestIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSearchRequestIdResponse parses an HTTP response from a PostSearchRequestIdWithResponse call func ParsePostSearchRequestIdResponse(rsp *http.Response) (*PostSearchRequestIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSearchRequestIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetServiceResponse parses an HTTP response from a GetServiceWithResponse call func ParseGetServiceResponse(rsp *http.Response) (*GetServiceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetServiceResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceResponse parses an HTTP response from a GetSourceWithResponse call func ParseGetSourceResponse(rsp *http.Response) (*GetSourceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteSourceProjectNameResponse parses an HTTP response from a DeleteSourceProjectNameWithResponse call func ParseDeleteSourceProjectNameResponse(rsp *http.Response) (*DeleteSourceProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteSourceProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNameResponse parses an HTTP response from a GetSourceProjectNameWithResponse call func ParseGetSourceProjectNameResponse(rsp *http.Response) (*GetSourceProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNameAttributeResponse parses an HTTP response from a GetSourceProjectNameAttributeWithResponse call func ParseGetSourceProjectNameAttributeResponse(rsp *http.Response) (*GetSourceProjectNameAttributeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNameAttributeResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteSourceProjectNameAttributeAttributeNameResponse parses an HTTP response from a DeleteSourceProjectNameAttributeAttributeNameWithResponse call func ParseDeleteSourceProjectNameAttributeAttributeNameResponse(rsp *http.Response) (*DeleteSourceProjectNameAttributeAttributeNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteSourceProjectNameAttributeAttributeNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNameAttributeAttributeNameResponse parses an HTTP response from a GetSourceProjectNameAttributeAttributeNameWithResponse call func ParseGetSourceProjectNameAttributeAttributeNameResponse(rsp *http.Response) (*GetSourceProjectNameAttributeAttributeNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNameAttributeAttributeNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNameAttributeAttributeNameResponse parses an HTTP response from a PostSourceProjectNameAttributeAttributeNameWithResponse call func ParsePostSourceProjectNameAttributeAttributeNameResponse(rsp *http.Response) (*PostSourceProjectNameAttributeAttributeNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNameAttributeAttributeNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNameConfigResponse parses an HTTP response from a GetSourceProjectNameConfigWithResponse call func ParseGetSourceProjectNameConfigResponse(rsp *http.Response) (*GetSourceProjectNameConfigResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNameConfigResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutSourceProjectNameConfigResponse parses an HTTP response from a PutSourceProjectNameConfigWithResponse call func ParsePutSourceProjectNameConfigResponse(rsp *http.Response) (*PutSourceProjectNameConfigResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutSourceProjectNameConfigResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNameKeyinfoResponse parses an HTTP response from a GetSourceProjectNameKeyinfoWithResponse call func ParseGetSourceProjectNameKeyinfoResponse(rsp *http.Response) (*GetSourceProjectNameKeyinfoResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNameKeyinfoResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNameMetaResponse parses an HTTP response from a GetSourceProjectNameMetaWithResponse call func ParseGetSourceProjectNameMetaResponse(rsp *http.Response) (*GetSourceProjectNameMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNameMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutSourceProjectNameMetaResponse parses an HTTP response from a PutSourceProjectNameMetaWithResponse call func ParsePutSourceProjectNameMetaResponse(rsp *http.Response) (*PutSourceProjectNameMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutSourceProjectNameMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePatternResponse parses an HTTP response from a GetSourceProjectNamePatternWithResponse call func ParseGetSourceProjectNamePatternResponse(rsp *http.Response) (*GetSourceProjectNamePatternResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePatternResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteSourceProjectNamePatternFileNameResponse parses an HTTP response from a DeleteSourceProjectNamePatternFileNameWithResponse call func ParseDeleteSourceProjectNamePatternFileNameResponse(rsp *http.Response) (*DeleteSourceProjectNamePatternFileNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteSourceProjectNamePatternFileNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePatternFileNameResponse parses an HTTP response from a GetSourceProjectNamePatternFileNameWithResponse call func ParseGetSourceProjectNamePatternFileNameResponse(rsp *http.Response) (*GetSourceProjectNamePatternFileNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePatternFileNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutSourceProjectNamePatternFileNameResponse parses an HTTP response from a PutSourceProjectNamePatternFileNameWithResponse call func ParsePutSourceProjectNamePatternFileNameResponse(rsp *http.Response) (*PutSourceProjectNamePatternFileNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutSourceProjectNamePatternFileNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNameProjectResponse parses an HTTP response from a GetSourceProjectNameProjectWithResponse call func ParseGetSourceProjectNameProjectResponse(rsp *http.Response) (*GetSourceProjectNameProjectResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNameProjectResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNameProjectHistoryResponse parses an HTTP response from a GetSourceProjectNameProjectHistoryWithResponse call func ParseGetSourceProjectNameProjectHistoryResponse(rsp *http.Response) (*GetSourceProjectNameProjectHistoryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNameProjectHistoryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNameProjectFileNameResponse parses an HTTP response from a GetSourceProjectNameProjectFileNameWithResponse call func ParseGetSourceProjectNameProjectFileNameResponse(rsp *http.Response) (*GetSourceProjectNameProjectFileNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNameProjectFileNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteSourceProjectNamePubkeyResponse parses an HTTP response from a DeleteSourceProjectNamePubkeyWithResponse call func ParseDeleteSourceProjectNamePubkeyResponse(rsp *http.Response) (*DeleteSourceProjectNamePubkeyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteSourceProjectNamePubkeyResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePubkeyResponse parses an HTTP response from a GetSourceProjectNamePubkeyWithResponse call func ParseGetSourceProjectNamePubkeyResponse(rsp *http.Response) (*GetSourceProjectNamePubkeyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePubkeyResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteSourceProjectNamePackageNameResponse parses an HTTP response from a DeleteSourceProjectNamePackageNameWithResponse call func ParseDeleteSourceProjectNamePackageNameResponse(rsp *http.Response) (*DeleteSourceProjectNamePackageNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteSourceProjectNamePackageNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePackageNameResponse parses an HTTP response from a GetSourceProjectNamePackageNameWithResponse call func ParseGetSourceProjectNamePackageNameResponse(rsp *http.Response) (*GetSourceProjectNamePackageNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePackageNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePackageNameAttributeResponse parses an HTTP response from a GetSourceProjectNamePackageNameAttributeWithResponse call func ParseGetSourceProjectNamePackageNameAttributeResponse(rsp *http.Response) (*GetSourceProjectNamePackageNameAttributeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePackageNameAttributeResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNameAttributeResponse parses an HTTP response from a PostSourceProjectNamePackageNameAttributeWithResponse call func ParsePostSourceProjectNamePackageNameAttributeResponse(rsp *http.Response) (*PostSourceProjectNamePackageNameAttributeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNameAttributeResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteSourceProjectNamePackageNameAttributeAttributeNameResponse parses an HTTP response from a DeleteSourceProjectNamePackageNameAttributeAttributeNameWithResponse call func ParseDeleteSourceProjectNamePackageNameAttributeAttributeNameResponse(rsp *http.Response) (*DeleteSourceProjectNamePackageNameAttributeAttributeNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteSourceProjectNamePackageNameAttributeAttributeNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePackageNameAttributeAttributeNameResponse parses an HTTP response from a GetSourceProjectNamePackageNameAttributeAttributeNameWithResponse call func ParseGetSourceProjectNamePackageNameAttributeAttributeNameResponse(rsp *http.Response) (*GetSourceProjectNamePackageNameAttributeAttributeNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePackageNameAttributeAttributeNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNameAttributeAttributeNameResponse parses an HTTP response from a PostSourceProjectNamePackageNameAttributeAttributeNameWithResponse call func ParsePostSourceProjectNamePackageNameAttributeAttributeNameResponse(rsp *http.Response) (*PostSourceProjectNamePackageNameAttributeAttributeNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNameAttributeAttributeNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePackageNameHistoryResponse parses an HTTP response from a GetSourceProjectNamePackageNameHistoryWithResponse call func ParseGetSourceProjectNamePackageNameHistoryResponse(rsp *http.Response) (*GetSourceProjectNamePackageNameHistoryResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePackageNameHistoryResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePackageNameMetaResponse parses an HTTP response from a GetSourceProjectNamePackageNameMetaWithResponse call func ParseGetSourceProjectNamePackageNameMetaResponse(rsp *http.Response) (*GetSourceProjectNamePackageNameMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePackageNameMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutSourceProjectNamePackageNameMetaResponse parses an HTTP response from a PutSourceProjectNamePackageNameMetaWithResponse call func ParsePutSourceProjectNamePackageNameMetaResponse(rsp *http.Response) (*PutSourceProjectNamePackageNameMetaResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutSourceProjectNamePackageNameMetaResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePackageNameBinaryFilenameAttributeResponse parses an HTTP response from a GetSourceProjectNamePackageNameBinaryFilenameAttributeWithResponse call func ParseGetSourceProjectNamePackageNameBinaryFilenameAttributeResponse(rsp *http.Response) (*GetSourceProjectNamePackageNameBinaryFilenameAttributeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePackageNameBinaryFilenameAttributeResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNameBinaryFilenameAttributeResponse parses an HTTP response from a PostSourceProjectNamePackageNameBinaryFilenameAttributeWithResponse call func ParsePostSourceProjectNamePackageNameBinaryFilenameAttributeResponse(rsp *http.Response) (*PostSourceProjectNamePackageNameBinaryFilenameAttributeResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNameBinaryFilenameAttributeResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse parses an HTTP response from a DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameWithResponse call func ParseDeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse(rsp *http.Response) (*DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse parses an HTTP response from a GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameWithResponse call func ParseGetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse(rsp *http.Response) (*GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePackageNameBinaryFilenameAttributeAttributeNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteSourceProjectNamePackageNameFileNameResponse parses an HTTP response from a DeleteSourceProjectNamePackageNameFileNameWithResponse call func ParseDeleteSourceProjectNamePackageNameFileNameResponse(rsp *http.Response) (*DeleteSourceProjectNamePackageNameFileNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteSourceProjectNamePackageNameFileNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePackageNameFileNameResponse parses an HTTP response from a GetSourceProjectNamePackageNameFileNameWithResponse call func ParseGetSourceProjectNamePackageNameFileNameResponse(rsp *http.Response) (*GetSourceProjectNamePackageNameFileNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePackageNameFileNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutSourceProjectNamePackageNameFileNameResponse parses an HTTP response from a PutSourceProjectNamePackageNameFileNameWithResponse call func ParsePutSourceProjectNamePackageNameFileNameResponse(rsp *http.Response) (*PutSourceProjectNamePackageNameFileNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutSourceProjectNamePackageNameFileNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdAddcontainersResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdAddcontainersWithResponse call func ParsePostSourceProjectNamePackageNamecmdAddcontainersResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdAddcontainersResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdAddcontainersResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdBranchResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdBranchWithResponse call func ParsePostSourceProjectNamePackageNamecmdBranchResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdBranchResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdBranchResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdCollectbuildenvResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdCollectbuildenvWithResponse call func ParsePostSourceProjectNamePackageNamecmdCollectbuildenvResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdCollectbuildenvResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdCollectbuildenvResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdCommitResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdCommitWithResponse call func ParsePostSourceProjectNamePackageNamecmdCommitResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdCommitResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdCommitResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "xml") && rsp.StatusCode == 200: var dest struct { Comment *string `json:"comment,omitempty"` Requestid *string `json:"requestid,omitempty"` Rev *string `json:"rev,omitempty"` Srcmd5 *string `json:"srcmd5,omitempty"` Time *string `json:"time,omitempty"` User *string `json:"user,omitempty"` Version *string `json:"version,omitempty"` Vrev *string `json:"vrev,omitempty"` } if err := xml.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.XML200 = &dest } return response, nil } // ParsePostSourceProjectNamePackageNamecmdCommitfilelistResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdCommitfilelistWithResponse call func ParsePostSourceProjectNamePackageNamecmdCommitfilelistResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdCommitfilelistResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdCommitfilelistResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "xml") && rsp.StatusCode == 200: var dest struct { Comment *string `json:"comment,omitempty"` Requestid *string `json:"requestid,omitempty"` Rev *string `json:"rev,omitempty"` Srcmd5 *string `json:"srcmd5,omitempty"` Time *string `json:"time,omitempty"` User *string `json:"user,omitempty"` Version *string `json:"version,omitempty"` Vrev *string `json:"vrev,omitempty"` } if err := xml.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.XML200 = &dest } return response, nil } // ParsePostSourceProjectNamePackageNamecmdCopyResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdCopyWithResponse call func ParsePostSourceProjectNamePackageNamecmdCopyResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdCopyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdCopyResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateWithResponse call func ParsePostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdCreateSpecFileTemplateResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdDeleteuploadrevResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdDeleteuploadrevWithResponse call func ParsePostSourceProjectNamePackageNamecmdDeleteuploadrevResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdDeleteuploadrevResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdDeleteuploadrevResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdDiffResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdDiffWithResponse call func ParsePostSourceProjectNamePackageNamecmdDiffResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdDiffResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdDiffResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdForkResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdForkWithResponse call func ParsePostSourceProjectNamePackageNamecmdForkResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdForkResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdForkResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdGetprojectservicesResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdGetprojectservicesWithResponse call func ParsePostSourceProjectNamePackageNamecmdGetprojectservicesResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdGetprojectservicesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdGetprojectservicesResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdInstantiateResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdInstantiateWithResponse call func ParsePostSourceProjectNamePackageNamecmdInstantiateResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdInstantiateResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdInstantiateResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdLinkdiffResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdLinkdiffWithResponse call func ParsePostSourceProjectNamePackageNamecmdLinkdiffResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdLinkdiffResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdLinkdiffResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdLinktobranchResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdLinktobranchWithResponse call func ParsePostSourceProjectNamePackageNamecmdLinktobranchResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdLinktobranchResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdLinktobranchResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdMergeserviceResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdMergeserviceWithResponse call func ParsePostSourceProjectNamePackageNamecmdMergeserviceResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdMergeserviceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdMergeserviceResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdRebuildResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdRebuildWithResponse call func ParsePostSourceProjectNamePackageNamecmdRebuildResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdRebuildResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdRebuildResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdReleaseResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdReleaseWithResponse call func ParsePostSourceProjectNamePackageNamecmdReleaseResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdReleaseResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdReleaseResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdRemoveFlagResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdRemoveFlagWithResponse call func ParsePostSourceProjectNamePackageNamecmdRemoveFlagResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdRemoveFlagResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdRemoveFlagResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdRunserviceResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdRunserviceWithResponse call func ParsePostSourceProjectNamePackageNamecmdRunserviceResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdRunserviceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdRunserviceResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdServicediffResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdServicediffWithResponse call func ParsePostSourceProjectNamePackageNamecmdServicediffResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdServicediffResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdServicediffResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "xml") && rsp.StatusCode == 200: var dest struct { Name *interface{} `json:"name,omitempty"` } if err := xml.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.XML200 = &dest case rsp.StatusCode == 200: // Content-type (text/plain) unsupported } return response, nil } // ParsePostSourceProjectNamePackageNamecmdSetFlagResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdSetFlagWithResponse call func ParsePostSourceProjectNamePackageNamecmdSetFlagResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdSetFlagResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdSetFlagResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdShowlinkedResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdShowlinkedWithResponse call func ParsePostSourceProjectNamePackageNamecmdShowlinkedResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdShowlinkedResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdShowlinkedResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdUndeleteResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdUndeleteWithResponse call func ParsePostSourceProjectNamePackageNamecmdUndeleteResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdUndeleteResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdUndeleteResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdUnlockResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdUnlockWithResponse call func ParsePostSourceProjectNamePackageNamecmdUnlockResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdUnlockResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdUnlockResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdUpdatepatchinfoWithResponse call func ParsePostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdUpdatepatchinfoResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamePackageNamecmdWaitserviceResponse parses an HTTP response from a PostSourceProjectNamePackageNamecmdWaitserviceWithResponse call func ParsePostSourceProjectNamePackageNamecmdWaitserviceResponse(rsp *http.Response) (*PostSourceProjectNamePackageNamecmdWaitserviceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamePackageNamecmdWaitserviceResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNamePackageNameviewInfoResponse parses an HTTP response from a GetSourceProjectNamePackageNameviewInfoWithResponse call func ParseGetSourceProjectNamePackageNameviewInfoResponse(rsp *http.Response) (*GetSourceProjectNamePackageNameviewInfoResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNamePackageNameviewInfoResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdAddchannelsResponse parses an HTTP response from a PostSourceProjectNamecmdAddchannelsWithResponse call func ParsePostSourceProjectNamecmdAddchannelsResponse(rsp *http.Response) (*PostSourceProjectNamecmdAddchannelsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdAddchannelsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdCopyResponse parses an HTTP response from a PostSourceProjectNamecmdCopyWithResponse call func ParsePostSourceProjectNamecmdCopyResponse(rsp *http.Response) (*PostSourceProjectNamecmdCopyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdCopyResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdCreatekeyResponse parses an HTTP response from a PostSourceProjectNamecmdCreatekeyWithResponse call func ParsePostSourceProjectNamecmdCreatekeyResponse(rsp *http.Response) (*PostSourceProjectNamecmdCreatekeyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdCreatekeyResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdCreatemaintenanceincidentResponse parses an HTTP response from a PostSourceProjectNamecmdCreatemaintenanceincidentWithResponse call func ParsePostSourceProjectNamecmdCreatemaintenanceincidentResponse(rsp *http.Response) (*PostSourceProjectNamecmdCreatemaintenanceincidentResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdCreatemaintenanceincidentResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdCreatepatchinfoResponse parses an HTTP response from a PostSourceProjectNamecmdCreatepatchinfoWithResponse call func ParsePostSourceProjectNamecmdCreatepatchinfoResponse(rsp *http.Response) (*PostSourceProjectNamecmdCreatepatchinfoResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdCreatepatchinfoResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdExtendkeyResponse parses an HTTP response from a PostSourceProjectNamecmdExtendkeyWithResponse call func ParsePostSourceProjectNamecmdExtendkeyResponse(rsp *http.Response) (*PostSourceProjectNamecmdExtendkeyResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdExtendkeyResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdFreezelinkResponse parses an HTTP response from a PostSourceProjectNamecmdFreezelinkWithResponse call func ParsePostSourceProjectNamecmdFreezelinkResponse(rsp *http.Response) (*PostSourceProjectNamecmdFreezelinkResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdFreezelinkResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdLockResponse parses an HTTP response from a PostSourceProjectNamecmdLockWithResponse call func ParsePostSourceProjectNamecmdLockResponse(rsp *http.Response) (*PostSourceProjectNamecmdLockResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdLockResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdModifychannelsResponse parses an HTTP response from a PostSourceProjectNamecmdModifychannelsWithResponse call func ParsePostSourceProjectNamecmdModifychannelsResponse(rsp *http.Response) (*PostSourceProjectNamecmdModifychannelsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdModifychannelsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdMoveResponse parses an HTTP response from a PostSourceProjectNamecmdMoveWithResponse call func ParsePostSourceProjectNamecmdMoveResponse(rsp *http.Response) (*PostSourceProjectNamecmdMoveResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdMoveResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdReleaseResponse parses an HTTP response from a PostSourceProjectNamecmdReleaseWithResponse call func ParsePostSourceProjectNamecmdReleaseResponse(rsp *http.Response) (*PostSourceProjectNamecmdReleaseResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdReleaseResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdRemoveFlagResponse parses an HTTP response from a PostSourceProjectNamecmdRemoveFlagWithResponse call func ParsePostSourceProjectNamecmdRemoveFlagResponse(rsp *http.Response) (*PostSourceProjectNamecmdRemoveFlagResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdRemoveFlagResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdSetFlagResponse parses an HTTP response from a PostSourceProjectNamecmdSetFlagWithResponse call func ParsePostSourceProjectNamecmdSetFlagResponse(rsp *http.Response) (*PostSourceProjectNamecmdSetFlagResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdSetFlagResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdShowlinkedResponse parses an HTTP response from a PostSourceProjectNamecmdShowlinkedWithResponse call func ParsePostSourceProjectNamecmdShowlinkedResponse(rsp *http.Response) (*PostSourceProjectNamecmdShowlinkedResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdShowlinkedResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdUndeleteResponse parses an HTTP response from a PostSourceProjectNamecmdUndeleteWithResponse call func ParsePostSourceProjectNamecmdUndeleteResponse(rsp *http.Response) (*PostSourceProjectNamecmdUndeleteResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdUndeleteResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourceProjectNamecmdUnlockResponse parses an HTTP response from a PostSourceProjectNamecmdUnlockWithResponse call func ParsePostSourceProjectNamecmdUnlockResponse(rsp *http.Response) (*PostSourceProjectNamecmdUnlockResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourceProjectNamecmdUnlockResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetSourceProjectNameviewInfoResponse parses an HTTP response from a GetSourceProjectNameviewInfoWithResponse call func ParseGetSourceProjectNameviewInfoResponse(rsp *http.Response) (*GetSourceProjectNameviewInfoResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetSourceProjectNameviewInfoResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourcecmdBranchResponse parses an HTTP response from a PostSourcecmdBranchWithResponse call func ParsePostSourcecmdBranchResponse(rsp *http.Response) (*PostSourcecmdBranchResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourcecmdBranchResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourcecmdCreatemaintenanceincidentResponse parses an HTTP response from a PostSourcecmdCreatemaintenanceincidentWithResponse call func ParsePostSourcecmdCreatemaintenanceincidentResponse(rsp *http.Response) (*PostSourcecmdCreatemaintenanceincidentResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourcecmdCreatemaintenanceincidentResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostSourcecmdOrderkiwireposResponse parses an HTTP response from a PostSourcecmdOrderkiwireposWithResponse call func ParsePostSourcecmdOrderkiwireposResponse(rsp *http.Response) (*PostSourcecmdOrderkiwireposResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostSourcecmdOrderkiwireposResponse{ Body: bodyBytes, HTTPResponse: rsp, } switch { case strings.Contains(rsp.Header.Get("Content-Type"), "xml") && rsp.StatusCode == 200: var dest struct { Name *string `json:"name,omitempty"` Repository *[]struct { Source *struct { Path *string `json:"path,omitempty"` } `json:"source,omitempty"` } `json:"repository,omitempty"` Schemaversion *string `json:"schemaversion,omitempty"` } if err := xml.Unmarshal(bodyBytes, &dest); err != nil { return nil, err } response.XML200 = &dest } return response, nil } // ParseGetStagingProjectNameBacklogResponse parses an HTTP response from a GetStagingProjectNameBacklogWithResponse call func ParseGetStagingProjectNameBacklogResponse(rsp *http.Response) (*GetStagingProjectNameBacklogResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStagingProjectNameBacklogResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteStagingProjectNameExcludedRequestsResponse parses an HTTP response from a DeleteStagingProjectNameExcludedRequestsWithResponse call func ParseDeleteStagingProjectNameExcludedRequestsResponse(rsp *http.Response) (*DeleteStagingProjectNameExcludedRequestsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteStagingProjectNameExcludedRequestsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStagingProjectNameExcludedRequestsResponse parses an HTTP response from a GetStagingProjectNameExcludedRequestsWithResponse call func ParseGetStagingProjectNameExcludedRequestsResponse(rsp *http.Response) (*GetStagingProjectNameExcludedRequestsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStagingProjectNameExcludedRequestsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStagingProjectNameExcludedRequestsResponse parses an HTTP response from a PostStagingProjectNameExcludedRequestsWithResponse call func ParsePostStagingProjectNameExcludedRequestsResponse(rsp *http.Response) (*PostStagingProjectNameExcludedRequestsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStagingProjectNameExcludedRequestsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteStagingProjectNameStagedRequestsResponse parses an HTTP response from a DeleteStagingProjectNameStagedRequestsWithResponse call func ParseDeleteStagingProjectNameStagedRequestsResponse(rsp *http.Response) (*DeleteStagingProjectNameStagedRequestsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteStagingProjectNameStagedRequestsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStagingProjectNameStagingProjectsResponse parses an HTTP response from a GetStagingProjectNameStagingProjectsWithResponse call func ParseGetStagingProjectNameStagingProjectsResponse(rsp *http.Response) (*GetStagingProjectNameStagingProjectsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStagingProjectNameStagingProjectsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStagingProjectNameStagingProjectsResponse parses an HTTP response from a PostStagingProjectNameStagingProjectsWithResponse call func ParsePostStagingProjectNameStagingProjectsResponse(rsp *http.Response) (*PostStagingProjectNameStagingProjectsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStagingProjectNameStagingProjectsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStagingProjectNameStagingProjectsStagingProjectNameResponse parses an HTTP response from a GetStagingProjectNameStagingProjectsStagingProjectNameWithResponse call func ParseGetStagingProjectNameStagingProjectsStagingProjectNameResponse(rsp *http.Response) (*GetStagingProjectNameStagingProjectsStagingProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStagingProjectNameStagingProjectsStagingProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse parses an HTTP response from a PostStagingProjectNameStagingProjectsStagingProjectNameAcceptWithResponse call func ParsePostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse(rsp *http.Response) (*PostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStagingProjectNameStagingProjectsStagingProjectNameAcceptResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse parses an HTTP response from a PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameWithResponse call func ParsePostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse(rsp *http.Response) (*PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStagingProjectNameStagingProjectsStagingProjectNameCopyStagingProjectCopyNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse parses an HTTP response from a DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithResponse call func ParseDeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse(rsp *http.Response) (*DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse parses an HTTP response from a GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithResponse call func ParseGetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse(rsp *http.Response) (*GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse parses an HTTP response from a PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsWithResponse call func ParsePostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse(rsp *http.Response) (*PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStagingProjectNameStagingProjectsStagingProjectNameStagedRequestsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteStagingProjectNameWorkflowResponse parses an HTTP response from a DeleteStagingProjectNameWorkflowWithResponse call func ParseDeleteStagingProjectNameWorkflowResponse(rsp *http.Response) (*DeleteStagingProjectNameWorkflowResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteStagingProjectNameWorkflowResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStagingProjectNameWorkflowResponse parses an HTTP response from a PostStagingProjectNameWorkflowWithResponse call func ParsePostStagingProjectNameWorkflowResponse(rsp *http.Response) (*PostStagingProjectNameWorkflowResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStagingProjectNameWorkflowResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePutStagingProjectNameWorkflowResponse parses an HTTP response from a PutStagingProjectNameWorkflowWithResponse call func ParsePutStagingProjectNameWorkflowResponse(rsp *http.Response) (*PutStagingProjectNameWorkflowResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PutStagingProjectNameWorkflowResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsResponse parses an HTTP response from a GetStatisticsWithResponse call func ParseGetStatisticsResponse(rsp *http.Response) (*GetStatisticsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsActiveRequestCreatorsProjectNameResponse parses an HTTP response from a GetStatisticsActiveRequestCreatorsProjectNameWithResponse call func ParseGetStatisticsActiveRequestCreatorsProjectNameResponse(rsp *http.Response) (*GetStatisticsActiveRequestCreatorsProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsActiveRequestCreatorsProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsActivityProjectNamePackageNameResponse parses an HTTP response from a GetStatisticsActivityProjectNamePackageNameWithResponse call func ParseGetStatisticsActivityProjectNamePackageNameResponse(rsp *http.Response) (*GetStatisticsActivityProjectNamePackageNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsActivityProjectNamePackageNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsAddedTimestampProjectNamePackageNameResponse parses an HTTP response from a GetStatisticsAddedTimestampProjectNamePackageNameWithResponse call func ParseGetStatisticsAddedTimestampProjectNamePackageNameResponse(rsp *http.Response) (*GetStatisticsAddedTimestampProjectNamePackageNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsAddedTimestampProjectNamePackageNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsGlobalCountersResponse parses an HTTP response from a GetStatisticsGlobalCountersWithResponse call func ParseGetStatisticsGlobalCountersResponse(rsp *http.Response) (*GetStatisticsGlobalCountersResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsGlobalCountersResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsLatestAddedResponse parses an HTTP response from a GetStatisticsLatestAddedWithResponse call func ParseGetStatisticsLatestAddedResponse(rsp *http.Response) (*GetStatisticsLatestAddedResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsLatestAddedResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsLatestUpdatedResponse parses an HTTP response from a GetStatisticsLatestUpdatedWithResponse call func ParseGetStatisticsLatestUpdatedResponse(rsp *http.Response) (*GetStatisticsLatestUpdatedResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsLatestUpdatedResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsMaintenanceStatisticsProjectNameResponse parses an HTTP response from a GetStatisticsMaintenanceStatisticsProjectNameWithResponse call func ParseGetStatisticsMaintenanceStatisticsProjectNameResponse(rsp *http.Response) (*GetStatisticsMaintenanceStatisticsProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsMaintenanceStatisticsProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsMostActivePackagesResponse parses an HTTP response from a GetStatisticsMostActivePackagesWithResponse call func ParseGetStatisticsMostActivePackagesResponse(rsp *http.Response) (*GetStatisticsMostActivePackagesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsMostActivePackagesResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsMostActiveProjectsResponse parses an HTTP response from a GetStatisticsMostActiveProjectsWithResponse call func ParseGetStatisticsMostActiveProjectsResponse(rsp *http.Response) (*GetStatisticsMostActiveProjectsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsMostActiveProjectsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatisticsUpdatedTimestampProjectNamePackageNameResponse parses an HTTP response from a GetStatisticsUpdatedTimestampProjectNamePackageNameWithResponse call func ParseGetStatisticsUpdatedTimestampProjectNamePackageNameResponse(rsp *http.Response) (*GetStatisticsUpdatedTimestampProjectNamePackageNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatisticsUpdatedTimestampProjectNamePackageNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusMessagesResponse parses an HTTP response from a GetStatusMessagesWithResponse call func ParseGetStatusMessagesResponse(rsp *http.Response) (*GetStatusMessagesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusMessagesResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStatusMessagesResponse parses an HTTP response from a PostStatusMessagesWithResponse call func ParsePostStatusMessagesResponse(rsp *http.Response) (*PostStatusMessagesResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStatusMessagesResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteStatusMessagesIdResponse parses an HTTP response from a DeleteStatusMessagesIdWithResponse call func ParseDeleteStatusMessagesIdResponse(rsp *http.Response) (*DeleteStatusMessagesIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteStatusMessagesIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusMessagesIdResponse parses an HTTP response from a GetStatusMessagesIdWithResponse call func ParseGetStatusMessagesIdResponse(rsp *http.Response) (*GetStatusMessagesIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusMessagesIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusProjectProjectNameResponse parses an HTTP response from a GetStatusProjectProjectNameWithResponse call func ParseGetStatusProjectProjectNameResponse(rsp *http.Response) (*GetStatusProjectProjectNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusProjectProjectNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusWorkerstatusResponse parses an HTTP response from a GetStatusWorkerstatusWithResponse call func ParseGetStatusWorkerstatusResponse(rsp *http.Response) (*GetStatusWorkerstatusResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusWorkerstatusResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusMessageResponse parses an HTTP response from a GetStatusMessageWithResponse call func ParseGetStatusMessageResponse(rsp *http.Response) (*GetStatusMessageResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusMessageResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse parses an HTTP response from a GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithResponse call func ParseGetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse(rsp *http.Response) (*GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse parses an HTTP response from a PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdWithResponse call func ParsePostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse(rsp *http.Response) (*PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStatusReportsBuiltProjectNameRepositoryNameArchitectureNameReportsBuildIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse parses an HTTP response from a GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithResponse call func ParseGetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse(rsp *http.Response) (*GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse parses an HTTP response from a PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksWithResponse call func ParsePostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse(rsp *http.Response) (*PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse parses an HTTP response from a DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameWithResponse call func ParseDeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse(rsp *http.Response) (*DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteStatusReportsBuiltRepositoriesProjectNameRepositoryNameArchitectureNameRequiredChecksCheckNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusReportsProjectsProjectNameRequiredChecksResponse parses an HTTP response from a GetStatusReportsProjectsProjectNameRequiredChecksWithResponse call func ParseGetStatusReportsProjectsProjectNameRequiredChecksResponse(rsp *http.Response) (*GetStatusReportsProjectsProjectNameRequiredChecksResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusReportsProjectsProjectNameRequiredChecksResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStatusReportsProjectsProjectNameRequiredChecksResponse parses an HTTP response from a PostStatusReportsProjectsProjectNameRequiredChecksWithResponse call func ParsePostStatusReportsProjectsProjectNameRequiredChecksResponse(rsp *http.Response) (*PostStatusReportsProjectsProjectNameRequiredChecksResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStatusReportsProjectsProjectNameRequiredChecksResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse parses an HTTP response from a DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameWithResponse call func ParseDeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse(rsp *http.Response) (*DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteStatusReportsProjectsProjectNameRequiredChecksCheckNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse parses an HTTP response from a GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithResponse call func ParseGetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse(rsp *http.Response) (*GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse parses an HTTP response from a PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdWithResponse call func ParsePostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse(rsp *http.Response) (*PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStatusReportsPublishedProjectNameRepositoryNameReportsBuildIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse parses an HTTP response from a GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithResponse call func ParseGetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse(rsp *http.Response) (*GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse parses an HTTP response from a PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksWithResponse call func ParsePostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse(rsp *http.Response) (*PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseDeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse parses an HTTP response from a DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameWithResponse call func ParseDeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse(rsp *http.Response) (*DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &DeleteStatusReportsRepositoriesProjectNameRepositoryNameRequiredChecksCheckNameResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetStatusReportsRequestsIdReportsResponse parses an HTTP response from a GetStatusReportsRequestsIdReportsWithResponse call func ParseGetStatusReportsRequestsIdReportsResponse(rsp *http.Response) (*GetStatusReportsRequestsIdReportsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetStatusReportsRequestsIdReportsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostStatusReportsRequestsIdReportsResponse parses an HTTP response from a PostStatusReportsRequestsIdReportsWithResponse call func ParsePostStatusReportsRequestsIdReportsResponse(rsp *http.Response) (*PostStatusReportsRequestsIdReportsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostStatusReportsRequestsIdReportsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostTriggerResponse parses an HTTP response from a PostTriggerWithResponse call func ParsePostTriggerResponse(rsp *http.Response) (*PostTriggerResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostTriggerResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostTriggerRebuildResponse parses an HTTP response from a PostTriggerRebuildWithResponse call func ParsePostTriggerRebuildResponse(rsp *http.Response) (*PostTriggerRebuildResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostTriggerRebuildResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostTriggerReleaseResponse parses an HTTP response from a PostTriggerReleaseWithResponse call func ParsePostTriggerReleaseResponse(rsp *http.Response) (*PostTriggerReleaseResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostTriggerReleaseResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostTriggerRunserviceResponse parses an HTTP response from a PostTriggerRunserviceWithResponse call func ParsePostTriggerRunserviceResponse(rsp *http.Response) (*PostTriggerRunserviceResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostTriggerRunserviceResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostTriggerWebhookResponse parses an HTTP response from a PostTriggerWebhookWithResponse call func ParsePostTriggerWebhookResponse(rsp *http.Response) (*PostTriggerWebhookResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostTriggerWebhookResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostTriggerWorkflowResponse parses an HTTP response from a PostTriggerWorkflowWithResponse call func ParsePostTriggerWorkflowResponse(rsp *http.Response) (*PostTriggerWorkflowResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostTriggerWorkflowResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetWorkerStatusResponse parses an HTTP response from a GetWorkerStatusWithResponse call func ParseGetWorkerStatusResponse(rsp *http.Response) (*GetWorkerStatusResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetWorkerStatusResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetWorkerStatusResponse parses an HTTP response from a GetWorkerStatusWithResponse call func ParseGetWorkerStatusResponse(rsp *http.Response) (*GetWorkerStatusResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetWorkerStatusResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParseGetWorkerArchitectureNameWorkerIdResponse parses an HTTP response from a GetWorkerArchitectureNameWorkerIdWithResponse call func ParseGetWorkerArchitectureNameWorkerIdResponse(rsp *http.Response) (*GetWorkerArchitectureNameWorkerIdResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &GetWorkerArchitectureNameWorkerIdResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil } // ParsePostWorkercmdCheckconstraintsResponse parses an HTTP response from a PostWorkercmdCheckconstraintsWithResponse call func ParsePostWorkercmdCheckconstraintsResponse(rsp *http.Response) (*PostWorkercmdCheckconstraintsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) defer func() { _ = rsp.Body.Close() }() if err != nil { return nil, err } response := &PostWorkercmdCheckconstraintsResponse{ Body: bodyBytes, HTTPResponse: rsp, } return response, nil }