bitbucket

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: GPL-3.0 Imports: 22 Imported by: 0

README ¶

Go API client for bitbucket

Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import bitbucket "github.com/finiteinfinity/bitbucket-openapi-go"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), bitbucket.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), bitbucket.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), bitbucket.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), bitbucket.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.bitbucket.org/2.0

Class Method HTTP request Description
AddonApi AddonDelete Delete /addon Delete an app
AddonApi AddonLinkersGet Get /addon/linkers List linkers for an app
AddonApi AddonLinkersLinkerKeyGet Get /addon/linkers/{linker_key} Get a linker for an app
AddonApi AddonLinkersLinkerKeyValuesDelete Delete /addon/linkers/{linker_key}/values Delete all linker values
AddonApi AddonLinkersLinkerKeyValuesGet Get /addon/linkers/{linker_key}/values List linker values for a linker
AddonApi AddonLinkersLinkerKeyValuesPost Post /addon/linkers/{linker_key}/values Create a linker value
AddonApi AddonLinkersLinkerKeyValuesPut Put /addon/linkers/{linker_key}/values Update a linker value
AddonApi AddonLinkersLinkerKeyValuesValueIdDelete Delete /addon/linkers/{linker_key}/values/{value_id} Delete a linker value
AddonApi AddonLinkersLinkerKeyValuesValueIdGet Get /addon/linkers/{linker_key}/values/{value_id} Get a linker value
AddonApi AddonPut Put /addon Update an installed app
BranchRestrictionsApi RepositoriesWorkspaceRepoSlugBranchRestrictionsGet Get /repositories/{workspace}/{repo_slug}/branch-restrictions List branch restrictions
BranchRestrictionsApi RepositoriesWorkspaceRepoSlugBranchRestrictionsIdDelete Delete /repositories/{workspace}/{repo_slug}/branch-restrictions/{id} Delete a branch restriction rule
BranchRestrictionsApi RepositoriesWorkspaceRepoSlugBranchRestrictionsIdGet Get /repositories/{workspace}/{repo_slug}/branch-restrictions/{id} Get a branch restriction rule
BranchRestrictionsApi RepositoriesWorkspaceRepoSlugBranchRestrictionsIdPut Put /repositories/{workspace}/{repo_slug}/branch-restrictions/{id} Update a branch restriction rule
BranchRestrictionsApi RepositoriesWorkspaceRepoSlugBranchRestrictionsPost Post /repositories/{workspace}/{repo_slug}/branch-restrictions Create a branch restriction rule
BranchingModelApi RepositoriesWorkspaceRepoSlugBranchingModelGet Get /repositories/{workspace}/{repo_slug}/branching-model Get the branching model for a repository
BranchingModelApi RepositoriesWorkspaceRepoSlugBranchingModelSettingsGet Get /repositories/{workspace}/{repo_slug}/branching-model/settings Get the branching model config for a repository
BranchingModelApi RepositoriesWorkspaceRepoSlugBranchingModelSettingsPut Put /repositories/{workspace}/{repo_slug}/branching-model/settings Update the branching model config for a repository
CommitStatusesApi RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGet Get /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key} Get a build status for a commit
CommitStatusesApi RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPut Put /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key} Update a build status for a commit
CommitStatusesApi RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPost Post /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build Create a build status for a commit
CommitStatusesApi RepositoriesWorkspaceRepoSlugCommitCommitStatusesGet Get /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses List commit statuses for a commit
CommitStatusesApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/statuses List commit statuses for a pull request
CommitsApi BulkCreateOrUpdateAnnotations Post /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations Bulk create or update annotations
CommitsApi CreateOrUpdateAnnotation Put /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Create or update an annotation
CommitsApi CreateOrUpdateReport Put /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Create or update a report
CommitsApi DeleteAnnotation Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Delete an annotation
CommitsApi DeleteReport Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Delete a report
CommitsApi GetAnnotation Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Get an annotation
CommitsApi GetAnnotationsForReport Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations List annotations
CommitsApi GetReport Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Get a report
CommitsApi GetReportsForCommit Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports List reports
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitApproveDelete Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/approve Unapprove a commit
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitApprovePost Post /repositories/{workspace}/{repo_slug}/commit/{commit}/approve Approve a commit
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGet Get /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} Get a commit comment
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitCommentsGet Get /repositories/{workspace}/{repo_slug}/commit/{commit}/comments List a commit's comments
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitCommentsPost Post /repositories/{workspace}/{repo_slug}/commit/{commit}/comments Create comment for a commit
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitGet Get /repositories/{workspace}/{repo_slug}/commit/{commit} Get a commit
CommitsApi RepositoriesWorkspaceRepoSlugCommitsGet Get /repositories/{workspace}/{repo_slug}/commits List commits
CommitsApi RepositoriesWorkspaceRepoSlugCommitsPost Post /repositories/{workspace}/{repo_slug}/commits List commits with include/exclude
CommitsApi RepositoriesWorkspaceRepoSlugCommitsRevisionGet Get /repositories/{workspace}/{repo_slug}/commits/{revision} List commits for revision
CommitsApi RepositoriesWorkspaceRepoSlugCommitsRevisionPost Post /repositories/{workspace}/{repo_slug}/commits/{revision} List commits for revision using include/exclude
CommitsApi RepositoriesWorkspaceRepoSlugDiffSpecGet Get /repositories/{workspace}/{repo_slug}/diff/{spec} Compare two commits
CommitsApi RepositoriesWorkspaceRepoSlugDiffstatSpecGet Get /repositories/{workspace}/{repo_slug}/diffstat/{spec} Compare two commit diff stats
CommitsApi RepositoriesWorkspaceRepoSlugMergeBaseRevspecGet Get /repositories/{workspace}/{repo_slug}/merge-base/{revspec} Get the common ancestor between two commits
CommitsApi RepositoriesWorkspaceRepoSlugPatchSpecGet Get /repositories/{workspace}/{repo_slug}/patch/{spec} Get a patch for two commits
DeploymentsApi CreateEnvironment Post /repositories/{workspace}/{repo_slug}/environments/ Create an environment
DeploymentsApi DeleteEnvironmentForRepository Delete /repositories/{workspace}/{repo_slug}/environments/{environment_uuid} Delete an environment
DeploymentsApi GetDeploymentForRepository Get /repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid} Get a deployment
DeploymentsApi GetDeploymentsForRepository Get /repositories/{workspace}/{repo_slug}/deployments/ List deployments
DeploymentsApi GetEnvironmentForRepository Get /repositories/{workspace}/{repo_slug}/environments/{environment_uuid} Get an environment
DeploymentsApi GetEnvironmentsForRepository Get /repositories/{workspace}/{repo_slug}/environments/ List environments
DeploymentsApi RepositoriesWorkspaceRepoSlugDeployKeysGet Get /repositories/{workspace}/{repo_slug}/deploy-keys List deploy keys
DeploymentsApi RepositoriesWorkspaceRepoSlugDeployKeysKeyIdDelete Delete /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} Delete a deploy key
DeploymentsApi RepositoriesWorkspaceRepoSlugDeployKeysKeyIdGet Get /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} Get a deploy key
DeploymentsApi RepositoriesWorkspaceRepoSlugDeployKeysKeyIdPut Put /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} Update a deploy key
DeploymentsApi RepositoriesWorkspaceRepoSlugDeployKeysPost Post /repositories/{workspace}/{repo_slug}/deploy-keys Add a deploy key
DeploymentsApi UpdateEnvironmentForRepository Post /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}/changes/ Update an environment
DownloadsApi RepositoriesWorkspaceRepoSlugDownloadsFilenameDelete Delete /repositories/{workspace}/{repo_slug}/downloads/{filename} Delete a download artifact
DownloadsApi RepositoriesWorkspaceRepoSlugDownloadsFilenameGet Get /repositories/{workspace}/{repo_slug}/downloads/{filename} Get a download artifact link
DownloadsApi RepositoriesWorkspaceRepoSlugDownloadsGet Get /repositories/{workspace}/{repo_slug}/downloads List download artifacts
DownloadsApi RepositoriesWorkspaceRepoSlugDownloadsPost Post /repositories/{workspace}/{repo_slug}/downloads Upload a download artifact
IssueTrackerApi RepositoriesWorkspaceRepoSlugComponentsComponentIdGet Get /repositories/{workspace}/{repo_slug}/components/{component_id} Get a component for issues
IssueTrackerApi RepositoriesWorkspaceRepoSlugComponentsGet Get /repositories/{workspace}/{repo_slug}/components List components
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesExportPost Post /repositories/{workspace}/{repo_slug}/issues/export Export issues
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGet Get /repositories/{workspace}/{repo_slug}/issues/export/{repo_name}-issues-{task_id}.zip Check issue export status
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesGet Get /repositories/{workspace}/{repo_slug}/issues List issues
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesImportGet Get /repositories/{workspace}/{repo_slug}/issues/import Check issue import status
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesImportPost Post /repositories/{workspace}/{repo_slug}/issues/import Import issues
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments List attachments for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDelete Delete /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments/{path} Delete an attachment for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments/{path} Get attachment for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPost Post /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments Upload an attachment to an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes/{change_id} Get issue change object
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes List changes on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPost Post /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes Modify the state of an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDelete Delete /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} Delete a comment on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} Get a comment on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPut Put /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} Update a comment on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments List comments on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPost Post /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments Create a comment on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdDelete Delete /repositories/{workspace}/{repo_slug}/issues/{issue_id} Delete an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id} Get an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdPut Put /repositories/{workspace}/{repo_slug}/issues/{issue_id} Update an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDelete Delete /repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote Remove vote for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote Check if current user voted for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdVotePut Put /repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote Vote for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDelete Delete /repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch Stop watching an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch Check if current user is watching a issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPut Put /repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch Watch an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesPost Post /repositories/{workspace}/{repo_slug}/issues Create an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugMilestonesGet Get /repositories/{workspace}/{repo_slug}/milestones List milestones
IssueTrackerApi RepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGet Get /repositories/{workspace}/{repo_slug}/milestones/{milestone_id} Get a milestone
IssueTrackerApi RepositoriesWorkspaceRepoSlugVersionsGet Get /repositories/{workspace}/{repo_slug}/versions List defined versions for issues
IssueTrackerApi RepositoriesWorkspaceRepoSlugVersionsVersionIdGet Get /repositories/{workspace}/{repo_slug}/versions/{version_id} Get a defined version for issues
PipelinesApi CreateDeploymentVariable Post /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables Create a variable for an environment
PipelinesApi CreatePipelineForRepository Post /repositories/{workspace}/{repo_slug}/pipelines/ Run a pipeline
PipelinesApi CreatePipelineVariableForTeam Post /teams/{username}/pipelines_config/variables/ Create a variable for a user
PipelinesApi CreatePipelineVariableForUser Post /users/{selected_user}/pipelines_config/variables/ Create a variable for a user
PipelinesApi CreatePipelineVariableForWorkspace Post /workspaces/{workspace}/pipelines-config/variables Create a variable for a workspace
PipelinesApi CreateRepositoryPipelineKnownHost Post /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/ Create a known host
PipelinesApi CreateRepositoryPipelineSchedule Post /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/ Create a schedule
PipelinesApi CreateRepositoryPipelineVariable Post /repositories/{workspace}/{repo_slug}/pipelines_config/variables/ Create a variable for a repository
PipelinesApi DeleteDeploymentVariable Delete /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid} Delete a variable for an environment
PipelinesApi DeletePipelineVariableForTeam Delete /teams/{username}/pipelines_config/variables/{variable_uuid} Delete a variable for a team
PipelinesApi DeletePipelineVariableForUser Delete /users/{selected_user}/pipelines_config/variables/{variable_uuid} Delete a variable for a user
PipelinesApi DeletePipelineVariableForWorkspace Delete /workspaces/{workspace}/pipelines-config/variables/{variable_uuid} Delete a variable for a workspace
PipelinesApi DeleteRepositoryPipelineCache Delete /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid} Delete a cache
PipelinesApi DeleteRepositoryPipelineKeyPair Delete /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair Delete SSH key pair
PipelinesApi DeleteRepositoryPipelineKnownHost Delete /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid} Delete a known host
PipelinesApi DeleteRepositoryPipelineSchedule Delete /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} Delete a schedule
PipelinesApi DeleteRepositoryPipelineVariable Delete /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid} Delete a variable for a repository
PipelinesApi GetDeploymentVariables Get /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables List variables for an environment
PipelinesApi GetOIDCConfiguration Get /workspaces/{workspace}/pipelines-config/identity/oidc/.well-known/openid-configuration Get OpenID configuration for OIDC in Pipelines
PipelinesApi GetOIDCKeys Get /workspaces/{workspace}/pipelines-config/identity/oidc/keys.json Get keys for OIDC in Pipelines
PipelinesApi GetPipelineContainerLog Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid} Get the logs for the build container or a service container for a given step of a pipeline.
PipelinesApi GetPipelineForRepository Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid} Get a pipeline
PipelinesApi GetPipelineStepForRepository Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid} Get a step of a pipeline
PipelinesApi GetPipelineStepLogForRepository Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/log Get log file for a step
PipelinesApi GetPipelineStepsForRepository Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/ List steps for a pipeline
PipelinesApi GetPipelineTestReportTestCaseReasons Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases/{test_case_uuid}/test_case_reasons Get test case reasons (output) for a given test case in a step of a pipeline.
PipelinesApi GetPipelineTestReportTestCases Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases Get test cases for a given step of a pipeline.
PipelinesApi GetPipelineTestReports Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports Get a summary of test reports for a given step of a pipeline.
PipelinesApi GetPipelineVariableForTeam Get /teams/{username}/pipelines_config/variables/{variable_uuid} Get a variable for a team
PipelinesApi GetPipelineVariableForUser Get /users/{selected_user}/pipelines_config/variables/{variable_uuid} Get a variable for a user
PipelinesApi GetPipelineVariableForWorkspace Get /workspaces/{workspace}/pipelines-config/variables/{variable_uuid} Get variable for a workspace
PipelinesApi GetPipelineVariablesForTeam Get /teams/{username}/pipelines_config/variables/ List variables for an account
PipelinesApi GetPipelineVariablesForUser Get /users/{selected_user}/pipelines_config/variables/ List variables for a user
PipelinesApi GetPipelineVariablesForWorkspace Get /workspaces/{workspace}/pipelines-config/variables List variables for a workspace
PipelinesApi GetPipelinesForRepository Get /repositories/{workspace}/{repo_slug}/pipelines/ List pipelines
PipelinesApi GetRepositoryPipelineCacheContentURI Get /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}/content-uri Get cache content URI
PipelinesApi GetRepositoryPipelineCaches Get /repositories/{workspace}/{repo_slug}/pipelines-config/caches/ List caches
PipelinesApi GetRepositoryPipelineConfig Get /repositories/{workspace}/{repo_slug}/pipelines_config Get configuration
PipelinesApi GetRepositoryPipelineKnownHost Get /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid} Get a known host
PipelinesApi GetRepositoryPipelineKnownHosts Get /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/ List known hosts
PipelinesApi GetRepositoryPipelineSchedule Get /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} Get a schedule
PipelinesApi GetRepositoryPipelineScheduleExecutions Get /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}/executions/ List executions of a schedule
PipelinesApi GetRepositoryPipelineSchedules Get /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/ List schedules
PipelinesApi GetRepositoryPipelineSshKeyPair Get /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair Get SSH key pair
PipelinesApi GetRepositoryPipelineVariable Get /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid} Get a variable for a repository
PipelinesApi GetRepositoryPipelineVariables Get /repositories/{workspace}/{repo_slug}/pipelines_config/variables/ List variables for a repository
PipelinesApi StopPipeline Post /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/stopPipeline Stop a pipeline
PipelinesApi UpdateDeploymentVariable Put /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid} Update a variable for an environment
PipelinesApi UpdatePipelineVariableForTeam Put /teams/{username}/pipelines_config/variables/{variable_uuid} Update a variable for a team
PipelinesApi UpdatePipelineVariableForUser Put /users/{selected_user}/pipelines_config/variables/{variable_uuid} Update a variable for a user
PipelinesApi UpdatePipelineVariableForWorkspace Put /workspaces/{workspace}/pipelines-config/variables/{variable_uuid} Update variable for a workspace
PipelinesApi UpdateRepositoryBuildNumber Put /repositories/{workspace}/{repo_slug}/pipelines_config/build_number Update the next build number
PipelinesApi UpdateRepositoryPipelineConfig Put /repositories/{workspace}/{repo_slug}/pipelines_config Update configuration
PipelinesApi UpdateRepositoryPipelineKeyPair Put /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair Update SSH key pair
PipelinesApi UpdateRepositoryPipelineKnownHost Put /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid} Update a known host
PipelinesApi UpdateRepositoryPipelineSchedule Put /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} Update a schedule
PipelinesApi UpdateRepositoryPipelineVariable Put /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid} Update a variable for a repository
ProjectsApi TeamsUsernameProjectsGet Get /teams/{username}/projects/ List a projects for a team
ProjectsApi TeamsUsernameProjectsPost Post /teams/{username}/projects/ Create a project for a team
ProjectsApi TeamsUsernameProjectsProjectKeyDelete Delete /teams/{username}/projects/{project_key} Delete a project
ProjectsApi TeamsUsernameProjectsProjectKeyGet Get /teams/{username}/projects/{project_key} Get a project
ProjectsApi TeamsUsernameProjectsProjectKeyPut Put /teams/{username}/projects/{project_key} Update a project
ProjectsApi WorkspacesWorkspaceProjectsPost Post /workspaces/{workspace}/projects Create a project in a workspace
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyDelete Delete /workspaces/{workspace}/projects/{project_key} Delete a project for a workspace
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyGet Get /workspaces/{workspace}/projects/{project_key} Get a project for a workspace
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyPut Put /workspaces/{workspace}/projects/{project_key} Update a project for a workspace
PropertiesApi DeleteCommitHostedPropertyValue Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} Delete a commit application property
PropertiesApi DeletePullRequestHostedPropertyValue Delete /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} Delete a pull request application property
PropertiesApi DeleteRepositoryHostedPropertyValue Delete /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} Delete a repository application property
PropertiesApi DeleteUserHostedPropertyValue Delete /users/{selected_user}/properties/{app_key}/{property_name} Delete a user application property
PropertiesApi GetCommitHostedPropertyValue Get /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} Get a commit application property
PropertiesApi GetPullRequestHostedPropertyValue Get /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} Get a pull request application property
PropertiesApi GetRepositoryHostedPropertyValue Get /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} Get a repository application property
PropertiesApi RetrieveUserHostedPropertyValue Get /users/{selected_user}/properties/{app_key}/{property_name} Get a user application property
PropertiesApi UpdateCommitHostedPropertyValue Put /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} Update a commit application property
PropertiesApi UpdatePullRequestHostedPropertyValue Put /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} Update a pull request application property
PropertiesApi UpdateRepositoryHostedPropertyValue Put /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} Update a repository application property
PropertiesApi UpdateUserHostedPropertyValue Put /users/{selected_user}/properties/{app_key}/{property_name} Update a user application property
PullrequestsApi GetPullrequestsForCommit Get /repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests List pull requests that contain a commit
PullrequestsApi PullrequestsSelectedUserGet Get /pullrequests/{selected_user} List pull requests for a user
PullrequestsApi RepositoriesWorkspaceRepoSlugDefaultReviewersGet Get /repositories/{workspace}/{repo_slug}/default-reviewers List default reviewers
PullrequestsApi RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDelete Delete /repositories/{workspace}/{repo_slug}/default-reviewers/{target_username} Remove a user from the default reviewers
PullrequestsApi RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGet Get /repositories/{workspace}/{repo_slug}/default-reviewers/{target_username} Get a default reviewer
PullrequestsApi RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePut Put /repositories/{workspace}/{repo_slug}/default-reviewers/{target_username} Add a user to the default reviewers
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsActivityGet Get /repositories/{workspace}/{repo_slug}/pullrequests/activity List a pull request activity log
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsGet Get /repositories/{workspace}/{repo_slug}/pullrequests List pull requests
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPost Post /repositories/{workspace}/{repo_slug}/pullrequests Create a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/activity List a pull request activity log
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDelete Delete /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve Unapprove a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve Approve a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDelete Delete /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id} Delete a comment on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id} Get a comment on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPut Put /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id} Update a comment on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments List comments on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments Create a comment on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/commits List commits on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/decline Decline a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diff List changes in a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat Get the diff stat for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id} Get a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge Merge a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id} Get the merge task status for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/patch Get the patch for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPut Put /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id} Update a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDelete Delete /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes Remove change request for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes Request changes for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/statuses List commit statuses for a pull request
RefsApi RepositoriesWorkspaceRepoSlugRefsBranchesGet Get /repositories/{workspace}/{repo_slug}/refs/branches List open branches
RefsApi RepositoriesWorkspaceRepoSlugRefsBranchesNameDelete Delete /repositories/{workspace}/{repo_slug}/refs/branches/{name} Delete a branch
RefsApi RepositoriesWorkspaceRepoSlugRefsBranchesNameGet Get /repositories/{workspace}/{repo_slug}/refs/branches/{name} Get a branch
RefsApi RepositoriesWorkspaceRepoSlugRefsBranchesPost Post /repositories/{workspace}/{repo_slug}/refs/branches Create a branch
RefsApi RepositoriesWorkspaceRepoSlugRefsGet Get /repositories/{workspace}/{repo_slug}/refs List branches and tags
RefsApi RepositoriesWorkspaceRepoSlugRefsTagsGet Get /repositories/{workspace}/{repo_slug}/refs/tags List tags
RefsApi RepositoriesWorkspaceRepoSlugRefsTagsNameDelete Delete /repositories/{workspace}/{repo_slug}/refs/tags/{name} Delete a tag
RefsApi RepositoriesWorkspaceRepoSlugRefsTagsNameGet Get /repositories/{workspace}/{repo_slug}/refs/tags/{name} Get a tag
RefsApi RepositoriesWorkspaceRepoSlugRefsTagsPost Post /repositories/{workspace}/{repo_slug}/refs/tags Create a tag
ReportsApi BulkCreateOrUpdateAnnotations Post /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations Bulk create or update annotations
ReportsApi CreateOrUpdateAnnotation Put /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Create or update an annotation
ReportsApi CreateOrUpdateReport Put /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Create or update a report
ReportsApi DeleteAnnotation Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Delete an annotation
ReportsApi DeleteReport Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Delete a report
ReportsApi GetAnnotation Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Get an annotation
ReportsApi GetAnnotationsForReport Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations List annotations
ReportsApi GetReport Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Get a report
ReportsApi GetReportsForCommit Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports List reports
RepositoriesApi RepositoriesGet Get /repositories List public repositories
RepositoriesApi RepositoriesWorkspaceGet Get /repositories/{workspace} List repositories in a workspace
RepositoriesApi RepositoriesWorkspaceRepoSlugDelete Delete /repositories/{workspace}/{repo_slug} Delete a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGet Get /repositories/{workspace}/{repo_slug}/filehistory/{commit}/{path} List commits that modified a file
RepositoriesApi RepositoriesWorkspaceRepoSlugForksGet Get /repositories/{workspace}/{repo_slug}/forks List repository forks
RepositoriesApi RepositoriesWorkspaceRepoSlugForksPost Post /repositories/{workspace}/{repo_slug}/forks Fork a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugGet Get /repositories/{workspace}/{repo_slug} Get a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugHooksGet Get /repositories/{workspace}/{repo_slug}/hooks List webhooks for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugHooksPost Post /repositories/{workspace}/{repo_slug}/hooks Create a webhook for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugHooksUidDelete Delete /repositories/{workspace}/{repo_slug}/hooks/{uid} Delete a webhook for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugHooksUidGet Get /repositories/{workspace}/{repo_slug}/hooks/{uid} Get a webhook for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugHooksUidPut Put /repositories/{workspace}/{repo_slug}/hooks/{uid} Update a webhook for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGet Get /repositories/{workspace}/{repo_slug}/permissions-config/groups List explicit group permissions for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDelete Delete /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug} Delete an explicit group permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGet Get /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug} Get an explicit group permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPut Put /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug} Update an explicit group permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigUsersGet Get /repositories/{workspace}/{repo_slug}/permissions-config/users List explicit user permissions for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDelete Delete /repositories/{workspace}/{repo_slug}/permissions-config/users/{selected_user_id} Delete an explicit user permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGet Get /repositories/{workspace}/{repo_slug}/permissions-config/users/{selected_user_id} Get an explicit user permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPut Put /repositories/{workspace}/{repo_slug}/permissions-config/users/{selected_user_id} Update an explicit user permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPost Post /repositories/{workspace}/{repo_slug} Create a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPut Put /repositories/{workspace}/{repo_slug} Update a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugSrcCommitPathGet Get /repositories/{workspace}/{repo_slug}/src/{commit}/{path} Get file or directory contents
RepositoriesApi RepositoriesWorkspaceRepoSlugSrcGet Get /repositories/{workspace}/{repo_slug}/src Get the root directory of the main branch
RepositoriesApi RepositoriesWorkspaceRepoSlugSrcPost Post /repositories/{workspace}/{repo_slug}/src Create a commit by uploading a file
RepositoriesApi RepositoriesWorkspaceRepoSlugWatchersGet Get /repositories/{workspace}/{repo_slug}/watchers List repositories watchers
RepositoriesApi UserPermissionsRepositoriesGet Get /user/permissions/repositories List repository permissions for a user
SearchApi SearchAccount Get /users/{selected_user}/search/code Search for code in a user's repositories
SearchApi SearchTeam Get /teams/{username}/search/code Search for code in a team's repositories
SearchApi SearchWorkspace Get /workspaces/{workspace}/search/code Search for code in a workspace
SnippetsApi SnippetsGet Get /snippets List snippets
SnippetsApi SnippetsPost Post /snippets Create a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommentsCommentIdDelete Delete /snippets/{workspace}/{encoded_id}/comments/{comment_id} Delete a comment on a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommentsCommentIdGet Get /snippets/{workspace}/{encoded_id}/comments/{comment_id} Get a comment on a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommentsCommentIdPut Put /snippets/{workspace}/{encoded_id}/comments/{comment_id} Update a comment on a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommentsGet Get /snippets/{workspace}/{encoded_id}/comments List comments on a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommentsPost Post /snippets/{workspace}/{encoded_id}/comments Create a comment on a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommitsGet Get /snippets/{workspace}/{encoded_id}/commits List snippet changes
SnippetsApi SnippetsWorkspaceEncodedIdCommitsRevisionGet Get /snippets/{workspace}/{encoded_id}/commits/{revision} Get a previous snippet change
SnippetsApi SnippetsWorkspaceEncodedIdDelete Delete /snippets/{workspace}/{encoded_id} Delete a snippet
SnippetsApi SnippetsWorkspaceEncodedIdFilesPathGet Get /snippets/{workspace}/{encoded_id}/files/{path} Get a snippet's raw file at HEAD
SnippetsApi SnippetsWorkspaceEncodedIdGet Get /snippets/{workspace}/{encoded_id} Get a snippet
SnippetsApi SnippetsWorkspaceEncodedIdNodeIdDelete Delete /snippets/{workspace}/{encoded_id}/{node_id} Delete a previous revision of a snippet
SnippetsApi SnippetsWorkspaceEncodedIdNodeIdFilesPathGet Get /snippets/{workspace}/{encoded_id}/{node_id}/files/{path} Get a snippet's raw file
SnippetsApi SnippetsWorkspaceEncodedIdNodeIdGet Get /snippets/{workspace}/{encoded_id}/{node_id} Get a previous revision of a snippet
SnippetsApi SnippetsWorkspaceEncodedIdNodeIdPut Put /snippets/{workspace}/{encoded_id}/{node_id} Update a previous revision of a snippet
SnippetsApi SnippetsWorkspaceEncodedIdPut Put /snippets/{workspace}/{encoded_id} Update a snippet
SnippetsApi SnippetsWorkspaceEncodedIdRevisionDiffGet Get /snippets/{workspace}/{encoded_id}/{revision}/diff Get snippet changes between versions
SnippetsApi SnippetsWorkspaceEncodedIdRevisionPatchGet Get /snippets/{workspace}/{encoded_id}/{revision}/patch Get snippet patch between versions
SnippetsApi SnippetsWorkspaceEncodedIdWatchDelete Delete /snippets/{workspace}/{encoded_id}/watch Stop watching a snippet
SnippetsApi SnippetsWorkspaceEncodedIdWatchGet Get /snippets/{workspace}/{encoded_id}/watch Check if the current user is watching a snippet
SnippetsApi SnippetsWorkspaceEncodedIdWatchPut Put /snippets/{workspace}/{encoded_id}/watch Watch a snippet
SnippetsApi SnippetsWorkspaceEncodedIdWatchersGet Get /snippets/{workspace}/{encoded_id}/watchers List users watching a snippet
SnippetsApi SnippetsWorkspaceGet Get /snippets/{workspace} List snippets in a workspace
SnippetsApi SnippetsWorkspacePost Post /snippets/{workspace} Create a snippet for a workspace
SourceApi RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGet Get /repositories/{workspace}/{repo_slug}/filehistory/{commit}/{path} List commits that modified a file
SourceApi RepositoriesWorkspaceRepoSlugSrcCommitPathGet Get /repositories/{workspace}/{repo_slug}/src/{commit}/{path} Get file or directory contents
SourceApi RepositoriesWorkspaceRepoSlugSrcGet Get /repositories/{workspace}/{repo_slug}/src Get the root directory of the main branch
SourceApi RepositoriesWorkspaceRepoSlugSrcPost Post /repositories/{workspace}/{repo_slug}/src Create a commit by uploading a file
SshApi UsersSelectedUserSshKeysGet Get /users/{selected_user}/ssh-keys List SSH keys
SshApi UsersSelectedUserSshKeysKeyIdDelete Delete /users/{selected_user}/ssh-keys/{key_id} Delete a SSH key
SshApi UsersSelectedUserSshKeysKeyIdGet Get /users/{selected_user}/ssh-keys/{key_id} Get a SSH key
SshApi UsersSelectedUserSshKeysKeyIdPut Put /users/{selected_user}/ssh-keys/{key_id} Update a SSH key
SshApi UsersSelectedUserSshKeysPost Post /users/{selected_user}/ssh-keys Add a new SSH key
TeamsApi TeamsGet Get /teams List teams a user is part of
TeamsApi TeamsUsernameFollowersGet Get /teams/{username}/followers List team followers
TeamsApi TeamsUsernameFollowingGet Get /teams/{username}/following List accounts a team is following
TeamsApi TeamsUsernameGet Get /teams/{username} Get a team
TeamsApi TeamsUsernameMembersGet Get /teams/{username}/members List team members
TeamsApi TeamsUsernamePermissionsGet Get /teams/{username}/permissions List team permissions for a user
TeamsApi TeamsUsernamePermissionsRepositoriesGet Get /teams/{username}/permissions/repositories List repository permissions for a team
TeamsApi TeamsUsernamePermissionsRepositoriesRepoSlugGet Get /teams/{username}/permissions/repositories/{repo_slug} List repository permissions for a team
TeamsApi TeamsWorkspaceRepositoriesGet Get /teams/{workspace}/repositories List workspace repositories
TeamsApi UserPermissionsTeamsGet Get /user/permissions/teams List team permissions for the user
TeamsApi UsersWorkspaceRepositoriesGet Get /users/{workspace}/repositories List workspace repositories
UsersApi TeamsWorkspaceRepositoriesGet Get /teams/{workspace}/repositories List workspace repositories
UsersApi UserEmailsEmailGet Get /user/emails/{email} Get an email address for current user
UsersApi UserEmailsGet Get /user/emails List email addresses for current user
UsersApi UserGet Get /user Get current user
UsersApi UsersSelectedUserGet Get /users/{selected_user} Get a user
UsersApi UsersUsernameMembersGet Get /users/{username}/members List team users
UsersApi UsersWorkspaceRepositoriesGet Get /users/{workspace}/repositories List workspace repositories
WebhooksApi HookEventsGet Get /hook_events Get a webhook resource
WebhooksApi HookEventsSubjectTypeGet Get /hook_events/{subject_type} List subscribable webhook types
WebhooksApi RepositoriesWorkspaceRepoSlugHooksGet Get /repositories/{workspace}/{repo_slug}/hooks List webhooks for a repository
WebhooksApi RepositoriesWorkspaceRepoSlugHooksPost Post /repositories/{workspace}/{repo_slug}/hooks Create a webhook for a repository
WebhooksApi RepositoriesWorkspaceRepoSlugHooksUidDelete Delete /repositories/{workspace}/{repo_slug}/hooks/{uid} Delete a webhook for a repository
WebhooksApi RepositoriesWorkspaceRepoSlugHooksUidGet Get /repositories/{workspace}/{repo_slug}/hooks/{uid} Get a webhook for a repository
WebhooksApi RepositoriesWorkspaceRepoSlugHooksUidPut Put /repositories/{workspace}/{repo_slug}/hooks/{uid} Update a webhook for a repository
WebhooksApi WorkspacesWorkspaceHooksGet Get /workspaces/{workspace}/hooks List webhooks for a workspace
WebhooksApi WorkspacesWorkspaceHooksPost Post /workspaces/{workspace}/hooks Create a webhook for a workspace
WebhooksApi WorkspacesWorkspaceHooksUidDelete Delete /workspaces/{workspace}/hooks/{uid} Delete a webhook for a workspace
WebhooksApi WorkspacesWorkspaceHooksUidGet Get /workspaces/{workspace}/hooks/{uid} Get a webhook for a workspace
WebhooksApi WorkspacesWorkspaceHooksUidPut Put /workspaces/{workspace}/hooks/{uid} Update a webhook for a workspace
WorkspacesApi UserPermissionsWorkspacesGet Get /user/permissions/workspaces List workspaces for the current user
WorkspacesApi WorkspacesGet Get /workspaces List workspaces for user
WorkspacesApi WorkspacesWorkspaceGet Get /workspaces/{workspace} Get a workspace
WorkspacesApi WorkspacesWorkspaceHooksGet Get /workspaces/{workspace}/hooks List webhooks for a workspace
WorkspacesApi WorkspacesWorkspaceHooksPost Post /workspaces/{workspace}/hooks Create a webhook for a workspace
WorkspacesApi WorkspacesWorkspaceHooksUidDelete Delete /workspaces/{workspace}/hooks/{uid} Delete a webhook for a workspace
WorkspacesApi WorkspacesWorkspaceHooksUidGet Get /workspaces/{workspace}/hooks/{uid} Get a webhook for a workspace
WorkspacesApi WorkspacesWorkspaceHooksUidPut Put /workspaces/{workspace}/hooks/{uid} Update a webhook for a workspace
WorkspacesApi WorkspacesWorkspaceMembersGet Get /workspaces/{workspace}/members List users in a workspace
WorkspacesApi WorkspacesWorkspaceMembersMemberGet Get /workspaces/{workspace}/members/{member} Get user membership for a workspace
WorkspacesApi WorkspacesWorkspacePermissionsGet Get /workspaces/{workspace}/permissions List user permissions in a workspace
WorkspacesApi WorkspacesWorkspacePermissionsRepositoriesGet Get /workspaces/{workspace}/permissions/repositories List all repository permissions for a workspace
WorkspacesApi WorkspacesWorkspacePermissionsRepositoriesRepoSlugGet Get /workspaces/{workspace}/permissions/repositories/{repo_slug} List a repository permissions for a workspace
WorkspacesApi WorkspacesWorkspaceProjectsGet Get /workspaces/{workspace}/projects List projects in a workspace
WorkspacesApi WorkspacesWorkspaceProjectsProjectKeyGet Get /workspaces/{workspace}/projects/{project_key} Get a project for a workspace

Documentation For Models

Documentation For Authorization

api_key
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

basic
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)
oauth2
  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: https://bitbucket.org/site/oauth2/authorize
  • Scopes:
  • wiki: Read and modify your repositories' wikis
  • pullrequest:write: Read and modify your repositories and their pull requests
  • runner: Access your workspaces/repositories' runners
  • runner:write: Access and edit your workspaces/repositories' runners
  • pipeline:variable: Access your repositories' build pipelines and configure their variables
  • project:write: Read and modify your workspace's project settings, and read and transfer repositories within your workspace's projects
  • pipeline:write: Access and rerun your repositories' build pipelines
  • snippet: Read your snippets
  • repository:delete: Delete your repositories
  • repository:write: Read and modify your repositories
  • issue: Read your repositories' issues
  • email: Read your account's primary email address
  • repository: Read your repositories
  • issue:write: Read and modify your repositories' issues
  • webhook: Read and modify your repositories' webhooks
  • pipeline: Access your repositories' build pipelines
  • snippet:write: Read and modify your snippets
  • account: Read your account information
  • repository:admin: Administer your repositories
  • pullrequest: Read your repositories and their pull requests
  • project: Read your workspace's project settings and read repositories contained within your workspace's projects
  • team: Read your team membership information
  • team:write: Read and modify your team membership information
  • account:write: Read and modify your account information

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

support@bitbucket.org

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions ¶

func CacheExpires ¶

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func PtrBool ¶

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32 ¶

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64 ¶

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt ¶

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32 ¶

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64 ¶

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString ¶

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime ¶

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types ¶

type APIClient ¶

type APIClient struct {
	AddonApi *AddonApiService

	BranchRestrictionsApi *BranchRestrictionsApiService

	BranchingModelApi *BranchingModelApiService

	CommitStatusesApi *CommitStatusesApiService

	CommitsApi *CommitsApiService

	DeploymentsApi *DeploymentsApiService

	DownloadsApi *DownloadsApiService

	IssueTrackerApi *IssueTrackerApiService

	PipelinesApi *PipelinesApiService

	ProjectsApi *ProjectsApiService

	PropertiesApi *PropertiesApiService

	PullrequestsApi *PullrequestsApiService

	RefsApi *RefsApiService

	ReportsApi *ReportsApiService

	RepositoriesApi *RepositoriesApiService

	SearchApi *SearchApiService

	SnippetsApi *SnippetsApiService

	SourceApi *SourceApiService

	SshApi *SshApiService

	TeamsApi *TeamsApiService

	UsersApi *UsersApiService

	WebhooksApi *WebhooksApiService

	WorkspacesApi *WorkspacesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Bitbucket API API v2.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient ¶

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig ¶

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey ¶

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse ¶

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse ¶

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError ¶

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type Account ¶

type Account struct {
	Links    *AccountLinks `json:"links,omitempty"`
	Username *string       `json:"username,omitempty"`
	// Account name defined by the owner. Should be used instead of the \"username\" field. Note that \"nickname\" cannot be used in place of \"username\" in URLs and queries, as \"nickname\" is not guaranteed to be unique.
	Nickname *string `json:"nickname,omitempty"`
	// The status of the account. Currently the only possible value is \"active\", but more values may be added in the future.
	AccountStatus        *string    `json:"account_status,omitempty"`
	DisplayName          *string    `json:"display_name,omitempty"`
	Website              *string    `json:"website,omitempty"`
	CreatedOn            *time.Time `json:"created_on,omitempty"`
	Uuid                 *string    `json:"uuid,omitempty"`
	Has2faEnabled        *bool      `json:"has_2fa_enabled,omitempty"`
	AdditionalProperties map[string]interface{}
}

Account An account object.

func NewAccount ¶

func NewAccount() *Account

NewAccount instantiates a new Account object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountWithDefaults ¶

func NewAccountWithDefaults() *Account

NewAccountWithDefaults instantiates a new Account object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Account) GetAccountStatus ¶

func (o *Account) GetAccountStatus() string

GetAccountStatus returns the AccountStatus field value if set, zero value otherwise.

func (*Account) GetAccountStatusOk ¶

func (o *Account) GetAccountStatusOk() (*string, bool)

GetAccountStatusOk returns a tuple with the AccountStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetCreatedOn ¶

func (o *Account) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Account) GetCreatedOnOk ¶

func (o *Account) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetDisplayName ¶

func (o *Account) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*Account) GetDisplayNameOk ¶

func (o *Account) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetHas2faEnabled ¶

func (o *Account) GetHas2faEnabled() bool

GetHas2faEnabled returns the Has2faEnabled field value if set, zero value otherwise.

func (*Account) GetHas2faEnabledOk ¶

func (o *Account) GetHas2faEnabledOk() (*bool, bool)

GetHas2faEnabledOk returns a tuple with the Has2faEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Account) GetLinks() AccountLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Account) GetLinksOk ¶

func (o *Account) GetLinksOk() (*AccountLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetNickname ¶

func (o *Account) GetNickname() string

GetNickname returns the Nickname field value if set, zero value otherwise.

func (*Account) GetNicknameOk ¶

func (o *Account) GetNicknameOk() (*string, bool)

GetNicknameOk returns a tuple with the Nickname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetUsername ¶

func (o *Account) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*Account) GetUsernameOk ¶

func (o *Account) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetUuid ¶

func (o *Account) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Account) GetUuidOk ¶

func (o *Account) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) GetWebsite ¶

func (o *Account) GetWebsite() string

GetWebsite returns the Website field value if set, zero value otherwise.

func (*Account) GetWebsiteOk ¶

func (o *Account) GetWebsiteOk() (*string, bool)

GetWebsiteOk returns a tuple with the Website field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Account) HasAccountStatus ¶

func (o *Account) HasAccountStatus() bool

HasAccountStatus returns a boolean if a field has been set.

func (*Account) HasCreatedOn ¶

func (o *Account) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Account) HasDisplayName ¶

func (o *Account) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*Account) HasHas2faEnabled ¶

func (o *Account) HasHas2faEnabled() bool

HasHas2faEnabled returns a boolean if a field has been set.

func (o *Account) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Account) HasNickname ¶

func (o *Account) HasNickname() bool

HasNickname returns a boolean if a field has been set.

func (*Account) HasUsername ¶

func (o *Account) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (*Account) HasUuid ¶

func (o *Account) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (*Account) HasWebsite ¶

func (o *Account) HasWebsite() bool

HasWebsite returns a boolean if a field has been set.

func (Account) MarshalJSON ¶

func (o Account) MarshalJSON() ([]byte, error)

func (*Account) SetAccountStatus ¶

func (o *Account) SetAccountStatus(v string)

SetAccountStatus gets a reference to the given string and assigns it to the AccountStatus field.

func (*Account) SetCreatedOn ¶

func (o *Account) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Account) SetDisplayName ¶

func (o *Account) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*Account) SetHas2faEnabled ¶

func (o *Account) SetHas2faEnabled(v bool)

SetHas2faEnabled gets a reference to the given bool and assigns it to the Has2faEnabled field.

func (o *Account) SetLinks(v AccountLinks)

SetLinks gets a reference to the given AccountLinks and assigns it to the Links field.

func (*Account) SetNickname ¶

func (o *Account) SetNickname(v string)

SetNickname gets a reference to the given string and assigns it to the Nickname field.

func (*Account) SetUsername ¶

func (o *Account) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (*Account) SetUuid ¶

func (o *Account) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*Account) SetWebsite ¶

func (o *Account) SetWebsite(v string)

SetWebsite gets a reference to the given string and assigns it to the Website field.

func (*Account) UnmarshalJSON ¶ added in v0.0.3

func (o *Account) UnmarshalJSON(bytes []byte) (err error)
type AccountLinks struct {
	Self                 *Link `json:"self,omitempty"`
	Html                 *Link `json:"html,omitempty"`
	Avatar               *Link `json:"avatar,omitempty"`
	Followers            *Link `json:"followers,omitempty"`
	Following            *Link `json:"following,omitempty"`
	Repositories         *Link `json:"repositories,omitempty"`
	AdditionalProperties map[string]interface{}
}

AccountLinks struct for AccountLinks

func NewAccountLinks() *AccountLinks

NewAccountLinks instantiates a new AccountLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAccountLinksWithDefaults ¶

func NewAccountLinksWithDefaults() *AccountLinks

NewAccountLinksWithDefaults instantiates a new AccountLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AccountLinks) GetAvatar ¶

func (o *AccountLinks) GetAvatar() Link

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*AccountLinks) GetAvatarOk ¶

func (o *AccountLinks) GetAvatarOk() (*Link, bool)

GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountLinks) GetFollowers ¶

func (o *AccountLinks) GetFollowers() Link

GetFollowers returns the Followers field value if set, zero value otherwise.

func (*AccountLinks) GetFollowersOk ¶

func (o *AccountLinks) GetFollowersOk() (*Link, bool)

GetFollowersOk returns a tuple with the Followers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountLinks) GetFollowing ¶

func (o *AccountLinks) GetFollowing() Link

GetFollowing returns the Following field value if set, zero value otherwise.

func (*AccountLinks) GetFollowingOk ¶

func (o *AccountLinks) GetFollowingOk() (*Link, bool)

GetFollowingOk returns a tuple with the Following field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountLinks) GetHtml ¶

func (o *AccountLinks) GetHtml() Link

GetHtml returns the Html field value if set, zero value otherwise.

func (*AccountLinks) GetHtmlOk ¶

func (o *AccountLinks) GetHtmlOk() (*Link, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountLinks) GetRepositories ¶

func (o *AccountLinks) GetRepositories() Link

GetRepositories returns the Repositories field value if set, zero value otherwise.

func (*AccountLinks) GetRepositoriesOk ¶

func (o *AccountLinks) GetRepositoriesOk() (*Link, bool)

GetRepositoriesOk returns a tuple with the Repositories field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountLinks) GetSelf ¶

func (o *AccountLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*AccountLinks) GetSelfOk ¶

func (o *AccountLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AccountLinks) HasAvatar ¶

func (o *AccountLinks) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*AccountLinks) HasFollowers ¶

func (o *AccountLinks) HasFollowers() bool

HasFollowers returns a boolean if a field has been set.

func (*AccountLinks) HasFollowing ¶

func (o *AccountLinks) HasFollowing() bool

HasFollowing returns a boolean if a field has been set.

func (*AccountLinks) HasHtml ¶

func (o *AccountLinks) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (*AccountLinks) HasRepositories ¶

func (o *AccountLinks) HasRepositories() bool

HasRepositories returns a boolean if a field has been set.

func (*AccountLinks) HasSelf ¶

func (o *AccountLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (AccountLinks) MarshalJSON ¶

func (o AccountLinks) MarshalJSON() ([]byte, error)

func (*AccountLinks) SetAvatar ¶

func (o *AccountLinks) SetAvatar(v Link)

SetAvatar gets a reference to the given Link and assigns it to the Avatar field.

func (*AccountLinks) SetFollowers ¶

func (o *AccountLinks) SetFollowers(v Link)

SetFollowers gets a reference to the given Link and assigns it to the Followers field.

func (*AccountLinks) SetFollowing ¶

func (o *AccountLinks) SetFollowing(v Link)

SetFollowing gets a reference to the given Link and assigns it to the Following field.

func (*AccountLinks) SetHtml ¶

func (o *AccountLinks) SetHtml(v Link)

SetHtml gets a reference to the given Link and assigns it to the Html field.

func (*AccountLinks) SetRepositories ¶

func (o *AccountLinks) SetRepositories(v Link)

SetRepositories gets a reference to the given Link and assigns it to the Repositories field.

func (*AccountLinks) SetSelf ¶

func (o *AccountLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*AccountLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *AccountLinks) UnmarshalJSON(bytes []byte) (err error)

type AddonApiAddonDeleteRequest ¶

type AddonApiAddonDeleteRequest struct {
	ApiService *AddonApiService
	// contains filtered or unexported fields
}

func (AddonApiAddonDeleteRequest) Execute ¶

type AddonApiAddonLinkersGetRequest ¶

type AddonApiAddonLinkersGetRequest struct {
	ApiService *AddonApiService
	// contains filtered or unexported fields
}

func (AddonApiAddonLinkersGetRequest) Execute ¶

type AddonApiAddonLinkersLinkerKeyGetRequest ¶

type AddonApiAddonLinkersLinkerKeyGetRequest struct {
	ApiService *AddonApiService
	// contains filtered or unexported fields
}

func (AddonApiAddonLinkersLinkerKeyGetRequest) Execute ¶

type AddonApiAddonLinkersLinkerKeyValuesDeleteRequest ¶

type AddonApiAddonLinkersLinkerKeyValuesDeleteRequest struct {
	ApiService *AddonApiService
	// contains filtered or unexported fields
}

func (AddonApiAddonLinkersLinkerKeyValuesDeleteRequest) Execute ¶

type AddonApiAddonLinkersLinkerKeyValuesGetRequest ¶

type AddonApiAddonLinkersLinkerKeyValuesGetRequest struct {
	ApiService *AddonApiService
	// contains filtered or unexported fields
}

func (AddonApiAddonLinkersLinkerKeyValuesGetRequest) Execute ¶

type AddonApiAddonLinkersLinkerKeyValuesPostRequest ¶

type AddonApiAddonLinkersLinkerKeyValuesPostRequest struct {
	ApiService *AddonApiService
	// contains filtered or unexported fields
}

func (AddonApiAddonLinkersLinkerKeyValuesPostRequest) Execute ¶

type AddonApiAddonLinkersLinkerKeyValuesPutRequest ¶

type AddonApiAddonLinkersLinkerKeyValuesPutRequest struct {
	ApiService *AddonApiService
	// contains filtered or unexported fields
}

func (AddonApiAddonLinkersLinkerKeyValuesPutRequest) Execute ¶

type AddonApiAddonLinkersLinkerKeyValuesValueIdDeleteRequest ¶

type AddonApiAddonLinkersLinkerKeyValuesValueIdDeleteRequest struct {
	ApiService *AddonApiService
	// contains filtered or unexported fields
}

func (AddonApiAddonLinkersLinkerKeyValuesValueIdDeleteRequest) Execute ¶

type AddonApiAddonLinkersLinkerKeyValuesValueIdGetRequest ¶

type AddonApiAddonLinkersLinkerKeyValuesValueIdGetRequest struct {
	ApiService *AddonApiService
	// contains filtered or unexported fields
}

func (AddonApiAddonLinkersLinkerKeyValuesValueIdGetRequest) Execute ¶

type AddonApiAddonPutRequest ¶

type AddonApiAddonPutRequest struct {
	ApiService *AddonApiService
	// contains filtered or unexported fields
}

func (AddonApiAddonPutRequest) Execute ¶

func (r AddonApiAddonPutRequest) Execute() (*http.Response, error)

type AddonApiService ¶

type AddonApiService service

AddonApiService AddonApi service

func (*AddonApiService) AddonDelete ¶

AddonDelete Delete an app

Deletes the application for the user.

This endpoint is intended to be used by Bitbucket Connect apps and only supports JWT authentication -- that is how Bitbucket identifies the particular installation of the app. Developers with applications registered in the "Develop Apps" section of Bitbucket Marketplace need not use this endpoint as updates for those applications can be sent out via the UI of that section.

```

$ curl -X DELETE https://api.bitbucket.org/2.0/addon \
  -H "Authorization: JWT <JWT Token>"

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return AddonApiAddonDeleteRequest

func (*AddonApiService) AddonDeleteExecute ¶

func (a *AddonApiService) AddonDeleteExecute(r AddonApiAddonDeleteRequest) (*http.Response, error)

Execute executes the request

func (*AddonApiService) AddonLinkersGet ¶

AddonLinkersGet List linkers for an app

Gets a list of all [linkers](/cloud/bitbucket/modules/linker/) for the authenticated application.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return AddonApiAddonLinkersGetRequest

func (*AddonApiService) AddonLinkersGetExecute ¶

func (a *AddonApiService) AddonLinkersGetExecute(r AddonApiAddonLinkersGetRequest) (*http.Response, error)

Execute executes the request

func (*AddonApiService) AddonLinkersLinkerKeyGet ¶

func (a *AddonApiService) AddonLinkersLinkerKeyGet(ctx context.Context, linkerKey string) AddonApiAddonLinkersLinkerKeyGetRequest

AddonLinkersLinkerKeyGet Get a linker for an app

Gets a [linker](/cloud/bitbucket/modules/linker/) specified by `linker_key` for the authenticated application.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param linkerKey The unique key of a [linker module](/cloud/bitbucket/modules/linker/) as defined in an application descriptor.
@return AddonApiAddonLinkersLinkerKeyGetRequest

func (*AddonApiService) AddonLinkersLinkerKeyGetExecute ¶

func (a *AddonApiService) AddonLinkersLinkerKeyGetExecute(r AddonApiAddonLinkersLinkerKeyGetRequest) (*http.Response, error)

Execute executes the request

func (*AddonApiService) AddonLinkersLinkerKeyValuesDelete ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesDelete(ctx context.Context, linkerKey string) AddonApiAddonLinkersLinkerKeyValuesDeleteRequest

AddonLinkersLinkerKeyValuesDelete Delete all linker values

Delete all [linker](/cloud/bitbucket/modules/linker/) values for the specified linker of the authenticated application.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param linkerKey The unique key of a [linker module](/cloud/bitbucket/modules/linker/) as defined in an application descriptor.
@return AddonApiAddonLinkersLinkerKeyValuesDeleteRequest

func (*AddonApiService) AddonLinkersLinkerKeyValuesDeleteExecute ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesDeleteExecute(r AddonApiAddonLinkersLinkerKeyValuesDeleteRequest) (*http.Response, error)

Execute executes the request

func (*AddonApiService) AddonLinkersLinkerKeyValuesGet ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesGet(ctx context.Context, linkerKey string) AddonApiAddonLinkersLinkerKeyValuesGetRequest

AddonLinkersLinkerKeyValuesGet List linker values for a linker

Gets a list of all [linker](/cloud/bitbucket/modules/linker/) values for the specified linker of the authenticated application.

A linker value lets applications supply values to modify its regular expression.

The base regular expression must use a Bitbucket-specific match group `(?K)` which will be translated to `([\w\-]+)`. A value must match this pattern.

[Read more about linker values](/cloud/bitbucket/modules/linker/#usingthebitbucketapitosupplyvalues)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param linkerKey The unique key of a [linker module](/cloud/bitbucket/modules/linker/) as defined in an application descriptor.
@return AddonApiAddonLinkersLinkerKeyValuesGetRequest

func (*AddonApiService) AddonLinkersLinkerKeyValuesGetExecute ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesGetExecute(r AddonApiAddonLinkersLinkerKeyValuesGetRequest) (*http.Response, error)

Execute executes the request

func (*AddonApiService) AddonLinkersLinkerKeyValuesPost ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesPost(ctx context.Context, linkerKey string) AddonApiAddonLinkersLinkerKeyValuesPostRequest

AddonLinkersLinkerKeyValuesPost Create a linker value

Creates a [linker](/cloud/bitbucket/modules/linker/) value for the specified linker of authenticated application.

A linker value lets applications supply values to modify its regular expression.

The base regular expression must use a Bitbucket-specific match group `(?K)` which will be translated to `([\w\-]+)`. A value must match this pattern.

[Read more about linker values](/cloud/bitbucket/modules/linker/#usingthebitbucketapitosupplyvalues)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param linkerKey The unique key of a [linker module](/cloud/bitbucket/modules/linker/) as defined in an application descriptor.
@return AddonApiAddonLinkersLinkerKeyValuesPostRequest

func (*AddonApiService) AddonLinkersLinkerKeyValuesPostExecute ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesPostExecute(r AddonApiAddonLinkersLinkerKeyValuesPostRequest) (*http.Response, error)

Execute executes the request

func (*AddonApiService) AddonLinkersLinkerKeyValuesPut ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesPut(ctx context.Context, linkerKey string) AddonApiAddonLinkersLinkerKeyValuesPutRequest

AddonLinkersLinkerKeyValuesPut Update a linker value

Bulk update [linker](/cloud/bitbucket/modules/linker/) values for the specified linker of the authenticated application.

A linker value lets applications supply values to modify its regular expression.

The base regular expression must use a Bitbucket-specific match group `(?K)` which will be translated to `([\w\-]+)`. A value must match this pattern.

[Read more about linker values](/cloud/bitbucket/modules/linker/#usingthebitbucketapitosupplyvalues)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param linkerKey The unique key of a [linker module](/cloud/bitbucket/modules/linker/) as defined in an application descriptor.
@return AddonApiAddonLinkersLinkerKeyValuesPutRequest

func (*AddonApiService) AddonLinkersLinkerKeyValuesPutExecute ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesPutExecute(r AddonApiAddonLinkersLinkerKeyValuesPutRequest) (*http.Response, error)

Execute executes the request

func (*AddonApiService) AddonLinkersLinkerKeyValuesValueIdDelete ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesValueIdDelete(ctx context.Context, linkerKey string, valueId int32) AddonApiAddonLinkersLinkerKeyValuesValueIdDeleteRequest

AddonLinkersLinkerKeyValuesValueIdDelete Delete a linker value

Delete a single [linker](/cloud/bitbucket/modules/linker/) value of the authenticated application.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param linkerKey The unique key of a [linker module](/cloud/bitbucket/modules/linker/) as defined in an application descriptor.
@param valueId The numeric ID of the linker value.
@return AddonApiAddonLinkersLinkerKeyValuesValueIdDeleteRequest

func (*AddonApiService) AddonLinkersLinkerKeyValuesValueIdDeleteExecute ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesValueIdDeleteExecute(r AddonApiAddonLinkersLinkerKeyValuesValueIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*AddonApiService) AddonLinkersLinkerKeyValuesValueIdGet ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesValueIdGet(ctx context.Context, linkerKey string, valueId int32) AddonApiAddonLinkersLinkerKeyValuesValueIdGetRequest

AddonLinkersLinkerKeyValuesValueIdGet Get a linker value

Get a single [linker](/cloud/bitbucket/modules/linker/) value of the authenticated application.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param linkerKey The unique key of a [linker module](/cloud/bitbucket/modules/linker/) as defined in an application descriptor.
@param valueId The numeric ID of the linker value.
@return AddonApiAddonLinkersLinkerKeyValuesValueIdGetRequest

func (*AddonApiService) AddonLinkersLinkerKeyValuesValueIdGetExecute ¶

func (a *AddonApiService) AddonLinkersLinkerKeyValuesValueIdGetExecute(r AddonApiAddonLinkersLinkerKeyValuesValueIdGetRequest) (*http.Response, error)

Execute executes the request

func (*AddonApiService) AddonPut ¶

AddonPut Update an installed app

Updates the application installation for the user.

This endpoint is intended to be used by Bitbucket Connect apps and only supports JWT authentication -- that is how Bitbucket identifies the particular installation of the app. Developers with applications registered in the "Develop Apps" section of Bitbucket need not use this endpoint as updates for those applications can be sent out via the UI of that section.

Passing an empty body will update the installation using the existing descriptor URL.

```

$ curl -X PUT https://api.bitbucket.org/2.0/addon \
  -H "Authorization: JWT <JWT Token>" \
  --header "Content-Type: application/json" \
  --data '{}'

```

The new `descriptor` for the installation can be also provided in the body directly.

```

$ curl -X PUT https://api.bitbucket.org/2.0/addon \
  -H "Authorization: JWT <JWT Token>" \
  --header "Content-Type: application/json" \
  --data '{"descriptor": $NEW_DESCRIPTOR}'

```

In both these modes the URL of the descriptor cannot be changed. To change the descriptor location and upgrade an installation the request must be made exclusively with a `descriptor_url`.

```
$ curl -X PUT https://api.bitbucket.org/2.0/addon \
  -H "Authorization: JWT <JWT Token>" \
  --header "Content-Type: application/json" \
  --data '{"descriptor_url": $NEW_URL}'

```

The `descriptor_url` must exactly match the marketplace registration that Atlassian has for the application. Contact your Atlassian developer advocate to update this registration. Once the registration has been updated you may call this resource for each installation.

Note that the scopes of the application cannot be increased in the new descriptor nor reduced to none.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return AddonApiAddonPutRequest

func (*AddonApiService) AddonPutExecute ¶

func (a *AddonApiService) AddonPutExecute(r AddonApiAddonPutRequest) (*http.Response, error)

Execute executes the request

type ApplicationProperty ¶

type ApplicationProperty struct {
	Attributes           []string `json:"_attributes,omitempty"`
	AdditionalProperties map[string]interface{}
}

ApplicationProperty An application property. It is a caller defined JSON object that Bitbucket will store and return. The `_attributes` field at its top level can be used to control who is allowed to read and update the property. The keys of the JSON object must match an allowed pattern. For details, see [Application properties](/cloud/bitbucket/application-properties/).

func NewApplicationProperty ¶

func NewApplicationProperty() *ApplicationProperty

NewApplicationProperty instantiates a new ApplicationProperty object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewApplicationPropertyWithDefaults ¶

func NewApplicationPropertyWithDefaults() *ApplicationProperty

NewApplicationPropertyWithDefaults instantiates a new ApplicationProperty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ApplicationProperty) GetAttributes ¶

func (o *ApplicationProperty) GetAttributes() []string

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*ApplicationProperty) GetAttributesOk ¶

func (o *ApplicationProperty) GetAttributesOk() ([]string, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ApplicationProperty) HasAttributes ¶

func (o *ApplicationProperty) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (ApplicationProperty) MarshalJSON ¶

func (o ApplicationProperty) MarshalJSON() ([]byte, error)

func (*ApplicationProperty) SetAttributes ¶

func (o *ApplicationProperty) SetAttributes(v []string)

SetAttributes gets a reference to the given []string and assigns it to the Attributes field.

func (*ApplicationProperty) UnmarshalJSON ¶ added in v0.0.3

func (o *ApplicationProperty) UnmarshalJSON(bytes []byte) (err error)

type Author ¶

type Author struct {
	// The raw author value from the repository. This may be the only value available if the author does not match a user in Bitbucket.
	Raw                  *string  `json:"raw,omitempty"`
	User                 *Account `json:"user,omitempty"`
	AdditionalProperties map[string]interface{}
}

Author The author of a change in a repository

func NewAuthor ¶

func NewAuthor() *Author

NewAuthor instantiates a new Author object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAuthorWithDefaults ¶

func NewAuthorWithDefaults() *Author

NewAuthorWithDefaults instantiates a new Author object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Author) GetRaw ¶

func (o *Author) GetRaw() string

GetRaw returns the Raw field value if set, zero value otherwise.

func (*Author) GetRawOk ¶

func (o *Author) GetRawOk() (*string, bool)

GetRawOk returns a tuple with the Raw field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Author) GetUser ¶

func (o *Author) GetUser() Account

GetUser returns the User field value if set, zero value otherwise.

func (*Author) GetUserOk ¶

func (o *Author) GetUserOk() (*Account, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Author) HasRaw ¶

func (o *Author) HasRaw() bool

HasRaw returns a boolean if a field has been set.

func (*Author) HasUser ¶

func (o *Author) HasUser() bool

HasUser returns a boolean if a field has been set.

func (Author) MarshalJSON ¶

func (o Author) MarshalJSON() ([]byte, error)

func (*Author) SetRaw ¶

func (o *Author) SetRaw(v string)

SetRaw gets a reference to the given string and assigns it to the Raw field.

func (*Author) SetUser ¶

func (o *Author) SetUser(v Account)

SetUser gets a reference to the given Account and assigns it to the User field.

func (*Author) UnmarshalJSON ¶ added in v0.0.3

func (o *Author) UnmarshalJSON(bytes []byte) (err error)

type BaseCommit ¶

type BaseCommit struct {
	Hash                 *string                         `json:"hash,omitempty"`
	Date                 *time.Time                      `json:"date,omitempty"`
	Author               *Author                         `json:"author,omitempty"`
	Message              *string                         `json:"message,omitempty"`
	Summary              *RenderedPullRequestMarkupTitle `json:"summary,omitempty"`
	Parents              []BaseCommit                    `json:"parents,omitempty"`
	AdditionalProperties map[string]interface{}
}

BaseCommit The common base type for both repository and snippet commits.

func NewBaseCommit ¶

func NewBaseCommit() *BaseCommit

NewBaseCommit instantiates a new BaseCommit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBaseCommitWithDefaults ¶

func NewBaseCommitWithDefaults() *BaseCommit

NewBaseCommitWithDefaults instantiates a new BaseCommit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BaseCommit) GetAuthor ¶

func (o *BaseCommit) GetAuthor() Author

GetAuthor returns the Author field value if set, zero value otherwise.

func (*BaseCommit) GetAuthorOk ¶

func (o *BaseCommit) GetAuthorOk() (*Author, bool)

GetAuthorOk returns a tuple with the Author field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseCommit) GetDate ¶

func (o *BaseCommit) GetDate() time.Time

GetDate returns the Date field value if set, zero value otherwise.

func (*BaseCommit) GetDateOk ¶

func (o *BaseCommit) GetDateOk() (*time.Time, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseCommit) GetHash ¶

func (o *BaseCommit) GetHash() string

GetHash returns the Hash field value if set, zero value otherwise.

func (*BaseCommit) GetHashOk ¶

func (o *BaseCommit) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseCommit) GetMessage ¶

func (o *BaseCommit) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*BaseCommit) GetMessageOk ¶

func (o *BaseCommit) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseCommit) GetParents ¶

func (o *BaseCommit) GetParents() []BaseCommit

GetParents returns the Parents field value if set, zero value otherwise.

func (*BaseCommit) GetParentsOk ¶

func (o *BaseCommit) GetParentsOk() ([]BaseCommit, bool)

GetParentsOk returns a tuple with the Parents field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseCommit) GetSummary ¶

GetSummary returns the Summary field value if set, zero value otherwise.

func (*BaseCommit) GetSummaryOk ¶

func (o *BaseCommit) GetSummaryOk() (*RenderedPullRequestMarkupTitle, bool)

GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BaseCommit) HasAuthor ¶

func (o *BaseCommit) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (*BaseCommit) HasDate ¶

func (o *BaseCommit) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*BaseCommit) HasHash ¶

func (o *BaseCommit) HasHash() bool

HasHash returns a boolean if a field has been set.

func (*BaseCommit) HasMessage ¶

func (o *BaseCommit) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*BaseCommit) HasParents ¶

func (o *BaseCommit) HasParents() bool

HasParents returns a boolean if a field has been set.

func (*BaseCommit) HasSummary ¶

func (o *BaseCommit) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (BaseCommit) MarshalJSON ¶

func (o BaseCommit) MarshalJSON() ([]byte, error)

func (*BaseCommit) SetAuthor ¶

func (o *BaseCommit) SetAuthor(v Author)

SetAuthor gets a reference to the given Author and assigns it to the Author field.

func (*BaseCommit) SetDate ¶

func (o *BaseCommit) SetDate(v time.Time)

SetDate gets a reference to the given time.Time and assigns it to the Date field.

func (*BaseCommit) SetHash ¶

func (o *BaseCommit) SetHash(v string)

SetHash gets a reference to the given string and assigns it to the Hash field.

func (*BaseCommit) SetMessage ¶

func (o *BaseCommit) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*BaseCommit) SetParents ¶

func (o *BaseCommit) SetParents(v []BaseCommit)

SetParents gets a reference to the given []BaseCommit and assigns it to the Parents field.

func (*BaseCommit) SetSummary ¶

func (o *BaseCommit) SetSummary(v RenderedPullRequestMarkupTitle)

SetSummary gets a reference to the given RenderedPullRequestMarkupTitle and assigns it to the Summary field.

func (*BaseCommit) UnmarshalJSON ¶ added in v0.0.3

func (o *BaseCommit) UnmarshalJSON(bytes []byte) (err error)

type BasicAuth ¶

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Branch ¶

type Branch struct {
	// Available merge strategies for pull requests targeting this branch.
	MergeStrategies []string `json:"merge_strategies,omitempty"`
	// The default merge strategy for pull requests targeting this branch.
	DefaultMergeStrategy *string `json:"default_merge_strategy,omitempty"`
	AdditionalProperties map[string]interface{}
}

Branch A branch object, representing a branch in a repository.

func NewBranch ¶

func NewBranch() *Branch

NewBranch instantiates a new Branch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchWithDefaults ¶

func NewBranchWithDefaults() *Branch

NewBranchWithDefaults instantiates a new Branch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Branch) GetDefaultMergeStrategy ¶

func (o *Branch) GetDefaultMergeStrategy() string

GetDefaultMergeStrategy returns the DefaultMergeStrategy field value if set, zero value otherwise.

func (*Branch) GetDefaultMergeStrategyOk ¶

func (o *Branch) GetDefaultMergeStrategyOk() (*string, bool)

GetDefaultMergeStrategyOk returns a tuple with the DefaultMergeStrategy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Branch) GetMergeStrategies ¶

func (o *Branch) GetMergeStrategies() []string

GetMergeStrategies returns the MergeStrategies field value if set, zero value otherwise.

func (*Branch) GetMergeStrategiesOk ¶

func (o *Branch) GetMergeStrategiesOk() ([]string, bool)

GetMergeStrategiesOk returns a tuple with the MergeStrategies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Branch) HasDefaultMergeStrategy ¶

func (o *Branch) HasDefaultMergeStrategy() bool

HasDefaultMergeStrategy returns a boolean if a field has been set.

func (*Branch) HasMergeStrategies ¶

func (o *Branch) HasMergeStrategies() bool

HasMergeStrategies returns a boolean if a field has been set.

func (Branch) MarshalJSON ¶

func (o Branch) MarshalJSON() ([]byte, error)

func (*Branch) SetDefaultMergeStrategy ¶

func (o *Branch) SetDefaultMergeStrategy(v string)

SetDefaultMergeStrategy gets a reference to the given string and assigns it to the DefaultMergeStrategy field.

func (*Branch) SetMergeStrategies ¶

func (o *Branch) SetMergeStrategies(v []string)

SetMergeStrategies gets a reference to the given []string and assigns it to the MergeStrategies field.

func (*Branch) UnmarshalJSON ¶ added in v0.0.3

func (o *Branch) UnmarshalJSON(bytes []byte) (err error)

type BranchRestriction ¶

type BranchRestriction struct {
	Links *BranchingModelSettingsLinks `json:"links,omitempty"`
	// The branch restriction status' id.
	Id *int32 `json:"id,omitempty"`
	// The type of restriction that is being applied.
	Kind string `json:"kind"`
	// Indicates how the restriction is matched against a branch. The default is `glob`.
	BranchMatchKind string `json:"branch_match_kind"`
	// Apply the restriction to branches of this type. Active when `branch_match_kind` is `branching_model`. The branch type will be calculated using the branching model configured for the repository.
	BranchType *string `json:"branch_type,omitempty"`
	// Apply the restriction to branches that match this pattern. Active when `branch_match_kind` is `glob`. Will be empty when `branch_match_kind` is `branching_model`.
	Pattern string    `json:"pattern"`
	Users   []Account `json:"users,omitempty"`
	Groups  []Group   `json:"groups,omitempty"`
	// <staticmethod object at 0x7facec283c90>
	Value                *int32 `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

BranchRestriction A branch restriction rule.

func NewBranchRestriction ¶

func NewBranchRestriction(kind string, branchMatchKind string, pattern string) *BranchRestriction

NewBranchRestriction instantiates a new BranchRestriction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchRestrictionWithDefaults ¶

func NewBranchRestrictionWithDefaults() *BranchRestriction

NewBranchRestrictionWithDefaults instantiates a new BranchRestriction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchRestriction) GetBranchMatchKind ¶

func (o *BranchRestriction) GetBranchMatchKind() string

GetBranchMatchKind returns the BranchMatchKind field value

func (*BranchRestriction) GetBranchMatchKindOk ¶

func (o *BranchRestriction) GetBranchMatchKindOk() (*string, bool)

GetBranchMatchKindOk returns a tuple with the BranchMatchKind field value and a boolean to check if the value has been set.

func (*BranchRestriction) GetBranchType ¶

func (o *BranchRestriction) GetBranchType() string

GetBranchType returns the BranchType field value if set, zero value otherwise.

func (*BranchRestriction) GetBranchTypeOk ¶

func (o *BranchRestriction) GetBranchTypeOk() (*string, bool)

GetBranchTypeOk returns a tuple with the BranchType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchRestriction) GetGroups ¶

func (o *BranchRestriction) GetGroups() []Group

GetGroups returns the Groups field value if set, zero value otherwise.

func (*BranchRestriction) GetGroupsOk ¶

func (o *BranchRestriction) GetGroupsOk() ([]Group, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchRestriction) GetId ¶

func (o *BranchRestriction) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*BranchRestriction) GetIdOk ¶

func (o *BranchRestriction) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchRestriction) GetKind ¶

func (o *BranchRestriction) GetKind() string

GetKind returns the Kind field value

func (*BranchRestriction) GetKindOk ¶

func (o *BranchRestriction) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*BranchRestriction) GetLinksOk ¶

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchRestriction) GetPattern ¶

func (o *BranchRestriction) GetPattern() string

GetPattern returns the Pattern field value

func (*BranchRestriction) GetPatternOk ¶

func (o *BranchRestriction) GetPatternOk() (*string, bool)

GetPatternOk returns a tuple with the Pattern field value and a boolean to check if the value has been set.

func (*BranchRestriction) GetUsers ¶

func (o *BranchRestriction) GetUsers() []Account

GetUsers returns the Users field value if set, zero value otherwise.

func (*BranchRestriction) GetUsersOk ¶

func (o *BranchRestriction) GetUsersOk() ([]Account, bool)

GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchRestriction) GetValue ¶

func (o *BranchRestriction) GetValue() int32

GetValue returns the Value field value if set, zero value otherwise.

func (*BranchRestriction) GetValueOk ¶

func (o *BranchRestriction) GetValueOk() (*int32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchRestriction) HasBranchType ¶

func (o *BranchRestriction) HasBranchType() bool

HasBranchType returns a boolean if a field has been set.

func (*BranchRestriction) HasGroups ¶

func (o *BranchRestriction) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*BranchRestriction) HasId ¶

func (o *BranchRestriction) HasId() bool

HasId returns a boolean if a field has been set.

func (o *BranchRestriction) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*BranchRestriction) HasUsers ¶

func (o *BranchRestriction) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (*BranchRestriction) HasValue ¶

func (o *BranchRestriction) HasValue() bool

HasValue returns a boolean if a field has been set.

func (BranchRestriction) MarshalJSON ¶

func (o BranchRestriction) MarshalJSON() ([]byte, error)

func (*BranchRestriction) SetBranchMatchKind ¶

func (o *BranchRestriction) SetBranchMatchKind(v string)

SetBranchMatchKind sets field value

func (*BranchRestriction) SetBranchType ¶

func (o *BranchRestriction) SetBranchType(v string)

SetBranchType gets a reference to the given string and assigns it to the BranchType field.

func (*BranchRestriction) SetGroups ¶

func (o *BranchRestriction) SetGroups(v []Group)

SetGroups gets a reference to the given []Group and assigns it to the Groups field.

func (*BranchRestriction) SetId ¶

func (o *BranchRestriction) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*BranchRestriction) SetKind ¶

func (o *BranchRestriction) SetKind(v string)

SetKind sets field value

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*BranchRestriction) SetPattern ¶

func (o *BranchRestriction) SetPattern(v string)

SetPattern sets field value

func (*BranchRestriction) SetUsers ¶

func (o *BranchRestriction) SetUsers(v []Account)

SetUsers gets a reference to the given []Account and assigns it to the Users field.

func (*BranchRestriction) SetValue ¶

func (o *BranchRestriction) SetValue(v int32)

SetValue gets a reference to the given int32 and assigns it to the Value field.

func (*BranchRestriction) UnmarshalJSON ¶ added in v0.0.3

func (o *BranchRestriction) UnmarshalJSON(bytes []byte) (err error)

type BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsGetRequest ¶

type BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsGetRequest struct {
	ApiService *BranchRestrictionsApiService
	// contains filtered or unexported fields
}

func (BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsGetRequest) Execute ¶

func (BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsGetRequest) Kind ¶

Branch restrictions of this type

func (BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsGetRequest) Pattern ¶

Branch restrictions applied to branches of this pattern

type BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdDeleteRequest ¶

type BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdDeleteRequest struct {
	ApiService *BranchRestrictionsApiService
	// contains filtered or unexported fields
}

func (BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdDeleteRequest) Execute ¶

type BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdGetRequest ¶

type BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdGetRequest struct {
	ApiService *BranchRestrictionsApiService
	// contains filtered or unexported fields
}

func (BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdGetRequest) Execute ¶

type BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdPutRequest ¶

type BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdPutRequest struct {
	ApiService *BranchRestrictionsApiService
	// contains filtered or unexported fields
}

func (BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdPutRequest) Body ¶

The new version of the existing rule

func (BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdPutRequest) Execute ¶

type BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsPostRequest ¶

type BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsPostRequest struct {
	ApiService *BranchRestrictionsApiService
	// contains filtered or unexported fields
}

func (BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsPostRequest) Body ¶

The new rule

func (BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsPostRequest) Execute ¶

type BranchRestrictionsApiService ¶

type BranchRestrictionsApiService service

BranchRestrictionsApiService BranchRestrictionsApi service

func (*BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsGet ¶

func (a *BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsGet(ctx context.Context, repoSlug string, workspace string) BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsGetRequest

RepositoriesWorkspaceRepoSlugBranchRestrictionsGet List branch restrictions

Returns a paginated list of all branch restrictions on the repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsGetRequest

func (*BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsGetExecute ¶

Execute executes the request

@return PaginatedBranchrestrictions

func (*BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsIdDelete ¶

func (a *BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsIdDelete(ctx context.Context, id string, repoSlug string, workspace string) BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdDeleteRequest

RepositoriesWorkspaceRepoSlugBranchRestrictionsIdDelete Delete a branch restriction rule

Deletes an existing branch restriction rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The restriction rule's id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdDeleteRequest

func (*BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsIdDeleteExecute ¶

func (a *BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsIdDeleteExecute(r BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsIdGet ¶

func (a *BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsIdGet(ctx context.Context, id string, repoSlug string, workspace string) BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdGetRequest

RepositoriesWorkspaceRepoSlugBranchRestrictionsIdGet Get a branch restriction rule

Returns a specific branch restriction rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The restriction rule's id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdGetRequest

func (*BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsIdGetExecute ¶

Execute executes the request

@return Branchrestriction

func (*BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsIdPut ¶

func (a *BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsIdPut(ctx context.Context, id string, repoSlug string, workspace string) BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdPutRequest

RepositoriesWorkspaceRepoSlugBranchRestrictionsIdPut Update a branch restriction rule

Updates an existing branch restriction rule.

Fields not present in the request body are ignored.

See [`POST`](/cloud/bitbucket/rest/api-group-branch-restrictions/#api-repositories-workspace-repo-slug-branch-restrictions-post) for details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The restriction rule's id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsIdPutRequest

func (*BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsIdPutExecute ¶

Execute executes the request

@return Branchrestriction

func (*BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsPost ¶

func (a *BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsPost(ctx context.Context, repoSlug string, workspace string) BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsPostRequest

RepositoriesWorkspaceRepoSlugBranchRestrictionsPost Create a branch restriction rule

Creates a new branch restriction rule for a repository.

`kind` describes what will be restricted. Allowed values include: `push`, `force`, `delete` and `restrict_merges`.

Different kinds of branch restrictions have different requirements:

  • `push` and `restrict_merges` require `users` and `groups` to be specified. Empty lists are allowed, in which case permission is denied for everybody.

The restriction applies to all branches that match. There are two ways to match a branch. It is configured in `branch_match_kind`:

  1. `glob`: Matches a branch against the `pattern`. A `'*'` in `pattern` will expand to match zero or more characters, and every other character matches itself. For example, `'foo*'` will match `'foo'` and `'foobar'`, but not `'barfoo'`. `'*'` will match all branches.
  2. `branching_model`: Matches a branch against the repository's branching model. The `branch_type` controls the type of branch to match. Allowed values include: `production`, `development`, `bugfix`, `release`, `feature` and `hotfix`.

The combination of `kind` and match must be unique. This means that two `glob` restrictions in a repository cannot have the same `kind` and `pattern`. Additionally, two `branching_model` restrictions in a repository cannot have the same `kind` and `branch_type`.

`users` and `groups` are lists of users and groups that are except from the restriction. They can only be configured in `push` and `restrict_merges` restrictions. The `push` restriction stops a user pushing to matching branches unless that user is in `users` or is a member of a group in `groups`. The `restrict_merges` stops a user merging pull requests to matching branches unless that user is in `users` or is a member of a group in `groups`. Adding new users or groups to an existing restriction should be done via `PUT`.

Note that branch restrictions with overlapping matchers is allowed, but the resulting behavior may be surprising.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return BranchRestrictionsApiRepositoriesWorkspaceRepoSlugBranchRestrictionsPostRequest

func (*BranchRestrictionsApiService) RepositoriesWorkspaceRepoSlugBranchRestrictionsPostExecute ¶

Execute executes the request

@return Branchrestriction

type BranchingModel ¶

type BranchingModel struct {
	// The active branch types.
	BranchTypes          []BranchingModelBranchTypes `json:"branch_types,omitempty"`
	Development          *BranchingModelDevelopment  `json:"development,omitempty"`
	Production           *BranchingModelDevelopment  `json:"production,omitempty"`
	AdditionalProperties map[string]interface{}
}

BranchingModel A repository's branching model

func NewBranchingModel ¶

func NewBranchingModel() *BranchingModel

NewBranchingModel instantiates a new BranchingModel object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchingModelWithDefaults ¶

func NewBranchingModelWithDefaults() *BranchingModel

NewBranchingModelWithDefaults instantiates a new BranchingModel object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchingModel) GetBranchTypes ¶

func (o *BranchingModel) GetBranchTypes() []BranchingModelBranchTypes

GetBranchTypes returns the BranchTypes field value if set, zero value otherwise.

func (*BranchingModel) GetBranchTypesOk ¶

func (o *BranchingModel) GetBranchTypesOk() ([]BranchingModelBranchTypes, bool)

GetBranchTypesOk returns a tuple with the BranchTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModel) GetDevelopment ¶

func (o *BranchingModel) GetDevelopment() BranchingModelDevelopment

GetDevelopment returns the Development field value if set, zero value otherwise.

func (*BranchingModel) GetDevelopmentOk ¶

func (o *BranchingModel) GetDevelopmentOk() (*BranchingModelDevelopment, bool)

GetDevelopmentOk returns a tuple with the Development field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModel) GetProduction ¶

func (o *BranchingModel) GetProduction() BranchingModelDevelopment

GetProduction returns the Production field value if set, zero value otherwise.

func (*BranchingModel) GetProductionOk ¶

func (o *BranchingModel) GetProductionOk() (*BranchingModelDevelopment, bool)

GetProductionOk returns a tuple with the Production field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModel) HasBranchTypes ¶

func (o *BranchingModel) HasBranchTypes() bool

HasBranchTypes returns a boolean if a field has been set.

func (*BranchingModel) HasDevelopment ¶

func (o *BranchingModel) HasDevelopment() bool

HasDevelopment returns a boolean if a field has been set.

func (*BranchingModel) HasProduction ¶

func (o *BranchingModel) HasProduction() bool

HasProduction returns a boolean if a field has been set.

func (BranchingModel) MarshalJSON ¶

func (o BranchingModel) MarshalJSON() ([]byte, error)

func (*BranchingModel) SetBranchTypes ¶

func (o *BranchingModel) SetBranchTypes(v []BranchingModelBranchTypes)

SetBranchTypes gets a reference to the given []BranchingModelBranchTypes and assigns it to the BranchTypes field.

func (*BranchingModel) SetDevelopment ¶

func (o *BranchingModel) SetDevelopment(v BranchingModelDevelopment)

SetDevelopment gets a reference to the given BranchingModelDevelopment and assigns it to the Development field.

func (*BranchingModel) SetProduction ¶

func (o *BranchingModel) SetProduction(v BranchingModelDevelopment)

SetProduction gets a reference to the given BranchingModelDevelopment and assigns it to the Production field.

func (*BranchingModel) UnmarshalJSON ¶ added in v0.0.3

func (o *BranchingModel) UnmarshalJSON(bytes []byte) (err error)

type BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelGetRequest ¶

type BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelGetRequest struct {
	ApiService *BranchingModelApiService
	// contains filtered or unexported fields
}

func (BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelGetRequest) Execute ¶

type BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelSettingsGetRequest ¶

type BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelSettingsGetRequest struct {
	ApiService *BranchingModelApiService
	// contains filtered or unexported fields
}

func (BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelSettingsGetRequest) Execute ¶

type BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelSettingsPutRequest ¶

type BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelSettingsPutRequest struct {
	ApiService *BranchingModelApiService
	// contains filtered or unexported fields
}

func (BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelSettingsPutRequest) Execute ¶

type BranchingModelApiService ¶

type BranchingModelApiService service

BranchingModelApiService BranchingModelApi service

func (*BranchingModelApiService) RepositoriesWorkspaceRepoSlugBranchingModelGet ¶

func (a *BranchingModelApiService) RepositoriesWorkspaceRepoSlugBranchingModelGet(ctx context.Context, repoSlug string, workspace string) BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelGetRequest

RepositoriesWorkspaceRepoSlugBranchingModelGet Get the branching model for a repository

Return the branching model as applied to the repository. This view is read-only. The branching model settings can be changed using the [settings](branching-model/settings#get) API.

The returned object:

  1. Always has a `development` property. `development.branch` contains the actual repository branch object that is considered to be the `development` branch. `development.branch` will not be present if it does not exist.
  2. Might have a `production` property. `production` will not be present when `production` is disabled. `production.branch` contains the actual branch object that is considered to be the `production` branch. `production.branch` will not be present if it does not exist.
  3. Always has a `branch_types` array which contains all enabled branch types.

Example body:

```

{
  "development": {
    "name": "master",
    "branch": {
      "type": "branch",
      "name": "master",
      "target": {
        "hash": "16dffcb0de1b22e249db6799532074cf32efe80f"
      }
    },
    "use_mainbranch": true
  },
  "production": {
    "name": "production",
    "branch": {
      "type": "branch",
      "name": "production",
      "target": {
        "hash": "16dffcb0de1b22e249db6799532074cf32efe80f"
      }
    },
    "use_mainbranch": false
  },
  "branch_types": [
    {
      "kind": "release",
      "prefix": "release/"
    },
    {
      "kind": "hotfix",
      "prefix": "hotfix/"
    },
    {
      "kind": "feature",
      "prefix": "feature/"
    },
    {
      "kind": "bugfix",
      "prefix": "bugfix/"
    }
  ],
  "type": "branching_model",
  "links": {
    "self": {
      "href": "https://api.bitbucket.org/.../branching-model"
    }
  }
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelGetRequest

func (*BranchingModelApiService) RepositoriesWorkspaceRepoSlugBranchingModelGetExecute ¶

Execute executes the request

@return BranchingModel

func (*BranchingModelApiService) RepositoriesWorkspaceRepoSlugBranchingModelSettingsGet ¶

func (a *BranchingModelApiService) RepositoriesWorkspaceRepoSlugBranchingModelSettingsGet(ctx context.Context, repoSlug string, workspace string) BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelSettingsGetRequest

RepositoriesWorkspaceRepoSlugBranchingModelSettingsGet Get the branching model config for a repository

Return the branching model configuration for a repository. The returned object:

  1. Always has a `development` property for the development branch.
  2. Always a `production` property for the production branch. The production branch can be disabled.
  3. The `branch_types` contains all the branch types.

This is the raw configuration for the branching model. A client wishing to see the branching model with its actual current branches may find the [active model API](/cloud/bitbucket/rest/api-group-branching-model/#api-repositories-workspace-repo-slug-branching-model-get) more useful.

Example body:

```

{
  "development": {
    "is_valid": true,
    "name": null,
    "use_mainbranch": true
  },
  "production": {
    "is_valid": true,
    "name": "production",
    "use_mainbranch": false,
    "enabled": false
  },
  "branch_types": [
    {
      "kind": "release",
      "enabled": true,
      "prefix": "release/"
    },
    {
      "kind": "hotfix",
      "enabled": true,
      "prefix": "hotfix/"
    },
    {
      "kind": "feature",
      "enabled": true,
      "prefix": "feature/"
    },
    {
      "kind": "bugfix",
      "enabled": false,
      "prefix": "bugfix/"
    }
  ],
  "type": "branching_model_settings",
  "links": {
    "self": {
      "href": "https://api.bitbucket.org/.../branching-model/settings"
    }
  }
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelSettingsGetRequest

func (*BranchingModelApiService) RepositoriesWorkspaceRepoSlugBranchingModelSettingsGetExecute ¶

Execute executes the request

@return BranchingModelSettings

func (*BranchingModelApiService) RepositoriesWorkspaceRepoSlugBranchingModelSettingsPut ¶

func (a *BranchingModelApiService) RepositoriesWorkspaceRepoSlugBranchingModelSettingsPut(ctx context.Context, repoSlug string, workspace string) BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelSettingsPutRequest

RepositoriesWorkspaceRepoSlugBranchingModelSettingsPut Update the branching model config for a repository

Update the branching model configuration for a repository.

The `development` branch can be configured to a specific branch or to track the main branch. When set to a specific branch it must currently exist. Only the passed properties will be updated. The properties not passed will be left unchanged. A request without a `development` property will leave the development branch unchanged.

It is possible for the `development` branch to be invalid. This happens when it points at a specific branch that has been deleted. This is indicated in the `is_valid` field for the branch. It is not possible to update the settings for `development` if that would leave the branch in an invalid state. Such a request will be rejected.

The `production` branch can be a specific branch, the main branch or disabled. When set to a specific branch it must currently exist. The `enabled` property can be used to enable (`true`) or disable (`false`) it. Only the passed properties will be updated. The properties not passed will be left unchanged. A request without a `production` property will leave the production branch unchanged.

It is possible for the `production` branch to be invalid. This happens when it points at a specific branch that has been deleted. This is indicated in the `is_valid` field for the branch. A request that would leave `production` enabled and invalid will be rejected. It is possible to update `production` and make it invalid if it would also be left disabled.

The `branch_types` property contains the branch types to be updated. Only the branch types passed will be updated. All updates will be rejected if it would leave the branching model in an invalid state. For branch types this means that:

  1. The prefixes for all enabled branch types are valid. For example, it is not possible to use '*' inside a Git prefix.
  2. A prefix of an enabled branch type must not be a prefix of another enabled branch type. This is to ensure that a branch can be easily classified by its prefix unambiguously.

It is possible to store an invalid prefix if that branch type would be left disabled. Only the passed properties will be updated. The properties not passed will be left unchanged. Each branch type must have a `kind` property to identify it.

Example Body:

```

{
  "development": {
    "use_mainbranch": true
  },
  "production": {
    "enabled": true,
    "use_mainbranch": false,
    "name": "production"
  },
  "branch_types": [
    {
      "kind": "bugfix",
      "enabled": true,
      "prefix": "bugfix/"
    },
    {
      "kind": "feature",
      "enabled": true,
      "prefix": "feature/"
    },
    {
      "kind": "hotfix",
      "prefix": "hotfix/"
    },
    {
      "kind": "release",
      "enabled": false,
    }
  ]
}

```

There is currently a side effect when using this API endpoint. If the repository is inheriting branching model settings from its project, updating the branching model for this repository will disable the project setting inheritance.

We have deprecated this side effect and will remove it on 1 August 2022.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return BranchingModelApiRepositoriesWorkspaceRepoSlugBranchingModelSettingsPutRequest

func (*BranchingModelApiService) RepositoriesWorkspaceRepoSlugBranchingModelSettingsPutExecute ¶

Execute executes the request

@return BranchingModelSettings

type BranchingModelBranchTypes ¶

type BranchingModelBranchTypes struct {
	// The kind of branch.
	Kind string `json:"kind"`
	// The prefix for this branch type. A branch with this prefix will be classified as per `kind`. The prefix must be a valid prefix for a branch and must always exist. It cannot be blank, empty or `null`.
	Prefix               string `json:"prefix"`
	AdditionalProperties map[string]interface{}
}

BranchingModelBranchTypes struct for BranchingModelBranchTypes

func NewBranchingModelBranchTypes ¶

func NewBranchingModelBranchTypes(kind string, prefix string) *BranchingModelBranchTypes

NewBranchingModelBranchTypes instantiates a new BranchingModelBranchTypes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchingModelBranchTypesWithDefaults ¶

func NewBranchingModelBranchTypesWithDefaults() *BranchingModelBranchTypes

NewBranchingModelBranchTypesWithDefaults instantiates a new BranchingModelBranchTypes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchingModelBranchTypes) GetKind ¶

func (o *BranchingModelBranchTypes) GetKind() string

GetKind returns the Kind field value

func (*BranchingModelBranchTypes) GetKindOk ¶

func (o *BranchingModelBranchTypes) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*BranchingModelBranchTypes) GetPrefix ¶

func (o *BranchingModelBranchTypes) GetPrefix() string

GetPrefix returns the Prefix field value

func (*BranchingModelBranchTypes) GetPrefixOk ¶

func (o *BranchingModelBranchTypes) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value and a boolean to check if the value has been set.

func (BranchingModelBranchTypes) MarshalJSON ¶

func (o BranchingModelBranchTypes) MarshalJSON() ([]byte, error)

func (*BranchingModelBranchTypes) SetKind ¶

func (o *BranchingModelBranchTypes) SetKind(v string)

SetKind sets field value

func (*BranchingModelBranchTypes) SetPrefix ¶

func (o *BranchingModelBranchTypes) SetPrefix(v string)

SetPrefix sets field value

func (*BranchingModelBranchTypes) UnmarshalJSON ¶ added in v0.0.3

func (o *BranchingModelBranchTypes) UnmarshalJSON(bytes []byte) (err error)

type BranchingModelDevelopment ¶

type BranchingModelDevelopment struct {
	Branch *Branch `json:"branch,omitempty"`
	// Name of the target branch. Will be listed here even when the target branch does not exist. Will be `null` if targeting the main branch and the repository is empty.
	Name string `json:"name"`
	// Indicates if the setting points at an explicit branch (`false`) or tracks the main branch (`true`).
	UseMainbranch bool `json:"use_mainbranch"`
	// Indicates if the indicated branch exists on the repository (`false`)or not (`true`). This is useful for determining a fallback to the mainbranch when a repository is inheriting its project's branching model.
	BranchDoesNotExist   *bool `json:"branch_does_not_exist,omitempty"`
	AdditionalProperties map[string]interface{}
}

BranchingModelDevelopment struct for BranchingModelDevelopment

func NewBranchingModelDevelopment ¶

func NewBranchingModelDevelopment(name string, useMainbranch bool) *BranchingModelDevelopment

NewBranchingModelDevelopment instantiates a new BranchingModelDevelopment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchingModelDevelopmentWithDefaults ¶

func NewBranchingModelDevelopmentWithDefaults() *BranchingModelDevelopment

NewBranchingModelDevelopmentWithDefaults instantiates a new BranchingModelDevelopment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchingModelDevelopment) GetBranch ¶

func (o *BranchingModelDevelopment) GetBranch() Branch

GetBranch returns the Branch field value if set, zero value otherwise.

func (*BranchingModelDevelopment) GetBranchDoesNotExist ¶

func (o *BranchingModelDevelopment) GetBranchDoesNotExist() bool

GetBranchDoesNotExist returns the BranchDoesNotExist field value if set, zero value otherwise.

func (*BranchingModelDevelopment) GetBranchDoesNotExistOk ¶

func (o *BranchingModelDevelopment) GetBranchDoesNotExistOk() (*bool, bool)

GetBranchDoesNotExistOk returns a tuple with the BranchDoesNotExist field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelDevelopment) GetBranchOk ¶

func (o *BranchingModelDevelopment) GetBranchOk() (*Branch, bool)

GetBranchOk returns a tuple with the Branch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelDevelopment) GetName ¶

func (o *BranchingModelDevelopment) GetName() string

GetName returns the Name field value

func (*BranchingModelDevelopment) GetNameOk ¶

func (o *BranchingModelDevelopment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*BranchingModelDevelopment) GetUseMainbranch ¶

func (o *BranchingModelDevelopment) GetUseMainbranch() bool

GetUseMainbranch returns the UseMainbranch field value

func (*BranchingModelDevelopment) GetUseMainbranchOk ¶

func (o *BranchingModelDevelopment) GetUseMainbranchOk() (*bool, bool)

GetUseMainbranchOk returns a tuple with the UseMainbranch field value and a boolean to check if the value has been set.

func (*BranchingModelDevelopment) HasBranch ¶

func (o *BranchingModelDevelopment) HasBranch() bool

HasBranch returns a boolean if a field has been set.

func (*BranchingModelDevelopment) HasBranchDoesNotExist ¶

func (o *BranchingModelDevelopment) HasBranchDoesNotExist() bool

HasBranchDoesNotExist returns a boolean if a field has been set.

func (BranchingModelDevelopment) MarshalJSON ¶

func (o BranchingModelDevelopment) MarshalJSON() ([]byte, error)

func (*BranchingModelDevelopment) SetBranch ¶

func (o *BranchingModelDevelopment) SetBranch(v Branch)

SetBranch gets a reference to the given Branch and assigns it to the Branch field.

func (*BranchingModelDevelopment) SetBranchDoesNotExist ¶

func (o *BranchingModelDevelopment) SetBranchDoesNotExist(v bool)

SetBranchDoesNotExist gets a reference to the given bool and assigns it to the BranchDoesNotExist field.

func (*BranchingModelDevelopment) SetName ¶

func (o *BranchingModelDevelopment) SetName(v string)

SetName sets field value

func (*BranchingModelDevelopment) SetUseMainbranch ¶

func (o *BranchingModelDevelopment) SetUseMainbranch(v bool)

SetUseMainbranch sets field value

func (*BranchingModelDevelopment) UnmarshalJSON ¶ added in v0.0.3

func (o *BranchingModelDevelopment) UnmarshalJSON(bytes []byte) (err error)

type BranchingModelSettings ¶

type BranchingModelSettings struct {
	Links                *BranchingModelSettingsLinks        `json:"links,omitempty"`
	BranchTypes          []BranchingModelSettingsBranchTypes `json:"branch_types,omitempty"`
	Development          *BranchingModelSettingsDevelopment  `json:"development,omitempty"`
	Production           *BranchingModelSettingsProduction   `json:"production,omitempty"`
	AdditionalProperties map[string]interface{}
}

BranchingModelSettings A repository's branching model settings

func NewBranchingModelSettings ¶

func NewBranchingModelSettings() *BranchingModelSettings

NewBranchingModelSettings instantiates a new BranchingModelSettings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchingModelSettingsWithDefaults ¶

func NewBranchingModelSettingsWithDefaults() *BranchingModelSettings

NewBranchingModelSettingsWithDefaults instantiates a new BranchingModelSettings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchingModelSettings) GetBranchTypes ¶

GetBranchTypes returns the BranchTypes field value if set, zero value otherwise.

func (*BranchingModelSettings) GetBranchTypesOk ¶

GetBranchTypesOk returns a tuple with the BranchTypes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettings) GetDevelopment ¶

GetDevelopment returns the Development field value if set, zero value otherwise.

func (*BranchingModelSettings) GetDevelopmentOk ¶

GetDevelopmentOk returns a tuple with the Development field value if set, nil otherwise and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*BranchingModelSettings) GetLinksOk ¶

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettings) GetProduction ¶

GetProduction returns the Production field value if set, zero value otherwise.

func (*BranchingModelSettings) GetProductionOk ¶

GetProductionOk returns a tuple with the Production field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettings) HasBranchTypes ¶

func (o *BranchingModelSettings) HasBranchTypes() bool

HasBranchTypes returns a boolean if a field has been set.

func (*BranchingModelSettings) HasDevelopment ¶

func (o *BranchingModelSettings) HasDevelopment() bool

HasDevelopment returns a boolean if a field has been set.

func (o *BranchingModelSettings) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*BranchingModelSettings) HasProduction ¶

func (o *BranchingModelSettings) HasProduction() bool

HasProduction returns a boolean if a field has been set.

func (BranchingModelSettings) MarshalJSON ¶

func (o BranchingModelSettings) MarshalJSON() ([]byte, error)

func (*BranchingModelSettings) SetBranchTypes ¶

SetBranchTypes gets a reference to the given []BranchingModelSettingsBranchTypes and assigns it to the BranchTypes field.

func (*BranchingModelSettings) SetDevelopment ¶

SetDevelopment gets a reference to the given BranchingModelSettingsDevelopment and assigns it to the Development field.

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*BranchingModelSettings) SetProduction ¶

SetProduction gets a reference to the given BranchingModelSettingsProduction and assigns it to the Production field.

func (*BranchingModelSettings) UnmarshalJSON ¶ added in v0.0.3

func (o *BranchingModelSettings) UnmarshalJSON(bytes []byte) (err error)

type BranchingModelSettingsBranchTypes ¶

type BranchingModelSettingsBranchTypes struct {
	// Whether the branch type is enabled or not. A disabled branch type may contain an invalid `prefix`.
	Enabled *bool `json:"enabled,omitempty"`
	// The kind of the branch type.
	Kind string `json:"kind"`
	// The prefix for this branch type. A branch with this prefix will be classified as per `kind`. The `prefix` of an enabled branch type must be a valid branch prefix.Additionally, it cannot be blank, empty or `null`. The `prefix` for a disabled branch type can be empty or invalid.
	Prefix               *string `json:"prefix,omitempty"`
	AdditionalProperties map[string]interface{}
}

BranchingModelSettingsBranchTypes struct for BranchingModelSettingsBranchTypes

func NewBranchingModelSettingsBranchTypes ¶

func NewBranchingModelSettingsBranchTypes(kind string) *BranchingModelSettingsBranchTypes

NewBranchingModelSettingsBranchTypes instantiates a new BranchingModelSettingsBranchTypes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchingModelSettingsBranchTypesWithDefaults ¶

func NewBranchingModelSettingsBranchTypesWithDefaults() *BranchingModelSettingsBranchTypes

NewBranchingModelSettingsBranchTypesWithDefaults instantiates a new BranchingModelSettingsBranchTypes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchingModelSettingsBranchTypes) GetEnabled ¶

func (o *BranchingModelSettingsBranchTypes) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*BranchingModelSettingsBranchTypes) GetEnabledOk ¶

func (o *BranchingModelSettingsBranchTypes) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsBranchTypes) GetKind ¶

GetKind returns the Kind field value

func (*BranchingModelSettingsBranchTypes) GetKindOk ¶

func (o *BranchingModelSettingsBranchTypes) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

func (*BranchingModelSettingsBranchTypes) GetPrefix ¶

GetPrefix returns the Prefix field value if set, zero value otherwise.

func (*BranchingModelSettingsBranchTypes) GetPrefixOk ¶

func (o *BranchingModelSettingsBranchTypes) GetPrefixOk() (*string, bool)

GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsBranchTypes) HasEnabled ¶

func (o *BranchingModelSettingsBranchTypes) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*BranchingModelSettingsBranchTypes) HasPrefix ¶

func (o *BranchingModelSettingsBranchTypes) HasPrefix() bool

HasPrefix returns a boolean if a field has been set.

func (BranchingModelSettingsBranchTypes) MarshalJSON ¶

func (o BranchingModelSettingsBranchTypes) MarshalJSON() ([]byte, error)

func (*BranchingModelSettingsBranchTypes) SetEnabled ¶

func (o *BranchingModelSettingsBranchTypes) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*BranchingModelSettingsBranchTypes) SetKind ¶

SetKind sets field value

func (*BranchingModelSettingsBranchTypes) SetPrefix ¶

func (o *BranchingModelSettingsBranchTypes) SetPrefix(v string)

SetPrefix gets a reference to the given string and assigns it to the Prefix field.

func (*BranchingModelSettingsBranchTypes) UnmarshalJSON ¶ added in v0.0.3

func (o *BranchingModelSettingsBranchTypes) UnmarshalJSON(bytes []byte) (err error)

type BranchingModelSettingsDevelopment ¶

type BranchingModelSettingsDevelopment struct {
	// Indicates if the configured branch is valid, that is, if the configured branch actually exists currently. Is always `true` when `use_mainbranch` is `true` (even if the main branch does not exist). This field is read-only. This field is ignored when updating/creating settings.
	IsValid *bool `json:"is_valid,omitempty"`
	// The configured branch. It must be `null` when `use_mainbranch` is `true`. Otherwise it must be a non-empty value. It is possible for the configured branch to not exist (e.g. it was deleted after the settings are set). In this case `is_valid` will be `false`. The branch must exist when updating/setting the `name` or an error will occur.
	Name *string `json:"name,omitempty"`
	// Indicates if the setting points at an explicit branch (`false`) or tracks the main branch (`true`). When `true` the `name` must be `null` or not provided. When `false` the `name` must contain a non-empty branch name.
	UseMainbranch *bool `json:"use_mainbranch,omitempty"`
	// Optional and only returned for a repository's branching model. Indicates ifthe indicated branch exists on the repository (`false`)or not (`true`). This is useful for determining a fallback to the mainbranch when a repository is inheriting its project's branching model.
	BranchDoesNotExist   *bool `json:"branch_does_not_exist,omitempty"`
	AdditionalProperties map[string]interface{}
}

BranchingModelSettingsDevelopment struct for BranchingModelSettingsDevelopment

func NewBranchingModelSettingsDevelopment ¶

func NewBranchingModelSettingsDevelopment() *BranchingModelSettingsDevelopment

NewBranchingModelSettingsDevelopment instantiates a new BranchingModelSettingsDevelopment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchingModelSettingsDevelopmentWithDefaults ¶

func NewBranchingModelSettingsDevelopmentWithDefaults() *BranchingModelSettingsDevelopment

NewBranchingModelSettingsDevelopmentWithDefaults instantiates a new BranchingModelSettingsDevelopment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchingModelSettingsDevelopment) GetBranchDoesNotExist ¶

func (o *BranchingModelSettingsDevelopment) GetBranchDoesNotExist() bool

GetBranchDoesNotExist returns the BranchDoesNotExist field value if set, zero value otherwise.

func (*BranchingModelSettingsDevelopment) GetBranchDoesNotExistOk ¶

func (o *BranchingModelSettingsDevelopment) GetBranchDoesNotExistOk() (*bool, bool)

GetBranchDoesNotExistOk returns a tuple with the BranchDoesNotExist field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsDevelopment) GetIsValid ¶

func (o *BranchingModelSettingsDevelopment) GetIsValid() bool

GetIsValid returns the IsValid field value if set, zero value otherwise.

func (*BranchingModelSettingsDevelopment) GetIsValidOk ¶

func (o *BranchingModelSettingsDevelopment) GetIsValidOk() (*bool, bool)

GetIsValidOk returns a tuple with the IsValid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsDevelopment) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*BranchingModelSettingsDevelopment) GetNameOk ¶

func (o *BranchingModelSettingsDevelopment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsDevelopment) GetUseMainbranch ¶

func (o *BranchingModelSettingsDevelopment) GetUseMainbranch() bool

GetUseMainbranch returns the UseMainbranch field value if set, zero value otherwise.

func (*BranchingModelSettingsDevelopment) GetUseMainbranchOk ¶

func (o *BranchingModelSettingsDevelopment) GetUseMainbranchOk() (*bool, bool)

GetUseMainbranchOk returns a tuple with the UseMainbranch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsDevelopment) HasBranchDoesNotExist ¶

func (o *BranchingModelSettingsDevelopment) HasBranchDoesNotExist() bool

HasBranchDoesNotExist returns a boolean if a field has been set.

func (*BranchingModelSettingsDevelopment) HasIsValid ¶

func (o *BranchingModelSettingsDevelopment) HasIsValid() bool

HasIsValid returns a boolean if a field has been set.

func (*BranchingModelSettingsDevelopment) HasName ¶

HasName returns a boolean if a field has been set.

func (*BranchingModelSettingsDevelopment) HasUseMainbranch ¶

func (o *BranchingModelSettingsDevelopment) HasUseMainbranch() bool

HasUseMainbranch returns a boolean if a field has been set.

func (BranchingModelSettingsDevelopment) MarshalJSON ¶

func (o BranchingModelSettingsDevelopment) MarshalJSON() ([]byte, error)

func (*BranchingModelSettingsDevelopment) SetBranchDoesNotExist ¶

func (o *BranchingModelSettingsDevelopment) SetBranchDoesNotExist(v bool)

SetBranchDoesNotExist gets a reference to the given bool and assigns it to the BranchDoesNotExist field.

func (*BranchingModelSettingsDevelopment) SetIsValid ¶

func (o *BranchingModelSettingsDevelopment) SetIsValid(v bool)

SetIsValid gets a reference to the given bool and assigns it to the IsValid field.

func (*BranchingModelSettingsDevelopment) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*BranchingModelSettingsDevelopment) SetUseMainbranch ¶

func (o *BranchingModelSettingsDevelopment) SetUseMainbranch(v bool)

SetUseMainbranch gets a reference to the given bool and assigns it to the UseMainbranch field.

func (*BranchingModelSettingsDevelopment) UnmarshalJSON ¶ added in v0.0.3

func (o *BranchingModelSettingsDevelopment) UnmarshalJSON(bytes []byte) (err error)
type BranchingModelSettingsLinks struct {
	Self                 *Link `json:"self,omitempty"`
	AdditionalProperties map[string]interface{}
}

BranchingModelSettingsLinks struct for BranchingModelSettingsLinks

func NewBranchingModelSettingsLinks() *BranchingModelSettingsLinks

NewBranchingModelSettingsLinks instantiates a new BranchingModelSettingsLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchingModelSettingsLinksWithDefaults ¶

func NewBranchingModelSettingsLinksWithDefaults() *BranchingModelSettingsLinks

NewBranchingModelSettingsLinksWithDefaults instantiates a new BranchingModelSettingsLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchingModelSettingsLinks) GetSelf ¶

func (o *BranchingModelSettingsLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*BranchingModelSettingsLinks) GetSelfOk ¶

func (o *BranchingModelSettingsLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsLinks) HasSelf ¶

func (o *BranchingModelSettingsLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (BranchingModelSettingsLinks) MarshalJSON ¶

func (o BranchingModelSettingsLinks) MarshalJSON() ([]byte, error)

func (*BranchingModelSettingsLinks) SetSelf ¶

func (o *BranchingModelSettingsLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*BranchingModelSettingsLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *BranchingModelSettingsLinks) UnmarshalJSON(bytes []byte) (err error)

type BranchingModelSettingsProduction ¶

type BranchingModelSettingsProduction struct {
	// Indicates if the configured branch is valid, that is, if the configured branch actually exists currently. Is always `true` when `use_mainbranch` is `true` (even if the main branch does not exist). This field is read-only. This field is ignored when updating/creating settings.
	IsValid *bool `json:"is_valid,omitempty"`
	// The configured branch. It must be `null` when `use_mainbranch` is `true`. Otherwise it must be a non-empty value. It is possible for the configured branch to not exist (e.g. it was deleted after the settings are set). In this case `is_valid` will be `false`. The branch must exist when updating/setting the `name` or an error will occur.
	Name *string `json:"name,omitempty"`
	// Indicates if the setting points at an explicit branch (`false`) or tracks the main branch (`true`). When `true` the `name` must be `null` or not provided. When `false` the `name` must contain a non-empty branch name.
	UseMainbranch *bool `json:"use_mainbranch,omitempty"`
	// Optional and only returned for a repository's branching model. Indicates ifthe indicated branch exists on the repository (`false`)or not (`true`). This is useful for determining a fallback to the mainbranch when a repository is inheriting its project's branching model.
	BranchDoesNotExist *bool `json:"branch_does_not_exist,omitempty"`
	// Indicates if branch is enabled or not.
	Enabled              *bool `json:"enabled,omitempty"`
	AdditionalProperties map[string]interface{}
}

BranchingModelSettingsProduction struct for BranchingModelSettingsProduction

func NewBranchingModelSettingsProduction ¶

func NewBranchingModelSettingsProduction() *BranchingModelSettingsProduction

NewBranchingModelSettingsProduction instantiates a new BranchingModelSettingsProduction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchingModelSettingsProductionWithDefaults ¶

func NewBranchingModelSettingsProductionWithDefaults() *BranchingModelSettingsProduction

NewBranchingModelSettingsProductionWithDefaults instantiates a new BranchingModelSettingsProduction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BranchingModelSettingsProduction) GetBranchDoesNotExist ¶

func (o *BranchingModelSettingsProduction) GetBranchDoesNotExist() bool

GetBranchDoesNotExist returns the BranchDoesNotExist field value if set, zero value otherwise.

func (*BranchingModelSettingsProduction) GetBranchDoesNotExistOk ¶

func (o *BranchingModelSettingsProduction) GetBranchDoesNotExistOk() (*bool, bool)

GetBranchDoesNotExistOk returns a tuple with the BranchDoesNotExist field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsProduction) GetEnabled ¶

func (o *BranchingModelSettingsProduction) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*BranchingModelSettingsProduction) GetEnabledOk ¶

func (o *BranchingModelSettingsProduction) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsProduction) GetIsValid ¶

func (o *BranchingModelSettingsProduction) GetIsValid() bool

GetIsValid returns the IsValid field value if set, zero value otherwise.

func (*BranchingModelSettingsProduction) GetIsValidOk ¶

func (o *BranchingModelSettingsProduction) GetIsValidOk() (*bool, bool)

GetIsValidOk returns a tuple with the IsValid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsProduction) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*BranchingModelSettingsProduction) GetNameOk ¶

func (o *BranchingModelSettingsProduction) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsProduction) GetUseMainbranch ¶

func (o *BranchingModelSettingsProduction) GetUseMainbranch() bool

GetUseMainbranch returns the UseMainbranch field value if set, zero value otherwise.

func (*BranchingModelSettingsProduction) GetUseMainbranchOk ¶

func (o *BranchingModelSettingsProduction) GetUseMainbranchOk() (*bool, bool)

GetUseMainbranchOk returns a tuple with the UseMainbranch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BranchingModelSettingsProduction) HasBranchDoesNotExist ¶

func (o *BranchingModelSettingsProduction) HasBranchDoesNotExist() bool

HasBranchDoesNotExist returns a boolean if a field has been set.

func (*BranchingModelSettingsProduction) HasEnabled ¶

func (o *BranchingModelSettingsProduction) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*BranchingModelSettingsProduction) HasIsValid ¶

func (o *BranchingModelSettingsProduction) HasIsValid() bool

HasIsValid returns a boolean if a field has been set.

func (*BranchingModelSettingsProduction) HasName ¶

HasName returns a boolean if a field has been set.

func (*BranchingModelSettingsProduction) HasUseMainbranch ¶

func (o *BranchingModelSettingsProduction) HasUseMainbranch() bool

HasUseMainbranch returns a boolean if a field has been set.

func (BranchingModelSettingsProduction) MarshalJSON ¶

func (o BranchingModelSettingsProduction) MarshalJSON() ([]byte, error)

func (*BranchingModelSettingsProduction) SetBranchDoesNotExist ¶

func (o *BranchingModelSettingsProduction) SetBranchDoesNotExist(v bool)

SetBranchDoesNotExist gets a reference to the given bool and assigns it to the BranchDoesNotExist field.

func (*BranchingModelSettingsProduction) SetEnabled ¶

func (o *BranchingModelSettingsProduction) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*BranchingModelSettingsProduction) SetIsValid ¶

func (o *BranchingModelSettingsProduction) SetIsValid(v bool)

SetIsValid gets a reference to the given bool and assigns it to the IsValid field.

func (*BranchingModelSettingsProduction) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*BranchingModelSettingsProduction) SetUseMainbranch ¶

func (o *BranchingModelSettingsProduction) SetUseMainbranch(v bool)

SetUseMainbranch gets a reference to the given bool and assigns it to the UseMainbranch field.

func (*BranchingModelSettingsProduction) UnmarshalJSON ¶ added in v0.0.3

func (o *BranchingModelSettingsProduction) UnmarshalJSON(bytes []byte) (err error)

type Branchrestriction ¶

type Branchrestriction struct {
	Object
	Links *BranchingModelSettingsLinks `json:"links,omitempty"`
	// The branch restriction status' id.
	Id *int32 `json:"id,omitempty"`
	// The type of restriction that is being applied.
	Kind string `json:"kind"`
	// Indicates how the restriction is matched against a branch. The default is `glob`.
	BranchMatchKind string `json:"branch_match_kind"`
	// Apply the restriction to branches of this type. Active when `branch_match_kind` is `branching_model`. The branch type will be calculated using the branching model configured for the repository.
	BranchType *string `json:"branch_type,omitempty"`
	// Apply the restriction to branches that match this pattern. Active when `branch_match_kind` is `glob`. Will be empty when `branch_match_kind` is `branching_model`.
	Pattern string    `json:"pattern"`
	Users   []Account `json:"users,omitempty"`
	Groups  []Group   `json:"groups,omitempty"`
	// <staticmethod object at 0x7facec283c90>
	Value                *int32 `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

Branchrestriction struct for Branchrestriction

func NewBranchrestriction ¶

func NewBranchrestriction(kind string, branchMatchKind string, pattern string) *Branchrestriction

NewBranchrestriction instantiates a new Branchrestriction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBranchrestrictionWithDefaults ¶

func NewBranchrestrictionWithDefaults() *Branchrestriction

NewBranchrestrictionWithDefaults instantiates a new Branchrestriction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Branchrestriction) GetBranchMatchKind ¶

func (o *Branchrestriction) GetBranchMatchKind() string

GetBranchMatchKind returns the BranchMatchKind field value

func (*Branchrestriction) GetBranchMatchKindOk ¶

func (o *Branchrestriction) GetBranchMatchKindOk() (*string, bool)

GetBranchMatchKindOk returns a tuple with the BranchMatchKind field value and a boolean to check if the value has been set.

func (*Branchrestriction) GetBranchType ¶

func (o *Branchrestriction) GetBranchType() string

GetBranchType returns the BranchType field value if set, zero value otherwise.

func (*Branchrestriction) GetBranchTypeOk ¶

func (o *Branchrestriction) GetBranchTypeOk() (*string, bool)

GetBranchTypeOk returns a tuple with the BranchType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Branchrestriction) GetGroups ¶

func (o *Branchrestriction) GetGroups() []Group

GetGroups returns the Groups field value if set, zero value otherwise.

func (*Branchrestriction) GetGroupsOk ¶

func (o *Branchrestriction) GetGroupsOk() ([]Group, bool)

GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Branchrestriction) GetId ¶

func (o *Branchrestriction) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Branchrestriction) GetIdOk ¶

func (o *Branchrestriction) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Branchrestriction) GetKind ¶

func (o *Branchrestriction) GetKind() string

GetKind returns the Kind field value

func (*Branchrestriction) GetKindOk ¶

func (o *Branchrestriction) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*Branchrestriction) GetLinksOk ¶

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Branchrestriction) GetPattern ¶

func (o *Branchrestriction) GetPattern() string

GetPattern returns the Pattern field value

func (*Branchrestriction) GetPatternOk ¶

func (o *Branchrestriction) GetPatternOk() (*string, bool)

GetPatternOk returns a tuple with the Pattern field value and a boolean to check if the value has been set.

func (*Branchrestriction) GetUsers ¶

func (o *Branchrestriction) GetUsers() []Account

GetUsers returns the Users field value if set, zero value otherwise.

func (*Branchrestriction) GetUsersOk ¶

func (o *Branchrestriction) GetUsersOk() ([]Account, bool)

GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Branchrestriction) GetValue ¶

func (o *Branchrestriction) GetValue() int32

GetValue returns the Value field value if set, zero value otherwise.

func (*Branchrestriction) GetValueOk ¶

func (o *Branchrestriction) GetValueOk() (*int32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Branchrestriction) HasBranchType ¶

func (o *Branchrestriction) HasBranchType() bool

HasBranchType returns a boolean if a field has been set.

func (*Branchrestriction) HasGroups ¶

func (o *Branchrestriction) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*Branchrestriction) HasId ¶

func (o *Branchrestriction) HasId() bool

HasId returns a boolean if a field has been set.

func (o *Branchrestriction) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Branchrestriction) HasUsers ¶

func (o *Branchrestriction) HasUsers() bool

HasUsers returns a boolean if a field has been set.

func (*Branchrestriction) HasValue ¶

func (o *Branchrestriction) HasValue() bool

HasValue returns a boolean if a field has been set.

func (Branchrestriction) MarshalJSON ¶

func (o Branchrestriction) MarshalJSON() ([]byte, error)

func (*Branchrestriction) SetBranchMatchKind ¶

func (o *Branchrestriction) SetBranchMatchKind(v string)

SetBranchMatchKind sets field value

func (*Branchrestriction) SetBranchType ¶

func (o *Branchrestriction) SetBranchType(v string)

SetBranchType gets a reference to the given string and assigns it to the BranchType field.

func (*Branchrestriction) SetGroups ¶

func (o *Branchrestriction) SetGroups(v []Group)

SetGroups gets a reference to the given []Group and assigns it to the Groups field.

func (*Branchrestriction) SetId ¶

func (o *Branchrestriction) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*Branchrestriction) SetKind ¶

func (o *Branchrestriction) SetKind(v string)

SetKind sets field value

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*Branchrestriction) SetPattern ¶

func (o *Branchrestriction) SetPattern(v string)

SetPattern sets field value

func (*Branchrestriction) SetUsers ¶

func (o *Branchrestriction) SetUsers(v []Account)

SetUsers gets a reference to the given []Account and assigns it to the Users field.

func (*Branchrestriction) SetValue ¶

func (o *Branchrestriction) SetValue(v int32)

SetValue gets a reference to the given int32 and assigns it to the Value field.

func (*Branchrestriction) UnmarshalJSON ¶ added in v0.0.3

func (o *Branchrestriction) UnmarshalJSON(bytes []byte) (err error)

type Comment ¶

type Comment struct {
	Id                   *int32                          `json:"id,omitempty"`
	CreatedOn            *time.Time                      `json:"created_on,omitempty"`
	UpdatedOn            *time.Time                      `json:"updated_on,omitempty"`
	Content              *RenderedPullRequestMarkupTitle `json:"content,omitempty"`
	User                 *User                           `json:"user,omitempty"`
	Deleted              *bool                           `json:"deleted,omitempty"`
	Parent               *Comment                        `json:"parent,omitempty"`
	Inline               *CommentInline                  `json:"inline,omitempty"`
	Links                *CommentLinks                   `json:"links,omitempty"`
	AdditionalProperties map[string]interface{}
}

Comment The base type for all comments. This type should be considered abstract. Each of the \"commentable\" resources defines its own subtypes (e.g. `issue_comment`).

func NewComment ¶

func NewComment() *Comment

NewComment instantiates a new Comment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommentWithDefaults ¶

func NewCommentWithDefaults() *Comment

NewCommentWithDefaults instantiates a new Comment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Comment) GetContent ¶

func (o *Comment) GetContent() RenderedPullRequestMarkupTitle

GetContent returns the Content field value if set, zero value otherwise.

func (*Comment) GetContentOk ¶

func (o *Comment) GetContentOk() (*RenderedPullRequestMarkupTitle, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetCreatedOn ¶

func (o *Comment) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Comment) GetCreatedOnOk ¶

func (o *Comment) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetDeleted ¶

func (o *Comment) GetDeleted() bool

GetDeleted returns the Deleted field value if set, zero value otherwise.

func (*Comment) GetDeletedOk ¶

func (o *Comment) GetDeletedOk() (*bool, bool)

GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetId ¶

func (o *Comment) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Comment) GetIdOk ¶

func (o *Comment) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetInline ¶

func (o *Comment) GetInline() CommentInline

GetInline returns the Inline field value if set, zero value otherwise.

func (*Comment) GetInlineOk ¶

func (o *Comment) GetInlineOk() (*CommentInline, bool)

GetInlineOk returns a tuple with the Inline field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Comment) GetLinks() CommentLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Comment) GetLinksOk ¶

func (o *Comment) GetLinksOk() (*CommentLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetParent ¶

func (o *Comment) GetParent() Comment

GetParent returns the Parent field value if set, zero value otherwise.

func (*Comment) GetParentOk ¶

func (o *Comment) GetParentOk() (*Comment, bool)

GetParentOk returns a tuple with the Parent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetUpdatedOn ¶

func (o *Comment) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*Comment) GetUpdatedOnOk ¶

func (o *Comment) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) GetUser ¶

func (o *Comment) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*Comment) GetUserOk ¶

func (o *Comment) GetUserOk() (*User, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Comment) HasContent ¶

func (o *Comment) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*Comment) HasCreatedOn ¶

func (o *Comment) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Comment) HasDeleted ¶

func (o *Comment) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*Comment) HasId ¶

func (o *Comment) HasId() bool

HasId returns a boolean if a field has been set.

func (*Comment) HasInline ¶

func (o *Comment) HasInline() bool

HasInline returns a boolean if a field has been set.

func (o *Comment) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Comment) HasParent ¶

func (o *Comment) HasParent() bool

HasParent returns a boolean if a field has been set.

func (*Comment) HasUpdatedOn ¶

func (o *Comment) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*Comment) HasUser ¶

func (o *Comment) HasUser() bool

HasUser returns a boolean if a field has been set.

func (Comment) MarshalJSON ¶

func (o Comment) MarshalJSON() ([]byte, error)

func (*Comment) SetContent ¶

func (o *Comment) SetContent(v RenderedPullRequestMarkupTitle)

SetContent gets a reference to the given RenderedPullRequestMarkupTitle and assigns it to the Content field.

func (*Comment) SetCreatedOn ¶

func (o *Comment) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Comment) SetDeleted ¶

func (o *Comment) SetDeleted(v bool)

SetDeleted gets a reference to the given bool and assigns it to the Deleted field.

func (*Comment) SetId ¶

func (o *Comment) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*Comment) SetInline ¶

func (o *Comment) SetInline(v CommentInline)

SetInline gets a reference to the given CommentInline and assigns it to the Inline field.

func (o *Comment) SetLinks(v CommentLinks)

SetLinks gets a reference to the given CommentLinks and assigns it to the Links field.

func (*Comment) SetParent ¶

func (o *Comment) SetParent(v Comment)

SetParent gets a reference to the given Comment and assigns it to the Parent field.

func (*Comment) SetUpdatedOn ¶

func (o *Comment) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*Comment) SetUser ¶

func (o *Comment) SetUser(v User)

SetUser gets a reference to the given User and assigns it to the User field.

func (*Comment) UnmarshalJSON ¶ added in v0.0.3

func (o *Comment) UnmarshalJSON(bytes []byte) (err error)

type CommentInline ¶

type CommentInline struct {
	// The comment's anchor line in the new version of the file. If the 'from' line is also provided, this value will be removed.
	To *int32 `json:"to,omitempty"`
	// The comment's anchor line in the old version of the file.
	From *int32 `json:"from,omitempty"`
	// The path of the file this comment is anchored to.
	Path                 string `json:"path"`
	AdditionalProperties map[string]interface{}
}

CommentInline struct for CommentInline

func NewCommentInline ¶

func NewCommentInline(path string) *CommentInline

NewCommentInline instantiates a new CommentInline object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommentInlineWithDefaults ¶

func NewCommentInlineWithDefaults() *CommentInline

NewCommentInlineWithDefaults instantiates a new CommentInline object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CommentInline) GetFrom ¶

func (o *CommentInline) GetFrom() int32

GetFrom returns the From field value if set, zero value otherwise.

func (*CommentInline) GetFromOk ¶

func (o *CommentInline) GetFromOk() (*int32, bool)

GetFromOk returns a tuple with the From field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommentInline) GetPath ¶

func (o *CommentInline) GetPath() string

GetPath returns the Path field value

func (*CommentInline) GetPathOk ¶

func (o *CommentInline) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*CommentInline) GetTo ¶

func (o *CommentInline) GetTo() int32

GetTo returns the To field value if set, zero value otherwise.

func (*CommentInline) GetToOk ¶

func (o *CommentInline) GetToOk() (*int32, bool)

GetToOk returns a tuple with the To field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommentInline) HasFrom ¶

func (o *CommentInline) HasFrom() bool

HasFrom returns a boolean if a field has been set.

func (*CommentInline) HasTo ¶

func (o *CommentInline) HasTo() bool

HasTo returns a boolean if a field has been set.

func (CommentInline) MarshalJSON ¶

func (o CommentInline) MarshalJSON() ([]byte, error)

func (*CommentInline) SetFrom ¶

func (o *CommentInline) SetFrom(v int32)

SetFrom gets a reference to the given int32 and assigns it to the From field.

func (*CommentInline) SetPath ¶

func (o *CommentInline) SetPath(v string)

SetPath sets field value

func (*CommentInline) SetTo ¶

func (o *CommentInline) SetTo(v int32)

SetTo gets a reference to the given int32 and assigns it to the To field.

func (*CommentInline) UnmarshalJSON ¶ added in v0.0.3

func (o *CommentInline) UnmarshalJSON(bytes []byte) (err error)
type CommentLinks struct {
	Self                 *Link `json:"self,omitempty"`
	Html                 *Link `json:"html,omitempty"`
	Code                 *Link `json:"code,omitempty"`
	AdditionalProperties map[string]interface{}
}

CommentLinks struct for CommentLinks

func NewCommentLinks() *CommentLinks

NewCommentLinks instantiates a new CommentLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommentLinksWithDefaults ¶

func NewCommentLinksWithDefaults() *CommentLinks

NewCommentLinksWithDefaults instantiates a new CommentLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CommentLinks) GetCode ¶

func (o *CommentLinks) GetCode() Link

GetCode returns the Code field value if set, zero value otherwise.

func (*CommentLinks) GetCodeOk ¶

func (o *CommentLinks) GetCodeOk() (*Link, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommentLinks) GetHtml ¶

func (o *CommentLinks) GetHtml() Link

GetHtml returns the Html field value if set, zero value otherwise.

func (*CommentLinks) GetHtmlOk ¶

func (o *CommentLinks) GetHtmlOk() (*Link, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommentLinks) GetSelf ¶

func (o *CommentLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*CommentLinks) GetSelfOk ¶

func (o *CommentLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommentLinks) HasCode ¶

func (o *CommentLinks) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*CommentLinks) HasHtml ¶

func (o *CommentLinks) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (*CommentLinks) HasSelf ¶

func (o *CommentLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (CommentLinks) MarshalJSON ¶

func (o CommentLinks) MarshalJSON() ([]byte, error)

func (*CommentLinks) SetCode ¶

func (o *CommentLinks) SetCode(v Link)

SetCode gets a reference to the given Link and assigns it to the Code field.

func (*CommentLinks) SetHtml ¶

func (o *CommentLinks) SetHtml(v Link)

SetHtml gets a reference to the given Link and assigns it to the Html field.

func (*CommentLinks) SetSelf ¶

func (o *CommentLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*CommentLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *CommentLinks) UnmarshalJSON(bytes []byte) (err error)

type Commit ¶

type Commit struct {
	Repository           *Repository   `json:"repository,omitempty"`
	Participants         []Participant `json:"participants,omitempty"`
	AdditionalProperties map[string]interface{}
}

Commit A repository commit object.

func NewCommit ¶

func NewCommit() *Commit

NewCommit instantiates a new Commit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommitWithDefaults ¶

func NewCommitWithDefaults() *Commit

NewCommitWithDefaults instantiates a new Commit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Commit) GetParticipants ¶

func (o *Commit) GetParticipants() []Participant

GetParticipants returns the Participants field value if set, zero value otherwise.

func (*Commit) GetParticipantsOk ¶

func (o *Commit) GetParticipantsOk() ([]Participant, bool)

GetParticipantsOk returns a tuple with the Participants field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commit) GetRepository ¶

func (o *Commit) GetRepository() Repository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*Commit) GetRepositoryOk ¶

func (o *Commit) GetRepositoryOk() (*Repository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commit) HasParticipants ¶

func (o *Commit) HasParticipants() bool

HasParticipants returns a boolean if a field has been set.

func (*Commit) HasRepository ¶

func (o *Commit) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (Commit) MarshalJSON ¶

func (o Commit) MarshalJSON() ([]byte, error)

func (*Commit) SetParticipants ¶

func (o *Commit) SetParticipants(v []Participant)

SetParticipants gets a reference to the given []Participant and assigns it to the Participants field.

func (*Commit) SetRepository ¶

func (o *Commit) SetRepository(v Repository)

SetRepository gets a reference to the given Repository and assigns it to the Repository field.

func (*Commit) UnmarshalJSON ¶ added in v0.0.3

func (o *Commit) UnmarshalJSON(bytes []byte) (err error)

type CommitComment ¶

type CommitComment struct {
	Commit               *Commit `json:"commit,omitempty"`
	AdditionalProperties map[string]interface{}
}

CommitComment A commit comment.

func NewCommitComment ¶

func NewCommitComment() *CommitComment

NewCommitComment instantiates a new CommitComment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommitCommentWithDefaults ¶

func NewCommitCommentWithDefaults() *CommitComment

NewCommitCommentWithDefaults instantiates a new CommitComment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CommitComment) GetCommit ¶

func (o *CommitComment) GetCommit() Commit

GetCommit returns the Commit field value if set, zero value otherwise.

func (*CommitComment) GetCommitOk ¶

func (o *CommitComment) GetCommitOk() (*Commit, bool)

GetCommitOk returns a tuple with the Commit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitComment) HasCommit ¶

func (o *CommitComment) HasCommit() bool

HasCommit returns a boolean if a field has been set.

func (CommitComment) MarshalJSON ¶

func (o CommitComment) MarshalJSON() ([]byte, error)

func (*CommitComment) SetCommit ¶

func (o *CommitComment) SetCommit(v Commit)

SetCommit gets a reference to the given Commit and assigns it to the Commit field.

func (*CommitComment) UnmarshalJSON ¶ added in v0.0.3

func (o *CommitComment) UnmarshalJSON(bytes []byte) (err error)

type CommitFile ¶

type CommitFile struct {
	Type string `json:"type"`
	// The path in the repository
	Path       *string `json:"path,omitempty"`
	Commit     *Commit `json:"commit,omitempty"`
	Attributes *string `json:"attributes,omitempty"`
	// The escaped version of the path as it appears in a diff. If the path does not require escaping this will be the same as path.
	EscapedPath          *string `json:"escaped_path,omitempty"`
	AdditionalProperties map[string]interface{}
}

CommitFile A file object, representing a file at a commit in a repository

func NewCommitFile ¶

func NewCommitFile() *CommitFile

NewCommitFile instantiates a new CommitFile object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommitFileWithDefaults ¶

func NewCommitFileWithDefaults() *CommitFile

NewCommitFileWithDefaults instantiates a new CommitFile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CommitFile) GetAttributes ¶

func (o *CommitFile) GetAttributes() string

GetAttributes returns the Attributes field value if set, zero value otherwise.

func (*CommitFile) GetAttributesOk ¶

func (o *CommitFile) GetAttributesOk() (*string, bool)

GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitFile) GetCommit ¶

func (o *CommitFile) GetCommit() Commit

GetCommit returns the Commit field value if set, zero value otherwise.

func (*CommitFile) GetCommitOk ¶

func (o *CommitFile) GetCommitOk() (*Commit, bool)

GetCommitOk returns a tuple with the Commit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitFile) GetEscapedPath ¶

func (o *CommitFile) GetEscapedPath() string

GetEscapedPath returns the EscapedPath field value if set, zero value otherwise.

func (*CommitFile) GetEscapedPathOk ¶

func (o *CommitFile) GetEscapedPathOk() (*string, bool)

GetEscapedPathOk returns a tuple with the EscapedPath field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitFile) GetPath ¶

func (o *CommitFile) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*CommitFile) GetPathOk ¶

func (o *CommitFile) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitFile) GetType ¶

func (o *CommitFile) GetType() string

GetType returns the Type field value

func (*CommitFile) GetTypeOk ¶

func (o *CommitFile) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*CommitFile) HasAttributes ¶

func (o *CommitFile) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

func (*CommitFile) HasCommit ¶

func (o *CommitFile) HasCommit() bool

HasCommit returns a boolean if a field has been set.

func (*CommitFile) HasEscapedPath ¶

func (o *CommitFile) HasEscapedPath() bool

HasEscapedPath returns a boolean if a field has been set.

func (*CommitFile) HasPath ¶

func (o *CommitFile) HasPath() bool

HasPath returns a boolean if a field has been set.

func (CommitFile) MarshalJSON ¶

func (o CommitFile) MarshalJSON() ([]byte, error)

func (*CommitFile) SetAttributes ¶

func (o *CommitFile) SetAttributes(v string)

SetAttributes gets a reference to the given string and assigns it to the Attributes field.

func (*CommitFile) SetCommit ¶

func (o *CommitFile) SetCommit(v Commit)

SetCommit gets a reference to the given Commit and assigns it to the Commit field.

func (*CommitFile) SetEscapedPath ¶

func (o *CommitFile) SetEscapedPath(v string)

SetEscapedPath gets a reference to the given string and assigns it to the EscapedPath field.

func (*CommitFile) SetPath ¶

func (o *CommitFile) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*CommitFile) SetType ¶

func (o *CommitFile) SetType(v string)

SetType sets field value

func (*CommitFile) UnmarshalJSON ¶ added in v0.0.3

func (o *CommitFile) UnmarshalJSON(bytes []byte) (err error)

type CommitReport ¶

type CommitReport struct {
	// The UUID that can be used to identify the report.
	Uuid *string `json:"uuid,omitempty"`
	// The title of the report.
	Title *string `json:"title,omitempty"`
	// A string to describe the purpose of the report.
	Details *string `json:"details,omitempty"`
	// ID of the report provided by the report creator. It can be used to identify the report as an alternative to it's generated uuid. It is not used by Bitbucket, but only by the report creator for updating or deleting this specific report. Needs to be unique.
	ExternalId *string `json:"external_id,omitempty"`
	// A string to describe the tool or company who created the report.
	Reporter *string `json:"reporter,omitempty"`
	// A URL linking to the results of the report in an external tool.
	Link *string `json:"link,omitempty"`
	// If enabled, a remote link is created in Jira for the issue associated with the commit the report belongs to.
	RemoteLinkEnabled *bool `json:"remote_link_enabled,omitempty"`
	// A URL to the report logo. If none is provided, the default insights logo will be used.
	LogoUrl *string `json:"logo_url,omitempty"`
	// The type of the report.
	ReportType *string `json:"report_type,omitempty"`
	// The state of the report. May be set to PENDING and later updated.
	Result *string `json:"result,omitempty"`
	// An array of data fields to display information on the report. Maximum 10.
	Data []ReportData `json:"data,omitempty"`
	// The timestamp when the report was created.
	CreatedOn *time.Time `json:"created_on,omitempty"`
	// The timestamp when the report was updated.
	UpdatedOn            *time.Time `json:"updated_on,omitempty"`
	AdditionalProperties map[string]interface{}
}

CommitReport A report for a commit.

func NewCommitReport ¶

func NewCommitReport() *CommitReport

NewCommitReport instantiates a new CommitReport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommitReportWithDefaults ¶

func NewCommitReportWithDefaults() *CommitReport

NewCommitReportWithDefaults instantiates a new CommitReport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CommitReport) GetCreatedOn ¶

func (o *CommitReport) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*CommitReport) GetCreatedOnOk ¶

func (o *CommitReport) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetData ¶

func (o *CommitReport) GetData() []ReportData

GetData returns the Data field value if set, zero value otherwise.

func (*CommitReport) GetDataOk ¶

func (o *CommitReport) GetDataOk() ([]ReportData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetDetails ¶

func (o *CommitReport) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*CommitReport) GetDetailsOk ¶

func (o *CommitReport) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetExternalId ¶

func (o *CommitReport) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*CommitReport) GetExternalIdOk ¶

func (o *CommitReport) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CommitReport) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*CommitReport) GetLinkOk ¶

func (o *CommitReport) GetLinkOk() (*string, bool)

GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetLogoUrl ¶

func (o *CommitReport) GetLogoUrl() string

GetLogoUrl returns the LogoUrl field value if set, zero value otherwise.

func (*CommitReport) GetLogoUrlOk ¶

func (o *CommitReport) GetLogoUrlOk() (*string, bool)

GetLogoUrlOk returns a tuple with the LogoUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetRemoteLinkEnabled ¶

func (o *CommitReport) GetRemoteLinkEnabled() bool

GetRemoteLinkEnabled returns the RemoteLinkEnabled field value if set, zero value otherwise.

func (*CommitReport) GetRemoteLinkEnabledOk ¶

func (o *CommitReport) GetRemoteLinkEnabledOk() (*bool, bool)

GetRemoteLinkEnabledOk returns a tuple with the RemoteLinkEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetReportType ¶

func (o *CommitReport) GetReportType() string

GetReportType returns the ReportType field value if set, zero value otherwise.

func (*CommitReport) GetReportTypeOk ¶

func (o *CommitReport) GetReportTypeOk() (*string, bool)

GetReportTypeOk returns a tuple with the ReportType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetReporter ¶

func (o *CommitReport) GetReporter() string

GetReporter returns the Reporter field value if set, zero value otherwise.

func (*CommitReport) GetReporterOk ¶

func (o *CommitReport) GetReporterOk() (*string, bool)

GetReporterOk returns a tuple with the Reporter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetResult ¶

func (o *CommitReport) GetResult() string

GetResult returns the Result field value if set, zero value otherwise.

func (*CommitReport) GetResultOk ¶

func (o *CommitReport) GetResultOk() (*string, bool)

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetTitle ¶

func (o *CommitReport) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*CommitReport) GetTitleOk ¶

func (o *CommitReport) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetUpdatedOn ¶

func (o *CommitReport) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*CommitReport) GetUpdatedOnOk ¶

func (o *CommitReport) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) GetUuid ¶

func (o *CommitReport) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*CommitReport) GetUuidOk ¶

func (o *CommitReport) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitReport) HasCreatedOn ¶

func (o *CommitReport) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*CommitReport) HasData ¶

func (o *CommitReport) HasData() bool

HasData returns a boolean if a field has been set.

func (*CommitReport) HasDetails ¶

func (o *CommitReport) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*CommitReport) HasExternalId ¶

func (o *CommitReport) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (o *CommitReport) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*CommitReport) HasLogoUrl ¶

func (o *CommitReport) HasLogoUrl() bool

HasLogoUrl returns a boolean if a field has been set.

func (*CommitReport) HasRemoteLinkEnabled ¶

func (o *CommitReport) HasRemoteLinkEnabled() bool

HasRemoteLinkEnabled returns a boolean if a field has been set.

func (*CommitReport) HasReportType ¶

func (o *CommitReport) HasReportType() bool

HasReportType returns a boolean if a field has been set.

func (*CommitReport) HasReporter ¶

func (o *CommitReport) HasReporter() bool

HasReporter returns a boolean if a field has been set.

func (*CommitReport) HasResult ¶

func (o *CommitReport) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*CommitReport) HasTitle ¶

func (o *CommitReport) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*CommitReport) HasUpdatedOn ¶

func (o *CommitReport) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*CommitReport) HasUuid ¶

func (o *CommitReport) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (CommitReport) MarshalJSON ¶

func (o CommitReport) MarshalJSON() ([]byte, error)

func (*CommitReport) SetCreatedOn ¶

func (o *CommitReport) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*CommitReport) SetData ¶

func (o *CommitReport) SetData(v []ReportData)

SetData gets a reference to the given []ReportData and assigns it to the Data field.

func (*CommitReport) SetDetails ¶

func (o *CommitReport) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*CommitReport) SetExternalId ¶

func (o *CommitReport) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (o *CommitReport) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

func (*CommitReport) SetLogoUrl ¶

func (o *CommitReport) SetLogoUrl(v string)

SetLogoUrl gets a reference to the given string and assigns it to the LogoUrl field.

func (*CommitReport) SetRemoteLinkEnabled ¶

func (o *CommitReport) SetRemoteLinkEnabled(v bool)

SetRemoteLinkEnabled gets a reference to the given bool and assigns it to the RemoteLinkEnabled field.

func (*CommitReport) SetReportType ¶

func (o *CommitReport) SetReportType(v string)

SetReportType gets a reference to the given string and assigns it to the ReportType field.

func (*CommitReport) SetReporter ¶

func (o *CommitReport) SetReporter(v string)

SetReporter gets a reference to the given string and assigns it to the Reporter field.

func (*CommitReport) SetResult ¶

func (o *CommitReport) SetResult(v string)

SetResult gets a reference to the given string and assigns it to the Result field.

func (*CommitReport) SetTitle ¶

func (o *CommitReport) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*CommitReport) SetUpdatedOn ¶

func (o *CommitReport) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*CommitReport) SetUuid ¶

func (o *CommitReport) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*CommitReport) UnmarshalJSON ¶ added in v0.0.3

func (o *CommitReport) UnmarshalJSON(bytes []byte) (err error)

type CommitStatus ¶

type CommitStatus struct {
	Links *CommitStatusLinks `json:"links,omitempty"`
	// The commit status' id.
	Uuid *string `json:"uuid,omitempty"`
	// An identifier for the status that's unique to         its type (current \"build\" is the only supported type) and the vendor,         e.g. BB-DEPLOY
	Key *string `json:"key,omitempty"`
	//  The name of the ref that pointed to this commit at the time the status object was created. Note that this the ref may since have moved off of the commit. This optional field can be useful for build systems whose build triggers and configuration are branch-dependent (e.g. a Pipeline build). It is legitimate for this field to not be set, or even apply (e.g. a static linting job).
	Refname *string `json:"refname,omitempty"`
	// A URL linking back to the vendor or build system, for providing more information about whatever process produced this status. Accepts context variables `repository` and `commit` that Bitbucket will evaluate at runtime whenever at runtime. For example, one could use https://foo.com/builds/{repository.full_name} which Bitbucket will turn into https://foo.com/builds/foo/bar at render time.
	Url *string `json:"url,omitempty"`
	// Provides some indication of the status of this commit
	State *string `json:"state,omitempty"`
	// An identifier for the build itself, e.g. BB-DEPLOY-1
	Name *string `json:"name,omitempty"`
	// A description of the build (e.g. \"Unit tests in Bamboo\")
	Description          *string    `json:"description,omitempty"`
	CreatedOn            *time.Time `json:"created_on,omitempty"`
	UpdatedOn            *time.Time `json:"updated_on,omitempty"`
	AdditionalProperties map[string]interface{}
}

CommitStatus A commit status object.

func NewCommitStatus ¶

func NewCommitStatus() *CommitStatus

NewCommitStatus instantiates a new CommitStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommitStatusWithDefaults ¶

func NewCommitStatusWithDefaults() *CommitStatus

NewCommitStatusWithDefaults instantiates a new CommitStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CommitStatus) GetCreatedOn ¶

func (o *CommitStatus) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*CommitStatus) GetCreatedOnOk ¶

func (o *CommitStatus) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatus) GetDescription ¶

func (o *CommitStatus) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*CommitStatus) GetDescriptionOk ¶

func (o *CommitStatus) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatus) GetKey ¶

func (o *CommitStatus) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*CommitStatus) GetKeyOk ¶

func (o *CommitStatus) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *CommitStatus) GetLinks() CommitStatusLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*CommitStatus) GetLinksOk ¶

func (o *CommitStatus) GetLinksOk() (*CommitStatusLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatus) GetName ¶

func (o *CommitStatus) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*CommitStatus) GetNameOk ¶

func (o *CommitStatus) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatus) GetRefname ¶

func (o *CommitStatus) GetRefname() string

GetRefname returns the Refname field value if set, zero value otherwise.

func (*CommitStatus) GetRefnameOk ¶

func (o *CommitStatus) GetRefnameOk() (*string, bool)

GetRefnameOk returns a tuple with the Refname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatus) GetState ¶

func (o *CommitStatus) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*CommitStatus) GetStateOk ¶

func (o *CommitStatus) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatus) GetUpdatedOn ¶

func (o *CommitStatus) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*CommitStatus) GetUpdatedOnOk ¶

func (o *CommitStatus) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatus) GetUrl ¶

func (o *CommitStatus) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*CommitStatus) GetUrlOk ¶

func (o *CommitStatus) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatus) GetUuid ¶

func (o *CommitStatus) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*CommitStatus) GetUuidOk ¶

func (o *CommitStatus) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatus) HasCreatedOn ¶

func (o *CommitStatus) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*CommitStatus) HasDescription ¶

func (o *CommitStatus) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CommitStatus) HasKey ¶

func (o *CommitStatus) HasKey() bool

HasKey returns a boolean if a field has been set.

func (o *CommitStatus) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*CommitStatus) HasName ¶

func (o *CommitStatus) HasName() bool

HasName returns a boolean if a field has been set.

func (*CommitStatus) HasRefname ¶

func (o *CommitStatus) HasRefname() bool

HasRefname returns a boolean if a field has been set.

func (*CommitStatus) HasState ¶

func (o *CommitStatus) HasState() bool

HasState returns a boolean if a field has been set.

func (*CommitStatus) HasUpdatedOn ¶

func (o *CommitStatus) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*CommitStatus) HasUrl ¶

func (o *CommitStatus) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*CommitStatus) HasUuid ¶

func (o *CommitStatus) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (CommitStatus) MarshalJSON ¶

func (o CommitStatus) MarshalJSON() ([]byte, error)

func (*CommitStatus) SetCreatedOn ¶

func (o *CommitStatus) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*CommitStatus) SetDescription ¶

func (o *CommitStatus) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*CommitStatus) SetKey ¶

func (o *CommitStatus) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (o *CommitStatus) SetLinks(v CommitStatusLinks)

SetLinks gets a reference to the given CommitStatusLinks and assigns it to the Links field.

func (*CommitStatus) SetName ¶

func (o *CommitStatus) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*CommitStatus) SetRefname ¶

func (o *CommitStatus) SetRefname(v string)

SetRefname gets a reference to the given string and assigns it to the Refname field.

func (*CommitStatus) SetState ¶

func (o *CommitStatus) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*CommitStatus) SetUpdatedOn ¶

func (o *CommitStatus) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*CommitStatus) SetUrl ¶

func (o *CommitStatus) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*CommitStatus) SetUuid ¶

func (o *CommitStatus) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*CommitStatus) UnmarshalJSON ¶ added in v0.0.3

func (o *CommitStatus) UnmarshalJSON(bytes []byte) (err error)
type CommitStatusLinks struct {
	Self                 *Link `json:"self,omitempty"`
	Commit               *Link `json:"commit,omitempty"`
	AdditionalProperties map[string]interface{}
}

CommitStatusLinks struct for CommitStatusLinks

func NewCommitStatusLinks() *CommitStatusLinks

NewCommitStatusLinks instantiates a new CommitStatusLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommitStatusLinksWithDefaults ¶

func NewCommitStatusLinksWithDefaults() *CommitStatusLinks

NewCommitStatusLinksWithDefaults instantiates a new CommitStatusLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*CommitStatusLinks) GetCommit ¶

func (o *CommitStatusLinks) GetCommit() Link

GetCommit returns the Commit field value if set, zero value otherwise.

func (*CommitStatusLinks) GetCommitOk ¶

func (o *CommitStatusLinks) GetCommitOk() (*Link, bool)

GetCommitOk returns a tuple with the Commit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatusLinks) GetSelf ¶

func (o *CommitStatusLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*CommitStatusLinks) GetSelfOk ¶

func (o *CommitStatusLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CommitStatusLinks) HasCommit ¶

func (o *CommitStatusLinks) HasCommit() bool

HasCommit returns a boolean if a field has been set.

func (*CommitStatusLinks) HasSelf ¶

func (o *CommitStatusLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (CommitStatusLinks) MarshalJSON ¶

func (o CommitStatusLinks) MarshalJSON() ([]byte, error)

func (*CommitStatusLinks) SetCommit ¶

func (o *CommitStatusLinks) SetCommit(v Link)

SetCommit gets a reference to the given Link and assigns it to the Commit field.

func (*CommitStatusLinks) SetSelf ¶

func (o *CommitStatusLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*CommitStatusLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *CommitStatusLinks) UnmarshalJSON(bytes []byte) (err error)

type CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGetRequest ¶

type CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGetRequest struct {
	ApiService *CommitStatusesApiService
	// contains filtered or unexported fields
}

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGetRequest) Execute ¶

type CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPutRequest ¶

type CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPutRequest struct {
	ApiService *CommitStatusesApiService
	// contains filtered or unexported fields
}

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPutRequest) Body ¶

The updated build status object

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPutRequest) Execute ¶

type CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPostRequest ¶

type CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPostRequest struct {
	ApiService *CommitStatusesApiService
	// contains filtered or unexported fields
}

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPostRequest) Body ¶

The new commit status object.

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPostRequest) Execute ¶

type CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesGetRequest ¶

type CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesGetRequest struct {
	ApiService *CommitStatusesApiService
	// contains filtered or unexported fields
}

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesGetRequest) Execute ¶

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesGetRequest) Sort ¶

Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). Defaults to &#x60;created_on&#x60;.

type CommitStatusesApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest ¶

type CommitStatusesApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest struct {
	ApiService *CommitStatusesApiService
	// contains filtered or unexported fields
}

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest) Execute ¶

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (CommitStatusesApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest) Sort ¶

Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). Defaults to &#x60;created_on&#x60;.

type CommitStatusesApiService ¶

type CommitStatusesApiService service

CommitStatusesApiService CommitStatusesApi service

func (*CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGet ¶

func (a *CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGet(ctx context.Context, commit string, key string, repoSlug string, workspace string) CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGetRequest

RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGet Get a build status for a commit

Returns the specified build status for a commit.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param key The build status' unique key
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGetRequest

func (*CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGetExecute ¶

func (a *CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGetExecute(r CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGetRequest) (*Commitstatus, *http.Response, error)

Execute executes the request

@return Commitstatus

func (*CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPut ¶

func (a *CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPut(ctx context.Context, commit string, key string, repoSlug string, workspace string) CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPutRequest

RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPut Update a build status for a commit

Used to update the current status of a build status object on the specific commit.

This operation can also be used to change other properties of the build status:

* `state` * `name` * `description` * `url` * `refname`

The `key` cannot be changed.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param key The build status' unique key
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPutRequest

func (*CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPutExecute ¶

func (a *CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPutExecute(r CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPutRequest) (*Commitstatus, *http.Response, error)

Execute executes the request

@return Commitstatus

func (*CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPost ¶

func (a *CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPost(ctx context.Context, commit string, repoSlug string, workspace string) CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPostRequest

RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPost Create a build status for a commit

Creates a new build status against the specified commit.

If the specified key already exists, the existing status object will be overwritten.

Example:

```

curl https://api.bitbucket.org/2.0/repositories/my-workspace/my-repo/commit/e10dae226959c2194f2b07b077c07762d93821cf/statuses/build/           -X POST -u jdoe -H 'Content-Type: application/json'           -d '{
    "key": "MY-BUILD",
    "state": "SUCCESSFUL",
    "description": "42 tests passed",
    "url": "https://www.example.org/my-build-result"
  }'

```

When creating a new commit status, you can use a URI template for the URL. Templates are URLs that contain variable names that Bitbucket will evaluate at runtime whenever the URL is displayed anywhere similar to parameter substitution in [Bitbucket Connect](https://developer.atlassian.com/bitbucket/concepts/context-parameters.html). For example, one could use `https://foo.com/builds/{repository.full_name}` which Bitbucket will turn into `https://foo.com/builds/foo/bar` at render time. The context variables available are `repository` and `commit`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPostRequest

func (*CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPostExecute ¶

func (a *CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPostExecute(r CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPostRequest) (*Commitstatus, *http.Response, error)

Execute executes the request

@return Commitstatus

func (*CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesGet ¶

func (a *CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesGet(ctx context.Context, commit string, repoSlug string, workspace string) CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesGetRequest

RepositoriesWorkspaceRepoSlugCommitCommitStatusesGet List commit statuses for a commit

Returns all statuses (e.g. build results) for a specific commit.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitStatusesApiRepositoriesWorkspaceRepoSlugCommitCommitStatusesGetRequest

func (*CommitStatusesApiService) RepositoriesWorkspaceRepoSlugCommitCommitStatusesGetExecute ¶

Execute executes the request

@return PaginatedCommitstatuses

func (*CommitStatusesApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGet ¶

func (a *CommitStatusesApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGet(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) CommitStatusesApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGet List commit statuses for a pull request

Returns all statuses (e.g. build results) for the given pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitStatusesApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest

func (*CommitStatusesApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetExecute ¶

Execute executes the request

@return PaginatedCommitstatuses

type CommitsApiBulkCreateOrUpdateAnnotationsRequest ¶

type CommitsApiBulkCreateOrUpdateAnnotationsRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiBulkCreateOrUpdateAnnotationsRequest) Body ¶

The annotations to create or update

func (CommitsApiBulkCreateOrUpdateAnnotationsRequest) Execute ¶

type CommitsApiCreateOrUpdateAnnotationRequest ¶

type CommitsApiCreateOrUpdateAnnotationRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiCreateOrUpdateAnnotationRequest) Body ¶

The annotation to create or update

func (CommitsApiCreateOrUpdateAnnotationRequest) Execute ¶

type CommitsApiCreateOrUpdateReportRequest ¶

type CommitsApiCreateOrUpdateReportRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiCreateOrUpdateReportRequest) Body ¶

The report to create or update

func (CommitsApiCreateOrUpdateReportRequest) Execute ¶

type CommitsApiDeleteAnnotationRequest ¶

type CommitsApiDeleteAnnotationRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiDeleteAnnotationRequest) Execute ¶

type CommitsApiDeleteReportRequest ¶

type CommitsApiDeleteReportRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiDeleteReportRequest) Execute ¶

type CommitsApiGetAnnotationRequest ¶

type CommitsApiGetAnnotationRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiGetAnnotationRequest) Execute ¶

type CommitsApiGetAnnotationsForReportRequest ¶

type CommitsApiGetAnnotationsForReportRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiGetAnnotationsForReportRequest) Execute ¶

type CommitsApiGetReportRequest ¶

type CommitsApiGetReportRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiGetReportRequest) Execute ¶

type CommitsApiGetReportsForCommitRequest ¶

type CommitsApiGetReportsForCommitRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiGetReportsForCommitRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApproveDeleteRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApproveDeleteRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApproveDeleteRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApprovePostRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApprovePostRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApprovePostRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGetRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGetRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGetRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsGetRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsGetRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsGetRequest) Execute ¶

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsGetRequest) Sort ¶

Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsPostRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsPostRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsPostRequest) Body ¶

The specified comment.

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsPostRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitGetRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitGetRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitGetRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitsGetRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitsGetRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitsGetRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitsPostRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitsPostRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitsPostRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionGetRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionGetRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionGetRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionPostRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionPostRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionPostRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest) Binary ¶

Generate diffs that include binary files, true if omitted.

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest) Context ¶

Generate diffs with &lt;n&gt; lines of context instead of the usual three.

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest) Execute ¶

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest) IgnoreWhitespace ¶

Generate diffs that ignore whitespace.

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest) Merge ¶

This parameter is deprecated and will be removed at the end of 2022. The &#39;topic&#39; parameter should be used instead. The &#39;merge&#39; and &#39;topic&#39; parameters cannot be both used at the same time. If true, the source commit is merged into the destination commit, and then a diff from the destination to the merge result is returned. If false, a simple &#39;two dot&#39; diff between the source and destination is returned. True if omitted.

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest) Path ¶

Limit the diff to a particular file (this parameter can be repeated for multiple paths).

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest) Renames ¶

Whether to perform rename detection, true if omitted.

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest) Topic ¶

If true, returns 2-way &#39;three-dot&#39; diff. This is a diff between the source commit and the merge base of the source commit and the destination commit. If false, a simple &#39;two dot&#39; diff between the source and destination is returned.

type CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest) Execute ¶

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest) IgnoreWhitespace ¶

Generate diffs that ignore whitespace

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest) Merge ¶

This parameter is deprecated and will be removed at the end of 2022. The &#39;topic&#39; parameter should be used instead. The &#39;merge&#39; and &#39;topic&#39; parameters cannot be both used at the same time. If true, the source commit is merged into the destination commit, and then a diffstat from the destination to the merge result is returned. If false, a simple &#39;two dot&#39; diffstat between the source and destination is returned. True if omitted.

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest) Path ¶

Limit the diffstat to a particular file (this parameter can be repeated for multiple paths).

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest) Renames ¶

Whether to perform rename detection, true if omitted.

func (CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest) Topic ¶

If true, returns 2-way &#39;three-dot&#39; diff. This is a diff between the source commit and the merge base of the source commit and the destination commit. If false, a simple &#39;two dot&#39; diff between the source and destination is returned.

type CommitsApiRepositoriesWorkspaceRepoSlugMergeBaseRevspecGetRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugMergeBaseRevspecGetRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugMergeBaseRevspecGetRequest) Execute ¶

type CommitsApiRepositoriesWorkspaceRepoSlugPatchSpecGetRequest ¶

type CommitsApiRepositoriesWorkspaceRepoSlugPatchSpecGetRequest struct {
	ApiService *CommitsApiService
	// contains filtered or unexported fields
}

func (CommitsApiRepositoriesWorkspaceRepoSlugPatchSpecGetRequest) Execute ¶

type CommitsApiService ¶

type CommitsApiService service

CommitsApiService CommitsApi service

func (*CommitsApiService) BulkCreateOrUpdateAnnotations ¶

func (a *CommitsApiService) BulkCreateOrUpdateAnnotations(ctx context.Context, workspace string, repoSlug string, commit string, reportId string) CommitsApiBulkCreateOrUpdateAnnotationsRequest

BulkCreateOrUpdateAnnotations Bulk create or update annotations

Bulk upload of annotations. Annotations are individual findings that have been identified as part of a report, for example, a line of code that represents a vulnerability. These annotations can be attached to a specific file and even a specific line in that file, however, that is optional. Annotations are not mandatory and a report can contain up to 1000 annotations.

Add the annotations you want to upload as objects in a JSON array and make sure each annotation has the external_id field set to a unique value. If you want to use an existing id from your own system, we recommend prefixing it with your system's name to avoid collisions, for example, mySystem-annotation001. The external id can later be used to identify the report as an alternative to the generated [UUID](https://developer.atlassian.com/bitbucket/api/2/reference/meta/uri-uuid#uuid). You can upload up to 100 annotations per POST request.

### Sample cURL request: ``` curl --location 'https://api.bitbucket.org/2.0/repositories/<username>/<reposity-name>/commit/<commit-hash>/reports/mysystem-001/annotations' \ --header 'Content-Type: application/json' \ --data-raw '[

{
      "external_id": "mysystem-annotation001",
      "title": "Security scan report",
      "annotation_type": "VULNERABILITY",
      "summary": "This line represents a security threat.",
      "severity": "HIGH",
    "path": "my-service/src/main/java/com/myCompany/mysystem/logic/Main.java",
      "line": 42
},
{
      "external_id": "mySystem-annotation002",
      "title": "Bug report",
      "annotation_type": "BUG",
      "result": "FAILED",
      "summary": "This line might introduce a bug.",
      "severity": "MEDIUM",
    "path": "my-service/src/main/java/com/myCompany/mysystem/logic/Helper.java",
      "line": 13
}

]' ```

### Possible field values: annotation_type: VULNERABILITY, CODE_SMELL, BUG result: PASSED, FAILED, IGNORED, SKIPPED severity: HIGH, MEDIUM, LOW, CRITICAL

Please refer to the [Code Insights documentation](https://confluence.atlassian.com/bitbucket/code-insights-994316785.html) for more information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit for which to retrieve reports.
@param reportId Uuid or external-if of the report for which to get annotations for.
@return CommitsApiBulkCreateOrUpdateAnnotationsRequest

func (*CommitsApiService) BulkCreateOrUpdateAnnotationsExecute ¶

func (a *CommitsApiService) BulkCreateOrUpdateAnnotationsExecute(r CommitsApiBulkCreateOrUpdateAnnotationsRequest) ([]ReportAnnotation, *http.Response, error)

Execute executes the request

@return []ReportAnnotation

func (*CommitsApiService) CreateOrUpdateAnnotation ¶

func (a *CommitsApiService) CreateOrUpdateAnnotation(ctx context.Context, workspace string, repoSlug string, commit string, reportId string, annotationId string) CommitsApiCreateOrUpdateAnnotationRequest

CreateOrUpdateAnnotation Create or update an annotation

Creates or updates an individual annotation for the specified report. Annotations are individual findings that have been identified as part of a report, for example, a line of code that represents a vulnerability. These annotations can be attached to a specific file and even a specific line in that file, however, that is optional. Annotations are not mandatory and a report can contain up to 1000 annotations.

Just as reports, annotation needs to be uploaded with a unique ID that can later be used to identify the report as an alternative to the generated [UUID](https://developer.atlassian.com/bitbucket/api/2/reference/meta/uri-uuid#uuid). If you want to use an existing id from your own system, we recommend prefixing it with your system's name to avoid collisions, for example, mySystem-annotation001.

### Sample cURL request: ``` curl --request PUT 'https://api.bitbucket.org/2.0/repositories/<username>/<reposity-name>/commit/<commit-hash>/reports/mySystem-001/annotations/mysystem-annotation001' \ --header 'Content-Type: application/json' \

--data-raw '{
    "title": "Security scan report",
    "annotation_type": "VULNERABILITY",
    "summary": "This line represents a security thread.",
    "severity": "HIGH",
    "path": "my-service/src/main/java/com/myCompany/mysystem/logic/Main.java",
    "line": 42
}'

```

### Possible field values: annotation_type: VULNERABILITY, CODE_SMELL, BUG result: PASSED, FAILED, IGNORED, SKIPPED severity: HIGH, MEDIUM, LOW, CRITICAL

Please refer to the [Code Insights documentation](https://confluence.atlassian.com/bitbucket/code-insights-994316785.html) for more information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the report belongs to.
@param reportId Either the uuid or external-id of the report.
@param annotationId Either the uuid or external-id of the annotation.
@return CommitsApiCreateOrUpdateAnnotationRequest

func (*CommitsApiService) CreateOrUpdateAnnotationExecute ¶

Execute executes the request

@return ReportAnnotation

func (*CommitsApiService) CreateOrUpdateReport ¶

func (a *CommitsApiService) CreateOrUpdateReport(ctx context.Context, workspace string, repoSlug string, commit string, reportId string) CommitsApiCreateOrUpdateReportRequest

CreateOrUpdateReport Create or update a report

Creates or updates a report for the specified commit. To upload a report, make sure to generate an ID that is unique across all reports for that commit. If you want to use an existing id from your own system, we recommend prefixing it with your system's name to avoid collisions, for example, mySystem-001.

### Sample cURL request: ``` curl --request PUT 'https://api.bitbucket.org/2.0/repositories/<username>/<reposity-name>/commit/<commit-hash>/reports/mysystem-001' \ --header 'Content-Type: application/json' \

--data-raw '{
    "title": "Security scan report",
    "details": "This pull request introduces 10 new dependency vulnerabilities.",
    "report_type": "SECURITY",
    "reporter": "mySystem",
    "link": "http://www.mysystem.com/reports/001",
    "result": "FAILED",
    "data": [
        {
            "title": "Duration (seconds)",
            "type": "DURATION",
            "value": 14
        },
        {
            "title": "Safe to merge?",
            "type": "BOOLEAN",
            "value": false
        }
    ]
}'

```

### Possible field values: report_type: SECURITY, COVERAGE, TEST, BUG result: PASSED, FAILED, PENDING data.type: BOOLEAN, DATE, DURATION, LINK, NUMBER, PERCENTAGE, TEXT

#### Data field formats | Type Field | Value Field Type | Value Field Display | |:--------------|:------------------|:--------------------| | None/ Omitted | Number, String or Boolean (not an array or object) | Plain text | | BOOLEAN | Boolean | The value will be read as a JSON boolean and displayed as 'Yes' or 'No'. | | DATE | Number | The value will be read as a JSON number in the form of a Unix timestamp (milliseconds) and will be displayed as a relative date if the date is less than one week ago, otherwise it will be displayed as an absolute date. | | DURATION | Number | The value will be read as a JSON number in milliseconds and will be displayed in a human readable duration format. | | LINK | Object: `{"text": "Link text here", "href": "https://link.to.annotation/in/external/tool"}` | The value will be read as a JSON object containing the fields "text" and "href" and will be displayed as a clickable link on the report. | | NUMBER | Number | The value will be read as a JSON number and large numbers will be displayed in a human readable format (e.g. 14.3k). | | PERCENTAGE | Number (between 0 and 100) | The value will be read as a JSON number between 0 and 100 and will be displayed with a percentage sign. | | TEXT | String | The value will be read as a JSON string and will be displayed as-is |

Please refer to the [Code Insights documentation](https://confluence.atlassian.com/bitbucket/code-insights-994316785.html) for more information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the report belongs to.
@param reportId Either the uuid or external-id of the report.
@return CommitsApiCreateOrUpdateReportRequest

func (*CommitsApiService) CreateOrUpdateReportExecute ¶

func (a *CommitsApiService) CreateOrUpdateReportExecute(r CommitsApiCreateOrUpdateReportRequest) (*Report, *http.Response, error)

Execute executes the request

@return Report

func (*CommitsApiService) DeleteAnnotation ¶

func (a *CommitsApiService) DeleteAnnotation(ctx context.Context, workspace string, repoSlug string, commit string, reportId string, annotationId string) CommitsApiDeleteAnnotationRequest

DeleteAnnotation Delete an annotation

Deletes a single Annotation matching the provided ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the annotation belongs to.
@param reportId Either the uuid or external-id of the annotation.
@param annotationId Either the uuid or external-id of the annotation.
@return CommitsApiDeleteAnnotationRequest

func (*CommitsApiService) DeleteAnnotationExecute ¶

func (a *CommitsApiService) DeleteAnnotationExecute(r CommitsApiDeleteAnnotationRequest) (*http.Response, error)

Execute executes the request

func (*CommitsApiService) DeleteReport ¶

func (a *CommitsApiService) DeleteReport(ctx context.Context, workspace string, repoSlug string, commit string, reportId string) CommitsApiDeleteReportRequest

DeleteReport Delete a report

Deletes a single Report matching the provided ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the report belongs to.
@param reportId Either the uuid or external-id of the report.
@return CommitsApiDeleteReportRequest

func (*CommitsApiService) DeleteReportExecute ¶

func (a *CommitsApiService) DeleteReportExecute(r CommitsApiDeleteReportRequest) (*http.Response, error)

Execute executes the request

func (*CommitsApiService) GetAnnotation ¶

func (a *CommitsApiService) GetAnnotation(ctx context.Context, workspace string, repoSlug string, commit string, reportId string, annotationId string) CommitsApiGetAnnotationRequest

GetAnnotation Get an annotation

Returns a single Annotation matching the provided ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the report belongs to.
@param reportId Either the uuid or external-id of the report.
@param annotationId Either the uuid or external-id of the annotation.
@return CommitsApiGetAnnotationRequest

func (*CommitsApiService) GetAnnotationExecute ¶

Execute executes the request

@return ReportAnnotation

func (*CommitsApiService) GetAnnotationsForReport ¶

func (a *CommitsApiService) GetAnnotationsForReport(ctx context.Context, workspace string, repoSlug string, commit string, reportId string) CommitsApiGetAnnotationsForReportRequest

GetAnnotationsForReport List annotations

Returns a paginated list of Annotations for a specified report.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit for which to retrieve reports.
@param reportId Uuid or external-if of the report for which to get annotations for.
@return CommitsApiGetAnnotationsForReportRequest

func (*CommitsApiService) GetAnnotationsForReportExecute ¶

Execute executes the request

@return PaginatedAnnotations

func (*CommitsApiService) GetReport ¶

func (a *CommitsApiService) GetReport(ctx context.Context, workspace string, repoSlug string, commit string, reportId string) CommitsApiGetReportRequest

GetReport Get a report

Returns a single Report matching the provided ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the report belongs to.
@param reportId Either the uuid or external-id of the report.
@return CommitsApiGetReportRequest

func (*CommitsApiService) GetReportExecute ¶

Execute executes the request

@return Report

func (*CommitsApiService) GetReportsForCommit ¶

func (a *CommitsApiService) GetReportsForCommit(ctx context.Context, workspace string, repoSlug string, commit string) CommitsApiGetReportsForCommitRequest

GetReportsForCommit List reports

Returns a paginated list of Reports linked to this commit.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit for which to retrieve reports.
@return CommitsApiGetReportsForCommitRequest

func (*CommitsApiService) GetReportsForCommitExecute ¶

Execute executes the request

@return PaginatedReports

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitApproveDelete ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitApproveDelete(ctx context.Context, commit string, repoSlug string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApproveDeleteRequest

RepositoriesWorkspaceRepoSlugCommitCommitApproveDelete Unapprove a commit

Redact the authenticated user's approval of the specified commit.

This operation is only available to users that have explicit access to the repository. In contrast, just the fact that a repository is publicly accessible to users does not give them the ability to approve commits.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApproveDeleteRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitApproveDeleteExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitApproveDeleteExecute(r CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApproveDeleteRequest) (*http.Response, error)

Execute executes the request

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitApprovePost ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitApprovePost(ctx context.Context, commit string, repoSlug string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApprovePostRequest

RepositoriesWorkspaceRepoSlugCommitCommitApprovePost Approve a commit

Approve the specified commit as the authenticated user.

This operation is only available to users that have explicit access to the repository. In contrast, just the fact that a repository is publicly accessible to users does not give them the ability to approve commits.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApprovePostRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitApprovePostExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitApprovePostExecute(r CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitApprovePostRequest) (*Participant, *http.Response, error)

Execute executes the request

@return Participant

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGet ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGet(ctx context.Context, commentId int32, commit string, repoSlug string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGetRequest

RepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGet Get a commit comment

Returns the specified commit comment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commentId The id of the comment.
@param commit The commit's SHA1.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGetRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGetExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGetExecute(r CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGetRequest) (*CommitComment, *http.Response, error)

Execute executes the request

@return CommitComment

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsGet ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsGet(ctx context.Context, commit string, repoSlug string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsGetRequest

RepositoriesWorkspaceRepoSlugCommitCommitCommentsGet List a commit's comments

Returns the commit's comments.

This includes both global and inline comments.

The default sorting is oldest to newest and can be overridden with the `sort` query parameter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsGetRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsGetExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsGetExecute(r CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsGetRequest) (*PaginatedCommitComments, *http.Response, error)

Execute executes the request

@return PaginatedCommitComments

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsPost ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsPost(ctx context.Context, commit string, repoSlug string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsPostRequest

RepositoriesWorkspaceRepoSlugCommitCommitCommentsPost Create comment for a commit

Creates new comment on the specified commit.

To post a reply to an existing comment, include the `parent.id` field:

```

$ curl https://api.bitbucket.org/2.0/repositories/atlassian/prlinks/commit/db9ba1e031d07a02603eae0e559a7adc010257fc/comments/ \
  -X POST -u evzijst \
  -H 'Content-Type: application/json' \
  -d '{"content": {"raw": "One more thing!"},
       "parent": {"id": 5728901}}'

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsPostRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsPostExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitCommentsPostExecute(r CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitCommentsPostRequest) (*http.Response, error)

Execute executes the request

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitGet ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitGet(ctx context.Context, commit string, repoSlug string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitGetRequest

RepositoriesWorkspaceRepoSlugCommitCommitGet Get a commit

Returns the specified commit.

Example:

``` $ curl https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f7591a1

{
    "rendered": {
        "message": {
        "raw": "Add a GEORDI_OUTPUT_DIR setting",
        "markup": "markdown",
        "html": "<p>Add a GEORDI_OUTPUT_DIR setting</p>",
        "type": "rendered"
        }
    },
    "hash": "f7591a13eda445d9a9167f98eb870319f4b6c2d8",
    "repository": {
        "name": "geordi",
        "type": "repository",
        "full_name": "bitbucket/geordi",
        "links": {
            "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi"
            },
            "html": {
                "href": "https://bitbucket.org/bitbucket/geordi"
            },
            "avatar": {
                "href": "https://bytebucket.org/ravatar/%7B85d08b4e-571d-44e9-a507-fa476535aa98%7D?ts=1730260"
            }
        },
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
    },
    "links": {
        "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f7591a13eda445d9a9167f98eb870319f4b6c2d8"
        },
        "comments": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f7591a13eda445d9a9167f98eb870319f4b6c2d8/comments"
        },
        "patch": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/patch/f7591a13eda445d9a9167f98eb870319f4b6c2d8"
        },
        "html": {
            "href": "https://bitbucket.org/bitbucket/geordi/commits/f7591a13eda445d9a9167f98eb870319f4b6c2d8"
        },
        "diff": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/diff/f7591a13eda445d9a9167f98eb870319f4b6c2d8"
        },
        "approve": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f7591a13eda445d9a9167f98eb870319f4b6c2d8/approve"
        },
        "statuses": {
            "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f7591a13eda445d9a9167f98eb870319f4b6c2d8/statuses"
        }
    },
    "author": {
        "raw": "Brodie Rao <a@b.c>",
        "type": "author",
        "user": {
            "display_name": "Brodie Rao",
            "uuid": "{9484702e-c663-4afd-aefb-c93a8cd31c28}",
            "links": {
                "self": {
                    "href": "https://api.bitbucket.org/2.0/users/%7B9484702e-c663-4afd-aefb-c93a8cd31c28%7D"
                },
                "html": {
                    "href": "https://bitbucket.org/%7B9484702e-c663-4afd-aefb-c93a8cd31c28%7D/"
                },
                "avatar": {
                    "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/557058:3aae1e05-702a-41e5-81c8-f36f29afb6ca/613070db-28b0-421f-8dba-ae8a87e2a5c7/128"
                }
            },
            "type": "user",
            "nickname": "brodie",
            "account_id": "557058:3aae1e05-702a-41e5-81c8-f36f29afb6ca"
        }
    },
    "summary": {
        "raw": "Add a GEORDI_OUTPUT_DIR setting",
        "markup": "markdown",
        "html": "<p>Add a GEORDI_OUTPUT_DIR setting</p>",
        "type": "rendered"
    },
    "participants": [],
    "parents": [
        {
            "type": "commit",
            "hash": "f06941fec4ef6bcb0c2456927a0cf258fa4f899b",
            "links": {
                "self": {
                    "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/commit/f06941fec4ef6bcb0c2456927a0cf258fa4f899b"
                },
                "html": {
                    "href": "https://bitbucket.org/bitbucket/geordi/commits/f06941fec4ef6bcb0c2456927a0cf258fa4f899b"
                }
            }
        }
    ],
    "date": "2012-07-16T19:37:54+00:00",
    "message": "Add a GEORDI_OUTPUT_DIR setting",
    "type": "commit"
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitGetRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitGetExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitCommitGetExecute(r CommitsApiRepositoriesWorkspaceRepoSlugCommitCommitGetRequest) (*Commit, *http.Response, error)

Execute executes the request

@return Commit

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsGet ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsGet(ctx context.Context, repoSlug string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugCommitsGetRequest

RepositoriesWorkspaceRepoSlugCommitsGet List commits

These are the repository's commits. They are paginated and returned in reverse chronological order, similar to the output of `git log`. Like these tools, the DAG can be filtered.

#### GET /repositories/{workspace}/{repo_slug}/commits/

Returns all commits in the repo in topological order (newest commit first). All branches and tags are included (similar to `git log --all`).

#### GET /repositories/{workspace}/{repo_slug}/commits/?exclude=master

Returns all commits in the repo that are not on master (similar to `git log --all ^master`).

#### GET /repositories/{workspace}/{repo_slug}/commits/?include=foo&include=bar&exclude=fu&exclude=fubar

Returns all commits that are on refs `foo` or `bar`, but not on `fu` or `fubar` (similar to `git log foo bar ^fu ^fubar`).

An optional `path` parameter can be specified that will limit the results to commits that affect that path. `path` can either be a file or a directory. If a directory is specified, commits are returned that have modified any file in the directory tree rooted by `path`. It is important to note that if the `path` parameter is specified, the commits returned by this endpoint may no longer be a DAG, parent commits that do not modify the path will be omitted from the response.

#### GET /repositories/{workspace}/{repo_slug}/commits/?path=README.md&include=foo&include=bar&exclude=master

Returns all commits that are on refs `foo` or `bar`, but not on `master` that changed the file README.md.

#### GET /repositories/{workspace}/{repo_slug}/commits/?path=src/&include=foo&include=bar&exclude=master

Returns all commits that are on refs `foo` or `bar`, but not on `master` that changed to a file in any file in the directory src or its children.

Because the response could include a very large number of commits, it is paginated. Follow the 'next' link in the response to navigate to the next page of commits. As with other paginated resources, do not construct your own links.

When the include and exclude parameters are more than can fit in a query string, clients can use a `x-www-form-urlencoded` POST instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugCommitsGetRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsGetExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsGetExecute(r CommitsApiRepositoriesWorkspaceRepoSlugCommitsGetRequest) (*PaginatedChangeset, *http.Response, error)

Execute executes the request

@return PaginatedChangeset

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsPost ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsPost(ctx context.Context, repoSlug string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugCommitsPostRequest

RepositoriesWorkspaceRepoSlugCommitsPost List commits with include/exclude

Identical to `GET /repositories/{workspace}/{repo_slug}/commits`, except that POST allows clients to place the include and exclude parameters in the request body to avoid URL length issues.

**Note that this resource does NOT support new commit creation.**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugCommitsPostRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsPostExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsPostExecute(r CommitsApiRepositoriesWorkspaceRepoSlugCommitsPostRequest) (*PaginatedChangeset, *http.Response, error)

Execute executes the request

@return PaginatedChangeset

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsRevisionGet ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsRevisionGet(ctx context.Context, repoSlug string, revision string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionGetRequest

RepositoriesWorkspaceRepoSlugCommitsRevisionGet List commits for revision

These are the repository's commits. They are paginated and returned in reverse chronological order, similar to the output of `git log`. Like these tools, the DAG can be filtered.

#### GET /repositories/{workspace}/{repo_slug}/commits/master

Returns all commits on rev `master` (similar to `git log master`).

#### GET /repositories/{workspace}/{repo_slug}/commits/dev?include=foo&exclude=master

Returns all commits on ref `dev` or `foo`, except those that are reachable on `master` (similar to `git log dev foo ^master`).

An optional `path` parameter can be specified that will limit the results to commits that affect that path. `path` can either be a file or a directory. If a directory is specified, commits are returned that have modified any file in the directory tree rooted by `path`. It is important to note that if the `path` parameter is specified, the commits returned by this endpoint may no longer be a DAG, parent commits that do not modify the path will be omitted from the response.

#### GET /repositories/{workspace}/{repo_slug}/commits/dev?path=README.md&include=foo&include=bar&exclude=master

Returns all commits that are on refs `dev` or `foo` or `bar`, but not on `master` that changed the file README.md.

#### GET /repositories/{workspace}/{repo_slug}/commits/dev?path=src/&include=foo&exclude=master

Returns all commits that are on refs `dev` or `foo`, but not on `master` that changed to a file in any file in the directory src or its children.

Because the response could include a very large number of commits, it is paginated. Follow the 'next' link in the response to navigate to the next page of commits. As with other paginated resources, do not construct your own links.

When the include and exclude parameters are more than can fit in a query string, clients can use a `x-www-form-urlencoded` POST instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param revision The commit's SHA1.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionGetRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsRevisionGetExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsRevisionGetExecute(r CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionGetRequest) (*PaginatedChangeset, *http.Response, error)

Execute executes the request

@return PaginatedChangeset

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsRevisionPost ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsRevisionPost(ctx context.Context, repoSlug string, revision string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionPostRequest

RepositoriesWorkspaceRepoSlugCommitsRevisionPost List commits for revision using include/exclude

Identical to `GET /repositories/{workspace}/{repo_slug}/commits/{revision}`, except that POST allows clients to place the include and exclude parameters in the request body to avoid URL length issues.

**Note that this resource does NOT support new commit creation.**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param revision The commit's SHA1.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionPostRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsRevisionPostExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugCommitsRevisionPostExecute(r CommitsApiRepositoriesWorkspaceRepoSlugCommitsRevisionPostRequest) (*PaginatedChangeset, *http.Response, error)

Execute executes the request

@return PaginatedChangeset

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugDiffSpecGet ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugDiffSpecGet(ctx context.Context, repoSlug string, spec string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest

RepositoriesWorkspaceRepoSlugDiffSpecGet Compare two commits

Produces a raw git-style diff.

#### Single commit spec

If the `spec` argument to this API is a single commit, the diff is produced against the first parent of the specified commit.

#### Two commit spec

Two commits separated by `..` may be provided as the `spec`, e.g., `3a8b42..9ff173`. When two commits are provided and the `topic` query parameter is true or absent, this API produces a 2-way three dot diff. This is the diff between source commit and the merge base of the source commit and the destination commit. When the `topic` query param is false, a simple git-style diff is produced.

The two commits are interpreted as follows:

  • First commit: the commit containing the changes we wish to preview
  • Second commit: the commit representing the state to which we want to compare the first commit
  • **Note**: This is the opposite of the order used in `git diff`.

#### Comparison to patches

While similar to patches, diffs:

  • Don't have a commit header (username, commit message, etc)
  • Support the optional `path=foo/bar.py` query param to filter the diff to just that one file diff

#### Response

The raw diff is returned as-is, in whatever encoding the files in the repository use. It is not decoded into unicode. As such, the content-type is `text/plain`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param spec A commit SHA (e.g. `3a8b42`) or a commit range using double dot notation (e.g. `3a8b42..9ff173`).
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugDiffSpecGetExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugDiffSpecGetExecute(r CommitsApiRepositoriesWorkspaceRepoSlugDiffSpecGetRequest) (*http.Response, error)

Execute executes the request

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugDiffstatSpecGet ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugDiffstatSpecGet(ctx context.Context, repoSlug string, spec string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest

RepositoriesWorkspaceRepoSlugDiffstatSpecGet Compare two commit diff stats

Produces a response in JSON format with a record for every path modified, including information on the type of the change and the number of lines added and removed.

#### Single commit spec

If the `spec` argument to this API is a single commit, the diff is produced against the first parent of the specified commit.

#### Two commit spec

Two commits separated by `..` may be provided as the `spec`, e.g., `3a8b42..9ff173`. When two commits are provided and the `topic` query parameter is true or absent, this API produces a 2-way three dot diff. This is the diff between source commit and the merge base of the source commit and the destination commit. When the `topic` query param is false, a simple git-style diff is produced.

The two commits are interpreted as follows:

  • First commit: the commit containing the changes we wish to preview
  • Second commit: the commit representing the state to which we want to compare the first commit
  • **Note**: This is the opposite of the order used in `git diff`.

#### Sample output ``` curl https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/diffstat/d222fa2..e174964

{
    "pagelen": 500,
    "values": [
        {
            "type": "diffstat",
            "status": "modified",
            "lines_removed": 1,
            "lines_added": 2,
            "old": {
                "path": "setup.py",
                "escaped_path": "setup.py",
                "type": "commit_file",
                "links": {
                    "self": {
                        "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/src/e1749643d655d7c7014001a6c0f58abaf42ad850/setup.py"
                    }
                }
            },
            "new": {
                "path": "setup.py",
                "escaped_path": "setup.py",
                "type": "commit_file",
                "links": {
                    "self": {
                        "href": "https://api.bitbucket.org/2.0/repositories/bitbucket/geordi/src/d222fa235229c55dad20b190b0b571adf737d5a6/setup.py"
                    }
                }
            }
        }
    ],
    "page": 1,
    "size": 1
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param spec A commit SHA (e.g. `3a8b42`) or a commit range using double dot notation (e.g. `3a8b42..9ff173`).
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugDiffstatSpecGetExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugDiffstatSpecGetExecute(r CommitsApiRepositoriesWorkspaceRepoSlugDiffstatSpecGetRequest) (*PaginatedDiffstats, *http.Response, error)

Execute executes the request

@return PaginatedDiffstats

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugMergeBaseRevspecGet ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugMergeBaseRevspecGet(ctx context.Context, repoSlug string, revspec string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugMergeBaseRevspecGetRequest

RepositoriesWorkspaceRepoSlugMergeBaseRevspecGet Get the common ancestor between two commits

Returns the best common ancestor between two commits, specified in a revspec of 2 commits (e.g. 3a8b42..9ff173).

If more than one best common ancestor exists, only one will be returned. It is unspecified which will be returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param revspec A commit range using double dot notation (e.g. `3a8b42..9ff173`).
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugMergeBaseRevspecGetRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugMergeBaseRevspecGetExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugMergeBaseRevspecGetExecute(r CommitsApiRepositoriesWorkspaceRepoSlugMergeBaseRevspecGetRequest) (*Commit, *http.Response, error)

Execute executes the request

@return Commit

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugPatchSpecGet ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugPatchSpecGet(ctx context.Context, repoSlug string, spec string, workspace string) CommitsApiRepositoriesWorkspaceRepoSlugPatchSpecGetRequest

RepositoriesWorkspaceRepoSlugPatchSpecGet Get a patch for two commits

Produces a raw patch for a single commit (diffed against its first parent), or a patch-series for a revspec of 2 commits (e.g. `3a8b42..9ff173` where the first commit represents the source and the second commit the destination).

In case of the latter (diffing a revspec), a patch series is returned for the commits on the source branch (`3a8b42` and its ancestors in our example).

While similar to diffs, patches:

* Have a commit header (username, commit message, etc) * Do not support the `path=foo/bar.py` query parameter

The raw patch is returned as-is, in whatever encoding the files in the repository use. It is not decoded into unicode. As such, the content-type is `text/plain`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param spec A commit SHA (e.g. `3a8b42`) or a commit range using double dot notation (e.g. `3a8b42..9ff173`).
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return CommitsApiRepositoriesWorkspaceRepoSlugPatchSpecGetRequest

func (*CommitsApiService) RepositoriesWorkspaceRepoSlugPatchSpecGetExecute ¶

func (a *CommitsApiService) RepositoriesWorkspaceRepoSlugPatchSpecGetExecute(r CommitsApiRepositoriesWorkspaceRepoSlugPatchSpecGetRequest) (*http.Response, error)

Execute executes the request

type Commitstatus ¶

type Commitstatus struct {
	Object
	Links *CommitStatusLinks `json:"links,omitempty"`
	// The commit status' id.
	Uuid *string `json:"uuid,omitempty"`
	// An identifier for the status that's unique to         its type (current \"build\" is the only supported type) and the vendor,         e.g. BB-DEPLOY
	Key *string `json:"key,omitempty"`
	//  The name of the ref that pointed to this commit at the time the status object was created. Note that this the ref may since have moved off of the commit. This optional field can be useful for build systems whose build triggers and configuration are branch-dependent (e.g. a Pipeline build). It is legitimate for this field to not be set, or even apply (e.g. a static linting job).
	Refname *string `json:"refname,omitempty"`
	// A URL linking back to the vendor or build system, for providing more information about whatever process produced this status. Accepts context variables `repository` and `commit` that Bitbucket will evaluate at runtime whenever at runtime. For example, one could use https://foo.com/builds/{repository.full_name} which Bitbucket will turn into https://foo.com/builds/foo/bar at render time.
	Url *string `json:"url,omitempty"`
	// Provides some indication of the status of this commit
	State *string `json:"state,omitempty"`
	// An identifier for the build itself, e.g. BB-DEPLOY-1
	Name *string `json:"name,omitempty"`
	// A description of the build (e.g. \"Unit tests in Bamboo\")
	Description          *string    `json:"description,omitempty"`
	CreatedOn            *time.Time `json:"created_on,omitempty"`
	UpdatedOn            *time.Time `json:"updated_on,omitempty"`
	AdditionalProperties map[string]interface{}
}

Commitstatus struct for Commitstatus

func NewCommitstatus ¶

func NewCommitstatus() *Commitstatus

NewCommitstatus instantiates a new Commitstatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewCommitstatusWithDefaults ¶

func NewCommitstatusWithDefaults() *Commitstatus

NewCommitstatusWithDefaults instantiates a new Commitstatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Commitstatus) GetCreatedOn ¶

func (o *Commitstatus) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Commitstatus) GetCreatedOnOk ¶

func (o *Commitstatus) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commitstatus) GetDescription ¶

func (o *Commitstatus) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Commitstatus) GetDescriptionOk ¶

func (o *Commitstatus) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commitstatus) GetKey ¶

func (o *Commitstatus) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*Commitstatus) GetKeyOk ¶

func (o *Commitstatus) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Commitstatus) GetLinks() CommitStatusLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Commitstatus) GetLinksOk ¶

func (o *Commitstatus) GetLinksOk() (*CommitStatusLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commitstatus) GetName ¶

func (o *Commitstatus) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Commitstatus) GetNameOk ¶

func (o *Commitstatus) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commitstatus) GetRefname ¶

func (o *Commitstatus) GetRefname() string

GetRefname returns the Refname field value if set, zero value otherwise.

func (*Commitstatus) GetRefnameOk ¶

func (o *Commitstatus) GetRefnameOk() (*string, bool)

GetRefnameOk returns a tuple with the Refname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commitstatus) GetState ¶

func (o *Commitstatus) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Commitstatus) GetStateOk ¶

func (o *Commitstatus) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commitstatus) GetUpdatedOn ¶

func (o *Commitstatus) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*Commitstatus) GetUpdatedOnOk ¶

func (o *Commitstatus) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commitstatus) GetUrl ¶

func (o *Commitstatus) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*Commitstatus) GetUrlOk ¶

func (o *Commitstatus) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commitstatus) GetUuid ¶

func (o *Commitstatus) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Commitstatus) GetUuidOk ¶

func (o *Commitstatus) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Commitstatus) HasCreatedOn ¶

func (o *Commitstatus) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Commitstatus) HasDescription ¶

func (o *Commitstatus) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Commitstatus) HasKey ¶

func (o *Commitstatus) HasKey() bool

HasKey returns a boolean if a field has been set.

func (o *Commitstatus) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Commitstatus) HasName ¶

func (o *Commitstatus) HasName() bool

HasName returns a boolean if a field has been set.

func (*Commitstatus) HasRefname ¶

func (o *Commitstatus) HasRefname() bool

HasRefname returns a boolean if a field has been set.

func (*Commitstatus) HasState ¶

func (o *Commitstatus) HasState() bool

HasState returns a boolean if a field has been set.

func (*Commitstatus) HasUpdatedOn ¶

func (o *Commitstatus) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*Commitstatus) HasUrl ¶

func (o *Commitstatus) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*Commitstatus) HasUuid ¶

func (o *Commitstatus) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (Commitstatus) MarshalJSON ¶

func (o Commitstatus) MarshalJSON() ([]byte, error)

func (*Commitstatus) SetCreatedOn ¶

func (o *Commitstatus) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Commitstatus) SetDescription ¶

func (o *Commitstatus) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Commitstatus) SetKey ¶

func (o *Commitstatus) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (o *Commitstatus) SetLinks(v CommitStatusLinks)

SetLinks gets a reference to the given CommitStatusLinks and assigns it to the Links field.

func (*Commitstatus) SetName ¶

func (o *Commitstatus) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Commitstatus) SetRefname ¶

func (o *Commitstatus) SetRefname(v string)

SetRefname gets a reference to the given string and assigns it to the Refname field.

func (*Commitstatus) SetState ¶

func (o *Commitstatus) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*Commitstatus) SetUpdatedOn ¶

func (o *Commitstatus) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*Commitstatus) SetUrl ¶

func (o *Commitstatus) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*Commitstatus) SetUuid ¶

func (o *Commitstatus) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*Commitstatus) UnmarshalJSON ¶ added in v0.0.3

func (o *Commitstatus) UnmarshalJSON(bytes []byte) (err error)

type Component ¶

type Component struct {
	Links                *BranchingModelSettingsLinks `json:"links,omitempty"`
	Name                 *string                      `json:"name,omitempty"`
	Id                   *int32                       `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

Component A component as defined in a repository's issue tracker.

func NewComponent ¶

func NewComponent() *Component

NewComponent instantiates a new Component object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewComponentWithDefaults ¶

func NewComponentWithDefaults() *Component

NewComponentWithDefaults instantiates a new Component object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Component) GetId ¶

func (o *Component) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Component) GetIdOk ¶

func (o *Component) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Component) GetLinks() BranchingModelSettingsLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Component) GetLinksOk ¶

func (o *Component) GetLinksOk() (*BranchingModelSettingsLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) GetName ¶

func (o *Component) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Component) GetNameOk ¶

func (o *Component) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Component) HasId ¶

func (o *Component) HasId() bool

HasId returns a boolean if a field has been set.

func (o *Component) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Component) HasName ¶

func (o *Component) HasName() bool

HasName returns a boolean if a field has been set.

func (Component) MarshalJSON ¶

func (o Component) MarshalJSON() ([]byte, error)

func (*Component) SetId ¶

func (o *Component) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (o *Component) SetLinks(v BranchingModelSettingsLinks)

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*Component) SetName ¶

func (o *Component) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Component) UnmarshalJSON ¶ added in v0.0.3

func (o *Component) UnmarshalJSON(bytes []byte) (err error)

type Configuration ¶

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration ¶

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader ¶

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL ¶

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext ¶

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type DdevReport ¶

type DdevReport struct {
	Object
	AdditionalProperties map[string]interface{}
}

DdevReport struct for DdevReport

func NewDdevReport ¶

func NewDdevReport() *DdevReport

NewDdevReport instantiates a new DdevReport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDdevReportWithDefaults ¶

func NewDdevReportWithDefaults() *DdevReport

NewDdevReportWithDefaults instantiates a new DdevReport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (DdevReport) MarshalJSON ¶

func (o DdevReport) MarshalJSON() ([]byte, error)

func (*DdevReport) UnmarshalJSON ¶ added in v0.0.3

func (o *DdevReport) UnmarshalJSON(bytes []byte) (err error)

type DeployKey ¶

type DeployKey struct {
	// The deploy key value.
	Key        *string     `json:"key,omitempty"`
	Repository *Repository `json:"repository,omitempty"`
	// The comment parsed from the deploy key (if present)
	Comment *string `json:"comment,omitempty"`
	// The user-defined label for the deploy key
	Label                *string                      `json:"label,omitempty"`
	AddedOn              *time.Time                   `json:"added_on,omitempty"`
	LastUsed             *time.Time                   `json:"last_used,omitempty"`
	Links                *BranchingModelSettingsLinks `json:"links,omitempty"`
	Owner                *Account                     `json:"owner,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeployKey Represents deploy key for a repository.

func NewDeployKey ¶

func NewDeployKey() *DeployKey

NewDeployKey instantiates a new DeployKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeployKeyWithDefaults ¶

func NewDeployKeyWithDefaults() *DeployKey

NewDeployKeyWithDefaults instantiates a new DeployKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeployKey) GetAddedOn ¶

func (o *DeployKey) GetAddedOn() time.Time

GetAddedOn returns the AddedOn field value if set, zero value otherwise.

func (*DeployKey) GetAddedOnOk ¶

func (o *DeployKey) GetAddedOnOk() (*time.Time, bool)

GetAddedOnOk returns a tuple with the AddedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployKey) GetComment ¶

func (o *DeployKey) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*DeployKey) GetCommentOk ¶

func (o *DeployKey) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployKey) GetKey ¶

func (o *DeployKey) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*DeployKey) GetKeyOk ¶

func (o *DeployKey) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployKey) GetLabel ¶

func (o *DeployKey) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*DeployKey) GetLabelOk ¶

func (o *DeployKey) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployKey) GetLastUsed ¶

func (o *DeployKey) GetLastUsed() time.Time

GetLastUsed returns the LastUsed field value if set, zero value otherwise.

func (*DeployKey) GetLastUsedOk ¶

func (o *DeployKey) GetLastUsedOk() (*time.Time, bool)

GetLastUsedOk returns a tuple with the LastUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DeployKey) GetLinks() BranchingModelSettingsLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*DeployKey) GetLinksOk ¶

func (o *DeployKey) GetLinksOk() (*BranchingModelSettingsLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployKey) GetOwner ¶

func (o *DeployKey) GetOwner() Account

GetOwner returns the Owner field value if set, zero value otherwise.

func (*DeployKey) GetOwnerOk ¶

func (o *DeployKey) GetOwnerOk() (*Account, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployKey) GetRepository ¶

func (o *DeployKey) GetRepository() Repository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*DeployKey) GetRepositoryOk ¶

func (o *DeployKey) GetRepositoryOk() (*Repository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeployKey) HasAddedOn ¶

func (o *DeployKey) HasAddedOn() bool

HasAddedOn returns a boolean if a field has been set.

func (*DeployKey) HasComment ¶

func (o *DeployKey) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*DeployKey) HasKey ¶

func (o *DeployKey) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*DeployKey) HasLabel ¶

func (o *DeployKey) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*DeployKey) HasLastUsed ¶

func (o *DeployKey) HasLastUsed() bool

HasLastUsed returns a boolean if a field has been set.

func (o *DeployKey) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*DeployKey) HasOwner ¶

func (o *DeployKey) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*DeployKey) HasRepository ¶

func (o *DeployKey) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (DeployKey) MarshalJSON ¶

func (o DeployKey) MarshalJSON() ([]byte, error)

func (*DeployKey) SetAddedOn ¶

func (o *DeployKey) SetAddedOn(v time.Time)

SetAddedOn gets a reference to the given time.Time and assigns it to the AddedOn field.

func (*DeployKey) SetComment ¶

func (o *DeployKey) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*DeployKey) SetKey ¶

func (o *DeployKey) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*DeployKey) SetLabel ¶

func (o *DeployKey) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*DeployKey) SetLastUsed ¶

func (o *DeployKey) SetLastUsed(v time.Time)

SetLastUsed gets a reference to the given time.Time and assigns it to the LastUsed field.

func (o *DeployKey) SetLinks(v BranchingModelSettingsLinks)

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*DeployKey) SetOwner ¶

func (o *DeployKey) SetOwner(v Account)

SetOwner gets a reference to the given Account and assigns it to the Owner field.

func (*DeployKey) SetRepository ¶

func (o *DeployKey) SetRepository(v Repository)

SetRepository gets a reference to the given Repository and assigns it to the Repository field.

func (*DeployKey) UnmarshalJSON ¶ added in v0.0.3

func (o *DeployKey) UnmarshalJSON(bytes []byte) (err error)

type Deployment ¶

type Deployment struct {
	// The UUID identifying the deployment.
	Uuid                 *string                `json:"uuid,omitempty"`
	State                *DeploymentState       `json:"state,omitempty"`
	Environment          *DeploymentEnvironment `json:"environment,omitempty"`
	Release              *DeploymentRelease     `json:"release,omitempty"`
	AdditionalProperties map[string]interface{}
}

Deployment A Bitbucket Deployment.

func NewDeployment ¶

func NewDeployment() *Deployment

NewDeployment instantiates a new Deployment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentWithDefaults ¶

func NewDeploymentWithDefaults() *Deployment

NewDeploymentWithDefaults instantiates a new Deployment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Deployment) GetEnvironment ¶

func (o *Deployment) GetEnvironment() DeploymentEnvironment

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*Deployment) GetEnvironmentOk ¶

func (o *Deployment) GetEnvironmentOk() (*DeploymentEnvironment, bool)

GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Deployment) GetRelease ¶

func (o *Deployment) GetRelease() DeploymentRelease

GetRelease returns the Release field value if set, zero value otherwise.

func (*Deployment) GetReleaseOk ¶

func (o *Deployment) GetReleaseOk() (*DeploymentRelease, bool)

GetReleaseOk returns a tuple with the Release field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Deployment) GetState ¶

func (o *Deployment) GetState() DeploymentState

GetState returns the State field value if set, zero value otherwise.

func (*Deployment) GetStateOk ¶

func (o *Deployment) GetStateOk() (*DeploymentState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Deployment) GetUuid ¶

func (o *Deployment) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Deployment) GetUuidOk ¶

func (o *Deployment) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Deployment) HasEnvironment ¶

func (o *Deployment) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*Deployment) HasRelease ¶

func (o *Deployment) HasRelease() bool

HasRelease returns a boolean if a field has been set.

func (*Deployment) HasState ¶

func (o *Deployment) HasState() bool

HasState returns a boolean if a field has been set.

func (*Deployment) HasUuid ¶

func (o *Deployment) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (Deployment) MarshalJSON ¶

func (o Deployment) MarshalJSON() ([]byte, error)

func (*Deployment) SetEnvironment ¶

func (o *Deployment) SetEnvironment(v DeploymentEnvironment)

SetEnvironment gets a reference to the given DeploymentEnvironment and assigns it to the Environment field.

func (*Deployment) SetRelease ¶

func (o *Deployment) SetRelease(v DeploymentRelease)

SetRelease gets a reference to the given DeploymentRelease and assigns it to the Release field.

func (*Deployment) SetState ¶

func (o *Deployment) SetState(v DeploymentState)

SetState gets a reference to the given DeploymentState and assigns it to the State field.

func (*Deployment) SetUuid ¶

func (o *Deployment) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*Deployment) UnmarshalJSON ¶ added in v0.0.3

func (o *Deployment) UnmarshalJSON(bytes []byte) (err error)

type DeploymentEnvironment ¶

type DeploymentEnvironment struct {
	// The UUID identifying the environment.
	Uuid *string `json:"uuid,omitempty"`
	// The name of the environment.
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentEnvironment A Bitbucket Deployment Environment.

func NewDeploymentEnvironment ¶

func NewDeploymentEnvironment() *DeploymentEnvironment

NewDeploymentEnvironment instantiates a new DeploymentEnvironment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentEnvironmentWithDefaults ¶

func NewDeploymentEnvironmentWithDefaults() *DeploymentEnvironment

NewDeploymentEnvironmentWithDefaults instantiates a new DeploymentEnvironment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentEnvironment) GetName ¶

func (o *DeploymentEnvironment) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentEnvironment) GetNameOk ¶

func (o *DeploymentEnvironment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentEnvironment) GetUuid ¶

func (o *DeploymentEnvironment) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*DeploymentEnvironment) GetUuidOk ¶

func (o *DeploymentEnvironment) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentEnvironment) HasName ¶

func (o *DeploymentEnvironment) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeploymentEnvironment) HasUuid ¶

func (o *DeploymentEnvironment) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (DeploymentEnvironment) MarshalJSON ¶

func (o DeploymentEnvironment) MarshalJSON() ([]byte, error)

func (*DeploymentEnvironment) SetName ¶

func (o *DeploymentEnvironment) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentEnvironment) SetUuid ¶

func (o *DeploymentEnvironment) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*DeploymentEnvironment) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentEnvironment) UnmarshalJSON(bytes []byte) (err error)

type DeploymentEnvironmentLock ¶

type DeploymentEnvironmentLock struct {
	// The UUID identifying the environment.
	EnvironmentUuid      *string `json:"environmentUuid,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentEnvironmentLock A Bitbucket Deployment Environment Lock.

func NewDeploymentEnvironmentLock ¶

func NewDeploymentEnvironmentLock() *DeploymentEnvironmentLock

NewDeploymentEnvironmentLock instantiates a new DeploymentEnvironmentLock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentEnvironmentLockWithDefaults ¶

func NewDeploymentEnvironmentLockWithDefaults() *DeploymentEnvironmentLock

NewDeploymentEnvironmentLockWithDefaults instantiates a new DeploymentEnvironmentLock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentEnvironmentLock) GetEnvironmentUuid ¶

func (o *DeploymentEnvironmentLock) GetEnvironmentUuid() string

GetEnvironmentUuid returns the EnvironmentUuid field value if set, zero value otherwise.

func (*DeploymentEnvironmentLock) GetEnvironmentUuidOk ¶

func (o *DeploymentEnvironmentLock) GetEnvironmentUuidOk() (*string, bool)

GetEnvironmentUuidOk returns a tuple with the EnvironmentUuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentEnvironmentLock) HasEnvironmentUuid ¶

func (o *DeploymentEnvironmentLock) HasEnvironmentUuid() bool

HasEnvironmentUuid returns a boolean if a field has been set.

func (DeploymentEnvironmentLock) MarshalJSON ¶

func (o DeploymentEnvironmentLock) MarshalJSON() ([]byte, error)

func (*DeploymentEnvironmentLock) SetEnvironmentUuid ¶

func (o *DeploymentEnvironmentLock) SetEnvironmentUuid(v string)

SetEnvironmentUuid gets a reference to the given string and assigns it to the EnvironmentUuid field.

func (*DeploymentEnvironmentLock) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentEnvironmentLock) UnmarshalJSON(bytes []byte) (err error)

type DeploymentRelease ¶

type DeploymentRelease struct {
	// The UUID identifying the release.
	Uuid *string `json:"uuid,omitempty"`
	// The name of the release.
	Name *string `json:"name,omitempty"`
	// Link to the pipeline that produced the release.
	Url    *string `json:"url,omitempty"`
	Commit *Commit `json:"commit,omitempty"`
	// The timestamp when the release was created.
	CreatedOn            *time.Time `json:"created_on,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentRelease A Bitbucket Deployment Release.

func NewDeploymentRelease ¶

func NewDeploymentRelease() *DeploymentRelease

NewDeploymentRelease instantiates a new DeploymentRelease object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentReleaseWithDefaults ¶

func NewDeploymentReleaseWithDefaults() *DeploymentRelease

NewDeploymentReleaseWithDefaults instantiates a new DeploymentRelease object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentRelease) GetCommit ¶

func (o *DeploymentRelease) GetCommit() Commit

GetCommit returns the Commit field value if set, zero value otherwise.

func (*DeploymentRelease) GetCommitOk ¶

func (o *DeploymentRelease) GetCommitOk() (*Commit, bool)

GetCommitOk returns a tuple with the Commit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRelease) GetCreatedOn ¶

func (o *DeploymentRelease) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*DeploymentRelease) GetCreatedOnOk ¶

func (o *DeploymentRelease) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRelease) GetName ¶

func (o *DeploymentRelease) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentRelease) GetNameOk ¶

func (o *DeploymentRelease) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRelease) GetUrl ¶

func (o *DeploymentRelease) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*DeploymentRelease) GetUrlOk ¶

func (o *DeploymentRelease) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRelease) GetUuid ¶

func (o *DeploymentRelease) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*DeploymentRelease) GetUuidOk ¶

func (o *DeploymentRelease) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentRelease) HasCommit ¶

func (o *DeploymentRelease) HasCommit() bool

HasCommit returns a boolean if a field has been set.

func (*DeploymentRelease) HasCreatedOn ¶

func (o *DeploymentRelease) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*DeploymentRelease) HasName ¶

func (o *DeploymentRelease) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeploymentRelease) HasUrl ¶

func (o *DeploymentRelease) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*DeploymentRelease) HasUuid ¶

func (o *DeploymentRelease) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (DeploymentRelease) MarshalJSON ¶

func (o DeploymentRelease) MarshalJSON() ([]byte, error)

func (*DeploymentRelease) SetCommit ¶

func (o *DeploymentRelease) SetCommit(v Commit)

SetCommit gets a reference to the given Commit and assigns it to the Commit field.

func (*DeploymentRelease) SetCreatedOn ¶

func (o *DeploymentRelease) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*DeploymentRelease) SetName ¶

func (o *DeploymentRelease) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentRelease) SetUrl ¶

func (o *DeploymentRelease) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*DeploymentRelease) SetUuid ¶

func (o *DeploymentRelease) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*DeploymentRelease) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentRelease) UnmarshalJSON(bytes []byte) (err error)

type DeploymentState ¶

type DeploymentState struct {
	Object
	AdditionalProperties map[string]interface{}
}

DeploymentState struct for DeploymentState

func NewDeploymentState ¶

func NewDeploymentState() *DeploymentState

NewDeploymentState instantiates a new DeploymentState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateWithDefaults ¶

func NewDeploymentStateWithDefaults() *DeploymentState

NewDeploymentStateWithDefaults instantiates a new DeploymentState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (DeploymentState) MarshalJSON ¶

func (o DeploymentState) MarshalJSON() ([]byte, error)

func (*DeploymentState) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentState) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateCompleted ¶

type DeploymentStateCompleted struct {
	DeploymentState
	// The name of deployment state (COMPLETED).
	Name *string `json:"name,omitempty"`
	// Link to the deployment result.
	Url      *string                         `json:"url,omitempty"`
	Deployer *Account                        `json:"deployer,omitempty"`
	Status   *DeploymentStateCompletedStatus `json:"status,omitempty"`
	// The timestamp when the deployment was started.
	StartDate *time.Time `json:"start_date,omitempty"`
	// The timestamp when the deployment completed.
	CompletionDate       *time.Time `json:"completion_date,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateCompleted struct for DeploymentStateCompleted

func NewDeploymentStateCompleted ¶

func NewDeploymentStateCompleted() *DeploymentStateCompleted

NewDeploymentStateCompleted instantiates a new DeploymentStateCompleted object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateCompletedWithDefaults ¶

func NewDeploymentStateCompletedWithDefaults() *DeploymentStateCompleted

NewDeploymentStateCompletedWithDefaults instantiates a new DeploymentStateCompleted object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateCompleted) GetCompletionDate ¶

func (o *DeploymentStateCompleted) GetCompletionDate() time.Time

GetCompletionDate returns the CompletionDate field value if set, zero value otherwise.

func (*DeploymentStateCompleted) GetCompletionDateOk ¶

func (o *DeploymentStateCompleted) GetCompletionDateOk() (*time.Time, bool)

GetCompletionDateOk returns a tuple with the CompletionDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompleted) GetDeployer ¶

func (o *DeploymentStateCompleted) GetDeployer() Account

GetDeployer returns the Deployer field value if set, zero value otherwise.

func (*DeploymentStateCompleted) GetDeployerOk ¶

func (o *DeploymentStateCompleted) GetDeployerOk() (*Account, bool)

GetDeployerOk returns a tuple with the Deployer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompleted) GetName ¶

func (o *DeploymentStateCompleted) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateCompleted) GetNameOk ¶

func (o *DeploymentStateCompleted) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompleted) GetStartDate ¶

func (o *DeploymentStateCompleted) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*DeploymentStateCompleted) GetStartDateOk ¶

func (o *DeploymentStateCompleted) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompleted) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*DeploymentStateCompleted) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompleted) GetUrl ¶

func (o *DeploymentStateCompleted) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*DeploymentStateCompleted) GetUrlOk ¶

func (o *DeploymentStateCompleted) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompleted) HasCompletionDate ¶

func (o *DeploymentStateCompleted) HasCompletionDate() bool

HasCompletionDate returns a boolean if a field has been set.

func (*DeploymentStateCompleted) HasDeployer ¶

func (o *DeploymentStateCompleted) HasDeployer() bool

HasDeployer returns a boolean if a field has been set.

func (*DeploymentStateCompleted) HasName ¶

func (o *DeploymentStateCompleted) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeploymentStateCompleted) HasStartDate ¶

func (o *DeploymentStateCompleted) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*DeploymentStateCompleted) HasStatus ¶

func (o *DeploymentStateCompleted) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*DeploymentStateCompleted) HasUrl ¶

func (o *DeploymentStateCompleted) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (DeploymentStateCompleted) MarshalJSON ¶

func (o DeploymentStateCompleted) MarshalJSON() ([]byte, error)

func (*DeploymentStateCompleted) SetCompletionDate ¶

func (o *DeploymentStateCompleted) SetCompletionDate(v time.Time)

SetCompletionDate gets a reference to the given time.Time and assigns it to the CompletionDate field.

func (*DeploymentStateCompleted) SetDeployer ¶

func (o *DeploymentStateCompleted) SetDeployer(v Account)

SetDeployer gets a reference to the given Account and assigns it to the Deployer field.

func (*DeploymentStateCompleted) SetName ¶

func (o *DeploymentStateCompleted) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateCompleted) SetStartDate ¶

func (o *DeploymentStateCompleted) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*DeploymentStateCompleted) SetStatus ¶

SetStatus gets a reference to the given DeploymentStateCompletedStatus and assigns it to the Status field.

func (*DeploymentStateCompleted) SetUrl ¶

func (o *DeploymentStateCompleted) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*DeploymentStateCompleted) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateCompleted) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateCompletedAllOf ¶

type DeploymentStateCompletedAllOf struct {
	// The name of deployment state (COMPLETED).
	Name *string `json:"name,omitempty"`
	// Link to the deployment result.
	Url      *string                         `json:"url,omitempty"`
	Deployer *Account                        `json:"deployer,omitempty"`
	Status   *DeploymentStateCompletedStatus `json:"status,omitempty"`
	// The timestamp when the deployment was started.
	StartDate *time.Time `json:"start_date,omitempty"`
	// The timestamp when the deployment completed.
	CompletionDate       *time.Time `json:"completion_date,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateCompletedAllOf A Bitbucket Deployment COMPLETED deployment state.

func NewDeploymentStateCompletedAllOf ¶

func NewDeploymentStateCompletedAllOf() *DeploymentStateCompletedAllOf

NewDeploymentStateCompletedAllOf instantiates a new DeploymentStateCompletedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateCompletedAllOfWithDefaults ¶

func NewDeploymentStateCompletedAllOfWithDefaults() *DeploymentStateCompletedAllOf

NewDeploymentStateCompletedAllOfWithDefaults instantiates a new DeploymentStateCompletedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateCompletedAllOf) GetCompletionDate ¶

func (o *DeploymentStateCompletedAllOf) GetCompletionDate() time.Time

GetCompletionDate returns the CompletionDate field value if set, zero value otherwise.

func (*DeploymentStateCompletedAllOf) GetCompletionDateOk ¶

func (o *DeploymentStateCompletedAllOf) GetCompletionDateOk() (*time.Time, bool)

GetCompletionDateOk returns a tuple with the CompletionDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedAllOf) GetDeployer ¶

func (o *DeploymentStateCompletedAllOf) GetDeployer() Account

GetDeployer returns the Deployer field value if set, zero value otherwise.

func (*DeploymentStateCompletedAllOf) GetDeployerOk ¶

func (o *DeploymentStateCompletedAllOf) GetDeployerOk() (*Account, bool)

GetDeployerOk returns a tuple with the Deployer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateCompletedAllOf) GetNameOk ¶

func (o *DeploymentStateCompletedAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedAllOf) GetStartDate ¶

func (o *DeploymentStateCompletedAllOf) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*DeploymentStateCompletedAllOf) GetStartDateOk ¶

func (o *DeploymentStateCompletedAllOf) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedAllOf) GetStatus ¶

GetStatus returns the Status field value if set, zero value otherwise.

func (*DeploymentStateCompletedAllOf) GetStatusOk ¶

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedAllOf) GetUrl ¶

GetUrl returns the Url field value if set, zero value otherwise.

func (*DeploymentStateCompletedAllOf) GetUrlOk ¶

func (o *DeploymentStateCompletedAllOf) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedAllOf) HasCompletionDate ¶

func (o *DeploymentStateCompletedAllOf) HasCompletionDate() bool

HasCompletionDate returns a boolean if a field has been set.

func (*DeploymentStateCompletedAllOf) HasDeployer ¶

func (o *DeploymentStateCompletedAllOf) HasDeployer() bool

HasDeployer returns a boolean if a field has been set.

func (*DeploymentStateCompletedAllOf) HasName ¶

func (o *DeploymentStateCompletedAllOf) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeploymentStateCompletedAllOf) HasStartDate ¶

func (o *DeploymentStateCompletedAllOf) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*DeploymentStateCompletedAllOf) HasStatus ¶

func (o *DeploymentStateCompletedAllOf) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*DeploymentStateCompletedAllOf) HasUrl ¶

func (o *DeploymentStateCompletedAllOf) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (DeploymentStateCompletedAllOf) MarshalJSON ¶

func (o DeploymentStateCompletedAllOf) MarshalJSON() ([]byte, error)

func (*DeploymentStateCompletedAllOf) SetCompletionDate ¶

func (o *DeploymentStateCompletedAllOf) SetCompletionDate(v time.Time)

SetCompletionDate gets a reference to the given time.Time and assigns it to the CompletionDate field.

func (*DeploymentStateCompletedAllOf) SetDeployer ¶

func (o *DeploymentStateCompletedAllOf) SetDeployer(v Account)

SetDeployer gets a reference to the given Account and assigns it to the Deployer field.

func (*DeploymentStateCompletedAllOf) SetName ¶

func (o *DeploymentStateCompletedAllOf) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateCompletedAllOf) SetStartDate ¶

func (o *DeploymentStateCompletedAllOf) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*DeploymentStateCompletedAllOf) SetStatus ¶

SetStatus gets a reference to the given DeploymentStateCompletedStatus and assigns it to the Status field.

func (*DeploymentStateCompletedAllOf) SetUrl ¶

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*DeploymentStateCompletedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateCompletedAllOf) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateCompletedStatus ¶

type DeploymentStateCompletedStatus struct {
	Object
	AdditionalProperties map[string]interface{}
}

DeploymentStateCompletedStatus struct for DeploymentStateCompletedStatus

func NewDeploymentStateCompletedStatus ¶

func NewDeploymentStateCompletedStatus() *DeploymentStateCompletedStatus

NewDeploymentStateCompletedStatus instantiates a new DeploymentStateCompletedStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateCompletedStatusWithDefaults ¶

func NewDeploymentStateCompletedStatusWithDefaults() *DeploymentStateCompletedStatus

NewDeploymentStateCompletedStatusWithDefaults instantiates a new DeploymentStateCompletedStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (DeploymentStateCompletedStatus) MarshalJSON ¶

func (o DeploymentStateCompletedStatus) MarshalJSON() ([]byte, error)

func (*DeploymentStateCompletedStatus) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateCompletedStatus) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateCompletedStatusFailed ¶

type DeploymentStateCompletedStatusFailed struct {
	DeploymentStateCompletedStatus
	// The name of the completed deployment status (FAILED).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateCompletedStatusFailed struct for DeploymentStateCompletedStatusFailed

func NewDeploymentStateCompletedStatusFailed ¶

func NewDeploymentStateCompletedStatusFailed() *DeploymentStateCompletedStatusFailed

NewDeploymentStateCompletedStatusFailed instantiates a new DeploymentStateCompletedStatusFailed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateCompletedStatusFailedWithDefaults ¶

func NewDeploymentStateCompletedStatusFailedWithDefaults() *DeploymentStateCompletedStatusFailed

NewDeploymentStateCompletedStatusFailedWithDefaults instantiates a new DeploymentStateCompletedStatusFailed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateCompletedStatusFailed) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateCompletedStatusFailed) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedStatusFailed) HasName ¶

HasName returns a boolean if a field has been set.

func (DeploymentStateCompletedStatusFailed) MarshalJSON ¶

func (o DeploymentStateCompletedStatusFailed) MarshalJSON() ([]byte, error)

func (*DeploymentStateCompletedStatusFailed) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateCompletedStatusFailed) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateCompletedStatusFailed) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateCompletedStatusFailedAllOf ¶

type DeploymentStateCompletedStatusFailedAllOf struct {
	// The name of the completed deployment status (FAILED).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateCompletedStatusFailedAllOf A FAILED completed deployment status.

func NewDeploymentStateCompletedStatusFailedAllOf ¶

func NewDeploymentStateCompletedStatusFailedAllOf() *DeploymentStateCompletedStatusFailedAllOf

NewDeploymentStateCompletedStatusFailedAllOf instantiates a new DeploymentStateCompletedStatusFailedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateCompletedStatusFailedAllOfWithDefaults ¶

func NewDeploymentStateCompletedStatusFailedAllOfWithDefaults() *DeploymentStateCompletedStatusFailedAllOf

NewDeploymentStateCompletedStatusFailedAllOfWithDefaults instantiates a new DeploymentStateCompletedStatusFailedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateCompletedStatusFailedAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateCompletedStatusFailedAllOf) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedStatusFailedAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (DeploymentStateCompletedStatusFailedAllOf) MarshalJSON ¶

func (*DeploymentStateCompletedStatusFailedAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateCompletedStatusFailedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateCompletedStatusFailedAllOf) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateCompletedStatusStopped ¶

type DeploymentStateCompletedStatusStopped struct {
	DeploymentStateCompletedStatus
	// The name of the completed deployment status (STOPPED).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateCompletedStatusStopped struct for DeploymentStateCompletedStatusStopped

func NewDeploymentStateCompletedStatusStopped ¶

func NewDeploymentStateCompletedStatusStopped() *DeploymentStateCompletedStatusStopped

NewDeploymentStateCompletedStatusStopped instantiates a new DeploymentStateCompletedStatusStopped object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateCompletedStatusStoppedWithDefaults ¶

func NewDeploymentStateCompletedStatusStoppedWithDefaults() *DeploymentStateCompletedStatusStopped

NewDeploymentStateCompletedStatusStoppedWithDefaults instantiates a new DeploymentStateCompletedStatusStopped object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateCompletedStatusStopped) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateCompletedStatusStopped) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedStatusStopped) HasName ¶

HasName returns a boolean if a field has been set.

func (DeploymentStateCompletedStatusStopped) MarshalJSON ¶

func (o DeploymentStateCompletedStatusStopped) MarshalJSON() ([]byte, error)

func (*DeploymentStateCompletedStatusStopped) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateCompletedStatusStopped) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateCompletedStatusStopped) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateCompletedStatusStoppedAllOf ¶

type DeploymentStateCompletedStatusStoppedAllOf struct {
	// The name of the completed deployment status (STOPPED).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateCompletedStatusStoppedAllOf A STOPPED completed deployment status.

func NewDeploymentStateCompletedStatusStoppedAllOf ¶

func NewDeploymentStateCompletedStatusStoppedAllOf() *DeploymentStateCompletedStatusStoppedAllOf

NewDeploymentStateCompletedStatusStoppedAllOf instantiates a new DeploymentStateCompletedStatusStoppedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateCompletedStatusStoppedAllOfWithDefaults ¶

func NewDeploymentStateCompletedStatusStoppedAllOfWithDefaults() *DeploymentStateCompletedStatusStoppedAllOf

NewDeploymentStateCompletedStatusStoppedAllOfWithDefaults instantiates a new DeploymentStateCompletedStatusStoppedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateCompletedStatusStoppedAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateCompletedStatusStoppedAllOf) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedStatusStoppedAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (DeploymentStateCompletedStatusStoppedAllOf) MarshalJSON ¶

func (*DeploymentStateCompletedStatusStoppedAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateCompletedStatusStoppedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateCompletedStatusStoppedAllOf) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateCompletedStatusSuccessful ¶

type DeploymentStateCompletedStatusSuccessful struct {
	DeploymentStateCompletedStatus
	// The name of the completed deployment status (SUCCESSFUL).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateCompletedStatusSuccessful struct for DeploymentStateCompletedStatusSuccessful

func NewDeploymentStateCompletedStatusSuccessful ¶

func NewDeploymentStateCompletedStatusSuccessful() *DeploymentStateCompletedStatusSuccessful

NewDeploymentStateCompletedStatusSuccessful instantiates a new DeploymentStateCompletedStatusSuccessful object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateCompletedStatusSuccessfulWithDefaults ¶

func NewDeploymentStateCompletedStatusSuccessfulWithDefaults() *DeploymentStateCompletedStatusSuccessful

NewDeploymentStateCompletedStatusSuccessfulWithDefaults instantiates a new DeploymentStateCompletedStatusSuccessful object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateCompletedStatusSuccessful) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateCompletedStatusSuccessful) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedStatusSuccessful) HasName ¶

HasName returns a boolean if a field has been set.

func (DeploymentStateCompletedStatusSuccessful) MarshalJSON ¶

func (*DeploymentStateCompletedStatusSuccessful) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateCompletedStatusSuccessful) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateCompletedStatusSuccessful) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateCompletedStatusSuccessfulAllOf ¶

type DeploymentStateCompletedStatusSuccessfulAllOf struct {
	// The name of the completed deployment status (SUCCESSFUL).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateCompletedStatusSuccessfulAllOf A SUCCESSFUL completed deployment status.

func NewDeploymentStateCompletedStatusSuccessfulAllOf ¶

func NewDeploymentStateCompletedStatusSuccessfulAllOf() *DeploymentStateCompletedStatusSuccessfulAllOf

NewDeploymentStateCompletedStatusSuccessfulAllOf instantiates a new DeploymentStateCompletedStatusSuccessfulAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateCompletedStatusSuccessfulAllOfWithDefaults ¶

func NewDeploymentStateCompletedStatusSuccessfulAllOfWithDefaults() *DeploymentStateCompletedStatusSuccessfulAllOf

NewDeploymentStateCompletedStatusSuccessfulAllOfWithDefaults instantiates a new DeploymentStateCompletedStatusSuccessfulAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateCompletedStatusSuccessfulAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateCompletedStatusSuccessfulAllOf) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateCompletedStatusSuccessfulAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (DeploymentStateCompletedStatusSuccessfulAllOf) MarshalJSON ¶

func (*DeploymentStateCompletedStatusSuccessfulAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateCompletedStatusSuccessfulAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateCompletedStatusSuccessfulAllOf) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateInProgress ¶

type DeploymentStateInProgress struct {
	DeploymentState
	// The name of deployment state (IN_PROGRESS).
	Name *string `json:"name,omitempty"`
	// Link to the deployment result.
	Url      *string  `json:"url,omitempty"`
	Deployer *Account `json:"deployer,omitempty"`
	// The timestamp when the deployment was started.
	StartDate            *time.Time `json:"start_date,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateInProgress struct for DeploymentStateInProgress

func NewDeploymentStateInProgress ¶

func NewDeploymentStateInProgress() *DeploymentStateInProgress

NewDeploymentStateInProgress instantiates a new DeploymentStateInProgress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateInProgressWithDefaults ¶

func NewDeploymentStateInProgressWithDefaults() *DeploymentStateInProgress

NewDeploymentStateInProgressWithDefaults instantiates a new DeploymentStateInProgress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateInProgress) GetDeployer ¶

func (o *DeploymentStateInProgress) GetDeployer() Account

GetDeployer returns the Deployer field value if set, zero value otherwise.

func (*DeploymentStateInProgress) GetDeployerOk ¶

func (o *DeploymentStateInProgress) GetDeployerOk() (*Account, bool)

GetDeployerOk returns a tuple with the Deployer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateInProgress) GetName ¶

func (o *DeploymentStateInProgress) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateInProgress) GetNameOk ¶

func (o *DeploymentStateInProgress) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateInProgress) GetStartDate ¶

func (o *DeploymentStateInProgress) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*DeploymentStateInProgress) GetStartDateOk ¶

func (o *DeploymentStateInProgress) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateInProgress) GetUrl ¶

func (o *DeploymentStateInProgress) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*DeploymentStateInProgress) GetUrlOk ¶

func (o *DeploymentStateInProgress) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateInProgress) HasDeployer ¶

func (o *DeploymentStateInProgress) HasDeployer() bool

HasDeployer returns a boolean if a field has been set.

func (*DeploymentStateInProgress) HasName ¶

func (o *DeploymentStateInProgress) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeploymentStateInProgress) HasStartDate ¶

func (o *DeploymentStateInProgress) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*DeploymentStateInProgress) HasUrl ¶

func (o *DeploymentStateInProgress) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (DeploymentStateInProgress) MarshalJSON ¶

func (o DeploymentStateInProgress) MarshalJSON() ([]byte, error)

func (*DeploymentStateInProgress) SetDeployer ¶

func (o *DeploymentStateInProgress) SetDeployer(v Account)

SetDeployer gets a reference to the given Account and assigns it to the Deployer field.

func (*DeploymentStateInProgress) SetName ¶

func (o *DeploymentStateInProgress) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateInProgress) SetStartDate ¶

func (o *DeploymentStateInProgress) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*DeploymentStateInProgress) SetUrl ¶

func (o *DeploymentStateInProgress) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*DeploymentStateInProgress) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateInProgress) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateInProgressAllOf ¶

type DeploymentStateInProgressAllOf struct {
	// The name of deployment state (IN_PROGRESS).
	Name *string `json:"name,omitempty"`
	// Link to the deployment result.
	Url      *string  `json:"url,omitempty"`
	Deployer *Account `json:"deployer,omitempty"`
	// The timestamp when the deployment was started.
	StartDate            *time.Time `json:"start_date,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateInProgressAllOf A Bitbucket Deployment IN_PROGRESS deployment state.

func NewDeploymentStateInProgressAllOf ¶

func NewDeploymentStateInProgressAllOf() *DeploymentStateInProgressAllOf

NewDeploymentStateInProgressAllOf instantiates a new DeploymentStateInProgressAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateInProgressAllOfWithDefaults ¶

func NewDeploymentStateInProgressAllOfWithDefaults() *DeploymentStateInProgressAllOf

NewDeploymentStateInProgressAllOfWithDefaults instantiates a new DeploymentStateInProgressAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateInProgressAllOf) GetDeployer ¶

func (o *DeploymentStateInProgressAllOf) GetDeployer() Account

GetDeployer returns the Deployer field value if set, zero value otherwise.

func (*DeploymentStateInProgressAllOf) GetDeployerOk ¶

func (o *DeploymentStateInProgressAllOf) GetDeployerOk() (*Account, bool)

GetDeployerOk returns a tuple with the Deployer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateInProgressAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateInProgressAllOf) GetNameOk ¶

func (o *DeploymentStateInProgressAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateInProgressAllOf) GetStartDate ¶

func (o *DeploymentStateInProgressAllOf) GetStartDate() time.Time

GetStartDate returns the StartDate field value if set, zero value otherwise.

func (*DeploymentStateInProgressAllOf) GetStartDateOk ¶

func (o *DeploymentStateInProgressAllOf) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateInProgressAllOf) GetUrl ¶

GetUrl returns the Url field value if set, zero value otherwise.

func (*DeploymentStateInProgressAllOf) GetUrlOk ¶

func (o *DeploymentStateInProgressAllOf) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateInProgressAllOf) HasDeployer ¶

func (o *DeploymentStateInProgressAllOf) HasDeployer() bool

HasDeployer returns a boolean if a field has been set.

func (*DeploymentStateInProgressAllOf) HasName ¶

func (o *DeploymentStateInProgressAllOf) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeploymentStateInProgressAllOf) HasStartDate ¶

func (o *DeploymentStateInProgressAllOf) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

func (*DeploymentStateInProgressAllOf) HasUrl ¶

HasUrl returns a boolean if a field has been set.

func (DeploymentStateInProgressAllOf) MarshalJSON ¶

func (o DeploymentStateInProgressAllOf) MarshalJSON() ([]byte, error)

func (*DeploymentStateInProgressAllOf) SetDeployer ¶

func (o *DeploymentStateInProgressAllOf) SetDeployer(v Account)

SetDeployer gets a reference to the given Account and assigns it to the Deployer field.

func (*DeploymentStateInProgressAllOf) SetName ¶

func (o *DeploymentStateInProgressAllOf) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateInProgressAllOf) SetStartDate ¶

func (o *DeploymentStateInProgressAllOf) SetStartDate(v time.Time)

SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.

func (*DeploymentStateInProgressAllOf) SetUrl ¶

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*DeploymentStateInProgressAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateInProgressAllOf) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateUndeployed ¶

type DeploymentStateUndeployed struct {
	DeploymentState
	// The name of deployment state (UNDEPLOYED).
	Name *string `json:"name,omitempty"`
	// Link to trigger the deployment.
	TriggerUrl           *string `json:"trigger_url,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateUndeployed struct for DeploymentStateUndeployed

func NewDeploymentStateUndeployed ¶

func NewDeploymentStateUndeployed() *DeploymentStateUndeployed

NewDeploymentStateUndeployed instantiates a new DeploymentStateUndeployed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateUndeployedWithDefaults ¶

func NewDeploymentStateUndeployedWithDefaults() *DeploymentStateUndeployed

NewDeploymentStateUndeployedWithDefaults instantiates a new DeploymentStateUndeployed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateUndeployed) GetName ¶

func (o *DeploymentStateUndeployed) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateUndeployed) GetNameOk ¶

func (o *DeploymentStateUndeployed) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateUndeployed) GetTriggerUrl ¶

func (o *DeploymentStateUndeployed) GetTriggerUrl() string

GetTriggerUrl returns the TriggerUrl field value if set, zero value otherwise.

func (*DeploymentStateUndeployed) GetTriggerUrlOk ¶

func (o *DeploymentStateUndeployed) GetTriggerUrlOk() (*string, bool)

GetTriggerUrlOk returns a tuple with the TriggerUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateUndeployed) HasName ¶

func (o *DeploymentStateUndeployed) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeploymentStateUndeployed) HasTriggerUrl ¶

func (o *DeploymentStateUndeployed) HasTriggerUrl() bool

HasTriggerUrl returns a boolean if a field has been set.

func (DeploymentStateUndeployed) MarshalJSON ¶

func (o DeploymentStateUndeployed) MarshalJSON() ([]byte, error)

func (*DeploymentStateUndeployed) SetName ¶

func (o *DeploymentStateUndeployed) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateUndeployed) SetTriggerUrl ¶

func (o *DeploymentStateUndeployed) SetTriggerUrl(v string)

SetTriggerUrl gets a reference to the given string and assigns it to the TriggerUrl field.

func (*DeploymentStateUndeployed) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateUndeployed) UnmarshalJSON(bytes []byte) (err error)

type DeploymentStateUndeployedAllOf ¶

type DeploymentStateUndeployedAllOf struct {
	// The name of deployment state (UNDEPLOYED).
	Name *string `json:"name,omitempty"`
	// Link to trigger the deployment.
	TriggerUrl           *string `json:"trigger_url,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentStateUndeployedAllOf A Bitbucket Deployment UNDEPLOYED deployment state.

func NewDeploymentStateUndeployedAllOf ¶

func NewDeploymentStateUndeployedAllOf() *DeploymentStateUndeployedAllOf

NewDeploymentStateUndeployedAllOf instantiates a new DeploymentStateUndeployedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentStateUndeployedAllOfWithDefaults ¶

func NewDeploymentStateUndeployedAllOfWithDefaults() *DeploymentStateUndeployedAllOf

NewDeploymentStateUndeployedAllOfWithDefaults instantiates a new DeploymentStateUndeployedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentStateUndeployedAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentStateUndeployedAllOf) GetNameOk ¶

func (o *DeploymentStateUndeployedAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateUndeployedAllOf) GetTriggerUrl ¶

func (o *DeploymentStateUndeployedAllOf) GetTriggerUrl() string

GetTriggerUrl returns the TriggerUrl field value if set, zero value otherwise.

func (*DeploymentStateUndeployedAllOf) GetTriggerUrlOk ¶

func (o *DeploymentStateUndeployedAllOf) GetTriggerUrlOk() (*string, bool)

GetTriggerUrlOk returns a tuple with the TriggerUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentStateUndeployedAllOf) HasName ¶

func (o *DeploymentStateUndeployedAllOf) HasName() bool

HasName returns a boolean if a field has been set.

func (*DeploymentStateUndeployedAllOf) HasTriggerUrl ¶

func (o *DeploymentStateUndeployedAllOf) HasTriggerUrl() bool

HasTriggerUrl returns a boolean if a field has been set.

func (DeploymentStateUndeployedAllOf) MarshalJSON ¶

func (o DeploymentStateUndeployedAllOf) MarshalJSON() ([]byte, error)

func (*DeploymentStateUndeployedAllOf) SetName ¶

func (o *DeploymentStateUndeployedAllOf) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentStateUndeployedAllOf) SetTriggerUrl ¶

func (o *DeploymentStateUndeployedAllOf) SetTriggerUrl(v string)

SetTriggerUrl gets a reference to the given string and assigns it to the TriggerUrl field.

func (*DeploymentStateUndeployedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentStateUndeployedAllOf) UnmarshalJSON(bytes []byte) (err error)

type DeploymentVariable ¶

type DeploymentVariable struct {
	// The UUID identifying the variable.
	Uuid *string `json:"uuid,omitempty"`
	// The unique name of the variable.
	Key *string `json:"key,omitempty"`
	// The value of the variable. If the variable is secured, this will be empty.
	Value *string `json:"value,omitempty"`
	// If true, this variable will be treated as secured. The value will never be exposed in the logs or the REST API.
	Secured              *bool `json:"secured,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentVariable A Pipelines deployment variable.

func NewDeploymentVariable ¶

func NewDeploymentVariable() *DeploymentVariable

NewDeploymentVariable instantiates a new DeploymentVariable object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentVariableWithDefaults ¶

func NewDeploymentVariableWithDefaults() *DeploymentVariable

NewDeploymentVariableWithDefaults instantiates a new DeploymentVariable object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentVariable) GetKey ¶

func (o *DeploymentVariable) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*DeploymentVariable) GetKeyOk ¶

func (o *DeploymentVariable) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentVariable) GetSecured ¶

func (o *DeploymentVariable) GetSecured() bool

GetSecured returns the Secured field value if set, zero value otherwise.

func (*DeploymentVariable) GetSecuredOk ¶

func (o *DeploymentVariable) GetSecuredOk() (*bool, bool)

GetSecuredOk returns a tuple with the Secured field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentVariable) GetUuid ¶

func (o *DeploymentVariable) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*DeploymentVariable) GetUuidOk ¶

func (o *DeploymentVariable) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentVariable) GetValue ¶

func (o *DeploymentVariable) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*DeploymentVariable) GetValueOk ¶

func (o *DeploymentVariable) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentVariable) HasKey ¶

func (o *DeploymentVariable) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*DeploymentVariable) HasSecured ¶

func (o *DeploymentVariable) HasSecured() bool

HasSecured returns a boolean if a field has been set.

func (*DeploymentVariable) HasUuid ¶

func (o *DeploymentVariable) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (*DeploymentVariable) HasValue ¶

func (o *DeploymentVariable) HasValue() bool

HasValue returns a boolean if a field has been set.

func (DeploymentVariable) MarshalJSON ¶

func (o DeploymentVariable) MarshalJSON() ([]byte, error)

func (*DeploymentVariable) SetKey ¶

func (o *DeploymentVariable) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*DeploymentVariable) SetSecured ¶

func (o *DeploymentVariable) SetSecured(v bool)

SetSecured gets a reference to the given bool and assigns it to the Secured field.

func (*DeploymentVariable) SetUuid ¶

func (o *DeploymentVariable) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*DeploymentVariable) SetValue ¶

func (o *DeploymentVariable) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (*DeploymentVariable) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentVariable) UnmarshalJSON(bytes []byte) (err error)

type DeploymentsApiCreateEnvironmentRequest ¶

type DeploymentsApiCreateEnvironmentRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiCreateEnvironmentRequest) Body ¶

The environment to create.

func (DeploymentsApiCreateEnvironmentRequest) Execute ¶

type DeploymentsApiDeleteEnvironmentForRepositoryRequest ¶

type DeploymentsApiDeleteEnvironmentForRepositoryRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiDeleteEnvironmentForRepositoryRequest) Execute ¶

type DeploymentsApiGetDeploymentForRepositoryRequest ¶

type DeploymentsApiGetDeploymentForRepositoryRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiGetDeploymentForRepositoryRequest) Execute ¶

type DeploymentsApiGetDeploymentsForRepositoryRequest ¶

type DeploymentsApiGetDeploymentsForRepositoryRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiGetDeploymentsForRepositoryRequest) Execute ¶

type DeploymentsApiGetEnvironmentForRepositoryRequest ¶

type DeploymentsApiGetEnvironmentForRepositoryRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiGetEnvironmentForRepositoryRequest) Execute ¶

type DeploymentsApiGetEnvironmentsForRepositoryRequest ¶

type DeploymentsApiGetEnvironmentsForRepositoryRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiGetEnvironmentsForRepositoryRequest) Execute ¶

type DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysGetRequest ¶

type DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysGetRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysGetRequest) Execute ¶

type DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdDeleteRequest ¶

type DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdDeleteRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdDeleteRequest) Execute ¶

type DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdGetRequest ¶

type DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdGetRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdGetRequest) Execute ¶

type DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdPutRequest ¶

type DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdPutRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdPutRequest) Execute ¶

type DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysPostRequest ¶

type DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysPostRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysPostRequest) Execute ¶

type DeploymentsApiService ¶

type DeploymentsApiService service

DeploymentsApiService DeploymentsApi service

func (*DeploymentsApiService) CreateEnvironment ¶

func (a *DeploymentsApiService) CreateEnvironment(ctx context.Context, workspace string, repoSlug string) DeploymentsApiCreateEnvironmentRequest

CreateEnvironment Create an environment

Create an environment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return DeploymentsApiCreateEnvironmentRequest

func (*DeploymentsApiService) CreateEnvironmentExecute ¶

Execute executes the request

@return DeploymentEnvironment

func (*DeploymentsApiService) DeleteEnvironmentForRepository ¶

func (a *DeploymentsApiService) DeleteEnvironmentForRepository(ctx context.Context, workspace string, repoSlug string, environmentUuid string) DeploymentsApiDeleteEnvironmentForRepositoryRequest

DeleteEnvironmentForRepository Delete an environment

Delete an environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param environmentUuid The environment UUID.
@return DeploymentsApiDeleteEnvironmentForRepositoryRequest

func (*DeploymentsApiService) DeleteEnvironmentForRepositoryExecute ¶

func (a *DeploymentsApiService) DeleteEnvironmentForRepositoryExecute(r DeploymentsApiDeleteEnvironmentForRepositoryRequest) (*http.Response, error)

Execute executes the request

func (*DeploymentsApiService) GetDeploymentForRepository ¶

func (a *DeploymentsApiService) GetDeploymentForRepository(ctx context.Context, workspace string, repoSlug string, deploymentUuid string) DeploymentsApiGetDeploymentForRepositoryRequest

GetDeploymentForRepository Get a deployment

Retrieve a deployment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param deploymentUuid The deployment UUID.
@return DeploymentsApiGetDeploymentForRepositoryRequest

func (*DeploymentsApiService) GetDeploymentForRepositoryExecute ¶

Execute executes the request

@return Deployment

func (*DeploymentsApiService) GetDeploymentsForRepository ¶

func (a *DeploymentsApiService) GetDeploymentsForRepository(ctx context.Context, workspace string, repoSlug string) DeploymentsApiGetDeploymentsForRepositoryRequest

GetDeploymentsForRepository List deployments

Find deployments

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return DeploymentsApiGetDeploymentsForRepositoryRequest

func (*DeploymentsApiService) GetDeploymentsForRepositoryExecute ¶

Execute executes the request

@return PaginatedDeployments

func (*DeploymentsApiService) GetEnvironmentForRepository ¶

func (a *DeploymentsApiService) GetEnvironmentForRepository(ctx context.Context, workspace string, repoSlug string, environmentUuid string) DeploymentsApiGetEnvironmentForRepositoryRequest

GetEnvironmentForRepository Get an environment

Retrieve an environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param environmentUuid The environment UUID.
@return DeploymentsApiGetEnvironmentForRepositoryRequest

func (*DeploymentsApiService) GetEnvironmentForRepositoryExecute ¶

Execute executes the request

@return DeploymentEnvironment

func (*DeploymentsApiService) GetEnvironmentsForRepository ¶

func (a *DeploymentsApiService) GetEnvironmentsForRepository(ctx context.Context, workspace string, repoSlug string) DeploymentsApiGetEnvironmentsForRepositoryRequest

GetEnvironmentsForRepository List environments

Find environments

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return DeploymentsApiGetEnvironmentsForRepositoryRequest

func (*DeploymentsApiService) GetEnvironmentsForRepositoryExecute ¶

Execute executes the request

@return PaginatedEnvironments

func (*DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysGet ¶

func (a *DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysGet(ctx context.Context, repoSlug string, workspace string) DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysGetRequest

RepositoriesWorkspaceRepoSlugDeployKeysGet List deploy keys

Returns all deploy-keys belonging to a repository.

Example: ``` $ curl -H "Authorization <auth header>" \ https://api.bitbucket.org/2.0/repositories/mleu/test/deploy-keys

Output:

{
    "pagelen": 10,
    "values": [
        {
            "id": 123,
            "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAK/b1cHHDr/TEV1JGQl+WjCwStKG6Bhrv0rFpEsYlyTBm1fzN0VOJJYn4ZOPCPJwqse6fGbXntEs+BbXiptR+++HycVgl65TMR0b5ul5AgwrVdZdT7qjCOCgaSV74/9xlHDK8oqgGnfA7ZoBBU+qpVyaloSjBdJfLtPY/xqj4yHnXKYzrtn/uFc4Kp9Tb7PUg9Io3qohSTGJGVHnsVblq/rToJG7L5xIo0OxK0SJSQ5vuId93ZuFZrCNMXj8JDHZeSEtjJzpRCBEXHxpOPhAcbm4MzULgkFHhAVgp4JbkrT99/wpvZ7r9AdkTg7HGqL3rlaDrEcWfL7Lu6TnhBdq5",
            "label": "mykey",
            "type": "deploy_key",
            "created_on": "2018-08-15T23:50:59.993890+00:00",
            "repository": {
                "full_name": "mleu/test",
                "name": "test",
                "type": "repository",
                "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
            },
            "links":{
                "self":{
                    "href": "https://api.bitbucket.org/2.0/repositories/mleu/test/deploy-keys/123"
                }
            }
            "last_used": null,
            "comment": "mleu@C02W454JHTD8"
        }
    ],
    "page": 1,
    "size": 1
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysGetRequest

func (*DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysGetExecute ¶

Execute executes the request

@return PaginatedDeployKeys

func (*DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdDelete ¶

func (a *DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdDelete(ctx context.Context, keyId string, repoSlug string, workspace string) DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdDeleteRequest

RepositoriesWorkspaceRepoSlugDeployKeysKeyIdDelete Delete a deploy key

This deletes a deploy key from a repository.

Example: ``` $ curl -XDELETE \ -H "Authorization <auth header>" \ https://api.bitbucket.org/2.0/repositories/mleu/test/deploy-keys/1234 ```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keyId The key ID matching the deploy key.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdDeleteRequest

func (*DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdDeleteExecute ¶

func (a *DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdDeleteExecute(r DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdGet ¶

func (a *DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdGet(ctx context.Context, keyId string, repoSlug string, workspace string) DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdGetRequest

RepositoriesWorkspaceRepoSlugDeployKeysKeyIdGet Get a deploy key

Returns the deploy key belonging to a specific key.

Example: ``` $ curl -H "Authorization <auth header>" \ https://api.bitbucket.org/2.0/repositories/mleu/test/deploy-key/1234

Output:

{
    "comment": "mleu@C02W454JHTD8",
    "last_used": null,
    "links": {
        "self": {
            "href": https://api.bitbucket.org/2.0/repositories/mleu/test/deploy-key/1234"
        }
    },
    "repository": {
        "full_name": "mleu/test",
        "name": "test",
        "type": "repository",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
    },
    "label": "mykey",
    "created_on": "2018-08-15T23:50:59.993890+00:00",
    "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAK/b1cHHDr/TEV1JGQl+WjCwStKG6Bhrv0rFpEsYlyTBm1fzN0VOJJYn4ZOPCPJwqse6fGbXntEs+BbXiptR+++HycVgl65TMR0b5ul5AgwrVdZdT7qjCOCgaSV74/9xlHDK8oqgGnfA7ZoBBU+qpVyaloSjBdJfLtPY/xqj4yHnXKYzrtn/uFc4Kp9Tb7PUg9Io3qohSTGJGVHnsVblq/rToJG7L5xIo0OxK0SJSQ5vuId93ZuFZrCNMXj8JDHZeSEtjJzpRCBEXHxpOPhAcbm4MzULgkFHhAVgp4JbkrT99/wpvZ7r9AdkTg7HGqL3rlaDrEcWfL7Lu6TnhBdq5",
    "id": 1234,
    "type": "deploy_key"
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keyId The key ID matching the deploy key.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdGetRequest

func (*DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdGetExecute ¶

func (a *DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdGetExecute(r DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdGetRequest) (*DeployKey, *http.Response, error)

Execute executes the request

@return DeployKey

func (*DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdPut ¶

func (a *DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdPut(ctx context.Context, keyId string, repoSlug string, workspace string) DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdPutRequest

RepositoriesWorkspaceRepoSlugDeployKeysKeyIdPut Update a deploy key

Create a new deploy key in a repository.

The same key needs to be passed in but the comment and label can change.

Example: ``` $ curl -XPUT \ -H "Authorization <auth header>" \ -H "Content-type: application/json" \ https://api.bitbucket.org/2.0/repositories/mleu/test/deploy-keys/1234 -d \

'{
    "label": "newlabel",
    "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAK/b1cHHDr/TEV1JGQl+WjCwStKG6Bhrv0rFpEsYlyTBm1fzN0VOJJYn4ZOPCPJwqse6fGbXntEs+BbXiptR+++HycVgl65TMR0b5ul5AgwrVdZdT7qjCOCgaSV74/9xlHDK8oqgGnfA7ZoBBU+qpVyaloSjBdJfLtPY/xqj4yHnXKYzrtn/uFc4Kp9Tb7PUg9Io3qohSTGJGVHnsVblq/rToJG7L5xIo0OxK0SJSQ5vuId93ZuFZrCNMXj8JDHZeSEtjJzpRCBEXHxpOPhAcbm4MzULgkFHhAVgp4JbkrT99/wpvZ7r9AdkTg7HGqL3rlaDrEcWfL7Lu6TnhBdq5 newcomment",
}'

Output:

{
    "comment": "newcomment",
    "last_used": null,
    "links": {
        "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/mleu/test/deploy-keys/1234"
        }
    },
    "repository": {
        "full_name": "mleu/test",
        "name": "test",
        "type": "repository",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
    },
    "label": "newlabel",
    "created_on": "2018-08-15T23:50:59.993890+00:00",
    "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAK/b1cHHDr/TEV1JGQl+WjCwStKG6Bhrv0rFpEsYlyTBm1fzN0VOJJYn4ZOPCPJwqse6fGbXntEs+BbXiptR+++HycVgl65TMR0b5ul5AgwrVdZdT7qjCOCgaSV74/9xlHDK8oqgGnfA7ZoBBU+qpVyaloSjBdJfLtPY/xqj4yHnXKYzrtn/uFc4Kp9Tb7PUg9Io3qohSTGJGVHnsVblq/rToJG7L5xIo0OxK0SJSQ5vuId93ZuFZrCNMXj8JDHZeSEtjJzpRCBEXHxpOPhAcbm4MzULgkFHhAVgp4JbkrT99/wpvZ7r9AdkTg7HGqL3rlaDrEcWfL7Lu6TnhBdq5",
    "id": 1234,
    "type": "deploy_key"
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keyId The key ID matching the deploy key.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdPutRequest

func (*DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdPutExecute ¶

func (a *DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysKeyIdPutExecute(r DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysKeyIdPutRequest) (*DeployKey, *http.Response, error)

Execute executes the request

@return DeployKey

func (*DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysPost ¶

func (a *DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysPost(ctx context.Context, repoSlug string, workspace string) DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysPostRequest

RepositoriesWorkspaceRepoSlugDeployKeysPost Add a deploy key

Create a new deploy key in a repository. Note: If authenticating a deploy key with an OAuth consumer, any changes to the OAuth consumer will subsequently invalidate the deploy key.

Example: ``` $ curl -XPOST \ -H "Authorization <auth header>" \ -H "Content-type: application/json" \ https://api.bitbucket.org/2.0/repositories/mleu/test/deploy-keys -d \

'{
    "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAK/b1cHHDr/TEV1JGQl+WjCwStKG6Bhrv0rFpEsYlyTBm1fzN0VOJJYn4ZOPCPJwqse6fGbXntEs+BbXiptR+++HycVgl65TMR0b5ul5AgwrVdZdT7qjCOCgaSV74/9xlHDK8oqgGnfA7ZoBBU+qpVyaloSjBdJfLtPY/xqj4yHnXKYzrtn/uFc4Kp9Tb7PUg9Io3qohSTGJGVHnsVblq/rToJG7L5xIo0OxK0SJSQ5vuId93ZuFZrCNMXj8JDHZeSEtjJzpRCBEXHxpOPhAcbm4MzULgkFHhAVgp4JbkrT99/wpvZ7r9AdkTg7HGqL3rlaDrEcWfL7Lu6TnhBdq5 mleu@C02W454JHTD8",
    "label": "mydeploykey"
}'

Output:

{
    "id": 123,
    "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAK/b1cHHDr/TEV1JGQl+WjCwStKG6Bhrv0rFpEsYlyTBm1fzN0VOJJYn4ZOPCPJwqse6fGbXntEs+BbXiptR+++HycVgl65TMR0b5ul5AgwrVdZdT7qjCOCgaSV74/9xlHDK8oqgGnfA7ZoBBU+qpVyaloSjBdJfLtPY/xqj4yHnXKYzrtn/uFc4Kp9Tb7PUg9Io3qohSTGJGVHnsVblq/rToJG7L5xIo0OxK0SJSQ5vuId93ZuFZrCNMXj8JDHZeSEtjJzpRCBEXHxpOPhAcbm4MzULgkFHhAVgp4JbkrT99/wpvZ7r9AdkTg7HGqL3rlaDrEcWfL7Lu6TnhBdq5",
    "label": "mydeploykey",
    "type": "deploy_key",
    "created_on": "2018-08-15T23:50:59.993890+00:00",
    "repository": {
        "full_name": "mleu/test",
        "name": "test",
        "type": "repository",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
    },
    "links":{
        "self":{
            "href": "https://api.bitbucket.org/2.0/repositories/mleu/test/deploy-keys/123"
        }
    }
    "last_used": null,
    "comment": "mleu@C02W454JHTD8"
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysPostRequest

func (*DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysPostExecute ¶

func (a *DeploymentsApiService) RepositoriesWorkspaceRepoSlugDeployKeysPostExecute(r DeploymentsApiRepositoriesWorkspaceRepoSlugDeployKeysPostRequest) (*DeployKey, *http.Response, error)

Execute executes the request

@return DeployKey

func (*DeploymentsApiService) UpdateEnvironmentForRepository ¶

func (a *DeploymentsApiService) UpdateEnvironmentForRepository(ctx context.Context, workspace string, repoSlug string, environmentUuid string) DeploymentsApiUpdateEnvironmentForRepositoryRequest

UpdateEnvironmentForRepository Update an environment

Update an environment

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param environmentUuid The environment UUID.
@return DeploymentsApiUpdateEnvironmentForRepositoryRequest

func (*DeploymentsApiService) UpdateEnvironmentForRepositoryExecute ¶

func (a *DeploymentsApiService) UpdateEnvironmentForRepositoryExecute(r DeploymentsApiUpdateEnvironmentForRepositoryRequest) (*http.Response, error)

Execute executes the request

type DeploymentsApiUpdateEnvironmentForRepositoryRequest ¶

type DeploymentsApiUpdateEnvironmentForRepositoryRequest struct {
	ApiService *DeploymentsApiService
	// contains filtered or unexported fields
}

func (DeploymentsApiUpdateEnvironmentForRepositoryRequest) Execute ¶

type DeploymentsDdevDeploymentEnvironment ¶

type DeploymentsDdevDeploymentEnvironment struct {
	Object
	// The UUID identifying the environment.
	Uuid *string `json:"uuid,omitempty"`
	// The name of the environment.
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentsDdevDeploymentEnvironment struct for DeploymentsDdevDeploymentEnvironment

func NewDeploymentsDdevDeploymentEnvironment ¶

func NewDeploymentsDdevDeploymentEnvironment() *DeploymentsDdevDeploymentEnvironment

NewDeploymentsDdevDeploymentEnvironment instantiates a new DeploymentsDdevDeploymentEnvironment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentsDdevDeploymentEnvironmentWithDefaults ¶

func NewDeploymentsDdevDeploymentEnvironmentWithDefaults() *DeploymentsDdevDeploymentEnvironment

NewDeploymentsDdevDeploymentEnvironmentWithDefaults instantiates a new DeploymentsDdevDeploymentEnvironment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentsDdevDeploymentEnvironment) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentsDdevDeploymentEnvironment) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsDdevDeploymentEnvironment) GetUuid ¶

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*DeploymentsDdevDeploymentEnvironment) GetUuidOk ¶

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsDdevDeploymentEnvironment) HasName ¶

HasName returns a boolean if a field has been set.

func (*DeploymentsDdevDeploymentEnvironment) HasUuid ¶

HasUuid returns a boolean if a field has been set.

func (DeploymentsDdevDeploymentEnvironment) MarshalJSON ¶

func (o DeploymentsDdevDeploymentEnvironment) MarshalJSON() ([]byte, error)

func (*DeploymentsDdevDeploymentEnvironment) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentsDdevDeploymentEnvironment) SetUuid ¶

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*DeploymentsDdevDeploymentEnvironment) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentsDdevDeploymentEnvironment) UnmarshalJSON(bytes []byte) (err error)

type DeploymentsDdevDeploymentEnvironmentLock ¶

type DeploymentsDdevDeploymentEnvironmentLock struct {
	Object
	// The UUID identifying the environment.
	EnvironmentUuid      *string `json:"environmentUuid,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentsDdevDeploymentEnvironmentLock struct for DeploymentsDdevDeploymentEnvironmentLock

func NewDeploymentsDdevDeploymentEnvironmentLock ¶

func NewDeploymentsDdevDeploymentEnvironmentLock() *DeploymentsDdevDeploymentEnvironmentLock

NewDeploymentsDdevDeploymentEnvironmentLock instantiates a new DeploymentsDdevDeploymentEnvironmentLock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentsDdevDeploymentEnvironmentLockWithDefaults ¶

func NewDeploymentsDdevDeploymentEnvironmentLockWithDefaults() *DeploymentsDdevDeploymentEnvironmentLock

NewDeploymentsDdevDeploymentEnvironmentLockWithDefaults instantiates a new DeploymentsDdevDeploymentEnvironmentLock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentsDdevDeploymentEnvironmentLock) GetEnvironmentUuid ¶

func (o *DeploymentsDdevDeploymentEnvironmentLock) GetEnvironmentUuid() string

GetEnvironmentUuid returns the EnvironmentUuid field value if set, zero value otherwise.

func (*DeploymentsDdevDeploymentEnvironmentLock) GetEnvironmentUuidOk ¶

func (o *DeploymentsDdevDeploymentEnvironmentLock) GetEnvironmentUuidOk() (*string, bool)

GetEnvironmentUuidOk returns a tuple with the EnvironmentUuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsDdevDeploymentEnvironmentLock) HasEnvironmentUuid ¶

func (o *DeploymentsDdevDeploymentEnvironmentLock) HasEnvironmentUuid() bool

HasEnvironmentUuid returns a boolean if a field has been set.

func (DeploymentsDdevDeploymentEnvironmentLock) MarshalJSON ¶

func (*DeploymentsDdevDeploymentEnvironmentLock) SetEnvironmentUuid ¶

func (o *DeploymentsDdevDeploymentEnvironmentLock) SetEnvironmentUuid(v string)

SetEnvironmentUuid gets a reference to the given string and assigns it to the EnvironmentUuid field.

func (*DeploymentsDdevDeploymentEnvironmentLock) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentsDdevDeploymentEnvironmentLock) UnmarshalJSON(bytes []byte) (err error)

type DeploymentsDdevPaginatedEnvironments ¶

type DeploymentsDdevPaginatedEnvironments struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []DeploymentsDdevDeploymentEnvironment `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentsDdevPaginatedEnvironments A paged list of environments

func NewDeploymentsDdevPaginatedEnvironments ¶

func NewDeploymentsDdevPaginatedEnvironments() *DeploymentsDdevPaginatedEnvironments

NewDeploymentsDdevPaginatedEnvironments instantiates a new DeploymentsDdevPaginatedEnvironments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentsDdevPaginatedEnvironmentsWithDefaults ¶

func NewDeploymentsDdevPaginatedEnvironmentsWithDefaults() *DeploymentsDdevPaginatedEnvironments

NewDeploymentsDdevPaginatedEnvironmentsWithDefaults instantiates a new DeploymentsDdevPaginatedEnvironments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentsDdevPaginatedEnvironments) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*DeploymentsDdevPaginatedEnvironments) GetNextOk ¶

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsDdevPaginatedEnvironments) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*DeploymentsDdevPaginatedEnvironments) GetPageOk ¶

func (o *DeploymentsDdevPaginatedEnvironments) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsDdevPaginatedEnvironments) GetPagelen ¶

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*DeploymentsDdevPaginatedEnvironments) GetPagelenOk ¶

func (o *DeploymentsDdevPaginatedEnvironments) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsDdevPaginatedEnvironments) GetPrevious ¶

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*DeploymentsDdevPaginatedEnvironments) GetPreviousOk ¶

func (o *DeploymentsDdevPaginatedEnvironments) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsDdevPaginatedEnvironments) GetSize ¶

GetSize returns the Size field value if set, zero value otherwise.

func (*DeploymentsDdevPaginatedEnvironments) GetSizeOk ¶

func (o *DeploymentsDdevPaginatedEnvironments) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsDdevPaginatedEnvironments) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*DeploymentsDdevPaginatedEnvironments) GetValuesOk ¶

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsDdevPaginatedEnvironments) HasNext ¶

HasNext returns a boolean if a field has been set.

func (*DeploymentsDdevPaginatedEnvironments) HasPage ¶

HasPage returns a boolean if a field has been set.

func (*DeploymentsDdevPaginatedEnvironments) HasPagelen ¶

HasPagelen returns a boolean if a field has been set.

func (*DeploymentsDdevPaginatedEnvironments) HasPrevious ¶

func (o *DeploymentsDdevPaginatedEnvironments) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*DeploymentsDdevPaginatedEnvironments) HasSize ¶

HasSize returns a boolean if a field has been set.

func (*DeploymentsDdevPaginatedEnvironments) HasValues ¶

HasValues returns a boolean if a field has been set.

func (DeploymentsDdevPaginatedEnvironments) MarshalJSON ¶

func (o DeploymentsDdevPaginatedEnvironments) MarshalJSON() ([]byte, error)

func (*DeploymentsDdevPaginatedEnvironments) SetNext ¶

SetNext gets a reference to the given string and assigns it to the Next field.

func (*DeploymentsDdevPaginatedEnvironments) SetPage ¶

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*DeploymentsDdevPaginatedEnvironments) SetPagelen ¶

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*DeploymentsDdevPaginatedEnvironments) SetPrevious ¶

func (o *DeploymentsDdevPaginatedEnvironments) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*DeploymentsDdevPaginatedEnvironments) SetSize ¶

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*DeploymentsDdevPaginatedEnvironments) SetValues ¶

SetValues gets a reference to the given []DeploymentsDdevDeploymentEnvironment and assigns it to the Values field.

func (*DeploymentsDdevPaginatedEnvironments) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentsDdevPaginatedEnvironments) UnmarshalJSON(bytes []byte) (err error)

type DeploymentsStgWestDeploymentEnvironment ¶

type DeploymentsStgWestDeploymentEnvironment struct {
	Object
	// The UUID identifying the environment.
	Uuid *string `json:"uuid,omitempty"`
	// The name of the environment.
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentsStgWestDeploymentEnvironment struct for DeploymentsStgWestDeploymentEnvironment

func NewDeploymentsStgWestDeploymentEnvironment ¶

func NewDeploymentsStgWestDeploymentEnvironment() *DeploymentsStgWestDeploymentEnvironment

NewDeploymentsStgWestDeploymentEnvironment instantiates a new DeploymentsStgWestDeploymentEnvironment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentsStgWestDeploymentEnvironmentWithDefaults ¶

func NewDeploymentsStgWestDeploymentEnvironmentWithDefaults() *DeploymentsStgWestDeploymentEnvironment

NewDeploymentsStgWestDeploymentEnvironmentWithDefaults instantiates a new DeploymentsStgWestDeploymentEnvironment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentsStgWestDeploymentEnvironment) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*DeploymentsStgWestDeploymentEnvironment) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsStgWestDeploymentEnvironment) GetUuid ¶

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*DeploymentsStgWestDeploymentEnvironment) GetUuidOk ¶

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsStgWestDeploymentEnvironment) HasName ¶

HasName returns a boolean if a field has been set.

func (*DeploymentsStgWestDeploymentEnvironment) HasUuid ¶

HasUuid returns a boolean if a field has been set.

func (DeploymentsStgWestDeploymentEnvironment) MarshalJSON ¶

func (o DeploymentsStgWestDeploymentEnvironment) MarshalJSON() ([]byte, error)

func (*DeploymentsStgWestDeploymentEnvironment) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*DeploymentsStgWestDeploymentEnvironment) SetUuid ¶

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*DeploymentsStgWestDeploymentEnvironment) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentsStgWestDeploymentEnvironment) UnmarshalJSON(bytes []byte) (err error)

type DeploymentsStgWestDeploymentEnvironmentLock ¶

type DeploymentsStgWestDeploymentEnvironmentLock struct {
	Object
	// The UUID identifying the environment.
	EnvironmentUuid      *string `json:"environmentUuid,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentsStgWestDeploymentEnvironmentLock struct for DeploymentsStgWestDeploymentEnvironmentLock

func NewDeploymentsStgWestDeploymentEnvironmentLock ¶

func NewDeploymentsStgWestDeploymentEnvironmentLock() *DeploymentsStgWestDeploymentEnvironmentLock

NewDeploymentsStgWestDeploymentEnvironmentLock instantiates a new DeploymentsStgWestDeploymentEnvironmentLock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentsStgWestDeploymentEnvironmentLockWithDefaults ¶

func NewDeploymentsStgWestDeploymentEnvironmentLockWithDefaults() *DeploymentsStgWestDeploymentEnvironmentLock

NewDeploymentsStgWestDeploymentEnvironmentLockWithDefaults instantiates a new DeploymentsStgWestDeploymentEnvironmentLock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentsStgWestDeploymentEnvironmentLock) GetEnvironmentUuid ¶

func (o *DeploymentsStgWestDeploymentEnvironmentLock) GetEnvironmentUuid() string

GetEnvironmentUuid returns the EnvironmentUuid field value if set, zero value otherwise.

func (*DeploymentsStgWestDeploymentEnvironmentLock) GetEnvironmentUuidOk ¶

func (o *DeploymentsStgWestDeploymentEnvironmentLock) GetEnvironmentUuidOk() (*string, bool)

GetEnvironmentUuidOk returns a tuple with the EnvironmentUuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsStgWestDeploymentEnvironmentLock) HasEnvironmentUuid ¶

func (o *DeploymentsStgWestDeploymentEnvironmentLock) HasEnvironmentUuid() bool

HasEnvironmentUuid returns a boolean if a field has been set.

func (DeploymentsStgWestDeploymentEnvironmentLock) MarshalJSON ¶

func (*DeploymentsStgWestDeploymentEnvironmentLock) SetEnvironmentUuid ¶

func (o *DeploymentsStgWestDeploymentEnvironmentLock) SetEnvironmentUuid(v string)

SetEnvironmentUuid gets a reference to the given string and assigns it to the EnvironmentUuid field.

func (*DeploymentsStgWestDeploymentEnvironmentLock) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentsStgWestDeploymentEnvironmentLock) UnmarshalJSON(bytes []byte) (err error)

type DeploymentsStgWestPaginatedEnvironments ¶

type DeploymentsStgWestPaginatedEnvironments struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []DeploymentsStgWestDeploymentEnvironment `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

DeploymentsStgWestPaginatedEnvironments A paged list of environments

func NewDeploymentsStgWestPaginatedEnvironments ¶

func NewDeploymentsStgWestPaginatedEnvironments() *DeploymentsStgWestPaginatedEnvironments

NewDeploymentsStgWestPaginatedEnvironments instantiates a new DeploymentsStgWestPaginatedEnvironments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDeploymentsStgWestPaginatedEnvironmentsWithDefaults ¶

func NewDeploymentsStgWestPaginatedEnvironmentsWithDefaults() *DeploymentsStgWestPaginatedEnvironments

NewDeploymentsStgWestPaginatedEnvironmentsWithDefaults instantiates a new DeploymentsStgWestPaginatedEnvironments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DeploymentsStgWestPaginatedEnvironments) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*DeploymentsStgWestPaginatedEnvironments) GetNextOk ¶

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsStgWestPaginatedEnvironments) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*DeploymentsStgWestPaginatedEnvironments) GetPageOk ¶

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsStgWestPaginatedEnvironments) GetPagelen ¶

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*DeploymentsStgWestPaginatedEnvironments) GetPagelenOk ¶

func (o *DeploymentsStgWestPaginatedEnvironments) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsStgWestPaginatedEnvironments) GetPrevious ¶

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*DeploymentsStgWestPaginatedEnvironments) GetPreviousOk ¶

func (o *DeploymentsStgWestPaginatedEnvironments) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsStgWestPaginatedEnvironments) GetSize ¶

GetSize returns the Size field value if set, zero value otherwise.

func (*DeploymentsStgWestPaginatedEnvironments) GetSizeOk ¶

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsStgWestPaginatedEnvironments) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*DeploymentsStgWestPaginatedEnvironments) GetValuesOk ¶

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DeploymentsStgWestPaginatedEnvironments) HasNext ¶

HasNext returns a boolean if a field has been set.

func (*DeploymentsStgWestPaginatedEnvironments) HasPage ¶

HasPage returns a boolean if a field has been set.

func (*DeploymentsStgWestPaginatedEnvironments) HasPagelen ¶

HasPagelen returns a boolean if a field has been set.

func (*DeploymentsStgWestPaginatedEnvironments) HasPrevious ¶

HasPrevious returns a boolean if a field has been set.

func (*DeploymentsStgWestPaginatedEnvironments) HasSize ¶

HasSize returns a boolean if a field has been set.

func (*DeploymentsStgWestPaginatedEnvironments) HasValues ¶

HasValues returns a boolean if a field has been set.

func (DeploymentsStgWestPaginatedEnvironments) MarshalJSON ¶

func (o DeploymentsStgWestPaginatedEnvironments) MarshalJSON() ([]byte, error)

func (*DeploymentsStgWestPaginatedEnvironments) SetNext ¶

SetNext gets a reference to the given string and assigns it to the Next field.

func (*DeploymentsStgWestPaginatedEnvironments) SetPage ¶

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*DeploymentsStgWestPaginatedEnvironments) SetPagelen ¶

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*DeploymentsStgWestPaginatedEnvironments) SetPrevious ¶

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*DeploymentsStgWestPaginatedEnvironments) SetSize ¶

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*DeploymentsStgWestPaginatedEnvironments) SetValues ¶

SetValues gets a reference to the given []DeploymentsStgWestDeploymentEnvironment and assigns it to the Values field.

func (*DeploymentsStgWestPaginatedEnvironments) UnmarshalJSON ¶ added in v0.0.3

func (o *DeploymentsStgWestPaginatedEnvironments) UnmarshalJSON(bytes []byte) (err error)

type Diffstat ¶

type Diffstat struct {
	Type                 string      `json:"type"`
	Status               *string     `json:"status,omitempty"`
	LinesAdded           *int32      `json:"lines_added,omitempty"`
	LinesRemoved         *int32      `json:"lines_removed,omitempty"`
	Old                  *CommitFile `json:"old,omitempty"`
	New                  *CommitFile `json:"new,omitempty"`
	AdditionalProperties map[string]interface{}
}

Diffstat A diffstat object that includes a summary of changes made to a file between two commits.

func NewDiffstat ¶

func NewDiffstat() *Diffstat

NewDiffstat instantiates a new Diffstat object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDiffstatWithDefaults ¶

func NewDiffstatWithDefaults() *Diffstat

NewDiffstatWithDefaults instantiates a new Diffstat object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Diffstat) GetLinesAdded ¶

func (o *Diffstat) GetLinesAdded() int32

GetLinesAdded returns the LinesAdded field value if set, zero value otherwise.

func (*Diffstat) GetLinesAddedOk ¶

func (o *Diffstat) GetLinesAddedOk() (*int32, bool)

GetLinesAddedOk returns a tuple with the LinesAdded field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Diffstat) GetLinesRemoved ¶

func (o *Diffstat) GetLinesRemoved() int32

GetLinesRemoved returns the LinesRemoved field value if set, zero value otherwise.

func (*Diffstat) GetLinesRemovedOk ¶

func (o *Diffstat) GetLinesRemovedOk() (*int32, bool)

GetLinesRemovedOk returns a tuple with the LinesRemoved field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Diffstat) GetNew ¶

func (o *Diffstat) GetNew() CommitFile

GetNew returns the New field value if set, zero value otherwise.

func (*Diffstat) GetNewOk ¶

func (o *Diffstat) GetNewOk() (*CommitFile, bool)

GetNewOk returns a tuple with the New field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Diffstat) GetOld ¶

func (o *Diffstat) GetOld() CommitFile

GetOld returns the Old field value if set, zero value otherwise.

func (*Diffstat) GetOldOk ¶

func (o *Diffstat) GetOldOk() (*CommitFile, bool)

GetOldOk returns a tuple with the Old field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Diffstat) GetStatus ¶

func (o *Diffstat) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Diffstat) GetStatusOk ¶

func (o *Diffstat) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Diffstat) GetType ¶

func (o *Diffstat) GetType() string

GetType returns the Type field value

func (*Diffstat) GetTypeOk ¶

func (o *Diffstat) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Diffstat) HasLinesAdded ¶

func (o *Diffstat) HasLinesAdded() bool

HasLinesAdded returns a boolean if a field has been set.

func (*Diffstat) HasLinesRemoved ¶

func (o *Diffstat) HasLinesRemoved() bool

HasLinesRemoved returns a boolean if a field has been set.

func (*Diffstat) HasNew ¶

func (o *Diffstat) HasNew() bool

HasNew returns a boolean if a field has been set.

func (*Diffstat) HasOld ¶

func (o *Diffstat) HasOld() bool

HasOld returns a boolean if a field has been set.

func (*Diffstat) HasStatus ¶

func (o *Diffstat) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (Diffstat) MarshalJSON ¶

func (o Diffstat) MarshalJSON() ([]byte, error)

func (*Diffstat) SetLinesAdded ¶

func (o *Diffstat) SetLinesAdded(v int32)

SetLinesAdded gets a reference to the given int32 and assigns it to the LinesAdded field.

func (*Diffstat) SetLinesRemoved ¶

func (o *Diffstat) SetLinesRemoved(v int32)

SetLinesRemoved gets a reference to the given int32 and assigns it to the LinesRemoved field.

func (*Diffstat) SetNew ¶

func (o *Diffstat) SetNew(v CommitFile)

SetNew gets a reference to the given CommitFile and assigns it to the New field.

func (*Diffstat) SetOld ¶

func (o *Diffstat) SetOld(v CommitFile)

SetOld gets a reference to the given CommitFile and assigns it to the Old field.

func (*Diffstat) SetStatus ¶

func (o *Diffstat) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*Diffstat) SetType ¶

func (o *Diffstat) SetType(v string)

SetType sets field value

func (*Diffstat) UnmarshalJSON ¶ added in v0.0.3

func (o *Diffstat) UnmarshalJSON(bytes []byte) (err error)

type DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameDeleteRequest ¶

type DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameDeleteRequest struct {
	ApiService *DownloadsApiService
	// contains filtered or unexported fields
}

func (DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameDeleteRequest) Execute ¶

type DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameGetRequest ¶

type DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameGetRequest struct {
	ApiService *DownloadsApiService
	// contains filtered or unexported fields
}

func (DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameGetRequest) Execute ¶

type DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsGetRequest ¶

type DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsGetRequest struct {
	ApiService *DownloadsApiService
	// contains filtered or unexported fields
}

func (DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsGetRequest) Execute ¶

type DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsPostRequest ¶

type DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsPostRequest struct {
	ApiService *DownloadsApiService
	// contains filtered or unexported fields
}

func (DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsPostRequest) Execute ¶

type DownloadsApiService ¶

type DownloadsApiService service

DownloadsApiService DownloadsApi service

func (*DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsFilenameDelete ¶

func (a *DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsFilenameDelete(ctx context.Context, filename string, repoSlug string, workspace string) DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameDeleteRequest

RepositoriesWorkspaceRepoSlugDownloadsFilenameDelete Delete a download artifact

Deletes the specified download artifact from the repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param filename Name of the file.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameDeleteRequest

func (*DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsFilenameDeleteExecute ¶

func (a *DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsFilenameDeleteExecute(r DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsFilenameGet ¶

func (a *DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsFilenameGet(ctx context.Context, filename string, repoSlug string, workspace string) DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameGetRequest

RepositoriesWorkspaceRepoSlugDownloadsFilenameGet Get a download artifact link

Return a redirect to the contents of a download artifact.

This endpoint returns the actual file contents and not the artifact's metadata.

   $ curl -s -L https://api.bitbucket.org/2.0/repositories/evzijst/git-tests/downloads/hello.txt
   Hello World

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param filename Name of the file.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameGetRequest

func (*DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsFilenameGetExecute ¶

func (a *DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsFilenameGetExecute(r DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsFilenameGetRequest) (*http.Response, error)

Execute executes the request

func (*DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsGet ¶

func (a *DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsGet(ctx context.Context, repoSlug string, workspace string) DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsGetRequest

RepositoriesWorkspaceRepoSlugDownloadsGet List download artifacts

Returns a list of download links associated with the repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsGetRequest

func (*DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsGetExecute ¶

func (a *DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsGetExecute(r DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsGetRequest) (*http.Response, error)

Execute executes the request

func (*DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsPost ¶

func (a *DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsPost(ctx context.Context, repoSlug string, workspace string) DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsPostRequest

RepositoriesWorkspaceRepoSlugDownloadsPost Upload a download artifact

Upload new download artifacts.

To upload files, perform a `multipart/form-data` POST containing one or more `files` fields:

$ echo Hello World > hello.txt
$ curl -s -u evzijst -X POST https://api.bitbucket.org/2.0/repositories/evzijst/git-tests/downloads -F files=@hello.txt

When a file is uploaded with the same name as an existing artifact, then the existing file will be replaced.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsPostRequest

func (*DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsPostExecute ¶

func (a *DownloadsApiService) RepositoriesWorkspaceRepoSlugDownloadsPostExecute(r DownloadsApiRepositoriesWorkspaceRepoSlugDownloadsPostRequest) (*http.Response, error)

Execute executes the request

type ErrorError ¶

type ErrorError struct {
	Message string  `json:"message"`
	Detail  *string `json:"detail,omitempty"`
	// Optional structured data that is endpoint-specific.
	Data                 map[string]interface{} `json:"data,omitempty"`
	AdditionalProperties map[string]interface{}
}

ErrorError struct for ErrorError

func NewErrorError ¶

func NewErrorError(message string) *ErrorError

NewErrorError instantiates a new ErrorError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorErrorWithDefaults ¶

func NewErrorErrorWithDefaults() *ErrorError

NewErrorErrorWithDefaults instantiates a new ErrorError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorError) GetData ¶

func (o *ErrorError) GetData() map[string]interface{}

GetData returns the Data field value if set, zero value otherwise.

func (*ErrorError) GetDataOk ¶

func (o *ErrorError) GetDataOk() (map[string]interface{}, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorError) GetDetail ¶

func (o *ErrorError) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*ErrorError) GetDetailOk ¶

func (o *ErrorError) GetDetailOk() (*string, bool)

GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ErrorError) GetMessage ¶

func (o *ErrorError) GetMessage() string

GetMessage returns the Message field value

func (*ErrorError) GetMessageOk ¶

func (o *ErrorError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*ErrorError) HasData ¶

func (o *ErrorError) HasData() bool

HasData returns a boolean if a field has been set.

func (*ErrorError) HasDetail ¶

func (o *ErrorError) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (ErrorError) MarshalJSON ¶

func (o ErrorError) MarshalJSON() ([]byte, error)

func (*ErrorError) SetData ¶

func (o *ErrorError) SetData(v map[string]interface{})

SetData gets a reference to the given map[string]interface{} and assigns it to the Data field.

func (*ErrorError) SetDetail ¶

func (o *ErrorError) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (*ErrorError) SetMessage ¶

func (o *ErrorError) SetMessage(v string)

SetMessage sets field value

func (*ErrorError) UnmarshalJSON ¶ added in v0.0.3

func (o *ErrorError) UnmarshalJSON(bytes []byte) (err error)

type ExportOptions ¶

type ExportOptions struct {
	Type                 string  `json:"type"`
	ProjectKey           *string `json:"project_key,omitempty"`
	ProjectName          *string `json:"project_name,omitempty"`
	SendEmail            *bool   `json:"send_email,omitempty"`
	IncludeAttachments   *bool   `json:"include_attachments,omitempty"`
	AdditionalProperties map[string]interface{}
}

ExportOptions Options for issue export.

func NewExportOptions ¶

func NewExportOptions() *ExportOptions

NewExportOptions instantiates a new ExportOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewExportOptionsWithDefaults ¶

func NewExportOptionsWithDefaults() *ExportOptions

NewExportOptionsWithDefaults instantiates a new ExportOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ExportOptions) GetIncludeAttachments ¶

func (o *ExportOptions) GetIncludeAttachments() bool

GetIncludeAttachments returns the IncludeAttachments field value if set, zero value otherwise.

func (*ExportOptions) GetIncludeAttachmentsOk ¶

func (o *ExportOptions) GetIncludeAttachmentsOk() (*bool, bool)

GetIncludeAttachmentsOk returns a tuple with the IncludeAttachments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExportOptions) GetProjectKey ¶

func (o *ExportOptions) GetProjectKey() string

GetProjectKey returns the ProjectKey field value if set, zero value otherwise.

func (*ExportOptions) GetProjectKeyOk ¶

func (o *ExportOptions) GetProjectKeyOk() (*string, bool)

GetProjectKeyOk returns a tuple with the ProjectKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExportOptions) GetProjectName ¶

func (o *ExportOptions) GetProjectName() string

GetProjectName returns the ProjectName field value if set, zero value otherwise.

func (*ExportOptions) GetProjectNameOk ¶

func (o *ExportOptions) GetProjectNameOk() (*string, bool)

GetProjectNameOk returns a tuple with the ProjectName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExportOptions) GetSendEmail ¶

func (o *ExportOptions) GetSendEmail() bool

GetSendEmail returns the SendEmail field value if set, zero value otherwise.

func (*ExportOptions) GetSendEmailOk ¶

func (o *ExportOptions) GetSendEmailOk() (*bool, bool)

GetSendEmailOk returns a tuple with the SendEmail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ExportOptions) GetType ¶

func (o *ExportOptions) GetType() string

GetType returns the Type field value

func (*ExportOptions) GetTypeOk ¶

func (o *ExportOptions) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ExportOptions) HasIncludeAttachments ¶

func (o *ExportOptions) HasIncludeAttachments() bool

HasIncludeAttachments returns a boolean if a field has been set.

func (*ExportOptions) HasProjectKey ¶

func (o *ExportOptions) HasProjectKey() bool

HasProjectKey returns a boolean if a field has been set.

func (*ExportOptions) HasProjectName ¶

func (o *ExportOptions) HasProjectName() bool

HasProjectName returns a boolean if a field has been set.

func (*ExportOptions) HasSendEmail ¶

func (o *ExportOptions) HasSendEmail() bool

HasSendEmail returns a boolean if a field has been set.

func (ExportOptions) MarshalJSON ¶

func (o ExportOptions) MarshalJSON() ([]byte, error)

func (*ExportOptions) SetIncludeAttachments ¶

func (o *ExportOptions) SetIncludeAttachments(v bool)

SetIncludeAttachments gets a reference to the given bool and assigns it to the IncludeAttachments field.

func (*ExportOptions) SetProjectKey ¶

func (o *ExportOptions) SetProjectKey(v string)

SetProjectKey gets a reference to the given string and assigns it to the ProjectKey field.

func (*ExportOptions) SetProjectName ¶

func (o *ExportOptions) SetProjectName(v string)

SetProjectName gets a reference to the given string and assigns it to the ProjectName field.

func (*ExportOptions) SetSendEmail ¶

func (o *ExportOptions) SetSendEmail(v bool)

SetSendEmail gets a reference to the given bool and assigns it to the SendEmail field.

func (*ExportOptions) SetType ¶

func (o *ExportOptions) SetType(v string)

SetType sets field value

func (*ExportOptions) UnmarshalJSON ¶ added in v0.0.3

func (o *ExportOptions) UnmarshalJSON(bytes []byte) (err error)

type GenericOpenAPIError ¶

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body ¶

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error ¶

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model ¶

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type Group ¶

type Group struct {
	Links     *GroupLinks `json:"links,omitempty"`
	Owner     *Account    `json:"owner,omitempty"`
	Workspace *Workspace  `json:"workspace,omitempty"`
	Name      *string     `json:"name,omitempty"`
	// The \"sluggified\" version of the group's name. This contains only ASCII characters and can therefore be slightly different than the name
	Slug *string `json:"slug,omitempty"`
	// The concatenation of the workspace's slug and the group's slug, separated with a colon (e.g. `acme:developers`)
	FullSlug             *string `json:"full_slug,omitempty"`
	AdditionalProperties map[string]interface{}
}

Group A group object

func NewGroup ¶

func NewGroup() *Group

NewGroup instantiates a new Group object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGroupWithDefaults ¶

func NewGroupWithDefaults() *Group

NewGroupWithDefaults instantiates a new Group object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Group) GetFullSlug ¶

func (o *Group) GetFullSlug() string

GetFullSlug returns the FullSlug field value if set, zero value otherwise.

func (*Group) GetFullSlugOk ¶

func (o *Group) GetFullSlugOk() (*string, bool)

GetFullSlugOk returns a tuple with the FullSlug field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Group) GetLinks() GroupLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Group) GetLinksOk ¶

func (o *Group) GetLinksOk() (*GroupLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetName ¶

func (o *Group) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Group) GetNameOk ¶

func (o *Group) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetOwner ¶

func (o *Group) GetOwner() Account

GetOwner returns the Owner field value if set, zero value otherwise.

func (*Group) GetOwnerOk ¶

func (o *Group) GetOwnerOk() (*Account, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetSlug ¶

func (o *Group) GetSlug() string

GetSlug returns the Slug field value if set, zero value otherwise.

func (*Group) GetSlugOk ¶

func (o *Group) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) GetWorkspace ¶

func (o *Group) GetWorkspace() Workspace

GetWorkspace returns the Workspace field value if set, zero value otherwise.

func (*Group) GetWorkspaceOk ¶

func (o *Group) GetWorkspaceOk() (*Workspace, bool)

GetWorkspaceOk returns a tuple with the Workspace field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Group) HasFullSlug ¶

func (o *Group) HasFullSlug() bool

HasFullSlug returns a boolean if a field has been set.

func (o *Group) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Group) HasName ¶

func (o *Group) HasName() bool

HasName returns a boolean if a field has been set.

func (*Group) HasOwner ¶

func (o *Group) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*Group) HasSlug ¶

func (o *Group) HasSlug() bool

HasSlug returns a boolean if a field has been set.

func (*Group) HasWorkspace ¶

func (o *Group) HasWorkspace() bool

HasWorkspace returns a boolean if a field has been set.

func (Group) MarshalJSON ¶

func (o Group) MarshalJSON() ([]byte, error)

func (*Group) SetFullSlug ¶

func (o *Group) SetFullSlug(v string)

SetFullSlug gets a reference to the given string and assigns it to the FullSlug field.

func (o *Group) SetLinks(v GroupLinks)

SetLinks gets a reference to the given GroupLinks and assigns it to the Links field.

func (*Group) SetName ¶

func (o *Group) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Group) SetOwner ¶

func (o *Group) SetOwner(v Account)

SetOwner gets a reference to the given Account and assigns it to the Owner field.

func (*Group) SetSlug ¶

func (o *Group) SetSlug(v string)

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (*Group) SetWorkspace ¶

func (o *Group) SetWorkspace(v Workspace)

SetWorkspace gets a reference to the given Workspace and assigns it to the Workspace field.

func (*Group) UnmarshalJSON ¶ added in v0.0.3

func (o *Group) UnmarshalJSON(bytes []byte) (err error)
type GroupLinks struct {
	Self                 *Link `json:"self,omitempty"`
	Html                 *Link `json:"html,omitempty"`
	AdditionalProperties map[string]interface{}
}

GroupLinks struct for GroupLinks

func NewGroupLinks() *GroupLinks

NewGroupLinks instantiates a new GroupLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGroupLinksWithDefaults ¶

func NewGroupLinksWithDefaults() *GroupLinks

NewGroupLinksWithDefaults instantiates a new GroupLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*GroupLinks) GetHtml ¶

func (o *GroupLinks) GetHtml() Link

GetHtml returns the Html field value if set, zero value otherwise.

func (*GroupLinks) GetHtmlOk ¶

func (o *GroupLinks) GetHtmlOk() (*Link, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GroupLinks) GetSelf ¶

func (o *GroupLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*GroupLinks) GetSelfOk ¶

func (o *GroupLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GroupLinks) HasHtml ¶

func (o *GroupLinks) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (*GroupLinks) HasSelf ¶

func (o *GroupLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (GroupLinks) MarshalJSON ¶

func (o GroupLinks) MarshalJSON() ([]byte, error)

func (*GroupLinks) SetHtml ¶

func (o *GroupLinks) SetHtml(v Link)

SetHtml gets a reference to the given Link and assigns it to the Html field.

func (*GroupLinks) SetSelf ¶

func (o *GroupLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*GroupLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *GroupLinks) UnmarshalJSON(bytes []byte) (err error)

type HookEvent ¶

type HookEvent struct {
	// The event identifier.
	Event *string `json:"event,omitempty"`
	// The category this event belongs to.
	Category *string `json:"category,omitempty"`
	// Summary of the webhook event type.
	Label *string `json:"label,omitempty"`
	// More detailed description of the webhook event type.
	Description          *string `json:"description,omitempty"`
	AdditionalProperties map[string]interface{}
}

HookEvent An event, associated with a resource or subject type.

func NewHookEvent ¶

func NewHookEvent() *HookEvent

NewHookEvent instantiates a new HookEvent object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewHookEventWithDefaults ¶

func NewHookEventWithDefaults() *HookEvent

NewHookEventWithDefaults instantiates a new HookEvent object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*HookEvent) GetCategory ¶

func (o *HookEvent) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*HookEvent) GetCategoryOk ¶

func (o *HookEvent) GetCategoryOk() (*string, bool)

GetCategoryOk returns a tuple with the Category field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HookEvent) GetDescription ¶

func (o *HookEvent) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*HookEvent) GetDescriptionOk ¶

func (o *HookEvent) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HookEvent) GetEvent ¶

func (o *HookEvent) GetEvent() string

GetEvent returns the Event field value if set, zero value otherwise.

func (*HookEvent) GetEventOk ¶

func (o *HookEvent) GetEventOk() (*string, bool)

GetEventOk returns a tuple with the Event field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HookEvent) GetLabel ¶

func (o *HookEvent) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*HookEvent) GetLabelOk ¶

func (o *HookEvent) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*HookEvent) HasCategory ¶

func (o *HookEvent) HasCategory() bool

HasCategory returns a boolean if a field has been set.

func (*HookEvent) HasDescription ¶

func (o *HookEvent) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*HookEvent) HasEvent ¶

func (o *HookEvent) HasEvent() bool

HasEvent returns a boolean if a field has been set.

func (*HookEvent) HasLabel ¶

func (o *HookEvent) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (HookEvent) MarshalJSON ¶

func (o HookEvent) MarshalJSON() ([]byte, error)

func (*HookEvent) SetCategory ¶

func (o *HookEvent) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category field.

func (*HookEvent) SetDescription ¶

func (o *HookEvent) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*HookEvent) SetEvent ¶

func (o *HookEvent) SetEvent(v string)

SetEvent gets a reference to the given string and assigns it to the Event field.

func (*HookEvent) SetLabel ¶

func (o *HookEvent) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*HookEvent) UnmarshalJSON ¶ added in v0.0.3

func (o *HookEvent) UnmarshalJSON(bytes []byte) (err error)

type Issue ¶

type Issue struct {
	Links                *IssueLinks                     `json:"links,omitempty"`
	Id                   *int32                          `json:"id,omitempty"`
	Repository           *Repository                     `json:"repository,omitempty"`
	Title                *string                         `json:"title,omitempty"`
	Reporter             *User                           `json:"reporter,omitempty"`
	Assignee             *User                           `json:"assignee,omitempty"`
	CreatedOn            *time.Time                      `json:"created_on,omitempty"`
	UpdatedOn            *time.Time                      `json:"updated_on,omitempty"`
	EditedOn             *time.Time                      `json:"edited_on,omitempty"`
	State                *string                         `json:"state,omitempty"`
	Kind                 *string                         `json:"kind,omitempty"`
	Priority             *string                         `json:"priority,omitempty"`
	Milestone            *Milestone                      `json:"milestone,omitempty"`
	Version              *Version                        `json:"version,omitempty"`
	Component            *Component                      `json:"component,omitempty"`
	Votes                *int32                          `json:"votes,omitempty"`
	Content              *RenderedPullRequestMarkupTitle `json:"content,omitempty"`
	AdditionalProperties map[string]interface{}
}

Issue An issue.

func NewIssue ¶

func NewIssue() *Issue

NewIssue instantiates a new Issue object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIssueWithDefaults ¶

func NewIssueWithDefaults() *Issue

NewIssueWithDefaults instantiates a new Issue object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Issue) GetAssignee ¶

func (o *Issue) GetAssignee() User

GetAssignee returns the Assignee field value if set, zero value otherwise.

func (*Issue) GetAssigneeOk ¶

func (o *Issue) GetAssigneeOk() (*User, bool)

GetAssigneeOk returns a tuple with the Assignee field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetComponent ¶

func (o *Issue) GetComponent() Component

GetComponent returns the Component field value if set, zero value otherwise.

func (*Issue) GetComponentOk ¶

func (o *Issue) GetComponentOk() (*Component, bool)

GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetContent ¶

func (o *Issue) GetContent() RenderedPullRequestMarkupTitle

GetContent returns the Content field value if set, zero value otherwise.

func (*Issue) GetContentOk ¶

func (o *Issue) GetContentOk() (*RenderedPullRequestMarkupTitle, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetCreatedOn ¶

func (o *Issue) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Issue) GetCreatedOnOk ¶

func (o *Issue) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetEditedOn ¶

func (o *Issue) GetEditedOn() time.Time

GetEditedOn returns the EditedOn field value if set, zero value otherwise.

func (*Issue) GetEditedOnOk ¶

func (o *Issue) GetEditedOnOk() (*time.Time, bool)

GetEditedOnOk returns a tuple with the EditedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetId ¶

func (o *Issue) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Issue) GetIdOk ¶

func (o *Issue) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetKind ¶

func (o *Issue) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*Issue) GetKindOk ¶

func (o *Issue) GetKindOk() (*string, bool)

GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Issue) GetLinks() IssueLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Issue) GetLinksOk ¶

func (o *Issue) GetLinksOk() (*IssueLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetMilestone ¶

func (o *Issue) GetMilestone() Milestone

GetMilestone returns the Milestone field value if set, zero value otherwise.

func (*Issue) GetMilestoneOk ¶

func (o *Issue) GetMilestoneOk() (*Milestone, bool)

GetMilestoneOk returns a tuple with the Milestone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetPriority ¶

func (o *Issue) GetPriority() string

GetPriority returns the Priority field value if set, zero value otherwise.

func (*Issue) GetPriorityOk ¶

func (o *Issue) GetPriorityOk() (*string, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetReporter ¶

func (o *Issue) GetReporter() User

GetReporter returns the Reporter field value if set, zero value otherwise.

func (*Issue) GetReporterOk ¶

func (o *Issue) GetReporterOk() (*User, bool)

GetReporterOk returns a tuple with the Reporter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetRepository ¶

func (o *Issue) GetRepository() Repository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*Issue) GetRepositoryOk ¶

func (o *Issue) GetRepositoryOk() (*Repository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetState ¶

func (o *Issue) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Issue) GetStateOk ¶

func (o *Issue) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetTitle ¶

func (o *Issue) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*Issue) GetTitleOk ¶

func (o *Issue) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetUpdatedOn ¶

func (o *Issue) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*Issue) GetUpdatedOnOk ¶

func (o *Issue) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetVersion ¶

func (o *Issue) GetVersion() Version

GetVersion returns the Version field value if set, zero value otherwise.

func (*Issue) GetVersionOk ¶

func (o *Issue) GetVersionOk() (*Version, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) GetVotes ¶

func (o *Issue) GetVotes() int32

GetVotes returns the Votes field value if set, zero value otherwise.

func (*Issue) GetVotesOk ¶

func (o *Issue) GetVotesOk() (*int32, bool)

GetVotesOk returns a tuple with the Votes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Issue) HasAssignee ¶

func (o *Issue) HasAssignee() bool

HasAssignee returns a boolean if a field has been set.

func (*Issue) HasComponent ¶

func (o *Issue) HasComponent() bool

HasComponent returns a boolean if a field has been set.

func (*Issue) HasContent ¶

func (o *Issue) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*Issue) HasCreatedOn ¶

func (o *Issue) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Issue) HasEditedOn ¶

func (o *Issue) HasEditedOn() bool

HasEditedOn returns a boolean if a field has been set.

func (*Issue) HasId ¶

func (o *Issue) HasId() bool

HasId returns a boolean if a field has been set.

func (*Issue) HasKind ¶

func (o *Issue) HasKind() bool

HasKind returns a boolean if a field has been set.

func (o *Issue) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Issue) HasMilestone ¶

func (o *Issue) HasMilestone() bool

HasMilestone returns a boolean if a field has been set.

func (*Issue) HasPriority ¶

func (o *Issue) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*Issue) HasReporter ¶

func (o *Issue) HasReporter() bool

HasReporter returns a boolean if a field has been set.

func (*Issue) HasRepository ¶

func (o *Issue) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (*Issue) HasState ¶

func (o *Issue) HasState() bool

HasState returns a boolean if a field has been set.

func (*Issue) HasTitle ¶

func (o *Issue) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Issue) HasUpdatedOn ¶

func (o *Issue) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*Issue) HasVersion ¶

func (o *Issue) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (*Issue) HasVotes ¶

func (o *Issue) HasVotes() bool

HasVotes returns a boolean if a field has been set.

func (Issue) MarshalJSON ¶

func (o Issue) MarshalJSON() ([]byte, error)

func (*Issue) SetAssignee ¶

func (o *Issue) SetAssignee(v User)

SetAssignee gets a reference to the given User and assigns it to the Assignee field.

func (*Issue) SetComponent ¶

func (o *Issue) SetComponent(v Component)

SetComponent gets a reference to the given Component and assigns it to the Component field.

func (*Issue) SetContent ¶

func (o *Issue) SetContent(v RenderedPullRequestMarkupTitle)

SetContent gets a reference to the given RenderedPullRequestMarkupTitle and assigns it to the Content field.

func (*Issue) SetCreatedOn ¶

func (o *Issue) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Issue) SetEditedOn ¶

func (o *Issue) SetEditedOn(v time.Time)

SetEditedOn gets a reference to the given time.Time and assigns it to the EditedOn field.

func (*Issue) SetId ¶

func (o *Issue) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*Issue) SetKind ¶

func (o *Issue) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (o *Issue) SetLinks(v IssueLinks)

SetLinks gets a reference to the given IssueLinks and assigns it to the Links field.

func (*Issue) SetMilestone ¶

func (o *Issue) SetMilestone(v Milestone)

SetMilestone gets a reference to the given Milestone and assigns it to the Milestone field.

func (*Issue) SetPriority ¶

func (o *Issue) SetPriority(v string)

SetPriority gets a reference to the given string and assigns it to the Priority field.

func (*Issue) SetReporter ¶

func (o *Issue) SetReporter(v User)

SetReporter gets a reference to the given User and assigns it to the Reporter field.

func (*Issue) SetRepository ¶

func (o *Issue) SetRepository(v Repository)

SetRepository gets a reference to the given Repository and assigns it to the Repository field.

func (*Issue) SetState ¶

func (o *Issue) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*Issue) SetTitle ¶

func (o *Issue) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*Issue) SetUpdatedOn ¶

func (o *Issue) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*Issue) SetVersion ¶

func (o *Issue) SetVersion(v Version)

SetVersion gets a reference to the given Version and assigns it to the Version field.

func (*Issue) SetVotes ¶

func (o *Issue) SetVotes(v int32)

SetVotes gets a reference to the given int32 and assigns it to the Votes field.

func (*Issue) UnmarshalJSON ¶ added in v0.0.3

func (o *Issue) UnmarshalJSON(bytes []byte) (err error)

type IssueAttachment ¶

type IssueAttachment struct {
	Links                *BranchingModelSettingsLinks `json:"links,omitempty"`
	Name                 *string                      `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

IssueAttachment An issue file attachment's meta data. Note this does not contain the file's actual contents.

func NewIssueAttachment ¶

func NewIssueAttachment() *IssueAttachment

NewIssueAttachment instantiates a new IssueAttachment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIssueAttachmentWithDefaults ¶

func NewIssueAttachmentWithDefaults() *IssueAttachment

NewIssueAttachmentWithDefaults instantiates a new IssueAttachment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetLinks returns the Links field value if set, zero value otherwise.

func (*IssueAttachment) GetLinksOk ¶

func (o *IssueAttachment) GetLinksOk() (*BranchingModelSettingsLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueAttachment) GetName ¶

func (o *IssueAttachment) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*IssueAttachment) GetNameOk ¶

func (o *IssueAttachment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IssueAttachment) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*IssueAttachment) HasName ¶

func (o *IssueAttachment) HasName() bool

HasName returns a boolean if a field has been set.

func (IssueAttachment) MarshalJSON ¶

func (o IssueAttachment) MarshalJSON() ([]byte, error)

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*IssueAttachment) SetName ¶

func (o *IssueAttachment) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*IssueAttachment) UnmarshalJSON ¶ added in v0.0.3

func (o *IssueAttachment) UnmarshalJSON(bytes []byte) (err error)

type IssueChange ¶

type IssueChange struct {
	Type                 string                          `json:"type"`
	Links                *IssueChangeLinks               `json:"links,omitempty"`
	Name                 *string                         `json:"name,omitempty"`
	CreatedOn            *time.Time                      `json:"created_on,omitempty"`
	User                 *User                           `json:"user,omitempty"`
	Issue                *Issue                          `json:"issue,omitempty"`
	Changes              *IssueChangeChanges             `json:"changes,omitempty"`
	Message              *RenderedPullRequestMarkupTitle `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

IssueChange An issue change.

func NewIssueChange ¶

func NewIssueChange() *IssueChange

NewIssueChange instantiates a new IssueChange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIssueChangeWithDefaults ¶

func NewIssueChangeWithDefaults() *IssueChange

NewIssueChangeWithDefaults instantiates a new IssueChange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IssueChange) GetChanges ¶

func (o *IssueChange) GetChanges() IssueChangeChanges

GetChanges returns the Changes field value if set, zero value otherwise.

func (*IssueChange) GetChangesOk ¶

func (o *IssueChange) GetChangesOk() (*IssueChangeChanges, bool)

GetChangesOk returns a tuple with the Changes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChange) GetCreatedOn ¶

func (o *IssueChange) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*IssueChange) GetCreatedOnOk ¶

func (o *IssueChange) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChange) GetIssue ¶

func (o *IssueChange) GetIssue() Issue

GetIssue returns the Issue field value if set, zero value otherwise.

func (*IssueChange) GetIssueOk ¶

func (o *IssueChange) GetIssueOk() (*Issue, bool)

GetIssueOk returns a tuple with the Issue field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *IssueChange) GetLinks() IssueChangeLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*IssueChange) GetLinksOk ¶

func (o *IssueChange) GetLinksOk() (*IssueChangeLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChange) GetMessage ¶

GetMessage returns the Message field value if set, zero value otherwise.

func (*IssueChange) GetMessageOk ¶

func (o *IssueChange) GetMessageOk() (*RenderedPullRequestMarkupTitle, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChange) GetName ¶

func (o *IssueChange) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*IssueChange) GetNameOk ¶

func (o *IssueChange) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChange) GetType ¶

func (o *IssueChange) GetType() string

GetType returns the Type field value

func (*IssueChange) GetTypeOk ¶

func (o *IssueChange) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*IssueChange) GetUser ¶

func (o *IssueChange) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*IssueChange) GetUserOk ¶

func (o *IssueChange) GetUserOk() (*User, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChange) HasChanges ¶

func (o *IssueChange) HasChanges() bool

HasChanges returns a boolean if a field has been set.

func (*IssueChange) HasCreatedOn ¶

func (o *IssueChange) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*IssueChange) HasIssue ¶

func (o *IssueChange) HasIssue() bool

HasIssue returns a boolean if a field has been set.

func (o *IssueChange) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*IssueChange) HasMessage ¶

func (o *IssueChange) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*IssueChange) HasName ¶

func (o *IssueChange) HasName() bool

HasName returns a boolean if a field has been set.

func (*IssueChange) HasUser ¶

func (o *IssueChange) HasUser() bool

HasUser returns a boolean if a field has been set.

func (IssueChange) MarshalJSON ¶

func (o IssueChange) MarshalJSON() ([]byte, error)

func (*IssueChange) SetChanges ¶

func (o *IssueChange) SetChanges(v IssueChangeChanges)

SetChanges gets a reference to the given IssueChangeChanges and assigns it to the Changes field.

func (*IssueChange) SetCreatedOn ¶

func (o *IssueChange) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*IssueChange) SetIssue ¶

func (o *IssueChange) SetIssue(v Issue)

SetIssue gets a reference to the given Issue and assigns it to the Issue field.

func (o *IssueChange) SetLinks(v IssueChangeLinks)

SetLinks gets a reference to the given IssueChangeLinks and assigns it to the Links field.

func (*IssueChange) SetMessage ¶

SetMessage gets a reference to the given RenderedPullRequestMarkupTitle and assigns it to the Message field.

func (*IssueChange) SetName ¶

func (o *IssueChange) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*IssueChange) SetType ¶

func (o *IssueChange) SetType(v string)

SetType sets field value

func (*IssueChange) SetUser ¶

func (o *IssueChange) SetUser(v User)

SetUser gets a reference to the given User and assigns it to the User field.

func (*IssueChange) UnmarshalJSON ¶ added in v0.0.3

func (o *IssueChange) UnmarshalJSON(bytes []byte) (err error)

type IssueChangeChanges ¶

type IssueChangeChanges struct {
	Assignee             *IssueChangeChangesAssignee `json:"assignee,omitempty"`
	State                *IssueChangeChangesAssignee `json:"state,omitempty"`
	Title                *IssueChangeChangesAssignee `json:"title,omitempty"`
	Kind                 *IssueChangeChangesAssignee `json:"kind,omitempty"`
	Milestone            *IssueChangeChangesAssignee `json:"milestone,omitempty"`
	Component            *IssueChangeChangesAssignee `json:"component,omitempty"`
	Priority             *IssueChangeChangesAssignee `json:"priority,omitempty"`
	Version              *IssueChangeChangesAssignee `json:"version,omitempty"`
	Content              *IssueChangeChangesAssignee `json:"content,omitempty"`
	AdditionalProperties map[string]interface{}
}

IssueChangeChanges struct for IssueChangeChanges

func NewIssueChangeChanges ¶

func NewIssueChangeChanges() *IssueChangeChanges

NewIssueChangeChanges instantiates a new IssueChangeChanges object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIssueChangeChangesWithDefaults ¶

func NewIssueChangeChangesWithDefaults() *IssueChangeChanges

NewIssueChangeChangesWithDefaults instantiates a new IssueChangeChanges object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IssueChangeChanges) GetAssignee ¶

GetAssignee returns the Assignee field value if set, zero value otherwise.

func (*IssueChangeChanges) GetAssigneeOk ¶

func (o *IssueChangeChanges) GetAssigneeOk() (*IssueChangeChangesAssignee, bool)

GetAssigneeOk returns a tuple with the Assignee field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChanges) GetComponent ¶

GetComponent returns the Component field value if set, zero value otherwise.

func (*IssueChangeChanges) GetComponentOk ¶

func (o *IssueChangeChanges) GetComponentOk() (*IssueChangeChangesAssignee, bool)

GetComponentOk returns a tuple with the Component field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChanges) GetContent ¶

GetContent returns the Content field value if set, zero value otherwise.

func (*IssueChangeChanges) GetContentOk ¶

func (o *IssueChangeChanges) GetContentOk() (*IssueChangeChangesAssignee, bool)

GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChanges) GetKind ¶

GetKind returns the Kind field value if set, zero value otherwise.

func (*IssueChangeChanges) GetKindOk ¶

GetKindOk returns a tuple with the Kind field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChanges) GetMilestone ¶

GetMilestone returns the Milestone field value if set, zero value otherwise.

func (*IssueChangeChanges) GetMilestoneOk ¶

func (o *IssueChangeChanges) GetMilestoneOk() (*IssueChangeChangesAssignee, bool)

GetMilestoneOk returns a tuple with the Milestone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChanges) GetPriority ¶

GetPriority returns the Priority field value if set, zero value otherwise.

func (*IssueChangeChanges) GetPriorityOk ¶

func (o *IssueChangeChanges) GetPriorityOk() (*IssueChangeChangesAssignee, bool)

GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChanges) GetState ¶

GetState returns the State field value if set, zero value otherwise.

func (*IssueChangeChanges) GetStateOk ¶

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChanges) GetTitle ¶

GetTitle returns the Title field value if set, zero value otherwise.

func (*IssueChangeChanges) GetTitleOk ¶

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChanges) GetVersion ¶

GetVersion returns the Version field value if set, zero value otherwise.

func (*IssueChangeChanges) GetVersionOk ¶

func (o *IssueChangeChanges) GetVersionOk() (*IssueChangeChangesAssignee, bool)

GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChanges) HasAssignee ¶

func (o *IssueChangeChanges) HasAssignee() bool

HasAssignee returns a boolean if a field has been set.

func (*IssueChangeChanges) HasComponent ¶

func (o *IssueChangeChanges) HasComponent() bool

HasComponent returns a boolean if a field has been set.

func (*IssueChangeChanges) HasContent ¶

func (o *IssueChangeChanges) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*IssueChangeChanges) HasKind ¶

func (o *IssueChangeChanges) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*IssueChangeChanges) HasMilestone ¶

func (o *IssueChangeChanges) HasMilestone() bool

HasMilestone returns a boolean if a field has been set.

func (*IssueChangeChanges) HasPriority ¶

func (o *IssueChangeChanges) HasPriority() bool

HasPriority returns a boolean if a field has been set.

func (*IssueChangeChanges) HasState ¶

func (o *IssueChangeChanges) HasState() bool

HasState returns a boolean if a field has been set.

func (*IssueChangeChanges) HasTitle ¶

func (o *IssueChangeChanges) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*IssueChangeChanges) HasVersion ¶

func (o *IssueChangeChanges) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (IssueChangeChanges) MarshalJSON ¶

func (o IssueChangeChanges) MarshalJSON() ([]byte, error)

func (*IssueChangeChanges) SetAssignee ¶

SetAssignee gets a reference to the given IssueChangeChangesAssignee and assigns it to the Assignee field.

func (*IssueChangeChanges) SetComponent ¶

SetComponent gets a reference to the given IssueChangeChangesAssignee and assigns it to the Component field.

func (*IssueChangeChanges) SetContent ¶

SetContent gets a reference to the given IssueChangeChangesAssignee and assigns it to the Content field.

func (*IssueChangeChanges) SetKind ¶

SetKind gets a reference to the given IssueChangeChangesAssignee and assigns it to the Kind field.

func (*IssueChangeChanges) SetMilestone ¶

SetMilestone gets a reference to the given IssueChangeChangesAssignee and assigns it to the Milestone field.

func (*IssueChangeChanges) SetPriority ¶

SetPriority gets a reference to the given IssueChangeChangesAssignee and assigns it to the Priority field.

func (*IssueChangeChanges) SetState ¶

SetState gets a reference to the given IssueChangeChangesAssignee and assigns it to the State field.

func (*IssueChangeChanges) SetTitle ¶

SetTitle gets a reference to the given IssueChangeChangesAssignee and assigns it to the Title field.

func (*IssueChangeChanges) SetVersion ¶

SetVersion gets a reference to the given IssueChangeChangesAssignee and assigns it to the Version field.

func (*IssueChangeChanges) UnmarshalJSON ¶ added in v0.0.3

func (o *IssueChangeChanges) UnmarshalJSON(bytes []byte) (err error)

type IssueChangeChangesAssignee ¶

type IssueChangeChangesAssignee struct {
	Old                  *string `json:"old,omitempty"`
	New                  *string `json:"new,omitempty"`
	AdditionalProperties map[string]interface{}
}

IssueChangeChangesAssignee struct for IssueChangeChangesAssignee

func NewIssueChangeChangesAssignee ¶

func NewIssueChangeChangesAssignee() *IssueChangeChangesAssignee

NewIssueChangeChangesAssignee instantiates a new IssueChangeChangesAssignee object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIssueChangeChangesAssigneeWithDefaults ¶

func NewIssueChangeChangesAssigneeWithDefaults() *IssueChangeChangesAssignee

NewIssueChangeChangesAssigneeWithDefaults instantiates a new IssueChangeChangesAssignee object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IssueChangeChangesAssignee) GetNew ¶

func (o *IssueChangeChangesAssignee) GetNew() string

GetNew returns the New field value if set, zero value otherwise.

func (*IssueChangeChangesAssignee) GetNewOk ¶

func (o *IssueChangeChangesAssignee) GetNewOk() (*string, bool)

GetNewOk returns a tuple with the New field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChangesAssignee) GetOld ¶

func (o *IssueChangeChangesAssignee) GetOld() string

GetOld returns the Old field value if set, zero value otherwise.

func (*IssueChangeChangesAssignee) GetOldOk ¶

func (o *IssueChangeChangesAssignee) GetOldOk() (*string, bool)

GetOldOk returns a tuple with the Old field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeChangesAssignee) HasNew ¶

func (o *IssueChangeChangesAssignee) HasNew() bool

HasNew returns a boolean if a field has been set.

func (*IssueChangeChangesAssignee) HasOld ¶

func (o *IssueChangeChangesAssignee) HasOld() bool

HasOld returns a boolean if a field has been set.

func (IssueChangeChangesAssignee) MarshalJSON ¶

func (o IssueChangeChangesAssignee) MarshalJSON() ([]byte, error)

func (*IssueChangeChangesAssignee) SetNew ¶

func (o *IssueChangeChangesAssignee) SetNew(v string)

SetNew gets a reference to the given string and assigns it to the New field.

func (*IssueChangeChangesAssignee) SetOld ¶

func (o *IssueChangeChangesAssignee) SetOld(v string)

SetOld gets a reference to the given string and assigns it to the Old field.

func (*IssueChangeChangesAssignee) UnmarshalJSON ¶ added in v0.0.3

func (o *IssueChangeChangesAssignee) UnmarshalJSON(bytes []byte) (err error)
type IssueChangeLinks struct {
	Self                 *Link `json:"self,omitempty"`
	Issue                *Link `json:"issue,omitempty"`
	AdditionalProperties map[string]interface{}
}

IssueChangeLinks struct for IssueChangeLinks

func NewIssueChangeLinks() *IssueChangeLinks

NewIssueChangeLinks instantiates a new IssueChangeLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIssueChangeLinksWithDefaults ¶

func NewIssueChangeLinksWithDefaults() *IssueChangeLinks

NewIssueChangeLinksWithDefaults instantiates a new IssueChangeLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IssueChangeLinks) GetIssue ¶

func (o *IssueChangeLinks) GetIssue() Link

GetIssue returns the Issue field value if set, zero value otherwise.

func (*IssueChangeLinks) GetIssueOk ¶

func (o *IssueChangeLinks) GetIssueOk() (*Link, bool)

GetIssueOk returns a tuple with the Issue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeLinks) GetSelf ¶

func (o *IssueChangeLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*IssueChangeLinks) GetSelfOk ¶

func (o *IssueChangeLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueChangeLinks) HasIssue ¶

func (o *IssueChangeLinks) HasIssue() bool

HasIssue returns a boolean if a field has been set.

func (*IssueChangeLinks) HasSelf ¶

func (o *IssueChangeLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (IssueChangeLinks) MarshalJSON ¶

func (o IssueChangeLinks) MarshalJSON() ([]byte, error)

func (*IssueChangeLinks) SetIssue ¶

func (o *IssueChangeLinks) SetIssue(v Link)

SetIssue gets a reference to the given Link and assigns it to the Issue field.

func (*IssueChangeLinks) SetSelf ¶

func (o *IssueChangeLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*IssueChangeLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *IssueChangeLinks) UnmarshalJSON(bytes []byte) (err error)

type IssueComment ¶

type IssueComment struct {
	Issue                *Issue `json:"issue,omitempty"`
	AdditionalProperties map[string]interface{}
}

IssueComment A issue comment.

func NewIssueComment ¶

func NewIssueComment() *IssueComment

NewIssueComment instantiates a new IssueComment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIssueCommentWithDefaults ¶

func NewIssueCommentWithDefaults() *IssueComment

NewIssueCommentWithDefaults instantiates a new IssueComment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IssueComment) GetIssue ¶

func (o *IssueComment) GetIssue() Issue

GetIssue returns the Issue field value if set, zero value otherwise.

func (*IssueComment) GetIssueOk ¶

func (o *IssueComment) GetIssueOk() (*Issue, bool)

GetIssueOk returns a tuple with the Issue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueComment) HasIssue ¶

func (o *IssueComment) HasIssue() bool

HasIssue returns a boolean if a field has been set.

func (IssueComment) MarshalJSON ¶

func (o IssueComment) MarshalJSON() ([]byte, error)

func (*IssueComment) SetIssue ¶

func (o *IssueComment) SetIssue(v Issue)

SetIssue gets a reference to the given Issue and assigns it to the Issue field.

func (*IssueComment) UnmarshalJSON ¶ added in v0.0.3

func (o *IssueComment) UnmarshalJSON(bytes []byte) (err error)

type IssueJobStatus ¶

type IssueJobStatus struct {
	Type *string `json:"type,omitempty"`
	// The status of the import/export job
	Status *string `json:"status,omitempty"`
	// The phase of the import/export job
	Phase *string `json:"phase,omitempty"`
	// The total number of issues being imported/exported
	Total *int32 `json:"total,omitempty"`
	// The total number of issues already imported/exported
	Count *int32 `json:"count,omitempty"`
	// The percentage of issues already imported/exported
	Pct                  *float32 `json:"pct,omitempty"`
	AdditionalProperties map[string]interface{}
}

IssueJobStatus The status of an import or export job

func NewIssueJobStatus ¶

func NewIssueJobStatus() *IssueJobStatus

NewIssueJobStatus instantiates a new IssueJobStatus object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIssueJobStatusWithDefaults ¶

func NewIssueJobStatusWithDefaults() *IssueJobStatus

NewIssueJobStatusWithDefaults instantiates a new IssueJobStatus object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IssueJobStatus) GetCount ¶

func (o *IssueJobStatus) GetCount() int32

GetCount returns the Count field value if set, zero value otherwise.

func (*IssueJobStatus) GetCountOk ¶

func (o *IssueJobStatus) GetCountOk() (*int32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueJobStatus) GetPct ¶

func (o *IssueJobStatus) GetPct() float32

GetPct returns the Pct field value if set, zero value otherwise.

func (*IssueJobStatus) GetPctOk ¶

func (o *IssueJobStatus) GetPctOk() (*float32, bool)

GetPctOk returns a tuple with the Pct field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueJobStatus) GetPhase ¶

func (o *IssueJobStatus) GetPhase() string

GetPhase returns the Phase field value if set, zero value otherwise.

func (*IssueJobStatus) GetPhaseOk ¶

func (o *IssueJobStatus) GetPhaseOk() (*string, bool)

GetPhaseOk returns a tuple with the Phase field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueJobStatus) GetStatus ¶

func (o *IssueJobStatus) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*IssueJobStatus) GetStatusOk ¶

func (o *IssueJobStatus) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueJobStatus) GetTotal ¶

func (o *IssueJobStatus) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*IssueJobStatus) GetTotalOk ¶

func (o *IssueJobStatus) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueJobStatus) GetType ¶

func (o *IssueJobStatus) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*IssueJobStatus) GetTypeOk ¶

func (o *IssueJobStatus) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueJobStatus) HasCount ¶

func (o *IssueJobStatus) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*IssueJobStatus) HasPct ¶

func (o *IssueJobStatus) HasPct() bool

HasPct returns a boolean if a field has been set.

func (*IssueJobStatus) HasPhase ¶

func (o *IssueJobStatus) HasPhase() bool

HasPhase returns a boolean if a field has been set.

func (*IssueJobStatus) HasStatus ¶

func (o *IssueJobStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*IssueJobStatus) HasTotal ¶

func (o *IssueJobStatus) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (*IssueJobStatus) HasType ¶

func (o *IssueJobStatus) HasType() bool

HasType returns a boolean if a field has been set.

func (IssueJobStatus) MarshalJSON ¶

func (o IssueJobStatus) MarshalJSON() ([]byte, error)

func (*IssueJobStatus) SetCount ¶

func (o *IssueJobStatus) SetCount(v int32)

SetCount gets a reference to the given int32 and assigns it to the Count field.

func (*IssueJobStatus) SetPct ¶

func (o *IssueJobStatus) SetPct(v float32)

SetPct gets a reference to the given float32 and assigns it to the Pct field.

func (*IssueJobStatus) SetPhase ¶

func (o *IssueJobStatus) SetPhase(v string)

SetPhase gets a reference to the given string and assigns it to the Phase field.

func (*IssueJobStatus) SetStatus ¶

func (o *IssueJobStatus) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*IssueJobStatus) SetTotal ¶

func (o *IssueJobStatus) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

func (*IssueJobStatus) SetType ¶

func (o *IssueJobStatus) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*IssueJobStatus) UnmarshalJSON ¶ added in v0.0.3

func (o *IssueJobStatus) UnmarshalJSON(bytes []byte) (err error)
type IssueLinks struct {
	Self                 *Link `json:"self,omitempty"`
	Html                 *Link `json:"html,omitempty"`
	Comments             *Link `json:"comments,omitempty"`
	Attachments          *Link `json:"attachments,omitempty"`
	Watch                *Link `json:"watch,omitempty"`
	Vote                 *Link `json:"vote,omitempty"`
	AdditionalProperties map[string]interface{}
}

IssueLinks struct for IssueLinks

func NewIssueLinks() *IssueLinks

NewIssueLinks instantiates a new IssueLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewIssueLinksWithDefaults ¶

func NewIssueLinksWithDefaults() *IssueLinks

NewIssueLinksWithDefaults instantiates a new IssueLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*IssueLinks) GetAttachments ¶

func (o *IssueLinks) GetAttachments() Link

GetAttachments returns the Attachments field value if set, zero value otherwise.

func (*IssueLinks) GetAttachmentsOk ¶

func (o *IssueLinks) GetAttachmentsOk() (*Link, bool)

GetAttachmentsOk returns a tuple with the Attachments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueLinks) GetComments ¶

func (o *IssueLinks) GetComments() Link

GetComments returns the Comments field value if set, zero value otherwise.

func (*IssueLinks) GetCommentsOk ¶

func (o *IssueLinks) GetCommentsOk() (*Link, bool)

GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueLinks) GetHtml ¶

func (o *IssueLinks) GetHtml() Link

GetHtml returns the Html field value if set, zero value otherwise.

func (*IssueLinks) GetHtmlOk ¶

func (o *IssueLinks) GetHtmlOk() (*Link, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueLinks) GetSelf ¶

func (o *IssueLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*IssueLinks) GetSelfOk ¶

func (o *IssueLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueLinks) GetVote ¶

func (o *IssueLinks) GetVote() Link

GetVote returns the Vote field value if set, zero value otherwise.

func (*IssueLinks) GetVoteOk ¶

func (o *IssueLinks) GetVoteOk() (*Link, bool)

GetVoteOk returns a tuple with the Vote field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueLinks) GetWatch ¶

func (o *IssueLinks) GetWatch() Link

GetWatch returns the Watch field value if set, zero value otherwise.

func (*IssueLinks) GetWatchOk ¶

func (o *IssueLinks) GetWatchOk() (*Link, bool)

GetWatchOk returns a tuple with the Watch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*IssueLinks) HasAttachments ¶

func (o *IssueLinks) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

func (*IssueLinks) HasComments ¶

func (o *IssueLinks) HasComments() bool

HasComments returns a boolean if a field has been set.

func (*IssueLinks) HasHtml ¶

func (o *IssueLinks) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (*IssueLinks) HasSelf ¶

func (o *IssueLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (*IssueLinks) HasVote ¶

func (o *IssueLinks) HasVote() bool

HasVote returns a boolean if a field has been set.

func (*IssueLinks) HasWatch ¶

func (o *IssueLinks) HasWatch() bool

HasWatch returns a boolean if a field has been set.

func (IssueLinks) MarshalJSON ¶

func (o IssueLinks) MarshalJSON() ([]byte, error)

func (*IssueLinks) SetAttachments ¶

func (o *IssueLinks) SetAttachments(v Link)

SetAttachments gets a reference to the given Link and assigns it to the Attachments field.

func (*IssueLinks) SetComments ¶

func (o *IssueLinks) SetComments(v Link)

SetComments gets a reference to the given Link and assigns it to the Comments field.

func (*IssueLinks) SetHtml ¶

func (o *IssueLinks) SetHtml(v Link)

SetHtml gets a reference to the given Link and assigns it to the Html field.

func (*IssueLinks) SetSelf ¶

func (o *IssueLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*IssueLinks) SetVote ¶

func (o *IssueLinks) SetVote(v Link)

SetVote gets a reference to the given Link and assigns it to the Vote field.

func (*IssueLinks) SetWatch ¶

func (o *IssueLinks) SetWatch(v Link)

SetWatch gets a reference to the given Link and assigns it to the Watch field.

func (*IssueLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *IssueLinks) UnmarshalJSON(bytes []byte) (err error)

type IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsComponentIdGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsComponentIdGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsComponentIdGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportPostRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportPostRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportPostRequest) Body ¶

The options to apply to the export. Available options include &#x60;project_key&#x60; and &#x60;project_name&#x60; which, if specified, are used as the project key and name in the exported Jira json format. Option &#x60;send_email&#x60; specifies whether an email should be sent upon export result. Option &#x60;include_attachments&#x60; specifies whether attachments are included in the export.

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportPostRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesImportGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesImportGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesImportGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesImportPostRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesImportPostRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesImportPostRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDeleteRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDeleteRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDeleteRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPostRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPostRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPostRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGetRequest) Execute ¶

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGetRequest) Q ¶

Query string to narrow down the response. See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for details.

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGetRequest) Sort ¶

Name of a response property to sort results. See [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results) for details.

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPostRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPostRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPostRequest) Body ¶

The new issue state change. The only required elements are &#x60;changes.[].new&#x60;. All other elements can be omitted from the body.

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPostRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDeleteRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDeleteRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDeleteRequest) Body ¶

The updated comment.

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDeleteRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPutRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPutRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPutRequest) Body ¶

The updated comment.

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPutRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGetRequest) Execute ¶

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPostRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPostRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPostRequest) Body ¶

The new issue comment object.

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPostRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdDeleteRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdDeleteRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdDeleteRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdPutRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdPutRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdPutRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDeleteRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDeleteRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDeleteRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVotePutRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVotePutRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVotePutRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDeleteRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDeleteRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDeleteRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPutRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPutRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPutRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesPostRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesPostRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesPostRequest) Body ¶

The new issue. The only required element is &#x60;title&#x60;. All other elements can be omitted from the body.

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesPostRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsGetRequest) Execute ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsVersionIdGetRequest ¶

type IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsVersionIdGetRequest struct {
	ApiService *IssueTrackerApiService
	// contains filtered or unexported fields
}

func (IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsVersionIdGetRequest) Execute ¶

type IssueTrackerApiService ¶

type IssueTrackerApiService service

IssueTrackerApiService IssueTrackerApi service

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugComponentsComponentIdGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugComponentsComponentIdGet(ctx context.Context, componentId int32, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsComponentIdGetRequest

RepositoriesWorkspaceRepoSlugComponentsComponentIdGet Get a component for issues

Returns the specified issue tracker component object.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param componentId The component's id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsComponentIdGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugComponentsComponentIdGetExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugComponentsComponentIdGetExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsComponentIdGetRequest) (*Component, *http.Response, error)

Execute executes the request

@return Component

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugComponentsGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugComponentsGet(ctx context.Context, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsGetRequest

RepositoriesWorkspaceRepoSlugComponentsGet List components

Returns the components that have been defined in the issue tracker.

This resource is only available on repositories that have the issue tracker enabled.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugComponentsGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugComponentsGetExecute ¶

Execute executes the request

@return PaginatedComponents

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesExportPost ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesExportPost(ctx context.Context, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportPostRequest

RepositoriesWorkspaceRepoSlugIssuesExportPost Export issues

A POST request to this endpoint initiates a new background celery task that archives the repo's issues.

For example, you can run:

curl -u <username> -X POST http://api.bitbucket.org/2.0/repositories/<owner_username>/<repo_slug>/ issues/export

When the job has been accepted, it will return a 202 (Accepted) along with a unique url to this job in the 'Location' response header. This url is the endpoint for where the user can obtain their zip files."

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportPostRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesExportPostExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesExportPostExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportPostRequest) (*http.Response, error)

Execute executes the request

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGet(ctx context.Context, repoName string, repoSlug string, taskId string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGetRequest

RepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGet Check issue export status

This endpoint is used to poll for the progress of an issue export job and return the zip file after the job is complete. As long as the job is running, this will return a 200 response with in the response body a description of the current status.

After the job has been scheduled, but before it starts executing, this endpoint's response is:

{
 "type": "issue_job_status",
 "status": "ACCEPTED",
 "phase": "Initializing",
 "total": 0,
 "count": 0,
 "pct": 0
}

Then once it starts running, it becomes:

{
 "type": "issue_job_status",
 "status": "STARTED",
 "phase": "Attachments",
 "total": 15,
 "count": 11,
 "pct": 73
}

Once the job has successfully completed, it returns a stream of the zip file.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoName The name of the repo
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param taskId The ID of the export task
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGetExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGetExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGetRequest) (*IssueJobStatus, *http.Response, error)

Execute executes the request

@return IssueJobStatus

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesGet(ctx context.Context, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesGetRequest

RepositoriesWorkspaceRepoSlugIssuesGet List issues

Returns the issues in the issue tracker.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesGetExecute ¶

Execute executes the request

@return PaginatedIssues

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesImportGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesImportGet(ctx context.Context, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesImportGetRequest

RepositoriesWorkspaceRepoSlugIssuesImportGet Check issue import status

When using GET, this endpoint reports the status of the current import task. Request example:

``` $ curl -u <username> -X GET https://api.bitbucket.org/2.0/repositories/<owner_username>/<repo_slug>/issues/import ```

After the job has been scheduled, but before it starts executing, this endpoint's response is:

``` < HTTP/1.1 202 Accepted

{
    "type": "issue_job_status",
    "status": "PENDING",
    "phase": "Attachments",
    "total": 15,
    "count": 0,
    "percent": 0
}

```

Once it starts running, it is a 202 response with status STARTED and progress filled.

After it is finished, it becomes a 200 response with status SUCCESS or FAILURE.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesImportGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesImportGetExecute ¶

Execute executes the request

@return IssueJobStatus

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesImportPost ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesImportPost(ctx context.Context, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesImportPostRequest

RepositoriesWorkspaceRepoSlugIssuesImportPost Import issues

A POST request to this endpoint will import the zip file given by the archive parameter into the repository. All existing issues will be deleted and replaced by the contents of the imported zip file.

Imports are done through a multipart/form-data POST. There is one valid and required form field, with the name "archive," which needs to be a file field:

``` $ curl -u <username> -X POST -F archive=@/path/to/file.zip https://api.bitbucket.org/2.0/repositories/<owner_username>/<repo_slug>/issues/import ```

When the import job is accepted, here is example output:

``` < HTTP/1.1 202 Accepted

{
    "type": "issue_job_status",
    "status": "ACCEPTED",
    "phase": "Attachments",
    "total": 15,
    "count": 0,
    "percent": 0
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesImportPostRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesImportPostExecute ¶

Execute executes the request

@return IssueJobStatus

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGet(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGetRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGet List attachments for an issue

Returns all attachments for this issue.

This returns the files' meta data. This does not return the files' actual contents.

The files are always ordered by their upload date.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGetExecute ¶

Execute executes the request

@return PaginatedIssueAttachments

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDelete ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDelete(ctx context.Context, issueId string, path string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDeleteRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDelete Delete an attachment for an issue

Deletes an attachment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param path Path to the file.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDeleteRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDeleteExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDeleteExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDeleteRequest) (*http.Response, error)

Execute executes the request

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGet(ctx context.Context, issueId string, path string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGetRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGet Get attachment for an issue

Returns the contents of the specified file attachment.

Note that this endpoint does not return a JSON response, but instead returns a redirect pointing to the actual file that in turn will return the raw contents.

The redirect URL contains a one-time token that has a limited lifetime. As a result, the link should not be persisted, stored, or shared.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param path Path to the file.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGetExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGetExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGetRequest) (*http.Response, error)

Execute executes the request

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPost ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPost(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPostRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPost Upload an attachment to an issue

Upload new issue attachments.

To upload files, perform a `multipart/form-data` POST containing one or more file fields.

When a file is uploaded with the same name as an existing attachment, then the existing file will be replaced.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPostRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPostExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPostExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPostRequest) (*http.Response, error)

Execute executes the request

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGet(ctx context.Context, changeId string, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGetRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGet Get issue change object

Returns the specified issue change object.

This resource is only available on repositories that have the issue tracker enabled.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param changeId The issue change id
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGetExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGetExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGetRequest) (*IssueChange, *http.Response, error)

Execute executes the request

@return IssueChange

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGet(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGetRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGet List changes on an issue

Returns the list of all changes that have been made to the specified issue. Changes are returned in chronological order with the oldest change first.

Each time an issue is edited in the UI or through the API, an immutable change record is created under the `/issues/123/changes` endpoint. It also has a comment associated with the change.

Note that this operation is changing significantly, due to privacy changes. See the [announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/#changes-to-the-issue-changes-api) for details.

``` $ curl -s https://api.bitbucket.org/2.0/repositories/evzijst/dogslow/issues/1/changes - | jq .

{
  "pagelen": 20,
  "values": [
    {
      "changes": {
        "priority": {
          "new": "trivial",
          "old": "major"
        },
        "assignee": {
          "new": "",
          "old": "evzijst"
        },
        "assignee_account_id": {
          "new": "",
          "old": "557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"
        },
        "kind": {
          "new": "enhancement",
          "old": "bug"
        }
      },
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/repositories/evzijst/dogslow/issues/1/changes/2"
        },
        "html": {
          "href": "https://bitbucket.org/evzijst/dogslow/issues/1#comment-2"
        }
      },
      "issue": {
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/evzijst/dogslow/issues/1"
          }
        },
        "type": "issue",
        "id": 1,
        "repository": {
          "links": {
            "self": {
              "href": "https://api.bitbucket.org/2.0/repositories/evzijst/dogslow"
            },
            "html": {
              "href": "https://bitbucket.org/evzijst/dogslow"
            },
            "avatar": {
              "href": "https://bitbucket.org/evzijst/dogslow/avatar/32/"
            }
          },
          "type": "repository",
          "name": "dogslow",
          "full_name": "evzijst/dogslow",
          "uuid": "{988b17c6-1a47-4e70-84ee-854d5f012bf6}"
        },
        "title": "Updated title"
      },
      "created_on": "2018-03-03T00:35:28.353630+00:00",
      "user": {
        "username": "evzijst",
        "nickname": "evzijst",
        "display_name": "evzijst",
        "type": "user",
        "uuid": "{aaa7972b-38af-4fb1-802d-6e3854c95778}",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/users/evzijst"
          },
          "html": {
            "href": "https://bitbucket.org/evzijst/"
          },
          "avatar": {
            "href": "https://bitbucket.org/account/evzijst/avatar/32/"
          }
        }
      },
      "message": {
        "raw": "Removed assignee, changed kind and priority.",
        "markup": "markdown",
        "html": "<p>Removed assignee, changed kind and priority.</p>",
        "type": "rendered"
      },
      "type": "issue_change",
      "id": 2
    }
  ],
  "page": 1
}

```

Changes support [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) that can be used to search for specific changes. For instance, to see when an issue transitioned to "resolved":

```

$ curl -s https://api.bitbucket.org/2.0/repositories/site/master/issues/1/changes \
   -G --data-urlencode='q=changes.state.new = "resolved"'

```

This resource is only available on repositories that have the issue tracker enabled.

N.B.

The `changes.assignee` and `changes.assignee_account_id` fields are not a `user` object. Instead, they contain the raw `username` and `account_id` of the user. This is to protect the integrity of the audit log even after a user account gets deleted.

The `changes.assignee` field is deprecated will disappear in the future. Use `changes.assignee_account_id` instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGetExecute ¶

Execute executes the request

@return PaginatedLogEntries

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPost ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPost(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPostRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPost Modify the state of an issue

Makes a change to the specified issue.

For example, to change an issue's state and assignee, create a new change object that modifies these fields:

```

curl https://api.bitbucket.org/2.0/site/master/issues/1234/changes \
  -s -u evzijst -X POST -H "Content-Type: application/json" \
  -d '{
    "changes": {
      "assignee_account_id": {
        "new": "557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"
      },
      "state": {
        "new": 'resolved"
      }
    }
    "message": {
      "raw": "This is now resolved."
    }
  }'

```

The above example also includes a custom comment to go alongside the change. This comment will also be visible on the issue page in the UI.

The fields of the `changes` object are strings, not objects. This allows for immutable change log records, even after user accounts, milestones, or other objects recorded in a change entry, get renamed or deleted.

The `assignee_account_id` field stores the account id. When POSTing a new change and changing the assignee, the client should therefore use the user's account_id in the `changes.assignee_account_id.new` field.

This call requires authentication. Private repositories or private issue trackers require the caller to authenticate with an account that has appropriate authorization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPostRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPostExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPostExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPostRequest) (*IssueChange, *http.Response, error)

Execute executes the request

@return IssueChange

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDelete ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDelete(ctx context.Context, commentId int32, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDeleteRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDelete Delete a comment on an issue

Deletes the specified comment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commentId The id of the comment.
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDeleteRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDeleteExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDeleteExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGet(ctx context.Context, commentId int32, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGetRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGet Get a comment on an issue

Returns the specified issue comment object.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commentId The id of the comment.
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGetExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGetExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGetRequest) (*IssueComment, *http.Response, error)

Execute executes the request

@return IssueComment

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPut ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPut(ctx context.Context, commentId int32, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPutRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPut Update a comment on an issue

Updates the content of the specified issue comment. Note that only the `content.raw` field can be modified.

```

$ curl https://api.bitbucket.org/2.0/repositories/atlassian/prlinks/issues/42/comments/5728901 \
  -X PUT -u evzijst \
  -H 'Content-Type: application/json' \
  -d '{"content": {"raw": "Lorem ipsum."}'

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commentId The id of the comment.
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPutRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPutExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPutExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPutRequest) (*IssueComment, *http.Response, error)

Execute executes the request

@return IssueComment

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGet(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGetRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGet List comments on an issue

Returns a paginated list of all comments that were made on the specified issue.

The default sorting is oldest to newest and can be overridden with the `sort` query parameter.

This endpoint also supports filtering and sorting of the results. See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGetExecute ¶

Execute executes the request

@return PaginatedIssueComments

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPost ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPost(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPostRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPost Create a comment on an issue

Creates a new issue comment.

```

$ curl https://api.bitbucket.org/2.0/repositories/atlassian/prlinks/issues/42/comments/ \
  -X POST -u evzijst \
  -H 'Content-Type: application/json' \
  -d '{"content": {"raw": "Lorem ipsum."}}'

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPostRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPostExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPostExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPostRequest) (*http.Response, error)

Execute executes the request

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdDelete ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdDelete(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdDeleteRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdDelete Delete an issue

Deletes the specified issue. This requires write access to the repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdDeleteRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdDeleteExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdDeleteExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdDeleteRequest) (*Issue, *http.Response, error)

Execute executes the request

@return Issue

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdGet(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdGetRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdGet Get an issue

Returns the specified issue.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdGetExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdGetExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdGetRequest) (*Issue, *http.Response, error)

Execute executes the request

@return Issue

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdPut ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdPut(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdPutRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdPut Update an issue

Modifies the issue.

```

$ curl https://api.bitbucket.org/2.0/repostories/evzijst/dogslow/issues/123 \
  -u evzijst -s -X PUT -H 'Content-Type: application/json' \
  -d '{
  "title": "Updated title",
  "assignee": {
    "username": "evzijst"
  },
  "priority": "minor",
  "version": {
    "name": "1.0"
  },
  "component": null
}'

```

This example changes the `title`, `assignee`, `priority` and the `version`. It also removes the value of the `component` from the issue by setting the field to `null`. Any field not present keeps its existing value.

Each time an issue is edited in the UI or through the API, an immutable change record is created under the `/issues/123/changes` endpoint. It also has a comment associated with the change.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdPutRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdPutExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdPutExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdPutRequest) (*Issue, *http.Response, error)

Execute executes the request

@return Issue

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDelete ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDelete(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDeleteRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDelete Remove vote for an issue

Retract your vote.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDeleteRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDeleteExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDeleteExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDeleteRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGet(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGetRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGet Check if current user voted for an issue

Check whether the authenticated user has voted for this issue. A 204 status code indicates that the user has voted, while a 404 implies they haven't.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGetExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGetExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGetRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVotePut ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVotePut(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVotePutRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdVotePut Vote for an issue

Vote for this issue.

To cast your vote, do an empty PUT. The 204 status code indicates that the operation was successful.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVotePutRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVotePutExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdVotePutExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdVotePutRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDelete ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDelete(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDeleteRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDelete Stop watching an issue

Stop watching this issue.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDeleteRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDeleteExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDeleteExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDeleteRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGet(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGetRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGet Check if current user is watching a issue

Indicated whether or not the authenticated user is watching this issue.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGetExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGetExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGetRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPut ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPut(ctx context.Context, issueId string, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPutRequest

RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPut Watch an issue

Start watching this issue.

To start watching this issue, do an empty PUT. The 204 status code indicates that the operation was successful.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param issueId The issue id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPutRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPutExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPutExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPutRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesPost ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesPost(ctx context.Context, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesPostRequest

RepositoriesWorkspaceRepoSlugIssuesPost Create an issue

Creates a new issue.

This call requires authentication. Private repositories or private issue trackers require the caller to authenticate with an account that has appropriate authorization.

The authenticated user is used for the issue's `reporter` field.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesPostRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesPostExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugIssuesPostExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugIssuesPostRequest) (*Issue, *http.Response, error)

Execute executes the request

@return Issue

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugMilestonesGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugMilestonesGet(ctx context.Context, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesGetRequest

RepositoriesWorkspaceRepoSlugMilestonesGet List milestones

Returns the milestones that have been defined in the issue tracker.

This resource is only available on repositories that have the issue tracker enabled.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugMilestonesGetExecute ¶

Execute executes the request

@return PaginatedMilestones

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGet(ctx context.Context, milestoneId int32, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGetRequest

RepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGet Get a milestone

Returns the specified issue tracker milestone object.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param milestoneId The milestone's id
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGetExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGetExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGetRequest) (*Milestone, *http.Response, error)

Execute executes the request

@return Milestone

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugVersionsGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugVersionsGet(ctx context.Context, repoSlug string, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsGetRequest

RepositoriesWorkspaceRepoSlugVersionsGet List defined versions for issues

Returns the versions that have been defined in the issue tracker.

This resource is only available on repositories that have the issue tracker enabled.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugVersionsGetExecute ¶

Execute executes the request

@return PaginatedVersions

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugVersionsVersionIdGet ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugVersionsVersionIdGet(ctx context.Context, repoSlug string, versionId int32, workspace string) IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsVersionIdGetRequest

RepositoriesWorkspaceRepoSlugVersionsVersionIdGet Get a defined version for issues

Returns the specified issue tracker version object.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param versionId The version's id
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsVersionIdGetRequest

func (*IssueTrackerApiService) RepositoriesWorkspaceRepoSlugVersionsVersionIdGetExecute ¶

func (a *IssueTrackerApiService) RepositoriesWorkspaceRepoSlugVersionsVersionIdGetExecute(r IssueTrackerApiRepositoriesWorkspaceRepoSlugVersionsVersionIdGetRequest) (*Version, *http.Response, error)

Execute executes the request

@return Version

type JiraProject ¶

type JiraProject struct {
	Object
	AdditionalProperties map[string]interface{}
}

JiraProject struct for JiraProject

func NewJiraProject ¶

func NewJiraProject() *JiraProject

NewJiraProject instantiates a new JiraProject object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJiraProjectWithDefaults ¶

func NewJiraProjectWithDefaults() *JiraProject

NewJiraProjectWithDefaults instantiates a new JiraProject object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (JiraProject) MarshalJSON ¶

func (o JiraProject) MarshalJSON() ([]byte, error)

func (*JiraProject) UnmarshalJSON ¶ added in v0.0.3

func (o *JiraProject) UnmarshalJSON(bytes []byte) (err error)

type JiraSite ¶

type JiraSite struct {
	Object
	AdditionalProperties map[string]interface{}
}

JiraSite struct for JiraSite

func NewJiraSite ¶

func NewJiraSite() *JiraSite

NewJiraSite instantiates a new JiraSite object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewJiraSiteWithDefaults ¶

func NewJiraSiteWithDefaults() *JiraSite

NewJiraSiteWithDefaults instantiates a new JiraSite object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (JiraSite) MarshalJSON ¶

func (o JiraSite) MarshalJSON() ([]byte, error)

func (*JiraSite) UnmarshalJSON ¶ added in v0.0.3

func (o *JiraSite) UnmarshalJSON(bytes []byte) (err error)
type Link struct {
	Href                 *string `json:"href,omitempty"`
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

Link A link to a resource related to this object.

func NewLink() *Link

NewLink instantiates a new Link object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLinkWithDefaults ¶

func NewLinkWithDefaults() *Link

NewLinkWithDefaults instantiates a new Link object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Link) GetHref ¶

func (o *Link) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*Link) GetHrefOk ¶

func (o *Link) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Link) GetName ¶

func (o *Link) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Link) GetNameOk ¶

func (o *Link) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Link) HasHref ¶

func (o *Link) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*Link) HasName ¶

func (o *Link) HasName() bool

HasName returns a boolean if a field has been set.

func (Link) MarshalJSON ¶

func (o Link) MarshalJSON() ([]byte, error)

func (*Link) SetHref ¶

func (o *Link) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (*Link) SetName ¶

func (o *Link) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Link) UnmarshalJSON ¶ added in v0.0.3

func (o *Link) UnmarshalJSON(bytes []byte) (err error)

type Milestone ¶

type Milestone struct {
	Links                *BranchingModelSettingsLinks `json:"links,omitempty"`
	Name                 *string                      `json:"name,omitempty"`
	Id                   *int32                       `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

Milestone A milestone as defined in a repository's issue tracker.

func NewMilestone ¶

func NewMilestone() *Milestone

NewMilestone instantiates a new Milestone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewMilestoneWithDefaults ¶

func NewMilestoneWithDefaults() *Milestone

NewMilestoneWithDefaults instantiates a new Milestone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Milestone) GetId ¶

func (o *Milestone) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Milestone) GetIdOk ¶

func (o *Milestone) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Milestone) GetLinks() BranchingModelSettingsLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Milestone) GetLinksOk ¶

func (o *Milestone) GetLinksOk() (*BranchingModelSettingsLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Milestone) GetName ¶

func (o *Milestone) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Milestone) GetNameOk ¶

func (o *Milestone) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Milestone) HasId ¶

func (o *Milestone) HasId() bool

HasId returns a boolean if a field has been set.

func (o *Milestone) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Milestone) HasName ¶

func (o *Milestone) HasName() bool

HasName returns a boolean if a field has been set.

func (Milestone) MarshalJSON ¶

func (o Milestone) MarshalJSON() ([]byte, error)

func (*Milestone) SetId ¶

func (o *Milestone) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (o *Milestone) SetLinks(v BranchingModelSettingsLinks)

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*Milestone) SetName ¶

func (o *Milestone) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Milestone) UnmarshalJSON ¶ added in v0.0.3

func (o *Milestone) UnmarshalJSON(bytes []byte) (err error)

type ModelError ¶

type ModelError struct {
	Type                 string      `json:"type"`
	Error                *ErrorError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

ModelError Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.

func NewModelError ¶

func NewModelError() *ModelError

NewModelError instantiates a new ModelError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewModelErrorWithDefaults ¶

func NewModelErrorWithDefaults() *ModelError

NewModelErrorWithDefaults instantiates a new ModelError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ModelError) GetError ¶

func (o *ModelError) GetError() ErrorError

GetError returns the Error field value if set, zero value otherwise.

func (*ModelError) GetErrorOk ¶

func (o *ModelError) GetErrorOk() (*ErrorError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ModelError) GetType ¶

func (o *ModelError) GetType() string

GetType returns the Type field value

func (*ModelError) GetTypeOk ¶

func (o *ModelError) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ModelError) HasError ¶

func (o *ModelError) HasError() bool

HasError returns a boolean if a field has been set.

func (ModelError) MarshalJSON ¶

func (o ModelError) MarshalJSON() ([]byte, error)

func (*ModelError) SetError ¶

func (o *ModelError) SetError(v ErrorError)

SetError gets a reference to the given ErrorError and assigns it to the Error field.

func (*ModelError) SetType ¶

func (o *ModelError) SetType(v string)

SetType sets field value

func (*ModelError) UnmarshalJSON ¶ added in v0.0.3

func (o *ModelError) UnmarshalJSON(bytes []byte) (err error)

type NullableAccount ¶

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

func NewNullableAccount ¶

func NewNullableAccount(val *Account) *NullableAccount

func (NullableAccount) Get ¶

func (v NullableAccount) Get() *Account

func (NullableAccount) IsSet ¶

func (v NullableAccount) IsSet() bool

func (NullableAccount) MarshalJSON ¶

func (v NullableAccount) MarshalJSON() ([]byte, error)

func (*NullableAccount) Set ¶

func (v *NullableAccount) Set(val *Account)

func (*NullableAccount) UnmarshalJSON ¶

func (v *NullableAccount) UnmarshalJSON(src []byte) error

func (*NullableAccount) Unset ¶

func (v *NullableAccount) Unset()
type NullableAccountLinks struct {
	// contains filtered or unexported fields
}
func NewNullableAccountLinks(val *AccountLinks) *NullableAccountLinks

func (NullableAccountLinks) Get ¶

func (NullableAccountLinks) IsSet ¶

func (v NullableAccountLinks) IsSet() bool

func (NullableAccountLinks) MarshalJSON ¶

func (v NullableAccountLinks) MarshalJSON() ([]byte, error)

func (*NullableAccountLinks) Set ¶

func (v *NullableAccountLinks) Set(val *AccountLinks)

func (*NullableAccountLinks) UnmarshalJSON ¶

func (v *NullableAccountLinks) UnmarshalJSON(src []byte) error

func (*NullableAccountLinks) Unset ¶

func (v *NullableAccountLinks) Unset()

type NullableApplicationProperty ¶

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

func (NullableApplicationProperty) Get ¶

func (NullableApplicationProperty) IsSet ¶

func (NullableApplicationProperty) MarshalJSON ¶

func (v NullableApplicationProperty) MarshalJSON() ([]byte, error)

func (*NullableApplicationProperty) Set ¶

func (*NullableApplicationProperty) UnmarshalJSON ¶

func (v *NullableApplicationProperty) UnmarshalJSON(src []byte) error

func (*NullableApplicationProperty) Unset ¶

func (v *NullableApplicationProperty) Unset()

type NullableAuthor ¶

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

func NewNullableAuthor ¶

func NewNullableAuthor(val *Author) *NullableAuthor

func (NullableAuthor) Get ¶

func (v NullableAuthor) Get() *Author

func (NullableAuthor) IsSet ¶

func (v NullableAuthor) IsSet() bool

func (NullableAuthor) MarshalJSON ¶

func (v NullableAuthor) MarshalJSON() ([]byte, error)

func (*NullableAuthor) Set ¶

func (v *NullableAuthor) Set(val *Author)

func (*NullableAuthor) UnmarshalJSON ¶

func (v *NullableAuthor) UnmarshalJSON(src []byte) error

func (*NullableAuthor) Unset ¶

func (v *NullableAuthor) Unset()

type NullableBaseCommit ¶

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

func NewNullableBaseCommit ¶

func NewNullableBaseCommit(val *BaseCommit) *NullableBaseCommit

func (NullableBaseCommit) Get ¶

func (v NullableBaseCommit) Get() *BaseCommit

func (NullableBaseCommit) IsSet ¶

func (v NullableBaseCommit) IsSet() bool

func (NullableBaseCommit) MarshalJSON ¶

func (v NullableBaseCommit) MarshalJSON() ([]byte, error)

func (*NullableBaseCommit) Set ¶

func (v *NullableBaseCommit) Set(val *BaseCommit)

func (*NullableBaseCommit) UnmarshalJSON ¶

func (v *NullableBaseCommit) UnmarshalJSON(src []byte) error

func (*NullableBaseCommit) Unset ¶

func (v *NullableBaseCommit) Unset()

type NullableBool ¶

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

func NewNullableBool ¶

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get ¶

func (v NullableBool) Get() *bool

func (NullableBool) IsSet ¶

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON ¶

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set ¶

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON ¶

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset ¶

func (v *NullableBool) Unset()

type NullableBranch ¶

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

func NewNullableBranch ¶

func NewNullableBranch(val *Branch) *NullableBranch

func (NullableBranch) Get ¶

func (v NullableBranch) Get() *Branch

func (NullableBranch) IsSet ¶

func (v NullableBranch) IsSet() bool

func (NullableBranch) MarshalJSON ¶

func (v NullableBranch) MarshalJSON() ([]byte, error)

func (*NullableBranch) Set ¶

func (v *NullableBranch) Set(val *Branch)

func (*NullableBranch) UnmarshalJSON ¶

func (v *NullableBranch) UnmarshalJSON(src []byte) error

func (*NullableBranch) Unset ¶

func (v *NullableBranch) Unset()

type NullableBranchRestriction ¶

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

func NewNullableBranchRestriction ¶

func NewNullableBranchRestriction(val *BranchRestriction) *NullableBranchRestriction

func (NullableBranchRestriction) Get ¶

func (NullableBranchRestriction) IsSet ¶

func (v NullableBranchRestriction) IsSet() bool

func (NullableBranchRestriction) MarshalJSON ¶

func (v NullableBranchRestriction) MarshalJSON() ([]byte, error)

func (*NullableBranchRestriction) Set ¶

func (*NullableBranchRestriction) UnmarshalJSON ¶

func (v *NullableBranchRestriction) UnmarshalJSON(src []byte) error

func (*NullableBranchRestriction) Unset ¶

func (v *NullableBranchRestriction) Unset()

type NullableBranchingModel ¶

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

func NewNullableBranchingModel ¶

func NewNullableBranchingModel(val *BranchingModel) *NullableBranchingModel

func (NullableBranchingModel) Get ¶

func (NullableBranchingModel) IsSet ¶

func (v NullableBranchingModel) IsSet() bool

func (NullableBranchingModel) MarshalJSON ¶

func (v NullableBranchingModel) MarshalJSON() ([]byte, error)

func (*NullableBranchingModel) Set ¶

func (*NullableBranchingModel) UnmarshalJSON ¶

func (v *NullableBranchingModel) UnmarshalJSON(src []byte) error

func (*NullableBranchingModel) Unset ¶

func (v *NullableBranchingModel) Unset()

type NullableBranchingModelBranchTypes ¶

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

func (NullableBranchingModelBranchTypes) Get ¶

func (NullableBranchingModelBranchTypes) IsSet ¶

func (NullableBranchingModelBranchTypes) MarshalJSON ¶

func (v NullableBranchingModelBranchTypes) MarshalJSON() ([]byte, error)

func (*NullableBranchingModelBranchTypes) Set ¶

func (*NullableBranchingModelBranchTypes) UnmarshalJSON ¶

func (v *NullableBranchingModelBranchTypes) UnmarshalJSON(src []byte) error

func (*NullableBranchingModelBranchTypes) Unset ¶

type NullableBranchingModelDevelopment ¶

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

func (NullableBranchingModelDevelopment) Get ¶

func (NullableBranchingModelDevelopment) IsSet ¶

func (NullableBranchingModelDevelopment) MarshalJSON ¶

func (v NullableBranchingModelDevelopment) MarshalJSON() ([]byte, error)

func (*NullableBranchingModelDevelopment) Set ¶

func (*NullableBranchingModelDevelopment) UnmarshalJSON ¶

func (v *NullableBranchingModelDevelopment) UnmarshalJSON(src []byte) error

func (*NullableBranchingModelDevelopment) Unset ¶

type NullableBranchingModelSettings ¶

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

func (NullableBranchingModelSettings) Get ¶

func (NullableBranchingModelSettings) IsSet ¶

func (NullableBranchingModelSettings) MarshalJSON ¶

func (v NullableBranchingModelSettings) MarshalJSON() ([]byte, error)

func (*NullableBranchingModelSettings) Set ¶

func (*NullableBranchingModelSettings) UnmarshalJSON ¶

func (v *NullableBranchingModelSettings) UnmarshalJSON(src []byte) error

func (*NullableBranchingModelSettings) Unset ¶

func (v *NullableBranchingModelSettings) Unset()

type NullableBranchingModelSettingsBranchTypes ¶

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

func (NullableBranchingModelSettingsBranchTypes) Get ¶

func (NullableBranchingModelSettingsBranchTypes) IsSet ¶

func (NullableBranchingModelSettingsBranchTypes) MarshalJSON ¶

func (*NullableBranchingModelSettingsBranchTypes) Set ¶

func (*NullableBranchingModelSettingsBranchTypes) UnmarshalJSON ¶

func (v *NullableBranchingModelSettingsBranchTypes) UnmarshalJSON(src []byte) error

func (*NullableBranchingModelSettingsBranchTypes) Unset ¶

type NullableBranchingModelSettingsDevelopment ¶

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

func (NullableBranchingModelSettingsDevelopment) Get ¶

func (NullableBranchingModelSettingsDevelopment) IsSet ¶

func (NullableBranchingModelSettingsDevelopment) MarshalJSON ¶

func (*NullableBranchingModelSettingsDevelopment) Set ¶

func (*NullableBranchingModelSettingsDevelopment) UnmarshalJSON ¶

func (v *NullableBranchingModelSettingsDevelopment) UnmarshalJSON(src []byte) error

func (*NullableBranchingModelSettingsDevelopment) Unset ¶

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

func (NullableBranchingModelSettingsLinks) Get ¶

func (NullableBranchingModelSettingsLinks) IsSet ¶

func (NullableBranchingModelSettingsLinks) MarshalJSON ¶

func (v NullableBranchingModelSettingsLinks) MarshalJSON() ([]byte, error)

func (*NullableBranchingModelSettingsLinks) Set ¶

func (*NullableBranchingModelSettingsLinks) UnmarshalJSON ¶

func (v *NullableBranchingModelSettingsLinks) UnmarshalJSON(src []byte) error

func (*NullableBranchingModelSettingsLinks) Unset ¶

type NullableBranchingModelSettingsProduction ¶

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

func (NullableBranchingModelSettingsProduction) Get ¶

func (NullableBranchingModelSettingsProduction) IsSet ¶

func (NullableBranchingModelSettingsProduction) MarshalJSON ¶

func (*NullableBranchingModelSettingsProduction) Set ¶

func (*NullableBranchingModelSettingsProduction) UnmarshalJSON ¶

func (v *NullableBranchingModelSettingsProduction) UnmarshalJSON(src []byte) error

func (*NullableBranchingModelSettingsProduction) Unset ¶

type NullableBranchrestriction ¶

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

func NewNullableBranchrestriction ¶

func NewNullableBranchrestriction(val *Branchrestriction) *NullableBranchrestriction

func (NullableBranchrestriction) Get ¶

func (NullableBranchrestriction) IsSet ¶

func (v NullableBranchrestriction) IsSet() bool

func (NullableBranchrestriction) MarshalJSON ¶

func (v NullableBranchrestriction) MarshalJSON() ([]byte, error)

func (*NullableBranchrestriction) Set ¶

func (*NullableBranchrestriction) UnmarshalJSON ¶

func (v *NullableBranchrestriction) UnmarshalJSON(src []byte) error

func (*NullableBranchrestriction) Unset ¶

func (v *NullableBranchrestriction) Unset()

type NullableComment ¶

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

func NewNullableComment ¶

func NewNullableComment(val *Comment) *NullableComment

func (NullableComment) Get ¶

func (v NullableComment) Get() *Comment

func (NullableComment) IsSet ¶

func (v NullableComment) IsSet() bool

func (NullableComment) MarshalJSON ¶

func (v NullableComment) MarshalJSON() ([]byte, error)

func (*NullableComment) Set ¶

func (v *NullableComment) Set(val *Comment)

func (*NullableComment) UnmarshalJSON ¶

func (v *NullableComment) UnmarshalJSON(src []byte) error

func (*NullableComment) Unset ¶

func (v *NullableComment) Unset()

type NullableCommentInline ¶

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

func NewNullableCommentInline ¶

func NewNullableCommentInline(val *CommentInline) *NullableCommentInline

func (NullableCommentInline) Get ¶

func (NullableCommentInline) IsSet ¶

func (v NullableCommentInline) IsSet() bool

func (NullableCommentInline) MarshalJSON ¶

func (v NullableCommentInline) MarshalJSON() ([]byte, error)

func (*NullableCommentInline) Set ¶

func (v *NullableCommentInline) Set(val *CommentInline)

func (*NullableCommentInline) UnmarshalJSON ¶

func (v *NullableCommentInline) UnmarshalJSON(src []byte) error

func (*NullableCommentInline) Unset ¶

func (v *NullableCommentInline) Unset()
type NullableCommentLinks struct {
	// contains filtered or unexported fields
}
func NewNullableCommentLinks(val *CommentLinks) *NullableCommentLinks

func (NullableCommentLinks) Get ¶

func (NullableCommentLinks) IsSet ¶

func (v NullableCommentLinks) IsSet() bool

func (NullableCommentLinks) MarshalJSON ¶

func (v NullableCommentLinks) MarshalJSON() ([]byte, error)

func (*NullableCommentLinks) Set ¶

func (v *NullableCommentLinks) Set(val *CommentLinks)

func (*NullableCommentLinks) UnmarshalJSON ¶

func (v *NullableCommentLinks) UnmarshalJSON(src []byte) error

func (*NullableCommentLinks) Unset ¶

func (v *NullableCommentLinks) Unset()

type NullableCommit ¶

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

func NewNullableCommit ¶

func NewNullableCommit(val *Commit) *NullableCommit

func (NullableCommit) Get ¶

func (v NullableCommit) Get() *Commit

func (NullableCommit) IsSet ¶

func (v NullableCommit) IsSet() bool

func (NullableCommit) MarshalJSON ¶

func (v NullableCommit) MarshalJSON() ([]byte, error)

func (*NullableCommit) Set ¶

func (v *NullableCommit) Set(val *Commit)

func (*NullableCommit) UnmarshalJSON ¶

func (v *NullableCommit) UnmarshalJSON(src []byte) error

func (*NullableCommit) Unset ¶

func (v *NullableCommit) Unset()

type NullableCommitComment ¶

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

func NewNullableCommitComment ¶

func NewNullableCommitComment(val *CommitComment) *NullableCommitComment

func (NullableCommitComment) Get ¶

func (NullableCommitComment) IsSet ¶

func (v NullableCommitComment) IsSet() bool

func (NullableCommitComment) MarshalJSON ¶

func (v NullableCommitComment) MarshalJSON() ([]byte, error)

func (*NullableCommitComment) Set ¶

func (v *NullableCommitComment) Set(val *CommitComment)

func (*NullableCommitComment) UnmarshalJSON ¶

func (v *NullableCommitComment) UnmarshalJSON(src []byte) error

func (*NullableCommitComment) Unset ¶

func (v *NullableCommitComment) Unset()

type NullableCommitFile ¶

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

func NewNullableCommitFile ¶

func NewNullableCommitFile(val *CommitFile) *NullableCommitFile

func (NullableCommitFile) Get ¶

func (v NullableCommitFile) Get() *CommitFile

func (NullableCommitFile) IsSet ¶

func (v NullableCommitFile) IsSet() bool

func (NullableCommitFile) MarshalJSON ¶

func (v NullableCommitFile) MarshalJSON() ([]byte, error)

func (*NullableCommitFile) Set ¶

func (v *NullableCommitFile) Set(val *CommitFile)

func (*NullableCommitFile) UnmarshalJSON ¶

func (v *NullableCommitFile) UnmarshalJSON(src []byte) error

func (*NullableCommitFile) Unset ¶

func (v *NullableCommitFile) Unset()

type NullableCommitReport ¶

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

func NewNullableCommitReport ¶

func NewNullableCommitReport(val *CommitReport) *NullableCommitReport

func (NullableCommitReport) Get ¶

func (NullableCommitReport) IsSet ¶

func (v NullableCommitReport) IsSet() bool

func (NullableCommitReport) MarshalJSON ¶

func (v NullableCommitReport) MarshalJSON() ([]byte, error)

func (*NullableCommitReport) Set ¶

func (v *NullableCommitReport) Set(val *CommitReport)

func (*NullableCommitReport) UnmarshalJSON ¶

func (v *NullableCommitReport) UnmarshalJSON(src []byte) error

func (*NullableCommitReport) Unset ¶

func (v *NullableCommitReport) Unset()

type NullableCommitStatus ¶

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

func NewNullableCommitStatus ¶

func NewNullableCommitStatus(val *CommitStatus) *NullableCommitStatus

func (NullableCommitStatus) Get ¶

func (NullableCommitStatus) IsSet ¶

func (v NullableCommitStatus) IsSet() bool

func (NullableCommitStatus) MarshalJSON ¶

func (v NullableCommitStatus) MarshalJSON() ([]byte, error)

func (*NullableCommitStatus) Set ¶

func (v *NullableCommitStatus) Set(val *CommitStatus)

func (*NullableCommitStatus) UnmarshalJSON ¶

func (v *NullableCommitStatus) UnmarshalJSON(src []byte) error

func (*NullableCommitStatus) Unset ¶

func (v *NullableCommitStatus) Unset()
type NullableCommitStatusLinks struct {
	// contains filtered or unexported fields
}
func NewNullableCommitStatusLinks(val *CommitStatusLinks) *NullableCommitStatusLinks

func (NullableCommitStatusLinks) Get ¶

func (NullableCommitStatusLinks) IsSet ¶

func (v NullableCommitStatusLinks) IsSet() bool

func (NullableCommitStatusLinks) MarshalJSON ¶

func (v NullableCommitStatusLinks) MarshalJSON() ([]byte, error)

func (*NullableCommitStatusLinks) Set ¶

func (*NullableCommitStatusLinks) UnmarshalJSON ¶

func (v *NullableCommitStatusLinks) UnmarshalJSON(src []byte) error

func (*NullableCommitStatusLinks) Unset ¶

func (v *NullableCommitStatusLinks) Unset()

type NullableCommitstatus ¶

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

func NewNullableCommitstatus ¶

func NewNullableCommitstatus(val *Commitstatus) *NullableCommitstatus

func (NullableCommitstatus) Get ¶

func (NullableCommitstatus) IsSet ¶

func (v NullableCommitstatus) IsSet() bool

func (NullableCommitstatus) MarshalJSON ¶

func (v NullableCommitstatus) MarshalJSON() ([]byte, error)

func (*NullableCommitstatus) Set ¶

func (v *NullableCommitstatus) Set(val *Commitstatus)

func (*NullableCommitstatus) UnmarshalJSON ¶

func (v *NullableCommitstatus) UnmarshalJSON(src []byte) error

func (*NullableCommitstatus) Unset ¶

func (v *NullableCommitstatus) Unset()

type NullableComponent ¶

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

func NewNullableComponent ¶

func NewNullableComponent(val *Component) *NullableComponent

func (NullableComponent) Get ¶

func (v NullableComponent) Get() *Component

func (NullableComponent) IsSet ¶

func (v NullableComponent) IsSet() bool

func (NullableComponent) MarshalJSON ¶

func (v NullableComponent) MarshalJSON() ([]byte, error)

func (*NullableComponent) Set ¶

func (v *NullableComponent) Set(val *Component)

func (*NullableComponent) UnmarshalJSON ¶

func (v *NullableComponent) UnmarshalJSON(src []byte) error

func (*NullableComponent) Unset ¶

func (v *NullableComponent) Unset()

type NullableDdevReport ¶

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

func NewNullableDdevReport ¶

func NewNullableDdevReport(val *DdevReport) *NullableDdevReport

func (NullableDdevReport) Get ¶

func (v NullableDdevReport) Get() *DdevReport

func (NullableDdevReport) IsSet ¶

func (v NullableDdevReport) IsSet() bool

func (NullableDdevReport) MarshalJSON ¶

func (v NullableDdevReport) MarshalJSON() ([]byte, error)

func (*NullableDdevReport) Set ¶

func (v *NullableDdevReport) Set(val *DdevReport)

func (*NullableDdevReport) UnmarshalJSON ¶

func (v *NullableDdevReport) UnmarshalJSON(src []byte) error

func (*NullableDdevReport) Unset ¶

func (v *NullableDdevReport) Unset()

type NullableDeployKey ¶

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

func NewNullableDeployKey ¶

func NewNullableDeployKey(val *DeployKey) *NullableDeployKey

func (NullableDeployKey) Get ¶

func (v NullableDeployKey) Get() *DeployKey

func (NullableDeployKey) IsSet ¶

func (v NullableDeployKey) IsSet() bool

func (NullableDeployKey) MarshalJSON ¶

func (v NullableDeployKey) MarshalJSON() ([]byte, error)

func (*NullableDeployKey) Set ¶

func (v *NullableDeployKey) Set(val *DeployKey)

func (*NullableDeployKey) UnmarshalJSON ¶

func (v *NullableDeployKey) UnmarshalJSON(src []byte) error

func (*NullableDeployKey) Unset ¶

func (v *NullableDeployKey) Unset()

type NullableDeployment ¶

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

func NewNullableDeployment ¶

func NewNullableDeployment(val *Deployment) *NullableDeployment

func (NullableDeployment) Get ¶

func (v NullableDeployment) Get() *Deployment

func (NullableDeployment) IsSet ¶

func (v NullableDeployment) IsSet() bool

func (NullableDeployment) MarshalJSON ¶

func (v NullableDeployment) MarshalJSON() ([]byte, error)

func (*NullableDeployment) Set ¶

func (v *NullableDeployment) Set(val *Deployment)

func (*NullableDeployment) UnmarshalJSON ¶

func (v *NullableDeployment) UnmarshalJSON(src []byte) error

func (*NullableDeployment) Unset ¶

func (v *NullableDeployment) Unset()

type NullableDeploymentEnvironment ¶

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

func (NullableDeploymentEnvironment) Get ¶

func (NullableDeploymentEnvironment) IsSet ¶

func (NullableDeploymentEnvironment) MarshalJSON ¶

func (v NullableDeploymentEnvironment) MarshalJSON() ([]byte, error)

func (*NullableDeploymentEnvironment) Set ¶

func (*NullableDeploymentEnvironment) UnmarshalJSON ¶

func (v *NullableDeploymentEnvironment) UnmarshalJSON(src []byte) error

func (*NullableDeploymentEnvironment) Unset ¶

func (v *NullableDeploymentEnvironment) Unset()

type NullableDeploymentEnvironmentLock ¶

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

func (NullableDeploymentEnvironmentLock) Get ¶

func (NullableDeploymentEnvironmentLock) IsSet ¶

func (NullableDeploymentEnvironmentLock) MarshalJSON ¶

func (v NullableDeploymentEnvironmentLock) MarshalJSON() ([]byte, error)

func (*NullableDeploymentEnvironmentLock) Set ¶

func (*NullableDeploymentEnvironmentLock) UnmarshalJSON ¶

func (v *NullableDeploymentEnvironmentLock) UnmarshalJSON(src []byte) error

func (*NullableDeploymentEnvironmentLock) Unset ¶

type NullableDeploymentRelease ¶

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

func NewNullableDeploymentRelease ¶

func NewNullableDeploymentRelease(val *DeploymentRelease) *NullableDeploymentRelease

func (NullableDeploymentRelease) Get ¶

func (NullableDeploymentRelease) IsSet ¶

func (v NullableDeploymentRelease) IsSet() bool

func (NullableDeploymentRelease) MarshalJSON ¶

func (v NullableDeploymentRelease) MarshalJSON() ([]byte, error)

func (*NullableDeploymentRelease) Set ¶

func (*NullableDeploymentRelease) UnmarshalJSON ¶

func (v *NullableDeploymentRelease) UnmarshalJSON(src []byte) error

func (*NullableDeploymentRelease) Unset ¶

func (v *NullableDeploymentRelease) Unset()

type NullableDeploymentState ¶

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

func NewNullableDeploymentState ¶

func NewNullableDeploymentState(val *DeploymentState) *NullableDeploymentState

func (NullableDeploymentState) Get ¶

func (NullableDeploymentState) IsSet ¶

func (v NullableDeploymentState) IsSet() bool

func (NullableDeploymentState) MarshalJSON ¶

func (v NullableDeploymentState) MarshalJSON() ([]byte, error)

func (*NullableDeploymentState) Set ¶

func (*NullableDeploymentState) UnmarshalJSON ¶

func (v *NullableDeploymentState) UnmarshalJSON(src []byte) error

func (*NullableDeploymentState) Unset ¶

func (v *NullableDeploymentState) Unset()

type NullableDeploymentStateCompleted ¶

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

func (NullableDeploymentStateCompleted) Get ¶

func (NullableDeploymentStateCompleted) IsSet ¶

func (NullableDeploymentStateCompleted) MarshalJSON ¶

func (v NullableDeploymentStateCompleted) MarshalJSON() ([]byte, error)

func (*NullableDeploymentStateCompleted) Set ¶

func (*NullableDeploymentStateCompleted) UnmarshalJSON ¶

func (v *NullableDeploymentStateCompleted) UnmarshalJSON(src []byte) error

func (*NullableDeploymentStateCompleted) Unset ¶

type NullableDeploymentStateCompletedAllOf ¶

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

func (NullableDeploymentStateCompletedAllOf) Get ¶

func (NullableDeploymentStateCompletedAllOf) IsSet ¶

func (NullableDeploymentStateCompletedAllOf) MarshalJSON ¶

func (v NullableDeploymentStateCompletedAllOf) MarshalJSON() ([]byte, error)

func (*NullableDeploymentStateCompletedAllOf) Set ¶

func (*NullableDeploymentStateCompletedAllOf) UnmarshalJSON ¶

func (v *NullableDeploymentStateCompletedAllOf) UnmarshalJSON(src []byte) error

func (*NullableDeploymentStateCompletedAllOf) Unset ¶

type NullableDeploymentStateCompletedStatus ¶

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

func (NullableDeploymentStateCompletedStatus) Get ¶

func (NullableDeploymentStateCompletedStatus) IsSet ¶

func (NullableDeploymentStateCompletedStatus) MarshalJSON ¶

func (v NullableDeploymentStateCompletedStatus) MarshalJSON() ([]byte, error)

func (*NullableDeploymentStateCompletedStatus) Set ¶

func (*NullableDeploymentStateCompletedStatus) UnmarshalJSON ¶

func (v *NullableDeploymentStateCompletedStatus) UnmarshalJSON(src []byte) error

func (*NullableDeploymentStateCompletedStatus) Unset ¶

type NullableDeploymentStateCompletedStatusFailed ¶

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

func (NullableDeploymentStateCompletedStatusFailed) Get ¶

func (NullableDeploymentStateCompletedStatusFailed) IsSet ¶

func (NullableDeploymentStateCompletedStatusFailed) MarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusFailed) Set ¶

func (*NullableDeploymentStateCompletedStatusFailed) UnmarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusFailed) Unset ¶

type NullableDeploymentStateCompletedStatusFailedAllOf ¶

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

func (NullableDeploymentStateCompletedStatusFailedAllOf) Get ¶

func (NullableDeploymentStateCompletedStatusFailedAllOf) IsSet ¶

func (NullableDeploymentStateCompletedStatusFailedAllOf) MarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusFailedAllOf) Set ¶

func (*NullableDeploymentStateCompletedStatusFailedAllOf) UnmarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusFailedAllOf) Unset ¶

type NullableDeploymentStateCompletedStatusStopped ¶

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

func (NullableDeploymentStateCompletedStatusStopped) Get ¶

func (NullableDeploymentStateCompletedStatusStopped) IsSet ¶

func (NullableDeploymentStateCompletedStatusStopped) MarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusStopped) Set ¶

func (*NullableDeploymentStateCompletedStatusStopped) UnmarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusStopped) Unset ¶

type NullableDeploymentStateCompletedStatusStoppedAllOf ¶

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

func (NullableDeploymentStateCompletedStatusStoppedAllOf) Get ¶

func (NullableDeploymentStateCompletedStatusStoppedAllOf) IsSet ¶

func (NullableDeploymentStateCompletedStatusStoppedAllOf) MarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusStoppedAllOf) Set ¶

func (*NullableDeploymentStateCompletedStatusStoppedAllOf) UnmarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusStoppedAllOf) Unset ¶

type NullableDeploymentStateCompletedStatusSuccessful ¶

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

func (NullableDeploymentStateCompletedStatusSuccessful) Get ¶

func (NullableDeploymentStateCompletedStatusSuccessful) IsSet ¶

func (NullableDeploymentStateCompletedStatusSuccessful) MarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusSuccessful) Set ¶

func (*NullableDeploymentStateCompletedStatusSuccessful) UnmarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusSuccessful) Unset ¶

type NullableDeploymentStateCompletedStatusSuccessfulAllOf ¶

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

func (NullableDeploymentStateCompletedStatusSuccessfulAllOf) Get ¶

func (NullableDeploymentStateCompletedStatusSuccessfulAllOf) IsSet ¶

func (NullableDeploymentStateCompletedStatusSuccessfulAllOf) MarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusSuccessfulAllOf) Set ¶

func (*NullableDeploymentStateCompletedStatusSuccessfulAllOf) UnmarshalJSON ¶

func (*NullableDeploymentStateCompletedStatusSuccessfulAllOf) Unset ¶

type NullableDeploymentStateInProgress ¶

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

func (NullableDeploymentStateInProgress) Get ¶

func (NullableDeploymentStateInProgress) IsSet ¶

func (NullableDeploymentStateInProgress) MarshalJSON ¶

func (v NullableDeploymentStateInProgress) MarshalJSON() ([]byte, error)

func (*NullableDeploymentStateInProgress) Set ¶

func (*NullableDeploymentStateInProgress) UnmarshalJSON ¶

func (v *NullableDeploymentStateInProgress) UnmarshalJSON(src []byte) error

func (*NullableDeploymentStateInProgress) Unset ¶

type NullableDeploymentStateInProgressAllOf ¶

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

func (NullableDeploymentStateInProgressAllOf) Get ¶

func (NullableDeploymentStateInProgressAllOf) IsSet ¶

func (NullableDeploymentStateInProgressAllOf) MarshalJSON ¶

func (v NullableDeploymentStateInProgressAllOf) MarshalJSON() ([]byte, error)

func (*NullableDeploymentStateInProgressAllOf) Set ¶

func (*NullableDeploymentStateInProgressAllOf) UnmarshalJSON ¶

func (v *NullableDeploymentStateInProgressAllOf) UnmarshalJSON(src []byte) error

func (*NullableDeploymentStateInProgressAllOf) Unset ¶

type NullableDeploymentStateUndeployed ¶

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

func (NullableDeploymentStateUndeployed) Get ¶

func (NullableDeploymentStateUndeployed) IsSet ¶

func (NullableDeploymentStateUndeployed) MarshalJSON ¶

func (v NullableDeploymentStateUndeployed) MarshalJSON() ([]byte, error)

func (*NullableDeploymentStateUndeployed) Set ¶

func (*NullableDeploymentStateUndeployed) UnmarshalJSON ¶

func (v *NullableDeploymentStateUndeployed) UnmarshalJSON(src []byte) error

func (*NullableDeploymentStateUndeployed) Unset ¶

type NullableDeploymentStateUndeployedAllOf ¶

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

func (NullableDeploymentStateUndeployedAllOf) Get ¶

func (NullableDeploymentStateUndeployedAllOf) IsSet ¶

func (NullableDeploymentStateUndeployedAllOf) MarshalJSON ¶

func (v NullableDeploymentStateUndeployedAllOf) MarshalJSON() ([]byte, error)

func (*NullableDeploymentStateUndeployedAllOf) Set ¶

func (*NullableDeploymentStateUndeployedAllOf) UnmarshalJSON ¶

func (v *NullableDeploymentStateUndeployedAllOf) UnmarshalJSON(src []byte) error

func (*NullableDeploymentStateUndeployedAllOf) Unset ¶

type NullableDeploymentVariable ¶

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

func NewNullableDeploymentVariable ¶

func NewNullableDeploymentVariable(val *DeploymentVariable) *NullableDeploymentVariable

func (NullableDeploymentVariable) Get ¶

func (NullableDeploymentVariable) IsSet ¶

func (v NullableDeploymentVariable) IsSet() bool

func (NullableDeploymentVariable) MarshalJSON ¶

func (v NullableDeploymentVariable) MarshalJSON() ([]byte, error)

func (*NullableDeploymentVariable) Set ¶

func (*NullableDeploymentVariable) UnmarshalJSON ¶

func (v *NullableDeploymentVariable) UnmarshalJSON(src []byte) error

func (*NullableDeploymentVariable) Unset ¶

func (v *NullableDeploymentVariable) Unset()

type NullableDeploymentsDdevDeploymentEnvironment ¶

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

func (NullableDeploymentsDdevDeploymentEnvironment) Get ¶

func (NullableDeploymentsDdevDeploymentEnvironment) IsSet ¶

func (NullableDeploymentsDdevDeploymentEnvironment) MarshalJSON ¶

func (*NullableDeploymentsDdevDeploymentEnvironment) Set ¶

func (*NullableDeploymentsDdevDeploymentEnvironment) UnmarshalJSON ¶

func (*NullableDeploymentsDdevDeploymentEnvironment) Unset ¶

type NullableDeploymentsDdevDeploymentEnvironmentLock ¶

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

func (NullableDeploymentsDdevDeploymentEnvironmentLock) Get ¶

func (NullableDeploymentsDdevDeploymentEnvironmentLock) IsSet ¶

func (NullableDeploymentsDdevDeploymentEnvironmentLock) MarshalJSON ¶

func (*NullableDeploymentsDdevDeploymentEnvironmentLock) Set ¶

func (*NullableDeploymentsDdevDeploymentEnvironmentLock) UnmarshalJSON ¶

func (*NullableDeploymentsDdevDeploymentEnvironmentLock) Unset ¶

type NullableDeploymentsDdevPaginatedEnvironments ¶

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

func (NullableDeploymentsDdevPaginatedEnvironments) Get ¶

func (NullableDeploymentsDdevPaginatedEnvironments) IsSet ¶

func (NullableDeploymentsDdevPaginatedEnvironments) MarshalJSON ¶

func (*NullableDeploymentsDdevPaginatedEnvironments) Set ¶

func (*NullableDeploymentsDdevPaginatedEnvironments) UnmarshalJSON ¶

func (*NullableDeploymentsDdevPaginatedEnvironments) Unset ¶

type NullableDeploymentsStgWestDeploymentEnvironment ¶

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

func (NullableDeploymentsStgWestDeploymentEnvironment) Get ¶

func (NullableDeploymentsStgWestDeploymentEnvironment) IsSet ¶

func (NullableDeploymentsStgWestDeploymentEnvironment) MarshalJSON ¶

func (*NullableDeploymentsStgWestDeploymentEnvironment) Set ¶

func (*NullableDeploymentsStgWestDeploymentEnvironment) UnmarshalJSON ¶

func (*NullableDeploymentsStgWestDeploymentEnvironment) Unset ¶

type NullableDeploymentsStgWestDeploymentEnvironmentLock ¶

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

func (NullableDeploymentsStgWestDeploymentEnvironmentLock) Get ¶

func (NullableDeploymentsStgWestDeploymentEnvironmentLock) IsSet ¶

func (NullableDeploymentsStgWestDeploymentEnvironmentLock) MarshalJSON ¶

func (*NullableDeploymentsStgWestDeploymentEnvironmentLock) Set ¶

func (*NullableDeploymentsStgWestDeploymentEnvironmentLock) UnmarshalJSON ¶

func (*NullableDeploymentsStgWestDeploymentEnvironmentLock) Unset ¶

type NullableDeploymentsStgWestPaginatedEnvironments ¶

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

func (NullableDeploymentsStgWestPaginatedEnvironments) Get ¶

func (NullableDeploymentsStgWestPaginatedEnvironments) IsSet ¶

func (NullableDeploymentsStgWestPaginatedEnvironments) MarshalJSON ¶

func (*NullableDeploymentsStgWestPaginatedEnvironments) Set ¶

func (*NullableDeploymentsStgWestPaginatedEnvironments) UnmarshalJSON ¶

func (*NullableDeploymentsStgWestPaginatedEnvironments) Unset ¶

type NullableDiffstat ¶

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

func NewNullableDiffstat ¶

func NewNullableDiffstat(val *Diffstat) *NullableDiffstat

func (NullableDiffstat) Get ¶

func (v NullableDiffstat) Get() *Diffstat

func (NullableDiffstat) IsSet ¶

func (v NullableDiffstat) IsSet() bool

func (NullableDiffstat) MarshalJSON ¶

func (v NullableDiffstat) MarshalJSON() ([]byte, error)

func (*NullableDiffstat) Set ¶

func (v *NullableDiffstat) Set(val *Diffstat)

func (*NullableDiffstat) UnmarshalJSON ¶

func (v *NullableDiffstat) UnmarshalJSON(src []byte) error

func (*NullableDiffstat) Unset ¶

func (v *NullableDiffstat) Unset()

type NullableErrorError ¶

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

func NewNullableErrorError ¶

func NewNullableErrorError(val *ErrorError) *NullableErrorError

func (NullableErrorError) Get ¶

func (v NullableErrorError) Get() *ErrorError

func (NullableErrorError) IsSet ¶

func (v NullableErrorError) IsSet() bool

func (NullableErrorError) MarshalJSON ¶

func (v NullableErrorError) MarshalJSON() ([]byte, error)

func (*NullableErrorError) Set ¶

func (v *NullableErrorError) Set(val *ErrorError)

func (*NullableErrorError) UnmarshalJSON ¶

func (v *NullableErrorError) UnmarshalJSON(src []byte) error

func (*NullableErrorError) Unset ¶

func (v *NullableErrorError) Unset()

type NullableExportOptions ¶

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

func NewNullableExportOptions ¶

func NewNullableExportOptions(val *ExportOptions) *NullableExportOptions

func (NullableExportOptions) Get ¶

func (NullableExportOptions) IsSet ¶

func (v NullableExportOptions) IsSet() bool

func (NullableExportOptions) MarshalJSON ¶

func (v NullableExportOptions) MarshalJSON() ([]byte, error)

func (*NullableExportOptions) Set ¶

func (v *NullableExportOptions) Set(val *ExportOptions)

func (*NullableExportOptions) UnmarshalJSON ¶

func (v *NullableExportOptions) UnmarshalJSON(src []byte) error

func (*NullableExportOptions) Unset ¶

func (v *NullableExportOptions) Unset()

type NullableFloat32 ¶

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

func NewNullableFloat32 ¶

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get ¶

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet ¶

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON ¶

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set ¶

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON ¶

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset ¶

func (v *NullableFloat32) Unset()

type NullableFloat64 ¶

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

func NewNullableFloat64 ¶

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get ¶

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet ¶

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON ¶

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set ¶

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON ¶

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset ¶

func (v *NullableFloat64) Unset()

type NullableGroup ¶

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

func NewNullableGroup ¶

func NewNullableGroup(val *Group) *NullableGroup

func (NullableGroup) Get ¶

func (v NullableGroup) Get() *Group

func (NullableGroup) IsSet ¶

func (v NullableGroup) IsSet() bool

func (NullableGroup) MarshalJSON ¶

func (v NullableGroup) MarshalJSON() ([]byte, error)

func (*NullableGroup) Set ¶

func (v *NullableGroup) Set(val *Group)

func (*NullableGroup) UnmarshalJSON ¶

func (v *NullableGroup) UnmarshalJSON(src []byte) error

func (*NullableGroup) Unset ¶

func (v *NullableGroup) Unset()
type NullableGroupLinks struct {
	// contains filtered or unexported fields
}
func NewNullableGroupLinks(val *GroupLinks) *NullableGroupLinks

func (NullableGroupLinks) Get ¶

func (v NullableGroupLinks) Get() *GroupLinks

func (NullableGroupLinks) IsSet ¶

func (v NullableGroupLinks) IsSet() bool

func (NullableGroupLinks) MarshalJSON ¶

func (v NullableGroupLinks) MarshalJSON() ([]byte, error)

func (*NullableGroupLinks) Set ¶

func (v *NullableGroupLinks) Set(val *GroupLinks)

func (*NullableGroupLinks) UnmarshalJSON ¶

func (v *NullableGroupLinks) UnmarshalJSON(src []byte) error

func (*NullableGroupLinks) Unset ¶

func (v *NullableGroupLinks) Unset()

type NullableHookEvent ¶

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

func NewNullableHookEvent ¶

func NewNullableHookEvent(val *HookEvent) *NullableHookEvent

func (NullableHookEvent) Get ¶

func (v NullableHookEvent) Get() *HookEvent

func (NullableHookEvent) IsSet ¶

func (v NullableHookEvent) IsSet() bool

func (NullableHookEvent) MarshalJSON ¶

func (v NullableHookEvent) MarshalJSON() ([]byte, error)

func (*NullableHookEvent) Set ¶

func (v *NullableHookEvent) Set(val *HookEvent)

func (*NullableHookEvent) UnmarshalJSON ¶

func (v *NullableHookEvent) UnmarshalJSON(src []byte) error

func (*NullableHookEvent) Unset ¶

func (v *NullableHookEvent) Unset()

type NullableInt ¶

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

func NewNullableInt ¶

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get ¶

func (v NullableInt) Get() *int

func (NullableInt) IsSet ¶

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON ¶

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set ¶

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON ¶

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset ¶

func (v *NullableInt) Unset()

type NullableInt32 ¶

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

func NewNullableInt32 ¶

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get ¶

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet ¶

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON ¶

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set ¶

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON ¶

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset ¶

func (v *NullableInt32) Unset()

type NullableInt64 ¶

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

func NewNullableInt64 ¶

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get ¶

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet ¶

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON ¶

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set ¶

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON ¶

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset ¶

func (v *NullableInt64) Unset()

type NullableIssue ¶

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

func NewNullableIssue ¶

func NewNullableIssue(val *Issue) *NullableIssue

func (NullableIssue) Get ¶

func (v NullableIssue) Get() *Issue

func (NullableIssue) IsSet ¶

func (v NullableIssue) IsSet() bool

func (NullableIssue) MarshalJSON ¶

func (v NullableIssue) MarshalJSON() ([]byte, error)

func (*NullableIssue) Set ¶

func (v *NullableIssue) Set(val *Issue)

func (*NullableIssue) UnmarshalJSON ¶

func (v *NullableIssue) UnmarshalJSON(src []byte) error

func (*NullableIssue) Unset ¶

func (v *NullableIssue) Unset()

type NullableIssueAttachment ¶

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

func NewNullableIssueAttachment ¶

func NewNullableIssueAttachment(val *IssueAttachment) *NullableIssueAttachment

func (NullableIssueAttachment) Get ¶

func (NullableIssueAttachment) IsSet ¶

func (v NullableIssueAttachment) IsSet() bool

func (NullableIssueAttachment) MarshalJSON ¶

func (v NullableIssueAttachment) MarshalJSON() ([]byte, error)

func (*NullableIssueAttachment) Set ¶

func (*NullableIssueAttachment) UnmarshalJSON ¶

func (v *NullableIssueAttachment) UnmarshalJSON(src []byte) error

func (*NullableIssueAttachment) Unset ¶

func (v *NullableIssueAttachment) Unset()

type NullableIssueChange ¶

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

func NewNullableIssueChange ¶

func NewNullableIssueChange(val *IssueChange) *NullableIssueChange

func (NullableIssueChange) Get ¶

func (NullableIssueChange) IsSet ¶

func (v NullableIssueChange) IsSet() bool

func (NullableIssueChange) MarshalJSON ¶

func (v NullableIssueChange) MarshalJSON() ([]byte, error)

func (*NullableIssueChange) Set ¶

func (v *NullableIssueChange) Set(val *IssueChange)

func (*NullableIssueChange) UnmarshalJSON ¶

func (v *NullableIssueChange) UnmarshalJSON(src []byte) error

func (*NullableIssueChange) Unset ¶

func (v *NullableIssueChange) Unset()

type NullableIssueChangeChanges ¶

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

func NewNullableIssueChangeChanges ¶

func NewNullableIssueChangeChanges(val *IssueChangeChanges) *NullableIssueChangeChanges

func (NullableIssueChangeChanges) Get ¶

func (NullableIssueChangeChanges) IsSet ¶

func (v NullableIssueChangeChanges) IsSet() bool

func (NullableIssueChangeChanges) MarshalJSON ¶

func (v NullableIssueChangeChanges) MarshalJSON() ([]byte, error)

func (*NullableIssueChangeChanges) Set ¶

func (*NullableIssueChangeChanges) UnmarshalJSON ¶

func (v *NullableIssueChangeChanges) UnmarshalJSON(src []byte) error

func (*NullableIssueChangeChanges) Unset ¶

func (v *NullableIssueChangeChanges) Unset()

type NullableIssueChangeChangesAssignee ¶

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

func (NullableIssueChangeChangesAssignee) Get ¶

func (NullableIssueChangeChangesAssignee) IsSet ¶

func (NullableIssueChangeChangesAssignee) MarshalJSON ¶

func (v NullableIssueChangeChangesAssignee) MarshalJSON() ([]byte, error)

func (*NullableIssueChangeChangesAssignee) Set ¶

func (*NullableIssueChangeChangesAssignee) UnmarshalJSON ¶

func (v *NullableIssueChangeChangesAssignee) UnmarshalJSON(src []byte) error

func (*NullableIssueChangeChangesAssignee) Unset ¶

type NullableIssueChangeLinks struct {
	// contains filtered or unexported fields
}
func NewNullableIssueChangeLinks(val *IssueChangeLinks) *NullableIssueChangeLinks

func (NullableIssueChangeLinks) Get ¶

func (NullableIssueChangeLinks) IsSet ¶

func (v NullableIssueChangeLinks) IsSet() bool

func (NullableIssueChangeLinks) MarshalJSON ¶

func (v NullableIssueChangeLinks) MarshalJSON() ([]byte, error)

func (*NullableIssueChangeLinks) Set ¶

func (*NullableIssueChangeLinks) UnmarshalJSON ¶

func (v *NullableIssueChangeLinks) UnmarshalJSON(src []byte) error

func (*NullableIssueChangeLinks) Unset ¶

func (v *NullableIssueChangeLinks) Unset()

type NullableIssueComment ¶

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

func NewNullableIssueComment ¶

func NewNullableIssueComment(val *IssueComment) *NullableIssueComment

func (NullableIssueComment) Get ¶

func (NullableIssueComment) IsSet ¶

func (v NullableIssueComment) IsSet() bool

func (NullableIssueComment) MarshalJSON ¶

func (v NullableIssueComment) MarshalJSON() ([]byte, error)

func (*NullableIssueComment) Set ¶

func (v *NullableIssueComment) Set(val *IssueComment)

func (*NullableIssueComment) UnmarshalJSON ¶

func (v *NullableIssueComment) UnmarshalJSON(src []byte) error

func (*NullableIssueComment) Unset ¶

func (v *NullableIssueComment) Unset()

type NullableIssueJobStatus ¶

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

func NewNullableIssueJobStatus ¶

func NewNullableIssueJobStatus(val *IssueJobStatus) *NullableIssueJobStatus

func (NullableIssueJobStatus) Get ¶

func (NullableIssueJobStatus) IsSet ¶

func (v NullableIssueJobStatus) IsSet() bool

func (NullableIssueJobStatus) MarshalJSON ¶

func (v NullableIssueJobStatus) MarshalJSON() ([]byte, error)

func (*NullableIssueJobStatus) Set ¶

func (*NullableIssueJobStatus) UnmarshalJSON ¶

func (v *NullableIssueJobStatus) UnmarshalJSON(src []byte) error

func (*NullableIssueJobStatus) Unset ¶

func (v *NullableIssueJobStatus) Unset()
type NullableIssueLinks struct {
	// contains filtered or unexported fields
}
func NewNullableIssueLinks(val *IssueLinks) *NullableIssueLinks

func (NullableIssueLinks) Get ¶

func (v NullableIssueLinks) Get() *IssueLinks

func (NullableIssueLinks) IsSet ¶

func (v NullableIssueLinks) IsSet() bool

func (NullableIssueLinks) MarshalJSON ¶

func (v NullableIssueLinks) MarshalJSON() ([]byte, error)

func (*NullableIssueLinks) Set ¶

func (v *NullableIssueLinks) Set(val *IssueLinks)

func (*NullableIssueLinks) UnmarshalJSON ¶

func (v *NullableIssueLinks) UnmarshalJSON(src []byte) error

func (*NullableIssueLinks) Unset ¶

func (v *NullableIssueLinks) Unset()

type NullableJiraProject ¶

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

func NewNullableJiraProject ¶

func NewNullableJiraProject(val *JiraProject) *NullableJiraProject

func (NullableJiraProject) Get ¶

func (NullableJiraProject) IsSet ¶

func (v NullableJiraProject) IsSet() bool

func (NullableJiraProject) MarshalJSON ¶

func (v NullableJiraProject) MarshalJSON() ([]byte, error)

func (*NullableJiraProject) Set ¶

func (v *NullableJiraProject) Set(val *JiraProject)

func (*NullableJiraProject) UnmarshalJSON ¶

func (v *NullableJiraProject) UnmarshalJSON(src []byte) error

func (*NullableJiraProject) Unset ¶

func (v *NullableJiraProject) Unset()

type NullableJiraSite ¶

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

func NewNullableJiraSite ¶

func NewNullableJiraSite(val *JiraSite) *NullableJiraSite

func (NullableJiraSite) Get ¶

func (v NullableJiraSite) Get() *JiraSite

func (NullableJiraSite) IsSet ¶

func (v NullableJiraSite) IsSet() bool

func (NullableJiraSite) MarshalJSON ¶

func (v NullableJiraSite) MarshalJSON() ([]byte, error)

func (*NullableJiraSite) Set ¶

func (v *NullableJiraSite) Set(val *JiraSite)

func (*NullableJiraSite) UnmarshalJSON ¶

func (v *NullableJiraSite) UnmarshalJSON(src []byte) error

func (*NullableJiraSite) Unset ¶

func (v *NullableJiraSite) Unset()
type NullableLink struct {
	// contains filtered or unexported fields
}
func NewNullableLink(val *Link) *NullableLink

func (NullableLink) Get ¶

func (v NullableLink) Get() *Link

func (NullableLink) IsSet ¶

func (v NullableLink) IsSet() bool

func (NullableLink) MarshalJSON ¶

func (v NullableLink) MarshalJSON() ([]byte, error)

func (*NullableLink) Set ¶

func (v *NullableLink) Set(val *Link)

func (*NullableLink) UnmarshalJSON ¶

func (v *NullableLink) UnmarshalJSON(src []byte) error

func (*NullableLink) Unset ¶

func (v *NullableLink) Unset()

type NullableMilestone ¶

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

func NewNullableMilestone ¶

func NewNullableMilestone(val *Milestone) *NullableMilestone

func (NullableMilestone) Get ¶

func (v NullableMilestone) Get() *Milestone

func (NullableMilestone) IsSet ¶

func (v NullableMilestone) IsSet() bool

func (NullableMilestone) MarshalJSON ¶

func (v NullableMilestone) MarshalJSON() ([]byte, error)

func (*NullableMilestone) Set ¶

func (v *NullableMilestone) Set(val *Milestone)

func (*NullableMilestone) UnmarshalJSON ¶

func (v *NullableMilestone) UnmarshalJSON(src []byte) error

func (*NullableMilestone) Unset ¶

func (v *NullableMilestone) Unset()

type NullableModelError ¶

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

func NewNullableModelError ¶

func NewNullableModelError(val *ModelError) *NullableModelError

func (NullableModelError) Get ¶

func (v NullableModelError) Get() *ModelError

func (NullableModelError) IsSet ¶

func (v NullableModelError) IsSet() bool

func (NullableModelError) MarshalJSON ¶

func (v NullableModelError) MarshalJSON() ([]byte, error)

func (*NullableModelError) Set ¶

func (v *NullableModelError) Set(val *ModelError)

func (*NullableModelError) UnmarshalJSON ¶

func (v *NullableModelError) UnmarshalJSON(src []byte) error

func (*NullableModelError) Unset ¶

func (v *NullableModelError) Unset()

type NullableObject ¶

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

func NewNullableObject ¶

func NewNullableObject(val *Object) *NullableObject

func (NullableObject) Get ¶

func (v NullableObject) Get() *Object

func (NullableObject) IsSet ¶

func (v NullableObject) IsSet() bool

func (NullableObject) MarshalJSON ¶

func (v NullableObject) MarshalJSON() ([]byte, error)

func (*NullableObject) Set ¶

func (v *NullableObject) Set(val *Object)

func (*NullableObject) UnmarshalJSON ¶

func (v *NullableObject) UnmarshalJSON(src []byte) error

func (*NullableObject) Unset ¶

func (v *NullableObject) Unset()

type NullablePage ¶

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

func NewNullablePage ¶

func NewNullablePage(val *Page) *NullablePage

func (NullablePage) Get ¶

func (v NullablePage) Get() *Page

func (NullablePage) IsSet ¶

func (v NullablePage) IsSet() bool

func (NullablePage) MarshalJSON ¶

func (v NullablePage) MarshalJSON() ([]byte, error)

func (*NullablePage) Set ¶

func (v *NullablePage) Set(val *Page)

func (*NullablePage) UnmarshalJSON ¶

func (v *NullablePage) UnmarshalJSON(src []byte) error

func (*NullablePage) Unset ¶

func (v *NullablePage) Unset()

type NullablePaginatedAnnotations ¶

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

func (NullablePaginatedAnnotations) Get ¶

func (NullablePaginatedAnnotations) IsSet ¶

func (NullablePaginatedAnnotations) MarshalJSON ¶

func (v NullablePaginatedAnnotations) MarshalJSON() ([]byte, error)

func (*NullablePaginatedAnnotations) Set ¶

func (*NullablePaginatedAnnotations) UnmarshalJSON ¶

func (v *NullablePaginatedAnnotations) UnmarshalJSON(src []byte) error

func (*NullablePaginatedAnnotations) Unset ¶

func (v *NullablePaginatedAnnotations) Unset()

type NullablePaginatedBranches ¶

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

func NewNullablePaginatedBranches ¶

func NewNullablePaginatedBranches(val *PaginatedBranches) *NullablePaginatedBranches

func (NullablePaginatedBranches) Get ¶

func (NullablePaginatedBranches) IsSet ¶

func (v NullablePaginatedBranches) IsSet() bool

func (NullablePaginatedBranches) MarshalJSON ¶

func (v NullablePaginatedBranches) MarshalJSON() ([]byte, error)

func (*NullablePaginatedBranches) Set ¶

func (*NullablePaginatedBranches) UnmarshalJSON ¶

func (v *NullablePaginatedBranches) UnmarshalJSON(src []byte) error

func (*NullablePaginatedBranches) Unset ¶

func (v *NullablePaginatedBranches) Unset()

type NullablePaginatedBranchrestrictions ¶

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

func (NullablePaginatedBranchrestrictions) Get ¶

func (NullablePaginatedBranchrestrictions) IsSet ¶

func (NullablePaginatedBranchrestrictions) MarshalJSON ¶

func (v NullablePaginatedBranchrestrictions) MarshalJSON() ([]byte, error)

func (*NullablePaginatedBranchrestrictions) Set ¶

func (*NullablePaginatedBranchrestrictions) UnmarshalJSON ¶

func (v *NullablePaginatedBranchrestrictions) UnmarshalJSON(src []byte) error

func (*NullablePaginatedBranchrestrictions) Unset ¶

type NullablePaginatedChangeset ¶

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

func NewNullablePaginatedChangeset ¶

func NewNullablePaginatedChangeset(val *PaginatedChangeset) *NullablePaginatedChangeset

func (NullablePaginatedChangeset) Get ¶

func (NullablePaginatedChangeset) IsSet ¶

func (v NullablePaginatedChangeset) IsSet() bool

func (NullablePaginatedChangeset) MarshalJSON ¶

func (v NullablePaginatedChangeset) MarshalJSON() ([]byte, error)

func (*NullablePaginatedChangeset) Set ¶

func (*NullablePaginatedChangeset) UnmarshalJSON ¶

func (v *NullablePaginatedChangeset) UnmarshalJSON(src []byte) error

func (*NullablePaginatedChangeset) Unset ¶

func (v *NullablePaginatedChangeset) Unset()

type NullablePaginatedCommitComments ¶

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

func (NullablePaginatedCommitComments) Get ¶

func (NullablePaginatedCommitComments) IsSet ¶

func (NullablePaginatedCommitComments) MarshalJSON ¶

func (v NullablePaginatedCommitComments) MarshalJSON() ([]byte, error)

func (*NullablePaginatedCommitComments) Set ¶

func (*NullablePaginatedCommitComments) UnmarshalJSON ¶

func (v *NullablePaginatedCommitComments) UnmarshalJSON(src []byte) error

func (*NullablePaginatedCommitComments) Unset ¶

type NullablePaginatedCommitstatuses ¶

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

func (NullablePaginatedCommitstatuses) Get ¶

func (NullablePaginatedCommitstatuses) IsSet ¶

func (NullablePaginatedCommitstatuses) MarshalJSON ¶

func (v NullablePaginatedCommitstatuses) MarshalJSON() ([]byte, error)

func (*NullablePaginatedCommitstatuses) Set ¶

func (*NullablePaginatedCommitstatuses) UnmarshalJSON ¶

func (v *NullablePaginatedCommitstatuses) UnmarshalJSON(src []byte) error

func (*NullablePaginatedCommitstatuses) Unset ¶

type NullablePaginatedComponents ¶

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

func (NullablePaginatedComponents) Get ¶

func (NullablePaginatedComponents) IsSet ¶

func (NullablePaginatedComponents) MarshalJSON ¶

func (v NullablePaginatedComponents) MarshalJSON() ([]byte, error)

func (*NullablePaginatedComponents) Set ¶

func (*NullablePaginatedComponents) UnmarshalJSON ¶

func (v *NullablePaginatedComponents) UnmarshalJSON(src []byte) error

func (*NullablePaginatedComponents) Unset ¶

func (v *NullablePaginatedComponents) Unset()

type NullablePaginatedDeployKeys ¶

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

func (NullablePaginatedDeployKeys) Get ¶

func (NullablePaginatedDeployKeys) IsSet ¶

func (NullablePaginatedDeployKeys) MarshalJSON ¶

func (v NullablePaginatedDeployKeys) MarshalJSON() ([]byte, error)

func (*NullablePaginatedDeployKeys) Set ¶

func (*NullablePaginatedDeployKeys) UnmarshalJSON ¶

func (v *NullablePaginatedDeployKeys) UnmarshalJSON(src []byte) error

func (*NullablePaginatedDeployKeys) Unset ¶

func (v *NullablePaginatedDeployKeys) Unset()

type NullablePaginatedDeploymentVariable ¶

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

func (NullablePaginatedDeploymentVariable) Get ¶

func (NullablePaginatedDeploymentVariable) IsSet ¶

func (NullablePaginatedDeploymentVariable) MarshalJSON ¶

func (v NullablePaginatedDeploymentVariable) MarshalJSON() ([]byte, error)

func (*NullablePaginatedDeploymentVariable) Set ¶

func (*NullablePaginatedDeploymentVariable) UnmarshalJSON ¶

func (v *NullablePaginatedDeploymentVariable) UnmarshalJSON(src []byte) error

func (*NullablePaginatedDeploymentVariable) Unset ¶

type NullablePaginatedDeployments ¶

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

func (NullablePaginatedDeployments) Get ¶

func (NullablePaginatedDeployments) IsSet ¶

func (NullablePaginatedDeployments) MarshalJSON ¶

func (v NullablePaginatedDeployments) MarshalJSON() ([]byte, error)

func (*NullablePaginatedDeployments) Set ¶

func (*NullablePaginatedDeployments) UnmarshalJSON ¶

func (v *NullablePaginatedDeployments) UnmarshalJSON(src []byte) error

func (*NullablePaginatedDeployments) Unset ¶

func (v *NullablePaginatedDeployments) Unset()

type NullablePaginatedDiffstats ¶

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

func NewNullablePaginatedDiffstats ¶

func NewNullablePaginatedDiffstats(val *PaginatedDiffstats) *NullablePaginatedDiffstats

func (NullablePaginatedDiffstats) Get ¶

func (NullablePaginatedDiffstats) IsSet ¶

func (v NullablePaginatedDiffstats) IsSet() bool

func (NullablePaginatedDiffstats) MarshalJSON ¶

func (v NullablePaginatedDiffstats) MarshalJSON() ([]byte, error)

func (*NullablePaginatedDiffstats) Set ¶

func (*NullablePaginatedDiffstats) UnmarshalJSON ¶

func (v *NullablePaginatedDiffstats) UnmarshalJSON(src []byte) error

func (*NullablePaginatedDiffstats) Unset ¶

func (v *NullablePaginatedDiffstats) Unset()

type NullablePaginatedEnvironments ¶

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

func (NullablePaginatedEnvironments) Get ¶

func (NullablePaginatedEnvironments) IsSet ¶

func (NullablePaginatedEnvironments) MarshalJSON ¶

func (v NullablePaginatedEnvironments) MarshalJSON() ([]byte, error)

func (*NullablePaginatedEnvironments) Set ¶

func (*NullablePaginatedEnvironments) UnmarshalJSON ¶

func (v *NullablePaginatedEnvironments) UnmarshalJSON(src []byte) error

func (*NullablePaginatedEnvironments) Unset ¶

func (v *NullablePaginatedEnvironments) Unset()

type NullablePaginatedFiles ¶

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

func NewNullablePaginatedFiles ¶

func NewNullablePaginatedFiles(val *PaginatedFiles) *NullablePaginatedFiles

func (NullablePaginatedFiles) Get ¶

func (NullablePaginatedFiles) IsSet ¶

func (v NullablePaginatedFiles) IsSet() bool

func (NullablePaginatedFiles) MarshalJSON ¶

func (v NullablePaginatedFiles) MarshalJSON() ([]byte, error)

func (*NullablePaginatedFiles) Set ¶

func (*NullablePaginatedFiles) UnmarshalJSON ¶

func (v *NullablePaginatedFiles) UnmarshalJSON(src []byte) error

func (*NullablePaginatedFiles) Unset ¶

func (v *NullablePaginatedFiles) Unset()

type NullablePaginatedHookEvents ¶

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

func (NullablePaginatedHookEvents) Get ¶

func (NullablePaginatedHookEvents) IsSet ¶

func (NullablePaginatedHookEvents) MarshalJSON ¶

func (v NullablePaginatedHookEvents) MarshalJSON() ([]byte, error)

func (*NullablePaginatedHookEvents) Set ¶

func (*NullablePaginatedHookEvents) UnmarshalJSON ¶

func (v *NullablePaginatedHookEvents) UnmarshalJSON(src []byte) error

func (*NullablePaginatedHookEvents) Unset ¶

func (v *NullablePaginatedHookEvents) Unset()

type NullablePaginatedIssueAttachments ¶

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

func (NullablePaginatedIssueAttachments) Get ¶

func (NullablePaginatedIssueAttachments) IsSet ¶

func (NullablePaginatedIssueAttachments) MarshalJSON ¶

func (v NullablePaginatedIssueAttachments) MarshalJSON() ([]byte, error)

func (*NullablePaginatedIssueAttachments) Set ¶

func (*NullablePaginatedIssueAttachments) UnmarshalJSON ¶

func (v *NullablePaginatedIssueAttachments) UnmarshalJSON(src []byte) error

func (*NullablePaginatedIssueAttachments) Unset ¶

type NullablePaginatedIssueComments ¶

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

func (NullablePaginatedIssueComments) Get ¶

func (NullablePaginatedIssueComments) IsSet ¶

func (NullablePaginatedIssueComments) MarshalJSON ¶

func (v NullablePaginatedIssueComments) MarshalJSON() ([]byte, error)

func (*NullablePaginatedIssueComments) Set ¶

func (*NullablePaginatedIssueComments) UnmarshalJSON ¶

func (v *NullablePaginatedIssueComments) UnmarshalJSON(src []byte) error

func (*NullablePaginatedIssueComments) Unset ¶

func (v *NullablePaginatedIssueComments) Unset()

type NullablePaginatedIssues ¶

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

func NewNullablePaginatedIssues ¶

func NewNullablePaginatedIssues(val *PaginatedIssues) *NullablePaginatedIssues

func (NullablePaginatedIssues) Get ¶

func (NullablePaginatedIssues) IsSet ¶

func (v NullablePaginatedIssues) IsSet() bool

func (NullablePaginatedIssues) MarshalJSON ¶

func (v NullablePaginatedIssues) MarshalJSON() ([]byte, error)

func (*NullablePaginatedIssues) Set ¶

func (*NullablePaginatedIssues) UnmarshalJSON ¶

func (v *NullablePaginatedIssues) UnmarshalJSON(src []byte) error

func (*NullablePaginatedIssues) Unset ¶

func (v *NullablePaginatedIssues) Unset()

type NullablePaginatedLogEntries ¶

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

func (NullablePaginatedLogEntries) Get ¶

func (NullablePaginatedLogEntries) IsSet ¶

func (NullablePaginatedLogEntries) MarshalJSON ¶

func (v NullablePaginatedLogEntries) MarshalJSON() ([]byte, error)

func (*NullablePaginatedLogEntries) Set ¶

func (*NullablePaginatedLogEntries) UnmarshalJSON ¶

func (v *NullablePaginatedLogEntries) UnmarshalJSON(src []byte) error

func (*NullablePaginatedLogEntries) Unset ¶

func (v *NullablePaginatedLogEntries) Unset()

type NullablePaginatedMilestones ¶

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

func (NullablePaginatedMilestones) Get ¶

func (NullablePaginatedMilestones) IsSet ¶

func (NullablePaginatedMilestones) MarshalJSON ¶

func (v NullablePaginatedMilestones) MarshalJSON() ([]byte, error)

func (*NullablePaginatedMilestones) Set ¶

func (*NullablePaginatedMilestones) UnmarshalJSON ¶

func (v *NullablePaginatedMilestones) UnmarshalJSON(src []byte) error

func (*NullablePaginatedMilestones) Unset ¶

func (v *NullablePaginatedMilestones) Unset()

type NullablePaginatedPipelineCaches ¶

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

func (NullablePaginatedPipelineCaches) Get ¶

func (NullablePaginatedPipelineCaches) IsSet ¶

func (NullablePaginatedPipelineCaches) MarshalJSON ¶

func (v NullablePaginatedPipelineCaches) MarshalJSON() ([]byte, error)

func (*NullablePaginatedPipelineCaches) Set ¶

func (*NullablePaginatedPipelineCaches) UnmarshalJSON ¶

func (v *NullablePaginatedPipelineCaches) UnmarshalJSON(src []byte) error

func (*NullablePaginatedPipelineCaches) Unset ¶

type NullablePaginatedPipelineKnownHosts ¶

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

func (NullablePaginatedPipelineKnownHosts) Get ¶

func (NullablePaginatedPipelineKnownHosts) IsSet ¶

func (NullablePaginatedPipelineKnownHosts) MarshalJSON ¶

func (v NullablePaginatedPipelineKnownHosts) MarshalJSON() ([]byte, error)

func (*NullablePaginatedPipelineKnownHosts) Set ¶

func (*NullablePaginatedPipelineKnownHosts) UnmarshalJSON ¶

func (v *NullablePaginatedPipelineKnownHosts) UnmarshalJSON(src []byte) error

func (*NullablePaginatedPipelineKnownHosts) Unset ¶

type NullablePaginatedPipelineScheduleExecutions ¶

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

func (NullablePaginatedPipelineScheduleExecutions) Get ¶

func (NullablePaginatedPipelineScheduleExecutions) IsSet ¶

func (NullablePaginatedPipelineScheduleExecutions) MarshalJSON ¶

func (*NullablePaginatedPipelineScheduleExecutions) Set ¶

func (*NullablePaginatedPipelineScheduleExecutions) UnmarshalJSON ¶

func (v *NullablePaginatedPipelineScheduleExecutions) UnmarshalJSON(src []byte) error

func (*NullablePaginatedPipelineScheduleExecutions) Unset ¶

type NullablePaginatedPipelineSchedules ¶

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

func (NullablePaginatedPipelineSchedules) Get ¶

func (NullablePaginatedPipelineSchedules) IsSet ¶

func (NullablePaginatedPipelineSchedules) MarshalJSON ¶

func (v NullablePaginatedPipelineSchedules) MarshalJSON() ([]byte, error)

func (*NullablePaginatedPipelineSchedules) Set ¶

func (*NullablePaginatedPipelineSchedules) UnmarshalJSON ¶

func (v *NullablePaginatedPipelineSchedules) UnmarshalJSON(src []byte) error

func (*NullablePaginatedPipelineSchedules) Unset ¶

type NullablePaginatedPipelineSteps ¶

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

func (NullablePaginatedPipelineSteps) Get ¶

func (NullablePaginatedPipelineSteps) IsSet ¶

func (NullablePaginatedPipelineSteps) MarshalJSON ¶

func (v NullablePaginatedPipelineSteps) MarshalJSON() ([]byte, error)

func (*NullablePaginatedPipelineSteps) Set ¶

func (*NullablePaginatedPipelineSteps) UnmarshalJSON ¶

func (v *NullablePaginatedPipelineSteps) UnmarshalJSON(src []byte) error

func (*NullablePaginatedPipelineSteps) Unset ¶

func (v *NullablePaginatedPipelineSteps) Unset()

type NullablePaginatedPipelineVariables ¶

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

func (NullablePaginatedPipelineVariables) Get ¶

func (NullablePaginatedPipelineVariables) IsSet ¶

func (NullablePaginatedPipelineVariables) MarshalJSON ¶

func (v NullablePaginatedPipelineVariables) MarshalJSON() ([]byte, error)

func (*NullablePaginatedPipelineVariables) Set ¶

func (*NullablePaginatedPipelineVariables) UnmarshalJSON ¶

func (v *NullablePaginatedPipelineVariables) UnmarshalJSON(src []byte) error

func (*NullablePaginatedPipelineVariables) Unset ¶

type NullablePaginatedPipelines ¶

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

func NewNullablePaginatedPipelines ¶

func NewNullablePaginatedPipelines(val *PaginatedPipelines) *NullablePaginatedPipelines

func (NullablePaginatedPipelines) Get ¶

func (NullablePaginatedPipelines) IsSet ¶

func (v NullablePaginatedPipelines) IsSet() bool

func (NullablePaginatedPipelines) MarshalJSON ¶

func (v NullablePaginatedPipelines) MarshalJSON() ([]byte, error)

func (*NullablePaginatedPipelines) Set ¶

func (*NullablePaginatedPipelines) UnmarshalJSON ¶

func (v *NullablePaginatedPipelines) UnmarshalJSON(src []byte) error

func (*NullablePaginatedPipelines) Unset ¶

func (v *NullablePaginatedPipelines) Unset()

type NullablePaginatedProjects ¶

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

func NewNullablePaginatedProjects ¶

func NewNullablePaginatedProjects(val *PaginatedProjects) *NullablePaginatedProjects

func (NullablePaginatedProjects) Get ¶

func (NullablePaginatedProjects) IsSet ¶

func (v NullablePaginatedProjects) IsSet() bool

func (NullablePaginatedProjects) MarshalJSON ¶

func (v NullablePaginatedProjects) MarshalJSON() ([]byte, error)

func (*NullablePaginatedProjects) Set ¶

func (*NullablePaginatedProjects) UnmarshalJSON ¶

func (v *NullablePaginatedProjects) UnmarshalJSON(src []byte) error

func (*NullablePaginatedProjects) Unset ¶

func (v *NullablePaginatedProjects) Unset()

type NullablePaginatedPullrequestComments ¶

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

func (NullablePaginatedPullrequestComments) Get ¶

func (NullablePaginatedPullrequestComments) IsSet ¶

func (NullablePaginatedPullrequestComments) MarshalJSON ¶

func (v NullablePaginatedPullrequestComments) MarshalJSON() ([]byte, error)

func (*NullablePaginatedPullrequestComments) Set ¶

func (*NullablePaginatedPullrequestComments) UnmarshalJSON ¶

func (v *NullablePaginatedPullrequestComments) UnmarshalJSON(src []byte) error

func (*NullablePaginatedPullrequestComments) Unset ¶

type NullablePaginatedPullrequests ¶

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

func (NullablePaginatedPullrequests) Get ¶

func (NullablePaginatedPullrequests) IsSet ¶

func (NullablePaginatedPullrequests) MarshalJSON ¶

func (v NullablePaginatedPullrequests) MarshalJSON() ([]byte, error)

func (*NullablePaginatedPullrequests) Set ¶

func (*NullablePaginatedPullrequests) UnmarshalJSON ¶

func (v *NullablePaginatedPullrequests) UnmarshalJSON(src []byte) error

func (*NullablePaginatedPullrequests) Unset ¶

func (v *NullablePaginatedPullrequests) Unset()

type NullablePaginatedRefs ¶

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

func NewNullablePaginatedRefs ¶

func NewNullablePaginatedRefs(val *PaginatedRefs) *NullablePaginatedRefs

func (NullablePaginatedRefs) Get ¶

func (NullablePaginatedRefs) IsSet ¶

func (v NullablePaginatedRefs) IsSet() bool

func (NullablePaginatedRefs) MarshalJSON ¶

func (v NullablePaginatedRefs) MarshalJSON() ([]byte, error)

func (*NullablePaginatedRefs) Set ¶

func (v *NullablePaginatedRefs) Set(val *PaginatedRefs)

func (*NullablePaginatedRefs) UnmarshalJSON ¶

func (v *NullablePaginatedRefs) UnmarshalJSON(src []byte) error

func (*NullablePaginatedRefs) Unset ¶

func (v *NullablePaginatedRefs) Unset()

type NullablePaginatedReports ¶

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

func NewNullablePaginatedReports ¶

func NewNullablePaginatedReports(val *PaginatedReports) *NullablePaginatedReports

func (NullablePaginatedReports) Get ¶

func (NullablePaginatedReports) IsSet ¶

func (v NullablePaginatedReports) IsSet() bool

func (NullablePaginatedReports) MarshalJSON ¶

func (v NullablePaginatedReports) MarshalJSON() ([]byte, error)

func (*NullablePaginatedReports) Set ¶

func (*NullablePaginatedReports) UnmarshalJSON ¶

func (v *NullablePaginatedReports) UnmarshalJSON(src []byte) error

func (*NullablePaginatedReports) Unset ¶

func (v *NullablePaginatedReports) Unset()

type NullablePaginatedRepositories ¶

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

func (NullablePaginatedRepositories) Get ¶

func (NullablePaginatedRepositories) IsSet ¶

func (NullablePaginatedRepositories) MarshalJSON ¶

func (v NullablePaginatedRepositories) MarshalJSON() ([]byte, error)

func (*NullablePaginatedRepositories) Set ¶

func (*NullablePaginatedRepositories) UnmarshalJSON ¶

func (v *NullablePaginatedRepositories) UnmarshalJSON(src []byte) error

func (*NullablePaginatedRepositories) Unset ¶

func (v *NullablePaginatedRepositories) Unset()

type NullablePaginatedRepositoryGroupPermissions ¶

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

func (NullablePaginatedRepositoryGroupPermissions) Get ¶

func (NullablePaginatedRepositoryGroupPermissions) IsSet ¶

func (NullablePaginatedRepositoryGroupPermissions) MarshalJSON ¶

func (*NullablePaginatedRepositoryGroupPermissions) Set ¶

func (*NullablePaginatedRepositoryGroupPermissions) UnmarshalJSON ¶

func (v *NullablePaginatedRepositoryGroupPermissions) UnmarshalJSON(src []byte) error

func (*NullablePaginatedRepositoryGroupPermissions) Unset ¶

type NullablePaginatedRepositoryPermissions ¶

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

func (NullablePaginatedRepositoryPermissions) Get ¶

func (NullablePaginatedRepositoryPermissions) IsSet ¶

func (NullablePaginatedRepositoryPermissions) MarshalJSON ¶

func (v NullablePaginatedRepositoryPermissions) MarshalJSON() ([]byte, error)

func (*NullablePaginatedRepositoryPermissions) Set ¶

func (*NullablePaginatedRepositoryPermissions) UnmarshalJSON ¶

func (v *NullablePaginatedRepositoryPermissions) UnmarshalJSON(src []byte) error

func (*NullablePaginatedRepositoryPermissions) Unset ¶

type NullablePaginatedRepositoryUserPermissions ¶

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

func (NullablePaginatedRepositoryUserPermissions) Get ¶

func (NullablePaginatedRepositoryUserPermissions) IsSet ¶

func (NullablePaginatedRepositoryUserPermissions) MarshalJSON ¶

func (*NullablePaginatedRepositoryUserPermissions) Set ¶

func (*NullablePaginatedRepositoryUserPermissions) UnmarshalJSON ¶

func (v *NullablePaginatedRepositoryUserPermissions) UnmarshalJSON(src []byte) error

func (*NullablePaginatedRepositoryUserPermissions) Unset ¶

type NullablePaginatedSnippetComments ¶

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

func (NullablePaginatedSnippetComments) Get ¶

func (NullablePaginatedSnippetComments) IsSet ¶

func (NullablePaginatedSnippetComments) MarshalJSON ¶

func (v NullablePaginatedSnippetComments) MarshalJSON() ([]byte, error)

func (*NullablePaginatedSnippetComments) Set ¶

func (*NullablePaginatedSnippetComments) UnmarshalJSON ¶

func (v *NullablePaginatedSnippetComments) UnmarshalJSON(src []byte) error

func (*NullablePaginatedSnippetComments) Unset ¶

type NullablePaginatedSnippetCommit ¶

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

func (NullablePaginatedSnippetCommit) Get ¶

func (NullablePaginatedSnippetCommit) IsSet ¶

func (NullablePaginatedSnippetCommit) MarshalJSON ¶

func (v NullablePaginatedSnippetCommit) MarshalJSON() ([]byte, error)

func (*NullablePaginatedSnippetCommit) Set ¶

func (*NullablePaginatedSnippetCommit) UnmarshalJSON ¶

func (v *NullablePaginatedSnippetCommit) UnmarshalJSON(src []byte) error

func (*NullablePaginatedSnippetCommit) Unset ¶

func (v *NullablePaginatedSnippetCommit) Unset()

type NullablePaginatedSnippets ¶

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

func NewNullablePaginatedSnippets ¶

func NewNullablePaginatedSnippets(val *PaginatedSnippets) *NullablePaginatedSnippets

func (NullablePaginatedSnippets) Get ¶

func (NullablePaginatedSnippets) IsSet ¶

func (v NullablePaginatedSnippets) IsSet() bool

func (NullablePaginatedSnippets) MarshalJSON ¶

func (v NullablePaginatedSnippets) MarshalJSON() ([]byte, error)

func (*NullablePaginatedSnippets) Set ¶

func (*NullablePaginatedSnippets) UnmarshalJSON ¶

func (v *NullablePaginatedSnippets) UnmarshalJSON(src []byte) error

func (*NullablePaginatedSnippets) Unset ¶

func (v *NullablePaginatedSnippets) Unset()

type NullablePaginatedSshUserKeys ¶

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

func (NullablePaginatedSshUserKeys) Get ¶

func (NullablePaginatedSshUserKeys) IsSet ¶

func (NullablePaginatedSshUserKeys) MarshalJSON ¶

func (v NullablePaginatedSshUserKeys) MarshalJSON() ([]byte, error)

func (*NullablePaginatedSshUserKeys) Set ¶

func (*NullablePaginatedSshUserKeys) UnmarshalJSON ¶

func (v *NullablePaginatedSshUserKeys) UnmarshalJSON(src []byte) error

func (*NullablePaginatedSshUserKeys) Unset ¶

func (v *NullablePaginatedSshUserKeys) Unset()

type NullablePaginatedTags ¶

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

func NewNullablePaginatedTags ¶

func NewNullablePaginatedTags(val *PaginatedTags) *NullablePaginatedTags

func (NullablePaginatedTags) Get ¶

func (NullablePaginatedTags) IsSet ¶

func (v NullablePaginatedTags) IsSet() bool

func (NullablePaginatedTags) MarshalJSON ¶

func (v NullablePaginatedTags) MarshalJSON() ([]byte, error)

func (*NullablePaginatedTags) Set ¶

func (v *NullablePaginatedTags) Set(val *PaginatedTags)

func (*NullablePaginatedTags) UnmarshalJSON ¶

func (v *NullablePaginatedTags) UnmarshalJSON(src []byte) error

func (*NullablePaginatedTags) Unset ¶

func (v *NullablePaginatedTags) Unset()

type NullablePaginatedTeamPermissions ¶

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

func (NullablePaginatedTeamPermissions) Get ¶

func (NullablePaginatedTeamPermissions) IsSet ¶

func (NullablePaginatedTeamPermissions) MarshalJSON ¶

func (v NullablePaginatedTeamPermissions) MarshalJSON() ([]byte, error)

func (*NullablePaginatedTeamPermissions) Set ¶

func (*NullablePaginatedTeamPermissions) UnmarshalJSON ¶

func (v *NullablePaginatedTeamPermissions) UnmarshalJSON(src []byte) error

func (*NullablePaginatedTeamPermissions) Unset ¶

type NullablePaginatedTeams ¶

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

func NewNullablePaginatedTeams ¶

func NewNullablePaginatedTeams(val *PaginatedTeams) *NullablePaginatedTeams

func (NullablePaginatedTeams) Get ¶

func (NullablePaginatedTeams) IsSet ¶

func (v NullablePaginatedTeams) IsSet() bool

func (NullablePaginatedTeams) MarshalJSON ¶

func (v NullablePaginatedTeams) MarshalJSON() ([]byte, error)

func (*NullablePaginatedTeams) Set ¶

func (*NullablePaginatedTeams) UnmarshalJSON ¶

func (v *NullablePaginatedTeams) UnmarshalJSON(src []byte) error

func (*NullablePaginatedTeams) Unset ¶

func (v *NullablePaginatedTeams) Unset()

type NullablePaginatedTreeentries ¶

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

func (NullablePaginatedTreeentries) Get ¶

func (NullablePaginatedTreeentries) IsSet ¶

func (NullablePaginatedTreeentries) MarshalJSON ¶

func (v NullablePaginatedTreeentries) MarshalJSON() ([]byte, error)

func (*NullablePaginatedTreeentries) Set ¶

func (*NullablePaginatedTreeentries) UnmarshalJSON ¶

func (v *NullablePaginatedTreeentries) UnmarshalJSON(src []byte) error

func (*NullablePaginatedTreeentries) Unset ¶

func (v *NullablePaginatedTreeentries) Unset()

type NullablePaginatedUsers ¶

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

func NewNullablePaginatedUsers ¶

func NewNullablePaginatedUsers(val *PaginatedUsers) *NullablePaginatedUsers

func (NullablePaginatedUsers) Get ¶

func (NullablePaginatedUsers) IsSet ¶

func (v NullablePaginatedUsers) IsSet() bool

func (NullablePaginatedUsers) MarshalJSON ¶

func (v NullablePaginatedUsers) MarshalJSON() ([]byte, error)

func (*NullablePaginatedUsers) Set ¶

func (*NullablePaginatedUsers) UnmarshalJSON ¶

func (v *NullablePaginatedUsers) UnmarshalJSON(src []byte) error

func (*NullablePaginatedUsers) Unset ¶

func (v *NullablePaginatedUsers) Unset()

type NullablePaginatedVersions ¶

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

func NewNullablePaginatedVersions ¶

func NewNullablePaginatedVersions(val *PaginatedVersions) *NullablePaginatedVersions

func (NullablePaginatedVersions) Get ¶

func (NullablePaginatedVersions) IsSet ¶

func (v NullablePaginatedVersions) IsSet() bool

func (NullablePaginatedVersions) MarshalJSON ¶

func (v NullablePaginatedVersions) MarshalJSON() ([]byte, error)

func (*NullablePaginatedVersions) Set ¶

func (*NullablePaginatedVersions) UnmarshalJSON ¶

func (v *NullablePaginatedVersions) UnmarshalJSON(src []byte) error

func (*NullablePaginatedVersions) Unset ¶

func (v *NullablePaginatedVersions) Unset()

type NullablePaginatedWebhookSubscriptions ¶

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

func (NullablePaginatedWebhookSubscriptions) Get ¶

func (NullablePaginatedWebhookSubscriptions) IsSet ¶

func (NullablePaginatedWebhookSubscriptions) MarshalJSON ¶

func (v NullablePaginatedWebhookSubscriptions) MarshalJSON() ([]byte, error)

func (*NullablePaginatedWebhookSubscriptions) Set ¶

func (*NullablePaginatedWebhookSubscriptions) UnmarshalJSON ¶

func (v *NullablePaginatedWebhookSubscriptions) UnmarshalJSON(src []byte) error

func (*NullablePaginatedWebhookSubscriptions) Unset ¶

type NullablePaginatedWorkspaceMemberships ¶

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

func (NullablePaginatedWorkspaceMemberships) Get ¶

func (NullablePaginatedWorkspaceMemberships) IsSet ¶

func (NullablePaginatedWorkspaceMemberships) MarshalJSON ¶

func (v NullablePaginatedWorkspaceMemberships) MarshalJSON() ([]byte, error)

func (*NullablePaginatedWorkspaceMemberships) Set ¶

func (*NullablePaginatedWorkspaceMemberships) UnmarshalJSON ¶

func (v *NullablePaginatedWorkspaceMemberships) UnmarshalJSON(src []byte) error

func (*NullablePaginatedWorkspaceMemberships) Unset ¶

type NullablePaginatedWorkspaces ¶

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

func (NullablePaginatedWorkspaces) Get ¶

func (NullablePaginatedWorkspaces) IsSet ¶

func (NullablePaginatedWorkspaces) MarshalJSON ¶

func (v NullablePaginatedWorkspaces) MarshalJSON() ([]byte, error)

func (*NullablePaginatedWorkspaces) Set ¶

func (*NullablePaginatedWorkspaces) UnmarshalJSON ¶

func (v *NullablePaginatedWorkspaces) UnmarshalJSON(src []byte) error

func (*NullablePaginatedWorkspaces) Unset ¶

func (v *NullablePaginatedWorkspaces) Unset()

type NullableParticipant ¶

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

func NewNullableParticipant ¶

func NewNullableParticipant(val *Participant) *NullableParticipant

func (NullableParticipant) Get ¶

func (NullableParticipant) IsSet ¶

func (v NullableParticipant) IsSet() bool

func (NullableParticipant) MarshalJSON ¶

func (v NullableParticipant) MarshalJSON() ([]byte, error)

func (*NullableParticipant) Set ¶

func (v *NullableParticipant) Set(val *Participant)

func (*NullableParticipant) UnmarshalJSON ¶

func (v *NullableParticipant) UnmarshalJSON(src []byte) error

func (*NullableParticipant) Unset ¶

func (v *NullableParticipant) Unset()

type NullablePipeline ¶

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

func NewNullablePipeline ¶

func NewNullablePipeline(val *Pipeline) *NullablePipeline

func (NullablePipeline) Get ¶

func (v NullablePipeline) Get() *Pipeline

func (NullablePipeline) IsSet ¶

func (v NullablePipeline) IsSet() bool

func (NullablePipeline) MarshalJSON ¶

func (v NullablePipeline) MarshalJSON() ([]byte, error)

func (*NullablePipeline) Set ¶

func (v *NullablePipeline) Set(val *Pipeline)

func (*NullablePipeline) UnmarshalJSON ¶

func (v *NullablePipeline) UnmarshalJSON(src []byte) error

func (*NullablePipeline) Unset ¶

func (v *NullablePipeline) Unset()

type NullablePipelineBuildNumber ¶

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

func (NullablePipelineBuildNumber) Get ¶

func (NullablePipelineBuildNumber) IsSet ¶

func (NullablePipelineBuildNumber) MarshalJSON ¶

func (v NullablePipelineBuildNumber) MarshalJSON() ([]byte, error)

func (*NullablePipelineBuildNumber) Set ¶

func (*NullablePipelineBuildNumber) UnmarshalJSON ¶

func (v *NullablePipelineBuildNumber) UnmarshalJSON(src []byte) error

func (*NullablePipelineBuildNumber) Unset ¶

func (v *NullablePipelineBuildNumber) Unset()

type NullablePipelineCache ¶

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

func NewNullablePipelineCache ¶

func NewNullablePipelineCache(val *PipelineCache) *NullablePipelineCache

func (NullablePipelineCache) Get ¶

func (NullablePipelineCache) IsSet ¶

func (v NullablePipelineCache) IsSet() bool

func (NullablePipelineCache) MarshalJSON ¶

func (v NullablePipelineCache) MarshalJSON() ([]byte, error)

func (*NullablePipelineCache) Set ¶

func (v *NullablePipelineCache) Set(val *PipelineCache)

func (*NullablePipelineCache) UnmarshalJSON ¶

func (v *NullablePipelineCache) UnmarshalJSON(src []byte) error

func (*NullablePipelineCache) Unset ¶

func (v *NullablePipelineCache) Unset()

type NullablePipelineCacheContentUri ¶

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

func (NullablePipelineCacheContentUri) Get ¶

func (NullablePipelineCacheContentUri) IsSet ¶

func (NullablePipelineCacheContentUri) MarshalJSON ¶

func (v NullablePipelineCacheContentUri) MarshalJSON() ([]byte, error)

func (*NullablePipelineCacheContentUri) Set ¶

func (*NullablePipelineCacheContentUri) UnmarshalJSON ¶

func (v *NullablePipelineCacheContentUri) UnmarshalJSON(src []byte) error

func (*NullablePipelineCacheContentUri) Unset ¶

type NullablePipelineCommand ¶

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

func NewNullablePipelineCommand ¶

func NewNullablePipelineCommand(val *PipelineCommand) *NullablePipelineCommand

func (NullablePipelineCommand) Get ¶

func (NullablePipelineCommand) IsSet ¶

func (v NullablePipelineCommand) IsSet() bool

func (NullablePipelineCommand) MarshalJSON ¶

func (v NullablePipelineCommand) MarshalJSON() ([]byte, error)

func (*NullablePipelineCommand) Set ¶

func (*NullablePipelineCommand) UnmarshalJSON ¶

func (v *NullablePipelineCommand) UnmarshalJSON(src []byte) error

func (*NullablePipelineCommand) Unset ¶

func (v *NullablePipelineCommand) Unset()

type NullablePipelineCommitTarget ¶

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

func (NullablePipelineCommitTarget) Get ¶

func (NullablePipelineCommitTarget) IsSet ¶

func (NullablePipelineCommitTarget) MarshalJSON ¶

func (v NullablePipelineCommitTarget) MarshalJSON() ([]byte, error)

func (*NullablePipelineCommitTarget) Set ¶

func (*NullablePipelineCommitTarget) UnmarshalJSON ¶

func (v *NullablePipelineCommitTarget) UnmarshalJSON(src []byte) error

func (*NullablePipelineCommitTarget) Unset ¶

func (v *NullablePipelineCommitTarget) Unset()

type NullablePipelineCompletedError ¶

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

func (NullablePipelineCompletedError) Get ¶

func (NullablePipelineCompletedError) IsSet ¶

func (NullablePipelineCompletedError) MarshalJSON ¶

func (v NullablePipelineCompletedError) MarshalJSON() ([]byte, error)

func (*NullablePipelineCompletedError) Set ¶

func (*NullablePipelineCompletedError) UnmarshalJSON ¶

func (v *NullablePipelineCompletedError) UnmarshalJSON(src []byte) error

func (*NullablePipelineCompletedError) Unset ¶

func (v *NullablePipelineCompletedError) Unset()

type NullablePipelineCompletedState ¶

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

func (NullablePipelineCompletedState) Get ¶

func (NullablePipelineCompletedState) IsSet ¶

func (NullablePipelineCompletedState) MarshalJSON ¶

func (v NullablePipelineCompletedState) MarshalJSON() ([]byte, error)

func (*NullablePipelineCompletedState) Set ¶

func (*NullablePipelineCompletedState) UnmarshalJSON ¶

func (v *NullablePipelineCompletedState) UnmarshalJSON(src []byte) error

func (*NullablePipelineCompletedState) Unset ¶

func (v *NullablePipelineCompletedState) Unset()

type NullablePipelineError ¶

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

func NewNullablePipelineError ¶

func NewNullablePipelineError(val *PipelineError) *NullablePipelineError

func (NullablePipelineError) Get ¶

func (NullablePipelineError) IsSet ¶

func (v NullablePipelineError) IsSet() bool

func (NullablePipelineError) MarshalJSON ¶

func (v NullablePipelineError) MarshalJSON() ([]byte, error)

func (*NullablePipelineError) Set ¶

func (v *NullablePipelineError) Set(val *PipelineError)

func (*NullablePipelineError) UnmarshalJSON ¶

func (v *NullablePipelineError) UnmarshalJSON(src []byte) error

func (*NullablePipelineError) Unset ¶

func (v *NullablePipelineError) Unset()

type NullablePipelineImage ¶

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

func NewNullablePipelineImage ¶

func NewNullablePipelineImage(val *PipelineImage) *NullablePipelineImage

func (NullablePipelineImage) Get ¶

func (NullablePipelineImage) IsSet ¶

func (v NullablePipelineImage) IsSet() bool

func (NullablePipelineImage) MarshalJSON ¶

func (v NullablePipelineImage) MarshalJSON() ([]byte, error)

func (*NullablePipelineImage) Set ¶

func (v *NullablePipelineImage) Set(val *PipelineImage)

func (*NullablePipelineImage) UnmarshalJSON ¶

func (v *NullablePipelineImage) UnmarshalJSON(src []byte) error

func (*NullablePipelineImage) Unset ¶

func (v *NullablePipelineImage) Unset()

type NullablePipelineInProgressState ¶

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

func (NullablePipelineInProgressState) Get ¶

func (NullablePipelineInProgressState) IsSet ¶

func (NullablePipelineInProgressState) MarshalJSON ¶

func (v NullablePipelineInProgressState) MarshalJSON() ([]byte, error)

func (*NullablePipelineInProgressState) Set ¶

func (*NullablePipelineInProgressState) UnmarshalJSON ¶

func (v *NullablePipelineInProgressState) UnmarshalJSON(src []byte) error

func (*NullablePipelineInProgressState) Unset ¶

type NullablePipelineKnownHost ¶

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

func NewNullablePipelineKnownHost ¶

func NewNullablePipelineKnownHost(val *PipelineKnownHost) *NullablePipelineKnownHost

func (NullablePipelineKnownHost) Get ¶

func (NullablePipelineKnownHost) IsSet ¶

func (v NullablePipelineKnownHost) IsSet() bool

func (NullablePipelineKnownHost) MarshalJSON ¶

func (v NullablePipelineKnownHost) MarshalJSON() ([]byte, error)

func (*NullablePipelineKnownHost) Set ¶

func (*NullablePipelineKnownHost) UnmarshalJSON ¶

func (v *NullablePipelineKnownHost) UnmarshalJSON(src []byte) error

func (*NullablePipelineKnownHost) Unset ¶

func (v *NullablePipelineKnownHost) Unset()

type NullablePipelinePendingState ¶

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

func (NullablePipelinePendingState) Get ¶

func (NullablePipelinePendingState) IsSet ¶

func (NullablePipelinePendingState) MarshalJSON ¶

func (v NullablePipelinePendingState) MarshalJSON() ([]byte, error)

func (*NullablePipelinePendingState) Set ¶

func (*NullablePipelinePendingState) UnmarshalJSON ¶

func (v *NullablePipelinePendingState) UnmarshalJSON(src []byte) error

func (*NullablePipelinePendingState) Unset ¶

func (v *NullablePipelinePendingState) Unset()

type NullablePipelineRefTarget ¶

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

func NewNullablePipelineRefTarget ¶

func NewNullablePipelineRefTarget(val *PipelineRefTarget) *NullablePipelineRefTarget

func (NullablePipelineRefTarget) Get ¶

func (NullablePipelineRefTarget) IsSet ¶

func (v NullablePipelineRefTarget) IsSet() bool

func (NullablePipelineRefTarget) MarshalJSON ¶

func (v NullablePipelineRefTarget) MarshalJSON() ([]byte, error)

func (*NullablePipelineRefTarget) Set ¶

func (*NullablePipelineRefTarget) UnmarshalJSON ¶

func (v *NullablePipelineRefTarget) UnmarshalJSON(src []byte) error

func (*NullablePipelineRefTarget) Unset ¶

func (v *NullablePipelineRefTarget) Unset()

type NullablePipelineSchedule ¶

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

func NewNullablePipelineSchedule ¶

func NewNullablePipelineSchedule(val *PipelineSchedule) *NullablePipelineSchedule

func (NullablePipelineSchedule) Get ¶

func (NullablePipelineSchedule) IsSet ¶

func (v NullablePipelineSchedule) IsSet() bool

func (NullablePipelineSchedule) MarshalJSON ¶

func (v NullablePipelineSchedule) MarshalJSON() ([]byte, error)

func (*NullablePipelineSchedule) Set ¶

func (*NullablePipelineSchedule) UnmarshalJSON ¶

func (v *NullablePipelineSchedule) UnmarshalJSON(src []byte) error

func (*NullablePipelineSchedule) Unset ¶

func (v *NullablePipelineSchedule) Unset()

type NullablePipelineScheduleExecution ¶

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

func (NullablePipelineScheduleExecution) Get ¶

func (NullablePipelineScheduleExecution) IsSet ¶

func (NullablePipelineScheduleExecution) MarshalJSON ¶

func (v NullablePipelineScheduleExecution) MarshalJSON() ([]byte, error)

func (*NullablePipelineScheduleExecution) Set ¶

func (*NullablePipelineScheduleExecution) UnmarshalJSON ¶

func (v *NullablePipelineScheduleExecution) UnmarshalJSON(src []byte) error

func (*NullablePipelineScheduleExecution) Unset ¶

type NullablePipelineScheduleExecutionErrored ¶

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

func (NullablePipelineScheduleExecutionErrored) Get ¶

func (NullablePipelineScheduleExecutionErrored) IsSet ¶

func (NullablePipelineScheduleExecutionErrored) MarshalJSON ¶

func (*NullablePipelineScheduleExecutionErrored) Set ¶

func (*NullablePipelineScheduleExecutionErrored) UnmarshalJSON ¶

func (v *NullablePipelineScheduleExecutionErrored) UnmarshalJSON(src []byte) error

func (*NullablePipelineScheduleExecutionErrored) Unset ¶

type NullablePipelineScheduleExecutionErroredAllOf ¶

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

func (NullablePipelineScheduleExecutionErroredAllOf) Get ¶

func (NullablePipelineScheduleExecutionErroredAllOf) IsSet ¶

func (NullablePipelineScheduleExecutionErroredAllOf) MarshalJSON ¶

func (*NullablePipelineScheduleExecutionErroredAllOf) Set ¶

func (*NullablePipelineScheduleExecutionErroredAllOf) UnmarshalJSON ¶

func (*NullablePipelineScheduleExecutionErroredAllOf) Unset ¶

type NullablePipelineScheduleExecutionExecuted ¶

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

func (NullablePipelineScheduleExecutionExecuted) Get ¶

func (NullablePipelineScheduleExecutionExecuted) IsSet ¶

func (NullablePipelineScheduleExecutionExecuted) MarshalJSON ¶

func (*NullablePipelineScheduleExecutionExecuted) Set ¶

func (*NullablePipelineScheduleExecutionExecuted) UnmarshalJSON ¶

func (v *NullablePipelineScheduleExecutionExecuted) UnmarshalJSON(src []byte) error

func (*NullablePipelineScheduleExecutionExecuted) Unset ¶

type NullablePipelineScheduleExecutionExecutedAllOf ¶

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

func (NullablePipelineScheduleExecutionExecutedAllOf) Get ¶

func (NullablePipelineScheduleExecutionExecutedAllOf) IsSet ¶

func (NullablePipelineScheduleExecutionExecutedAllOf) MarshalJSON ¶

func (*NullablePipelineScheduleExecutionExecutedAllOf) Set ¶

func (*NullablePipelineScheduleExecutionExecutedAllOf) UnmarshalJSON ¶

func (*NullablePipelineScheduleExecutionExecutedAllOf) Unset ¶

type NullablePipelineSelector ¶

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

func NewNullablePipelineSelector ¶

func NewNullablePipelineSelector(val *PipelineSelector) *NullablePipelineSelector

func (NullablePipelineSelector) Get ¶

func (NullablePipelineSelector) IsSet ¶

func (v NullablePipelineSelector) IsSet() bool

func (NullablePipelineSelector) MarshalJSON ¶

func (v NullablePipelineSelector) MarshalJSON() ([]byte, error)

func (*NullablePipelineSelector) Set ¶

func (*NullablePipelineSelector) UnmarshalJSON ¶

func (v *NullablePipelineSelector) UnmarshalJSON(src []byte) error

func (*NullablePipelineSelector) Unset ¶

func (v *NullablePipelineSelector) Unset()

type NullablePipelineSshKeyPair ¶

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

func NewNullablePipelineSshKeyPair ¶

func NewNullablePipelineSshKeyPair(val *PipelineSshKeyPair) *NullablePipelineSshKeyPair

func (NullablePipelineSshKeyPair) Get ¶

func (NullablePipelineSshKeyPair) IsSet ¶

func (v NullablePipelineSshKeyPair) IsSet() bool

func (NullablePipelineSshKeyPair) MarshalJSON ¶

func (v NullablePipelineSshKeyPair) MarshalJSON() ([]byte, error)

func (*NullablePipelineSshKeyPair) Set ¶

func (*NullablePipelineSshKeyPair) UnmarshalJSON ¶

func (v *NullablePipelineSshKeyPair) UnmarshalJSON(src []byte) error

func (*NullablePipelineSshKeyPair) Unset ¶

func (v *NullablePipelineSshKeyPair) Unset()

type NullablePipelineSshPublicKey ¶

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

func (NullablePipelineSshPublicKey) Get ¶

func (NullablePipelineSshPublicKey) IsSet ¶

func (NullablePipelineSshPublicKey) MarshalJSON ¶

func (v NullablePipelineSshPublicKey) MarshalJSON() ([]byte, error)

func (*NullablePipelineSshPublicKey) Set ¶

func (*NullablePipelineSshPublicKey) UnmarshalJSON ¶

func (v *NullablePipelineSshPublicKey) UnmarshalJSON(src []byte) error

func (*NullablePipelineSshPublicKey) Unset ¶

func (v *NullablePipelineSshPublicKey) Unset()

type NullablePipelineState ¶

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

func NewNullablePipelineState ¶

func NewNullablePipelineState(val *PipelineState) *NullablePipelineState

func (NullablePipelineState) Get ¶

func (NullablePipelineState) IsSet ¶

func (v NullablePipelineState) IsSet() bool

func (NullablePipelineState) MarshalJSON ¶

func (v NullablePipelineState) MarshalJSON() ([]byte, error)

func (*NullablePipelineState) Set ¶

func (v *NullablePipelineState) Set(val *PipelineState)

func (*NullablePipelineState) UnmarshalJSON ¶

func (v *NullablePipelineState) UnmarshalJSON(src []byte) error

func (*NullablePipelineState) Unset ¶

func (v *NullablePipelineState) Unset()

type NullablePipelineStateCompleted ¶

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

func (NullablePipelineStateCompleted) Get ¶

func (NullablePipelineStateCompleted) IsSet ¶

func (NullablePipelineStateCompleted) MarshalJSON ¶

func (v NullablePipelineStateCompleted) MarshalJSON() ([]byte, error)

func (*NullablePipelineStateCompleted) Set ¶

func (*NullablePipelineStateCompleted) UnmarshalJSON ¶

func (v *NullablePipelineStateCompleted) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateCompleted) Unset ¶

func (v *NullablePipelineStateCompleted) Unset()

type NullablePipelineStateCompletedError ¶

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

func (NullablePipelineStateCompletedError) Get ¶

func (NullablePipelineStateCompletedError) IsSet ¶

func (NullablePipelineStateCompletedError) MarshalJSON ¶

func (v NullablePipelineStateCompletedError) MarshalJSON() ([]byte, error)

func (*NullablePipelineStateCompletedError) Set ¶

func (*NullablePipelineStateCompletedError) UnmarshalJSON ¶

func (v *NullablePipelineStateCompletedError) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateCompletedError) Unset ¶

type NullablePipelineStateCompletedExpired ¶

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

func (NullablePipelineStateCompletedExpired) Get ¶

func (NullablePipelineStateCompletedExpired) IsSet ¶

func (NullablePipelineStateCompletedExpired) MarshalJSON ¶

func (v NullablePipelineStateCompletedExpired) MarshalJSON() ([]byte, error)

func (*NullablePipelineStateCompletedExpired) Set ¶

func (*NullablePipelineStateCompletedExpired) UnmarshalJSON ¶

func (v *NullablePipelineStateCompletedExpired) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateCompletedExpired) Unset ¶

type NullablePipelineStateCompletedExpiredAllOf ¶

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

func (NullablePipelineStateCompletedExpiredAllOf) Get ¶

func (NullablePipelineStateCompletedExpiredAllOf) IsSet ¶

func (NullablePipelineStateCompletedExpiredAllOf) MarshalJSON ¶

func (*NullablePipelineStateCompletedExpiredAllOf) Set ¶

func (*NullablePipelineStateCompletedExpiredAllOf) UnmarshalJSON ¶

func (v *NullablePipelineStateCompletedExpiredAllOf) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateCompletedExpiredAllOf) Unset ¶

type NullablePipelineStateCompletedFailed ¶

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

func (NullablePipelineStateCompletedFailed) Get ¶

func (NullablePipelineStateCompletedFailed) IsSet ¶

func (NullablePipelineStateCompletedFailed) MarshalJSON ¶

func (v NullablePipelineStateCompletedFailed) MarshalJSON() ([]byte, error)

func (*NullablePipelineStateCompletedFailed) Set ¶

func (*NullablePipelineStateCompletedFailed) UnmarshalJSON ¶

func (v *NullablePipelineStateCompletedFailed) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateCompletedFailed) Unset ¶

type NullablePipelineStateCompletedFailedAllOf ¶

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

func (NullablePipelineStateCompletedFailedAllOf) Get ¶

func (NullablePipelineStateCompletedFailedAllOf) IsSet ¶

func (NullablePipelineStateCompletedFailedAllOf) MarshalJSON ¶

func (*NullablePipelineStateCompletedFailedAllOf) Set ¶

func (*NullablePipelineStateCompletedFailedAllOf) UnmarshalJSON ¶

func (v *NullablePipelineStateCompletedFailedAllOf) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateCompletedFailedAllOf) Unset ¶

type NullablePipelineStateCompletedResult ¶

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

func (NullablePipelineStateCompletedResult) Get ¶

func (NullablePipelineStateCompletedResult) IsSet ¶

func (NullablePipelineStateCompletedResult) MarshalJSON ¶

func (v NullablePipelineStateCompletedResult) MarshalJSON() ([]byte, error)

func (*NullablePipelineStateCompletedResult) Set ¶

func (*NullablePipelineStateCompletedResult) UnmarshalJSON ¶

func (v *NullablePipelineStateCompletedResult) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateCompletedResult) Unset ¶

type NullablePipelineStateCompletedStopped ¶

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

func (NullablePipelineStateCompletedStopped) Get ¶

func (NullablePipelineStateCompletedStopped) IsSet ¶

func (NullablePipelineStateCompletedStopped) MarshalJSON ¶

func (v NullablePipelineStateCompletedStopped) MarshalJSON() ([]byte, error)

func (*NullablePipelineStateCompletedStopped) Set ¶

func (*NullablePipelineStateCompletedStopped) UnmarshalJSON ¶

func (v *NullablePipelineStateCompletedStopped) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateCompletedStopped) Unset ¶

type NullablePipelineStateCompletedStoppedAllOf ¶

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

func (NullablePipelineStateCompletedStoppedAllOf) Get ¶

func (NullablePipelineStateCompletedStoppedAllOf) IsSet ¶

func (NullablePipelineStateCompletedStoppedAllOf) MarshalJSON ¶

func (*NullablePipelineStateCompletedStoppedAllOf) Set ¶

func (*NullablePipelineStateCompletedStoppedAllOf) UnmarshalJSON ¶

func (v *NullablePipelineStateCompletedStoppedAllOf) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateCompletedStoppedAllOf) Unset ¶

type NullablePipelineStateCompletedSuccessful ¶

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

func (NullablePipelineStateCompletedSuccessful) Get ¶

func (NullablePipelineStateCompletedSuccessful) IsSet ¶

func (NullablePipelineStateCompletedSuccessful) MarshalJSON ¶

func (*NullablePipelineStateCompletedSuccessful) Set ¶

func (*NullablePipelineStateCompletedSuccessful) UnmarshalJSON ¶

func (v *NullablePipelineStateCompletedSuccessful) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateCompletedSuccessful) Unset ¶

type NullablePipelineStateCompletedSuccessfulAllOf ¶

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

func (NullablePipelineStateCompletedSuccessfulAllOf) Get ¶

func (NullablePipelineStateCompletedSuccessfulAllOf) IsSet ¶

func (NullablePipelineStateCompletedSuccessfulAllOf) MarshalJSON ¶

func (*NullablePipelineStateCompletedSuccessfulAllOf) Set ¶

func (*NullablePipelineStateCompletedSuccessfulAllOf) UnmarshalJSON ¶

func (*NullablePipelineStateCompletedSuccessfulAllOf) Unset ¶

type NullablePipelineStateInProgress ¶

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

func (NullablePipelineStateInProgress) Get ¶

func (NullablePipelineStateInProgress) IsSet ¶

func (NullablePipelineStateInProgress) MarshalJSON ¶

func (v NullablePipelineStateInProgress) MarshalJSON() ([]byte, error)

func (*NullablePipelineStateInProgress) Set ¶

func (*NullablePipelineStateInProgress) UnmarshalJSON ¶

func (v *NullablePipelineStateInProgress) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateInProgress) Unset ¶

type NullablePipelineStateInProgressPaused ¶

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

func (NullablePipelineStateInProgressPaused) Get ¶

func (NullablePipelineStateInProgressPaused) IsSet ¶

func (NullablePipelineStateInProgressPaused) MarshalJSON ¶

func (v NullablePipelineStateInProgressPaused) MarshalJSON() ([]byte, error)

func (*NullablePipelineStateInProgressPaused) Set ¶

func (*NullablePipelineStateInProgressPaused) UnmarshalJSON ¶

func (v *NullablePipelineStateInProgressPaused) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateInProgressPaused) Unset ¶

type NullablePipelineStateInProgressPausedAllOf ¶

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

func (NullablePipelineStateInProgressPausedAllOf) Get ¶

func (NullablePipelineStateInProgressPausedAllOf) IsSet ¶

func (NullablePipelineStateInProgressPausedAllOf) MarshalJSON ¶

func (*NullablePipelineStateInProgressPausedAllOf) Set ¶

func (*NullablePipelineStateInProgressPausedAllOf) UnmarshalJSON ¶

func (v *NullablePipelineStateInProgressPausedAllOf) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateInProgressPausedAllOf) Unset ¶

type NullablePipelineStateInProgressRunning ¶

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

func (NullablePipelineStateInProgressRunning) Get ¶

func (NullablePipelineStateInProgressRunning) IsSet ¶

func (NullablePipelineStateInProgressRunning) MarshalJSON ¶

func (v NullablePipelineStateInProgressRunning) MarshalJSON() ([]byte, error)

func (*NullablePipelineStateInProgressRunning) Set ¶

func (*NullablePipelineStateInProgressRunning) UnmarshalJSON ¶

func (v *NullablePipelineStateInProgressRunning) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateInProgressRunning) Unset ¶

type NullablePipelineStateInProgressRunningAllOf ¶

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

func (NullablePipelineStateInProgressRunningAllOf) Get ¶

func (NullablePipelineStateInProgressRunningAllOf) IsSet ¶

func (NullablePipelineStateInProgressRunningAllOf) MarshalJSON ¶

func (*NullablePipelineStateInProgressRunningAllOf) Set ¶

func (*NullablePipelineStateInProgressRunningAllOf) UnmarshalJSON ¶

func (v *NullablePipelineStateInProgressRunningAllOf) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateInProgressRunningAllOf) Unset ¶

type NullablePipelineStateInProgressStage ¶

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

func (NullablePipelineStateInProgressStage) Get ¶

func (NullablePipelineStateInProgressStage) IsSet ¶

func (NullablePipelineStateInProgressStage) MarshalJSON ¶

func (v NullablePipelineStateInProgressStage) MarshalJSON() ([]byte, error)

func (*NullablePipelineStateInProgressStage) Set ¶

func (*NullablePipelineStateInProgressStage) UnmarshalJSON ¶

func (v *NullablePipelineStateInProgressStage) UnmarshalJSON(src []byte) error

func (*NullablePipelineStateInProgressStage) Unset ¶

type NullablePipelineStatePending ¶

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

func (NullablePipelineStatePending) Get ¶

func (NullablePipelineStatePending) IsSet ¶

func (NullablePipelineStatePending) MarshalJSON ¶

func (v NullablePipelineStatePending) MarshalJSON() ([]byte, error)

func (*NullablePipelineStatePending) Set ¶

func (*NullablePipelineStatePending) UnmarshalJSON ¶

func (v *NullablePipelineStatePending) UnmarshalJSON(src []byte) error

func (*NullablePipelineStatePending) Unset ¶

func (v *NullablePipelineStatePending) Unset()

type NullablePipelineStep ¶

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

func NewNullablePipelineStep ¶

func NewNullablePipelineStep(val *PipelineStep) *NullablePipelineStep

func (NullablePipelineStep) Get ¶

func (NullablePipelineStep) IsSet ¶

func (v NullablePipelineStep) IsSet() bool

func (NullablePipelineStep) MarshalJSON ¶

func (v NullablePipelineStep) MarshalJSON() ([]byte, error)

func (*NullablePipelineStep) Set ¶

func (v *NullablePipelineStep) Set(val *PipelineStep)

func (*NullablePipelineStep) UnmarshalJSON ¶

func (v *NullablePipelineStep) UnmarshalJSON(src []byte) error

func (*NullablePipelineStep) Unset ¶

func (v *NullablePipelineStep) Unset()

type NullablePipelineStepError ¶

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

func NewNullablePipelineStepError ¶

func NewNullablePipelineStepError(val *PipelineStepError) *NullablePipelineStepError

func (NullablePipelineStepError) Get ¶

func (NullablePipelineStepError) IsSet ¶

func (v NullablePipelineStepError) IsSet() bool

func (NullablePipelineStepError) MarshalJSON ¶

func (v NullablePipelineStepError) MarshalJSON() ([]byte, error)

func (*NullablePipelineStepError) Set ¶

func (*NullablePipelineStepError) UnmarshalJSON ¶

func (v *NullablePipelineStepError) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepError) Unset ¶

func (v *NullablePipelineStepError) Unset()

type NullablePipelineStepState ¶

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

func NewNullablePipelineStepState ¶

func NewNullablePipelineStepState(val *PipelineStepState) *NullablePipelineStepState

func (NullablePipelineStepState) Get ¶

func (NullablePipelineStepState) IsSet ¶

func (v NullablePipelineStepState) IsSet() bool

func (NullablePipelineStepState) MarshalJSON ¶

func (v NullablePipelineStepState) MarshalJSON() ([]byte, error)

func (*NullablePipelineStepState) Set ¶

func (*NullablePipelineStepState) UnmarshalJSON ¶

func (v *NullablePipelineStepState) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepState) Unset ¶

func (v *NullablePipelineStepState) Unset()

type NullablePipelineStepStateCompleted ¶

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

func (NullablePipelineStepStateCompleted) Get ¶

func (NullablePipelineStepStateCompleted) IsSet ¶

func (NullablePipelineStepStateCompleted) MarshalJSON ¶

func (v NullablePipelineStepStateCompleted) MarshalJSON() ([]byte, error)

func (*NullablePipelineStepStateCompleted) Set ¶

func (*NullablePipelineStepStateCompleted) UnmarshalJSON ¶

func (v *NullablePipelineStepStateCompleted) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateCompleted) Unset ¶

type NullablePipelineStepStateCompletedAllOf ¶

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

func (NullablePipelineStepStateCompletedAllOf) Get ¶

func (NullablePipelineStepStateCompletedAllOf) IsSet ¶

func (NullablePipelineStepStateCompletedAllOf) MarshalJSON ¶

func (v NullablePipelineStepStateCompletedAllOf) MarshalJSON() ([]byte, error)

func (*NullablePipelineStepStateCompletedAllOf) Set ¶

func (*NullablePipelineStepStateCompletedAllOf) UnmarshalJSON ¶

func (v *NullablePipelineStepStateCompletedAllOf) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateCompletedAllOf) Unset ¶

type NullablePipelineStepStateCompletedError ¶

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

func (NullablePipelineStepStateCompletedError) Get ¶

func (NullablePipelineStepStateCompletedError) IsSet ¶

func (NullablePipelineStepStateCompletedError) MarshalJSON ¶

func (v NullablePipelineStepStateCompletedError) MarshalJSON() ([]byte, error)

func (*NullablePipelineStepStateCompletedError) Set ¶

func (*NullablePipelineStepStateCompletedError) UnmarshalJSON ¶

func (v *NullablePipelineStepStateCompletedError) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateCompletedError) Unset ¶

type NullablePipelineStepStateCompletedErrorAllOf ¶

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

func (NullablePipelineStepStateCompletedErrorAllOf) Get ¶

func (NullablePipelineStepStateCompletedErrorAllOf) IsSet ¶

func (NullablePipelineStepStateCompletedErrorAllOf) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedErrorAllOf) Set ¶

func (*NullablePipelineStepStateCompletedErrorAllOf) UnmarshalJSON ¶

func (*NullablePipelineStepStateCompletedErrorAllOf) Unset ¶

type NullablePipelineStepStateCompletedExpired ¶

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

func (NullablePipelineStepStateCompletedExpired) Get ¶

func (NullablePipelineStepStateCompletedExpired) IsSet ¶

func (NullablePipelineStepStateCompletedExpired) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedExpired) Set ¶

func (*NullablePipelineStepStateCompletedExpired) UnmarshalJSON ¶

func (v *NullablePipelineStepStateCompletedExpired) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateCompletedExpired) Unset ¶

type NullablePipelineStepStateCompletedExpiredAllOf ¶

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

func (NullablePipelineStepStateCompletedExpiredAllOf) Get ¶

func (NullablePipelineStepStateCompletedExpiredAllOf) IsSet ¶

func (NullablePipelineStepStateCompletedExpiredAllOf) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedExpiredAllOf) Set ¶

func (*NullablePipelineStepStateCompletedExpiredAllOf) UnmarshalJSON ¶

func (*NullablePipelineStepStateCompletedExpiredAllOf) Unset ¶

type NullablePipelineStepStateCompletedFailed ¶

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

func (NullablePipelineStepStateCompletedFailed) Get ¶

func (NullablePipelineStepStateCompletedFailed) IsSet ¶

func (NullablePipelineStepStateCompletedFailed) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedFailed) Set ¶

func (*NullablePipelineStepStateCompletedFailed) UnmarshalJSON ¶

func (v *NullablePipelineStepStateCompletedFailed) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateCompletedFailed) Unset ¶

type NullablePipelineStepStateCompletedFailedAllOf ¶

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

func (NullablePipelineStepStateCompletedFailedAllOf) Get ¶

func (NullablePipelineStepStateCompletedFailedAllOf) IsSet ¶

func (NullablePipelineStepStateCompletedFailedAllOf) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedFailedAllOf) Set ¶

func (*NullablePipelineStepStateCompletedFailedAllOf) UnmarshalJSON ¶

func (*NullablePipelineStepStateCompletedFailedAllOf) Unset ¶

type NullablePipelineStepStateCompletedNotRun ¶

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

func (NullablePipelineStepStateCompletedNotRun) Get ¶

func (NullablePipelineStepStateCompletedNotRun) IsSet ¶

func (NullablePipelineStepStateCompletedNotRun) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedNotRun) Set ¶

func (*NullablePipelineStepStateCompletedNotRun) UnmarshalJSON ¶

func (v *NullablePipelineStepStateCompletedNotRun) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateCompletedNotRun) Unset ¶

type NullablePipelineStepStateCompletedNotRunAllOf ¶

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

func (NullablePipelineStepStateCompletedNotRunAllOf) Get ¶

func (NullablePipelineStepStateCompletedNotRunAllOf) IsSet ¶

func (NullablePipelineStepStateCompletedNotRunAllOf) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedNotRunAllOf) Set ¶

func (*NullablePipelineStepStateCompletedNotRunAllOf) UnmarshalJSON ¶

func (*NullablePipelineStepStateCompletedNotRunAllOf) Unset ¶

type NullablePipelineStepStateCompletedResult ¶

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

func (NullablePipelineStepStateCompletedResult) Get ¶

func (NullablePipelineStepStateCompletedResult) IsSet ¶

func (NullablePipelineStepStateCompletedResult) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedResult) Set ¶

func (*NullablePipelineStepStateCompletedResult) UnmarshalJSON ¶

func (v *NullablePipelineStepStateCompletedResult) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateCompletedResult) Unset ¶

type NullablePipelineStepStateCompletedStopped ¶

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

func (NullablePipelineStepStateCompletedStopped) Get ¶

func (NullablePipelineStepStateCompletedStopped) IsSet ¶

func (NullablePipelineStepStateCompletedStopped) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedStopped) Set ¶

func (*NullablePipelineStepStateCompletedStopped) UnmarshalJSON ¶

func (v *NullablePipelineStepStateCompletedStopped) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateCompletedStopped) Unset ¶

type NullablePipelineStepStateCompletedStoppedAllOf ¶

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

func (NullablePipelineStepStateCompletedStoppedAllOf) Get ¶

func (NullablePipelineStepStateCompletedStoppedAllOf) IsSet ¶

func (NullablePipelineStepStateCompletedStoppedAllOf) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedStoppedAllOf) Set ¶

func (*NullablePipelineStepStateCompletedStoppedAllOf) UnmarshalJSON ¶

func (*NullablePipelineStepStateCompletedStoppedAllOf) Unset ¶

type NullablePipelineStepStateCompletedSuccessful ¶

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

func (NullablePipelineStepStateCompletedSuccessful) Get ¶

func (NullablePipelineStepStateCompletedSuccessful) IsSet ¶

func (NullablePipelineStepStateCompletedSuccessful) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedSuccessful) Set ¶

func (*NullablePipelineStepStateCompletedSuccessful) UnmarshalJSON ¶

func (*NullablePipelineStepStateCompletedSuccessful) Unset ¶

type NullablePipelineStepStateCompletedSuccessfulAllOf ¶

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

func (NullablePipelineStepStateCompletedSuccessfulAllOf) Get ¶

func (NullablePipelineStepStateCompletedSuccessfulAllOf) IsSet ¶

func (NullablePipelineStepStateCompletedSuccessfulAllOf) MarshalJSON ¶

func (*NullablePipelineStepStateCompletedSuccessfulAllOf) Set ¶

func (*NullablePipelineStepStateCompletedSuccessfulAllOf) UnmarshalJSON ¶

func (*NullablePipelineStepStateCompletedSuccessfulAllOf) Unset ¶

type NullablePipelineStepStateInProgress ¶

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

func (NullablePipelineStepStateInProgress) Get ¶

func (NullablePipelineStepStateInProgress) IsSet ¶

func (NullablePipelineStepStateInProgress) MarshalJSON ¶

func (v NullablePipelineStepStateInProgress) MarshalJSON() ([]byte, error)

func (*NullablePipelineStepStateInProgress) Set ¶

func (*NullablePipelineStepStateInProgress) UnmarshalJSON ¶

func (v *NullablePipelineStepStateInProgress) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateInProgress) Unset ¶

type NullablePipelineStepStateInProgressAllOf ¶

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

func (NullablePipelineStepStateInProgressAllOf) Get ¶

func (NullablePipelineStepStateInProgressAllOf) IsSet ¶

func (NullablePipelineStepStateInProgressAllOf) MarshalJSON ¶

func (*NullablePipelineStepStateInProgressAllOf) Set ¶

func (*NullablePipelineStepStateInProgressAllOf) UnmarshalJSON ¶

func (v *NullablePipelineStepStateInProgressAllOf) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateInProgressAllOf) Unset ¶

type NullablePipelineStepStatePending ¶

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

func (NullablePipelineStepStatePending) Get ¶

func (NullablePipelineStepStatePending) IsSet ¶

func (NullablePipelineStepStatePending) MarshalJSON ¶

func (v NullablePipelineStepStatePending) MarshalJSON() ([]byte, error)

func (*NullablePipelineStepStatePending) Set ¶

func (*NullablePipelineStepStatePending) UnmarshalJSON ¶

func (v *NullablePipelineStepStatePending) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStatePending) Unset ¶

type NullablePipelineStepStatePendingAllOf ¶

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

func (NullablePipelineStepStatePendingAllOf) Get ¶

func (NullablePipelineStepStatePendingAllOf) IsSet ¶

func (NullablePipelineStepStatePendingAllOf) MarshalJSON ¶

func (v NullablePipelineStepStatePendingAllOf) MarshalJSON() ([]byte, error)

func (*NullablePipelineStepStatePendingAllOf) Set ¶

func (*NullablePipelineStepStatePendingAllOf) UnmarshalJSON ¶

func (v *NullablePipelineStepStatePendingAllOf) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStatePendingAllOf) Unset ¶

type NullablePipelineStepStateReady ¶

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

func (NullablePipelineStepStateReady) Get ¶

func (NullablePipelineStepStateReady) IsSet ¶

func (NullablePipelineStepStateReady) MarshalJSON ¶

func (v NullablePipelineStepStateReady) MarshalJSON() ([]byte, error)

func (*NullablePipelineStepStateReady) Set ¶

func (*NullablePipelineStepStateReady) UnmarshalJSON ¶

func (v *NullablePipelineStepStateReady) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateReady) Unset ¶

func (v *NullablePipelineStepStateReady) Unset()

type NullablePipelineStepStateReadyAllOf ¶

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

func (NullablePipelineStepStateReadyAllOf) Get ¶

func (NullablePipelineStepStateReadyAllOf) IsSet ¶

func (NullablePipelineStepStateReadyAllOf) MarshalJSON ¶

func (v NullablePipelineStepStateReadyAllOf) MarshalJSON() ([]byte, error)

func (*NullablePipelineStepStateReadyAllOf) Set ¶

func (*NullablePipelineStepStateReadyAllOf) UnmarshalJSON ¶

func (v *NullablePipelineStepStateReadyAllOf) UnmarshalJSON(src []byte) error

func (*NullablePipelineStepStateReadyAllOf) Unset ¶

type NullablePipelineTarget ¶

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

func NewNullablePipelineTarget ¶

func NewNullablePipelineTarget(val *PipelineTarget) *NullablePipelineTarget

func (NullablePipelineTarget) Get ¶

func (NullablePipelineTarget) IsSet ¶

func (v NullablePipelineTarget) IsSet() bool

func (NullablePipelineTarget) MarshalJSON ¶

func (v NullablePipelineTarget) MarshalJSON() ([]byte, error)

func (*NullablePipelineTarget) Set ¶

func (*NullablePipelineTarget) UnmarshalJSON ¶

func (v *NullablePipelineTarget) UnmarshalJSON(src []byte) error

func (*NullablePipelineTarget) Unset ¶

func (v *NullablePipelineTarget) Unset()

type NullablePipelineTrigger ¶

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

func NewNullablePipelineTrigger ¶

func NewNullablePipelineTrigger(val *PipelineTrigger) *NullablePipelineTrigger

func (NullablePipelineTrigger) Get ¶

func (NullablePipelineTrigger) IsSet ¶

func (v NullablePipelineTrigger) IsSet() bool

func (NullablePipelineTrigger) MarshalJSON ¶

func (v NullablePipelineTrigger) MarshalJSON() ([]byte, error)

func (*NullablePipelineTrigger) Set ¶

func (*NullablePipelineTrigger) UnmarshalJSON ¶

func (v *NullablePipelineTrigger) UnmarshalJSON(src []byte) error

func (*NullablePipelineTrigger) Unset ¶

func (v *NullablePipelineTrigger) Unset()

type NullablePipelineTriggerManual ¶

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

func (NullablePipelineTriggerManual) Get ¶

func (NullablePipelineTriggerManual) IsSet ¶

func (NullablePipelineTriggerManual) MarshalJSON ¶

func (v NullablePipelineTriggerManual) MarshalJSON() ([]byte, error)

func (*NullablePipelineTriggerManual) Set ¶

func (*NullablePipelineTriggerManual) UnmarshalJSON ¶

func (v *NullablePipelineTriggerManual) UnmarshalJSON(src []byte) error

func (*NullablePipelineTriggerManual) Unset ¶

func (v *NullablePipelineTriggerManual) Unset()

type NullablePipelineTriggerPush ¶

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

func (NullablePipelineTriggerPush) Get ¶

func (NullablePipelineTriggerPush) IsSet ¶

func (NullablePipelineTriggerPush) MarshalJSON ¶

func (v NullablePipelineTriggerPush) MarshalJSON() ([]byte, error)

func (*NullablePipelineTriggerPush) Set ¶

func (*NullablePipelineTriggerPush) UnmarshalJSON ¶

func (v *NullablePipelineTriggerPush) UnmarshalJSON(src []byte) error

func (*NullablePipelineTriggerPush) Unset ¶

func (v *NullablePipelineTriggerPush) Unset()

type NullablePipelineVariable ¶

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

func NewNullablePipelineVariable ¶

func NewNullablePipelineVariable(val *PipelineVariable) *NullablePipelineVariable

func (NullablePipelineVariable) Get ¶

func (NullablePipelineVariable) IsSet ¶

func (v NullablePipelineVariable) IsSet() bool

func (NullablePipelineVariable) MarshalJSON ¶

func (v NullablePipelineVariable) MarshalJSON() ([]byte, error)

func (*NullablePipelineVariable) Set ¶

func (*NullablePipelineVariable) UnmarshalJSON ¶

func (v *NullablePipelineVariable) UnmarshalJSON(src []byte) error

func (*NullablePipelineVariable) Unset ¶

func (v *NullablePipelineVariable) Unset()

type NullablePipelinesConfig ¶

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

func NewNullablePipelinesConfig ¶

func NewNullablePipelinesConfig(val *PipelinesConfig) *NullablePipelinesConfig

func (NullablePipelinesConfig) Get ¶

func (NullablePipelinesConfig) IsSet ¶

func (v NullablePipelinesConfig) IsSet() bool

func (NullablePipelinesConfig) MarshalJSON ¶

func (v NullablePipelinesConfig) MarshalJSON() ([]byte, error)

func (*NullablePipelinesConfig) Set ¶

func (*NullablePipelinesConfig) UnmarshalJSON ¶

func (v *NullablePipelinesConfig) UnmarshalJSON(src []byte) error

func (*NullablePipelinesConfig) Unset ¶

func (v *NullablePipelinesConfig) Unset()

type NullablePipelinesConfiguration ¶

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

func (NullablePipelinesConfiguration) Get ¶

func (NullablePipelinesConfiguration) IsSet ¶

func (NullablePipelinesConfiguration) MarshalJSON ¶

func (v NullablePipelinesConfiguration) MarshalJSON() ([]byte, error)

func (*NullablePipelinesConfiguration) Set ¶

func (*NullablePipelinesConfiguration) UnmarshalJSON ¶

func (v *NullablePipelinesConfiguration) UnmarshalJSON(src []byte) error

func (*NullablePipelinesConfiguration) Unset ¶

func (v *NullablePipelinesConfiguration) Unset()

type NullablePipelinesDdevPipelineStep ¶

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

func (NullablePipelinesDdevPipelineStep) Get ¶

func (NullablePipelinesDdevPipelineStep) IsSet ¶

func (NullablePipelinesDdevPipelineStep) MarshalJSON ¶

func (v NullablePipelinesDdevPipelineStep) MarshalJSON() ([]byte, error)

func (*NullablePipelinesDdevPipelineStep) Set ¶

func (*NullablePipelinesDdevPipelineStep) UnmarshalJSON ¶

func (v *NullablePipelinesDdevPipelineStep) UnmarshalJSON(src []byte) error

func (*NullablePipelinesDdevPipelineStep) Unset ¶

type NullablePipelinesStgWestPipelineStep ¶

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

func (NullablePipelinesStgWestPipelineStep) Get ¶

func (NullablePipelinesStgWestPipelineStep) IsSet ¶

func (NullablePipelinesStgWestPipelineStep) MarshalJSON ¶

func (v NullablePipelinesStgWestPipelineStep) MarshalJSON() ([]byte, error)

func (*NullablePipelinesStgWestPipelineStep) Set ¶

func (*NullablePipelinesStgWestPipelineStep) UnmarshalJSON ¶

func (v *NullablePipelinesStgWestPipelineStep) UnmarshalJSON(src []byte) error

func (*NullablePipelinesStgWestPipelineStep) Unset ¶

type NullableProject ¶

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

func NewNullableProject ¶

func NewNullableProject(val *Project) *NullableProject

func (NullableProject) Get ¶

func (v NullableProject) Get() *Project

func (NullableProject) IsSet ¶

func (v NullableProject) IsSet() bool

func (NullableProject) MarshalJSON ¶

func (v NullableProject) MarshalJSON() ([]byte, error)

func (*NullableProject) Set ¶

func (v *NullableProject) Set(val *Project)

func (*NullableProject) UnmarshalJSON ¶

func (v *NullableProject) UnmarshalJSON(src []byte) error

func (*NullableProject) Unset ¶

func (v *NullableProject) Unset()
type NullableProjectLinks struct {
	// contains filtered or unexported fields
}
func NewNullableProjectLinks(val *ProjectLinks) *NullableProjectLinks

func (NullableProjectLinks) Get ¶

func (NullableProjectLinks) IsSet ¶

func (v NullableProjectLinks) IsSet() bool

func (NullableProjectLinks) MarshalJSON ¶

func (v NullableProjectLinks) MarshalJSON() ([]byte, error)

func (*NullableProjectLinks) Set ¶

func (v *NullableProjectLinks) Set(val *ProjectLinks)

func (*NullableProjectLinks) UnmarshalJSON ¶

func (v *NullableProjectLinks) UnmarshalJSON(src []byte) error

func (*NullableProjectLinks) Unset ¶

func (v *NullableProjectLinks) Unset()

type NullablePullRequest ¶

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

func NewNullablePullRequest ¶

func NewNullablePullRequest(val *PullRequest) *NullablePullRequest

func (NullablePullRequest) Get ¶

func (NullablePullRequest) IsSet ¶

func (v NullablePullRequest) IsSet() bool

func (NullablePullRequest) MarshalJSON ¶

func (v NullablePullRequest) MarshalJSON() ([]byte, error)

func (*NullablePullRequest) Set ¶

func (v *NullablePullRequest) Set(val *PullRequest)

func (*NullablePullRequest) UnmarshalJSON ¶

func (v *NullablePullRequest) UnmarshalJSON(src []byte) error

func (*NullablePullRequest) Unset ¶

func (v *NullablePullRequest) Unset()

type NullablePullRequestBranch ¶

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

func NewNullablePullRequestBranch ¶

func NewNullablePullRequestBranch(val *PullRequestBranch) *NullablePullRequestBranch

func (NullablePullRequestBranch) Get ¶

func (NullablePullRequestBranch) IsSet ¶

func (v NullablePullRequestBranch) IsSet() bool

func (NullablePullRequestBranch) MarshalJSON ¶

func (v NullablePullRequestBranch) MarshalJSON() ([]byte, error)

func (*NullablePullRequestBranch) Set ¶

func (*NullablePullRequestBranch) UnmarshalJSON ¶

func (v *NullablePullRequestBranch) UnmarshalJSON(src []byte) error

func (*NullablePullRequestBranch) Unset ¶

func (v *NullablePullRequestBranch) Unset()

type NullablePullRequestComment ¶

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

func NewNullablePullRequestComment ¶

func NewNullablePullRequestComment(val *PullRequestComment) *NullablePullRequestComment

func (NullablePullRequestComment) Get ¶

func (NullablePullRequestComment) IsSet ¶

func (v NullablePullRequestComment) IsSet() bool

func (NullablePullRequestComment) MarshalJSON ¶

func (v NullablePullRequestComment) MarshalJSON() ([]byte, error)

func (*NullablePullRequestComment) Set ¶

func (*NullablePullRequestComment) UnmarshalJSON ¶

func (v *NullablePullRequestComment) UnmarshalJSON(src []byte) error

func (*NullablePullRequestComment) Unset ¶

func (v *NullablePullRequestComment) Unset()

type NullablePullRequestCommit ¶

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

func NewNullablePullRequestCommit ¶

func NewNullablePullRequestCommit(val *PullRequestCommit) *NullablePullRequestCommit

func (NullablePullRequestCommit) Get ¶

func (NullablePullRequestCommit) IsSet ¶

func (v NullablePullRequestCommit) IsSet() bool

func (NullablePullRequestCommit) MarshalJSON ¶

func (v NullablePullRequestCommit) MarshalJSON() ([]byte, error)

func (*NullablePullRequestCommit) Set ¶

func (*NullablePullRequestCommit) UnmarshalJSON ¶

func (v *NullablePullRequestCommit) UnmarshalJSON(src []byte) error

func (*NullablePullRequestCommit) Unset ¶

func (v *NullablePullRequestCommit) Unset()
type NullablePullRequestLinks struct {
	// contains filtered or unexported fields
}
func NewNullablePullRequestLinks(val *PullRequestLinks) *NullablePullRequestLinks

func (NullablePullRequestLinks) Get ¶

func (NullablePullRequestLinks) IsSet ¶

func (v NullablePullRequestLinks) IsSet() bool

func (NullablePullRequestLinks) MarshalJSON ¶

func (v NullablePullRequestLinks) MarshalJSON() ([]byte, error)

func (*NullablePullRequestLinks) Set ¶

func (*NullablePullRequestLinks) UnmarshalJSON ¶

func (v *NullablePullRequestLinks) UnmarshalJSON(src []byte) error

func (*NullablePullRequestLinks) Unset ¶

func (v *NullablePullRequestLinks) Unset()

type NullablePullrequest ¶

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

func NewNullablePullrequest ¶

func NewNullablePullrequest(val *Pullrequest) *NullablePullrequest

func (NullablePullrequest) Get ¶

func (NullablePullrequest) IsSet ¶

func (v NullablePullrequest) IsSet() bool

func (NullablePullrequest) MarshalJSON ¶

func (v NullablePullrequest) MarshalJSON() ([]byte, error)

func (*NullablePullrequest) Set ¶

func (v *NullablePullrequest) Set(val *Pullrequest)

func (*NullablePullrequest) UnmarshalJSON ¶

func (v *NullablePullrequest) UnmarshalJSON(src []byte) error

func (*NullablePullrequest) Unset ¶

func (v *NullablePullrequest) Unset()

type NullablePullrequestComment ¶

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

func NewNullablePullrequestComment ¶

func NewNullablePullrequestComment(val *PullrequestComment) *NullablePullrequestComment

func (NullablePullrequestComment) Get ¶

func (NullablePullrequestComment) IsSet ¶

func (v NullablePullrequestComment) IsSet() bool

func (NullablePullrequestComment) MarshalJSON ¶

func (v NullablePullrequestComment) MarshalJSON() ([]byte, error)

func (*NullablePullrequestComment) Set ¶

func (*NullablePullrequestComment) UnmarshalJSON ¶

func (v *NullablePullrequestComment) UnmarshalJSON(src []byte) error

func (*NullablePullrequestComment) Unset ¶

func (v *NullablePullrequestComment) Unset()

type NullablePullrequestEndpoint ¶

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

func (NullablePullrequestEndpoint) Get ¶

func (NullablePullrequestEndpoint) IsSet ¶

func (NullablePullrequestEndpoint) MarshalJSON ¶

func (v NullablePullrequestEndpoint) MarshalJSON() ([]byte, error)

func (*NullablePullrequestEndpoint) Set ¶

func (*NullablePullrequestEndpoint) UnmarshalJSON ¶

func (v *NullablePullrequestEndpoint) UnmarshalJSON(src []byte) error

func (*NullablePullrequestEndpoint) Unset ¶

func (v *NullablePullrequestEndpoint) Unset()

type NullablePullrequestMergeParameters ¶

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

func (NullablePullrequestMergeParameters) Get ¶

func (NullablePullrequestMergeParameters) IsSet ¶

func (NullablePullrequestMergeParameters) MarshalJSON ¶

func (v NullablePullrequestMergeParameters) MarshalJSON() ([]byte, error)

func (*NullablePullrequestMergeParameters) Set ¶

func (*NullablePullrequestMergeParameters) UnmarshalJSON ¶

func (v *NullablePullrequestMergeParameters) UnmarshalJSON(src []byte) error

func (*NullablePullrequestMergeParameters) Unset ¶

type NullableRef ¶

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

func NewNullableRef ¶

func NewNullableRef(val *Ref) *NullableRef

func (NullableRef) Get ¶

func (v NullableRef) Get() *Ref

func (NullableRef) IsSet ¶

func (v NullableRef) IsSet() bool

func (NullableRef) MarshalJSON ¶

func (v NullableRef) MarshalJSON() ([]byte, error)

func (*NullableRef) Set ¶

func (v *NullableRef) Set(val *Ref)

func (*NullableRef) UnmarshalJSON ¶

func (v *NullableRef) UnmarshalJSON(src []byte) error

func (*NullableRef) Unset ¶

func (v *NullableRef) Unset()
type NullableRefLinks struct {
	// contains filtered or unexported fields
}
func NewNullableRefLinks(val *RefLinks) *NullableRefLinks

func (NullableRefLinks) Get ¶

func (v NullableRefLinks) Get() *RefLinks

func (NullableRefLinks) IsSet ¶

func (v NullableRefLinks) IsSet() bool

func (NullableRefLinks) MarshalJSON ¶

func (v NullableRefLinks) MarshalJSON() ([]byte, error)

func (*NullableRefLinks) Set ¶

func (v *NullableRefLinks) Set(val *RefLinks)

func (*NullableRefLinks) UnmarshalJSON ¶

func (v *NullableRefLinks) UnmarshalJSON(src []byte) error

func (*NullableRefLinks) Unset ¶

func (v *NullableRefLinks) Unset()

type NullableRenderedPullRequestMarkup ¶

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

func (NullableRenderedPullRequestMarkup) Get ¶

func (NullableRenderedPullRequestMarkup) IsSet ¶

func (NullableRenderedPullRequestMarkup) MarshalJSON ¶

func (v NullableRenderedPullRequestMarkup) MarshalJSON() ([]byte, error)

func (*NullableRenderedPullRequestMarkup) Set ¶

func (*NullableRenderedPullRequestMarkup) UnmarshalJSON ¶

func (v *NullableRenderedPullRequestMarkup) UnmarshalJSON(src []byte) error

func (*NullableRenderedPullRequestMarkup) Unset ¶

type NullableRenderedPullRequestMarkupTitle ¶

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

func (NullableRenderedPullRequestMarkupTitle) Get ¶

func (NullableRenderedPullRequestMarkupTitle) IsSet ¶

func (NullableRenderedPullRequestMarkupTitle) MarshalJSON ¶

func (v NullableRenderedPullRequestMarkupTitle) MarshalJSON() ([]byte, error)

func (*NullableRenderedPullRequestMarkupTitle) Set ¶

func (*NullableRenderedPullRequestMarkupTitle) UnmarshalJSON ¶

func (v *NullableRenderedPullRequestMarkupTitle) UnmarshalJSON(src []byte) error

func (*NullableRenderedPullRequestMarkupTitle) Unset ¶

type NullableReport ¶

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

func NewNullableReport ¶

func NewNullableReport(val *Report) *NullableReport

func (NullableReport) Get ¶

func (v NullableReport) Get() *Report

func (NullableReport) IsSet ¶

func (v NullableReport) IsSet() bool

func (NullableReport) MarshalJSON ¶

func (v NullableReport) MarshalJSON() ([]byte, error)

func (*NullableReport) Set ¶

func (v *NullableReport) Set(val *Report)

func (*NullableReport) UnmarshalJSON ¶

func (v *NullableReport) UnmarshalJSON(src []byte) error

func (*NullableReport) Unset ¶

func (v *NullableReport) Unset()

type NullableReportAnnotation ¶

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

func NewNullableReportAnnotation ¶

func NewNullableReportAnnotation(val *ReportAnnotation) *NullableReportAnnotation

func (NullableReportAnnotation) Get ¶

func (NullableReportAnnotation) IsSet ¶

func (v NullableReportAnnotation) IsSet() bool

func (NullableReportAnnotation) MarshalJSON ¶

func (v NullableReportAnnotation) MarshalJSON() ([]byte, error)

func (*NullableReportAnnotation) Set ¶

func (*NullableReportAnnotation) UnmarshalJSON ¶

func (v *NullableReportAnnotation) UnmarshalJSON(src []byte) error

func (*NullableReportAnnotation) Unset ¶

func (v *NullableReportAnnotation) Unset()

type NullableReportData ¶

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

func NewNullableReportData ¶

func NewNullableReportData(val *ReportData) *NullableReportData

func (NullableReportData) Get ¶

func (v NullableReportData) Get() *ReportData

func (NullableReportData) IsSet ¶

func (v NullableReportData) IsSet() bool

func (NullableReportData) MarshalJSON ¶

func (v NullableReportData) MarshalJSON() ([]byte, error)

func (*NullableReportData) Set ¶

func (v *NullableReportData) Set(val *ReportData)

func (*NullableReportData) UnmarshalJSON ¶

func (v *NullableReportData) UnmarshalJSON(src []byte) error

func (*NullableReportData) Unset ¶

func (v *NullableReportData) Unset()

type NullableRepository ¶

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

func NewNullableRepository ¶

func NewNullableRepository(val *Repository) *NullableRepository

func (NullableRepository) Get ¶

func (v NullableRepository) Get() *Repository

func (NullableRepository) IsSet ¶

func (v NullableRepository) IsSet() bool

func (NullableRepository) MarshalJSON ¶

func (v NullableRepository) MarshalJSON() ([]byte, error)

func (*NullableRepository) Set ¶

func (v *NullableRepository) Set(val *Repository)

func (*NullableRepository) UnmarshalJSON ¶

func (v *NullableRepository) UnmarshalJSON(src []byte) error

func (*NullableRepository) Unset ¶

func (v *NullableRepository) Unset()

type NullableRepositoryGroupPermission ¶

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

func (NullableRepositoryGroupPermission) Get ¶

func (NullableRepositoryGroupPermission) IsSet ¶

func (NullableRepositoryGroupPermission) MarshalJSON ¶

func (v NullableRepositoryGroupPermission) MarshalJSON() ([]byte, error)

func (*NullableRepositoryGroupPermission) Set ¶

func (*NullableRepositoryGroupPermission) UnmarshalJSON ¶

func (v *NullableRepositoryGroupPermission) UnmarshalJSON(src []byte) error

func (*NullableRepositoryGroupPermission) Unset ¶

type NullableRepositoryLinks struct {
	// contains filtered or unexported fields
}
func NewNullableRepositoryLinks(val *RepositoryLinks) *NullableRepositoryLinks

func (NullableRepositoryLinks) Get ¶

func (NullableRepositoryLinks) IsSet ¶

func (v NullableRepositoryLinks) IsSet() bool

func (NullableRepositoryLinks) MarshalJSON ¶

func (v NullableRepositoryLinks) MarshalJSON() ([]byte, error)

func (*NullableRepositoryLinks) Set ¶

func (*NullableRepositoryLinks) UnmarshalJSON ¶

func (v *NullableRepositoryLinks) UnmarshalJSON(src []byte) error

func (*NullableRepositoryLinks) Unset ¶

func (v *NullableRepositoryLinks) Unset()

type NullableRepositoryPermission ¶

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

func (NullableRepositoryPermission) Get ¶

func (NullableRepositoryPermission) IsSet ¶

func (NullableRepositoryPermission) MarshalJSON ¶

func (v NullableRepositoryPermission) MarshalJSON() ([]byte, error)

func (*NullableRepositoryPermission) Set ¶

func (*NullableRepositoryPermission) UnmarshalJSON ¶

func (v *NullableRepositoryPermission) UnmarshalJSON(src []byte) error

func (*NullableRepositoryPermission) Unset ¶

func (v *NullableRepositoryPermission) Unset()

type NullableRepositoryUserPermission ¶

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

func (NullableRepositoryUserPermission) Get ¶

func (NullableRepositoryUserPermission) IsSet ¶

func (NullableRepositoryUserPermission) MarshalJSON ¶

func (v NullableRepositoryUserPermission) MarshalJSON() ([]byte, error)

func (*NullableRepositoryUserPermission) Set ¶

func (*NullableRepositoryUserPermission) UnmarshalJSON ¶

func (v *NullableRepositoryUserPermission) UnmarshalJSON(src []byte) error

func (*NullableRepositoryUserPermission) Unset ¶

type NullableSearchCodeSearchResult ¶

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

func (NullableSearchCodeSearchResult) Get ¶

func (NullableSearchCodeSearchResult) IsSet ¶

func (NullableSearchCodeSearchResult) MarshalJSON ¶

func (v NullableSearchCodeSearchResult) MarshalJSON() ([]byte, error)

func (*NullableSearchCodeSearchResult) Set ¶

func (*NullableSearchCodeSearchResult) UnmarshalJSON ¶

func (v *NullableSearchCodeSearchResult) UnmarshalJSON(src []byte) error

func (*NullableSearchCodeSearchResult) Unset ¶

func (v *NullableSearchCodeSearchResult) Unset()

type NullableSearchContentMatch ¶

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

func NewNullableSearchContentMatch ¶

func NewNullableSearchContentMatch(val *SearchContentMatch) *NullableSearchContentMatch

func (NullableSearchContentMatch) Get ¶

func (NullableSearchContentMatch) IsSet ¶

func (v NullableSearchContentMatch) IsSet() bool

func (NullableSearchContentMatch) MarshalJSON ¶

func (v NullableSearchContentMatch) MarshalJSON() ([]byte, error)

func (*NullableSearchContentMatch) Set ¶

func (*NullableSearchContentMatch) UnmarshalJSON ¶

func (v *NullableSearchContentMatch) UnmarshalJSON(src []byte) error

func (*NullableSearchContentMatch) Unset ¶

func (v *NullableSearchContentMatch) Unset()

type NullableSearchLine ¶

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

func NewNullableSearchLine ¶

func NewNullableSearchLine(val *SearchLine) *NullableSearchLine

func (NullableSearchLine) Get ¶

func (v NullableSearchLine) Get() *SearchLine

func (NullableSearchLine) IsSet ¶

func (v NullableSearchLine) IsSet() bool

func (NullableSearchLine) MarshalJSON ¶

func (v NullableSearchLine) MarshalJSON() ([]byte, error)

func (*NullableSearchLine) Set ¶

func (v *NullableSearchLine) Set(val *SearchLine)

func (*NullableSearchLine) UnmarshalJSON ¶

func (v *NullableSearchLine) UnmarshalJSON(src []byte) error

func (*NullableSearchLine) Unset ¶

func (v *NullableSearchLine) Unset()

type NullableSearchResultPage ¶

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

func NewNullableSearchResultPage ¶

func NewNullableSearchResultPage(val *SearchResultPage) *NullableSearchResultPage

func (NullableSearchResultPage) Get ¶

func (NullableSearchResultPage) IsSet ¶

func (v NullableSearchResultPage) IsSet() bool

func (NullableSearchResultPage) MarshalJSON ¶

func (v NullableSearchResultPage) MarshalJSON() ([]byte, error)

func (*NullableSearchResultPage) Set ¶

func (*NullableSearchResultPage) UnmarshalJSON ¶

func (v *NullableSearchResultPage) UnmarshalJSON(src []byte) error

func (*NullableSearchResultPage) Unset ¶

func (v *NullableSearchResultPage) Unset()

type NullableSearchSegment ¶

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

func NewNullableSearchSegment ¶

func NewNullableSearchSegment(val *SearchSegment) *NullableSearchSegment

func (NullableSearchSegment) Get ¶

func (NullableSearchSegment) IsSet ¶

func (v NullableSearchSegment) IsSet() bool

func (NullableSearchSegment) MarshalJSON ¶

func (v NullableSearchSegment) MarshalJSON() ([]byte, error)

func (*NullableSearchSegment) Set ¶

func (v *NullableSearchSegment) Set(val *SearchSegment)

func (*NullableSearchSegment) UnmarshalJSON ¶

func (v *NullableSearchSegment) UnmarshalJSON(src []byte) error

func (*NullableSearchSegment) Unset ¶

func (v *NullableSearchSegment) Unset()

type NullableSnippet ¶

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

func NewNullableSnippet ¶

func NewNullableSnippet(val *Snippet) *NullableSnippet

func (NullableSnippet) Get ¶

func (v NullableSnippet) Get() *Snippet

func (NullableSnippet) IsSet ¶

func (v NullableSnippet) IsSet() bool

func (NullableSnippet) MarshalJSON ¶

func (v NullableSnippet) MarshalJSON() ([]byte, error)

func (*NullableSnippet) Set ¶

func (v *NullableSnippet) Set(val *Snippet)

func (*NullableSnippet) UnmarshalJSON ¶

func (v *NullableSnippet) UnmarshalJSON(src []byte) error

func (*NullableSnippet) Unset ¶

func (v *NullableSnippet) Unset()

type NullableSnippetComment ¶

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

func NewNullableSnippetComment ¶

func NewNullableSnippetComment(val *SnippetComment) *NullableSnippetComment

func (NullableSnippetComment) Get ¶

func (NullableSnippetComment) IsSet ¶

func (v NullableSnippetComment) IsSet() bool

func (NullableSnippetComment) MarshalJSON ¶

func (v NullableSnippetComment) MarshalJSON() ([]byte, error)

func (*NullableSnippetComment) Set ¶

func (*NullableSnippetComment) UnmarshalJSON ¶

func (v *NullableSnippetComment) UnmarshalJSON(src []byte) error

func (*NullableSnippetComment) Unset ¶

func (v *NullableSnippetComment) Unset()

type NullableSnippetCommit ¶

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

func NewNullableSnippetCommit ¶

func NewNullableSnippetCommit(val *SnippetCommit) *NullableSnippetCommit

func (NullableSnippetCommit) Get ¶

func (NullableSnippetCommit) IsSet ¶

func (v NullableSnippetCommit) IsSet() bool

func (NullableSnippetCommit) MarshalJSON ¶

func (v NullableSnippetCommit) MarshalJSON() ([]byte, error)

func (*NullableSnippetCommit) Set ¶

func (v *NullableSnippetCommit) Set(val *SnippetCommit)

func (*NullableSnippetCommit) UnmarshalJSON ¶

func (v *NullableSnippetCommit) UnmarshalJSON(src []byte) error

func (*NullableSnippetCommit) Unset ¶

func (v *NullableSnippetCommit) Unset()
type NullableSnippetCommitLinks struct {
	// contains filtered or unexported fields
}
func NewNullableSnippetCommitLinks(val *SnippetCommitLinks) *NullableSnippetCommitLinks

func (NullableSnippetCommitLinks) Get ¶

func (NullableSnippetCommitLinks) IsSet ¶

func (v NullableSnippetCommitLinks) IsSet() bool

func (NullableSnippetCommitLinks) MarshalJSON ¶

func (v NullableSnippetCommitLinks) MarshalJSON() ([]byte, error)

func (*NullableSnippetCommitLinks) Set ¶

func (*NullableSnippetCommitLinks) UnmarshalJSON ¶

func (v *NullableSnippetCommitLinks) UnmarshalJSON(src []byte) error

func (*NullableSnippetCommitLinks) Unset ¶

func (v *NullableSnippetCommitLinks) Unset()

type NullableSshAccountKey ¶

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

func NewNullableSshAccountKey ¶

func NewNullableSshAccountKey(val *SshAccountKey) *NullableSshAccountKey

func (NullableSshAccountKey) Get ¶

func (NullableSshAccountKey) IsSet ¶

func (v NullableSshAccountKey) IsSet() bool

func (NullableSshAccountKey) MarshalJSON ¶

func (v NullableSshAccountKey) MarshalJSON() ([]byte, error)

func (*NullableSshAccountKey) Set ¶

func (v *NullableSshAccountKey) Set(val *SshAccountKey)

func (*NullableSshAccountKey) UnmarshalJSON ¶

func (v *NullableSshAccountKey) UnmarshalJSON(src []byte) error

func (*NullableSshAccountKey) Unset ¶

func (v *NullableSshAccountKey) Unset()

type NullableSshKey ¶

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

func NewNullableSshKey ¶

func NewNullableSshKey(val *SshKey) *NullableSshKey

func (NullableSshKey) Get ¶

func (v NullableSshKey) Get() *SshKey

func (NullableSshKey) IsSet ¶

func (v NullableSshKey) IsSet() bool

func (NullableSshKey) MarshalJSON ¶

func (v NullableSshKey) MarshalJSON() ([]byte, error)

func (*NullableSshKey) Set ¶

func (v *NullableSshKey) Set(val *SshKey)

func (*NullableSshKey) UnmarshalJSON ¶

func (v *NullableSshKey) UnmarshalJSON(src []byte) error

func (*NullableSshKey) Unset ¶

func (v *NullableSshKey) Unset()

type NullableStgWestReport ¶

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

func NewNullableStgWestReport ¶

func NewNullableStgWestReport(val *StgWestReport) *NullableStgWestReport

func (NullableStgWestReport) Get ¶

func (NullableStgWestReport) IsSet ¶

func (v NullableStgWestReport) IsSet() bool

func (NullableStgWestReport) MarshalJSON ¶

func (v NullableStgWestReport) MarshalJSON() ([]byte, error)

func (*NullableStgWestReport) Set ¶

func (v *NullableStgWestReport) Set(val *StgWestReport)

func (*NullableStgWestReport) UnmarshalJSON ¶

func (v *NullableStgWestReport) UnmarshalJSON(src []byte) error

func (*NullableStgWestReport) Unset ¶

func (v *NullableStgWestReport) Unset()

type NullableString ¶

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

func NewNullableString ¶

func NewNullableString(val *string) *NullableString

func (NullableString) Get ¶

func (v NullableString) Get() *string

func (NullableString) IsSet ¶

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON ¶

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set ¶

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON ¶

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset ¶

func (v *NullableString) Unset()

type NullableSubjectTypes ¶

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

func NewNullableSubjectTypes ¶

func NewNullableSubjectTypes(val *SubjectTypes) *NullableSubjectTypes

func (NullableSubjectTypes) Get ¶

func (NullableSubjectTypes) IsSet ¶

func (v NullableSubjectTypes) IsSet() bool

func (NullableSubjectTypes) MarshalJSON ¶

func (v NullableSubjectTypes) MarshalJSON() ([]byte, error)

func (*NullableSubjectTypes) Set ¶

func (v *NullableSubjectTypes) Set(val *SubjectTypes)

func (*NullableSubjectTypes) UnmarshalJSON ¶

func (v *NullableSubjectTypes) UnmarshalJSON(src []byte) error

func (*NullableSubjectTypes) Unset ¶

func (v *NullableSubjectTypes) Unset()

type NullableSubjectTypesRepository ¶

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

func (NullableSubjectTypesRepository) Get ¶

func (NullableSubjectTypesRepository) IsSet ¶

func (NullableSubjectTypesRepository) MarshalJSON ¶

func (v NullableSubjectTypesRepository) MarshalJSON() ([]byte, error)

func (*NullableSubjectTypesRepository) Set ¶

func (*NullableSubjectTypesRepository) UnmarshalJSON ¶

func (v *NullableSubjectTypesRepository) UnmarshalJSON(src []byte) error

func (*NullableSubjectTypesRepository) Unset ¶

func (v *NullableSubjectTypesRepository) Unset()

type NullableTag ¶

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

func NewNullableTag ¶

func NewNullableTag(val *Tag) *NullableTag

func (NullableTag) Get ¶

func (v NullableTag) Get() *Tag

func (NullableTag) IsSet ¶

func (v NullableTag) IsSet() bool

func (NullableTag) MarshalJSON ¶

func (v NullableTag) MarshalJSON() ([]byte, error)

func (*NullableTag) Set ¶

func (v *NullableTag) Set(val *Tag)

func (*NullableTag) UnmarshalJSON ¶

func (v *NullableTag) UnmarshalJSON(src []byte) error

func (*NullableTag) Unset ¶

func (v *NullableTag) Unset()

type NullableTeam ¶

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

func NewNullableTeam ¶

func NewNullableTeam(val *Team) *NullableTeam

func (NullableTeam) Get ¶

func (v NullableTeam) Get() *Team

func (NullableTeam) IsSet ¶

func (v NullableTeam) IsSet() bool

func (NullableTeam) MarshalJSON ¶

func (v NullableTeam) MarshalJSON() ([]byte, error)

func (*NullableTeam) Set ¶

func (v *NullableTeam) Set(val *Team)

func (*NullableTeam) UnmarshalJSON ¶

func (v *NullableTeam) UnmarshalJSON(src []byte) error

func (*NullableTeam) Unset ¶

func (v *NullableTeam) Unset()

type NullableTeamPermission ¶

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

func NewNullableTeamPermission ¶

func NewNullableTeamPermission(val *TeamPermission) *NullableTeamPermission

func (NullableTeamPermission) Get ¶

func (NullableTeamPermission) IsSet ¶

func (v NullableTeamPermission) IsSet() bool

func (NullableTeamPermission) MarshalJSON ¶

func (v NullableTeamPermission) MarshalJSON() ([]byte, error)

func (*NullableTeamPermission) Set ¶

func (*NullableTeamPermission) UnmarshalJSON ¶

func (v *NullableTeamPermission) UnmarshalJSON(src []byte) error

func (*NullableTeamPermission) Unset ¶

func (v *NullableTeamPermission) Unset()

type NullableTime ¶

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

func NewNullableTime ¶

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get ¶

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet ¶

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON ¶

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set ¶

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON ¶

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset ¶

func (v *NullableTime) Unset()

type NullableTreeentry ¶

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

func NewNullableTreeentry ¶

func NewNullableTreeentry(val *Treeentry) *NullableTreeentry

func (NullableTreeentry) Get ¶

func (v NullableTreeentry) Get() *Treeentry

func (NullableTreeentry) IsSet ¶

func (v NullableTreeentry) IsSet() bool

func (NullableTreeentry) MarshalJSON ¶

func (v NullableTreeentry) MarshalJSON() ([]byte, error)

func (*NullableTreeentry) Set ¶

func (v *NullableTreeentry) Set(val *Treeentry)

func (*NullableTreeentry) UnmarshalJSON ¶

func (v *NullableTreeentry) UnmarshalJSON(src []byte) error

func (*NullableTreeentry) Unset ¶

func (v *NullableTreeentry) Unset()

type NullableUser ¶

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

func NewNullableUser ¶

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get ¶

func (v NullableUser) Get() *User

func (NullableUser) IsSet ¶

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON ¶

func (v NullableUser) MarshalJSON() ([]byte, error)

func (*NullableUser) Set ¶

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON ¶

func (v *NullableUser) UnmarshalJSON(src []byte) error

func (*NullableUser) Unset ¶

func (v *NullableUser) Unset()

type NullableVersion ¶

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

func NewNullableVersion ¶

func NewNullableVersion(val *Version) *NullableVersion

func (NullableVersion) Get ¶

func (v NullableVersion) Get() *Version

func (NullableVersion) IsSet ¶

func (v NullableVersion) IsSet() bool

func (NullableVersion) MarshalJSON ¶

func (v NullableVersion) MarshalJSON() ([]byte, error)

func (*NullableVersion) Set ¶

func (v *NullableVersion) Set(val *Version)

func (*NullableVersion) UnmarshalJSON ¶

func (v *NullableVersion) UnmarshalJSON(src []byte) error

func (*NullableVersion) Unset ¶

func (v *NullableVersion) Unset()

type NullableWebhookSubscription ¶

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

func (NullableWebhookSubscription) Get ¶

func (NullableWebhookSubscription) IsSet ¶

func (NullableWebhookSubscription) MarshalJSON ¶

func (v NullableWebhookSubscription) MarshalJSON() ([]byte, error)

func (*NullableWebhookSubscription) Set ¶

func (*NullableWebhookSubscription) UnmarshalJSON ¶

func (v *NullableWebhookSubscription) UnmarshalJSON(src []byte) error

func (*NullableWebhookSubscription) Unset ¶

func (v *NullableWebhookSubscription) Unset()

type NullableWorkspace ¶

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

func NewNullableWorkspace ¶

func NewNullableWorkspace(val *Workspace) *NullableWorkspace

func (NullableWorkspace) Get ¶

func (v NullableWorkspace) Get() *Workspace

func (NullableWorkspace) IsSet ¶

func (v NullableWorkspace) IsSet() bool

func (NullableWorkspace) MarshalJSON ¶

func (v NullableWorkspace) MarshalJSON() ([]byte, error)

func (*NullableWorkspace) Set ¶

func (v *NullableWorkspace) Set(val *Workspace)

func (*NullableWorkspace) UnmarshalJSON ¶

func (v *NullableWorkspace) UnmarshalJSON(src []byte) error

func (*NullableWorkspace) Unset ¶

func (v *NullableWorkspace) Unset()
type NullableWorkspaceLinks struct {
	// contains filtered or unexported fields
}
func NewNullableWorkspaceLinks(val *WorkspaceLinks) *NullableWorkspaceLinks

func (NullableWorkspaceLinks) Get ¶

func (NullableWorkspaceLinks) IsSet ¶

func (v NullableWorkspaceLinks) IsSet() bool

func (NullableWorkspaceLinks) MarshalJSON ¶

func (v NullableWorkspaceLinks) MarshalJSON() ([]byte, error)

func (*NullableWorkspaceLinks) Set ¶

func (*NullableWorkspaceLinks) UnmarshalJSON ¶

func (v *NullableWorkspaceLinks) UnmarshalJSON(src []byte) error

func (*NullableWorkspaceLinks) Unset ¶

func (v *NullableWorkspaceLinks) Unset()

type NullableWorkspaceMembership ¶

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

func (NullableWorkspaceMembership) Get ¶

func (NullableWorkspaceMembership) IsSet ¶

func (NullableWorkspaceMembership) MarshalJSON ¶

func (v NullableWorkspaceMembership) MarshalJSON() ([]byte, error)

func (*NullableWorkspaceMembership) Set ¶

func (*NullableWorkspaceMembership) UnmarshalJSON ¶

func (v *NullableWorkspaceMembership) UnmarshalJSON(src []byte) error

func (*NullableWorkspaceMembership) Unset ¶

func (v *NullableWorkspaceMembership) Unset()

type Object ¶

type Object struct {
	Type                 string `json:"type"`
	AdditionalProperties map[string]interface{}
}

Object Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.

func NewObject ¶

func NewObject() *Object

NewObject instantiates a new Object object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewObjectWithDefaults ¶

func NewObjectWithDefaults() *Object

NewObjectWithDefaults instantiates a new Object object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Object) GetType ¶

func (o *Object) GetType() string

GetType returns the Type field value

func (*Object) GetTypeOk ¶

func (o *Object) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (Object) MarshalJSON ¶

func (o Object) MarshalJSON() ([]byte, error)

func (*Object) SetType ¶

func (o *Object) SetType(v string)

SetType sets field value

func (*Object) UnmarshalJSON ¶ added in v0.0.3

func (o *Object) UnmarshalJSON(bytes []byte) (err error)

type Page ¶

type Page struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

Page struct for Page

func NewPage ¶

func NewPage() *Page

NewPage instantiates a new Page object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPageWithDefaults ¶

func NewPageWithDefaults() *Page

NewPageWithDefaults instantiates a new Page object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Page) GetNext ¶

func (o *Page) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*Page) GetNextOk ¶

func (o *Page) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Page) GetPage ¶

func (o *Page) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*Page) GetPageOk ¶

func (o *Page) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Page) GetPagelen ¶

func (o *Page) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*Page) GetPagelenOk ¶

func (o *Page) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Page) GetPrevious ¶

func (o *Page) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*Page) GetPreviousOk ¶

func (o *Page) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Page) GetSize ¶

func (o *Page) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*Page) GetSizeOk ¶

func (o *Page) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Page) HasNext ¶

func (o *Page) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*Page) HasPage ¶

func (o *Page) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*Page) HasPagelen ¶

func (o *Page) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*Page) HasPrevious ¶

func (o *Page) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*Page) HasSize ¶

func (o *Page) HasSize() bool

HasSize returns a boolean if a field has been set.

func (Page) MarshalJSON ¶

func (o Page) MarshalJSON() ([]byte, error)

func (*Page) SetNext ¶

func (o *Page) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*Page) SetPage ¶

func (o *Page) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*Page) SetPagelen ¶

func (o *Page) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*Page) SetPrevious ¶

func (o *Page) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*Page) SetSize ¶

func (o *Page) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*Page) UnmarshalJSON ¶ added in v0.0.3

func (o *Page) UnmarshalJSON(bytes []byte) (err error)

type PaginatedAnnotations ¶

type PaginatedAnnotations struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []ReportAnnotation `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedAnnotations A paginated list of annotations.

func NewPaginatedAnnotations ¶

func NewPaginatedAnnotations() *PaginatedAnnotations

NewPaginatedAnnotations instantiates a new PaginatedAnnotations object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedAnnotationsWithDefaults ¶

func NewPaginatedAnnotationsWithDefaults() *PaginatedAnnotations

NewPaginatedAnnotationsWithDefaults instantiates a new PaginatedAnnotations object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedAnnotations) GetNext ¶

func (o *PaginatedAnnotations) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedAnnotations) GetNextOk ¶

func (o *PaginatedAnnotations) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedAnnotations) GetPage ¶

func (o *PaginatedAnnotations) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedAnnotations) GetPageOk ¶

func (o *PaginatedAnnotations) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedAnnotations) GetPagelen ¶

func (o *PaginatedAnnotations) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedAnnotations) GetPagelenOk ¶

func (o *PaginatedAnnotations) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedAnnotations) GetPrevious ¶

func (o *PaginatedAnnotations) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedAnnotations) GetPreviousOk ¶

func (o *PaginatedAnnotations) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedAnnotations) GetSize ¶

func (o *PaginatedAnnotations) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedAnnotations) GetSizeOk ¶

func (o *PaginatedAnnotations) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedAnnotations) GetValues ¶

func (o *PaginatedAnnotations) GetValues() []ReportAnnotation

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedAnnotations) GetValuesOk ¶

func (o *PaginatedAnnotations) GetValuesOk() ([]ReportAnnotation, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedAnnotations) HasNext ¶

func (o *PaginatedAnnotations) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedAnnotations) HasPage ¶

func (o *PaginatedAnnotations) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedAnnotations) HasPagelen ¶

func (o *PaginatedAnnotations) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedAnnotations) HasPrevious ¶

func (o *PaginatedAnnotations) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedAnnotations) HasSize ¶

func (o *PaginatedAnnotations) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedAnnotations) HasValues ¶

func (o *PaginatedAnnotations) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedAnnotations) MarshalJSON ¶

func (o PaginatedAnnotations) MarshalJSON() ([]byte, error)

func (*PaginatedAnnotations) SetNext ¶

func (o *PaginatedAnnotations) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedAnnotations) SetPage ¶

func (o *PaginatedAnnotations) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedAnnotations) SetPagelen ¶

func (o *PaginatedAnnotations) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedAnnotations) SetPrevious ¶

func (o *PaginatedAnnotations) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedAnnotations) SetSize ¶

func (o *PaginatedAnnotations) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedAnnotations) SetValues ¶

func (o *PaginatedAnnotations) SetValues(v []ReportAnnotation)

SetValues gets a reference to the given []ReportAnnotation and assigns it to the Values field.

func (*PaginatedAnnotations) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedAnnotations) UnmarshalJSON(bytes []byte) (err error)

type PaginatedBranches ¶

type PaginatedBranches struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string  `json:"previous,omitempty"`
	Values               []Branch `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedBranches A paginated list of branches.

func NewPaginatedBranches ¶

func NewPaginatedBranches() *PaginatedBranches

NewPaginatedBranches instantiates a new PaginatedBranches object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedBranchesWithDefaults ¶

func NewPaginatedBranchesWithDefaults() *PaginatedBranches

NewPaginatedBranchesWithDefaults instantiates a new PaginatedBranches object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedBranches) GetNext ¶

func (o *PaginatedBranches) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedBranches) GetNextOk ¶

func (o *PaginatedBranches) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranches) GetPage ¶

func (o *PaginatedBranches) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedBranches) GetPageOk ¶

func (o *PaginatedBranches) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranches) GetPagelen ¶

func (o *PaginatedBranches) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedBranches) GetPagelenOk ¶

func (o *PaginatedBranches) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranches) GetPrevious ¶

func (o *PaginatedBranches) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedBranches) GetPreviousOk ¶

func (o *PaginatedBranches) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranches) GetSize ¶

func (o *PaginatedBranches) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedBranches) GetSizeOk ¶

func (o *PaginatedBranches) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranches) GetValues ¶

func (o *PaginatedBranches) GetValues() []Branch

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedBranches) GetValuesOk ¶

func (o *PaginatedBranches) GetValuesOk() ([]Branch, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranches) HasNext ¶

func (o *PaginatedBranches) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedBranches) HasPage ¶

func (o *PaginatedBranches) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedBranches) HasPagelen ¶

func (o *PaginatedBranches) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedBranches) HasPrevious ¶

func (o *PaginatedBranches) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedBranches) HasSize ¶

func (o *PaginatedBranches) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedBranches) HasValues ¶

func (o *PaginatedBranches) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedBranches) MarshalJSON ¶

func (o PaginatedBranches) MarshalJSON() ([]byte, error)

func (*PaginatedBranches) SetNext ¶

func (o *PaginatedBranches) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedBranches) SetPage ¶

func (o *PaginatedBranches) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedBranches) SetPagelen ¶

func (o *PaginatedBranches) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedBranches) SetPrevious ¶

func (o *PaginatedBranches) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedBranches) SetSize ¶

func (o *PaginatedBranches) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedBranches) SetValues ¶

func (o *PaginatedBranches) SetValues(v []Branch)

SetValues gets a reference to the given []Branch and assigns it to the Values field.

func (*PaginatedBranches) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedBranches) UnmarshalJSON(bytes []byte) (err error)

type PaginatedBranchrestrictions ¶

type PaginatedBranchrestrictions struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string             `json:"previous,omitempty"`
	Values               []Branchrestriction `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedBranchrestrictions A paginated list of branch restriction rules.

func NewPaginatedBranchrestrictions ¶

func NewPaginatedBranchrestrictions() *PaginatedBranchrestrictions

NewPaginatedBranchrestrictions instantiates a new PaginatedBranchrestrictions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedBranchrestrictionsWithDefaults ¶

func NewPaginatedBranchrestrictionsWithDefaults() *PaginatedBranchrestrictions

NewPaginatedBranchrestrictionsWithDefaults instantiates a new PaginatedBranchrestrictions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedBranchrestrictions) GetNext ¶

func (o *PaginatedBranchrestrictions) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedBranchrestrictions) GetNextOk ¶

func (o *PaginatedBranchrestrictions) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranchrestrictions) GetPage ¶

func (o *PaginatedBranchrestrictions) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedBranchrestrictions) GetPageOk ¶

func (o *PaginatedBranchrestrictions) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranchrestrictions) GetPagelen ¶

func (o *PaginatedBranchrestrictions) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedBranchrestrictions) GetPagelenOk ¶

func (o *PaginatedBranchrestrictions) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranchrestrictions) GetPrevious ¶

func (o *PaginatedBranchrestrictions) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedBranchrestrictions) GetPreviousOk ¶

func (o *PaginatedBranchrestrictions) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranchrestrictions) GetSize ¶

func (o *PaginatedBranchrestrictions) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedBranchrestrictions) GetSizeOk ¶

func (o *PaginatedBranchrestrictions) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranchrestrictions) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedBranchrestrictions) GetValuesOk ¶

func (o *PaginatedBranchrestrictions) GetValuesOk() ([]Branchrestriction, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedBranchrestrictions) HasNext ¶

func (o *PaginatedBranchrestrictions) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedBranchrestrictions) HasPage ¶

func (o *PaginatedBranchrestrictions) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedBranchrestrictions) HasPagelen ¶

func (o *PaginatedBranchrestrictions) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedBranchrestrictions) HasPrevious ¶

func (o *PaginatedBranchrestrictions) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedBranchrestrictions) HasSize ¶

func (o *PaginatedBranchrestrictions) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedBranchrestrictions) HasValues ¶

func (o *PaginatedBranchrestrictions) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedBranchrestrictions) MarshalJSON ¶

func (o PaginatedBranchrestrictions) MarshalJSON() ([]byte, error)

func (*PaginatedBranchrestrictions) SetNext ¶

func (o *PaginatedBranchrestrictions) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedBranchrestrictions) SetPage ¶

func (o *PaginatedBranchrestrictions) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedBranchrestrictions) SetPagelen ¶

func (o *PaginatedBranchrestrictions) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedBranchrestrictions) SetPrevious ¶

func (o *PaginatedBranchrestrictions) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedBranchrestrictions) SetSize ¶

func (o *PaginatedBranchrestrictions) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedBranchrestrictions) SetValues ¶

SetValues gets a reference to the given []Branchrestriction and assigns it to the Values field.

func (*PaginatedBranchrestrictions) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedBranchrestrictions) UnmarshalJSON(bytes []byte) (err error)

type PaginatedChangeset ¶

type PaginatedChangeset struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string      `json:"previous,omitempty"`
	Values               []BaseCommit `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedChangeset A paginated list of commits.

func NewPaginatedChangeset ¶

func NewPaginatedChangeset() *PaginatedChangeset

NewPaginatedChangeset instantiates a new PaginatedChangeset object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedChangesetWithDefaults ¶

func NewPaginatedChangesetWithDefaults() *PaginatedChangeset

NewPaginatedChangesetWithDefaults instantiates a new PaginatedChangeset object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedChangeset) GetNext ¶

func (o *PaginatedChangeset) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedChangeset) GetNextOk ¶

func (o *PaginatedChangeset) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedChangeset) GetPage ¶

func (o *PaginatedChangeset) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedChangeset) GetPageOk ¶

func (o *PaginatedChangeset) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedChangeset) GetPagelen ¶

func (o *PaginatedChangeset) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedChangeset) GetPagelenOk ¶

func (o *PaginatedChangeset) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedChangeset) GetPrevious ¶

func (o *PaginatedChangeset) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedChangeset) GetPreviousOk ¶

func (o *PaginatedChangeset) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedChangeset) GetSize ¶

func (o *PaginatedChangeset) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedChangeset) GetSizeOk ¶

func (o *PaginatedChangeset) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedChangeset) GetValues ¶

func (o *PaginatedChangeset) GetValues() []BaseCommit

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedChangeset) GetValuesOk ¶

func (o *PaginatedChangeset) GetValuesOk() ([]BaseCommit, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedChangeset) HasNext ¶

func (o *PaginatedChangeset) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedChangeset) HasPage ¶

func (o *PaginatedChangeset) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedChangeset) HasPagelen ¶

func (o *PaginatedChangeset) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedChangeset) HasPrevious ¶

func (o *PaginatedChangeset) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedChangeset) HasSize ¶

func (o *PaginatedChangeset) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedChangeset) HasValues ¶

func (o *PaginatedChangeset) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedChangeset) MarshalJSON ¶

func (o PaginatedChangeset) MarshalJSON() ([]byte, error)

func (*PaginatedChangeset) SetNext ¶

func (o *PaginatedChangeset) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedChangeset) SetPage ¶

func (o *PaginatedChangeset) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedChangeset) SetPagelen ¶

func (o *PaginatedChangeset) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedChangeset) SetPrevious ¶

func (o *PaginatedChangeset) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedChangeset) SetSize ¶

func (o *PaginatedChangeset) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedChangeset) SetValues ¶

func (o *PaginatedChangeset) SetValues(v []BaseCommit)

SetValues gets a reference to the given []BaseCommit and assigns it to the Values field.

func (*PaginatedChangeset) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedChangeset) UnmarshalJSON(bytes []byte) (err error)

type PaginatedCommitComments ¶

type PaginatedCommitComments struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string         `json:"previous,omitempty"`
	Values               []CommitComment `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedCommitComments A paginated list of commit comments.

func NewPaginatedCommitComments ¶

func NewPaginatedCommitComments() *PaginatedCommitComments

NewPaginatedCommitComments instantiates a new PaginatedCommitComments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedCommitCommentsWithDefaults ¶

func NewPaginatedCommitCommentsWithDefaults() *PaginatedCommitComments

NewPaginatedCommitCommentsWithDefaults instantiates a new PaginatedCommitComments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedCommitComments) GetNext ¶

func (o *PaginatedCommitComments) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedCommitComments) GetNextOk ¶

func (o *PaginatedCommitComments) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitComments) GetPage ¶

func (o *PaginatedCommitComments) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedCommitComments) GetPageOk ¶

func (o *PaginatedCommitComments) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitComments) GetPagelen ¶

func (o *PaginatedCommitComments) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedCommitComments) GetPagelenOk ¶

func (o *PaginatedCommitComments) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitComments) GetPrevious ¶

func (o *PaginatedCommitComments) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedCommitComments) GetPreviousOk ¶

func (o *PaginatedCommitComments) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitComments) GetSize ¶

func (o *PaginatedCommitComments) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedCommitComments) GetSizeOk ¶

func (o *PaginatedCommitComments) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitComments) GetValues ¶

func (o *PaginatedCommitComments) GetValues() []CommitComment

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedCommitComments) GetValuesOk ¶

func (o *PaginatedCommitComments) GetValuesOk() ([]CommitComment, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitComments) HasNext ¶

func (o *PaginatedCommitComments) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedCommitComments) HasPage ¶

func (o *PaginatedCommitComments) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedCommitComments) HasPagelen ¶

func (o *PaginatedCommitComments) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedCommitComments) HasPrevious ¶

func (o *PaginatedCommitComments) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedCommitComments) HasSize ¶

func (o *PaginatedCommitComments) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedCommitComments) HasValues ¶

func (o *PaginatedCommitComments) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedCommitComments) MarshalJSON ¶

func (o PaginatedCommitComments) MarshalJSON() ([]byte, error)

func (*PaginatedCommitComments) SetNext ¶

func (o *PaginatedCommitComments) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedCommitComments) SetPage ¶

func (o *PaginatedCommitComments) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedCommitComments) SetPagelen ¶

func (o *PaginatedCommitComments) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedCommitComments) SetPrevious ¶

func (o *PaginatedCommitComments) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedCommitComments) SetSize ¶

func (o *PaginatedCommitComments) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedCommitComments) SetValues ¶

func (o *PaginatedCommitComments) SetValues(v []CommitComment)

SetValues gets a reference to the given []CommitComment and assigns it to the Values field.

func (*PaginatedCommitComments) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedCommitComments) UnmarshalJSON(bytes []byte) (err error)

type PaginatedCommitstatuses ¶

type PaginatedCommitstatuses struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string        `json:"previous,omitempty"`
	Values               []Commitstatus `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedCommitstatuses A paginated list of commit status objects.

func NewPaginatedCommitstatuses ¶

func NewPaginatedCommitstatuses() *PaginatedCommitstatuses

NewPaginatedCommitstatuses instantiates a new PaginatedCommitstatuses object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedCommitstatusesWithDefaults ¶

func NewPaginatedCommitstatusesWithDefaults() *PaginatedCommitstatuses

NewPaginatedCommitstatusesWithDefaults instantiates a new PaginatedCommitstatuses object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedCommitstatuses) GetNext ¶

func (o *PaginatedCommitstatuses) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedCommitstatuses) GetNextOk ¶

func (o *PaginatedCommitstatuses) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitstatuses) GetPage ¶

func (o *PaginatedCommitstatuses) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedCommitstatuses) GetPageOk ¶

func (o *PaginatedCommitstatuses) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitstatuses) GetPagelen ¶

func (o *PaginatedCommitstatuses) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedCommitstatuses) GetPagelenOk ¶

func (o *PaginatedCommitstatuses) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitstatuses) GetPrevious ¶

func (o *PaginatedCommitstatuses) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedCommitstatuses) GetPreviousOk ¶

func (o *PaginatedCommitstatuses) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitstatuses) GetSize ¶

func (o *PaginatedCommitstatuses) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedCommitstatuses) GetSizeOk ¶

func (o *PaginatedCommitstatuses) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitstatuses) GetValues ¶

func (o *PaginatedCommitstatuses) GetValues() []Commitstatus

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedCommitstatuses) GetValuesOk ¶

func (o *PaginatedCommitstatuses) GetValuesOk() ([]Commitstatus, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedCommitstatuses) HasNext ¶

func (o *PaginatedCommitstatuses) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedCommitstatuses) HasPage ¶

func (o *PaginatedCommitstatuses) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedCommitstatuses) HasPagelen ¶

func (o *PaginatedCommitstatuses) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedCommitstatuses) HasPrevious ¶

func (o *PaginatedCommitstatuses) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedCommitstatuses) HasSize ¶

func (o *PaginatedCommitstatuses) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedCommitstatuses) HasValues ¶

func (o *PaginatedCommitstatuses) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedCommitstatuses) MarshalJSON ¶

func (o PaginatedCommitstatuses) MarshalJSON() ([]byte, error)

func (*PaginatedCommitstatuses) SetNext ¶

func (o *PaginatedCommitstatuses) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedCommitstatuses) SetPage ¶

func (o *PaginatedCommitstatuses) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedCommitstatuses) SetPagelen ¶

func (o *PaginatedCommitstatuses) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedCommitstatuses) SetPrevious ¶

func (o *PaginatedCommitstatuses) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedCommitstatuses) SetSize ¶

func (o *PaginatedCommitstatuses) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedCommitstatuses) SetValues ¶

func (o *PaginatedCommitstatuses) SetValues(v []Commitstatus)

SetValues gets a reference to the given []Commitstatus and assigns it to the Values field.

func (*PaginatedCommitstatuses) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedCommitstatuses) UnmarshalJSON(bytes []byte) (err error)

type PaginatedComponents ¶

type PaginatedComponents struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string     `json:"previous,omitempty"`
	Values               []Component `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedComponents A paginated list of issue tracker components.

func NewPaginatedComponents ¶

func NewPaginatedComponents() *PaginatedComponents

NewPaginatedComponents instantiates a new PaginatedComponents object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedComponentsWithDefaults ¶

func NewPaginatedComponentsWithDefaults() *PaginatedComponents

NewPaginatedComponentsWithDefaults instantiates a new PaginatedComponents object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedComponents) GetNext ¶

func (o *PaginatedComponents) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedComponents) GetNextOk ¶

func (o *PaginatedComponents) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedComponents) GetPage ¶

func (o *PaginatedComponents) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedComponents) GetPageOk ¶

func (o *PaginatedComponents) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedComponents) GetPagelen ¶

func (o *PaginatedComponents) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedComponents) GetPagelenOk ¶

func (o *PaginatedComponents) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedComponents) GetPrevious ¶

func (o *PaginatedComponents) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedComponents) GetPreviousOk ¶

func (o *PaginatedComponents) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedComponents) GetSize ¶

func (o *PaginatedComponents) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedComponents) GetSizeOk ¶

func (o *PaginatedComponents) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedComponents) GetValues ¶

func (o *PaginatedComponents) GetValues() []Component

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedComponents) GetValuesOk ¶

func (o *PaginatedComponents) GetValuesOk() ([]Component, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedComponents) HasNext ¶

func (o *PaginatedComponents) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedComponents) HasPage ¶

func (o *PaginatedComponents) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedComponents) HasPagelen ¶

func (o *PaginatedComponents) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedComponents) HasPrevious ¶

func (o *PaginatedComponents) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedComponents) HasSize ¶

func (o *PaginatedComponents) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedComponents) HasValues ¶

func (o *PaginatedComponents) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedComponents) MarshalJSON ¶

func (o PaginatedComponents) MarshalJSON() ([]byte, error)

func (*PaginatedComponents) SetNext ¶

func (o *PaginatedComponents) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedComponents) SetPage ¶

func (o *PaginatedComponents) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedComponents) SetPagelen ¶

func (o *PaginatedComponents) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedComponents) SetPrevious ¶

func (o *PaginatedComponents) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedComponents) SetSize ¶

func (o *PaginatedComponents) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedComponents) SetValues ¶

func (o *PaginatedComponents) SetValues(v []Component)

SetValues gets a reference to the given []Component and assigns it to the Values field.

func (*PaginatedComponents) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedComponents) UnmarshalJSON(bytes []byte) (err error)

type PaginatedDeployKeys ¶

type PaginatedDeployKeys struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string     `json:"previous,omitempty"`
	Values               []DeployKey `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedDeployKeys A paginated list of deploy keys.

func NewPaginatedDeployKeys ¶

func NewPaginatedDeployKeys() *PaginatedDeployKeys

NewPaginatedDeployKeys instantiates a new PaginatedDeployKeys object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedDeployKeysWithDefaults ¶

func NewPaginatedDeployKeysWithDefaults() *PaginatedDeployKeys

NewPaginatedDeployKeysWithDefaults instantiates a new PaginatedDeployKeys object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedDeployKeys) GetNext ¶

func (o *PaginatedDeployKeys) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedDeployKeys) GetNextOk ¶

func (o *PaginatedDeployKeys) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployKeys) GetPage ¶

func (o *PaginatedDeployKeys) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedDeployKeys) GetPageOk ¶

func (o *PaginatedDeployKeys) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployKeys) GetPagelen ¶

func (o *PaginatedDeployKeys) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedDeployKeys) GetPagelenOk ¶

func (o *PaginatedDeployKeys) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployKeys) GetPrevious ¶

func (o *PaginatedDeployKeys) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedDeployKeys) GetPreviousOk ¶

func (o *PaginatedDeployKeys) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployKeys) GetSize ¶

func (o *PaginatedDeployKeys) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedDeployKeys) GetSizeOk ¶

func (o *PaginatedDeployKeys) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployKeys) GetValues ¶

func (o *PaginatedDeployKeys) GetValues() []DeployKey

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedDeployKeys) GetValuesOk ¶

func (o *PaginatedDeployKeys) GetValuesOk() ([]DeployKey, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployKeys) HasNext ¶

func (o *PaginatedDeployKeys) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedDeployKeys) HasPage ¶

func (o *PaginatedDeployKeys) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedDeployKeys) HasPagelen ¶

func (o *PaginatedDeployKeys) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedDeployKeys) HasPrevious ¶

func (o *PaginatedDeployKeys) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedDeployKeys) HasSize ¶

func (o *PaginatedDeployKeys) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedDeployKeys) HasValues ¶

func (o *PaginatedDeployKeys) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedDeployKeys) MarshalJSON ¶

func (o PaginatedDeployKeys) MarshalJSON() ([]byte, error)

func (*PaginatedDeployKeys) SetNext ¶

func (o *PaginatedDeployKeys) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedDeployKeys) SetPage ¶

func (o *PaginatedDeployKeys) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedDeployKeys) SetPagelen ¶

func (o *PaginatedDeployKeys) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedDeployKeys) SetPrevious ¶

func (o *PaginatedDeployKeys) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedDeployKeys) SetSize ¶

func (o *PaginatedDeployKeys) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedDeployKeys) SetValues ¶

func (o *PaginatedDeployKeys) SetValues(v []DeployKey)

SetValues gets a reference to the given []DeployKey and assigns it to the Values field.

func (*PaginatedDeployKeys) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedDeployKeys) UnmarshalJSON(bytes []byte) (err error)

type PaginatedDeploymentVariable ¶

type PaginatedDeploymentVariable struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []DeploymentVariable `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedDeploymentVariable A paged list of deployment variables.

func NewPaginatedDeploymentVariable ¶

func NewPaginatedDeploymentVariable() *PaginatedDeploymentVariable

NewPaginatedDeploymentVariable instantiates a new PaginatedDeploymentVariable object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedDeploymentVariableWithDefaults ¶

func NewPaginatedDeploymentVariableWithDefaults() *PaginatedDeploymentVariable

NewPaginatedDeploymentVariableWithDefaults instantiates a new PaginatedDeploymentVariable object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedDeploymentVariable) GetNext ¶

func (o *PaginatedDeploymentVariable) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedDeploymentVariable) GetNextOk ¶

func (o *PaginatedDeploymentVariable) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeploymentVariable) GetPage ¶

func (o *PaginatedDeploymentVariable) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedDeploymentVariable) GetPageOk ¶

func (o *PaginatedDeploymentVariable) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeploymentVariable) GetPagelen ¶

func (o *PaginatedDeploymentVariable) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedDeploymentVariable) GetPagelenOk ¶

func (o *PaginatedDeploymentVariable) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeploymentVariable) GetPrevious ¶

func (o *PaginatedDeploymentVariable) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedDeploymentVariable) GetPreviousOk ¶

func (o *PaginatedDeploymentVariable) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeploymentVariable) GetSize ¶

func (o *PaginatedDeploymentVariable) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedDeploymentVariable) GetSizeOk ¶

func (o *PaginatedDeploymentVariable) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeploymentVariable) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedDeploymentVariable) GetValuesOk ¶

func (o *PaginatedDeploymentVariable) GetValuesOk() ([]DeploymentVariable, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeploymentVariable) HasNext ¶

func (o *PaginatedDeploymentVariable) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedDeploymentVariable) HasPage ¶

func (o *PaginatedDeploymentVariable) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedDeploymentVariable) HasPagelen ¶

func (o *PaginatedDeploymentVariable) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedDeploymentVariable) HasPrevious ¶

func (o *PaginatedDeploymentVariable) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedDeploymentVariable) HasSize ¶

func (o *PaginatedDeploymentVariable) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedDeploymentVariable) HasValues ¶

func (o *PaginatedDeploymentVariable) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedDeploymentVariable) MarshalJSON ¶

func (o PaginatedDeploymentVariable) MarshalJSON() ([]byte, error)

func (*PaginatedDeploymentVariable) SetNext ¶

func (o *PaginatedDeploymentVariable) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedDeploymentVariable) SetPage ¶

func (o *PaginatedDeploymentVariable) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedDeploymentVariable) SetPagelen ¶

func (o *PaginatedDeploymentVariable) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedDeploymentVariable) SetPrevious ¶

func (o *PaginatedDeploymentVariable) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedDeploymentVariable) SetSize ¶

func (o *PaginatedDeploymentVariable) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedDeploymentVariable) SetValues ¶

SetValues gets a reference to the given []DeploymentVariable and assigns it to the Values field.

func (*PaginatedDeploymentVariable) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedDeploymentVariable) UnmarshalJSON(bytes []byte) (err error)

type PaginatedDeployments ¶

type PaginatedDeployments struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []Deployment `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedDeployments A paged list of deployments

func NewPaginatedDeployments ¶

func NewPaginatedDeployments() *PaginatedDeployments

NewPaginatedDeployments instantiates a new PaginatedDeployments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedDeploymentsWithDefaults ¶

func NewPaginatedDeploymentsWithDefaults() *PaginatedDeployments

NewPaginatedDeploymentsWithDefaults instantiates a new PaginatedDeployments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedDeployments) GetNext ¶

func (o *PaginatedDeployments) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedDeployments) GetNextOk ¶

func (o *PaginatedDeployments) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployments) GetPage ¶

func (o *PaginatedDeployments) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedDeployments) GetPageOk ¶

func (o *PaginatedDeployments) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployments) GetPagelen ¶

func (o *PaginatedDeployments) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedDeployments) GetPagelenOk ¶

func (o *PaginatedDeployments) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployments) GetPrevious ¶

func (o *PaginatedDeployments) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedDeployments) GetPreviousOk ¶

func (o *PaginatedDeployments) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployments) GetSize ¶

func (o *PaginatedDeployments) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedDeployments) GetSizeOk ¶

func (o *PaginatedDeployments) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployments) GetValues ¶

func (o *PaginatedDeployments) GetValues() []Deployment

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedDeployments) GetValuesOk ¶

func (o *PaginatedDeployments) GetValuesOk() ([]Deployment, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDeployments) HasNext ¶

func (o *PaginatedDeployments) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedDeployments) HasPage ¶

func (o *PaginatedDeployments) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedDeployments) HasPagelen ¶

func (o *PaginatedDeployments) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedDeployments) HasPrevious ¶

func (o *PaginatedDeployments) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedDeployments) HasSize ¶

func (o *PaginatedDeployments) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedDeployments) HasValues ¶

func (o *PaginatedDeployments) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedDeployments) MarshalJSON ¶

func (o PaginatedDeployments) MarshalJSON() ([]byte, error)

func (*PaginatedDeployments) SetNext ¶

func (o *PaginatedDeployments) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedDeployments) SetPage ¶

func (o *PaginatedDeployments) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedDeployments) SetPagelen ¶

func (o *PaginatedDeployments) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedDeployments) SetPrevious ¶

func (o *PaginatedDeployments) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedDeployments) SetSize ¶

func (o *PaginatedDeployments) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedDeployments) SetValues ¶

func (o *PaginatedDeployments) SetValues(v []Deployment)

SetValues gets a reference to the given []Deployment and assigns it to the Values field.

func (*PaginatedDeployments) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedDeployments) UnmarshalJSON(bytes []byte) (err error)

type PaginatedDiffstats ¶

type PaginatedDiffstats struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 500 with 5000 being the maximum allowed value.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string    `json:"previous,omitempty"`
	Values               []Diffstat `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedDiffstats A paginated list of diffstats.

func NewPaginatedDiffstats ¶

func NewPaginatedDiffstats() *PaginatedDiffstats

NewPaginatedDiffstats instantiates a new PaginatedDiffstats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedDiffstatsWithDefaults ¶

func NewPaginatedDiffstatsWithDefaults() *PaginatedDiffstats

NewPaginatedDiffstatsWithDefaults instantiates a new PaginatedDiffstats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedDiffstats) GetNext ¶

func (o *PaginatedDiffstats) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedDiffstats) GetNextOk ¶

func (o *PaginatedDiffstats) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDiffstats) GetPage ¶

func (o *PaginatedDiffstats) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedDiffstats) GetPageOk ¶

func (o *PaginatedDiffstats) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDiffstats) GetPagelen ¶

func (o *PaginatedDiffstats) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedDiffstats) GetPagelenOk ¶

func (o *PaginatedDiffstats) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDiffstats) GetPrevious ¶

func (o *PaginatedDiffstats) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedDiffstats) GetPreviousOk ¶

func (o *PaginatedDiffstats) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDiffstats) GetSize ¶

func (o *PaginatedDiffstats) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedDiffstats) GetSizeOk ¶

func (o *PaginatedDiffstats) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDiffstats) GetValues ¶

func (o *PaginatedDiffstats) GetValues() []Diffstat

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedDiffstats) GetValuesOk ¶

func (o *PaginatedDiffstats) GetValuesOk() ([]Diffstat, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedDiffstats) HasNext ¶

func (o *PaginatedDiffstats) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedDiffstats) HasPage ¶

func (o *PaginatedDiffstats) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedDiffstats) HasPagelen ¶

func (o *PaginatedDiffstats) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedDiffstats) HasPrevious ¶

func (o *PaginatedDiffstats) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedDiffstats) HasSize ¶

func (o *PaginatedDiffstats) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedDiffstats) HasValues ¶

func (o *PaginatedDiffstats) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedDiffstats) MarshalJSON ¶

func (o PaginatedDiffstats) MarshalJSON() ([]byte, error)

func (*PaginatedDiffstats) SetNext ¶

func (o *PaginatedDiffstats) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedDiffstats) SetPage ¶

func (o *PaginatedDiffstats) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedDiffstats) SetPagelen ¶

func (o *PaginatedDiffstats) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedDiffstats) SetPrevious ¶

func (o *PaginatedDiffstats) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedDiffstats) SetSize ¶

func (o *PaginatedDiffstats) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedDiffstats) SetValues ¶

func (o *PaginatedDiffstats) SetValues(v []Diffstat)

SetValues gets a reference to the given []Diffstat and assigns it to the Values field.

func (*PaginatedDiffstats) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedDiffstats) UnmarshalJSON(bytes []byte) (err error)

type PaginatedEnvironments ¶

type PaginatedEnvironments struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []DeploymentEnvironment `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedEnvironments A paged list of environments

func NewPaginatedEnvironments ¶

func NewPaginatedEnvironments() *PaginatedEnvironments

NewPaginatedEnvironments instantiates a new PaginatedEnvironments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedEnvironmentsWithDefaults ¶

func NewPaginatedEnvironmentsWithDefaults() *PaginatedEnvironments

NewPaginatedEnvironmentsWithDefaults instantiates a new PaginatedEnvironments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedEnvironments) GetNext ¶

func (o *PaginatedEnvironments) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedEnvironments) GetNextOk ¶

func (o *PaginatedEnvironments) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedEnvironments) GetPage ¶

func (o *PaginatedEnvironments) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedEnvironments) GetPageOk ¶

func (o *PaginatedEnvironments) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedEnvironments) GetPagelen ¶

func (o *PaginatedEnvironments) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedEnvironments) GetPagelenOk ¶

func (o *PaginatedEnvironments) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedEnvironments) GetPrevious ¶

func (o *PaginatedEnvironments) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedEnvironments) GetPreviousOk ¶

func (o *PaginatedEnvironments) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedEnvironments) GetSize ¶

func (o *PaginatedEnvironments) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedEnvironments) GetSizeOk ¶

func (o *PaginatedEnvironments) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedEnvironments) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedEnvironments) GetValuesOk ¶

func (o *PaginatedEnvironments) GetValuesOk() ([]DeploymentEnvironment, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedEnvironments) HasNext ¶

func (o *PaginatedEnvironments) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedEnvironments) HasPage ¶

func (o *PaginatedEnvironments) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedEnvironments) HasPagelen ¶

func (o *PaginatedEnvironments) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedEnvironments) HasPrevious ¶

func (o *PaginatedEnvironments) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedEnvironments) HasSize ¶

func (o *PaginatedEnvironments) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedEnvironments) HasValues ¶

func (o *PaginatedEnvironments) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedEnvironments) MarshalJSON ¶

func (o PaginatedEnvironments) MarshalJSON() ([]byte, error)

func (*PaginatedEnvironments) SetNext ¶

func (o *PaginatedEnvironments) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedEnvironments) SetPage ¶

func (o *PaginatedEnvironments) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedEnvironments) SetPagelen ¶

func (o *PaginatedEnvironments) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedEnvironments) SetPrevious ¶

func (o *PaginatedEnvironments) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedEnvironments) SetSize ¶

func (o *PaginatedEnvironments) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedEnvironments) SetValues ¶

func (o *PaginatedEnvironments) SetValues(v []DeploymentEnvironment)

SetValues gets a reference to the given []DeploymentEnvironment and assigns it to the Values field.

func (*PaginatedEnvironments) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedEnvironments) UnmarshalJSON(bytes []byte) (err error)

type PaginatedFiles ¶

type PaginatedFiles struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string      `json:"previous,omitempty"`
	Values               []CommitFile `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedFiles A paginated list of commit_file objects.

func NewPaginatedFiles ¶

func NewPaginatedFiles() *PaginatedFiles

NewPaginatedFiles instantiates a new PaginatedFiles object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedFilesWithDefaults ¶

func NewPaginatedFilesWithDefaults() *PaginatedFiles

NewPaginatedFilesWithDefaults instantiates a new PaginatedFiles object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedFiles) GetNext ¶

func (o *PaginatedFiles) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedFiles) GetNextOk ¶

func (o *PaginatedFiles) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedFiles) GetPage ¶

func (o *PaginatedFiles) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedFiles) GetPageOk ¶

func (o *PaginatedFiles) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedFiles) GetPagelen ¶

func (o *PaginatedFiles) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedFiles) GetPagelenOk ¶

func (o *PaginatedFiles) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedFiles) GetPrevious ¶

func (o *PaginatedFiles) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedFiles) GetPreviousOk ¶

func (o *PaginatedFiles) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedFiles) GetSize ¶

func (o *PaginatedFiles) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedFiles) GetSizeOk ¶

func (o *PaginatedFiles) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedFiles) GetValues ¶

func (o *PaginatedFiles) GetValues() []CommitFile

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedFiles) GetValuesOk ¶

func (o *PaginatedFiles) GetValuesOk() ([]CommitFile, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedFiles) HasNext ¶

func (o *PaginatedFiles) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedFiles) HasPage ¶

func (o *PaginatedFiles) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedFiles) HasPagelen ¶

func (o *PaginatedFiles) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedFiles) HasPrevious ¶

func (o *PaginatedFiles) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedFiles) HasSize ¶

func (o *PaginatedFiles) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedFiles) HasValues ¶

func (o *PaginatedFiles) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedFiles) MarshalJSON ¶

func (o PaginatedFiles) MarshalJSON() ([]byte, error)

func (*PaginatedFiles) SetNext ¶

func (o *PaginatedFiles) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedFiles) SetPage ¶

func (o *PaginatedFiles) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedFiles) SetPagelen ¶

func (o *PaginatedFiles) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedFiles) SetPrevious ¶

func (o *PaginatedFiles) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedFiles) SetSize ¶

func (o *PaginatedFiles) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedFiles) SetValues ¶

func (o *PaginatedFiles) SetValues(v []CommitFile)

SetValues gets a reference to the given []CommitFile and assigns it to the Values field.

func (*PaginatedFiles) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedFiles) UnmarshalJSON(bytes []byte) (err error)

type PaginatedHookEvents ¶

type PaginatedHookEvents struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string     `json:"previous,omitempty"`
	Values               []HookEvent `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedHookEvents A paginated list of webhook types available to subscribe on.

func NewPaginatedHookEvents ¶

func NewPaginatedHookEvents() *PaginatedHookEvents

NewPaginatedHookEvents instantiates a new PaginatedHookEvents object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedHookEventsWithDefaults ¶

func NewPaginatedHookEventsWithDefaults() *PaginatedHookEvents

NewPaginatedHookEventsWithDefaults instantiates a new PaginatedHookEvents object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedHookEvents) GetNext ¶

func (o *PaginatedHookEvents) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedHookEvents) GetNextOk ¶

func (o *PaginatedHookEvents) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedHookEvents) GetPage ¶

func (o *PaginatedHookEvents) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedHookEvents) GetPageOk ¶

func (o *PaginatedHookEvents) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedHookEvents) GetPagelen ¶

func (o *PaginatedHookEvents) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedHookEvents) GetPagelenOk ¶

func (o *PaginatedHookEvents) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedHookEvents) GetPrevious ¶

func (o *PaginatedHookEvents) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedHookEvents) GetPreviousOk ¶

func (o *PaginatedHookEvents) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedHookEvents) GetSize ¶

func (o *PaginatedHookEvents) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedHookEvents) GetSizeOk ¶

func (o *PaginatedHookEvents) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedHookEvents) GetValues ¶

func (o *PaginatedHookEvents) GetValues() []HookEvent

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedHookEvents) GetValuesOk ¶

func (o *PaginatedHookEvents) GetValuesOk() ([]HookEvent, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedHookEvents) HasNext ¶

func (o *PaginatedHookEvents) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedHookEvents) HasPage ¶

func (o *PaginatedHookEvents) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedHookEvents) HasPagelen ¶

func (o *PaginatedHookEvents) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedHookEvents) HasPrevious ¶

func (o *PaginatedHookEvents) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedHookEvents) HasSize ¶

func (o *PaginatedHookEvents) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedHookEvents) HasValues ¶

func (o *PaginatedHookEvents) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedHookEvents) MarshalJSON ¶

func (o PaginatedHookEvents) MarshalJSON() ([]byte, error)

func (*PaginatedHookEvents) SetNext ¶

func (o *PaginatedHookEvents) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedHookEvents) SetPage ¶

func (o *PaginatedHookEvents) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedHookEvents) SetPagelen ¶

func (o *PaginatedHookEvents) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedHookEvents) SetPrevious ¶

func (o *PaginatedHookEvents) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedHookEvents) SetSize ¶

func (o *PaginatedHookEvents) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedHookEvents) SetValues ¶

func (o *PaginatedHookEvents) SetValues(v []HookEvent)

SetValues gets a reference to the given []HookEvent and assigns it to the Values field.

func (*PaginatedHookEvents) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedHookEvents) UnmarshalJSON(bytes []byte) (err error)

type PaginatedIssueAttachments ¶

type PaginatedIssueAttachments struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string           `json:"previous,omitempty"`
	Values               []IssueAttachment `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedIssueAttachments A paginated list of issue attachments.

func NewPaginatedIssueAttachments ¶

func NewPaginatedIssueAttachments() *PaginatedIssueAttachments

NewPaginatedIssueAttachments instantiates a new PaginatedIssueAttachments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedIssueAttachmentsWithDefaults ¶

func NewPaginatedIssueAttachmentsWithDefaults() *PaginatedIssueAttachments

NewPaginatedIssueAttachmentsWithDefaults instantiates a new PaginatedIssueAttachments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedIssueAttachments) GetNext ¶

func (o *PaginatedIssueAttachments) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedIssueAttachments) GetNextOk ¶

func (o *PaginatedIssueAttachments) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueAttachments) GetPage ¶

func (o *PaginatedIssueAttachments) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedIssueAttachments) GetPageOk ¶

func (o *PaginatedIssueAttachments) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueAttachments) GetPagelen ¶

func (o *PaginatedIssueAttachments) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedIssueAttachments) GetPagelenOk ¶

func (o *PaginatedIssueAttachments) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueAttachments) GetPrevious ¶

func (o *PaginatedIssueAttachments) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedIssueAttachments) GetPreviousOk ¶

func (o *PaginatedIssueAttachments) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueAttachments) GetSize ¶

func (o *PaginatedIssueAttachments) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedIssueAttachments) GetSizeOk ¶

func (o *PaginatedIssueAttachments) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueAttachments) GetValues ¶

func (o *PaginatedIssueAttachments) GetValues() []IssueAttachment

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedIssueAttachments) GetValuesOk ¶

func (o *PaginatedIssueAttachments) GetValuesOk() ([]IssueAttachment, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueAttachments) HasNext ¶

func (o *PaginatedIssueAttachments) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedIssueAttachments) HasPage ¶

func (o *PaginatedIssueAttachments) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedIssueAttachments) HasPagelen ¶

func (o *PaginatedIssueAttachments) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedIssueAttachments) HasPrevious ¶

func (o *PaginatedIssueAttachments) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedIssueAttachments) HasSize ¶

func (o *PaginatedIssueAttachments) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedIssueAttachments) HasValues ¶

func (o *PaginatedIssueAttachments) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedIssueAttachments) MarshalJSON ¶

func (o PaginatedIssueAttachments) MarshalJSON() ([]byte, error)

func (*PaginatedIssueAttachments) SetNext ¶

func (o *PaginatedIssueAttachments) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedIssueAttachments) SetPage ¶

func (o *PaginatedIssueAttachments) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedIssueAttachments) SetPagelen ¶

func (o *PaginatedIssueAttachments) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedIssueAttachments) SetPrevious ¶

func (o *PaginatedIssueAttachments) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedIssueAttachments) SetSize ¶

func (o *PaginatedIssueAttachments) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedIssueAttachments) SetValues ¶

func (o *PaginatedIssueAttachments) SetValues(v []IssueAttachment)

SetValues gets a reference to the given []IssueAttachment and assigns it to the Values field.

func (*PaginatedIssueAttachments) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedIssueAttachments) UnmarshalJSON(bytes []byte) (err error)

type PaginatedIssueComments ¶

type PaginatedIssueComments struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string        `json:"previous,omitempty"`
	Values               []IssueComment `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedIssueComments A paginated list of issue comments.

func NewPaginatedIssueComments ¶

func NewPaginatedIssueComments() *PaginatedIssueComments

NewPaginatedIssueComments instantiates a new PaginatedIssueComments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedIssueCommentsWithDefaults ¶

func NewPaginatedIssueCommentsWithDefaults() *PaginatedIssueComments

NewPaginatedIssueCommentsWithDefaults instantiates a new PaginatedIssueComments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedIssueComments) GetNext ¶

func (o *PaginatedIssueComments) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedIssueComments) GetNextOk ¶

func (o *PaginatedIssueComments) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueComments) GetPage ¶

func (o *PaginatedIssueComments) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedIssueComments) GetPageOk ¶

func (o *PaginatedIssueComments) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueComments) GetPagelen ¶

func (o *PaginatedIssueComments) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedIssueComments) GetPagelenOk ¶

func (o *PaginatedIssueComments) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueComments) GetPrevious ¶

func (o *PaginatedIssueComments) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedIssueComments) GetPreviousOk ¶

func (o *PaginatedIssueComments) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueComments) GetSize ¶

func (o *PaginatedIssueComments) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedIssueComments) GetSizeOk ¶

func (o *PaginatedIssueComments) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueComments) GetValues ¶

func (o *PaginatedIssueComments) GetValues() []IssueComment

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedIssueComments) GetValuesOk ¶

func (o *PaginatedIssueComments) GetValuesOk() ([]IssueComment, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssueComments) HasNext ¶

func (o *PaginatedIssueComments) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedIssueComments) HasPage ¶

func (o *PaginatedIssueComments) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedIssueComments) HasPagelen ¶

func (o *PaginatedIssueComments) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedIssueComments) HasPrevious ¶

func (o *PaginatedIssueComments) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedIssueComments) HasSize ¶

func (o *PaginatedIssueComments) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedIssueComments) HasValues ¶

func (o *PaginatedIssueComments) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedIssueComments) MarshalJSON ¶

func (o PaginatedIssueComments) MarshalJSON() ([]byte, error)

func (*PaginatedIssueComments) SetNext ¶

func (o *PaginatedIssueComments) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedIssueComments) SetPage ¶

func (o *PaginatedIssueComments) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedIssueComments) SetPagelen ¶

func (o *PaginatedIssueComments) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedIssueComments) SetPrevious ¶

func (o *PaginatedIssueComments) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedIssueComments) SetSize ¶

func (o *PaginatedIssueComments) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedIssueComments) SetValues ¶

func (o *PaginatedIssueComments) SetValues(v []IssueComment)

SetValues gets a reference to the given []IssueComment and assigns it to the Values field.

func (*PaginatedIssueComments) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedIssueComments) UnmarshalJSON(bytes []byte) (err error)

type PaginatedIssues ¶

type PaginatedIssues struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	Values               []Issue `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedIssues A paginated list of issues.

func NewPaginatedIssues ¶

func NewPaginatedIssues() *PaginatedIssues

NewPaginatedIssues instantiates a new PaginatedIssues object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedIssuesWithDefaults ¶

func NewPaginatedIssuesWithDefaults() *PaginatedIssues

NewPaginatedIssuesWithDefaults instantiates a new PaginatedIssues object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedIssues) GetNext ¶

func (o *PaginatedIssues) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedIssues) GetNextOk ¶

func (o *PaginatedIssues) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssues) GetPage ¶

func (o *PaginatedIssues) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedIssues) GetPageOk ¶

func (o *PaginatedIssues) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssues) GetPagelen ¶

func (o *PaginatedIssues) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedIssues) GetPagelenOk ¶

func (o *PaginatedIssues) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssues) GetPrevious ¶

func (o *PaginatedIssues) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedIssues) GetPreviousOk ¶

func (o *PaginatedIssues) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssues) GetSize ¶

func (o *PaginatedIssues) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedIssues) GetSizeOk ¶

func (o *PaginatedIssues) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssues) GetValues ¶

func (o *PaginatedIssues) GetValues() []Issue

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedIssues) GetValuesOk ¶

func (o *PaginatedIssues) GetValuesOk() ([]Issue, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedIssues) HasNext ¶

func (o *PaginatedIssues) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedIssues) HasPage ¶

func (o *PaginatedIssues) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedIssues) HasPagelen ¶

func (o *PaginatedIssues) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedIssues) HasPrevious ¶

func (o *PaginatedIssues) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedIssues) HasSize ¶

func (o *PaginatedIssues) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedIssues) HasValues ¶

func (o *PaginatedIssues) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedIssues) MarshalJSON ¶

func (o PaginatedIssues) MarshalJSON() ([]byte, error)

func (*PaginatedIssues) SetNext ¶

func (o *PaginatedIssues) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedIssues) SetPage ¶

func (o *PaginatedIssues) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedIssues) SetPagelen ¶

func (o *PaginatedIssues) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedIssues) SetPrevious ¶

func (o *PaginatedIssues) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedIssues) SetSize ¶

func (o *PaginatedIssues) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedIssues) SetValues ¶

func (o *PaginatedIssues) SetValues(v []Issue)

SetValues gets a reference to the given []Issue and assigns it to the Values field.

func (*PaginatedIssues) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedIssues) UnmarshalJSON(bytes []byte) (err error)

type PaginatedLogEntries ¶

type PaginatedLogEntries struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string       `json:"previous,omitempty"`
	Values               []IssueChange `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedLogEntries A paginated list of issue changes.

func NewPaginatedLogEntries ¶

func NewPaginatedLogEntries() *PaginatedLogEntries

NewPaginatedLogEntries instantiates a new PaginatedLogEntries object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedLogEntriesWithDefaults ¶

func NewPaginatedLogEntriesWithDefaults() *PaginatedLogEntries

NewPaginatedLogEntriesWithDefaults instantiates a new PaginatedLogEntries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedLogEntries) GetNext ¶

func (o *PaginatedLogEntries) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedLogEntries) GetNextOk ¶

func (o *PaginatedLogEntries) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedLogEntries) GetPage ¶

func (o *PaginatedLogEntries) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedLogEntries) GetPageOk ¶

func (o *PaginatedLogEntries) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedLogEntries) GetPagelen ¶

func (o *PaginatedLogEntries) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedLogEntries) GetPagelenOk ¶

func (o *PaginatedLogEntries) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedLogEntries) GetPrevious ¶

func (o *PaginatedLogEntries) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedLogEntries) GetPreviousOk ¶

func (o *PaginatedLogEntries) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedLogEntries) GetSize ¶

func (o *PaginatedLogEntries) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedLogEntries) GetSizeOk ¶

func (o *PaginatedLogEntries) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedLogEntries) GetValues ¶

func (o *PaginatedLogEntries) GetValues() []IssueChange

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedLogEntries) GetValuesOk ¶

func (o *PaginatedLogEntries) GetValuesOk() ([]IssueChange, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedLogEntries) HasNext ¶

func (o *PaginatedLogEntries) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedLogEntries) HasPage ¶

func (o *PaginatedLogEntries) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedLogEntries) HasPagelen ¶

func (o *PaginatedLogEntries) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedLogEntries) HasPrevious ¶

func (o *PaginatedLogEntries) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedLogEntries) HasSize ¶

func (o *PaginatedLogEntries) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedLogEntries) HasValues ¶

func (o *PaginatedLogEntries) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedLogEntries) MarshalJSON ¶

func (o PaginatedLogEntries) MarshalJSON() ([]byte, error)

func (*PaginatedLogEntries) SetNext ¶

func (o *PaginatedLogEntries) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedLogEntries) SetPage ¶

func (o *PaginatedLogEntries) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedLogEntries) SetPagelen ¶

func (o *PaginatedLogEntries) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedLogEntries) SetPrevious ¶

func (o *PaginatedLogEntries) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedLogEntries) SetSize ¶

func (o *PaginatedLogEntries) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedLogEntries) SetValues ¶

func (o *PaginatedLogEntries) SetValues(v []IssueChange)

SetValues gets a reference to the given []IssueChange and assigns it to the Values field.

func (*PaginatedLogEntries) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedLogEntries) UnmarshalJSON(bytes []byte) (err error)

type PaginatedMilestones ¶

type PaginatedMilestones struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string     `json:"previous,omitempty"`
	Values               []Milestone `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedMilestones A paginated list of issue tracker milestones.

func NewPaginatedMilestones ¶

func NewPaginatedMilestones() *PaginatedMilestones

NewPaginatedMilestones instantiates a new PaginatedMilestones object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedMilestonesWithDefaults ¶

func NewPaginatedMilestonesWithDefaults() *PaginatedMilestones

NewPaginatedMilestonesWithDefaults instantiates a new PaginatedMilestones object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedMilestones) GetNext ¶

func (o *PaginatedMilestones) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedMilestones) GetNextOk ¶

func (o *PaginatedMilestones) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedMilestones) GetPage ¶

func (o *PaginatedMilestones) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedMilestones) GetPageOk ¶

func (o *PaginatedMilestones) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedMilestones) GetPagelen ¶

func (o *PaginatedMilestones) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedMilestones) GetPagelenOk ¶

func (o *PaginatedMilestones) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedMilestones) GetPrevious ¶

func (o *PaginatedMilestones) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedMilestones) GetPreviousOk ¶

func (o *PaginatedMilestones) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedMilestones) GetSize ¶

func (o *PaginatedMilestones) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedMilestones) GetSizeOk ¶

func (o *PaginatedMilestones) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedMilestones) GetValues ¶

func (o *PaginatedMilestones) GetValues() []Milestone

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedMilestones) GetValuesOk ¶

func (o *PaginatedMilestones) GetValuesOk() ([]Milestone, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedMilestones) HasNext ¶

func (o *PaginatedMilestones) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedMilestones) HasPage ¶

func (o *PaginatedMilestones) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedMilestones) HasPagelen ¶

func (o *PaginatedMilestones) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedMilestones) HasPrevious ¶

func (o *PaginatedMilestones) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedMilestones) HasSize ¶

func (o *PaginatedMilestones) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedMilestones) HasValues ¶

func (o *PaginatedMilestones) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedMilestones) MarshalJSON ¶

func (o PaginatedMilestones) MarshalJSON() ([]byte, error)

func (*PaginatedMilestones) SetNext ¶

func (o *PaginatedMilestones) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedMilestones) SetPage ¶

func (o *PaginatedMilestones) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedMilestones) SetPagelen ¶

func (o *PaginatedMilestones) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedMilestones) SetPrevious ¶

func (o *PaginatedMilestones) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedMilestones) SetSize ¶

func (o *PaginatedMilestones) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedMilestones) SetValues ¶

func (o *PaginatedMilestones) SetValues(v []Milestone)

SetValues gets a reference to the given []Milestone and assigns it to the Values field.

func (*PaginatedMilestones) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedMilestones) UnmarshalJSON(bytes []byte) (err error)

type PaginatedPipelineCaches ¶

type PaginatedPipelineCaches struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []PipelineCache `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedPipelineCaches A paged list of pipeline caches

func NewPaginatedPipelineCaches ¶

func NewPaginatedPipelineCaches() *PaginatedPipelineCaches

NewPaginatedPipelineCaches instantiates a new PaginatedPipelineCaches object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedPipelineCachesWithDefaults ¶

func NewPaginatedPipelineCachesWithDefaults() *PaginatedPipelineCaches

NewPaginatedPipelineCachesWithDefaults instantiates a new PaginatedPipelineCaches object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedPipelineCaches) GetNext ¶

func (o *PaginatedPipelineCaches) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedPipelineCaches) GetNextOk ¶

func (o *PaginatedPipelineCaches) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineCaches) GetPage ¶

func (o *PaginatedPipelineCaches) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedPipelineCaches) GetPageOk ¶

func (o *PaginatedPipelineCaches) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineCaches) GetPagelen ¶

func (o *PaginatedPipelineCaches) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedPipelineCaches) GetPagelenOk ¶

func (o *PaginatedPipelineCaches) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineCaches) GetPrevious ¶

func (o *PaginatedPipelineCaches) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedPipelineCaches) GetPreviousOk ¶

func (o *PaginatedPipelineCaches) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineCaches) GetSize ¶

func (o *PaginatedPipelineCaches) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedPipelineCaches) GetSizeOk ¶

func (o *PaginatedPipelineCaches) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineCaches) GetValues ¶

func (o *PaginatedPipelineCaches) GetValues() []PipelineCache

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedPipelineCaches) GetValuesOk ¶

func (o *PaginatedPipelineCaches) GetValuesOk() ([]PipelineCache, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineCaches) HasNext ¶

func (o *PaginatedPipelineCaches) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedPipelineCaches) HasPage ¶

func (o *PaginatedPipelineCaches) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedPipelineCaches) HasPagelen ¶

func (o *PaginatedPipelineCaches) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedPipelineCaches) HasPrevious ¶

func (o *PaginatedPipelineCaches) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedPipelineCaches) HasSize ¶

func (o *PaginatedPipelineCaches) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedPipelineCaches) HasValues ¶

func (o *PaginatedPipelineCaches) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedPipelineCaches) MarshalJSON ¶

func (o PaginatedPipelineCaches) MarshalJSON() ([]byte, error)

func (*PaginatedPipelineCaches) SetNext ¶

func (o *PaginatedPipelineCaches) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedPipelineCaches) SetPage ¶

func (o *PaginatedPipelineCaches) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedPipelineCaches) SetPagelen ¶

func (o *PaginatedPipelineCaches) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedPipelineCaches) SetPrevious ¶

func (o *PaginatedPipelineCaches) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedPipelineCaches) SetSize ¶

func (o *PaginatedPipelineCaches) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedPipelineCaches) SetValues ¶

func (o *PaginatedPipelineCaches) SetValues(v []PipelineCache)

SetValues gets a reference to the given []PipelineCache and assigns it to the Values field.

func (*PaginatedPipelineCaches) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedPipelineCaches) UnmarshalJSON(bytes []byte) (err error)

type PaginatedPipelineKnownHosts ¶

type PaginatedPipelineKnownHosts struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []PipelineKnownHost `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedPipelineKnownHosts A paged list of known hosts.

func NewPaginatedPipelineKnownHosts ¶

func NewPaginatedPipelineKnownHosts() *PaginatedPipelineKnownHosts

NewPaginatedPipelineKnownHosts instantiates a new PaginatedPipelineKnownHosts object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedPipelineKnownHostsWithDefaults ¶

func NewPaginatedPipelineKnownHostsWithDefaults() *PaginatedPipelineKnownHosts

NewPaginatedPipelineKnownHostsWithDefaults instantiates a new PaginatedPipelineKnownHosts object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedPipelineKnownHosts) GetNext ¶

func (o *PaginatedPipelineKnownHosts) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedPipelineKnownHosts) GetNextOk ¶

func (o *PaginatedPipelineKnownHosts) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineKnownHosts) GetPage ¶

func (o *PaginatedPipelineKnownHosts) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedPipelineKnownHosts) GetPageOk ¶

func (o *PaginatedPipelineKnownHosts) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineKnownHosts) GetPagelen ¶

func (o *PaginatedPipelineKnownHosts) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedPipelineKnownHosts) GetPagelenOk ¶

func (o *PaginatedPipelineKnownHosts) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineKnownHosts) GetPrevious ¶

func (o *PaginatedPipelineKnownHosts) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedPipelineKnownHosts) GetPreviousOk ¶

func (o *PaginatedPipelineKnownHosts) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineKnownHosts) GetSize ¶

func (o *PaginatedPipelineKnownHosts) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedPipelineKnownHosts) GetSizeOk ¶

func (o *PaginatedPipelineKnownHosts) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineKnownHosts) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedPipelineKnownHosts) GetValuesOk ¶

func (o *PaginatedPipelineKnownHosts) GetValuesOk() ([]PipelineKnownHost, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineKnownHosts) HasNext ¶

func (o *PaginatedPipelineKnownHosts) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedPipelineKnownHosts) HasPage ¶

func (o *PaginatedPipelineKnownHosts) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedPipelineKnownHosts) HasPagelen ¶

func (o *PaginatedPipelineKnownHosts) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedPipelineKnownHosts) HasPrevious ¶

func (o *PaginatedPipelineKnownHosts) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedPipelineKnownHosts) HasSize ¶

func (o *PaginatedPipelineKnownHosts) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedPipelineKnownHosts) HasValues ¶

func (o *PaginatedPipelineKnownHosts) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedPipelineKnownHosts) MarshalJSON ¶

func (o PaginatedPipelineKnownHosts) MarshalJSON() ([]byte, error)

func (*PaginatedPipelineKnownHosts) SetNext ¶

func (o *PaginatedPipelineKnownHosts) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedPipelineKnownHosts) SetPage ¶

func (o *PaginatedPipelineKnownHosts) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedPipelineKnownHosts) SetPagelen ¶

func (o *PaginatedPipelineKnownHosts) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedPipelineKnownHosts) SetPrevious ¶

func (o *PaginatedPipelineKnownHosts) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedPipelineKnownHosts) SetSize ¶

func (o *PaginatedPipelineKnownHosts) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedPipelineKnownHosts) SetValues ¶

SetValues gets a reference to the given []PipelineKnownHost and assigns it to the Values field.

func (*PaginatedPipelineKnownHosts) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedPipelineKnownHosts) UnmarshalJSON(bytes []byte) (err error)

type PaginatedPipelineScheduleExecutions ¶

type PaginatedPipelineScheduleExecutions struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []PipelineScheduleExecution `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedPipelineScheduleExecutions A paged list of the executions of a schedule.

func NewPaginatedPipelineScheduleExecutions ¶

func NewPaginatedPipelineScheduleExecutions() *PaginatedPipelineScheduleExecutions

NewPaginatedPipelineScheduleExecutions instantiates a new PaginatedPipelineScheduleExecutions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedPipelineScheduleExecutionsWithDefaults ¶

func NewPaginatedPipelineScheduleExecutionsWithDefaults() *PaginatedPipelineScheduleExecutions

NewPaginatedPipelineScheduleExecutionsWithDefaults instantiates a new PaginatedPipelineScheduleExecutions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedPipelineScheduleExecutions) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedPipelineScheduleExecutions) GetNextOk ¶

func (o *PaginatedPipelineScheduleExecutions) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineScheduleExecutions) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedPipelineScheduleExecutions) GetPageOk ¶

func (o *PaginatedPipelineScheduleExecutions) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineScheduleExecutions) GetPagelen ¶

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedPipelineScheduleExecutions) GetPagelenOk ¶

func (o *PaginatedPipelineScheduleExecutions) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineScheduleExecutions) GetPrevious ¶

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedPipelineScheduleExecutions) GetPreviousOk ¶

func (o *PaginatedPipelineScheduleExecutions) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineScheduleExecutions) GetSize ¶

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedPipelineScheduleExecutions) GetSizeOk ¶

func (o *PaginatedPipelineScheduleExecutions) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineScheduleExecutions) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedPipelineScheduleExecutions) GetValuesOk ¶

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineScheduleExecutions) HasNext ¶

HasNext returns a boolean if a field has been set.

func (*PaginatedPipelineScheduleExecutions) HasPage ¶

HasPage returns a boolean if a field has been set.

func (*PaginatedPipelineScheduleExecutions) HasPagelen ¶

func (o *PaginatedPipelineScheduleExecutions) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedPipelineScheduleExecutions) HasPrevious ¶

func (o *PaginatedPipelineScheduleExecutions) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedPipelineScheduleExecutions) HasSize ¶

HasSize returns a boolean if a field has been set.

func (*PaginatedPipelineScheduleExecutions) HasValues ¶

HasValues returns a boolean if a field has been set.

func (PaginatedPipelineScheduleExecutions) MarshalJSON ¶

func (o PaginatedPipelineScheduleExecutions) MarshalJSON() ([]byte, error)

func (*PaginatedPipelineScheduleExecutions) SetNext ¶

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedPipelineScheduleExecutions) SetPage ¶

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedPipelineScheduleExecutions) SetPagelen ¶

func (o *PaginatedPipelineScheduleExecutions) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedPipelineScheduleExecutions) SetPrevious ¶

func (o *PaginatedPipelineScheduleExecutions) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedPipelineScheduleExecutions) SetSize ¶

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedPipelineScheduleExecutions) SetValues ¶

SetValues gets a reference to the given []PipelineScheduleExecution and assigns it to the Values field.

func (*PaginatedPipelineScheduleExecutions) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedPipelineScheduleExecutions) UnmarshalJSON(bytes []byte) (err error)

type PaginatedPipelineSchedules ¶

type PaginatedPipelineSchedules struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []PipelineSchedule `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedPipelineSchedules A paged list of schedules

func NewPaginatedPipelineSchedules ¶

func NewPaginatedPipelineSchedules() *PaginatedPipelineSchedules

NewPaginatedPipelineSchedules instantiates a new PaginatedPipelineSchedules object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedPipelineSchedulesWithDefaults ¶

func NewPaginatedPipelineSchedulesWithDefaults() *PaginatedPipelineSchedules

NewPaginatedPipelineSchedulesWithDefaults instantiates a new PaginatedPipelineSchedules object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedPipelineSchedules) GetNext ¶

func (o *PaginatedPipelineSchedules) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedPipelineSchedules) GetNextOk ¶

func (o *PaginatedPipelineSchedules) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSchedules) GetPage ¶

func (o *PaginatedPipelineSchedules) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedPipelineSchedules) GetPageOk ¶

func (o *PaginatedPipelineSchedules) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSchedules) GetPagelen ¶

func (o *PaginatedPipelineSchedules) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedPipelineSchedules) GetPagelenOk ¶

func (o *PaginatedPipelineSchedules) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSchedules) GetPrevious ¶

func (o *PaginatedPipelineSchedules) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedPipelineSchedules) GetPreviousOk ¶

func (o *PaginatedPipelineSchedules) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSchedules) GetSize ¶

func (o *PaginatedPipelineSchedules) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedPipelineSchedules) GetSizeOk ¶

func (o *PaginatedPipelineSchedules) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSchedules) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedPipelineSchedules) GetValuesOk ¶

func (o *PaginatedPipelineSchedules) GetValuesOk() ([]PipelineSchedule, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSchedules) HasNext ¶

func (o *PaginatedPipelineSchedules) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedPipelineSchedules) HasPage ¶

func (o *PaginatedPipelineSchedules) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedPipelineSchedules) HasPagelen ¶

func (o *PaginatedPipelineSchedules) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedPipelineSchedules) HasPrevious ¶

func (o *PaginatedPipelineSchedules) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedPipelineSchedules) HasSize ¶

func (o *PaginatedPipelineSchedules) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedPipelineSchedules) HasValues ¶

func (o *PaginatedPipelineSchedules) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedPipelineSchedules) MarshalJSON ¶

func (o PaginatedPipelineSchedules) MarshalJSON() ([]byte, error)

func (*PaginatedPipelineSchedules) SetNext ¶

func (o *PaginatedPipelineSchedules) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedPipelineSchedules) SetPage ¶

func (o *PaginatedPipelineSchedules) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedPipelineSchedules) SetPagelen ¶

func (o *PaginatedPipelineSchedules) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedPipelineSchedules) SetPrevious ¶

func (o *PaginatedPipelineSchedules) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedPipelineSchedules) SetSize ¶

func (o *PaginatedPipelineSchedules) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedPipelineSchedules) SetValues ¶

func (o *PaginatedPipelineSchedules) SetValues(v []PipelineSchedule)

SetValues gets a reference to the given []PipelineSchedule and assigns it to the Values field.

func (*PaginatedPipelineSchedules) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedPipelineSchedules) UnmarshalJSON(bytes []byte) (err error)

type PaginatedPipelineSteps ¶

type PaginatedPipelineSteps struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []PipelineStep `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedPipelineSteps A paged list of pipeline steps.

func NewPaginatedPipelineSteps ¶

func NewPaginatedPipelineSteps() *PaginatedPipelineSteps

NewPaginatedPipelineSteps instantiates a new PaginatedPipelineSteps object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedPipelineStepsWithDefaults ¶

func NewPaginatedPipelineStepsWithDefaults() *PaginatedPipelineSteps

NewPaginatedPipelineStepsWithDefaults instantiates a new PaginatedPipelineSteps object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedPipelineSteps) GetNext ¶

func (o *PaginatedPipelineSteps) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedPipelineSteps) GetNextOk ¶

func (o *PaginatedPipelineSteps) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSteps) GetPage ¶

func (o *PaginatedPipelineSteps) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedPipelineSteps) GetPageOk ¶

func (o *PaginatedPipelineSteps) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSteps) GetPagelen ¶

func (o *PaginatedPipelineSteps) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedPipelineSteps) GetPagelenOk ¶

func (o *PaginatedPipelineSteps) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSteps) GetPrevious ¶

func (o *PaginatedPipelineSteps) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedPipelineSteps) GetPreviousOk ¶

func (o *PaginatedPipelineSteps) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSteps) GetSize ¶

func (o *PaginatedPipelineSteps) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedPipelineSteps) GetSizeOk ¶

func (o *PaginatedPipelineSteps) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSteps) GetValues ¶

func (o *PaginatedPipelineSteps) GetValues() []PipelineStep

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedPipelineSteps) GetValuesOk ¶

func (o *PaginatedPipelineSteps) GetValuesOk() ([]PipelineStep, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineSteps) HasNext ¶

func (o *PaginatedPipelineSteps) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedPipelineSteps) HasPage ¶

func (o *PaginatedPipelineSteps) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedPipelineSteps) HasPagelen ¶

func (o *PaginatedPipelineSteps) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedPipelineSteps) HasPrevious ¶

func (o *PaginatedPipelineSteps) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedPipelineSteps) HasSize ¶

func (o *PaginatedPipelineSteps) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedPipelineSteps) HasValues ¶

func (o *PaginatedPipelineSteps) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedPipelineSteps) MarshalJSON ¶

func (o PaginatedPipelineSteps) MarshalJSON() ([]byte, error)

func (*PaginatedPipelineSteps) SetNext ¶

func (o *PaginatedPipelineSteps) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedPipelineSteps) SetPage ¶

func (o *PaginatedPipelineSteps) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedPipelineSteps) SetPagelen ¶

func (o *PaginatedPipelineSteps) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedPipelineSteps) SetPrevious ¶

func (o *PaginatedPipelineSteps) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedPipelineSteps) SetSize ¶

func (o *PaginatedPipelineSteps) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedPipelineSteps) SetValues ¶

func (o *PaginatedPipelineSteps) SetValues(v []PipelineStep)

SetValues gets a reference to the given []PipelineStep and assigns it to the Values field.

func (*PaginatedPipelineSteps) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedPipelineSteps) UnmarshalJSON(bytes []byte) (err error)

type PaginatedPipelineVariables ¶

type PaginatedPipelineVariables struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []PipelineVariable `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedPipelineVariables A paged list of variables.

func NewPaginatedPipelineVariables ¶

func NewPaginatedPipelineVariables() *PaginatedPipelineVariables

NewPaginatedPipelineVariables instantiates a new PaginatedPipelineVariables object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedPipelineVariablesWithDefaults ¶

func NewPaginatedPipelineVariablesWithDefaults() *PaginatedPipelineVariables

NewPaginatedPipelineVariablesWithDefaults instantiates a new PaginatedPipelineVariables object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedPipelineVariables) GetNext ¶

func (o *PaginatedPipelineVariables) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedPipelineVariables) GetNextOk ¶

func (o *PaginatedPipelineVariables) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineVariables) GetPage ¶

func (o *PaginatedPipelineVariables) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedPipelineVariables) GetPageOk ¶

func (o *PaginatedPipelineVariables) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineVariables) GetPagelen ¶

func (o *PaginatedPipelineVariables) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedPipelineVariables) GetPagelenOk ¶

func (o *PaginatedPipelineVariables) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineVariables) GetPrevious ¶

func (o *PaginatedPipelineVariables) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedPipelineVariables) GetPreviousOk ¶

func (o *PaginatedPipelineVariables) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineVariables) GetSize ¶

func (o *PaginatedPipelineVariables) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedPipelineVariables) GetSizeOk ¶

func (o *PaginatedPipelineVariables) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineVariables) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedPipelineVariables) GetValuesOk ¶

func (o *PaginatedPipelineVariables) GetValuesOk() ([]PipelineVariable, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelineVariables) HasNext ¶

func (o *PaginatedPipelineVariables) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedPipelineVariables) HasPage ¶

func (o *PaginatedPipelineVariables) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedPipelineVariables) HasPagelen ¶

func (o *PaginatedPipelineVariables) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedPipelineVariables) HasPrevious ¶

func (o *PaginatedPipelineVariables) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedPipelineVariables) HasSize ¶

func (o *PaginatedPipelineVariables) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedPipelineVariables) HasValues ¶

func (o *PaginatedPipelineVariables) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedPipelineVariables) MarshalJSON ¶

func (o PaginatedPipelineVariables) MarshalJSON() ([]byte, error)

func (*PaginatedPipelineVariables) SetNext ¶

func (o *PaginatedPipelineVariables) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedPipelineVariables) SetPage ¶

func (o *PaginatedPipelineVariables) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedPipelineVariables) SetPagelen ¶

func (o *PaginatedPipelineVariables) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedPipelineVariables) SetPrevious ¶

func (o *PaginatedPipelineVariables) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedPipelineVariables) SetSize ¶

func (o *PaginatedPipelineVariables) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedPipelineVariables) SetValues ¶

func (o *PaginatedPipelineVariables) SetValues(v []PipelineVariable)

SetValues gets a reference to the given []PipelineVariable and assigns it to the Values field.

func (*PaginatedPipelineVariables) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedPipelineVariables) UnmarshalJSON(bytes []byte) (err error)

type PaginatedPipelines ¶

type PaginatedPipelines struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []Pipeline `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedPipelines A paged list of pipelines

func NewPaginatedPipelines ¶

func NewPaginatedPipelines() *PaginatedPipelines

NewPaginatedPipelines instantiates a new PaginatedPipelines object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedPipelinesWithDefaults ¶

func NewPaginatedPipelinesWithDefaults() *PaginatedPipelines

NewPaginatedPipelinesWithDefaults instantiates a new PaginatedPipelines object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedPipelines) GetNext ¶

func (o *PaginatedPipelines) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedPipelines) GetNextOk ¶

func (o *PaginatedPipelines) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelines) GetPage ¶

func (o *PaginatedPipelines) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedPipelines) GetPageOk ¶

func (o *PaginatedPipelines) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelines) GetPagelen ¶

func (o *PaginatedPipelines) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedPipelines) GetPagelenOk ¶

func (o *PaginatedPipelines) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelines) GetPrevious ¶

func (o *PaginatedPipelines) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedPipelines) GetPreviousOk ¶

func (o *PaginatedPipelines) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelines) GetSize ¶

func (o *PaginatedPipelines) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedPipelines) GetSizeOk ¶

func (o *PaginatedPipelines) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelines) GetValues ¶

func (o *PaginatedPipelines) GetValues() []Pipeline

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedPipelines) GetValuesOk ¶

func (o *PaginatedPipelines) GetValuesOk() ([]Pipeline, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPipelines) HasNext ¶

func (o *PaginatedPipelines) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedPipelines) HasPage ¶

func (o *PaginatedPipelines) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedPipelines) HasPagelen ¶

func (o *PaginatedPipelines) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedPipelines) HasPrevious ¶

func (o *PaginatedPipelines) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedPipelines) HasSize ¶

func (o *PaginatedPipelines) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedPipelines) HasValues ¶

func (o *PaginatedPipelines) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedPipelines) MarshalJSON ¶

func (o PaginatedPipelines) MarshalJSON() ([]byte, error)

func (*PaginatedPipelines) SetNext ¶

func (o *PaginatedPipelines) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedPipelines) SetPage ¶

func (o *PaginatedPipelines) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedPipelines) SetPagelen ¶

func (o *PaginatedPipelines) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedPipelines) SetPrevious ¶

func (o *PaginatedPipelines) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedPipelines) SetSize ¶

func (o *PaginatedPipelines) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedPipelines) SetValues ¶

func (o *PaginatedPipelines) SetValues(v []Pipeline)

SetValues gets a reference to the given []Pipeline and assigns it to the Values field.

func (*PaginatedPipelines) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedPipelines) UnmarshalJSON(bytes []byte) (err error)

type PaginatedProjects ¶

type PaginatedProjects struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string   `json:"previous,omitempty"`
	Values               []Project `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedProjects A paginated list of projects

func NewPaginatedProjects ¶

func NewPaginatedProjects() *PaginatedProjects

NewPaginatedProjects instantiates a new PaginatedProjects object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedProjectsWithDefaults ¶

func NewPaginatedProjectsWithDefaults() *PaginatedProjects

NewPaginatedProjectsWithDefaults instantiates a new PaginatedProjects object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedProjects) GetNext ¶

func (o *PaginatedProjects) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedProjects) GetNextOk ¶

func (o *PaginatedProjects) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedProjects) GetPage ¶

func (o *PaginatedProjects) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedProjects) GetPageOk ¶

func (o *PaginatedProjects) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedProjects) GetPagelen ¶

func (o *PaginatedProjects) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedProjects) GetPagelenOk ¶

func (o *PaginatedProjects) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedProjects) GetPrevious ¶

func (o *PaginatedProjects) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedProjects) GetPreviousOk ¶

func (o *PaginatedProjects) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedProjects) GetSize ¶

func (o *PaginatedProjects) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedProjects) GetSizeOk ¶

func (o *PaginatedProjects) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedProjects) GetValues ¶

func (o *PaginatedProjects) GetValues() []Project

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedProjects) GetValuesOk ¶

func (o *PaginatedProjects) GetValuesOk() ([]Project, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedProjects) HasNext ¶

func (o *PaginatedProjects) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedProjects) HasPage ¶

func (o *PaginatedProjects) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedProjects) HasPagelen ¶

func (o *PaginatedProjects) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedProjects) HasPrevious ¶

func (o *PaginatedProjects) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedProjects) HasSize ¶

func (o *PaginatedProjects) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedProjects) HasValues ¶

func (o *PaginatedProjects) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedProjects) MarshalJSON ¶

func (o PaginatedProjects) MarshalJSON() ([]byte, error)

func (*PaginatedProjects) SetNext ¶

func (o *PaginatedProjects) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedProjects) SetPage ¶

func (o *PaginatedProjects) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedProjects) SetPagelen ¶

func (o *PaginatedProjects) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedProjects) SetPrevious ¶

func (o *PaginatedProjects) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedProjects) SetSize ¶

func (o *PaginatedProjects) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedProjects) SetValues ¶

func (o *PaginatedProjects) SetValues(v []Project)

SetValues gets a reference to the given []Project and assigns it to the Values field.

func (*PaginatedProjects) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedProjects) UnmarshalJSON(bytes []byte) (err error)

type PaginatedPullrequestComments ¶

type PaginatedPullrequestComments struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string              `json:"previous,omitempty"`
	Values               []PullrequestComment `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedPullrequestComments A paginated list of pullrequest comments.

func NewPaginatedPullrequestComments ¶

func NewPaginatedPullrequestComments() *PaginatedPullrequestComments

NewPaginatedPullrequestComments instantiates a new PaginatedPullrequestComments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedPullrequestCommentsWithDefaults ¶

func NewPaginatedPullrequestCommentsWithDefaults() *PaginatedPullrequestComments

NewPaginatedPullrequestCommentsWithDefaults instantiates a new PaginatedPullrequestComments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedPullrequestComments) GetNext ¶

func (o *PaginatedPullrequestComments) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedPullrequestComments) GetNextOk ¶

func (o *PaginatedPullrequestComments) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequestComments) GetPage ¶

func (o *PaginatedPullrequestComments) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedPullrequestComments) GetPageOk ¶

func (o *PaginatedPullrequestComments) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequestComments) GetPagelen ¶

func (o *PaginatedPullrequestComments) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedPullrequestComments) GetPagelenOk ¶

func (o *PaginatedPullrequestComments) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequestComments) GetPrevious ¶

func (o *PaginatedPullrequestComments) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedPullrequestComments) GetPreviousOk ¶

func (o *PaginatedPullrequestComments) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequestComments) GetSize ¶

func (o *PaginatedPullrequestComments) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedPullrequestComments) GetSizeOk ¶

func (o *PaginatedPullrequestComments) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequestComments) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedPullrequestComments) GetValuesOk ¶

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequestComments) HasNext ¶

func (o *PaginatedPullrequestComments) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedPullrequestComments) HasPage ¶

func (o *PaginatedPullrequestComments) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedPullrequestComments) HasPagelen ¶

func (o *PaginatedPullrequestComments) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedPullrequestComments) HasPrevious ¶

func (o *PaginatedPullrequestComments) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedPullrequestComments) HasSize ¶

func (o *PaginatedPullrequestComments) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedPullrequestComments) HasValues ¶

func (o *PaginatedPullrequestComments) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedPullrequestComments) MarshalJSON ¶

func (o PaginatedPullrequestComments) MarshalJSON() ([]byte, error)

func (*PaginatedPullrequestComments) SetNext ¶

func (o *PaginatedPullrequestComments) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedPullrequestComments) SetPage ¶

func (o *PaginatedPullrequestComments) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedPullrequestComments) SetPagelen ¶

func (o *PaginatedPullrequestComments) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedPullrequestComments) SetPrevious ¶

func (o *PaginatedPullrequestComments) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedPullrequestComments) SetSize ¶

func (o *PaginatedPullrequestComments) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedPullrequestComments) SetValues ¶

SetValues gets a reference to the given []PullrequestComment and assigns it to the Values field.

func (*PaginatedPullrequestComments) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedPullrequestComments) UnmarshalJSON(bytes []byte) (err error)

type PaginatedPullrequests ¶

type PaginatedPullrequests struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string       `json:"previous,omitempty"`
	Values               []Pullrequest `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedPullrequests A paginated list of pullrequests.

func NewPaginatedPullrequests ¶

func NewPaginatedPullrequests() *PaginatedPullrequests

NewPaginatedPullrequests instantiates a new PaginatedPullrequests object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedPullrequestsWithDefaults ¶

func NewPaginatedPullrequestsWithDefaults() *PaginatedPullrequests

NewPaginatedPullrequestsWithDefaults instantiates a new PaginatedPullrequests object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedPullrequests) GetNext ¶

func (o *PaginatedPullrequests) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedPullrequests) GetNextOk ¶

func (o *PaginatedPullrequests) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequests) GetPage ¶

func (o *PaginatedPullrequests) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedPullrequests) GetPageOk ¶

func (o *PaginatedPullrequests) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequests) GetPagelen ¶

func (o *PaginatedPullrequests) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedPullrequests) GetPagelenOk ¶

func (o *PaginatedPullrequests) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequests) GetPrevious ¶

func (o *PaginatedPullrequests) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedPullrequests) GetPreviousOk ¶

func (o *PaginatedPullrequests) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequests) GetSize ¶

func (o *PaginatedPullrequests) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedPullrequests) GetSizeOk ¶

func (o *PaginatedPullrequests) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequests) GetValues ¶

func (o *PaginatedPullrequests) GetValues() []Pullrequest

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedPullrequests) GetValuesOk ¶

func (o *PaginatedPullrequests) GetValuesOk() ([]Pullrequest, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedPullrequests) HasNext ¶

func (o *PaginatedPullrequests) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedPullrequests) HasPage ¶

func (o *PaginatedPullrequests) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedPullrequests) HasPagelen ¶

func (o *PaginatedPullrequests) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedPullrequests) HasPrevious ¶

func (o *PaginatedPullrequests) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedPullrequests) HasSize ¶

func (o *PaginatedPullrequests) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedPullrequests) HasValues ¶

func (o *PaginatedPullrequests) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedPullrequests) MarshalJSON ¶

func (o PaginatedPullrequests) MarshalJSON() ([]byte, error)

func (*PaginatedPullrequests) SetNext ¶

func (o *PaginatedPullrequests) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedPullrequests) SetPage ¶

func (o *PaginatedPullrequests) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedPullrequests) SetPagelen ¶

func (o *PaginatedPullrequests) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedPullrequests) SetPrevious ¶

func (o *PaginatedPullrequests) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedPullrequests) SetSize ¶

func (o *PaginatedPullrequests) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedPullrequests) SetValues ¶

func (o *PaginatedPullrequests) SetValues(v []Pullrequest)

SetValues gets a reference to the given []Pullrequest and assigns it to the Values field.

func (*PaginatedPullrequests) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedPullrequests) UnmarshalJSON(bytes []byte) (err error)

type PaginatedRefs ¶

type PaginatedRefs struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	Values               []Ref   `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedRefs A paginated list of refs.

func NewPaginatedRefs ¶

func NewPaginatedRefs() *PaginatedRefs

NewPaginatedRefs instantiates a new PaginatedRefs object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedRefsWithDefaults ¶

func NewPaginatedRefsWithDefaults() *PaginatedRefs

NewPaginatedRefsWithDefaults instantiates a new PaginatedRefs object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedRefs) GetNext ¶

func (o *PaginatedRefs) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedRefs) GetNextOk ¶

func (o *PaginatedRefs) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRefs) GetPage ¶

func (o *PaginatedRefs) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedRefs) GetPageOk ¶

func (o *PaginatedRefs) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRefs) GetPagelen ¶

func (o *PaginatedRefs) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedRefs) GetPagelenOk ¶

func (o *PaginatedRefs) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRefs) GetPrevious ¶

func (o *PaginatedRefs) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedRefs) GetPreviousOk ¶

func (o *PaginatedRefs) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRefs) GetSize ¶

func (o *PaginatedRefs) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedRefs) GetSizeOk ¶

func (o *PaginatedRefs) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRefs) GetValues ¶

func (o *PaginatedRefs) GetValues() []Ref

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedRefs) GetValuesOk ¶

func (o *PaginatedRefs) GetValuesOk() ([]Ref, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRefs) HasNext ¶

func (o *PaginatedRefs) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedRefs) HasPage ¶

func (o *PaginatedRefs) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedRefs) HasPagelen ¶

func (o *PaginatedRefs) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedRefs) HasPrevious ¶

func (o *PaginatedRefs) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedRefs) HasSize ¶

func (o *PaginatedRefs) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedRefs) HasValues ¶

func (o *PaginatedRefs) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedRefs) MarshalJSON ¶

func (o PaginatedRefs) MarshalJSON() ([]byte, error)

func (*PaginatedRefs) SetNext ¶

func (o *PaginatedRefs) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedRefs) SetPage ¶

func (o *PaginatedRefs) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedRefs) SetPagelen ¶

func (o *PaginatedRefs) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedRefs) SetPrevious ¶

func (o *PaginatedRefs) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedRefs) SetSize ¶

func (o *PaginatedRefs) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedRefs) SetValues ¶

func (o *PaginatedRefs) SetValues(v []Ref)

SetValues gets a reference to the given []Ref and assigns it to the Values field.

func (*PaginatedRefs) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedRefs) UnmarshalJSON(bytes []byte) (err error)

type PaginatedReports ¶

type PaginatedReports struct {
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// The values of the current page.
	Values []Report `json:"values,omitempty"`
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedReports A paginated list of reports.

func NewPaginatedReports ¶

func NewPaginatedReports() *PaginatedReports

NewPaginatedReports instantiates a new PaginatedReports object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedReportsWithDefaults ¶

func NewPaginatedReportsWithDefaults() *PaginatedReports

NewPaginatedReportsWithDefaults instantiates a new PaginatedReports object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedReports) GetNext ¶

func (o *PaginatedReports) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedReports) GetNextOk ¶

func (o *PaginatedReports) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedReports) GetPage ¶

func (o *PaginatedReports) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedReports) GetPageOk ¶

func (o *PaginatedReports) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedReports) GetPagelen ¶

func (o *PaginatedReports) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedReports) GetPagelenOk ¶

func (o *PaginatedReports) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedReports) GetPrevious ¶

func (o *PaginatedReports) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedReports) GetPreviousOk ¶

func (o *PaginatedReports) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedReports) GetSize ¶

func (o *PaginatedReports) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedReports) GetSizeOk ¶

func (o *PaginatedReports) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedReports) GetValues ¶

func (o *PaginatedReports) GetValues() []Report

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedReports) GetValuesOk ¶

func (o *PaginatedReports) GetValuesOk() ([]Report, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedReports) HasNext ¶

func (o *PaginatedReports) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedReports) HasPage ¶

func (o *PaginatedReports) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedReports) HasPagelen ¶

func (o *PaginatedReports) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedReports) HasPrevious ¶

func (o *PaginatedReports) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedReports) HasSize ¶

func (o *PaginatedReports) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedReports) HasValues ¶

func (o *PaginatedReports) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedReports) MarshalJSON ¶

func (o PaginatedReports) MarshalJSON() ([]byte, error)

func (*PaginatedReports) SetNext ¶

func (o *PaginatedReports) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedReports) SetPage ¶

func (o *PaginatedReports) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedReports) SetPagelen ¶

func (o *PaginatedReports) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedReports) SetPrevious ¶

func (o *PaginatedReports) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedReports) SetSize ¶

func (o *PaginatedReports) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedReports) SetValues ¶

func (o *PaginatedReports) SetValues(v []Report)

SetValues gets a reference to the given []Report and assigns it to the Values field.

func (*PaginatedReports) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedReports) UnmarshalJSON(bytes []byte) (err error)

type PaginatedRepositories ¶

type PaginatedRepositories struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string      `json:"previous,omitempty"`
	Values               []Repository `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedRepositories A paginated list of repositories.

func NewPaginatedRepositories ¶

func NewPaginatedRepositories() *PaginatedRepositories

NewPaginatedRepositories instantiates a new PaginatedRepositories object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedRepositoriesWithDefaults ¶

func NewPaginatedRepositoriesWithDefaults() *PaginatedRepositories

NewPaginatedRepositoriesWithDefaults instantiates a new PaginatedRepositories object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedRepositories) GetNext ¶

func (o *PaginatedRepositories) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedRepositories) GetNextOk ¶

func (o *PaginatedRepositories) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositories) GetPage ¶

func (o *PaginatedRepositories) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedRepositories) GetPageOk ¶

func (o *PaginatedRepositories) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositories) GetPagelen ¶

func (o *PaginatedRepositories) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedRepositories) GetPagelenOk ¶

func (o *PaginatedRepositories) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositories) GetPrevious ¶

func (o *PaginatedRepositories) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedRepositories) GetPreviousOk ¶

func (o *PaginatedRepositories) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositories) GetSize ¶

func (o *PaginatedRepositories) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedRepositories) GetSizeOk ¶

func (o *PaginatedRepositories) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositories) GetValues ¶

func (o *PaginatedRepositories) GetValues() []Repository

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedRepositories) GetValuesOk ¶

func (o *PaginatedRepositories) GetValuesOk() ([]Repository, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositories) HasNext ¶

func (o *PaginatedRepositories) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedRepositories) HasPage ¶

func (o *PaginatedRepositories) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedRepositories) HasPagelen ¶

func (o *PaginatedRepositories) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedRepositories) HasPrevious ¶

func (o *PaginatedRepositories) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedRepositories) HasSize ¶

func (o *PaginatedRepositories) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedRepositories) HasValues ¶

func (o *PaginatedRepositories) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedRepositories) MarshalJSON ¶

func (o PaginatedRepositories) MarshalJSON() ([]byte, error)

func (*PaginatedRepositories) SetNext ¶

func (o *PaginatedRepositories) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedRepositories) SetPage ¶

func (o *PaginatedRepositories) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedRepositories) SetPagelen ¶

func (o *PaginatedRepositories) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedRepositories) SetPrevious ¶

func (o *PaginatedRepositories) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedRepositories) SetSize ¶

func (o *PaginatedRepositories) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedRepositories) SetValues ¶

func (o *PaginatedRepositories) SetValues(v []Repository)

SetValues gets a reference to the given []Repository and assigns it to the Values field.

func (*PaginatedRepositories) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedRepositories) UnmarshalJSON(bytes []byte) (err error)

type PaginatedRepositoryGroupPermissions ¶

type PaginatedRepositoryGroupPermissions struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string                     `json:"previous,omitempty"`
	Values               []RepositoryGroupPermission `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedRepositoryGroupPermissions A paginated list of repository group permissions.

func NewPaginatedRepositoryGroupPermissions ¶

func NewPaginatedRepositoryGroupPermissions() *PaginatedRepositoryGroupPermissions

NewPaginatedRepositoryGroupPermissions instantiates a new PaginatedRepositoryGroupPermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedRepositoryGroupPermissionsWithDefaults ¶

func NewPaginatedRepositoryGroupPermissionsWithDefaults() *PaginatedRepositoryGroupPermissions

NewPaginatedRepositoryGroupPermissionsWithDefaults instantiates a new PaginatedRepositoryGroupPermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedRepositoryGroupPermissions) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedRepositoryGroupPermissions) GetNextOk ¶

func (o *PaginatedRepositoryGroupPermissions) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryGroupPermissions) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedRepositoryGroupPermissions) GetPageOk ¶

func (o *PaginatedRepositoryGroupPermissions) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryGroupPermissions) GetPagelen ¶

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedRepositoryGroupPermissions) GetPagelenOk ¶

func (o *PaginatedRepositoryGroupPermissions) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryGroupPermissions) GetPrevious ¶

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedRepositoryGroupPermissions) GetPreviousOk ¶

func (o *PaginatedRepositoryGroupPermissions) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryGroupPermissions) GetSize ¶

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedRepositoryGroupPermissions) GetSizeOk ¶

func (o *PaginatedRepositoryGroupPermissions) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryGroupPermissions) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedRepositoryGroupPermissions) GetValuesOk ¶

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryGroupPermissions) HasNext ¶

HasNext returns a boolean if a field has been set.

func (*PaginatedRepositoryGroupPermissions) HasPage ¶

HasPage returns a boolean if a field has been set.

func (*PaginatedRepositoryGroupPermissions) HasPagelen ¶

func (o *PaginatedRepositoryGroupPermissions) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedRepositoryGroupPermissions) HasPrevious ¶

func (o *PaginatedRepositoryGroupPermissions) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedRepositoryGroupPermissions) HasSize ¶

HasSize returns a boolean if a field has been set.

func (*PaginatedRepositoryGroupPermissions) HasValues ¶

HasValues returns a boolean if a field has been set.

func (PaginatedRepositoryGroupPermissions) MarshalJSON ¶

func (o PaginatedRepositoryGroupPermissions) MarshalJSON() ([]byte, error)

func (*PaginatedRepositoryGroupPermissions) SetNext ¶

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedRepositoryGroupPermissions) SetPage ¶

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedRepositoryGroupPermissions) SetPagelen ¶

func (o *PaginatedRepositoryGroupPermissions) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedRepositoryGroupPermissions) SetPrevious ¶

func (o *PaginatedRepositoryGroupPermissions) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedRepositoryGroupPermissions) SetSize ¶

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedRepositoryGroupPermissions) SetValues ¶

SetValues gets a reference to the given []RepositoryGroupPermission and assigns it to the Values field.

func (*PaginatedRepositoryGroupPermissions) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedRepositoryGroupPermissions) UnmarshalJSON(bytes []byte) (err error)

type PaginatedRepositoryPermissions ¶

type PaginatedRepositoryPermissions struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string                `json:"previous,omitempty"`
	Values               []RepositoryPermission `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedRepositoryPermissions A paginated list of repository permissions.

func NewPaginatedRepositoryPermissions ¶

func NewPaginatedRepositoryPermissions() *PaginatedRepositoryPermissions

NewPaginatedRepositoryPermissions instantiates a new PaginatedRepositoryPermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedRepositoryPermissionsWithDefaults ¶

func NewPaginatedRepositoryPermissionsWithDefaults() *PaginatedRepositoryPermissions

NewPaginatedRepositoryPermissionsWithDefaults instantiates a new PaginatedRepositoryPermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedRepositoryPermissions) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedRepositoryPermissions) GetNextOk ¶

func (o *PaginatedRepositoryPermissions) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryPermissions) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedRepositoryPermissions) GetPageOk ¶

func (o *PaginatedRepositoryPermissions) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryPermissions) GetPagelen ¶

func (o *PaginatedRepositoryPermissions) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedRepositoryPermissions) GetPagelenOk ¶

func (o *PaginatedRepositoryPermissions) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryPermissions) GetPrevious ¶

func (o *PaginatedRepositoryPermissions) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedRepositoryPermissions) GetPreviousOk ¶

func (o *PaginatedRepositoryPermissions) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryPermissions) GetSize ¶

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedRepositoryPermissions) GetSizeOk ¶

func (o *PaginatedRepositoryPermissions) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryPermissions) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedRepositoryPermissions) GetValuesOk ¶

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryPermissions) HasNext ¶

func (o *PaginatedRepositoryPermissions) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedRepositoryPermissions) HasPage ¶

func (o *PaginatedRepositoryPermissions) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedRepositoryPermissions) HasPagelen ¶

func (o *PaginatedRepositoryPermissions) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedRepositoryPermissions) HasPrevious ¶

func (o *PaginatedRepositoryPermissions) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedRepositoryPermissions) HasSize ¶

func (o *PaginatedRepositoryPermissions) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedRepositoryPermissions) HasValues ¶

func (o *PaginatedRepositoryPermissions) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedRepositoryPermissions) MarshalJSON ¶

func (o PaginatedRepositoryPermissions) MarshalJSON() ([]byte, error)

func (*PaginatedRepositoryPermissions) SetNext ¶

func (o *PaginatedRepositoryPermissions) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedRepositoryPermissions) SetPage ¶

func (o *PaginatedRepositoryPermissions) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedRepositoryPermissions) SetPagelen ¶

func (o *PaginatedRepositoryPermissions) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedRepositoryPermissions) SetPrevious ¶

func (o *PaginatedRepositoryPermissions) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedRepositoryPermissions) SetSize ¶

func (o *PaginatedRepositoryPermissions) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedRepositoryPermissions) SetValues ¶

SetValues gets a reference to the given []RepositoryPermission and assigns it to the Values field.

func (*PaginatedRepositoryPermissions) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedRepositoryPermissions) UnmarshalJSON(bytes []byte) (err error)

type PaginatedRepositoryUserPermissions ¶

type PaginatedRepositoryUserPermissions struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string                    `json:"previous,omitempty"`
	Values               []RepositoryUserPermission `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedRepositoryUserPermissions A paginated list of repository user permissions.

func NewPaginatedRepositoryUserPermissions ¶

func NewPaginatedRepositoryUserPermissions() *PaginatedRepositoryUserPermissions

NewPaginatedRepositoryUserPermissions instantiates a new PaginatedRepositoryUserPermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedRepositoryUserPermissionsWithDefaults ¶

func NewPaginatedRepositoryUserPermissionsWithDefaults() *PaginatedRepositoryUserPermissions

NewPaginatedRepositoryUserPermissionsWithDefaults instantiates a new PaginatedRepositoryUserPermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedRepositoryUserPermissions) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedRepositoryUserPermissions) GetNextOk ¶

func (o *PaginatedRepositoryUserPermissions) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryUserPermissions) GetPage ¶

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedRepositoryUserPermissions) GetPageOk ¶

func (o *PaginatedRepositoryUserPermissions) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryUserPermissions) GetPagelen ¶

func (o *PaginatedRepositoryUserPermissions) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedRepositoryUserPermissions) GetPagelenOk ¶

func (o *PaginatedRepositoryUserPermissions) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryUserPermissions) GetPrevious ¶

func (o *PaginatedRepositoryUserPermissions) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedRepositoryUserPermissions) GetPreviousOk ¶

func (o *PaginatedRepositoryUserPermissions) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryUserPermissions) GetSize ¶

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedRepositoryUserPermissions) GetSizeOk ¶

func (o *PaginatedRepositoryUserPermissions) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryUserPermissions) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedRepositoryUserPermissions) GetValuesOk ¶

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedRepositoryUserPermissions) HasNext ¶

HasNext returns a boolean if a field has been set.

func (*PaginatedRepositoryUserPermissions) HasPage ¶

HasPage returns a boolean if a field has been set.

func (*PaginatedRepositoryUserPermissions) HasPagelen ¶

func (o *PaginatedRepositoryUserPermissions) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedRepositoryUserPermissions) HasPrevious ¶

func (o *PaginatedRepositoryUserPermissions) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedRepositoryUserPermissions) HasSize ¶

HasSize returns a boolean if a field has been set.

func (*PaginatedRepositoryUserPermissions) HasValues ¶

HasValues returns a boolean if a field has been set.

func (PaginatedRepositoryUserPermissions) MarshalJSON ¶

func (o PaginatedRepositoryUserPermissions) MarshalJSON() ([]byte, error)

func (*PaginatedRepositoryUserPermissions) SetNext ¶

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedRepositoryUserPermissions) SetPage ¶

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedRepositoryUserPermissions) SetPagelen ¶

func (o *PaginatedRepositoryUserPermissions) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedRepositoryUserPermissions) SetPrevious ¶

func (o *PaginatedRepositoryUserPermissions) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedRepositoryUserPermissions) SetSize ¶

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedRepositoryUserPermissions) SetValues ¶

SetValues gets a reference to the given []RepositoryUserPermission and assigns it to the Values field.

func (*PaginatedRepositoryUserPermissions) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedRepositoryUserPermissions) UnmarshalJSON(bytes []byte) (err error)

type PaginatedSnippetComments ¶

type PaginatedSnippetComments struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string          `json:"previous,omitempty"`
	Values               []SnippetComment `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedSnippetComments A paginated list of snippet comments.

func NewPaginatedSnippetComments ¶

func NewPaginatedSnippetComments() *PaginatedSnippetComments

NewPaginatedSnippetComments instantiates a new PaginatedSnippetComments object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedSnippetCommentsWithDefaults ¶

func NewPaginatedSnippetCommentsWithDefaults() *PaginatedSnippetComments

NewPaginatedSnippetCommentsWithDefaults instantiates a new PaginatedSnippetComments object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedSnippetComments) GetNext ¶

func (o *PaginatedSnippetComments) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedSnippetComments) GetNextOk ¶

func (o *PaginatedSnippetComments) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetComments) GetPage ¶

func (o *PaginatedSnippetComments) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedSnippetComments) GetPageOk ¶

func (o *PaginatedSnippetComments) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetComments) GetPagelen ¶

func (o *PaginatedSnippetComments) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedSnippetComments) GetPagelenOk ¶

func (o *PaginatedSnippetComments) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetComments) GetPrevious ¶

func (o *PaginatedSnippetComments) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedSnippetComments) GetPreviousOk ¶

func (o *PaginatedSnippetComments) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetComments) GetSize ¶

func (o *PaginatedSnippetComments) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedSnippetComments) GetSizeOk ¶

func (o *PaginatedSnippetComments) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetComments) GetValues ¶

func (o *PaginatedSnippetComments) GetValues() []SnippetComment

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedSnippetComments) GetValuesOk ¶

func (o *PaginatedSnippetComments) GetValuesOk() ([]SnippetComment, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetComments) HasNext ¶

func (o *PaginatedSnippetComments) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedSnippetComments) HasPage ¶

func (o *PaginatedSnippetComments) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedSnippetComments) HasPagelen ¶

func (o *PaginatedSnippetComments) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedSnippetComments) HasPrevious ¶

func (o *PaginatedSnippetComments) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedSnippetComments) HasSize ¶

func (o *PaginatedSnippetComments) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedSnippetComments) HasValues ¶

func (o *PaginatedSnippetComments) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedSnippetComments) MarshalJSON ¶

func (o PaginatedSnippetComments) MarshalJSON() ([]byte, error)

func (*PaginatedSnippetComments) SetNext ¶

func (o *PaginatedSnippetComments) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedSnippetComments) SetPage ¶

func (o *PaginatedSnippetComments) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedSnippetComments) SetPagelen ¶

func (o *PaginatedSnippetComments) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedSnippetComments) SetPrevious ¶

func (o *PaginatedSnippetComments) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedSnippetComments) SetSize ¶

func (o *PaginatedSnippetComments) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedSnippetComments) SetValues ¶

func (o *PaginatedSnippetComments) SetValues(v []SnippetComment)

SetValues gets a reference to the given []SnippetComment and assigns it to the Values field.

func (*PaginatedSnippetComments) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedSnippetComments) UnmarshalJSON(bytes []byte) (err error)

type PaginatedSnippetCommit ¶

type PaginatedSnippetCommit struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string         `json:"previous,omitempty"`
	Values               []SnippetCommit `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedSnippetCommit A paginated list of snippet commits.

func NewPaginatedSnippetCommit ¶

func NewPaginatedSnippetCommit() *PaginatedSnippetCommit

NewPaginatedSnippetCommit instantiates a new PaginatedSnippetCommit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedSnippetCommitWithDefaults ¶

func NewPaginatedSnippetCommitWithDefaults() *PaginatedSnippetCommit

NewPaginatedSnippetCommitWithDefaults instantiates a new PaginatedSnippetCommit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedSnippetCommit) GetNext ¶

func (o *PaginatedSnippetCommit) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedSnippetCommit) GetNextOk ¶

func (o *PaginatedSnippetCommit) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetCommit) GetPage ¶

func (o *PaginatedSnippetCommit) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedSnippetCommit) GetPageOk ¶

func (o *PaginatedSnippetCommit) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetCommit) GetPagelen ¶

func (o *PaginatedSnippetCommit) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedSnippetCommit) GetPagelenOk ¶

func (o *PaginatedSnippetCommit) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetCommit) GetPrevious ¶

func (o *PaginatedSnippetCommit) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedSnippetCommit) GetPreviousOk ¶

func (o *PaginatedSnippetCommit) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetCommit) GetSize ¶

func (o *PaginatedSnippetCommit) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedSnippetCommit) GetSizeOk ¶

func (o *PaginatedSnippetCommit) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetCommit) GetValues ¶

func (o *PaginatedSnippetCommit) GetValues() []SnippetCommit

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedSnippetCommit) GetValuesOk ¶

func (o *PaginatedSnippetCommit) GetValuesOk() ([]SnippetCommit, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippetCommit) HasNext ¶

func (o *PaginatedSnippetCommit) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedSnippetCommit) HasPage ¶

func (o *PaginatedSnippetCommit) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedSnippetCommit) HasPagelen ¶

func (o *PaginatedSnippetCommit) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedSnippetCommit) HasPrevious ¶

func (o *PaginatedSnippetCommit) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedSnippetCommit) HasSize ¶

func (o *PaginatedSnippetCommit) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedSnippetCommit) HasValues ¶

func (o *PaginatedSnippetCommit) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedSnippetCommit) MarshalJSON ¶

func (o PaginatedSnippetCommit) MarshalJSON() ([]byte, error)

func (*PaginatedSnippetCommit) SetNext ¶

func (o *PaginatedSnippetCommit) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedSnippetCommit) SetPage ¶

func (o *PaginatedSnippetCommit) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedSnippetCommit) SetPagelen ¶

func (o *PaginatedSnippetCommit) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedSnippetCommit) SetPrevious ¶

func (o *PaginatedSnippetCommit) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedSnippetCommit) SetSize ¶

func (o *PaginatedSnippetCommit) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedSnippetCommit) SetValues ¶

func (o *PaginatedSnippetCommit) SetValues(v []SnippetCommit)

SetValues gets a reference to the given []SnippetCommit and assigns it to the Values field.

func (*PaginatedSnippetCommit) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedSnippetCommit) UnmarshalJSON(bytes []byte) (err error)

type PaginatedSnippets ¶

type PaginatedSnippets struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string   `json:"previous,omitempty"`
	Values               []Snippet `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedSnippets A paginated list of snippets.

func NewPaginatedSnippets ¶

func NewPaginatedSnippets() *PaginatedSnippets

NewPaginatedSnippets instantiates a new PaginatedSnippets object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedSnippetsWithDefaults ¶

func NewPaginatedSnippetsWithDefaults() *PaginatedSnippets

NewPaginatedSnippetsWithDefaults instantiates a new PaginatedSnippets object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedSnippets) GetNext ¶

func (o *PaginatedSnippets) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedSnippets) GetNextOk ¶

func (o *PaginatedSnippets) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippets) GetPage ¶

func (o *PaginatedSnippets) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedSnippets) GetPageOk ¶

func (o *PaginatedSnippets) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippets) GetPagelen ¶

func (o *PaginatedSnippets) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedSnippets) GetPagelenOk ¶

func (o *PaginatedSnippets) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippets) GetPrevious ¶

func (o *PaginatedSnippets) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedSnippets) GetPreviousOk ¶

func (o *PaginatedSnippets) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippets) GetSize ¶

func (o *PaginatedSnippets) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedSnippets) GetSizeOk ¶

func (o *PaginatedSnippets) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippets) GetValues ¶

func (o *PaginatedSnippets) GetValues() []Snippet

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedSnippets) GetValuesOk ¶

func (o *PaginatedSnippets) GetValuesOk() ([]Snippet, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSnippets) HasNext ¶

func (o *PaginatedSnippets) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedSnippets) HasPage ¶

func (o *PaginatedSnippets) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedSnippets) HasPagelen ¶

func (o *PaginatedSnippets) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedSnippets) HasPrevious ¶

func (o *PaginatedSnippets) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedSnippets) HasSize ¶

func (o *PaginatedSnippets) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedSnippets) HasValues ¶

func (o *PaginatedSnippets) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedSnippets) MarshalJSON ¶

func (o PaginatedSnippets) MarshalJSON() ([]byte, error)

func (*PaginatedSnippets) SetNext ¶

func (o *PaginatedSnippets) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedSnippets) SetPage ¶

func (o *PaginatedSnippets) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedSnippets) SetPagelen ¶

func (o *PaginatedSnippets) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedSnippets) SetPrevious ¶

func (o *PaginatedSnippets) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedSnippets) SetSize ¶

func (o *PaginatedSnippets) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedSnippets) SetValues ¶

func (o *PaginatedSnippets) SetValues(v []Snippet)

SetValues gets a reference to the given []Snippet and assigns it to the Values field.

func (*PaginatedSnippets) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedSnippets) UnmarshalJSON(bytes []byte) (err error)

type PaginatedSshUserKeys ¶

type PaginatedSshUserKeys struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string         `json:"previous,omitempty"`
	Values               []SshAccountKey `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedSshUserKeys A paginated list of SSH keys.

func NewPaginatedSshUserKeys ¶

func NewPaginatedSshUserKeys() *PaginatedSshUserKeys

NewPaginatedSshUserKeys instantiates a new PaginatedSshUserKeys object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedSshUserKeysWithDefaults ¶

func NewPaginatedSshUserKeysWithDefaults() *PaginatedSshUserKeys

NewPaginatedSshUserKeysWithDefaults instantiates a new PaginatedSshUserKeys object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedSshUserKeys) GetNext ¶

func (o *PaginatedSshUserKeys) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedSshUserKeys) GetNextOk ¶

func (o *PaginatedSshUserKeys) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSshUserKeys) GetPage ¶

func (o *PaginatedSshUserKeys) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedSshUserKeys) GetPageOk ¶

func (o *PaginatedSshUserKeys) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSshUserKeys) GetPagelen ¶

func (o *PaginatedSshUserKeys) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedSshUserKeys) GetPagelenOk ¶

func (o *PaginatedSshUserKeys) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSshUserKeys) GetPrevious ¶

func (o *PaginatedSshUserKeys) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedSshUserKeys) GetPreviousOk ¶

func (o *PaginatedSshUserKeys) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSshUserKeys) GetSize ¶

func (o *PaginatedSshUserKeys) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedSshUserKeys) GetSizeOk ¶

func (o *PaginatedSshUserKeys) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSshUserKeys) GetValues ¶

func (o *PaginatedSshUserKeys) GetValues() []SshAccountKey

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedSshUserKeys) GetValuesOk ¶

func (o *PaginatedSshUserKeys) GetValuesOk() ([]SshAccountKey, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedSshUserKeys) HasNext ¶

func (o *PaginatedSshUserKeys) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedSshUserKeys) HasPage ¶

func (o *PaginatedSshUserKeys) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedSshUserKeys) HasPagelen ¶

func (o *PaginatedSshUserKeys) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedSshUserKeys) HasPrevious ¶

func (o *PaginatedSshUserKeys) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedSshUserKeys) HasSize ¶

func (o *PaginatedSshUserKeys) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedSshUserKeys) HasValues ¶

func (o *PaginatedSshUserKeys) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedSshUserKeys) MarshalJSON ¶

func (o PaginatedSshUserKeys) MarshalJSON() ([]byte, error)

func (*PaginatedSshUserKeys) SetNext ¶

func (o *PaginatedSshUserKeys) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedSshUserKeys) SetPage ¶

func (o *PaginatedSshUserKeys) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedSshUserKeys) SetPagelen ¶

func (o *PaginatedSshUserKeys) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedSshUserKeys) SetPrevious ¶

func (o *PaginatedSshUserKeys) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedSshUserKeys) SetSize ¶

func (o *PaginatedSshUserKeys) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedSshUserKeys) SetValues ¶

func (o *PaginatedSshUserKeys) SetValues(v []SshAccountKey)

SetValues gets a reference to the given []SshAccountKey and assigns it to the Values field.

func (*PaginatedSshUserKeys) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedSshUserKeys) UnmarshalJSON(bytes []byte) (err error)

type PaginatedTags ¶

type PaginatedTags struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	Values               []Tag   `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedTags A paginated list of tags.

func NewPaginatedTags ¶

func NewPaginatedTags() *PaginatedTags

NewPaginatedTags instantiates a new PaginatedTags object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedTagsWithDefaults ¶

func NewPaginatedTagsWithDefaults() *PaginatedTags

NewPaginatedTagsWithDefaults instantiates a new PaginatedTags object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedTags) GetNext ¶

func (o *PaginatedTags) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedTags) GetNextOk ¶

func (o *PaginatedTags) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTags) GetPage ¶

func (o *PaginatedTags) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedTags) GetPageOk ¶

func (o *PaginatedTags) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTags) GetPagelen ¶

func (o *PaginatedTags) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedTags) GetPagelenOk ¶

func (o *PaginatedTags) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTags) GetPrevious ¶

func (o *PaginatedTags) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedTags) GetPreviousOk ¶

func (o *PaginatedTags) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTags) GetSize ¶

func (o *PaginatedTags) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedTags) GetSizeOk ¶

func (o *PaginatedTags) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTags) GetValues ¶

func (o *PaginatedTags) GetValues() []Tag

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedTags) GetValuesOk ¶

func (o *PaginatedTags) GetValuesOk() ([]Tag, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTags) HasNext ¶

func (o *PaginatedTags) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedTags) HasPage ¶

func (o *PaginatedTags) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedTags) HasPagelen ¶

func (o *PaginatedTags) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedTags) HasPrevious ¶

func (o *PaginatedTags) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedTags) HasSize ¶

func (o *PaginatedTags) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedTags) HasValues ¶

func (o *PaginatedTags) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedTags) MarshalJSON ¶

func (o PaginatedTags) MarshalJSON() ([]byte, error)

func (*PaginatedTags) SetNext ¶

func (o *PaginatedTags) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedTags) SetPage ¶

func (o *PaginatedTags) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedTags) SetPagelen ¶

func (o *PaginatedTags) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedTags) SetPrevious ¶

func (o *PaginatedTags) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedTags) SetSize ¶

func (o *PaginatedTags) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedTags) SetValues ¶

func (o *PaginatedTags) SetValues(v []Tag)

SetValues gets a reference to the given []Tag and assigns it to the Values field.

func (*PaginatedTags) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedTags) UnmarshalJSON(bytes []byte) (err error)

type PaginatedTeamPermissions ¶

type PaginatedTeamPermissions struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string          `json:"previous,omitempty"`
	Values               []TeamPermission `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedTeamPermissions A paginated list of team permissions.

func NewPaginatedTeamPermissions ¶

func NewPaginatedTeamPermissions() *PaginatedTeamPermissions

NewPaginatedTeamPermissions instantiates a new PaginatedTeamPermissions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedTeamPermissionsWithDefaults ¶

func NewPaginatedTeamPermissionsWithDefaults() *PaginatedTeamPermissions

NewPaginatedTeamPermissionsWithDefaults instantiates a new PaginatedTeamPermissions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedTeamPermissions) GetNext ¶

func (o *PaginatedTeamPermissions) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedTeamPermissions) GetNextOk ¶

func (o *PaginatedTeamPermissions) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeamPermissions) GetPage ¶

func (o *PaginatedTeamPermissions) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedTeamPermissions) GetPageOk ¶

func (o *PaginatedTeamPermissions) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeamPermissions) GetPagelen ¶

func (o *PaginatedTeamPermissions) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedTeamPermissions) GetPagelenOk ¶

func (o *PaginatedTeamPermissions) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeamPermissions) GetPrevious ¶

func (o *PaginatedTeamPermissions) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedTeamPermissions) GetPreviousOk ¶

func (o *PaginatedTeamPermissions) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeamPermissions) GetSize ¶

func (o *PaginatedTeamPermissions) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedTeamPermissions) GetSizeOk ¶

func (o *PaginatedTeamPermissions) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeamPermissions) GetValues ¶

func (o *PaginatedTeamPermissions) GetValues() []TeamPermission

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedTeamPermissions) GetValuesOk ¶

func (o *PaginatedTeamPermissions) GetValuesOk() ([]TeamPermission, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeamPermissions) HasNext ¶

func (o *PaginatedTeamPermissions) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedTeamPermissions) HasPage ¶

func (o *PaginatedTeamPermissions) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedTeamPermissions) HasPagelen ¶

func (o *PaginatedTeamPermissions) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedTeamPermissions) HasPrevious ¶

func (o *PaginatedTeamPermissions) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedTeamPermissions) HasSize ¶

func (o *PaginatedTeamPermissions) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedTeamPermissions) HasValues ¶

func (o *PaginatedTeamPermissions) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedTeamPermissions) MarshalJSON ¶

func (o PaginatedTeamPermissions) MarshalJSON() ([]byte, error)

func (*PaginatedTeamPermissions) SetNext ¶

func (o *PaginatedTeamPermissions) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedTeamPermissions) SetPage ¶

func (o *PaginatedTeamPermissions) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedTeamPermissions) SetPagelen ¶

func (o *PaginatedTeamPermissions) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedTeamPermissions) SetPrevious ¶

func (o *PaginatedTeamPermissions) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedTeamPermissions) SetSize ¶

func (o *PaginatedTeamPermissions) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedTeamPermissions) SetValues ¶

func (o *PaginatedTeamPermissions) SetValues(v []TeamPermission)

SetValues gets a reference to the given []TeamPermission and assigns it to the Values field.

func (*PaginatedTeamPermissions) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedTeamPermissions) UnmarshalJSON(bytes []byte) (err error)

type PaginatedTeams ¶

type PaginatedTeams struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	Values               []Team  `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedTeams A paginated list of teams.

func NewPaginatedTeams ¶

func NewPaginatedTeams() *PaginatedTeams

NewPaginatedTeams instantiates a new PaginatedTeams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedTeamsWithDefaults ¶

func NewPaginatedTeamsWithDefaults() *PaginatedTeams

NewPaginatedTeamsWithDefaults instantiates a new PaginatedTeams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedTeams) GetNext ¶

func (o *PaginatedTeams) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedTeams) GetNextOk ¶

func (o *PaginatedTeams) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeams) GetPage ¶

func (o *PaginatedTeams) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedTeams) GetPageOk ¶

func (o *PaginatedTeams) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeams) GetPagelen ¶

func (o *PaginatedTeams) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedTeams) GetPagelenOk ¶

func (o *PaginatedTeams) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeams) GetPrevious ¶

func (o *PaginatedTeams) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedTeams) GetPreviousOk ¶

func (o *PaginatedTeams) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeams) GetSize ¶

func (o *PaginatedTeams) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedTeams) GetSizeOk ¶

func (o *PaginatedTeams) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeams) GetValues ¶

func (o *PaginatedTeams) GetValues() []Team

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedTeams) GetValuesOk ¶

func (o *PaginatedTeams) GetValuesOk() ([]Team, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTeams) HasNext ¶

func (o *PaginatedTeams) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedTeams) HasPage ¶

func (o *PaginatedTeams) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedTeams) HasPagelen ¶

func (o *PaginatedTeams) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedTeams) HasPrevious ¶

func (o *PaginatedTeams) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedTeams) HasSize ¶

func (o *PaginatedTeams) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedTeams) HasValues ¶

func (o *PaginatedTeams) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedTeams) MarshalJSON ¶

func (o PaginatedTeams) MarshalJSON() ([]byte, error)

func (*PaginatedTeams) SetNext ¶

func (o *PaginatedTeams) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedTeams) SetPage ¶

func (o *PaginatedTeams) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedTeams) SetPagelen ¶

func (o *PaginatedTeams) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedTeams) SetPrevious ¶

func (o *PaginatedTeams) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedTeams) SetSize ¶

func (o *PaginatedTeams) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedTeams) SetValues ¶

func (o *PaginatedTeams) SetValues(v []Team)

SetValues gets a reference to the given []Team and assigns it to the Values field.

func (*PaginatedTeams) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedTeams) UnmarshalJSON(bytes []byte) (err error)

type PaginatedTreeentries ¶

type PaginatedTreeentries struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string     `json:"previous,omitempty"`
	Values               []Treeentry `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedTreeentries A paginated list of commit_file and/or commit_directory objects.

func NewPaginatedTreeentries ¶

func NewPaginatedTreeentries() *PaginatedTreeentries

NewPaginatedTreeentries instantiates a new PaginatedTreeentries object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedTreeentriesWithDefaults ¶

func NewPaginatedTreeentriesWithDefaults() *PaginatedTreeentries

NewPaginatedTreeentriesWithDefaults instantiates a new PaginatedTreeentries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedTreeentries) GetNext ¶

func (o *PaginatedTreeentries) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedTreeentries) GetNextOk ¶

func (o *PaginatedTreeentries) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTreeentries) GetPage ¶

func (o *PaginatedTreeentries) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedTreeentries) GetPageOk ¶

func (o *PaginatedTreeentries) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTreeentries) GetPagelen ¶

func (o *PaginatedTreeentries) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedTreeentries) GetPagelenOk ¶

func (o *PaginatedTreeentries) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTreeentries) GetPrevious ¶

func (o *PaginatedTreeentries) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedTreeentries) GetPreviousOk ¶

func (o *PaginatedTreeentries) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTreeentries) GetSize ¶

func (o *PaginatedTreeentries) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedTreeentries) GetSizeOk ¶

func (o *PaginatedTreeentries) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTreeentries) GetValues ¶

func (o *PaginatedTreeentries) GetValues() []Treeentry

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedTreeentries) GetValuesOk ¶

func (o *PaginatedTreeentries) GetValuesOk() ([]Treeentry, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedTreeentries) HasNext ¶

func (o *PaginatedTreeentries) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedTreeentries) HasPage ¶

func (o *PaginatedTreeentries) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedTreeentries) HasPagelen ¶

func (o *PaginatedTreeentries) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedTreeentries) HasPrevious ¶

func (o *PaginatedTreeentries) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedTreeentries) HasSize ¶

func (o *PaginatedTreeentries) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedTreeentries) HasValues ¶

func (o *PaginatedTreeentries) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedTreeentries) MarshalJSON ¶

func (o PaginatedTreeentries) MarshalJSON() ([]byte, error)

func (*PaginatedTreeentries) SetNext ¶

func (o *PaginatedTreeentries) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedTreeentries) SetPage ¶

func (o *PaginatedTreeentries) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedTreeentries) SetPagelen ¶

func (o *PaginatedTreeentries) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedTreeentries) SetPrevious ¶

func (o *PaginatedTreeentries) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedTreeentries) SetSize ¶

func (o *PaginatedTreeentries) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedTreeentries) SetValues ¶

func (o *PaginatedTreeentries) SetValues(v []Treeentry)

SetValues gets a reference to the given []Treeentry and assigns it to the Values field.

func (*PaginatedTreeentries) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedTreeentries) UnmarshalJSON(bytes []byte) (err error)

type PaginatedUsers ¶

type PaginatedUsers struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string `json:"previous,omitempty"`
	Values               []User  `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedUsers A paginated list of users.

func NewPaginatedUsers ¶

func NewPaginatedUsers() *PaginatedUsers

NewPaginatedUsers instantiates a new PaginatedUsers object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedUsersWithDefaults ¶

func NewPaginatedUsersWithDefaults() *PaginatedUsers

NewPaginatedUsersWithDefaults instantiates a new PaginatedUsers object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedUsers) GetNext ¶

func (o *PaginatedUsers) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedUsers) GetNextOk ¶

func (o *PaginatedUsers) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedUsers) GetPage ¶

func (o *PaginatedUsers) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedUsers) GetPageOk ¶

func (o *PaginatedUsers) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedUsers) GetPagelen ¶

func (o *PaginatedUsers) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedUsers) GetPagelenOk ¶

func (o *PaginatedUsers) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedUsers) GetPrevious ¶

func (o *PaginatedUsers) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedUsers) GetPreviousOk ¶

func (o *PaginatedUsers) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedUsers) GetSize ¶

func (o *PaginatedUsers) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedUsers) GetSizeOk ¶

func (o *PaginatedUsers) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedUsers) GetValues ¶

func (o *PaginatedUsers) GetValues() []User

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedUsers) GetValuesOk ¶

func (o *PaginatedUsers) GetValuesOk() ([]User, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedUsers) HasNext ¶

func (o *PaginatedUsers) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedUsers) HasPage ¶

func (o *PaginatedUsers) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedUsers) HasPagelen ¶

func (o *PaginatedUsers) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedUsers) HasPrevious ¶

func (o *PaginatedUsers) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedUsers) HasSize ¶

func (o *PaginatedUsers) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedUsers) HasValues ¶

func (o *PaginatedUsers) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedUsers) MarshalJSON ¶

func (o PaginatedUsers) MarshalJSON() ([]byte, error)

func (*PaginatedUsers) SetNext ¶

func (o *PaginatedUsers) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedUsers) SetPage ¶

func (o *PaginatedUsers) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedUsers) SetPagelen ¶

func (o *PaginatedUsers) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedUsers) SetPrevious ¶

func (o *PaginatedUsers) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedUsers) SetSize ¶

func (o *PaginatedUsers) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedUsers) SetValues ¶

func (o *PaginatedUsers) SetValues(v []User)

SetValues gets a reference to the given []User and assigns it to the Values field.

func (*PaginatedUsers) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedUsers) UnmarshalJSON(bytes []byte) (err error)

type PaginatedVersions ¶

type PaginatedVersions struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string   `json:"previous,omitempty"`
	Values               []Version `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedVersions A paginated list of issue tracker versions.

func NewPaginatedVersions ¶

func NewPaginatedVersions() *PaginatedVersions

NewPaginatedVersions instantiates a new PaginatedVersions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedVersionsWithDefaults ¶

func NewPaginatedVersionsWithDefaults() *PaginatedVersions

NewPaginatedVersionsWithDefaults instantiates a new PaginatedVersions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedVersions) GetNext ¶

func (o *PaginatedVersions) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedVersions) GetNextOk ¶

func (o *PaginatedVersions) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedVersions) GetPage ¶

func (o *PaginatedVersions) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedVersions) GetPageOk ¶

func (o *PaginatedVersions) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedVersions) GetPagelen ¶

func (o *PaginatedVersions) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedVersions) GetPagelenOk ¶

func (o *PaginatedVersions) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedVersions) GetPrevious ¶

func (o *PaginatedVersions) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedVersions) GetPreviousOk ¶

func (o *PaginatedVersions) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedVersions) GetSize ¶

func (o *PaginatedVersions) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedVersions) GetSizeOk ¶

func (o *PaginatedVersions) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedVersions) GetValues ¶

func (o *PaginatedVersions) GetValues() []Version

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedVersions) GetValuesOk ¶

func (o *PaginatedVersions) GetValuesOk() ([]Version, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedVersions) HasNext ¶

func (o *PaginatedVersions) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedVersions) HasPage ¶

func (o *PaginatedVersions) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedVersions) HasPagelen ¶

func (o *PaginatedVersions) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedVersions) HasPrevious ¶

func (o *PaginatedVersions) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedVersions) HasSize ¶

func (o *PaginatedVersions) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedVersions) HasValues ¶

func (o *PaginatedVersions) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedVersions) MarshalJSON ¶

func (o PaginatedVersions) MarshalJSON() ([]byte, error)

func (*PaginatedVersions) SetNext ¶

func (o *PaginatedVersions) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedVersions) SetPage ¶

func (o *PaginatedVersions) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedVersions) SetPagelen ¶

func (o *PaginatedVersions) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedVersions) SetPrevious ¶

func (o *PaginatedVersions) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedVersions) SetSize ¶

func (o *PaginatedVersions) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedVersions) SetValues ¶

func (o *PaginatedVersions) SetValues(v []Version)

SetValues gets a reference to the given []Version and assigns it to the Values field.

func (*PaginatedVersions) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedVersions) UnmarshalJSON(bytes []byte) (err error)

type PaginatedWebhookSubscriptions ¶

type PaginatedWebhookSubscriptions struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string               `json:"previous,omitempty"`
	Values               []WebhookSubscription `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedWebhookSubscriptions A paginated list of webhook subscriptions

func NewPaginatedWebhookSubscriptions ¶

func NewPaginatedWebhookSubscriptions() *PaginatedWebhookSubscriptions

NewPaginatedWebhookSubscriptions instantiates a new PaginatedWebhookSubscriptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedWebhookSubscriptionsWithDefaults ¶

func NewPaginatedWebhookSubscriptionsWithDefaults() *PaginatedWebhookSubscriptions

NewPaginatedWebhookSubscriptionsWithDefaults instantiates a new PaginatedWebhookSubscriptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedWebhookSubscriptions) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedWebhookSubscriptions) GetNextOk ¶

func (o *PaginatedWebhookSubscriptions) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWebhookSubscriptions) GetPage ¶

func (o *PaginatedWebhookSubscriptions) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedWebhookSubscriptions) GetPageOk ¶

func (o *PaginatedWebhookSubscriptions) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWebhookSubscriptions) GetPagelen ¶

func (o *PaginatedWebhookSubscriptions) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedWebhookSubscriptions) GetPagelenOk ¶

func (o *PaginatedWebhookSubscriptions) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWebhookSubscriptions) GetPrevious ¶

func (o *PaginatedWebhookSubscriptions) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedWebhookSubscriptions) GetPreviousOk ¶

func (o *PaginatedWebhookSubscriptions) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWebhookSubscriptions) GetSize ¶

func (o *PaginatedWebhookSubscriptions) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedWebhookSubscriptions) GetSizeOk ¶

func (o *PaginatedWebhookSubscriptions) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWebhookSubscriptions) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedWebhookSubscriptions) GetValuesOk ¶

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWebhookSubscriptions) HasNext ¶

func (o *PaginatedWebhookSubscriptions) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedWebhookSubscriptions) HasPage ¶

func (o *PaginatedWebhookSubscriptions) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedWebhookSubscriptions) HasPagelen ¶

func (o *PaginatedWebhookSubscriptions) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedWebhookSubscriptions) HasPrevious ¶

func (o *PaginatedWebhookSubscriptions) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedWebhookSubscriptions) HasSize ¶

func (o *PaginatedWebhookSubscriptions) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedWebhookSubscriptions) HasValues ¶

func (o *PaginatedWebhookSubscriptions) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedWebhookSubscriptions) MarshalJSON ¶

func (o PaginatedWebhookSubscriptions) MarshalJSON() ([]byte, error)

func (*PaginatedWebhookSubscriptions) SetNext ¶

func (o *PaginatedWebhookSubscriptions) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedWebhookSubscriptions) SetPage ¶

func (o *PaginatedWebhookSubscriptions) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedWebhookSubscriptions) SetPagelen ¶

func (o *PaginatedWebhookSubscriptions) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedWebhookSubscriptions) SetPrevious ¶

func (o *PaginatedWebhookSubscriptions) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedWebhookSubscriptions) SetSize ¶

func (o *PaginatedWebhookSubscriptions) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedWebhookSubscriptions) SetValues ¶

SetValues gets a reference to the given []WebhookSubscription and assigns it to the Values field.

func (*PaginatedWebhookSubscriptions) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedWebhookSubscriptions) UnmarshalJSON(bytes []byte) (err error)

type PaginatedWorkspaceMemberships ¶

type PaginatedWorkspaceMemberships struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string               `json:"previous,omitempty"`
	Values               []WorkspaceMembership `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedWorkspaceMemberships A paginated list of workspace memberships.

func NewPaginatedWorkspaceMemberships ¶

func NewPaginatedWorkspaceMemberships() *PaginatedWorkspaceMemberships

NewPaginatedWorkspaceMemberships instantiates a new PaginatedWorkspaceMemberships object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedWorkspaceMembershipsWithDefaults ¶

func NewPaginatedWorkspaceMembershipsWithDefaults() *PaginatedWorkspaceMemberships

NewPaginatedWorkspaceMembershipsWithDefaults instantiates a new PaginatedWorkspaceMemberships object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedWorkspaceMemberships) GetNext ¶

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedWorkspaceMemberships) GetNextOk ¶

func (o *PaginatedWorkspaceMemberships) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaceMemberships) GetPage ¶

func (o *PaginatedWorkspaceMemberships) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedWorkspaceMemberships) GetPageOk ¶

func (o *PaginatedWorkspaceMemberships) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaceMemberships) GetPagelen ¶

func (o *PaginatedWorkspaceMemberships) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedWorkspaceMemberships) GetPagelenOk ¶

func (o *PaginatedWorkspaceMemberships) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaceMemberships) GetPrevious ¶

func (o *PaginatedWorkspaceMemberships) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedWorkspaceMemberships) GetPreviousOk ¶

func (o *PaginatedWorkspaceMemberships) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaceMemberships) GetSize ¶

func (o *PaginatedWorkspaceMemberships) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedWorkspaceMemberships) GetSizeOk ¶

func (o *PaginatedWorkspaceMemberships) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaceMemberships) GetValues ¶

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedWorkspaceMemberships) GetValuesOk ¶

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaceMemberships) HasNext ¶

func (o *PaginatedWorkspaceMemberships) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedWorkspaceMemberships) HasPage ¶

func (o *PaginatedWorkspaceMemberships) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedWorkspaceMemberships) HasPagelen ¶

func (o *PaginatedWorkspaceMemberships) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedWorkspaceMemberships) HasPrevious ¶

func (o *PaginatedWorkspaceMemberships) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedWorkspaceMemberships) HasSize ¶

func (o *PaginatedWorkspaceMemberships) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedWorkspaceMemberships) HasValues ¶

func (o *PaginatedWorkspaceMemberships) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedWorkspaceMemberships) MarshalJSON ¶

func (o PaginatedWorkspaceMemberships) MarshalJSON() ([]byte, error)

func (*PaginatedWorkspaceMemberships) SetNext ¶

func (o *PaginatedWorkspaceMemberships) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedWorkspaceMemberships) SetPage ¶

func (o *PaginatedWorkspaceMemberships) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedWorkspaceMemberships) SetPagelen ¶

func (o *PaginatedWorkspaceMemberships) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedWorkspaceMemberships) SetPrevious ¶

func (o *PaginatedWorkspaceMemberships) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedWorkspaceMemberships) SetSize ¶

func (o *PaginatedWorkspaceMemberships) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedWorkspaceMemberships) SetValues ¶

SetValues gets a reference to the given []WorkspaceMembership and assigns it to the Values field.

func (*PaginatedWorkspaceMemberships) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedWorkspaceMemberships) UnmarshalJSON(bytes []byte) (err error)

type PaginatedWorkspaces ¶

type PaginatedWorkspaces struct {
	// Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
	Size *int32 `json:"size,omitempty"`
	// Page number of the current results. This is an optional element that is not provided in all responses.
	Page *int32 `json:"page,omitempty"`
	// Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
	Pagelen *int32 `json:"pagelen,omitempty"`
	// Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
	Next *string `json:"next,omitempty"`
	// Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
	Previous             *string     `json:"previous,omitempty"`
	Values               []Workspace `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

PaginatedWorkspaces A paginated list of workspaces.

func NewPaginatedWorkspaces ¶

func NewPaginatedWorkspaces() *PaginatedWorkspaces

NewPaginatedWorkspaces instantiates a new PaginatedWorkspaces object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPaginatedWorkspacesWithDefaults ¶

func NewPaginatedWorkspacesWithDefaults() *PaginatedWorkspaces

NewPaginatedWorkspacesWithDefaults instantiates a new PaginatedWorkspaces object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PaginatedWorkspaces) GetNext ¶

func (o *PaginatedWorkspaces) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*PaginatedWorkspaces) GetNextOk ¶

func (o *PaginatedWorkspaces) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaces) GetPage ¶

func (o *PaginatedWorkspaces) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedWorkspaces) GetPageOk ¶

func (o *PaginatedWorkspaces) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaces) GetPagelen ¶

func (o *PaginatedWorkspaces) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*PaginatedWorkspaces) GetPagelenOk ¶

func (o *PaginatedWorkspaces) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaces) GetPrevious ¶

func (o *PaginatedWorkspaces) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*PaginatedWorkspaces) GetPreviousOk ¶

func (o *PaginatedWorkspaces) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaces) GetSize ¶

func (o *PaginatedWorkspaces) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*PaginatedWorkspaces) GetSizeOk ¶

func (o *PaginatedWorkspaces) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaces) GetValues ¶

func (o *PaginatedWorkspaces) GetValues() []Workspace

GetValues returns the Values field value if set, zero value otherwise.

func (*PaginatedWorkspaces) GetValuesOk ¶

func (o *PaginatedWorkspaces) GetValuesOk() ([]Workspace, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PaginatedWorkspaces) HasNext ¶

func (o *PaginatedWorkspaces) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedWorkspaces) HasPage ¶

func (o *PaginatedWorkspaces) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedWorkspaces) HasPagelen ¶

func (o *PaginatedWorkspaces) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*PaginatedWorkspaces) HasPrevious ¶

func (o *PaginatedWorkspaces) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedWorkspaces) HasSize ¶

func (o *PaginatedWorkspaces) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*PaginatedWorkspaces) HasValues ¶

func (o *PaginatedWorkspaces) HasValues() bool

HasValues returns a boolean if a field has been set.

func (PaginatedWorkspaces) MarshalJSON ¶

func (o PaginatedWorkspaces) MarshalJSON() ([]byte, error)

func (*PaginatedWorkspaces) SetNext ¶

func (o *PaginatedWorkspaces) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*PaginatedWorkspaces) SetPage ¶

func (o *PaginatedWorkspaces) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*PaginatedWorkspaces) SetPagelen ¶

func (o *PaginatedWorkspaces) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*PaginatedWorkspaces) SetPrevious ¶

func (o *PaginatedWorkspaces) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*PaginatedWorkspaces) SetSize ¶

func (o *PaginatedWorkspaces) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*PaginatedWorkspaces) SetValues ¶

func (o *PaginatedWorkspaces) SetValues(v []Workspace)

SetValues gets a reference to the given []Workspace and assigns it to the Values field.

func (*PaginatedWorkspaces) UnmarshalJSON ¶ added in v0.0.3

func (o *PaginatedWorkspaces) UnmarshalJSON(bytes []byte) (err error)

type Participant ¶

type Participant struct {
	User     *User   `json:"user,omitempty"`
	Role     *string `json:"role,omitempty"`
	Approved *bool   `json:"approved,omitempty"`
	State    *string `json:"state,omitempty"`
	// The ISO8601 timestamp of the participant's action. For approvers, this is the time of their approval. For commenters and pull request reviewers who are not approvers, this is the time they last commented, or null if they have not commented.
	ParticipatedOn       *time.Time `json:"participated_on,omitempty"`
	AdditionalProperties map[string]interface{}
}

Participant Object describing a user's role on resources like commits or pull requests.

func NewParticipant ¶

func NewParticipant() *Participant

NewParticipant instantiates a new Participant object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewParticipantWithDefaults ¶

func NewParticipantWithDefaults() *Participant

NewParticipantWithDefaults instantiates a new Participant object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Participant) GetApproved ¶

func (o *Participant) GetApproved() bool

GetApproved returns the Approved field value if set, zero value otherwise.

func (*Participant) GetApprovedOk ¶

func (o *Participant) GetApprovedOk() (*bool, bool)

GetApprovedOk returns a tuple with the Approved field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Participant) GetParticipatedOn ¶

func (o *Participant) GetParticipatedOn() time.Time

GetParticipatedOn returns the ParticipatedOn field value if set, zero value otherwise.

func (*Participant) GetParticipatedOnOk ¶

func (o *Participant) GetParticipatedOnOk() (*time.Time, bool)

GetParticipatedOnOk returns a tuple with the ParticipatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Participant) GetRole ¶

func (o *Participant) GetRole() string

GetRole returns the Role field value if set, zero value otherwise.

func (*Participant) GetRoleOk ¶

func (o *Participant) GetRoleOk() (*string, bool)

GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Participant) GetState ¶

func (o *Participant) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Participant) GetStateOk ¶

func (o *Participant) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Participant) GetUser ¶

func (o *Participant) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*Participant) GetUserOk ¶

func (o *Participant) GetUserOk() (*User, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Participant) HasApproved ¶

func (o *Participant) HasApproved() bool

HasApproved returns a boolean if a field has been set.

func (*Participant) HasParticipatedOn ¶

func (o *Participant) HasParticipatedOn() bool

HasParticipatedOn returns a boolean if a field has been set.

func (*Participant) HasRole ¶

func (o *Participant) HasRole() bool

HasRole returns a boolean if a field has been set.

func (*Participant) HasState ¶

func (o *Participant) HasState() bool

HasState returns a boolean if a field has been set.

func (*Participant) HasUser ¶

func (o *Participant) HasUser() bool

HasUser returns a boolean if a field has been set.

func (Participant) MarshalJSON ¶

func (o Participant) MarshalJSON() ([]byte, error)

func (*Participant) SetApproved ¶

func (o *Participant) SetApproved(v bool)

SetApproved gets a reference to the given bool and assigns it to the Approved field.

func (*Participant) SetParticipatedOn ¶

func (o *Participant) SetParticipatedOn(v time.Time)

SetParticipatedOn gets a reference to the given time.Time and assigns it to the ParticipatedOn field.

func (*Participant) SetRole ¶

func (o *Participant) SetRole(v string)

SetRole gets a reference to the given string and assigns it to the Role field.

func (*Participant) SetState ¶

func (o *Participant) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*Participant) SetUser ¶

func (o *Participant) SetUser(v User)

SetUser gets a reference to the given User and assigns it to the User field.

func (*Participant) UnmarshalJSON ¶ added in v0.0.3

func (o *Participant) UnmarshalJSON(bytes []byte) (err error)

type Pipeline ¶

type Pipeline struct {
	// The UUID identifying the pipeline.
	Uuid *string `json:"uuid,omitempty"`
	// The build number of the pipeline.
	BuildNumber *int32           `json:"build_number,omitempty"`
	Creator     *Account         `json:"creator,omitempty"`
	Repository  *Repository      `json:"repository,omitempty"`
	Target      *PipelineTarget  `json:"target,omitempty"`
	Trigger     *PipelineTrigger `json:"trigger,omitempty"`
	State       *PipelineState   `json:"state,omitempty"`
	// The timestamp when the pipeline was created.
	CreatedOn *time.Time `json:"created_on,omitempty"`
	// The timestamp when the Pipeline was completed. This is not set if the pipeline is still in progress.
	CompletedOn *time.Time `json:"completed_on,omitempty"`
	// The number of build seconds used by this pipeline.
	BuildSecondsUsed     *int32 `json:"build_seconds_used,omitempty"`
	AdditionalProperties map[string]interface{}
}

Pipeline A Bitbucket Pipeline. This represents an actual pipeline result.

func NewPipeline ¶

func NewPipeline() *Pipeline

NewPipeline instantiates a new Pipeline object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineWithDefaults ¶

func NewPipelineWithDefaults() *Pipeline

NewPipelineWithDefaults instantiates a new Pipeline object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Pipeline) GetBuildNumber ¶

func (o *Pipeline) GetBuildNumber() int32

GetBuildNumber returns the BuildNumber field value if set, zero value otherwise.

func (*Pipeline) GetBuildNumberOk ¶

func (o *Pipeline) GetBuildNumberOk() (*int32, bool)

GetBuildNumberOk returns a tuple with the BuildNumber field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pipeline) GetBuildSecondsUsed ¶

func (o *Pipeline) GetBuildSecondsUsed() int32

GetBuildSecondsUsed returns the BuildSecondsUsed field value if set, zero value otherwise.

func (*Pipeline) GetBuildSecondsUsedOk ¶

func (o *Pipeline) GetBuildSecondsUsedOk() (*int32, bool)

GetBuildSecondsUsedOk returns a tuple with the BuildSecondsUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pipeline) GetCompletedOn ¶

func (o *Pipeline) GetCompletedOn() time.Time

GetCompletedOn returns the CompletedOn field value if set, zero value otherwise.

func (*Pipeline) GetCompletedOnOk ¶

func (o *Pipeline) GetCompletedOnOk() (*time.Time, bool)

GetCompletedOnOk returns a tuple with the CompletedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pipeline) GetCreatedOn ¶

func (o *Pipeline) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Pipeline) GetCreatedOnOk ¶

func (o *Pipeline) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pipeline) GetCreator ¶

func (o *Pipeline) GetCreator() Account

GetCreator returns the Creator field value if set, zero value otherwise.

func (*Pipeline) GetCreatorOk ¶

func (o *Pipeline) GetCreatorOk() (*Account, bool)

GetCreatorOk returns a tuple with the Creator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pipeline) GetRepository ¶

func (o *Pipeline) GetRepository() Repository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*Pipeline) GetRepositoryOk ¶

func (o *Pipeline) GetRepositoryOk() (*Repository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pipeline) GetState ¶

func (o *Pipeline) GetState() PipelineState

GetState returns the State field value if set, zero value otherwise.

func (*Pipeline) GetStateOk ¶

func (o *Pipeline) GetStateOk() (*PipelineState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pipeline) GetTarget ¶

func (o *Pipeline) GetTarget() PipelineTarget

GetTarget returns the Target field value if set, zero value otherwise.

func (*Pipeline) GetTargetOk ¶

func (o *Pipeline) GetTargetOk() (*PipelineTarget, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pipeline) GetTrigger ¶

func (o *Pipeline) GetTrigger() PipelineTrigger

GetTrigger returns the Trigger field value if set, zero value otherwise.

func (*Pipeline) GetTriggerOk ¶

func (o *Pipeline) GetTriggerOk() (*PipelineTrigger, bool)

GetTriggerOk returns a tuple with the Trigger field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pipeline) GetUuid ¶

func (o *Pipeline) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Pipeline) GetUuidOk ¶

func (o *Pipeline) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pipeline) HasBuildNumber ¶

func (o *Pipeline) HasBuildNumber() bool

HasBuildNumber returns a boolean if a field has been set.

func (*Pipeline) HasBuildSecondsUsed ¶

func (o *Pipeline) HasBuildSecondsUsed() bool

HasBuildSecondsUsed returns a boolean if a field has been set.

func (*Pipeline) HasCompletedOn ¶

func (o *Pipeline) HasCompletedOn() bool

HasCompletedOn returns a boolean if a field has been set.

func (*Pipeline) HasCreatedOn ¶

func (o *Pipeline) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Pipeline) HasCreator ¶

func (o *Pipeline) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*Pipeline) HasRepository ¶

func (o *Pipeline) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (*Pipeline) HasState ¶

func (o *Pipeline) HasState() bool

HasState returns a boolean if a field has been set.

func (*Pipeline) HasTarget ¶

func (o *Pipeline) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*Pipeline) HasTrigger ¶

func (o *Pipeline) HasTrigger() bool

HasTrigger returns a boolean if a field has been set.

func (*Pipeline) HasUuid ¶

func (o *Pipeline) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (Pipeline) MarshalJSON ¶

func (o Pipeline) MarshalJSON() ([]byte, error)

func (*Pipeline) SetBuildNumber ¶

func (o *Pipeline) SetBuildNumber(v int32)

SetBuildNumber gets a reference to the given int32 and assigns it to the BuildNumber field.

func (*Pipeline) SetBuildSecondsUsed ¶

func (o *Pipeline) SetBuildSecondsUsed(v int32)

SetBuildSecondsUsed gets a reference to the given int32 and assigns it to the BuildSecondsUsed field.

func (*Pipeline) SetCompletedOn ¶

func (o *Pipeline) SetCompletedOn(v time.Time)

SetCompletedOn gets a reference to the given time.Time and assigns it to the CompletedOn field.

func (*Pipeline) SetCreatedOn ¶

func (o *Pipeline) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Pipeline) SetCreator ¶

func (o *Pipeline) SetCreator(v Account)

SetCreator gets a reference to the given Account and assigns it to the Creator field.

func (*Pipeline) SetRepository ¶

func (o *Pipeline) SetRepository(v Repository)

SetRepository gets a reference to the given Repository and assigns it to the Repository field.

func (*Pipeline) SetState ¶

func (o *Pipeline) SetState(v PipelineState)

SetState gets a reference to the given PipelineState and assigns it to the State field.

func (*Pipeline) SetTarget ¶

func (o *Pipeline) SetTarget(v PipelineTarget)

SetTarget gets a reference to the given PipelineTarget and assigns it to the Target field.

func (*Pipeline) SetTrigger ¶

func (o *Pipeline) SetTrigger(v PipelineTrigger)

SetTrigger gets a reference to the given PipelineTrigger and assigns it to the Trigger field.

func (*Pipeline) SetUuid ¶

func (o *Pipeline) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*Pipeline) UnmarshalJSON ¶ added in v0.0.3

func (o *Pipeline) UnmarshalJSON(bytes []byte) (err error)

type PipelineBuildNumber ¶

type PipelineBuildNumber struct {
	// The next number that will be used as build number.
	Next                 *int32 `json:"next,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineBuildNumber A Pipelines build number.

func NewPipelineBuildNumber ¶

func NewPipelineBuildNumber() *PipelineBuildNumber

NewPipelineBuildNumber instantiates a new PipelineBuildNumber object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineBuildNumberWithDefaults ¶

func NewPipelineBuildNumberWithDefaults() *PipelineBuildNumber

NewPipelineBuildNumberWithDefaults instantiates a new PipelineBuildNumber object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineBuildNumber) GetNext ¶

func (o *PipelineBuildNumber) GetNext() int32

GetNext returns the Next field value if set, zero value otherwise.

func (*PipelineBuildNumber) GetNextOk ¶

func (o *PipelineBuildNumber) GetNextOk() (*int32, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineBuildNumber) HasNext ¶

func (o *PipelineBuildNumber) HasNext() bool

HasNext returns a boolean if a field has been set.

func (PipelineBuildNumber) MarshalJSON ¶

func (o PipelineBuildNumber) MarshalJSON() ([]byte, error)

func (*PipelineBuildNumber) SetNext ¶

func (o *PipelineBuildNumber) SetNext(v int32)

SetNext gets a reference to the given int32 and assigns it to the Next field.

func (*PipelineBuildNumber) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineBuildNumber) UnmarshalJSON(bytes []byte) (err error)

type PipelineCache ¶

type PipelineCache struct {
	// The UUID identifying the pipeline cache.
	Uuid *string `json:"uuid,omitempty"`
	// The UUID of the pipeline that created the cache.
	PipelineUuid *string `json:"pipeline_uuid,omitempty"`
	// The uuid of the step that created the cache.
	StepUuid *string `json:"step_uuid,omitempty"`
	// The name of the cache.
	Name *string `json:"name,omitempty"`
	// The path where the cache contents were retrieved from.
	Path *string `json:"path,omitempty"`
	// The size of the file containing the archive of the cache.
	FileSizeBytes *int32 `json:"file_size_bytes,omitempty"`
	// The timestamp when the cache was created.
	CreatedOn            *time.Time `json:"created_on,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineCache A representation of metadata for a pipeline cache for given repository.

func NewPipelineCache ¶

func NewPipelineCache() *PipelineCache

NewPipelineCache instantiates a new PipelineCache object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineCacheWithDefaults ¶

func NewPipelineCacheWithDefaults() *PipelineCache

NewPipelineCacheWithDefaults instantiates a new PipelineCache object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineCache) GetCreatedOn ¶

func (o *PipelineCache) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*PipelineCache) GetCreatedOnOk ¶

func (o *PipelineCache) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCache) GetFileSizeBytes ¶

func (o *PipelineCache) GetFileSizeBytes() int32

GetFileSizeBytes returns the FileSizeBytes field value if set, zero value otherwise.

func (*PipelineCache) GetFileSizeBytesOk ¶

func (o *PipelineCache) GetFileSizeBytesOk() (*int32, bool)

GetFileSizeBytesOk returns a tuple with the FileSizeBytes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCache) GetName ¶

func (o *PipelineCache) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineCache) GetNameOk ¶

func (o *PipelineCache) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCache) GetPath ¶

func (o *PipelineCache) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*PipelineCache) GetPathOk ¶

func (o *PipelineCache) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCache) GetPipelineUuid ¶

func (o *PipelineCache) GetPipelineUuid() string

GetPipelineUuid returns the PipelineUuid field value if set, zero value otherwise.

func (*PipelineCache) GetPipelineUuidOk ¶

func (o *PipelineCache) GetPipelineUuidOk() (*string, bool)

GetPipelineUuidOk returns a tuple with the PipelineUuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCache) GetStepUuid ¶

func (o *PipelineCache) GetStepUuid() string

GetStepUuid returns the StepUuid field value if set, zero value otherwise.

func (*PipelineCache) GetStepUuidOk ¶

func (o *PipelineCache) GetStepUuidOk() (*string, bool)

GetStepUuidOk returns a tuple with the StepUuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCache) GetUuid ¶

func (o *PipelineCache) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*PipelineCache) GetUuidOk ¶

func (o *PipelineCache) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCache) HasCreatedOn ¶

func (o *PipelineCache) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*PipelineCache) HasFileSizeBytes ¶

func (o *PipelineCache) HasFileSizeBytes() bool

HasFileSizeBytes returns a boolean if a field has been set.

func (*PipelineCache) HasName ¶

func (o *PipelineCache) HasName() bool

HasName returns a boolean if a field has been set.

func (*PipelineCache) HasPath ¶

func (o *PipelineCache) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*PipelineCache) HasPipelineUuid ¶

func (o *PipelineCache) HasPipelineUuid() bool

HasPipelineUuid returns a boolean if a field has been set.

func (*PipelineCache) HasStepUuid ¶

func (o *PipelineCache) HasStepUuid() bool

HasStepUuid returns a boolean if a field has been set.

func (*PipelineCache) HasUuid ¶

func (o *PipelineCache) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (PipelineCache) MarshalJSON ¶

func (o PipelineCache) MarshalJSON() ([]byte, error)

func (*PipelineCache) SetCreatedOn ¶

func (o *PipelineCache) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*PipelineCache) SetFileSizeBytes ¶

func (o *PipelineCache) SetFileSizeBytes(v int32)

SetFileSizeBytes gets a reference to the given int32 and assigns it to the FileSizeBytes field.

func (*PipelineCache) SetName ¶

func (o *PipelineCache) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineCache) SetPath ¶

func (o *PipelineCache) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*PipelineCache) SetPipelineUuid ¶

func (o *PipelineCache) SetPipelineUuid(v string)

SetPipelineUuid gets a reference to the given string and assigns it to the PipelineUuid field.

func (*PipelineCache) SetStepUuid ¶

func (o *PipelineCache) SetStepUuid(v string)

SetStepUuid gets a reference to the given string and assigns it to the StepUuid field.

func (*PipelineCache) SetUuid ¶

func (o *PipelineCache) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*PipelineCache) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineCache) UnmarshalJSON(bytes []byte) (err error)

type PipelineCacheContentUri ¶

type PipelineCacheContentUri struct {
	// The uri for pipeline cache content.
	Uri                  *string `json:"uri,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineCacheContentUri A representation of the location of pipeline cache content.

func NewPipelineCacheContentUri ¶

func NewPipelineCacheContentUri() *PipelineCacheContentUri

NewPipelineCacheContentUri instantiates a new PipelineCacheContentUri object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineCacheContentUriWithDefaults ¶

func NewPipelineCacheContentUriWithDefaults() *PipelineCacheContentUri

NewPipelineCacheContentUriWithDefaults instantiates a new PipelineCacheContentUri object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineCacheContentUri) GetUri ¶

func (o *PipelineCacheContentUri) GetUri() string

GetUri returns the Uri field value if set, zero value otherwise.

func (*PipelineCacheContentUri) GetUriOk ¶

func (o *PipelineCacheContentUri) GetUriOk() (*string, bool)

GetUriOk returns a tuple with the Uri field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCacheContentUri) HasUri ¶

func (o *PipelineCacheContentUri) HasUri() bool

HasUri returns a boolean if a field has been set.

func (PipelineCacheContentUri) MarshalJSON ¶

func (o PipelineCacheContentUri) MarshalJSON() ([]byte, error)

func (*PipelineCacheContentUri) SetUri ¶

func (o *PipelineCacheContentUri) SetUri(v string)

SetUri gets a reference to the given string and assigns it to the Uri field.

func (*PipelineCacheContentUri) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineCacheContentUri) UnmarshalJSON(bytes []byte) (err error)

type PipelineCommand ¶

type PipelineCommand struct {
	// The name of the command.
	Name *string `json:"name,omitempty"`
	// The executable command.
	Command              *string `json:"command,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineCommand An executable pipeline command.

func NewPipelineCommand ¶

func NewPipelineCommand() *PipelineCommand

NewPipelineCommand instantiates a new PipelineCommand object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineCommandWithDefaults ¶

func NewPipelineCommandWithDefaults() *PipelineCommand

NewPipelineCommandWithDefaults instantiates a new PipelineCommand object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineCommand) GetCommand ¶

func (o *PipelineCommand) GetCommand() string

GetCommand returns the Command field value if set, zero value otherwise.

func (*PipelineCommand) GetCommandOk ¶

func (o *PipelineCommand) GetCommandOk() (*string, bool)

GetCommandOk returns a tuple with the Command field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCommand) GetName ¶

func (o *PipelineCommand) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineCommand) GetNameOk ¶

func (o *PipelineCommand) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCommand) HasCommand ¶

func (o *PipelineCommand) HasCommand() bool

HasCommand returns a boolean if a field has been set.

func (*PipelineCommand) HasName ¶

func (o *PipelineCommand) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineCommand) MarshalJSON ¶

func (o PipelineCommand) MarshalJSON() ([]byte, error)

func (*PipelineCommand) SetCommand ¶

func (o *PipelineCommand) SetCommand(v string)

SetCommand gets a reference to the given string and assigns it to the Command field.

func (*PipelineCommand) SetName ¶

func (o *PipelineCommand) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineCommand) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineCommand) UnmarshalJSON(bytes []byte) (err error)

type PipelineCommitTarget ¶

type PipelineCommitTarget struct {
	Commit               *Commit           `json:"commit,omitempty"`
	Selector             *PipelineSelector `json:"selector,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineCommitTarget A Bitbucket Pipelines commit target.

func NewPipelineCommitTarget ¶

func NewPipelineCommitTarget() *PipelineCommitTarget

NewPipelineCommitTarget instantiates a new PipelineCommitTarget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineCommitTargetWithDefaults ¶

func NewPipelineCommitTargetWithDefaults() *PipelineCommitTarget

NewPipelineCommitTargetWithDefaults instantiates a new PipelineCommitTarget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineCommitTarget) GetCommit ¶

func (o *PipelineCommitTarget) GetCommit() Commit

GetCommit returns the Commit field value if set, zero value otherwise.

func (*PipelineCommitTarget) GetCommitOk ¶

func (o *PipelineCommitTarget) GetCommitOk() (*Commit, bool)

GetCommitOk returns a tuple with the Commit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCommitTarget) GetSelector ¶

func (o *PipelineCommitTarget) GetSelector() PipelineSelector

GetSelector returns the Selector field value if set, zero value otherwise.

func (*PipelineCommitTarget) GetSelectorOk ¶

func (o *PipelineCommitTarget) GetSelectorOk() (*PipelineSelector, bool)

GetSelectorOk returns a tuple with the Selector field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCommitTarget) HasCommit ¶

func (o *PipelineCommitTarget) HasCommit() bool

HasCommit returns a boolean if a field has been set.

func (*PipelineCommitTarget) HasSelector ¶

func (o *PipelineCommitTarget) HasSelector() bool

HasSelector returns a boolean if a field has been set.

func (PipelineCommitTarget) MarshalJSON ¶

func (o PipelineCommitTarget) MarshalJSON() ([]byte, error)

func (*PipelineCommitTarget) SetCommit ¶

func (o *PipelineCommitTarget) SetCommit(v Commit)

SetCommit gets a reference to the given Commit and assigns it to the Commit field.

func (*PipelineCommitTarget) SetSelector ¶

func (o *PipelineCommitTarget) SetSelector(v PipelineSelector)

SetSelector gets a reference to the given PipelineSelector and assigns it to the Selector field.

func (*PipelineCommitTarget) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineCommitTarget) UnmarshalJSON(bytes []byte) (err error)

type PipelineCompletedError ¶

type PipelineCompletedError struct {
	// The name of the result (ERROR)
	Name                 *string        `json:"name,omitempty"`
	Error                *PipelineError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineCompletedError A Bitbucket Pipelines ERROR pipeline result.

func NewPipelineCompletedError ¶

func NewPipelineCompletedError() *PipelineCompletedError

NewPipelineCompletedError instantiates a new PipelineCompletedError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineCompletedErrorWithDefaults ¶

func NewPipelineCompletedErrorWithDefaults() *PipelineCompletedError

NewPipelineCompletedErrorWithDefaults instantiates a new PipelineCompletedError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineCompletedError) GetError ¶

func (o *PipelineCompletedError) GetError() PipelineError

GetError returns the Error field value if set, zero value otherwise.

func (*PipelineCompletedError) GetErrorOk ¶

func (o *PipelineCompletedError) GetErrorOk() (*PipelineError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCompletedError) GetName ¶

func (o *PipelineCompletedError) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineCompletedError) GetNameOk ¶

func (o *PipelineCompletedError) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCompletedError) HasError ¶

func (o *PipelineCompletedError) HasError() bool

HasError returns a boolean if a field has been set.

func (*PipelineCompletedError) HasName ¶

func (o *PipelineCompletedError) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineCompletedError) MarshalJSON ¶

func (o PipelineCompletedError) MarshalJSON() ([]byte, error)

func (*PipelineCompletedError) SetError ¶

func (o *PipelineCompletedError) SetError(v PipelineError)

SetError gets a reference to the given PipelineError and assigns it to the Error field.

func (*PipelineCompletedError) SetName ¶

func (o *PipelineCompletedError) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineCompletedError) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineCompletedError) UnmarshalJSON(bytes []byte) (err error)

type PipelineCompletedState ¶

type PipelineCompletedState struct {
	// The name of pipeline state (COMPLETED).
	Name                 *string                       `json:"name,omitempty"`
	Result               *PipelineStateCompletedResult `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineCompletedState A Bitbucket Pipelines COMPLETED pipeline state.

func NewPipelineCompletedState ¶

func NewPipelineCompletedState() *PipelineCompletedState

NewPipelineCompletedState instantiates a new PipelineCompletedState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineCompletedStateWithDefaults ¶

func NewPipelineCompletedStateWithDefaults() *PipelineCompletedState

NewPipelineCompletedStateWithDefaults instantiates a new PipelineCompletedState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineCompletedState) GetName ¶

func (o *PipelineCompletedState) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineCompletedState) GetNameOk ¶

func (o *PipelineCompletedState) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCompletedState) GetResult ¶

GetResult returns the Result field value if set, zero value otherwise.

func (*PipelineCompletedState) GetResultOk ¶

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineCompletedState) HasName ¶

func (o *PipelineCompletedState) HasName() bool

HasName returns a boolean if a field has been set.

func (*PipelineCompletedState) HasResult ¶

func (o *PipelineCompletedState) HasResult() bool

HasResult returns a boolean if a field has been set.

func (PipelineCompletedState) MarshalJSON ¶

func (o PipelineCompletedState) MarshalJSON() ([]byte, error)

func (*PipelineCompletedState) SetName ¶

func (o *PipelineCompletedState) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineCompletedState) SetResult ¶

SetResult gets a reference to the given PipelineStateCompletedResult and assigns it to the Result field.

func (*PipelineCompletedState) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineCompletedState) UnmarshalJSON(bytes []byte) (err error)

type PipelineError ¶

type PipelineError struct {
	// The error key.
	Key *string `json:"key,omitempty"`
	// The error message.
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineError An error causing a pipeline failure.

func NewPipelineError ¶

func NewPipelineError() *PipelineError

NewPipelineError instantiates a new PipelineError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineErrorWithDefaults ¶

func NewPipelineErrorWithDefaults() *PipelineError

NewPipelineErrorWithDefaults instantiates a new PipelineError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineError) GetKey ¶

func (o *PipelineError) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*PipelineError) GetKeyOk ¶

func (o *PipelineError) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineError) GetMessage ¶

func (o *PipelineError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*PipelineError) GetMessageOk ¶

func (o *PipelineError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineError) HasKey ¶

func (o *PipelineError) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*PipelineError) HasMessage ¶

func (o *PipelineError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (PipelineError) MarshalJSON ¶

func (o PipelineError) MarshalJSON() ([]byte, error)

func (*PipelineError) SetKey ¶

func (o *PipelineError) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*PipelineError) SetMessage ¶

func (o *PipelineError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*PipelineError) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineError) UnmarshalJSON(bytes []byte) (err error)

type PipelineImage ¶

type PipelineImage struct {
	// The name of the image. If the image is hosted on DockerHub the short name can be used, otherwise the fully qualified name is required here.
	Name *string `json:"name,omitempty"`
	// The username needed to authenticate with the Docker registry. Only required when using a private Docker image.
	Username *string `json:"username,omitempty"`
	// The password needed to authenticate with the Docker registry. Only required when using a private Docker image.
	Password *string `json:"password,omitempty"`
	// The email needed to authenticate with the Docker registry. Only required when using a private Docker image.
	Email                *string `json:"email,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineImage The definition of a Docker image that can be used for a Bitbucket Pipelines step execution context.

func NewPipelineImage ¶

func NewPipelineImage() *PipelineImage

NewPipelineImage instantiates a new PipelineImage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineImageWithDefaults ¶

func NewPipelineImageWithDefaults() *PipelineImage

NewPipelineImageWithDefaults instantiates a new PipelineImage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineImage) GetEmail ¶

func (o *PipelineImage) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*PipelineImage) GetEmailOk ¶

func (o *PipelineImage) GetEmailOk() (*string, bool)

GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineImage) GetName ¶

func (o *PipelineImage) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineImage) GetNameOk ¶

func (o *PipelineImage) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineImage) GetPassword ¶

func (o *PipelineImage) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*PipelineImage) GetPasswordOk ¶

func (o *PipelineImage) GetPasswordOk() (*string, bool)

GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineImage) GetUsername ¶

func (o *PipelineImage) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*PipelineImage) GetUsernameOk ¶

func (o *PipelineImage) GetUsernameOk() (*string, bool)

GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineImage) HasEmail ¶

func (o *PipelineImage) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*PipelineImage) HasName ¶

func (o *PipelineImage) HasName() bool

HasName returns a boolean if a field has been set.

func (*PipelineImage) HasPassword ¶

func (o *PipelineImage) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*PipelineImage) HasUsername ¶

func (o *PipelineImage) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (PipelineImage) MarshalJSON ¶

func (o PipelineImage) MarshalJSON() ([]byte, error)

func (*PipelineImage) SetEmail ¶

func (o *PipelineImage) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*PipelineImage) SetName ¶

func (o *PipelineImage) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineImage) SetPassword ¶

func (o *PipelineImage) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*PipelineImage) SetUsername ¶

func (o *PipelineImage) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (*PipelineImage) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineImage) UnmarshalJSON(bytes []byte) (err error)

type PipelineInProgressState ¶

type PipelineInProgressState struct {
	// The name of pipeline state (IN_PROGRESS).
	Name                 *string                       `json:"name,omitempty"`
	Stage                *PipelineStateInProgressStage `json:"stage,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineInProgressState A Bitbucket Pipelines IN_PROGRESS pipeline state.

func NewPipelineInProgressState ¶

func NewPipelineInProgressState() *PipelineInProgressState

NewPipelineInProgressState instantiates a new PipelineInProgressState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineInProgressStateWithDefaults ¶

func NewPipelineInProgressStateWithDefaults() *PipelineInProgressState

NewPipelineInProgressStateWithDefaults instantiates a new PipelineInProgressState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineInProgressState) GetName ¶

func (o *PipelineInProgressState) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineInProgressState) GetNameOk ¶

func (o *PipelineInProgressState) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineInProgressState) GetStage ¶

GetStage returns the Stage field value if set, zero value otherwise.

func (*PipelineInProgressState) GetStageOk ¶

GetStageOk returns a tuple with the Stage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineInProgressState) HasName ¶

func (o *PipelineInProgressState) HasName() bool

HasName returns a boolean if a field has been set.

func (*PipelineInProgressState) HasStage ¶

func (o *PipelineInProgressState) HasStage() bool

HasStage returns a boolean if a field has been set.

func (PipelineInProgressState) MarshalJSON ¶

func (o PipelineInProgressState) MarshalJSON() ([]byte, error)

func (*PipelineInProgressState) SetName ¶

func (o *PipelineInProgressState) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineInProgressState) SetStage ¶

SetStage gets a reference to the given PipelineStateInProgressStage and assigns it to the Stage field.

func (*PipelineInProgressState) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineInProgressState) UnmarshalJSON(bytes []byte) (err error)

type PipelineKnownHost ¶

type PipelineKnownHost struct {
	// The UUID identifying the known host.
	Uuid *string `json:"uuid,omitempty"`
	// The hostname of the known host.
	Hostname             *string               `json:"hostname,omitempty"`
	PublicKey            *PipelineSshPublicKey `json:"public_key,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineKnownHost A Pipelines known host.

func NewPipelineKnownHost ¶

func NewPipelineKnownHost() *PipelineKnownHost

NewPipelineKnownHost instantiates a new PipelineKnownHost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineKnownHostWithDefaults ¶

func NewPipelineKnownHostWithDefaults() *PipelineKnownHost

NewPipelineKnownHostWithDefaults instantiates a new PipelineKnownHost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineKnownHost) GetHostname ¶

func (o *PipelineKnownHost) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*PipelineKnownHost) GetHostnameOk ¶

func (o *PipelineKnownHost) GetHostnameOk() (*string, bool)

GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineKnownHost) GetPublicKey ¶

func (o *PipelineKnownHost) GetPublicKey() PipelineSshPublicKey

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*PipelineKnownHost) GetPublicKeyOk ¶

func (o *PipelineKnownHost) GetPublicKeyOk() (*PipelineSshPublicKey, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineKnownHost) GetUuid ¶

func (o *PipelineKnownHost) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*PipelineKnownHost) GetUuidOk ¶

func (o *PipelineKnownHost) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineKnownHost) HasHostname ¶

func (o *PipelineKnownHost) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*PipelineKnownHost) HasPublicKey ¶

func (o *PipelineKnownHost) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*PipelineKnownHost) HasUuid ¶

func (o *PipelineKnownHost) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (PipelineKnownHost) MarshalJSON ¶

func (o PipelineKnownHost) MarshalJSON() ([]byte, error)

func (*PipelineKnownHost) SetHostname ¶

func (o *PipelineKnownHost) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*PipelineKnownHost) SetPublicKey ¶

func (o *PipelineKnownHost) SetPublicKey(v PipelineSshPublicKey)

SetPublicKey gets a reference to the given PipelineSshPublicKey and assigns it to the PublicKey field.

func (*PipelineKnownHost) SetUuid ¶

func (o *PipelineKnownHost) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*PipelineKnownHost) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineKnownHost) UnmarshalJSON(bytes []byte) (err error)

type PipelinePendingState ¶

type PipelinePendingState struct {
	// The name of pipeline state (PENDING).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelinePendingState A Bitbucket Pipelines PENDING pipeline state.

func NewPipelinePendingState ¶

func NewPipelinePendingState() *PipelinePendingState

NewPipelinePendingState instantiates a new PipelinePendingState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelinePendingStateWithDefaults ¶

func NewPipelinePendingStateWithDefaults() *PipelinePendingState

NewPipelinePendingStateWithDefaults instantiates a new PipelinePendingState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelinePendingState) GetName ¶

func (o *PipelinePendingState) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelinePendingState) GetNameOk ¶

func (o *PipelinePendingState) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelinePendingState) HasName ¶

func (o *PipelinePendingState) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelinePendingState) MarshalJSON ¶

func (o PipelinePendingState) MarshalJSON() ([]byte, error)

func (*PipelinePendingState) SetName ¶

func (o *PipelinePendingState) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelinePendingState) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelinePendingState) UnmarshalJSON(bytes []byte) (err error)

type PipelineRefTarget ¶

type PipelineRefTarget struct {
	// The type of reference (branch/tag).
	RefType *string `json:"ref_type,omitempty"`
	// The name of the reference.
	RefName              *string           `json:"ref_name,omitempty"`
	Commit               *Commit           `json:"commit,omitempty"`
	Selector             *PipelineSelector `json:"selector,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineRefTarget A Bitbucket Pipelines reference target.

func NewPipelineRefTarget ¶

func NewPipelineRefTarget() *PipelineRefTarget

NewPipelineRefTarget instantiates a new PipelineRefTarget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineRefTargetWithDefaults ¶

func NewPipelineRefTargetWithDefaults() *PipelineRefTarget

NewPipelineRefTargetWithDefaults instantiates a new PipelineRefTarget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineRefTarget) GetCommit ¶

func (o *PipelineRefTarget) GetCommit() Commit

GetCommit returns the Commit field value if set, zero value otherwise.

func (*PipelineRefTarget) GetCommitOk ¶

func (o *PipelineRefTarget) GetCommitOk() (*Commit, bool)

GetCommitOk returns a tuple with the Commit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineRefTarget) GetRefName ¶

func (o *PipelineRefTarget) GetRefName() string

GetRefName returns the RefName field value if set, zero value otherwise.

func (*PipelineRefTarget) GetRefNameOk ¶

func (o *PipelineRefTarget) GetRefNameOk() (*string, bool)

GetRefNameOk returns a tuple with the RefName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineRefTarget) GetRefType ¶

func (o *PipelineRefTarget) GetRefType() string

GetRefType returns the RefType field value if set, zero value otherwise.

func (*PipelineRefTarget) GetRefTypeOk ¶

func (o *PipelineRefTarget) GetRefTypeOk() (*string, bool)

GetRefTypeOk returns a tuple with the RefType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineRefTarget) GetSelector ¶

func (o *PipelineRefTarget) GetSelector() PipelineSelector

GetSelector returns the Selector field value if set, zero value otherwise.

func (*PipelineRefTarget) GetSelectorOk ¶

func (o *PipelineRefTarget) GetSelectorOk() (*PipelineSelector, bool)

GetSelectorOk returns a tuple with the Selector field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineRefTarget) HasCommit ¶

func (o *PipelineRefTarget) HasCommit() bool

HasCommit returns a boolean if a field has been set.

func (*PipelineRefTarget) HasRefName ¶

func (o *PipelineRefTarget) HasRefName() bool

HasRefName returns a boolean if a field has been set.

func (*PipelineRefTarget) HasRefType ¶

func (o *PipelineRefTarget) HasRefType() bool

HasRefType returns a boolean if a field has been set.

func (*PipelineRefTarget) HasSelector ¶

func (o *PipelineRefTarget) HasSelector() bool

HasSelector returns a boolean if a field has been set.

func (PipelineRefTarget) MarshalJSON ¶

func (o PipelineRefTarget) MarshalJSON() ([]byte, error)

func (*PipelineRefTarget) SetCommit ¶

func (o *PipelineRefTarget) SetCommit(v Commit)

SetCommit gets a reference to the given Commit and assigns it to the Commit field.

func (*PipelineRefTarget) SetRefName ¶

func (o *PipelineRefTarget) SetRefName(v string)

SetRefName gets a reference to the given string and assigns it to the RefName field.

func (*PipelineRefTarget) SetRefType ¶

func (o *PipelineRefTarget) SetRefType(v string)

SetRefType gets a reference to the given string and assigns it to the RefType field.

func (*PipelineRefTarget) SetSelector ¶

func (o *PipelineRefTarget) SetSelector(v PipelineSelector)

SetSelector gets a reference to the given PipelineSelector and assigns it to the Selector field.

func (*PipelineRefTarget) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineRefTarget) UnmarshalJSON(bytes []byte) (err error)

type PipelineSchedule ¶

type PipelineSchedule struct {
	// The UUID identifying the schedule.
	Uuid *string `json:"uuid,omitempty"`
	// Whether the schedule is enabled.
	Enabled  *bool             `json:"enabled,omitempty"`
	Target   *PipelineTarget   `json:"target,omitempty"`
	Selector *PipelineSelector `json:"selector,omitempty"`
	// The cron expression that the schedule applies.
	CronPattern *string `json:"cron_pattern,omitempty"`
	// The timestamp when the schedule was created.
	CreatedOn *time.Time `json:"created_on,omitempty"`
	// The timestamp when the schedule was updated.
	UpdatedOn            *time.Time `json:"updated_on,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineSchedule A Pipelines schedule.

func NewPipelineSchedule ¶

func NewPipelineSchedule() *PipelineSchedule

NewPipelineSchedule instantiates a new PipelineSchedule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineScheduleWithDefaults ¶

func NewPipelineScheduleWithDefaults() *PipelineSchedule

NewPipelineScheduleWithDefaults instantiates a new PipelineSchedule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineSchedule) GetCreatedOn ¶

func (o *PipelineSchedule) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*PipelineSchedule) GetCreatedOnOk ¶

func (o *PipelineSchedule) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSchedule) GetCronPattern ¶

func (o *PipelineSchedule) GetCronPattern() string

GetCronPattern returns the CronPattern field value if set, zero value otherwise.

func (*PipelineSchedule) GetCronPatternOk ¶

func (o *PipelineSchedule) GetCronPatternOk() (*string, bool)

GetCronPatternOk returns a tuple with the CronPattern field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSchedule) GetEnabled ¶

func (o *PipelineSchedule) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*PipelineSchedule) GetEnabledOk ¶

func (o *PipelineSchedule) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSchedule) GetSelector ¶

func (o *PipelineSchedule) GetSelector() PipelineSelector

GetSelector returns the Selector field value if set, zero value otherwise.

func (*PipelineSchedule) GetSelectorOk ¶

func (o *PipelineSchedule) GetSelectorOk() (*PipelineSelector, bool)

GetSelectorOk returns a tuple with the Selector field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSchedule) GetTarget ¶

func (o *PipelineSchedule) GetTarget() PipelineTarget

GetTarget returns the Target field value if set, zero value otherwise.

func (*PipelineSchedule) GetTargetOk ¶

func (o *PipelineSchedule) GetTargetOk() (*PipelineTarget, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSchedule) GetUpdatedOn ¶

func (o *PipelineSchedule) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*PipelineSchedule) GetUpdatedOnOk ¶

func (o *PipelineSchedule) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSchedule) GetUuid ¶

func (o *PipelineSchedule) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*PipelineSchedule) GetUuidOk ¶

func (o *PipelineSchedule) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSchedule) HasCreatedOn ¶

func (o *PipelineSchedule) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*PipelineSchedule) HasCronPattern ¶

func (o *PipelineSchedule) HasCronPattern() bool

HasCronPattern returns a boolean if a field has been set.

func (*PipelineSchedule) HasEnabled ¶

func (o *PipelineSchedule) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*PipelineSchedule) HasSelector ¶

func (o *PipelineSchedule) HasSelector() bool

HasSelector returns a boolean if a field has been set.

func (*PipelineSchedule) HasTarget ¶

func (o *PipelineSchedule) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*PipelineSchedule) HasUpdatedOn ¶

func (o *PipelineSchedule) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*PipelineSchedule) HasUuid ¶

func (o *PipelineSchedule) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (PipelineSchedule) MarshalJSON ¶

func (o PipelineSchedule) MarshalJSON() ([]byte, error)

func (*PipelineSchedule) SetCreatedOn ¶

func (o *PipelineSchedule) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*PipelineSchedule) SetCronPattern ¶

func (o *PipelineSchedule) SetCronPattern(v string)

SetCronPattern gets a reference to the given string and assigns it to the CronPattern field.

func (*PipelineSchedule) SetEnabled ¶

func (o *PipelineSchedule) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*PipelineSchedule) SetSelector ¶

func (o *PipelineSchedule) SetSelector(v PipelineSelector)

SetSelector gets a reference to the given PipelineSelector and assigns it to the Selector field.

func (*PipelineSchedule) SetTarget ¶

func (o *PipelineSchedule) SetTarget(v PipelineTarget)

SetTarget gets a reference to the given PipelineTarget and assigns it to the Target field.

func (*PipelineSchedule) SetUpdatedOn ¶

func (o *PipelineSchedule) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*PipelineSchedule) SetUuid ¶

func (o *PipelineSchedule) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*PipelineSchedule) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineSchedule) UnmarshalJSON(bytes []byte) (err error)

type PipelineScheduleExecution ¶

type PipelineScheduleExecution struct {
	Object
	AdditionalProperties map[string]interface{}
}

PipelineScheduleExecution struct for PipelineScheduleExecution

func NewPipelineScheduleExecution ¶

func NewPipelineScheduleExecution() *PipelineScheduleExecution

NewPipelineScheduleExecution instantiates a new PipelineScheduleExecution object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineScheduleExecutionWithDefaults ¶

func NewPipelineScheduleExecutionWithDefaults() *PipelineScheduleExecution

NewPipelineScheduleExecutionWithDefaults instantiates a new PipelineScheduleExecution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelineScheduleExecution) MarshalJSON ¶

func (o PipelineScheduleExecution) MarshalJSON() ([]byte, error)

func (*PipelineScheduleExecution) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineScheduleExecution) UnmarshalJSON(bytes []byte) (err error)

type PipelineScheduleExecutionErrored ¶

type PipelineScheduleExecutionErrored struct {
	PipelineScheduleExecution
	Error                *PipelineError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineScheduleExecutionErrored struct for PipelineScheduleExecutionErrored

func NewPipelineScheduleExecutionErrored ¶

func NewPipelineScheduleExecutionErrored() *PipelineScheduleExecutionErrored

NewPipelineScheduleExecutionErrored instantiates a new PipelineScheduleExecutionErrored object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineScheduleExecutionErroredWithDefaults ¶

func NewPipelineScheduleExecutionErroredWithDefaults() *PipelineScheduleExecutionErrored

NewPipelineScheduleExecutionErroredWithDefaults instantiates a new PipelineScheduleExecutionErrored object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineScheduleExecutionErrored) GetError ¶

GetError returns the Error field value if set, zero value otherwise.

func (*PipelineScheduleExecutionErrored) GetErrorOk ¶

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineScheduleExecutionErrored) HasError ¶

func (o *PipelineScheduleExecutionErrored) HasError() bool

HasError returns a boolean if a field has been set.

func (PipelineScheduleExecutionErrored) MarshalJSON ¶

func (o PipelineScheduleExecutionErrored) MarshalJSON() ([]byte, error)

func (*PipelineScheduleExecutionErrored) SetError ¶

SetError gets a reference to the given PipelineError and assigns it to the Error field.

func (*PipelineScheduleExecutionErrored) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineScheduleExecutionErrored) UnmarshalJSON(bytes []byte) (err error)

type PipelineScheduleExecutionErroredAllOf ¶

type PipelineScheduleExecutionErroredAllOf struct {
	Error                *PipelineError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineScheduleExecutionErroredAllOf A Pipelines schedule execution that failed to be executed.

func NewPipelineScheduleExecutionErroredAllOf ¶

func NewPipelineScheduleExecutionErroredAllOf() *PipelineScheduleExecutionErroredAllOf

NewPipelineScheduleExecutionErroredAllOf instantiates a new PipelineScheduleExecutionErroredAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineScheduleExecutionErroredAllOfWithDefaults ¶

func NewPipelineScheduleExecutionErroredAllOfWithDefaults() *PipelineScheduleExecutionErroredAllOf

NewPipelineScheduleExecutionErroredAllOfWithDefaults instantiates a new PipelineScheduleExecutionErroredAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineScheduleExecutionErroredAllOf) GetError ¶

GetError returns the Error field value if set, zero value otherwise.

func (*PipelineScheduleExecutionErroredAllOf) GetErrorOk ¶

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineScheduleExecutionErroredAllOf) HasError ¶

HasError returns a boolean if a field has been set.

func (PipelineScheduleExecutionErroredAllOf) MarshalJSON ¶

func (o PipelineScheduleExecutionErroredAllOf) MarshalJSON() ([]byte, error)

func (*PipelineScheduleExecutionErroredAllOf) SetError ¶

SetError gets a reference to the given PipelineError and assigns it to the Error field.

func (*PipelineScheduleExecutionErroredAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineScheduleExecutionErroredAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineScheduleExecutionExecuted ¶

type PipelineScheduleExecutionExecuted struct {
	PipelineScheduleExecution
	Pipeline             *Pipeline `json:"pipeline,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineScheduleExecutionExecuted struct for PipelineScheduleExecutionExecuted

func NewPipelineScheduleExecutionExecuted ¶

func NewPipelineScheduleExecutionExecuted() *PipelineScheduleExecutionExecuted

NewPipelineScheduleExecutionExecuted instantiates a new PipelineScheduleExecutionExecuted object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineScheduleExecutionExecutedWithDefaults ¶

func NewPipelineScheduleExecutionExecutedWithDefaults() *PipelineScheduleExecutionExecuted

NewPipelineScheduleExecutionExecutedWithDefaults instantiates a new PipelineScheduleExecutionExecuted object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineScheduleExecutionExecuted) GetPipeline ¶

GetPipeline returns the Pipeline field value if set, zero value otherwise.

func (*PipelineScheduleExecutionExecuted) GetPipelineOk ¶

func (o *PipelineScheduleExecutionExecuted) GetPipelineOk() (*Pipeline, bool)

GetPipelineOk returns a tuple with the Pipeline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineScheduleExecutionExecuted) HasPipeline ¶

func (o *PipelineScheduleExecutionExecuted) HasPipeline() bool

HasPipeline returns a boolean if a field has been set.

func (PipelineScheduleExecutionExecuted) MarshalJSON ¶

func (o PipelineScheduleExecutionExecuted) MarshalJSON() ([]byte, error)

func (*PipelineScheduleExecutionExecuted) SetPipeline ¶

func (o *PipelineScheduleExecutionExecuted) SetPipeline(v Pipeline)

SetPipeline gets a reference to the given Pipeline and assigns it to the Pipeline field.

func (*PipelineScheduleExecutionExecuted) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineScheduleExecutionExecuted) UnmarshalJSON(bytes []byte) (err error)

type PipelineScheduleExecutionExecutedAllOf ¶

type PipelineScheduleExecutionExecutedAllOf struct {
	Pipeline             *Pipeline `json:"pipeline,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineScheduleExecutionExecutedAllOf A Pipelines executed schedule execution.

func NewPipelineScheduleExecutionExecutedAllOf ¶

func NewPipelineScheduleExecutionExecutedAllOf() *PipelineScheduleExecutionExecutedAllOf

NewPipelineScheduleExecutionExecutedAllOf instantiates a new PipelineScheduleExecutionExecutedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineScheduleExecutionExecutedAllOfWithDefaults ¶

func NewPipelineScheduleExecutionExecutedAllOfWithDefaults() *PipelineScheduleExecutionExecutedAllOf

NewPipelineScheduleExecutionExecutedAllOfWithDefaults instantiates a new PipelineScheduleExecutionExecutedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineScheduleExecutionExecutedAllOf) GetPipeline ¶

GetPipeline returns the Pipeline field value if set, zero value otherwise.

func (*PipelineScheduleExecutionExecutedAllOf) GetPipelineOk ¶

func (o *PipelineScheduleExecutionExecutedAllOf) GetPipelineOk() (*Pipeline, bool)

GetPipelineOk returns a tuple with the Pipeline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineScheduleExecutionExecutedAllOf) HasPipeline ¶

HasPipeline returns a boolean if a field has been set.

func (PipelineScheduleExecutionExecutedAllOf) MarshalJSON ¶

func (o PipelineScheduleExecutionExecutedAllOf) MarshalJSON() ([]byte, error)

func (*PipelineScheduleExecutionExecutedAllOf) SetPipeline ¶

SetPipeline gets a reference to the given Pipeline and assigns it to the Pipeline field.

func (*PipelineScheduleExecutionExecutedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineScheduleExecutionExecutedAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineSelector ¶

type PipelineSelector struct {
	// The type of selector.
	Type *string `json:"type,omitempty"`
	// The name of the matching pipeline definition.
	Pattern              *string `json:"pattern,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineSelector A representation of the selector that was used to identify the pipeline in the YML file.

func NewPipelineSelector ¶

func NewPipelineSelector() *PipelineSelector

NewPipelineSelector instantiates a new PipelineSelector object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineSelectorWithDefaults ¶

func NewPipelineSelectorWithDefaults() *PipelineSelector

NewPipelineSelectorWithDefaults instantiates a new PipelineSelector object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineSelector) GetPattern ¶

func (o *PipelineSelector) GetPattern() string

GetPattern returns the Pattern field value if set, zero value otherwise.

func (*PipelineSelector) GetPatternOk ¶

func (o *PipelineSelector) GetPatternOk() (*string, bool)

GetPatternOk returns a tuple with the Pattern field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSelector) GetType ¶

func (o *PipelineSelector) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*PipelineSelector) GetTypeOk ¶

func (o *PipelineSelector) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSelector) HasPattern ¶

func (o *PipelineSelector) HasPattern() bool

HasPattern returns a boolean if a field has been set.

func (*PipelineSelector) HasType ¶

func (o *PipelineSelector) HasType() bool

HasType returns a boolean if a field has been set.

func (PipelineSelector) MarshalJSON ¶

func (o PipelineSelector) MarshalJSON() ([]byte, error)

func (*PipelineSelector) SetPattern ¶

func (o *PipelineSelector) SetPattern(v string)

SetPattern gets a reference to the given string and assigns it to the Pattern field.

func (*PipelineSelector) SetType ¶

func (o *PipelineSelector) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*PipelineSelector) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineSelector) UnmarshalJSON(bytes []byte) (err error)

type PipelineSshKeyPair ¶

type PipelineSshKeyPair struct {
	Object
	// The SSH private key. This value will be empty when retrieving the SSH key pair.
	PrivateKey *string `json:"private_key,omitempty"`
	// The SSH public key.
	PublicKey            *string `json:"public_key,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineSshKeyPair struct for PipelineSshKeyPair

func NewPipelineSshKeyPair ¶

func NewPipelineSshKeyPair() *PipelineSshKeyPair

NewPipelineSshKeyPair instantiates a new PipelineSshKeyPair object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineSshKeyPairWithDefaults ¶

func NewPipelineSshKeyPairWithDefaults() *PipelineSshKeyPair

NewPipelineSshKeyPairWithDefaults instantiates a new PipelineSshKeyPair object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineSshKeyPair) GetPrivateKey ¶

func (o *PipelineSshKeyPair) GetPrivateKey() string

GetPrivateKey returns the PrivateKey field value if set, zero value otherwise.

func (*PipelineSshKeyPair) GetPrivateKeyOk ¶

func (o *PipelineSshKeyPair) GetPrivateKeyOk() (*string, bool)

GetPrivateKeyOk returns a tuple with the PrivateKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSshKeyPair) GetPublicKey ¶

func (o *PipelineSshKeyPair) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*PipelineSshKeyPair) GetPublicKeyOk ¶

func (o *PipelineSshKeyPair) GetPublicKeyOk() (*string, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSshKeyPair) HasPrivateKey ¶

func (o *PipelineSshKeyPair) HasPrivateKey() bool

HasPrivateKey returns a boolean if a field has been set.

func (*PipelineSshKeyPair) HasPublicKey ¶

func (o *PipelineSshKeyPair) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (PipelineSshKeyPair) MarshalJSON ¶

func (o PipelineSshKeyPair) MarshalJSON() ([]byte, error)

func (*PipelineSshKeyPair) SetPrivateKey ¶

func (o *PipelineSshKeyPair) SetPrivateKey(v string)

SetPrivateKey gets a reference to the given string and assigns it to the PrivateKey field.

func (*PipelineSshKeyPair) SetPublicKey ¶

func (o *PipelineSshKeyPair) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*PipelineSshKeyPair) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineSshKeyPair) UnmarshalJSON(bytes []byte) (err error)

type PipelineSshPublicKey ¶

type PipelineSshPublicKey struct {
	Object
	// The type of the public key.
	KeyType *string `json:"key_type,omitempty"`
	// The base64 encoded public key.
	Key *string `json:"key,omitempty"`
	// The MD5 fingerprint of the public key.
	Md5Fingerprint *string `json:"md5_fingerprint,omitempty"`
	// The SHA-256 fingerprint of the public key.
	Sha256Fingerprint    *string `json:"sha256_fingerprint,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineSshPublicKey struct for PipelineSshPublicKey

func NewPipelineSshPublicKey ¶

func NewPipelineSshPublicKey() *PipelineSshPublicKey

NewPipelineSshPublicKey instantiates a new PipelineSshPublicKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineSshPublicKeyWithDefaults ¶

func NewPipelineSshPublicKeyWithDefaults() *PipelineSshPublicKey

NewPipelineSshPublicKeyWithDefaults instantiates a new PipelineSshPublicKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineSshPublicKey) GetKey ¶

func (o *PipelineSshPublicKey) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*PipelineSshPublicKey) GetKeyOk ¶

func (o *PipelineSshPublicKey) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSshPublicKey) GetKeyType ¶

func (o *PipelineSshPublicKey) GetKeyType() string

GetKeyType returns the KeyType field value if set, zero value otherwise.

func (*PipelineSshPublicKey) GetKeyTypeOk ¶

func (o *PipelineSshPublicKey) GetKeyTypeOk() (*string, bool)

GetKeyTypeOk returns a tuple with the KeyType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSshPublicKey) GetMd5Fingerprint ¶

func (o *PipelineSshPublicKey) GetMd5Fingerprint() string

GetMd5Fingerprint returns the Md5Fingerprint field value if set, zero value otherwise.

func (*PipelineSshPublicKey) GetMd5FingerprintOk ¶

func (o *PipelineSshPublicKey) GetMd5FingerprintOk() (*string, bool)

GetMd5FingerprintOk returns a tuple with the Md5Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSshPublicKey) GetSha256Fingerprint ¶

func (o *PipelineSshPublicKey) GetSha256Fingerprint() string

GetSha256Fingerprint returns the Sha256Fingerprint field value if set, zero value otherwise.

func (*PipelineSshPublicKey) GetSha256FingerprintOk ¶

func (o *PipelineSshPublicKey) GetSha256FingerprintOk() (*string, bool)

GetSha256FingerprintOk returns a tuple with the Sha256Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineSshPublicKey) HasKey ¶

func (o *PipelineSshPublicKey) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*PipelineSshPublicKey) HasKeyType ¶

func (o *PipelineSshPublicKey) HasKeyType() bool

HasKeyType returns a boolean if a field has been set.

func (*PipelineSshPublicKey) HasMd5Fingerprint ¶

func (o *PipelineSshPublicKey) HasMd5Fingerprint() bool

HasMd5Fingerprint returns a boolean if a field has been set.

func (*PipelineSshPublicKey) HasSha256Fingerprint ¶

func (o *PipelineSshPublicKey) HasSha256Fingerprint() bool

HasSha256Fingerprint returns a boolean if a field has been set.

func (PipelineSshPublicKey) MarshalJSON ¶

func (o PipelineSshPublicKey) MarshalJSON() ([]byte, error)

func (*PipelineSshPublicKey) SetKey ¶

func (o *PipelineSshPublicKey) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*PipelineSshPublicKey) SetKeyType ¶

func (o *PipelineSshPublicKey) SetKeyType(v string)

SetKeyType gets a reference to the given string and assigns it to the KeyType field.

func (*PipelineSshPublicKey) SetMd5Fingerprint ¶

func (o *PipelineSshPublicKey) SetMd5Fingerprint(v string)

SetMd5Fingerprint gets a reference to the given string and assigns it to the Md5Fingerprint field.

func (*PipelineSshPublicKey) SetSha256Fingerprint ¶

func (o *PipelineSshPublicKey) SetSha256Fingerprint(v string)

SetSha256Fingerprint gets a reference to the given string and assigns it to the Sha256Fingerprint field.

func (*PipelineSshPublicKey) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineSshPublicKey) UnmarshalJSON(bytes []byte) (err error)

type PipelineState ¶

type PipelineState struct {
	Object
	AdditionalProperties map[string]interface{}
}

PipelineState struct for PipelineState

func NewPipelineState ¶

func NewPipelineState() *PipelineState

NewPipelineState instantiates a new PipelineState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateWithDefaults ¶

func NewPipelineStateWithDefaults() *PipelineState

NewPipelineStateWithDefaults instantiates a new PipelineState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelineState) MarshalJSON ¶

func (o PipelineState) MarshalJSON() ([]byte, error)

func (*PipelineState) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineState) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompleted ¶

type PipelineStateCompleted struct {
	PipelineState
	// The name of pipeline state (COMPLETED).
	Name                 *string                       `json:"name,omitempty"`
	Result               *PipelineStateCompletedResult `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateCompleted struct for PipelineStateCompleted

func NewPipelineStateCompleted ¶

func NewPipelineStateCompleted() *PipelineStateCompleted

NewPipelineStateCompleted instantiates a new PipelineStateCompleted object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedWithDefaults ¶

func NewPipelineStateCompletedWithDefaults() *PipelineStateCompleted

NewPipelineStateCompletedWithDefaults instantiates a new PipelineStateCompleted object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateCompleted) GetName ¶

func (o *PipelineStateCompleted) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateCompleted) GetNameOk ¶

func (o *PipelineStateCompleted) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompleted) GetResult ¶

GetResult returns the Result field value if set, zero value otherwise.

func (*PipelineStateCompleted) GetResultOk ¶

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompleted) HasName ¶

func (o *PipelineStateCompleted) HasName() bool

HasName returns a boolean if a field has been set.

func (*PipelineStateCompleted) HasResult ¶

func (o *PipelineStateCompleted) HasResult() bool

HasResult returns a boolean if a field has been set.

func (PipelineStateCompleted) MarshalJSON ¶

func (o PipelineStateCompleted) MarshalJSON() ([]byte, error)

func (*PipelineStateCompleted) SetName ¶

func (o *PipelineStateCompleted) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateCompleted) SetResult ¶

SetResult gets a reference to the given PipelineStateCompletedResult and assigns it to the Result field.

func (*PipelineStateCompleted) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompleted) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompletedError ¶

type PipelineStateCompletedError struct {
	PipelineStateCompletedResult
	// The name of the result (ERROR)
	Name                 *string        `json:"name,omitempty"`
	Error                *PipelineError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateCompletedError struct for PipelineStateCompletedError

func NewPipelineStateCompletedError ¶

func NewPipelineStateCompletedError() *PipelineStateCompletedError

NewPipelineStateCompletedError instantiates a new PipelineStateCompletedError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedErrorWithDefaults ¶

func NewPipelineStateCompletedErrorWithDefaults() *PipelineStateCompletedError

NewPipelineStateCompletedErrorWithDefaults instantiates a new PipelineStateCompletedError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateCompletedError) GetError ¶

GetError returns the Error field value if set, zero value otherwise.

func (*PipelineStateCompletedError) GetErrorOk ¶

func (o *PipelineStateCompletedError) GetErrorOk() (*PipelineError, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompletedError) GetName ¶

func (o *PipelineStateCompletedError) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateCompletedError) GetNameOk ¶

func (o *PipelineStateCompletedError) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompletedError) HasError ¶

func (o *PipelineStateCompletedError) HasError() bool

HasError returns a boolean if a field has been set.

func (*PipelineStateCompletedError) HasName ¶

func (o *PipelineStateCompletedError) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStateCompletedError) MarshalJSON ¶

func (o PipelineStateCompletedError) MarshalJSON() ([]byte, error)

func (*PipelineStateCompletedError) SetError ¶

SetError gets a reference to the given PipelineError and assigns it to the Error field.

func (*PipelineStateCompletedError) SetName ¶

func (o *PipelineStateCompletedError) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateCompletedError) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompletedError) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompletedExpired ¶

type PipelineStateCompletedExpired struct {
	PipelineStateCompletedResult
	// The name of the stopped result (EXPIRED).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateCompletedExpired struct for PipelineStateCompletedExpired

func NewPipelineStateCompletedExpired ¶

func NewPipelineStateCompletedExpired() *PipelineStateCompletedExpired

NewPipelineStateCompletedExpired instantiates a new PipelineStateCompletedExpired object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedExpiredWithDefaults ¶

func NewPipelineStateCompletedExpiredWithDefaults() *PipelineStateCompletedExpired

NewPipelineStateCompletedExpiredWithDefaults instantiates a new PipelineStateCompletedExpired object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateCompletedExpired) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateCompletedExpired) GetNameOk ¶

func (o *PipelineStateCompletedExpired) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompletedExpired) HasName ¶

func (o *PipelineStateCompletedExpired) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStateCompletedExpired) MarshalJSON ¶

func (o PipelineStateCompletedExpired) MarshalJSON() ([]byte, error)

func (*PipelineStateCompletedExpired) SetName ¶

func (o *PipelineStateCompletedExpired) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateCompletedExpired) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompletedExpired) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompletedExpiredAllOf ¶

type PipelineStateCompletedExpiredAllOf struct {
	// The name of the stopped result (EXPIRED).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateCompletedExpiredAllOf A Bitbucket Pipelines EXPIRED pipeline result.

func NewPipelineStateCompletedExpiredAllOf ¶

func NewPipelineStateCompletedExpiredAllOf() *PipelineStateCompletedExpiredAllOf

NewPipelineStateCompletedExpiredAllOf instantiates a new PipelineStateCompletedExpiredAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedExpiredAllOfWithDefaults ¶

func NewPipelineStateCompletedExpiredAllOfWithDefaults() *PipelineStateCompletedExpiredAllOf

NewPipelineStateCompletedExpiredAllOfWithDefaults instantiates a new PipelineStateCompletedExpiredAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateCompletedExpiredAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateCompletedExpiredAllOf) GetNameOk ¶

func (o *PipelineStateCompletedExpiredAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompletedExpiredAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStateCompletedExpiredAllOf) MarshalJSON ¶

func (o PipelineStateCompletedExpiredAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStateCompletedExpiredAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateCompletedExpiredAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompletedExpiredAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompletedFailed ¶

type PipelineStateCompletedFailed struct {
	PipelineStateCompletedResult
	// The name of the failed result (FAILED).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateCompletedFailed struct for PipelineStateCompletedFailed

func NewPipelineStateCompletedFailed ¶

func NewPipelineStateCompletedFailed() *PipelineStateCompletedFailed

NewPipelineStateCompletedFailed instantiates a new PipelineStateCompletedFailed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedFailedWithDefaults ¶

func NewPipelineStateCompletedFailedWithDefaults() *PipelineStateCompletedFailed

NewPipelineStateCompletedFailedWithDefaults instantiates a new PipelineStateCompletedFailed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateCompletedFailed) GetName ¶

func (o *PipelineStateCompletedFailed) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateCompletedFailed) GetNameOk ¶

func (o *PipelineStateCompletedFailed) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompletedFailed) HasName ¶

func (o *PipelineStateCompletedFailed) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStateCompletedFailed) MarshalJSON ¶

func (o PipelineStateCompletedFailed) MarshalJSON() ([]byte, error)

func (*PipelineStateCompletedFailed) SetName ¶

func (o *PipelineStateCompletedFailed) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateCompletedFailed) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompletedFailed) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompletedFailedAllOf ¶

type PipelineStateCompletedFailedAllOf struct {
	// The name of the failed result (FAILED).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateCompletedFailedAllOf A Bitbucket Pipelines FAILED pipeline result.

func NewPipelineStateCompletedFailedAllOf ¶

func NewPipelineStateCompletedFailedAllOf() *PipelineStateCompletedFailedAllOf

NewPipelineStateCompletedFailedAllOf instantiates a new PipelineStateCompletedFailedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedFailedAllOfWithDefaults ¶

func NewPipelineStateCompletedFailedAllOfWithDefaults() *PipelineStateCompletedFailedAllOf

NewPipelineStateCompletedFailedAllOfWithDefaults instantiates a new PipelineStateCompletedFailedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateCompletedFailedAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateCompletedFailedAllOf) GetNameOk ¶

func (o *PipelineStateCompletedFailedAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompletedFailedAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStateCompletedFailedAllOf) MarshalJSON ¶

func (o PipelineStateCompletedFailedAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStateCompletedFailedAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateCompletedFailedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompletedFailedAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompletedResult ¶

type PipelineStateCompletedResult struct {
	Object
	AdditionalProperties map[string]interface{}
}

PipelineStateCompletedResult struct for PipelineStateCompletedResult

func NewPipelineStateCompletedResult ¶

func NewPipelineStateCompletedResult() *PipelineStateCompletedResult

NewPipelineStateCompletedResult instantiates a new PipelineStateCompletedResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedResultWithDefaults ¶

func NewPipelineStateCompletedResultWithDefaults() *PipelineStateCompletedResult

NewPipelineStateCompletedResultWithDefaults instantiates a new PipelineStateCompletedResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelineStateCompletedResult) MarshalJSON ¶

func (o PipelineStateCompletedResult) MarshalJSON() ([]byte, error)

func (*PipelineStateCompletedResult) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompletedResult) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompletedStopped ¶

type PipelineStateCompletedStopped struct {
	PipelineStateCompletedResult
	// The name of the stopped result (STOPPED).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateCompletedStopped struct for PipelineStateCompletedStopped

func NewPipelineStateCompletedStopped ¶

func NewPipelineStateCompletedStopped() *PipelineStateCompletedStopped

NewPipelineStateCompletedStopped instantiates a new PipelineStateCompletedStopped object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedStoppedWithDefaults ¶

func NewPipelineStateCompletedStoppedWithDefaults() *PipelineStateCompletedStopped

NewPipelineStateCompletedStoppedWithDefaults instantiates a new PipelineStateCompletedStopped object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateCompletedStopped) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateCompletedStopped) GetNameOk ¶

func (o *PipelineStateCompletedStopped) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompletedStopped) HasName ¶

func (o *PipelineStateCompletedStopped) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStateCompletedStopped) MarshalJSON ¶

func (o PipelineStateCompletedStopped) MarshalJSON() ([]byte, error)

func (*PipelineStateCompletedStopped) SetName ¶

func (o *PipelineStateCompletedStopped) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateCompletedStopped) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompletedStopped) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompletedStoppedAllOf ¶

type PipelineStateCompletedStoppedAllOf struct {
	// The name of the stopped result (STOPPED).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateCompletedStoppedAllOf A Bitbucket Pipelines STOPPED pipeline result.

func NewPipelineStateCompletedStoppedAllOf ¶

func NewPipelineStateCompletedStoppedAllOf() *PipelineStateCompletedStoppedAllOf

NewPipelineStateCompletedStoppedAllOf instantiates a new PipelineStateCompletedStoppedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedStoppedAllOfWithDefaults ¶

func NewPipelineStateCompletedStoppedAllOfWithDefaults() *PipelineStateCompletedStoppedAllOf

NewPipelineStateCompletedStoppedAllOfWithDefaults instantiates a new PipelineStateCompletedStoppedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateCompletedStoppedAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateCompletedStoppedAllOf) GetNameOk ¶

func (o *PipelineStateCompletedStoppedAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompletedStoppedAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStateCompletedStoppedAllOf) MarshalJSON ¶

func (o PipelineStateCompletedStoppedAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStateCompletedStoppedAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateCompletedStoppedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompletedStoppedAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompletedSuccessful ¶

type PipelineStateCompletedSuccessful struct {
	PipelineStateCompletedResult
	// The name of the successful result (SUCCESSFUL).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateCompletedSuccessful struct for PipelineStateCompletedSuccessful

func NewPipelineStateCompletedSuccessful ¶

func NewPipelineStateCompletedSuccessful() *PipelineStateCompletedSuccessful

NewPipelineStateCompletedSuccessful instantiates a new PipelineStateCompletedSuccessful object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedSuccessfulWithDefaults ¶

func NewPipelineStateCompletedSuccessfulWithDefaults() *PipelineStateCompletedSuccessful

NewPipelineStateCompletedSuccessfulWithDefaults instantiates a new PipelineStateCompletedSuccessful object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateCompletedSuccessful) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateCompletedSuccessful) GetNameOk ¶

func (o *PipelineStateCompletedSuccessful) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompletedSuccessful) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStateCompletedSuccessful) MarshalJSON ¶

func (o PipelineStateCompletedSuccessful) MarshalJSON() ([]byte, error)

func (*PipelineStateCompletedSuccessful) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateCompletedSuccessful) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompletedSuccessful) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateCompletedSuccessfulAllOf ¶

type PipelineStateCompletedSuccessfulAllOf struct {
	// The name of the successful result (SUCCESSFUL).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateCompletedSuccessfulAllOf A Bitbucket Pipelines SUCCESSFUL pipeline result.

func NewPipelineStateCompletedSuccessfulAllOf ¶

func NewPipelineStateCompletedSuccessfulAllOf() *PipelineStateCompletedSuccessfulAllOf

NewPipelineStateCompletedSuccessfulAllOf instantiates a new PipelineStateCompletedSuccessfulAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateCompletedSuccessfulAllOfWithDefaults ¶

func NewPipelineStateCompletedSuccessfulAllOfWithDefaults() *PipelineStateCompletedSuccessfulAllOf

NewPipelineStateCompletedSuccessfulAllOfWithDefaults instantiates a new PipelineStateCompletedSuccessfulAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateCompletedSuccessfulAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateCompletedSuccessfulAllOf) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateCompletedSuccessfulAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStateCompletedSuccessfulAllOf) MarshalJSON ¶

func (o PipelineStateCompletedSuccessfulAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStateCompletedSuccessfulAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateCompletedSuccessfulAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateCompletedSuccessfulAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateInProgress ¶

type PipelineStateInProgress struct {
	PipelineState
	// The name of pipeline state (IN_PROGRESS).
	Name                 *string                       `json:"name,omitempty"`
	Stage                *PipelineStateInProgressStage `json:"stage,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateInProgress struct for PipelineStateInProgress

func NewPipelineStateInProgress ¶

func NewPipelineStateInProgress() *PipelineStateInProgress

NewPipelineStateInProgress instantiates a new PipelineStateInProgress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateInProgressWithDefaults ¶

func NewPipelineStateInProgressWithDefaults() *PipelineStateInProgress

NewPipelineStateInProgressWithDefaults instantiates a new PipelineStateInProgress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateInProgress) GetName ¶

func (o *PipelineStateInProgress) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateInProgress) GetNameOk ¶

func (o *PipelineStateInProgress) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateInProgress) GetStage ¶

GetStage returns the Stage field value if set, zero value otherwise.

func (*PipelineStateInProgress) GetStageOk ¶

GetStageOk returns a tuple with the Stage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateInProgress) HasName ¶

func (o *PipelineStateInProgress) HasName() bool

HasName returns a boolean if a field has been set.

func (*PipelineStateInProgress) HasStage ¶

func (o *PipelineStateInProgress) HasStage() bool

HasStage returns a boolean if a field has been set.

func (PipelineStateInProgress) MarshalJSON ¶

func (o PipelineStateInProgress) MarshalJSON() ([]byte, error)

func (*PipelineStateInProgress) SetName ¶

func (o *PipelineStateInProgress) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateInProgress) SetStage ¶

SetStage gets a reference to the given PipelineStateInProgressStage and assigns it to the Stage field.

func (*PipelineStateInProgress) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateInProgress) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateInProgressPaused ¶

type PipelineStateInProgressPaused struct {
	PipelineStateInProgressStage
	// The name of the stage (PAUSED)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateInProgressPaused struct for PipelineStateInProgressPaused

func NewPipelineStateInProgressPaused ¶

func NewPipelineStateInProgressPaused() *PipelineStateInProgressPaused

NewPipelineStateInProgressPaused instantiates a new PipelineStateInProgressPaused object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateInProgressPausedWithDefaults ¶

func NewPipelineStateInProgressPausedWithDefaults() *PipelineStateInProgressPaused

NewPipelineStateInProgressPausedWithDefaults instantiates a new PipelineStateInProgressPaused object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateInProgressPaused) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateInProgressPaused) GetNameOk ¶

func (o *PipelineStateInProgressPaused) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateInProgressPaused) HasName ¶

func (o *PipelineStateInProgressPaused) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStateInProgressPaused) MarshalJSON ¶

func (o PipelineStateInProgressPaused) MarshalJSON() ([]byte, error)

func (*PipelineStateInProgressPaused) SetName ¶

func (o *PipelineStateInProgressPaused) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateInProgressPaused) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateInProgressPaused) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateInProgressPausedAllOf ¶

type PipelineStateInProgressPausedAllOf struct {
	// The name of the stage (PAUSED)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateInProgressPausedAllOf A Bitbucket Pipelines PAUSED stage of a pipeline that is in progress.

func NewPipelineStateInProgressPausedAllOf ¶

func NewPipelineStateInProgressPausedAllOf() *PipelineStateInProgressPausedAllOf

NewPipelineStateInProgressPausedAllOf instantiates a new PipelineStateInProgressPausedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateInProgressPausedAllOfWithDefaults ¶

func NewPipelineStateInProgressPausedAllOfWithDefaults() *PipelineStateInProgressPausedAllOf

NewPipelineStateInProgressPausedAllOfWithDefaults instantiates a new PipelineStateInProgressPausedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateInProgressPausedAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateInProgressPausedAllOf) GetNameOk ¶

func (o *PipelineStateInProgressPausedAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateInProgressPausedAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStateInProgressPausedAllOf) MarshalJSON ¶

func (o PipelineStateInProgressPausedAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStateInProgressPausedAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateInProgressPausedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateInProgressPausedAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateInProgressRunning ¶

type PipelineStateInProgressRunning struct {
	PipelineStateInProgressStage
	// The name of the stage (RUNNING)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateInProgressRunning struct for PipelineStateInProgressRunning

func NewPipelineStateInProgressRunning ¶

func NewPipelineStateInProgressRunning() *PipelineStateInProgressRunning

NewPipelineStateInProgressRunning instantiates a new PipelineStateInProgressRunning object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateInProgressRunningWithDefaults ¶

func NewPipelineStateInProgressRunningWithDefaults() *PipelineStateInProgressRunning

NewPipelineStateInProgressRunningWithDefaults instantiates a new PipelineStateInProgressRunning object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateInProgressRunning) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateInProgressRunning) GetNameOk ¶

func (o *PipelineStateInProgressRunning) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateInProgressRunning) HasName ¶

func (o *PipelineStateInProgressRunning) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStateInProgressRunning) MarshalJSON ¶

func (o PipelineStateInProgressRunning) MarshalJSON() ([]byte, error)

func (*PipelineStateInProgressRunning) SetName ¶

func (o *PipelineStateInProgressRunning) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateInProgressRunning) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateInProgressRunning) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateInProgressRunningAllOf ¶

type PipelineStateInProgressRunningAllOf struct {
	// The name of the stage (RUNNING)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStateInProgressRunningAllOf A Bitbucket Pipelines RUNNING stage of a pipeline that is in progress.

func NewPipelineStateInProgressRunningAllOf ¶

func NewPipelineStateInProgressRunningAllOf() *PipelineStateInProgressRunningAllOf

NewPipelineStateInProgressRunningAllOf instantiates a new PipelineStateInProgressRunningAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateInProgressRunningAllOfWithDefaults ¶

func NewPipelineStateInProgressRunningAllOfWithDefaults() *PipelineStateInProgressRunningAllOf

NewPipelineStateInProgressRunningAllOfWithDefaults instantiates a new PipelineStateInProgressRunningAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStateInProgressRunningAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStateInProgressRunningAllOf) GetNameOk ¶

func (o *PipelineStateInProgressRunningAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStateInProgressRunningAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStateInProgressRunningAllOf) MarshalJSON ¶

func (o PipelineStateInProgressRunningAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStateInProgressRunningAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStateInProgressRunningAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateInProgressRunningAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStateInProgressStage ¶

type PipelineStateInProgressStage struct {
	Object
	AdditionalProperties map[string]interface{}
}

PipelineStateInProgressStage struct for PipelineStateInProgressStage

func NewPipelineStateInProgressStage ¶

func NewPipelineStateInProgressStage() *PipelineStateInProgressStage

NewPipelineStateInProgressStage instantiates a new PipelineStateInProgressStage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStateInProgressStageWithDefaults ¶

func NewPipelineStateInProgressStageWithDefaults() *PipelineStateInProgressStage

NewPipelineStateInProgressStageWithDefaults instantiates a new PipelineStateInProgressStage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelineStateInProgressStage) MarshalJSON ¶

func (o PipelineStateInProgressStage) MarshalJSON() ([]byte, error)

func (*PipelineStateInProgressStage) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStateInProgressStage) UnmarshalJSON(bytes []byte) (err error)

type PipelineStatePending ¶

type PipelineStatePending struct {
	PipelineState
	// The name of pipeline state (PENDING).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStatePending struct for PipelineStatePending

func NewPipelineStatePending ¶

func NewPipelineStatePending() *PipelineStatePending

NewPipelineStatePending instantiates a new PipelineStatePending object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStatePendingWithDefaults ¶

func NewPipelineStatePendingWithDefaults() *PipelineStatePending

NewPipelineStatePendingWithDefaults instantiates a new PipelineStatePending object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStatePending) GetName ¶

func (o *PipelineStatePending) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStatePending) GetNameOk ¶

func (o *PipelineStatePending) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStatePending) HasName ¶

func (o *PipelineStatePending) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStatePending) MarshalJSON ¶

func (o PipelineStatePending) MarshalJSON() ([]byte, error)

func (*PipelineStatePending) SetName ¶

func (o *PipelineStatePending) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStatePending) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStatePending) UnmarshalJSON(bytes []byte) (err error)

type PipelineStep ¶

type PipelineStep struct {
	// The UUID identifying the step.
	Uuid *string `json:"uuid,omitempty"`
	// The timestamp when the step execution was started. This is not set when the step hasn't executed yet.
	StartedOn *time.Time `json:"started_on,omitempty"`
	// The timestamp when the step execution was completed. This is not set if the step is still in progress.
	CompletedOn *time.Time         `json:"completed_on,omitempty"`
	State       *PipelineStepState `json:"state,omitempty"`
	Image       *PipelineImage     `json:"image,omitempty"`
	// The list of commands that are executed as part of the setup phase of the build. These commands are executed outside the build container.
	SetupCommands []PipelineCommand `json:"setup_commands,omitempty"`
	// The list of build commands. These commands are executed in the build container.
	ScriptCommands       []PipelineCommand `json:"script_commands,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStep A step of a Bitbucket pipeline. This represents the actual result of the step execution.

func NewPipelineStep ¶

func NewPipelineStep() *PipelineStep

NewPipelineStep instantiates a new PipelineStep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepWithDefaults ¶

func NewPipelineStepWithDefaults() *PipelineStep

NewPipelineStepWithDefaults instantiates a new PipelineStep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStep) GetCompletedOn ¶

func (o *PipelineStep) GetCompletedOn() time.Time

GetCompletedOn returns the CompletedOn field value if set, zero value otherwise.

func (*PipelineStep) GetCompletedOnOk ¶

func (o *PipelineStep) GetCompletedOnOk() (*time.Time, bool)

GetCompletedOnOk returns a tuple with the CompletedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStep) GetImage ¶

func (o *PipelineStep) GetImage() PipelineImage

GetImage returns the Image field value if set, zero value otherwise.

func (*PipelineStep) GetImageOk ¶

func (o *PipelineStep) GetImageOk() (*PipelineImage, bool)

GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStep) GetScriptCommands ¶

func (o *PipelineStep) GetScriptCommands() []PipelineCommand

GetScriptCommands returns the ScriptCommands field value if set, zero value otherwise.

func (*PipelineStep) GetScriptCommandsOk ¶

func (o *PipelineStep) GetScriptCommandsOk() ([]PipelineCommand, bool)

GetScriptCommandsOk returns a tuple with the ScriptCommands field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStep) GetSetupCommands ¶

func (o *PipelineStep) GetSetupCommands() []PipelineCommand

GetSetupCommands returns the SetupCommands field value if set, zero value otherwise.

func (*PipelineStep) GetSetupCommandsOk ¶

func (o *PipelineStep) GetSetupCommandsOk() ([]PipelineCommand, bool)

GetSetupCommandsOk returns a tuple with the SetupCommands field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStep) GetStartedOn ¶

func (o *PipelineStep) GetStartedOn() time.Time

GetStartedOn returns the StartedOn field value if set, zero value otherwise.

func (*PipelineStep) GetStartedOnOk ¶

func (o *PipelineStep) GetStartedOnOk() (*time.Time, bool)

GetStartedOnOk returns a tuple with the StartedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStep) GetState ¶

func (o *PipelineStep) GetState() PipelineStepState

GetState returns the State field value if set, zero value otherwise.

func (*PipelineStep) GetStateOk ¶

func (o *PipelineStep) GetStateOk() (*PipelineStepState, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStep) GetUuid ¶

func (o *PipelineStep) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*PipelineStep) GetUuidOk ¶

func (o *PipelineStep) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStep) HasCompletedOn ¶

func (o *PipelineStep) HasCompletedOn() bool

HasCompletedOn returns a boolean if a field has been set.

func (*PipelineStep) HasImage ¶

func (o *PipelineStep) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*PipelineStep) HasScriptCommands ¶

func (o *PipelineStep) HasScriptCommands() bool

HasScriptCommands returns a boolean if a field has been set.

func (*PipelineStep) HasSetupCommands ¶

func (o *PipelineStep) HasSetupCommands() bool

HasSetupCommands returns a boolean if a field has been set.

func (*PipelineStep) HasStartedOn ¶

func (o *PipelineStep) HasStartedOn() bool

HasStartedOn returns a boolean if a field has been set.

func (*PipelineStep) HasState ¶

func (o *PipelineStep) HasState() bool

HasState returns a boolean if a field has been set.

func (*PipelineStep) HasUuid ¶

func (o *PipelineStep) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (PipelineStep) MarshalJSON ¶

func (o PipelineStep) MarshalJSON() ([]byte, error)

func (*PipelineStep) SetCompletedOn ¶

func (o *PipelineStep) SetCompletedOn(v time.Time)

SetCompletedOn gets a reference to the given time.Time and assigns it to the CompletedOn field.

func (*PipelineStep) SetImage ¶

func (o *PipelineStep) SetImage(v PipelineImage)

SetImage gets a reference to the given PipelineImage and assigns it to the Image field.

func (*PipelineStep) SetScriptCommands ¶

func (o *PipelineStep) SetScriptCommands(v []PipelineCommand)

SetScriptCommands gets a reference to the given []PipelineCommand and assigns it to the ScriptCommands field.

func (*PipelineStep) SetSetupCommands ¶

func (o *PipelineStep) SetSetupCommands(v []PipelineCommand)

SetSetupCommands gets a reference to the given []PipelineCommand and assigns it to the SetupCommands field.

func (*PipelineStep) SetStartedOn ¶

func (o *PipelineStep) SetStartedOn(v time.Time)

SetStartedOn gets a reference to the given time.Time and assigns it to the StartedOn field.

func (*PipelineStep) SetState ¶

func (o *PipelineStep) SetState(v PipelineStepState)

SetState gets a reference to the given PipelineStepState and assigns it to the State field.

func (*PipelineStep) SetUuid ¶

func (o *PipelineStep) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*PipelineStep) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStep) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepError ¶

type PipelineStepError struct {
	// The error key.
	Key *string `json:"key,omitempty"`
	// The error message.
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepError An error causing a step failure.

func NewPipelineStepError ¶

func NewPipelineStepError() *PipelineStepError

NewPipelineStepError instantiates a new PipelineStepError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepErrorWithDefaults ¶

func NewPipelineStepErrorWithDefaults() *PipelineStepError

NewPipelineStepErrorWithDefaults instantiates a new PipelineStepError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepError) GetKey ¶

func (o *PipelineStepError) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*PipelineStepError) GetKeyOk ¶

func (o *PipelineStepError) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepError) GetMessage ¶

func (o *PipelineStepError) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*PipelineStepError) GetMessageOk ¶

func (o *PipelineStepError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepError) HasKey ¶

func (o *PipelineStepError) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*PipelineStepError) HasMessage ¶

func (o *PipelineStepError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (PipelineStepError) MarshalJSON ¶

func (o PipelineStepError) MarshalJSON() ([]byte, error)

func (*PipelineStepError) SetKey ¶

func (o *PipelineStepError) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*PipelineStepError) SetMessage ¶

func (o *PipelineStepError) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*PipelineStepError) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepError) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepState ¶

type PipelineStepState struct {
	Object
	AdditionalProperties map[string]interface{}
}

PipelineStepState struct for PipelineStepState

func NewPipelineStepState ¶

func NewPipelineStepState() *PipelineStepState

NewPipelineStepState instantiates a new PipelineStepState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateWithDefaults ¶

func NewPipelineStepStateWithDefaults() *PipelineStepState

NewPipelineStepStateWithDefaults instantiates a new PipelineStepState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelineStepState) MarshalJSON ¶

func (o PipelineStepState) MarshalJSON() ([]byte, error)

func (*PipelineStepState) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepState) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompleted ¶

type PipelineStepStateCompleted struct {
	PipelineStepState
	// The name of pipeline step state (COMPLETED).
	Name                 *string                           `json:"name,omitempty"`
	Result               *PipelineStepStateCompletedResult `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompleted struct for PipelineStepStateCompleted

func NewPipelineStepStateCompleted ¶

func NewPipelineStepStateCompleted() *PipelineStepStateCompleted

NewPipelineStepStateCompleted instantiates a new PipelineStepStateCompleted object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedWithDefaults ¶

func NewPipelineStepStateCompletedWithDefaults() *PipelineStepStateCompleted

NewPipelineStepStateCompletedWithDefaults instantiates a new PipelineStepStateCompleted object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompleted) GetName ¶

func (o *PipelineStepStateCompleted) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompleted) GetNameOk ¶

func (o *PipelineStepStateCompleted) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompleted) GetResult ¶

GetResult returns the Result field value if set, zero value otherwise.

func (*PipelineStepStateCompleted) GetResultOk ¶

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompleted) HasName ¶

func (o *PipelineStepStateCompleted) HasName() bool

HasName returns a boolean if a field has been set.

func (*PipelineStepStateCompleted) HasResult ¶

func (o *PipelineStepStateCompleted) HasResult() bool

HasResult returns a boolean if a field has been set.

func (PipelineStepStateCompleted) MarshalJSON ¶

func (o PipelineStepStateCompleted) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompleted) SetName ¶

func (o *PipelineStepStateCompleted) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompleted) SetResult ¶

SetResult gets a reference to the given PipelineStepStateCompletedResult and assigns it to the Result field.

func (*PipelineStepStateCompleted) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompleted) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedAllOf ¶

type PipelineStepStateCompletedAllOf struct {
	// The name of pipeline step state (COMPLETED).
	Name                 *string                           `json:"name,omitempty"`
	Result               *PipelineStepStateCompletedResult `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedAllOf A Bitbucket Pipelines COMPLETED pipeline step state.

func NewPipelineStepStateCompletedAllOf ¶

func NewPipelineStepStateCompletedAllOf() *PipelineStepStateCompletedAllOf

NewPipelineStepStateCompletedAllOf instantiates a new PipelineStepStateCompletedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedAllOfWithDefaults ¶

func NewPipelineStepStateCompletedAllOfWithDefaults() *PipelineStepStateCompletedAllOf

NewPipelineStepStateCompletedAllOfWithDefaults instantiates a new PipelineStepStateCompletedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedAllOf) GetNameOk ¶

func (o *PipelineStepStateCompletedAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedAllOf) GetResult ¶

GetResult returns the Result field value if set, zero value otherwise.

func (*PipelineStepStateCompletedAllOf) GetResultOk ¶

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (*PipelineStepStateCompletedAllOf) HasResult ¶

func (o *PipelineStepStateCompletedAllOf) HasResult() bool

HasResult returns a boolean if a field has been set.

func (PipelineStepStateCompletedAllOf) MarshalJSON ¶

func (o PipelineStepStateCompletedAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedAllOf) SetResult ¶

SetResult gets a reference to the given PipelineStepStateCompletedResult and assigns it to the Result field.

func (*PipelineStepStateCompletedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedError ¶

type PipelineStepStateCompletedError struct {
	PipelineStepStateCompletedResult
	// The name of the result (ERROR)
	Name                 *string            `json:"name,omitempty"`
	Error                *PipelineStepError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedError struct for PipelineStepStateCompletedError

func NewPipelineStepStateCompletedError ¶

func NewPipelineStepStateCompletedError() *PipelineStepStateCompletedError

NewPipelineStepStateCompletedError instantiates a new PipelineStepStateCompletedError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedErrorWithDefaults ¶

func NewPipelineStepStateCompletedErrorWithDefaults() *PipelineStepStateCompletedError

NewPipelineStepStateCompletedErrorWithDefaults instantiates a new PipelineStepStateCompletedError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedError) GetError ¶

GetError returns the Error field value if set, zero value otherwise.

func (*PipelineStepStateCompletedError) GetErrorOk ¶

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedError) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedError) GetNameOk ¶

func (o *PipelineStepStateCompletedError) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedError) HasError ¶

func (o *PipelineStepStateCompletedError) HasError() bool

HasError returns a boolean if a field has been set.

func (*PipelineStepStateCompletedError) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedError) MarshalJSON ¶

func (o PipelineStepStateCompletedError) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedError) SetError ¶

SetError gets a reference to the given PipelineStepError and assigns it to the Error field.

func (*PipelineStepStateCompletedError) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedError) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedError) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedErrorAllOf ¶

type PipelineStepStateCompletedErrorAllOf struct {
	// The name of the result (ERROR)
	Name                 *string            `json:"name,omitempty"`
	Error                *PipelineStepError `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedErrorAllOf A Bitbucket Pipelines ERROR pipeline step result.

func NewPipelineStepStateCompletedErrorAllOf ¶

func NewPipelineStepStateCompletedErrorAllOf() *PipelineStepStateCompletedErrorAllOf

NewPipelineStepStateCompletedErrorAllOf instantiates a new PipelineStepStateCompletedErrorAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedErrorAllOfWithDefaults ¶

func NewPipelineStepStateCompletedErrorAllOfWithDefaults() *PipelineStepStateCompletedErrorAllOf

NewPipelineStepStateCompletedErrorAllOfWithDefaults instantiates a new PipelineStepStateCompletedErrorAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedErrorAllOf) GetError ¶

GetError returns the Error field value if set, zero value otherwise.

func (*PipelineStepStateCompletedErrorAllOf) GetErrorOk ¶

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedErrorAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedErrorAllOf) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedErrorAllOf) HasError ¶

HasError returns a boolean if a field has been set.

func (*PipelineStepStateCompletedErrorAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedErrorAllOf) MarshalJSON ¶

func (o PipelineStepStateCompletedErrorAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedErrorAllOf) SetError ¶

SetError gets a reference to the given PipelineStepError and assigns it to the Error field.

func (*PipelineStepStateCompletedErrorAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedErrorAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedErrorAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedExpired ¶

type PipelineStepStateCompletedExpired struct {
	PipelineStepStateCompletedResult
	// The name of the result (EXPIRED)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedExpired struct for PipelineStepStateCompletedExpired

func NewPipelineStepStateCompletedExpired ¶

func NewPipelineStepStateCompletedExpired() *PipelineStepStateCompletedExpired

NewPipelineStepStateCompletedExpired instantiates a new PipelineStepStateCompletedExpired object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedExpiredWithDefaults ¶

func NewPipelineStepStateCompletedExpiredWithDefaults() *PipelineStepStateCompletedExpired

NewPipelineStepStateCompletedExpiredWithDefaults instantiates a new PipelineStepStateCompletedExpired object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedExpired) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedExpired) GetNameOk ¶

func (o *PipelineStepStateCompletedExpired) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedExpired) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedExpired) MarshalJSON ¶

func (o PipelineStepStateCompletedExpired) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedExpired) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedExpired) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedExpired) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedExpiredAllOf ¶

type PipelineStepStateCompletedExpiredAllOf struct {
	// The name of the result (EXPIRED)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedExpiredAllOf A Bitbucket Pipelines EXPIRED pipeline step result.

func NewPipelineStepStateCompletedExpiredAllOf ¶

func NewPipelineStepStateCompletedExpiredAllOf() *PipelineStepStateCompletedExpiredAllOf

NewPipelineStepStateCompletedExpiredAllOf instantiates a new PipelineStepStateCompletedExpiredAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedExpiredAllOfWithDefaults ¶

func NewPipelineStepStateCompletedExpiredAllOfWithDefaults() *PipelineStepStateCompletedExpiredAllOf

NewPipelineStepStateCompletedExpiredAllOfWithDefaults instantiates a new PipelineStepStateCompletedExpiredAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedExpiredAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedExpiredAllOf) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedExpiredAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedExpiredAllOf) MarshalJSON ¶

func (o PipelineStepStateCompletedExpiredAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedExpiredAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedExpiredAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedExpiredAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedFailed ¶

type PipelineStepStateCompletedFailed struct {
	PipelineStepStateCompletedResult
	// The name of the result (FAILED)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedFailed struct for PipelineStepStateCompletedFailed

func NewPipelineStepStateCompletedFailed ¶

func NewPipelineStepStateCompletedFailed() *PipelineStepStateCompletedFailed

NewPipelineStepStateCompletedFailed instantiates a new PipelineStepStateCompletedFailed object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedFailedWithDefaults ¶

func NewPipelineStepStateCompletedFailedWithDefaults() *PipelineStepStateCompletedFailed

NewPipelineStepStateCompletedFailedWithDefaults instantiates a new PipelineStepStateCompletedFailed object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedFailed) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedFailed) GetNameOk ¶

func (o *PipelineStepStateCompletedFailed) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedFailed) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedFailed) MarshalJSON ¶

func (o PipelineStepStateCompletedFailed) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedFailed) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedFailed) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedFailed) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedFailedAllOf ¶

type PipelineStepStateCompletedFailedAllOf struct {
	// The name of the result (FAILED)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedFailedAllOf A Bitbucket Pipelines FAILED pipeline step result.

func NewPipelineStepStateCompletedFailedAllOf ¶

func NewPipelineStepStateCompletedFailedAllOf() *PipelineStepStateCompletedFailedAllOf

NewPipelineStepStateCompletedFailedAllOf instantiates a new PipelineStepStateCompletedFailedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedFailedAllOfWithDefaults ¶

func NewPipelineStepStateCompletedFailedAllOfWithDefaults() *PipelineStepStateCompletedFailedAllOf

NewPipelineStepStateCompletedFailedAllOfWithDefaults instantiates a new PipelineStepStateCompletedFailedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedFailedAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedFailedAllOf) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedFailedAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedFailedAllOf) MarshalJSON ¶

func (o PipelineStepStateCompletedFailedAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedFailedAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedFailedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedFailedAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedNotRun ¶

type PipelineStepStateCompletedNotRun struct {
	PipelineStepStateCompletedResult
	// The name of the result (NOT_RUN)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedNotRun struct for PipelineStepStateCompletedNotRun

func NewPipelineStepStateCompletedNotRun ¶

func NewPipelineStepStateCompletedNotRun() *PipelineStepStateCompletedNotRun

NewPipelineStepStateCompletedNotRun instantiates a new PipelineStepStateCompletedNotRun object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedNotRunWithDefaults ¶

func NewPipelineStepStateCompletedNotRunWithDefaults() *PipelineStepStateCompletedNotRun

NewPipelineStepStateCompletedNotRunWithDefaults instantiates a new PipelineStepStateCompletedNotRun object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedNotRun) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedNotRun) GetNameOk ¶

func (o *PipelineStepStateCompletedNotRun) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedNotRun) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedNotRun) MarshalJSON ¶

func (o PipelineStepStateCompletedNotRun) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedNotRun) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedNotRun) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedNotRun) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedNotRunAllOf ¶

type PipelineStepStateCompletedNotRunAllOf struct {
	// The name of the result (NOT_RUN)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedNotRunAllOf A Bitbucket Pipelines NOT_RUN pipeline step result.

func NewPipelineStepStateCompletedNotRunAllOf ¶

func NewPipelineStepStateCompletedNotRunAllOf() *PipelineStepStateCompletedNotRunAllOf

NewPipelineStepStateCompletedNotRunAllOf instantiates a new PipelineStepStateCompletedNotRunAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedNotRunAllOfWithDefaults ¶

func NewPipelineStepStateCompletedNotRunAllOfWithDefaults() *PipelineStepStateCompletedNotRunAllOf

NewPipelineStepStateCompletedNotRunAllOfWithDefaults instantiates a new PipelineStepStateCompletedNotRunAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedNotRunAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedNotRunAllOf) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedNotRunAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedNotRunAllOf) MarshalJSON ¶

func (o PipelineStepStateCompletedNotRunAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedNotRunAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedNotRunAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedNotRunAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedResult ¶

type PipelineStepStateCompletedResult struct {
	Object
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedResult struct for PipelineStepStateCompletedResult

func NewPipelineStepStateCompletedResult ¶

func NewPipelineStepStateCompletedResult() *PipelineStepStateCompletedResult

NewPipelineStepStateCompletedResult instantiates a new PipelineStepStateCompletedResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedResultWithDefaults ¶

func NewPipelineStepStateCompletedResultWithDefaults() *PipelineStepStateCompletedResult

NewPipelineStepStateCompletedResultWithDefaults instantiates a new PipelineStepStateCompletedResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelineStepStateCompletedResult) MarshalJSON ¶

func (o PipelineStepStateCompletedResult) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedResult) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedResult) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedStopped ¶

type PipelineStepStateCompletedStopped struct {
	PipelineStepStateCompletedResult
	// The name of the result (STOPPED)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedStopped struct for PipelineStepStateCompletedStopped

func NewPipelineStepStateCompletedStopped ¶

func NewPipelineStepStateCompletedStopped() *PipelineStepStateCompletedStopped

NewPipelineStepStateCompletedStopped instantiates a new PipelineStepStateCompletedStopped object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedStoppedWithDefaults ¶

func NewPipelineStepStateCompletedStoppedWithDefaults() *PipelineStepStateCompletedStopped

NewPipelineStepStateCompletedStoppedWithDefaults instantiates a new PipelineStepStateCompletedStopped object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedStopped) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedStopped) GetNameOk ¶

func (o *PipelineStepStateCompletedStopped) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedStopped) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedStopped) MarshalJSON ¶

func (o PipelineStepStateCompletedStopped) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedStopped) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedStopped) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedStopped) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedStoppedAllOf ¶

type PipelineStepStateCompletedStoppedAllOf struct {
	// The name of the result (STOPPED)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedStoppedAllOf A Bitbucket Pipelines STOPPED pipeline step result.

func NewPipelineStepStateCompletedStoppedAllOf ¶

func NewPipelineStepStateCompletedStoppedAllOf() *PipelineStepStateCompletedStoppedAllOf

NewPipelineStepStateCompletedStoppedAllOf instantiates a new PipelineStepStateCompletedStoppedAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedStoppedAllOfWithDefaults ¶

func NewPipelineStepStateCompletedStoppedAllOfWithDefaults() *PipelineStepStateCompletedStoppedAllOf

NewPipelineStepStateCompletedStoppedAllOfWithDefaults instantiates a new PipelineStepStateCompletedStoppedAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedStoppedAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedStoppedAllOf) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedStoppedAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedStoppedAllOf) MarshalJSON ¶

func (o PipelineStepStateCompletedStoppedAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedStoppedAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedStoppedAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedStoppedAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedSuccessful ¶

type PipelineStepStateCompletedSuccessful struct {
	PipelineStepStateCompletedResult
	// The name of the result (SUCCESSFUL)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedSuccessful struct for PipelineStepStateCompletedSuccessful

func NewPipelineStepStateCompletedSuccessful ¶

func NewPipelineStepStateCompletedSuccessful() *PipelineStepStateCompletedSuccessful

NewPipelineStepStateCompletedSuccessful instantiates a new PipelineStepStateCompletedSuccessful object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedSuccessfulWithDefaults ¶

func NewPipelineStepStateCompletedSuccessfulWithDefaults() *PipelineStepStateCompletedSuccessful

NewPipelineStepStateCompletedSuccessfulWithDefaults instantiates a new PipelineStepStateCompletedSuccessful object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedSuccessful) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedSuccessful) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedSuccessful) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedSuccessful) MarshalJSON ¶

func (o PipelineStepStateCompletedSuccessful) MarshalJSON() ([]byte, error)

func (*PipelineStepStateCompletedSuccessful) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedSuccessful) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedSuccessful) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateCompletedSuccessfulAllOf ¶

type PipelineStepStateCompletedSuccessfulAllOf struct {
	// The name of the result (SUCCESSFUL)
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateCompletedSuccessfulAllOf A Bitbucket Pipelines SUCCESSFUL pipeline step result.

func NewPipelineStepStateCompletedSuccessfulAllOf ¶

func NewPipelineStepStateCompletedSuccessfulAllOf() *PipelineStepStateCompletedSuccessfulAllOf

NewPipelineStepStateCompletedSuccessfulAllOf instantiates a new PipelineStepStateCompletedSuccessfulAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateCompletedSuccessfulAllOfWithDefaults ¶

func NewPipelineStepStateCompletedSuccessfulAllOfWithDefaults() *PipelineStepStateCompletedSuccessfulAllOf

NewPipelineStepStateCompletedSuccessfulAllOfWithDefaults instantiates a new PipelineStepStateCompletedSuccessfulAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateCompletedSuccessfulAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateCompletedSuccessfulAllOf) GetNameOk ¶

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateCompletedSuccessfulAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateCompletedSuccessfulAllOf) MarshalJSON ¶

func (*PipelineStepStateCompletedSuccessfulAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateCompletedSuccessfulAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateCompletedSuccessfulAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateInProgress ¶

type PipelineStepStateInProgress struct {
	PipelineStepState
	// The name of pipeline step state (IN_PROGRESS).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateInProgress struct for PipelineStepStateInProgress

func NewPipelineStepStateInProgress ¶

func NewPipelineStepStateInProgress() *PipelineStepStateInProgress

NewPipelineStepStateInProgress instantiates a new PipelineStepStateInProgress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateInProgressWithDefaults ¶

func NewPipelineStepStateInProgressWithDefaults() *PipelineStepStateInProgress

NewPipelineStepStateInProgressWithDefaults instantiates a new PipelineStepStateInProgress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateInProgress) GetName ¶

func (o *PipelineStepStateInProgress) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateInProgress) GetNameOk ¶

func (o *PipelineStepStateInProgress) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateInProgress) HasName ¶

func (o *PipelineStepStateInProgress) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStepStateInProgress) MarshalJSON ¶

func (o PipelineStepStateInProgress) MarshalJSON() ([]byte, error)

func (*PipelineStepStateInProgress) SetName ¶

func (o *PipelineStepStateInProgress) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateInProgress) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateInProgress) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateInProgressAllOf ¶

type PipelineStepStateInProgressAllOf struct {
	// The name of pipeline step state (IN_PROGRESS).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateInProgressAllOf A Bitbucket Pipelines IN_PROGRESS pipeline step state.

func NewPipelineStepStateInProgressAllOf ¶

func NewPipelineStepStateInProgressAllOf() *PipelineStepStateInProgressAllOf

NewPipelineStepStateInProgressAllOf instantiates a new PipelineStepStateInProgressAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateInProgressAllOfWithDefaults ¶

func NewPipelineStepStateInProgressAllOfWithDefaults() *PipelineStepStateInProgressAllOf

NewPipelineStepStateInProgressAllOfWithDefaults instantiates a new PipelineStepStateInProgressAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateInProgressAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateInProgressAllOf) GetNameOk ¶

func (o *PipelineStepStateInProgressAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateInProgressAllOf) HasName ¶

HasName returns a boolean if a field has been set.

func (PipelineStepStateInProgressAllOf) MarshalJSON ¶

func (o PipelineStepStateInProgressAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStepStateInProgressAllOf) SetName ¶

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateInProgressAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateInProgressAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStatePending ¶

type PipelineStepStatePending struct {
	PipelineStepState
	// The name of pipeline step state (PENDING).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStatePending struct for PipelineStepStatePending

func NewPipelineStepStatePending ¶

func NewPipelineStepStatePending() *PipelineStepStatePending

NewPipelineStepStatePending instantiates a new PipelineStepStatePending object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStatePendingWithDefaults ¶

func NewPipelineStepStatePendingWithDefaults() *PipelineStepStatePending

NewPipelineStepStatePendingWithDefaults instantiates a new PipelineStepStatePending object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStatePending) GetName ¶

func (o *PipelineStepStatePending) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStatePending) GetNameOk ¶

func (o *PipelineStepStatePending) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStatePending) HasName ¶

func (o *PipelineStepStatePending) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStepStatePending) MarshalJSON ¶

func (o PipelineStepStatePending) MarshalJSON() ([]byte, error)

func (*PipelineStepStatePending) SetName ¶

func (o *PipelineStepStatePending) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStatePending) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStatePending) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStatePendingAllOf ¶

type PipelineStepStatePendingAllOf struct {
	// The name of pipeline step state (PENDING).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStatePendingAllOf A Bitbucket Pipelines PENDING pipeline step state.

func NewPipelineStepStatePendingAllOf ¶

func NewPipelineStepStatePendingAllOf() *PipelineStepStatePendingAllOf

NewPipelineStepStatePendingAllOf instantiates a new PipelineStepStatePendingAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStatePendingAllOfWithDefaults ¶

func NewPipelineStepStatePendingAllOfWithDefaults() *PipelineStepStatePendingAllOf

NewPipelineStepStatePendingAllOfWithDefaults instantiates a new PipelineStepStatePendingAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStatePendingAllOf) GetName ¶

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStatePendingAllOf) GetNameOk ¶

func (o *PipelineStepStatePendingAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStatePendingAllOf) HasName ¶

func (o *PipelineStepStatePendingAllOf) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStepStatePendingAllOf) MarshalJSON ¶

func (o PipelineStepStatePendingAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStepStatePendingAllOf) SetName ¶

func (o *PipelineStepStatePendingAllOf) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStatePendingAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStatePendingAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateReady ¶

type PipelineStepStateReady struct {
	PipelineStepState
	// The name of pipeline step state (READY).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateReady struct for PipelineStepStateReady

func NewPipelineStepStateReady ¶

func NewPipelineStepStateReady() *PipelineStepStateReady

NewPipelineStepStateReady instantiates a new PipelineStepStateReady object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateReadyWithDefaults ¶

func NewPipelineStepStateReadyWithDefaults() *PipelineStepStateReady

NewPipelineStepStateReadyWithDefaults instantiates a new PipelineStepStateReady object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateReady) GetName ¶

func (o *PipelineStepStateReady) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateReady) GetNameOk ¶

func (o *PipelineStepStateReady) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateReady) HasName ¶

func (o *PipelineStepStateReady) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStepStateReady) MarshalJSON ¶

func (o PipelineStepStateReady) MarshalJSON() ([]byte, error)

func (*PipelineStepStateReady) SetName ¶

func (o *PipelineStepStateReady) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateReady) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateReady) UnmarshalJSON(bytes []byte) (err error)

type PipelineStepStateReadyAllOf ¶

type PipelineStepStateReadyAllOf struct {
	// The name of pipeline step state (READY).
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineStepStateReadyAllOf A Bitbucket Pipelines READY pipeline step state.

func NewPipelineStepStateReadyAllOf ¶

func NewPipelineStepStateReadyAllOf() *PipelineStepStateReadyAllOf

NewPipelineStepStateReadyAllOf instantiates a new PipelineStepStateReadyAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineStepStateReadyAllOfWithDefaults ¶

func NewPipelineStepStateReadyAllOfWithDefaults() *PipelineStepStateReadyAllOf

NewPipelineStepStateReadyAllOfWithDefaults instantiates a new PipelineStepStateReadyAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineStepStateReadyAllOf) GetName ¶

func (o *PipelineStepStateReadyAllOf) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PipelineStepStateReadyAllOf) GetNameOk ¶

func (o *PipelineStepStateReadyAllOf) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineStepStateReadyAllOf) HasName ¶

func (o *PipelineStepStateReadyAllOf) HasName() bool

HasName returns a boolean if a field has been set.

func (PipelineStepStateReadyAllOf) MarshalJSON ¶

func (o PipelineStepStateReadyAllOf) MarshalJSON() ([]byte, error)

func (*PipelineStepStateReadyAllOf) SetName ¶

func (o *PipelineStepStateReadyAllOf) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PipelineStepStateReadyAllOf) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineStepStateReadyAllOf) UnmarshalJSON(bytes []byte) (err error)

type PipelineTarget ¶

type PipelineTarget struct {
	Object
	AdditionalProperties map[string]interface{}
}

PipelineTarget struct for PipelineTarget

func NewPipelineTarget ¶

func NewPipelineTarget() *PipelineTarget

NewPipelineTarget instantiates a new PipelineTarget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineTargetWithDefaults ¶

func NewPipelineTargetWithDefaults() *PipelineTarget

NewPipelineTargetWithDefaults instantiates a new PipelineTarget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelineTarget) MarshalJSON ¶

func (o PipelineTarget) MarshalJSON() ([]byte, error)

func (*PipelineTarget) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineTarget) UnmarshalJSON(bytes []byte) (err error)

type PipelineTrigger ¶

type PipelineTrigger struct {
	Object
	AdditionalProperties map[string]interface{}
}

PipelineTrigger struct for PipelineTrigger

func NewPipelineTrigger ¶

func NewPipelineTrigger() *PipelineTrigger

NewPipelineTrigger instantiates a new PipelineTrigger object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineTriggerWithDefaults ¶

func NewPipelineTriggerWithDefaults() *PipelineTrigger

NewPipelineTriggerWithDefaults instantiates a new PipelineTrigger object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelineTrigger) MarshalJSON ¶

func (o PipelineTrigger) MarshalJSON() ([]byte, error)

func (*PipelineTrigger) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineTrigger) UnmarshalJSON(bytes []byte) (err error)

type PipelineTriggerManual ¶

type PipelineTriggerManual struct {
	PipelineTrigger
	AdditionalProperties map[string]interface{}
}

PipelineTriggerManual struct for PipelineTriggerManual

func NewPipelineTriggerManual ¶

func NewPipelineTriggerManual() *PipelineTriggerManual

NewPipelineTriggerManual instantiates a new PipelineTriggerManual object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineTriggerManualWithDefaults ¶

func NewPipelineTriggerManualWithDefaults() *PipelineTriggerManual

NewPipelineTriggerManualWithDefaults instantiates a new PipelineTriggerManual object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelineTriggerManual) MarshalJSON ¶

func (o PipelineTriggerManual) MarshalJSON() ([]byte, error)

func (*PipelineTriggerManual) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineTriggerManual) UnmarshalJSON(bytes []byte) (err error)

type PipelineTriggerPush ¶

type PipelineTriggerPush struct {
	PipelineTrigger
	AdditionalProperties map[string]interface{}
}

PipelineTriggerPush struct for PipelineTriggerPush

func NewPipelineTriggerPush ¶

func NewPipelineTriggerPush() *PipelineTriggerPush

NewPipelineTriggerPush instantiates a new PipelineTriggerPush object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineTriggerPushWithDefaults ¶

func NewPipelineTriggerPushWithDefaults() *PipelineTriggerPush

NewPipelineTriggerPushWithDefaults instantiates a new PipelineTriggerPush object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelineTriggerPush) MarshalJSON ¶

func (o PipelineTriggerPush) MarshalJSON() ([]byte, error)

func (*PipelineTriggerPush) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineTriggerPush) UnmarshalJSON(bytes []byte) (err error)

type PipelineVariable ¶

type PipelineVariable struct {
	// The UUID identifying the variable.
	Uuid *string `json:"uuid,omitempty"`
	// The unique name of the variable.
	Key *string `json:"key,omitempty"`
	// The value of the variable. If the variable is secured, this will be empty.
	Value *string `json:"value,omitempty"`
	// If true, this variable will be treated as secured. The value will never be exposed in the logs or the REST API.
	Secured              *bool `json:"secured,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelineVariable A Pipelines variable.

func NewPipelineVariable ¶

func NewPipelineVariable() *PipelineVariable

NewPipelineVariable instantiates a new PipelineVariable object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelineVariableWithDefaults ¶

func NewPipelineVariableWithDefaults() *PipelineVariable

NewPipelineVariableWithDefaults instantiates a new PipelineVariable object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelineVariable) GetKey ¶

func (o *PipelineVariable) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*PipelineVariable) GetKeyOk ¶

func (o *PipelineVariable) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineVariable) GetSecured ¶

func (o *PipelineVariable) GetSecured() bool

GetSecured returns the Secured field value if set, zero value otherwise.

func (*PipelineVariable) GetSecuredOk ¶

func (o *PipelineVariable) GetSecuredOk() (*bool, bool)

GetSecuredOk returns a tuple with the Secured field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineVariable) GetUuid ¶

func (o *PipelineVariable) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*PipelineVariable) GetUuidOk ¶

func (o *PipelineVariable) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineVariable) GetValue ¶

func (o *PipelineVariable) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*PipelineVariable) GetValueOk ¶

func (o *PipelineVariable) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelineVariable) HasKey ¶

func (o *PipelineVariable) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*PipelineVariable) HasSecured ¶

func (o *PipelineVariable) HasSecured() bool

HasSecured returns a boolean if a field has been set.

func (*PipelineVariable) HasUuid ¶

func (o *PipelineVariable) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (*PipelineVariable) HasValue ¶

func (o *PipelineVariable) HasValue() bool

HasValue returns a boolean if a field has been set.

func (PipelineVariable) MarshalJSON ¶

func (o PipelineVariable) MarshalJSON() ([]byte, error)

func (*PipelineVariable) SetKey ¶

func (o *PipelineVariable) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*PipelineVariable) SetSecured ¶

func (o *PipelineVariable) SetSecured(v bool)

SetSecured gets a reference to the given bool and assigns it to the Secured field.

func (*PipelineVariable) SetUuid ¶

func (o *PipelineVariable) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*PipelineVariable) SetValue ¶

func (o *PipelineVariable) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (*PipelineVariable) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelineVariable) UnmarshalJSON(bytes []byte) (err error)

type PipelinesApiCreateDeploymentVariableRequest ¶

type PipelinesApiCreateDeploymentVariableRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiCreateDeploymentVariableRequest) Body ¶

The variable to create

func (PipelinesApiCreateDeploymentVariableRequest) Execute ¶

type PipelinesApiCreatePipelineForRepositoryRequest ¶

type PipelinesApiCreatePipelineForRepositoryRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiCreatePipelineForRepositoryRequest) Body ¶

The pipeline to initiate.

func (PipelinesApiCreatePipelineForRepositoryRequest) Execute ¶

type PipelinesApiCreatePipelineVariableForTeamRequest ¶

type PipelinesApiCreatePipelineVariableForTeamRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiCreatePipelineVariableForTeamRequest) Body ¶

The variable to create.

func (PipelinesApiCreatePipelineVariableForTeamRequest) Execute ¶

type PipelinesApiCreatePipelineVariableForUserRequest ¶

type PipelinesApiCreatePipelineVariableForUserRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiCreatePipelineVariableForUserRequest) Body ¶

The variable to create.

func (PipelinesApiCreatePipelineVariableForUserRequest) Execute ¶

type PipelinesApiCreatePipelineVariableForWorkspaceRequest ¶

type PipelinesApiCreatePipelineVariableForWorkspaceRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiCreatePipelineVariableForWorkspaceRequest) Body ¶

The variable to create.

func (PipelinesApiCreatePipelineVariableForWorkspaceRequest) Execute ¶

type PipelinesApiCreateRepositoryPipelineKnownHostRequest ¶

type PipelinesApiCreateRepositoryPipelineKnownHostRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiCreateRepositoryPipelineKnownHostRequest) Body ¶

The known host to create.

func (PipelinesApiCreateRepositoryPipelineKnownHostRequest) Execute ¶

type PipelinesApiCreateRepositoryPipelineScheduleRequest ¶

type PipelinesApiCreateRepositoryPipelineScheduleRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiCreateRepositoryPipelineScheduleRequest) Body ¶

The schedule to create.

func (PipelinesApiCreateRepositoryPipelineScheduleRequest) Execute ¶

type PipelinesApiCreateRepositoryPipelineVariableRequest ¶

type PipelinesApiCreateRepositoryPipelineVariableRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiCreateRepositoryPipelineVariableRequest) Body ¶

The variable to create.

func (PipelinesApiCreateRepositoryPipelineVariableRequest) Execute ¶

type PipelinesApiDeleteDeploymentVariableRequest ¶

type PipelinesApiDeleteDeploymentVariableRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiDeleteDeploymentVariableRequest) Execute ¶

type PipelinesApiDeletePipelineVariableForTeamRequest ¶

type PipelinesApiDeletePipelineVariableForTeamRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiDeletePipelineVariableForTeamRequest) Execute ¶

type PipelinesApiDeletePipelineVariableForUserRequest ¶

type PipelinesApiDeletePipelineVariableForUserRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiDeletePipelineVariableForUserRequest) Execute ¶

type PipelinesApiDeletePipelineVariableForWorkspaceRequest ¶

type PipelinesApiDeletePipelineVariableForWorkspaceRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiDeletePipelineVariableForWorkspaceRequest) Execute ¶

type PipelinesApiDeleteRepositoryPipelineCacheRequest ¶

type PipelinesApiDeleteRepositoryPipelineCacheRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiDeleteRepositoryPipelineCacheRequest) Execute ¶

type PipelinesApiDeleteRepositoryPipelineKeyPairRequest ¶

type PipelinesApiDeleteRepositoryPipelineKeyPairRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiDeleteRepositoryPipelineKeyPairRequest) Execute ¶

type PipelinesApiDeleteRepositoryPipelineKnownHostRequest ¶

type PipelinesApiDeleteRepositoryPipelineKnownHostRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiDeleteRepositoryPipelineKnownHostRequest) Execute ¶

type PipelinesApiDeleteRepositoryPipelineScheduleRequest ¶

type PipelinesApiDeleteRepositoryPipelineScheduleRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiDeleteRepositoryPipelineScheduleRequest) Execute ¶

type PipelinesApiDeleteRepositoryPipelineVariableRequest ¶

type PipelinesApiDeleteRepositoryPipelineVariableRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiDeleteRepositoryPipelineVariableRequest) Execute ¶

type PipelinesApiGetDeploymentVariablesRequest ¶

type PipelinesApiGetDeploymentVariablesRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetDeploymentVariablesRequest) Execute ¶

type PipelinesApiGetOIDCConfigurationRequest ¶

type PipelinesApiGetOIDCConfigurationRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetOIDCConfigurationRequest) Execute ¶

type PipelinesApiGetOIDCKeysRequest ¶

type PipelinesApiGetOIDCKeysRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetOIDCKeysRequest) Execute ¶

type PipelinesApiGetPipelineContainerLogRequest ¶

type PipelinesApiGetPipelineContainerLogRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineContainerLogRequest) Execute ¶

type PipelinesApiGetPipelineForRepositoryRequest ¶

type PipelinesApiGetPipelineForRepositoryRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineForRepositoryRequest) Execute ¶

type PipelinesApiGetPipelineStepForRepositoryRequest ¶

type PipelinesApiGetPipelineStepForRepositoryRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineStepForRepositoryRequest) Execute ¶

type PipelinesApiGetPipelineStepLogForRepositoryRequest ¶

type PipelinesApiGetPipelineStepLogForRepositoryRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineStepLogForRepositoryRequest) Execute ¶

type PipelinesApiGetPipelineStepsForRepositoryRequest ¶

type PipelinesApiGetPipelineStepsForRepositoryRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineStepsForRepositoryRequest) Execute ¶

type PipelinesApiGetPipelineTestReportTestCaseReasonsRequest ¶

type PipelinesApiGetPipelineTestReportTestCaseReasonsRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineTestReportTestCaseReasonsRequest) Execute ¶

type PipelinesApiGetPipelineTestReportTestCasesRequest ¶

type PipelinesApiGetPipelineTestReportTestCasesRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineTestReportTestCasesRequest) Execute ¶

type PipelinesApiGetPipelineTestReportsRequest ¶

type PipelinesApiGetPipelineTestReportsRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineTestReportsRequest) Execute ¶

type PipelinesApiGetPipelineVariableForTeamRequest ¶

type PipelinesApiGetPipelineVariableForTeamRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineVariableForTeamRequest) Execute ¶

type PipelinesApiGetPipelineVariableForUserRequest ¶

type PipelinesApiGetPipelineVariableForUserRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineVariableForUserRequest) Execute ¶

type PipelinesApiGetPipelineVariableForWorkspaceRequest ¶

type PipelinesApiGetPipelineVariableForWorkspaceRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineVariableForWorkspaceRequest) Execute ¶

type PipelinesApiGetPipelineVariablesForTeamRequest ¶

type PipelinesApiGetPipelineVariablesForTeamRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineVariablesForTeamRequest) Execute ¶

type PipelinesApiGetPipelineVariablesForUserRequest ¶

type PipelinesApiGetPipelineVariablesForUserRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineVariablesForUserRequest) Execute ¶

type PipelinesApiGetPipelineVariablesForWorkspaceRequest ¶

type PipelinesApiGetPipelineVariablesForWorkspaceRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelineVariablesForWorkspaceRequest) Execute ¶

type PipelinesApiGetPipelinesForRepositoryRequest ¶

type PipelinesApiGetPipelinesForRepositoryRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetPipelinesForRepositoryRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineCacheContentURIRequest ¶

type PipelinesApiGetRepositoryPipelineCacheContentURIRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineCacheContentURIRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineCachesRequest ¶

type PipelinesApiGetRepositoryPipelineCachesRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineCachesRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineConfigRequest ¶

type PipelinesApiGetRepositoryPipelineConfigRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineConfigRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineKnownHostRequest ¶

type PipelinesApiGetRepositoryPipelineKnownHostRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineKnownHostRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineKnownHostsRequest ¶

type PipelinesApiGetRepositoryPipelineKnownHostsRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineKnownHostsRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineScheduleExecutionsRequest ¶

type PipelinesApiGetRepositoryPipelineScheduleExecutionsRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineScheduleExecutionsRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineScheduleRequest ¶

type PipelinesApiGetRepositoryPipelineScheduleRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineScheduleRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineSchedulesRequest ¶

type PipelinesApiGetRepositoryPipelineSchedulesRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineSchedulesRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineSshKeyPairRequest ¶

type PipelinesApiGetRepositoryPipelineSshKeyPairRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineSshKeyPairRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineVariableRequest ¶

type PipelinesApiGetRepositoryPipelineVariableRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineVariableRequest) Execute ¶

type PipelinesApiGetRepositoryPipelineVariablesRequest ¶

type PipelinesApiGetRepositoryPipelineVariablesRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiGetRepositoryPipelineVariablesRequest) Execute ¶

type PipelinesApiService ¶

type PipelinesApiService service

PipelinesApiService PipelinesApi service

func (*PipelinesApiService) CreateDeploymentVariable ¶

func (a *PipelinesApiService) CreateDeploymentVariable(ctx context.Context, workspace string, repoSlug string, environmentUuid string) PipelinesApiCreateDeploymentVariableRequest

CreateDeploymentVariable Create a variable for an environment

Create a deployment environment level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param environmentUuid The environment.
@return PipelinesApiCreateDeploymentVariableRequest

func (*PipelinesApiService) CreateDeploymentVariableExecute ¶

Execute executes the request

@return DeploymentVariable

func (*PipelinesApiService) CreatePipelineForRepository ¶

func (a *PipelinesApiService) CreatePipelineForRepository(ctx context.Context, workspace string, repoSlug string) PipelinesApiCreatePipelineForRepositoryRequest

CreatePipelineForRepository Run a pipeline

Endpoint to create and initiate a pipeline. There are a couple of different options to initiate a pipeline, where the payload of the request will determine which type of pipeline will be instantiated. # Trigger a Pipeline for a branch One way to trigger pipelines is by specifying the branch for which you want to trigger a pipeline. The specified branch will be used to determine which pipeline definition from the `bitbucket-pipelines.yml` file will be applied to initiate the pipeline. The pipeline will then do a clone of the repository and checkout the latest revision of the specified branch.

### Example

```

$ curl -X POST -is -u username:password \
  -H 'Content-Type: application/json' \
 https://api.bitbucket.org/2.0/repositories/jeroendr/meat-demo2/pipelines/ \
  -d '
  {
    "target": {
      "ref_type": "branch",
      "type": "pipeline_ref_target",
      "ref_name": "master"
    }
  }'

``` # Trigger a Pipeline for a commit on a branch or tag You can initiate a pipeline for a specific commit and in the context of a specified reference (e.g. a branch, tag or bookmark). The specified reference will be used to determine which pipeline definition from the bitbucket-pipelines.yml file will be applied to initiate the pipeline. The pipeline will clone the repository and then do a checkout the specified reference.

The following reference types are supported:

* `branch` * `named_branch` * `bookmark`

  • `tag`

### Example

```

$ curl -X POST -is -u username:password \
  -H 'Content-Type: application/json' \
  https://api.bitbucket.org/2.0/repositories/jeroendr/meat-demo2/pipelines/ \
  -d '
  {
    "target": {
      "commit": {
        "type": "commit",
        "hash": "ce5b7431602f7cbba007062eeb55225c6e18e956"
      },
      "ref_type": "branch",
      "type": "pipeline_ref_target",
      "ref_name": "master"
    }
  }'

``` # Trigger a specific pipeline definition for a commit You can trigger a specific pipeline that is defined in your `bitbucket-pipelines.yml` file for a specific commit. In addition to the commit revision, you specify the type and pattern of the selector that identifies the pipeline definition. The resulting pipeline will then clone the repository and checkout the specified revision.

### Example

```

$ curl -X POST -is -u username:password \
  -H 'Content-Type: application/json' \
 https://api.bitbucket.org/2.0/repositories/jeroendr/meat-demo2/pipelines/ \
 -d '
  {
     "target": {
      "commit": {
         "hash":"a3c4e02c9a3755eccdc3764e6ea13facdf30f923",
         "type":"commit"
       },
        "selector": {
           "type":"custom",
              "pattern":"Deploy to production"
          },
        "type":"pipeline_commit_target"
   }
  }'

``` # Trigger a specific pipeline definition for a commit on a branch or tag You can trigger a specific pipeline that is defined in your `bitbucket-pipelines.yml` file for a specific commit in the context of a specified reference. In addition to the commit revision, you specify the type and pattern of the selector that identifies the pipeline definition, as well as the reference information. The resulting pipeline will then clone the repository a checkout the specified reference.

### Example

```

$ curl -X POST -is -u username:password \
  -H 'Content-Type: application/json' \
 https://api.bitbucket.org/2.0/repositories/jeroendr/meat-demo2/pipelines/ \
 -d '
  {
     "target": {
      "commit": {
         "hash":"a3c4e02c9a3755eccdc3764e6ea13facdf30f923",
         "type":"commit"
       },
       "selector": {
          "type": "custom",
          "pattern": "Deploy to production"
       },
       "type": "pipeline_ref_target",
       "ref_name": "master",
       "ref_type": "branch"
     }
  }'

```

# Trigger a custom pipeline with variables In addition to triggering a custom pipeline that is defined in your `bitbucket-pipelines.yml` file as shown in the examples above, you can specify variables that will be available for your build. In the request, provide a list of variables, specifying the following for each variable: key, value, and whether it should be secured or not (this field is optional and defaults to not secured).

### Example

```

$ curl -X POST -is -u username:password \
  -H 'Content-Type: application/json' \
 https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/ \
 -d '
  {
    "target": {
      "type": "pipeline_ref_target",
      "ref_type": "branch",
      "ref_name": "master",
      "selector": {
        "type": "custom",
        "pattern": "Deploy to production"
      }
    },
    "variables": [
      {
        "key": "var1key",
        "value": "var1value",
        "secured": true
      },
      {
        "key": "var2key",
        "value": "var2value"
      }
    ]
  }'

```

Trigger a pull request pipeline ¶

You can also initiate a pipeline for a specific pull request.

### Example

```

$ curl -X POST -is -u username:password \
  -H 'Content-Type: application/json' \
 https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/ \
 -d '
  {
	"target": {
      "type": "pipeline_pullrequest_target",
	  "source": "pull-request-branch",
      "destination": "master",
      "destination_commit": {
      	 "hash" : "9f848b7"
      },
      "commit": {
      	"hash" : "1a372fc"
      },
      "pullrequest" : {
      	"id" : "3"
      },
	  "selector": {
        "type": "pull-requests",
        "pattern": "**"
      }
    }
  }'

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiCreatePipelineForRepositoryRequest

func (*PipelinesApiService) CreatePipelineForRepositoryExecute ¶

func (a *PipelinesApiService) CreatePipelineForRepositoryExecute(r PipelinesApiCreatePipelineForRepositoryRequest) (*Pipeline, *http.Response, error)

Execute executes the request

@return Pipeline

func (*PipelinesApiService) CreatePipelineVariableForTeam ¶

func (a *PipelinesApiService) CreatePipelineVariableForTeam(ctx context.Context, username string) PipelinesApiCreatePipelineVariableForTeamRequest

CreatePipelineVariableForTeam Create a variable for a user

Create an account level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username The account.
@return PipelinesApiCreatePipelineVariableForTeamRequest

Deprecated

func (*PipelinesApiService) CreatePipelineVariableForTeamExecute ¶

Execute executes the request

@return PipelineVariable

Deprecated

func (*PipelinesApiService) CreatePipelineVariableForUser ¶

func (a *PipelinesApiService) CreatePipelineVariableForUser(ctx context.Context, selectedUser string) PipelinesApiCreatePipelineVariableForUserRequest

CreatePipelineVariableForUser Create a variable for a user

Create a user level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
@return PipelinesApiCreatePipelineVariableForUserRequest

Deprecated

func (*PipelinesApiService) CreatePipelineVariableForUserExecute ¶

Execute executes the request

@return PipelineVariable

Deprecated

func (*PipelinesApiService) CreatePipelineVariableForWorkspace ¶

func (a *PipelinesApiService) CreatePipelineVariableForWorkspace(ctx context.Context, workspace string) PipelinesApiCreatePipelineVariableForWorkspaceRequest

CreatePipelineVariableForWorkspace Create a variable for a workspace

Create a workspace level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@return PipelinesApiCreatePipelineVariableForWorkspaceRequest

func (*PipelinesApiService) CreatePipelineVariableForWorkspaceExecute ¶

Execute executes the request

@return PipelineVariable

func (*PipelinesApiService) CreateRepositoryPipelineKnownHost ¶

func (a *PipelinesApiService) CreateRepositoryPipelineKnownHost(ctx context.Context, workspace string, repoSlug string) PipelinesApiCreateRepositoryPipelineKnownHostRequest

CreateRepositoryPipelineKnownHost Create a known host

Create a repository level known host.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiCreateRepositoryPipelineKnownHostRequest

func (*PipelinesApiService) CreateRepositoryPipelineKnownHostExecute ¶

Execute executes the request

@return PipelineKnownHost

func (*PipelinesApiService) CreateRepositoryPipelineSchedule ¶

func (a *PipelinesApiService) CreateRepositoryPipelineSchedule(ctx context.Context, workspace string, repoSlug string) PipelinesApiCreateRepositoryPipelineScheduleRequest

CreateRepositoryPipelineSchedule Create a schedule

Create a schedule for the given repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiCreateRepositoryPipelineScheduleRequest

func (*PipelinesApiService) CreateRepositoryPipelineScheduleExecute ¶

Execute executes the request

@return PipelineSchedule

func (*PipelinesApiService) CreateRepositoryPipelineVariable ¶

func (a *PipelinesApiService) CreateRepositoryPipelineVariable(ctx context.Context, workspace string, repoSlug string) PipelinesApiCreateRepositoryPipelineVariableRequest

CreateRepositoryPipelineVariable Create a variable for a repository

Create a repository level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiCreateRepositoryPipelineVariableRequest

func (*PipelinesApiService) CreateRepositoryPipelineVariableExecute ¶

Execute executes the request

@return PipelineVariable

func (*PipelinesApiService) DeleteDeploymentVariable ¶

func (a *PipelinesApiService) DeleteDeploymentVariable(ctx context.Context, workspace string, repoSlug string, environmentUuid string, variableUuid string) PipelinesApiDeleteDeploymentVariableRequest

DeleteDeploymentVariable Delete a variable for an environment

Delete a deployment environment level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param environmentUuid The environment.
@param variableUuid The UUID of the variable to delete.
@return PipelinesApiDeleteDeploymentVariableRequest

func (*PipelinesApiService) DeleteDeploymentVariableExecute ¶

func (a *PipelinesApiService) DeleteDeploymentVariableExecute(r PipelinesApiDeleteDeploymentVariableRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) DeletePipelineVariableForTeam ¶

func (a *PipelinesApiService) DeletePipelineVariableForTeam(ctx context.Context, username string, variableUuid string) PipelinesApiDeletePipelineVariableForTeamRequest

DeletePipelineVariableForTeam Delete a variable for a team

Delete a team level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username The account.
@param variableUuid The UUID of the variable to delete.
@return PipelinesApiDeletePipelineVariableForTeamRequest

Deprecated

func (*PipelinesApiService) DeletePipelineVariableForTeamExecute ¶

func (a *PipelinesApiService) DeletePipelineVariableForTeamExecute(r PipelinesApiDeletePipelineVariableForTeamRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*PipelinesApiService) DeletePipelineVariableForUser ¶

func (a *PipelinesApiService) DeletePipelineVariableForUser(ctx context.Context, selectedUser string, variableUuid string) PipelinesApiDeletePipelineVariableForUserRequest

DeletePipelineVariableForUser Delete a variable for a user

Delete an account level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
@param variableUuid The UUID of the variable to delete.
@return PipelinesApiDeletePipelineVariableForUserRequest

Deprecated

func (*PipelinesApiService) DeletePipelineVariableForUserExecute ¶

func (a *PipelinesApiService) DeletePipelineVariableForUserExecute(r PipelinesApiDeletePipelineVariableForUserRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*PipelinesApiService) DeletePipelineVariableForWorkspace ¶

func (a *PipelinesApiService) DeletePipelineVariableForWorkspace(ctx context.Context, workspace string, variableUuid string) PipelinesApiDeletePipelineVariableForWorkspaceRequest

DeletePipelineVariableForWorkspace Delete a variable for a workspace

Delete a workspace level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param variableUuid The UUID of the variable to delete.
@return PipelinesApiDeletePipelineVariableForWorkspaceRequest

func (*PipelinesApiService) DeletePipelineVariableForWorkspaceExecute ¶

func (a *PipelinesApiService) DeletePipelineVariableForWorkspaceExecute(r PipelinesApiDeletePipelineVariableForWorkspaceRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) DeleteRepositoryPipelineCache ¶

func (a *PipelinesApiService) DeleteRepositoryPipelineCache(ctx context.Context, workspace string, repoSlug string, cacheUuid string) PipelinesApiDeleteRepositoryPipelineCacheRequest

DeleteRepositoryPipelineCache Delete a cache

Delete a repository cache.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The account.
@param repoSlug The repository.
@param cacheUuid The UUID of the cache to delete.
@return PipelinesApiDeleteRepositoryPipelineCacheRequest

func (*PipelinesApiService) DeleteRepositoryPipelineCacheExecute ¶

func (a *PipelinesApiService) DeleteRepositoryPipelineCacheExecute(r PipelinesApiDeleteRepositoryPipelineCacheRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) DeleteRepositoryPipelineKeyPair ¶

func (a *PipelinesApiService) DeleteRepositoryPipelineKeyPair(ctx context.Context, workspace string, repoSlug string) PipelinesApiDeleteRepositoryPipelineKeyPairRequest

DeleteRepositoryPipelineKeyPair Delete SSH key pair

Delete the repository SSH key pair.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiDeleteRepositoryPipelineKeyPairRequest

func (*PipelinesApiService) DeleteRepositoryPipelineKeyPairExecute ¶

func (a *PipelinesApiService) DeleteRepositoryPipelineKeyPairExecute(r PipelinesApiDeleteRepositoryPipelineKeyPairRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) DeleteRepositoryPipelineKnownHost ¶

func (a *PipelinesApiService) DeleteRepositoryPipelineKnownHost(ctx context.Context, workspace string, repoSlug string, knownHostUuid string) PipelinesApiDeleteRepositoryPipelineKnownHostRequest

DeleteRepositoryPipelineKnownHost Delete a known host

Delete a repository level known host.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param knownHostUuid The UUID of the known host to delete.
@return PipelinesApiDeleteRepositoryPipelineKnownHostRequest

func (*PipelinesApiService) DeleteRepositoryPipelineKnownHostExecute ¶

func (a *PipelinesApiService) DeleteRepositoryPipelineKnownHostExecute(r PipelinesApiDeleteRepositoryPipelineKnownHostRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) DeleteRepositoryPipelineSchedule ¶

func (a *PipelinesApiService) DeleteRepositoryPipelineSchedule(ctx context.Context, workspace string, repoSlug string, scheduleUuid string) PipelinesApiDeleteRepositoryPipelineScheduleRequest

DeleteRepositoryPipelineSchedule Delete a schedule

Delete a schedule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param scheduleUuid The uuid of the schedule.
@return PipelinesApiDeleteRepositoryPipelineScheduleRequest

func (*PipelinesApiService) DeleteRepositoryPipelineScheduleExecute ¶

func (a *PipelinesApiService) DeleteRepositoryPipelineScheduleExecute(r PipelinesApiDeleteRepositoryPipelineScheduleRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) DeleteRepositoryPipelineVariable ¶

func (a *PipelinesApiService) DeleteRepositoryPipelineVariable(ctx context.Context, workspace string, repoSlug string, variableUuid string) PipelinesApiDeleteRepositoryPipelineVariableRequest

DeleteRepositoryPipelineVariable Delete a variable for a repository

Delete a repository level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param variableUuid The UUID of the variable to delete.
@return PipelinesApiDeleteRepositoryPipelineVariableRequest

func (*PipelinesApiService) DeleteRepositoryPipelineVariableExecute ¶

func (a *PipelinesApiService) DeleteRepositoryPipelineVariableExecute(r PipelinesApiDeleteRepositoryPipelineVariableRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) GetDeploymentVariables ¶

func (a *PipelinesApiService) GetDeploymentVariables(ctx context.Context, workspace string, repoSlug string, environmentUuid string) PipelinesApiGetDeploymentVariablesRequest

GetDeploymentVariables List variables for an environment

Find deployment environment level variables.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param environmentUuid The environment.
@return PipelinesApiGetDeploymentVariablesRequest

func (*PipelinesApiService) GetDeploymentVariablesExecute ¶

Execute executes the request

@return PaginatedDeploymentVariable

func (*PipelinesApiService) GetOIDCConfiguration ¶

func (a *PipelinesApiService) GetOIDCConfiguration(ctx context.Context, workspace string) PipelinesApiGetOIDCConfigurationRequest

GetOIDCConfiguration Get OpenID configuration for OIDC in Pipelines

This is part of OpenID Connect for Pipelines, see https://support.atlassian.com/bitbucket-cloud/docs/integrate-pipelines-with-resource-servers-using-oidc/

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@return PipelinesApiGetOIDCConfigurationRequest

func (*PipelinesApiService) GetOIDCConfigurationExecute ¶

func (a *PipelinesApiService) GetOIDCConfigurationExecute(r PipelinesApiGetOIDCConfigurationRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) GetOIDCKeys ¶

GetOIDCKeys Get keys for OIDC in Pipelines

This is part of OpenID Connect for Pipelines, see https://support.atlassian.com/bitbucket-cloud/docs/integrate-pipelines-with-resource-servers-using-oidc/

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@return PipelinesApiGetOIDCKeysRequest

func (*PipelinesApiService) GetOIDCKeysExecute ¶

Execute executes the request

func (*PipelinesApiService) GetPipelineContainerLog ¶

func (a *PipelinesApiService) GetPipelineContainerLog(ctx context.Context, workspace string, repoSlug string, pipelineUuid string, stepUuid string, logUuid string) PipelinesApiGetPipelineContainerLogRequest

GetPipelineContainerLog Get the logs for the build container or a service container for a given step of a pipeline.

Retrieve the log file for a build container or service container.

This endpoint supports (and encourages!) the use of [HTTP Range requests](https://tools.ietf.org/html/rfc7233) to deal with potentially very large log files.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param pipelineUuid The UUID of the pipeline.
@param stepUuid The UUID of the step.
@param logUuid For the main build container specify the step UUID; for a service container specify the service container UUID
@return PipelinesApiGetPipelineContainerLogRequest

func (*PipelinesApiService) GetPipelineContainerLogExecute ¶

func (a *PipelinesApiService) GetPipelineContainerLogExecute(r PipelinesApiGetPipelineContainerLogRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) GetPipelineForRepository ¶

func (a *PipelinesApiService) GetPipelineForRepository(ctx context.Context, workspace string, repoSlug string, pipelineUuid string) PipelinesApiGetPipelineForRepositoryRequest

GetPipelineForRepository Get a pipeline

Retrieve a specified pipeline

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param pipelineUuid The pipeline UUID.
@return PipelinesApiGetPipelineForRepositoryRequest

func (*PipelinesApiService) GetPipelineForRepositoryExecute ¶

func (a *PipelinesApiService) GetPipelineForRepositoryExecute(r PipelinesApiGetPipelineForRepositoryRequest) (*Pipeline, *http.Response, error)

Execute executes the request

@return Pipeline

func (*PipelinesApiService) GetPipelineStepForRepository ¶

func (a *PipelinesApiService) GetPipelineStepForRepository(ctx context.Context, workspace string, repoSlug string, pipelineUuid string, stepUuid string) PipelinesApiGetPipelineStepForRepositoryRequest

GetPipelineStepForRepository Get a step of a pipeline

Retrieve a given step of a pipeline.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param pipelineUuid The UUID of the pipeline.
@param stepUuid The UUID of the step.
@return PipelinesApiGetPipelineStepForRepositoryRequest

func (*PipelinesApiService) GetPipelineStepForRepositoryExecute ¶

Execute executes the request

@return PipelineStep

func (*PipelinesApiService) GetPipelineStepLogForRepository ¶

func (a *PipelinesApiService) GetPipelineStepLogForRepository(ctx context.Context, workspace string, repoSlug string, pipelineUuid string, stepUuid string) PipelinesApiGetPipelineStepLogForRepositoryRequest

GetPipelineStepLogForRepository Get log file for a step

Retrieve the log file for a given step of a pipeline.

This endpoint supports (and encourages!) the use of [HTTP Range requests](https://tools.ietf.org/html/rfc7233) to deal with potentially very large log files.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param pipelineUuid The UUID of the pipeline.
@param stepUuid The UUID of the step.
@return PipelinesApiGetPipelineStepLogForRepositoryRequest

func (*PipelinesApiService) GetPipelineStepLogForRepositoryExecute ¶

func (a *PipelinesApiService) GetPipelineStepLogForRepositoryExecute(r PipelinesApiGetPipelineStepLogForRepositoryRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) GetPipelineStepsForRepository ¶

func (a *PipelinesApiService) GetPipelineStepsForRepository(ctx context.Context, workspace string, repoSlug string, pipelineUuid string) PipelinesApiGetPipelineStepsForRepositoryRequest

GetPipelineStepsForRepository List steps for a pipeline

Find steps for the given pipeline.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param pipelineUuid The UUID of the pipeline.
@return PipelinesApiGetPipelineStepsForRepositoryRequest

func (*PipelinesApiService) GetPipelineStepsForRepositoryExecute ¶

Execute executes the request

@return PaginatedPipelineSteps

func (*PipelinesApiService) GetPipelineTestReportTestCaseReasons ¶

func (a *PipelinesApiService) GetPipelineTestReportTestCaseReasons(ctx context.Context, workspace string, repoSlug string, pipelineUuid string, stepUuid string, testCaseUuid string) PipelinesApiGetPipelineTestReportTestCaseReasonsRequest

GetPipelineTestReportTestCaseReasons Get test case reasons (output) for a given test case in a step of a pipeline.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param pipelineUuid The UUID of the pipeline.
@param stepUuid The UUID of the step.
@param testCaseUuid The UUID of the test case.
@return PipelinesApiGetPipelineTestReportTestCaseReasonsRequest

func (*PipelinesApiService) GetPipelineTestReportTestCaseReasonsExecute ¶

func (a *PipelinesApiService) GetPipelineTestReportTestCaseReasonsExecute(r PipelinesApiGetPipelineTestReportTestCaseReasonsRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) GetPipelineTestReportTestCases ¶

func (a *PipelinesApiService) GetPipelineTestReportTestCases(ctx context.Context, workspace string, repoSlug string, pipelineUuid string, stepUuid string) PipelinesApiGetPipelineTestReportTestCasesRequest

GetPipelineTestReportTestCases Get test cases for a given step of a pipeline.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param pipelineUuid The UUID of the pipeline.
@param stepUuid The UUID of the step.
@return PipelinesApiGetPipelineTestReportTestCasesRequest

func (*PipelinesApiService) GetPipelineTestReportTestCasesExecute ¶

func (a *PipelinesApiService) GetPipelineTestReportTestCasesExecute(r PipelinesApiGetPipelineTestReportTestCasesRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) GetPipelineTestReports ¶

func (a *PipelinesApiService) GetPipelineTestReports(ctx context.Context, workspace string, repoSlug string, pipelineUuid string, stepUuid string) PipelinesApiGetPipelineTestReportsRequest

GetPipelineTestReports Get a summary of test reports for a given step of a pipeline.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param pipelineUuid The UUID of the pipeline.
@param stepUuid The UUID of the step.
@return PipelinesApiGetPipelineTestReportsRequest

func (*PipelinesApiService) GetPipelineTestReportsExecute ¶

func (a *PipelinesApiService) GetPipelineTestReportsExecute(r PipelinesApiGetPipelineTestReportsRequest) (*http.Response, error)

Execute executes the request

func (*PipelinesApiService) GetPipelineVariableForTeam ¶

func (a *PipelinesApiService) GetPipelineVariableForTeam(ctx context.Context, username string, variableUuid string) PipelinesApiGetPipelineVariableForTeamRequest

GetPipelineVariableForTeam Get a variable for a team

Retrieve a team level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username The account.
@param variableUuid The UUID of the variable to retrieve.
@return PipelinesApiGetPipelineVariableForTeamRequest

Deprecated

func (*PipelinesApiService) GetPipelineVariableForTeamExecute ¶

Execute executes the request

@return PipelineVariable

Deprecated

func (*PipelinesApiService) GetPipelineVariableForUser ¶

func (a *PipelinesApiService) GetPipelineVariableForUser(ctx context.Context, selectedUser string, variableUuid string) PipelinesApiGetPipelineVariableForUserRequest

GetPipelineVariableForUser Get a variable for a user

Retrieve a user level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
@param variableUuid The UUID of the variable to retrieve.
@return PipelinesApiGetPipelineVariableForUserRequest

Deprecated

func (*PipelinesApiService) GetPipelineVariableForUserExecute ¶

Execute executes the request

@return PipelineVariable

Deprecated

func (*PipelinesApiService) GetPipelineVariableForWorkspace ¶

func (a *PipelinesApiService) GetPipelineVariableForWorkspace(ctx context.Context, workspace string, variableUuid string) PipelinesApiGetPipelineVariableForWorkspaceRequest

GetPipelineVariableForWorkspace Get variable for a workspace

Retrieve a workspace level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param variableUuid The UUID of the variable to retrieve.
@return PipelinesApiGetPipelineVariableForWorkspaceRequest

func (*PipelinesApiService) GetPipelineVariableForWorkspaceExecute ¶

Execute executes the request

@return PipelineVariable

func (*PipelinesApiService) GetPipelineVariablesForTeam ¶

func (a *PipelinesApiService) GetPipelineVariablesForTeam(ctx context.Context, username string) PipelinesApiGetPipelineVariablesForTeamRequest

GetPipelineVariablesForTeam List variables for an account

Find account level variables. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username The account.
@return PipelinesApiGetPipelineVariablesForTeamRequest

Deprecated

func (*PipelinesApiService) GetPipelineVariablesForTeamExecute ¶

Execute executes the request

@return PaginatedPipelineVariables

Deprecated

func (*PipelinesApiService) GetPipelineVariablesForUser ¶

func (a *PipelinesApiService) GetPipelineVariablesForUser(ctx context.Context, selectedUser string) PipelinesApiGetPipelineVariablesForUserRequest

GetPipelineVariablesForUser List variables for a user

Find user level variables. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
@return PipelinesApiGetPipelineVariablesForUserRequest

Deprecated

func (*PipelinesApiService) GetPipelineVariablesForUserExecute ¶

Execute executes the request

@return PaginatedPipelineVariables

Deprecated

func (*PipelinesApiService) GetPipelineVariablesForWorkspace ¶

func (a *PipelinesApiService) GetPipelineVariablesForWorkspace(ctx context.Context, workspace string) PipelinesApiGetPipelineVariablesForWorkspaceRequest

GetPipelineVariablesForWorkspace List variables for a workspace

Find workspace level variables.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@return PipelinesApiGetPipelineVariablesForWorkspaceRequest

func (*PipelinesApiService) GetPipelineVariablesForWorkspaceExecute ¶

Execute executes the request

@return PaginatedPipelineVariables

func (*PipelinesApiService) GetPipelinesForRepository ¶

func (a *PipelinesApiService) GetPipelinesForRepository(ctx context.Context, workspace string, repoSlug string) PipelinesApiGetPipelinesForRepositoryRequest

GetPipelinesForRepository List pipelines

Find pipelines

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiGetPipelinesForRepositoryRequest

func (*PipelinesApiService) GetPipelinesForRepositoryExecute ¶

Execute executes the request

@return PaginatedPipelines

func (*PipelinesApiService) GetRepositoryPipelineCacheContentURI ¶

func (a *PipelinesApiService) GetRepositoryPipelineCacheContentURI(ctx context.Context, workspace string, repoSlug string, cacheUuid string) PipelinesApiGetRepositoryPipelineCacheContentURIRequest

GetRepositoryPipelineCacheContentURI Get cache content URI

Retrieve the URI of the content of the specified cache.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The account.
@param repoSlug The repository.
@param cacheUuid The UUID of the cache.
@return PipelinesApiGetRepositoryPipelineCacheContentURIRequest

func (*PipelinesApiService) GetRepositoryPipelineCacheContentURIExecute ¶

Execute executes the request

@return PipelineCacheContentUri

func (*PipelinesApiService) GetRepositoryPipelineCaches ¶

func (a *PipelinesApiService) GetRepositoryPipelineCaches(ctx context.Context, workspace string, repoSlug string) PipelinesApiGetRepositoryPipelineCachesRequest

GetRepositoryPipelineCaches List caches

Retrieve the repository pipelines caches.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The account.
@param repoSlug The repository.
@return PipelinesApiGetRepositoryPipelineCachesRequest

func (*PipelinesApiService) GetRepositoryPipelineCachesExecute ¶

Execute executes the request

@return PaginatedPipelineCaches

func (*PipelinesApiService) GetRepositoryPipelineConfig ¶

func (a *PipelinesApiService) GetRepositoryPipelineConfig(ctx context.Context, workspace string, repoSlug string) PipelinesApiGetRepositoryPipelineConfigRequest

GetRepositoryPipelineConfig Get configuration

Retrieve the repository pipelines configuration.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The account.
@param repoSlug The repository.
@return PipelinesApiGetRepositoryPipelineConfigRequest

func (*PipelinesApiService) GetRepositoryPipelineConfigExecute ¶

Execute executes the request

@return PipelinesConfig

func (*PipelinesApiService) GetRepositoryPipelineKnownHost ¶

func (a *PipelinesApiService) GetRepositoryPipelineKnownHost(ctx context.Context, workspace string, repoSlug string, knownHostUuid string) PipelinesApiGetRepositoryPipelineKnownHostRequest

GetRepositoryPipelineKnownHost Get a known host

Retrieve a repository level known host.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param knownHostUuid The UUID of the known host to retrieve.
@return PipelinesApiGetRepositoryPipelineKnownHostRequest

func (*PipelinesApiService) GetRepositoryPipelineKnownHostExecute ¶

Execute executes the request

@return PipelineKnownHost

func (*PipelinesApiService) GetRepositoryPipelineKnownHosts ¶

func (a *PipelinesApiService) GetRepositoryPipelineKnownHosts(ctx context.Context, workspace string, repoSlug string) PipelinesApiGetRepositoryPipelineKnownHostsRequest

GetRepositoryPipelineKnownHosts List known hosts

Find repository level known hosts.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiGetRepositoryPipelineKnownHostsRequest

func (*PipelinesApiService) GetRepositoryPipelineKnownHostsExecute ¶

Execute executes the request

@return PaginatedPipelineKnownHosts

func (*PipelinesApiService) GetRepositoryPipelineSchedule ¶

func (a *PipelinesApiService) GetRepositoryPipelineSchedule(ctx context.Context, workspace string, repoSlug string, scheduleUuid string) PipelinesApiGetRepositoryPipelineScheduleRequest

GetRepositoryPipelineSchedule Get a schedule

Retrieve a schedule by its UUID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param scheduleUuid The uuid of the schedule.
@return PipelinesApiGetRepositoryPipelineScheduleRequest

func (*PipelinesApiService) GetRepositoryPipelineScheduleExecute ¶

Execute executes the request

@return PipelineSchedule

func (*PipelinesApiService) GetRepositoryPipelineScheduleExecutions ¶

func (a *PipelinesApiService) GetRepositoryPipelineScheduleExecutions(ctx context.Context, workspace string, repoSlug string, scheduleUuid string) PipelinesApiGetRepositoryPipelineScheduleExecutionsRequest

GetRepositoryPipelineScheduleExecutions List executions of a schedule

Retrieve the executions of a given schedule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param scheduleUuid The uuid of the schedule.
@return PipelinesApiGetRepositoryPipelineScheduleExecutionsRequest

func (*PipelinesApiService) GetRepositoryPipelineScheduleExecutionsExecute ¶

Execute executes the request

@return PaginatedPipelineScheduleExecutions

func (*PipelinesApiService) GetRepositoryPipelineSchedules ¶

func (a *PipelinesApiService) GetRepositoryPipelineSchedules(ctx context.Context, workspace string, repoSlug string) PipelinesApiGetRepositoryPipelineSchedulesRequest

GetRepositoryPipelineSchedules List schedules

Retrieve the configured schedules for the given repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiGetRepositoryPipelineSchedulesRequest

func (*PipelinesApiService) GetRepositoryPipelineSchedulesExecute ¶

Execute executes the request

@return PaginatedPipelineSchedules

func (*PipelinesApiService) GetRepositoryPipelineSshKeyPair ¶

func (a *PipelinesApiService) GetRepositoryPipelineSshKeyPair(ctx context.Context, workspace string, repoSlug string) PipelinesApiGetRepositoryPipelineSshKeyPairRequest

GetRepositoryPipelineSshKeyPair Get SSH key pair

Retrieve the repository SSH key pair excluding the SSH private key. The private key is a write only field and will never be exposed in the logs or the REST API.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiGetRepositoryPipelineSshKeyPairRequest

func (*PipelinesApiService) GetRepositoryPipelineSshKeyPairExecute ¶

Execute executes the request

@return PipelineSshKeyPair

func (*PipelinesApiService) GetRepositoryPipelineVariable ¶

func (a *PipelinesApiService) GetRepositoryPipelineVariable(ctx context.Context, workspace string, repoSlug string, variableUuid string) PipelinesApiGetRepositoryPipelineVariableRequest

GetRepositoryPipelineVariable Get a variable for a repository

Retrieve a repository level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param variableUuid The UUID of the variable to retrieve.
@return PipelinesApiGetRepositoryPipelineVariableRequest

func (*PipelinesApiService) GetRepositoryPipelineVariableExecute ¶

Execute executes the request

@return PipelineVariable

func (*PipelinesApiService) GetRepositoryPipelineVariables ¶

func (a *PipelinesApiService) GetRepositoryPipelineVariables(ctx context.Context, workspace string, repoSlug string) PipelinesApiGetRepositoryPipelineVariablesRequest

GetRepositoryPipelineVariables List variables for a repository

Find repository level variables.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiGetRepositoryPipelineVariablesRequest

func (*PipelinesApiService) GetRepositoryPipelineVariablesExecute ¶

Execute executes the request

@return PaginatedPipelineVariables

func (*PipelinesApiService) StopPipeline ¶

func (a *PipelinesApiService) StopPipeline(ctx context.Context, workspace string, repoSlug string, pipelineUuid string) PipelinesApiStopPipelineRequest

StopPipeline Stop a pipeline

Signal the stop of a pipeline and all of its steps that not have completed yet.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param pipelineUuid The UUID of the pipeline.
@return PipelinesApiStopPipelineRequest

func (*PipelinesApiService) StopPipelineExecute ¶

Execute executes the request

func (*PipelinesApiService) UpdateDeploymentVariable ¶

func (a *PipelinesApiService) UpdateDeploymentVariable(ctx context.Context, workspace string, repoSlug string, environmentUuid string, variableUuid string) PipelinesApiUpdateDeploymentVariableRequest

UpdateDeploymentVariable Update a variable for an environment

Update a deployment environment level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param environmentUuid The environment.
@param variableUuid The UUID of the variable to update.
@return PipelinesApiUpdateDeploymentVariableRequest

func (*PipelinesApiService) UpdateDeploymentVariableExecute ¶

Execute executes the request

@return DeploymentVariable

func (*PipelinesApiService) UpdatePipelineVariableForTeam ¶

func (a *PipelinesApiService) UpdatePipelineVariableForTeam(ctx context.Context, username string, variableUuid string) PipelinesApiUpdatePipelineVariableForTeamRequest

UpdatePipelineVariableForTeam Update a variable for a team

Update a team level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username The account.
@param variableUuid The UUID of the variable.
@return PipelinesApiUpdatePipelineVariableForTeamRequest

Deprecated

func (*PipelinesApiService) UpdatePipelineVariableForTeamExecute ¶

Execute executes the request

@return PipelineVariable

Deprecated

func (*PipelinesApiService) UpdatePipelineVariableForUser ¶

func (a *PipelinesApiService) UpdatePipelineVariableForUser(ctx context.Context, selectedUser string, variableUuid string) PipelinesApiUpdatePipelineVariableForUserRequest

UpdatePipelineVariableForUser Update a variable for a user

Update a user level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
@param variableUuid The UUID of the variable.
@return PipelinesApiUpdatePipelineVariableForUserRequest

Deprecated

func (*PipelinesApiService) UpdatePipelineVariableForUserExecute ¶

Execute executes the request

@return PipelineVariable

Deprecated

func (*PipelinesApiService) UpdatePipelineVariableForWorkspace ¶

func (a *PipelinesApiService) UpdatePipelineVariableForWorkspace(ctx context.Context, workspace string, variableUuid string) PipelinesApiUpdatePipelineVariableForWorkspaceRequest

UpdatePipelineVariableForWorkspace Update variable for a workspace

Update a workspace level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param variableUuid The UUID of the variable.
@return PipelinesApiUpdatePipelineVariableForWorkspaceRequest

func (*PipelinesApiService) UpdatePipelineVariableForWorkspaceExecute ¶

Execute executes the request

@return PipelineVariable

func (*PipelinesApiService) UpdateRepositoryBuildNumber ¶

func (a *PipelinesApiService) UpdateRepositoryBuildNumber(ctx context.Context, workspace string, repoSlug string) PipelinesApiUpdateRepositoryBuildNumberRequest

UpdateRepositoryBuildNumber Update the next build number

Update the next build number that should be assigned to a pipeline. The next build number that will be configured has to be strictly higher than the current latest build number for this repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiUpdateRepositoryBuildNumberRequest

func (*PipelinesApiService) UpdateRepositoryBuildNumberExecute ¶

Execute executes the request

@return PipelineBuildNumber

func (*PipelinesApiService) UpdateRepositoryPipelineConfig ¶

func (a *PipelinesApiService) UpdateRepositoryPipelineConfig(ctx context.Context, workspace string, repoSlug string) PipelinesApiUpdateRepositoryPipelineConfigRequest

UpdateRepositoryPipelineConfig Update configuration

Update the pipelines configuration for a repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiUpdateRepositoryPipelineConfigRequest

func (*PipelinesApiService) UpdateRepositoryPipelineConfigExecute ¶

Execute executes the request

@return PipelinesConfig

func (*PipelinesApiService) UpdateRepositoryPipelineKeyPair ¶

func (a *PipelinesApiService) UpdateRepositoryPipelineKeyPair(ctx context.Context, workspace string, repoSlug string) PipelinesApiUpdateRepositoryPipelineKeyPairRequest

UpdateRepositoryPipelineKeyPair Update SSH key pair

Create or update the repository SSH key pair. The private key will be set as a default SSH identity in your build container.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@return PipelinesApiUpdateRepositoryPipelineKeyPairRequest

func (*PipelinesApiService) UpdateRepositoryPipelineKeyPairExecute ¶

Execute executes the request

@return PipelineSshKeyPair

func (*PipelinesApiService) UpdateRepositoryPipelineKnownHost ¶

func (a *PipelinesApiService) UpdateRepositoryPipelineKnownHost(ctx context.Context, workspace string, repoSlug string, knownHostUuid string) PipelinesApiUpdateRepositoryPipelineKnownHostRequest

UpdateRepositoryPipelineKnownHost Update a known host

Update a repository level known host.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param knownHostUuid The UUID of the known host to update.
@return PipelinesApiUpdateRepositoryPipelineKnownHostRequest

func (*PipelinesApiService) UpdateRepositoryPipelineKnownHostExecute ¶

Execute executes the request

@return PipelineKnownHost

func (*PipelinesApiService) UpdateRepositoryPipelineSchedule ¶

func (a *PipelinesApiService) UpdateRepositoryPipelineSchedule(ctx context.Context, workspace string, repoSlug string, scheduleUuid string) PipelinesApiUpdateRepositoryPipelineScheduleRequest

UpdateRepositoryPipelineSchedule Update a schedule

Update a schedule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param scheduleUuid The uuid of the schedule.
@return PipelinesApiUpdateRepositoryPipelineScheduleRequest

func (*PipelinesApiService) UpdateRepositoryPipelineScheduleExecute ¶

Execute executes the request

@return PipelineSchedule

func (*PipelinesApiService) UpdateRepositoryPipelineVariable ¶

func (a *PipelinesApiService) UpdateRepositoryPipelineVariable(ctx context.Context, workspace string, repoSlug string, variableUuid string) PipelinesApiUpdateRepositoryPipelineVariableRequest

UpdateRepositoryPipelineVariable Update a variable for a repository

Update a repository level variable.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param variableUuid The UUID of the variable to update.
@return PipelinesApiUpdateRepositoryPipelineVariableRequest

func (*PipelinesApiService) UpdateRepositoryPipelineVariableExecute ¶

Execute executes the request

@return PipelineVariable

type PipelinesApiStopPipelineRequest ¶

type PipelinesApiStopPipelineRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiStopPipelineRequest) Execute ¶

type PipelinesApiUpdateDeploymentVariableRequest ¶

type PipelinesApiUpdateDeploymentVariableRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiUpdateDeploymentVariableRequest) Body ¶

The updated deployment variable.

func (PipelinesApiUpdateDeploymentVariableRequest) Execute ¶

type PipelinesApiUpdatePipelineVariableForTeamRequest ¶

type PipelinesApiUpdatePipelineVariableForTeamRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiUpdatePipelineVariableForTeamRequest) Body ¶

The updated variable.

func (PipelinesApiUpdatePipelineVariableForTeamRequest) Execute ¶

type PipelinesApiUpdatePipelineVariableForUserRequest ¶

type PipelinesApiUpdatePipelineVariableForUserRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiUpdatePipelineVariableForUserRequest) Body ¶

The updated variable.

func (PipelinesApiUpdatePipelineVariableForUserRequest) Execute ¶

type PipelinesApiUpdatePipelineVariableForWorkspaceRequest ¶

type PipelinesApiUpdatePipelineVariableForWorkspaceRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiUpdatePipelineVariableForWorkspaceRequest) Body ¶

The updated variable.

func (PipelinesApiUpdatePipelineVariableForWorkspaceRequest) Execute ¶

type PipelinesApiUpdateRepositoryBuildNumberRequest ¶

type PipelinesApiUpdateRepositoryBuildNumberRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiUpdateRepositoryBuildNumberRequest) Body ¶

The build number to update.

func (PipelinesApiUpdateRepositoryBuildNumberRequest) Execute ¶

type PipelinesApiUpdateRepositoryPipelineConfigRequest ¶

type PipelinesApiUpdateRepositoryPipelineConfigRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiUpdateRepositoryPipelineConfigRequest) Body ¶

The updated repository pipelines configuration.

func (PipelinesApiUpdateRepositoryPipelineConfigRequest) Execute ¶

type PipelinesApiUpdateRepositoryPipelineKeyPairRequest ¶

type PipelinesApiUpdateRepositoryPipelineKeyPairRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiUpdateRepositoryPipelineKeyPairRequest) Body ¶

The created or updated SSH key pair.

func (PipelinesApiUpdateRepositoryPipelineKeyPairRequest) Execute ¶

type PipelinesApiUpdateRepositoryPipelineKnownHostRequest ¶

type PipelinesApiUpdateRepositoryPipelineKnownHostRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiUpdateRepositoryPipelineKnownHostRequest) Body ¶

The updated known host.

func (PipelinesApiUpdateRepositoryPipelineKnownHostRequest) Execute ¶

type PipelinesApiUpdateRepositoryPipelineScheduleRequest ¶

type PipelinesApiUpdateRepositoryPipelineScheduleRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiUpdateRepositoryPipelineScheduleRequest) Body ¶

The schedule to update.

func (PipelinesApiUpdateRepositoryPipelineScheduleRequest) Execute ¶

type PipelinesApiUpdateRepositoryPipelineVariableRequest ¶

type PipelinesApiUpdateRepositoryPipelineVariableRequest struct {
	ApiService *PipelinesApiService
	// contains filtered or unexported fields
}

func (PipelinesApiUpdateRepositoryPipelineVariableRequest) Body ¶

The updated variable

func (PipelinesApiUpdateRepositoryPipelineVariableRequest) Execute ¶

type PipelinesConfig ¶

type PipelinesConfig struct {
	Object
	// Whether Pipelines is enabled for the repository.
	Enabled              *bool       `json:"enabled,omitempty"`
	Repository           *Repository `json:"repository,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelinesConfig struct for PipelinesConfig

func NewPipelinesConfig ¶

func NewPipelinesConfig() *PipelinesConfig

NewPipelinesConfig instantiates a new PipelinesConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelinesConfigWithDefaults ¶

func NewPipelinesConfigWithDefaults() *PipelinesConfig

NewPipelinesConfigWithDefaults instantiates a new PipelinesConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelinesConfig) GetEnabled ¶

func (o *PipelinesConfig) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*PipelinesConfig) GetEnabledOk ¶

func (o *PipelinesConfig) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelinesConfig) GetRepository ¶

func (o *PipelinesConfig) GetRepository() Repository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*PipelinesConfig) GetRepositoryOk ¶

func (o *PipelinesConfig) GetRepositoryOk() (*Repository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelinesConfig) HasEnabled ¶

func (o *PipelinesConfig) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*PipelinesConfig) HasRepository ¶

func (o *PipelinesConfig) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (PipelinesConfig) MarshalJSON ¶

func (o PipelinesConfig) MarshalJSON() ([]byte, error)

func (*PipelinesConfig) SetEnabled ¶

func (o *PipelinesConfig) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*PipelinesConfig) SetRepository ¶

func (o *PipelinesConfig) SetRepository(v Repository)

SetRepository gets a reference to the given Repository and assigns it to the Repository field.

func (*PipelinesConfig) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelinesConfig) UnmarshalJSON(bytes []byte) (err error)

type PipelinesConfiguration ¶

type PipelinesConfiguration struct {
	// Whether Pipelines is enabled for the repository.
	Enabled              *bool       `json:"enabled,omitempty"`
	Repository           *Repository `json:"repository,omitempty"`
	AdditionalProperties map[string]interface{}
}

PipelinesConfiguration The Pipelines configuration for a repository.

func NewPipelinesConfiguration ¶

func NewPipelinesConfiguration() *PipelinesConfiguration

NewPipelinesConfiguration instantiates a new PipelinesConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelinesConfigurationWithDefaults ¶

func NewPipelinesConfigurationWithDefaults() *PipelinesConfiguration

NewPipelinesConfigurationWithDefaults instantiates a new PipelinesConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PipelinesConfiguration) GetEnabled ¶

func (o *PipelinesConfiguration) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*PipelinesConfiguration) GetEnabledOk ¶

func (o *PipelinesConfiguration) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelinesConfiguration) GetRepository ¶

func (o *PipelinesConfiguration) GetRepository() Repository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*PipelinesConfiguration) GetRepositoryOk ¶

func (o *PipelinesConfiguration) GetRepositoryOk() (*Repository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PipelinesConfiguration) HasEnabled ¶

func (o *PipelinesConfiguration) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*PipelinesConfiguration) HasRepository ¶

func (o *PipelinesConfiguration) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (PipelinesConfiguration) MarshalJSON ¶

func (o PipelinesConfiguration) MarshalJSON() ([]byte, error)

func (*PipelinesConfiguration) SetEnabled ¶

func (o *PipelinesConfiguration) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*PipelinesConfiguration) SetRepository ¶

func (o *PipelinesConfiguration) SetRepository(v Repository)

SetRepository gets a reference to the given Repository and assigns it to the Repository field.

func (*PipelinesConfiguration) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelinesConfiguration) UnmarshalJSON(bytes []byte) (err error)

type PipelinesDdevPipelineStep ¶

type PipelinesDdevPipelineStep struct {
	Object
	AdditionalProperties map[string]interface{}
}

PipelinesDdevPipelineStep struct for PipelinesDdevPipelineStep

func NewPipelinesDdevPipelineStep ¶

func NewPipelinesDdevPipelineStep() *PipelinesDdevPipelineStep

NewPipelinesDdevPipelineStep instantiates a new PipelinesDdevPipelineStep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelinesDdevPipelineStepWithDefaults ¶

func NewPipelinesDdevPipelineStepWithDefaults() *PipelinesDdevPipelineStep

NewPipelinesDdevPipelineStepWithDefaults instantiates a new PipelinesDdevPipelineStep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelinesDdevPipelineStep) MarshalJSON ¶

func (o PipelinesDdevPipelineStep) MarshalJSON() ([]byte, error)

func (*PipelinesDdevPipelineStep) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelinesDdevPipelineStep) UnmarshalJSON(bytes []byte) (err error)

type PipelinesStgWestPipelineStep ¶

type PipelinesStgWestPipelineStep struct {
	Object
	AdditionalProperties map[string]interface{}
}

PipelinesStgWestPipelineStep struct for PipelinesStgWestPipelineStep

func NewPipelinesStgWestPipelineStep ¶

func NewPipelinesStgWestPipelineStep() *PipelinesStgWestPipelineStep

NewPipelinesStgWestPipelineStep instantiates a new PipelinesStgWestPipelineStep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPipelinesStgWestPipelineStepWithDefaults ¶

func NewPipelinesStgWestPipelineStepWithDefaults() *PipelinesStgWestPipelineStep

NewPipelinesStgWestPipelineStepWithDefaults instantiates a new PipelinesStgWestPipelineStep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (PipelinesStgWestPipelineStep) MarshalJSON ¶

func (o PipelinesStgWestPipelineStep) MarshalJSON() ([]byte, error)

func (*PipelinesStgWestPipelineStep) UnmarshalJSON ¶ added in v0.0.3

func (o *PipelinesStgWestPipelineStep) UnmarshalJSON(bytes []byte) (err error)

type Project ¶

type Project struct {
	Links *ProjectLinks `json:"links,omitempty"`
	// The project's immutable id.
	Uuid *string `json:"uuid,omitempty"`
	// The project's key.
	Key   *string `json:"key,omitempty"`
	Owner *Team   `json:"owner,omitempty"`
	// The name of the project.
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
	//  Indicates whether the project is publicly accessible, or whether it is private to the team and consequently only visible to team members. Note that private projects cannot contain public repositories.
	IsPrivate *bool      `json:"is_private,omitempty"`
	CreatedOn *time.Time `json:"created_on,omitempty"`
	UpdatedOn *time.Time `json:"updated_on,omitempty"`
	//  Indicates whether the project contains publicly visible repositories. Note that private projects cannot contain public repositories.
	HasPubliclyVisibleRepos *bool `json:"has_publicly_visible_repos,omitempty"`
	AdditionalProperties    map[string]interface{}
}

Project A Bitbucket project. Projects are used by teams to organize repositories.

func NewProject ¶

func NewProject() *Project

NewProject instantiates a new Project object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectWithDefaults ¶

func NewProjectWithDefaults() *Project

NewProjectWithDefaults instantiates a new Project object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Project) GetCreatedOn ¶

func (o *Project) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Project) GetCreatedOnOk ¶

func (o *Project) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetDescription ¶

func (o *Project) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Project) GetDescriptionOk ¶

func (o *Project) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetHasPubliclyVisibleRepos ¶

func (o *Project) GetHasPubliclyVisibleRepos() bool

GetHasPubliclyVisibleRepos returns the HasPubliclyVisibleRepos field value if set, zero value otherwise.

func (*Project) GetHasPubliclyVisibleReposOk ¶

func (o *Project) GetHasPubliclyVisibleReposOk() (*bool, bool)

GetHasPubliclyVisibleReposOk returns a tuple with the HasPubliclyVisibleRepos field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetIsPrivate ¶

func (o *Project) GetIsPrivate() bool

GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.

func (*Project) GetIsPrivateOk ¶

func (o *Project) GetIsPrivateOk() (*bool, bool)

GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetKey ¶

func (o *Project) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*Project) GetKeyOk ¶

func (o *Project) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Project) GetLinks() ProjectLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Project) GetLinksOk ¶

func (o *Project) GetLinksOk() (*ProjectLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetName ¶

func (o *Project) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Project) GetNameOk ¶

func (o *Project) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetOwner ¶

func (o *Project) GetOwner() Team

GetOwner returns the Owner field value if set, zero value otherwise.

func (*Project) GetOwnerOk ¶

func (o *Project) GetOwnerOk() (*Team, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetUpdatedOn ¶

func (o *Project) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*Project) GetUpdatedOnOk ¶

func (o *Project) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) GetUuid ¶

func (o *Project) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Project) GetUuidOk ¶

func (o *Project) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Project) HasCreatedOn ¶

func (o *Project) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Project) HasDescription ¶

func (o *Project) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Project) HasHasPubliclyVisibleRepos ¶

func (o *Project) HasHasPubliclyVisibleRepos() bool

HasHasPubliclyVisibleRepos returns a boolean if a field has been set.

func (*Project) HasIsPrivate ¶

func (o *Project) HasIsPrivate() bool

HasIsPrivate returns a boolean if a field has been set.

func (*Project) HasKey ¶

func (o *Project) HasKey() bool

HasKey returns a boolean if a field has been set.

func (o *Project) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Project) HasName ¶

func (o *Project) HasName() bool

HasName returns a boolean if a field has been set.

func (*Project) HasOwner ¶

func (o *Project) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*Project) HasUpdatedOn ¶

func (o *Project) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*Project) HasUuid ¶

func (o *Project) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (Project) MarshalJSON ¶

func (o Project) MarshalJSON() ([]byte, error)

func (*Project) SetCreatedOn ¶

func (o *Project) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Project) SetDescription ¶

func (o *Project) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Project) SetHasPubliclyVisibleRepos ¶

func (o *Project) SetHasPubliclyVisibleRepos(v bool)

SetHasPubliclyVisibleRepos gets a reference to the given bool and assigns it to the HasPubliclyVisibleRepos field.

func (*Project) SetIsPrivate ¶

func (o *Project) SetIsPrivate(v bool)

SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.

func (*Project) SetKey ¶

func (o *Project) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (o *Project) SetLinks(v ProjectLinks)

SetLinks gets a reference to the given ProjectLinks and assigns it to the Links field.

func (*Project) SetName ¶

func (o *Project) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Project) SetOwner ¶

func (o *Project) SetOwner(v Team)

SetOwner gets a reference to the given Team and assigns it to the Owner field.

func (*Project) SetUpdatedOn ¶

func (o *Project) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*Project) SetUuid ¶

func (o *Project) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*Project) UnmarshalJSON ¶ added in v0.0.3

func (o *Project) UnmarshalJSON(bytes []byte) (err error)
type ProjectLinks struct {
	Html                 *Link `json:"html,omitempty"`
	Avatar               *Link `json:"avatar,omitempty"`
	AdditionalProperties map[string]interface{}
}

ProjectLinks struct for ProjectLinks

func NewProjectLinks() *ProjectLinks

NewProjectLinks instantiates a new ProjectLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewProjectLinksWithDefaults ¶

func NewProjectLinksWithDefaults() *ProjectLinks

NewProjectLinksWithDefaults instantiates a new ProjectLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ProjectLinks) GetAvatar ¶

func (o *ProjectLinks) GetAvatar() Link

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*ProjectLinks) GetAvatarOk ¶

func (o *ProjectLinks) GetAvatarOk() (*Link, bool)

GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectLinks) GetHtml ¶

func (o *ProjectLinks) GetHtml() Link

GetHtml returns the Html field value if set, zero value otherwise.

func (*ProjectLinks) GetHtmlOk ¶

func (o *ProjectLinks) GetHtmlOk() (*Link, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ProjectLinks) HasAvatar ¶

func (o *ProjectLinks) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*ProjectLinks) HasHtml ¶

func (o *ProjectLinks) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (ProjectLinks) MarshalJSON ¶

func (o ProjectLinks) MarshalJSON() ([]byte, error)

func (*ProjectLinks) SetAvatar ¶

func (o *ProjectLinks) SetAvatar(v Link)

SetAvatar gets a reference to the given Link and assigns it to the Avatar field.

func (*ProjectLinks) SetHtml ¶

func (o *ProjectLinks) SetHtml(v Link)

SetHtml gets a reference to the given Link and assigns it to the Html field.

func (*ProjectLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *ProjectLinks) UnmarshalJSON(bytes []byte) (err error)

type ProjectsApiService ¶

type ProjectsApiService service

ProjectsApiService ProjectsApi service

func (*ProjectsApiService) TeamsUsernameProjectsGet ¶

func (a *ProjectsApiService) TeamsUsernameProjectsGet(ctx context.Context, username string) ProjectsApiTeamsUsernameProjectsGetRequest

TeamsUsernameProjectsGet List a projects for a team

**This endpoint has been removed. You should use the [workspace projects](/cloud/bitbucket/rest/api-group-projects/#api-workspaces-workspace-projects-project-key-get) endpoint instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return ProjectsApiTeamsUsernameProjectsGetRequest

Deprecated

func (*ProjectsApiService) TeamsUsernameProjectsGetExecute ¶

Execute executes the request

@return PaginatedProjects

Deprecated

func (*ProjectsApiService) TeamsUsernameProjectsPost ¶

func (a *ProjectsApiService) TeamsUsernameProjectsPost(ctx context.Context, username string) ProjectsApiTeamsUsernameProjectsPostRequest

TeamsUsernameProjectsPost Create a project for a team

Creates a new project.

**This endpoint has been removed. You should use the [workspace projects](/cloud/bitbucket/rest/api-group-projects/#api-workspaces-workspace-projects-post) endpoint instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

Note that the avatar has to be embedded as either a data-url or a URL to an external image as shown in the examples below:

``` $ body=$(cat << EOF

{
    "name": "Mars Project",
    "key": "MARS",
    "description": "Software for colonizing mars.",
    "links": {
        "avatar": {
            "href": "data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/..."
        }
    },
    "is_private": false
}

EOF )

$ curl -H "Content-Type: application/json" \
       -X POST \
       -d "$body" \
       https://api.bitbucket.org/2.0/teams/teams-in-space/projects/ | jq .
{
  // Serialized project document
}

```

or even:

``` $ body=$(cat << EOF

{
    "name": "Mars Project",
    "key": "MARS",
    "description": "Software for colonizing mars.",
    "links": {
        "avatar": {
            "href": "http://i.imgur.com/72tRx4w.gif"
        }
    },
    "is_private": false
}

EOF )

$ curl -H "Content-Type: application/json" \
       -X POST \
       -d "$body" \
       https://api.bitbucket.org/2.0/teams/teams-in-space/projects/ | jq .
{
  // Serialized project document
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return ProjectsApiTeamsUsernameProjectsPostRequest

Deprecated

func (*ProjectsApiService) TeamsUsernameProjectsPostExecute ¶

func (a *ProjectsApiService) TeamsUsernameProjectsPostExecute(r ProjectsApiTeamsUsernameProjectsPostRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

Deprecated

func (*ProjectsApiService) TeamsUsernameProjectsProjectKeyDelete ¶

func (a *ProjectsApiService) TeamsUsernameProjectsProjectKeyDelete(ctx context.Context, projectKey string, username string) ProjectsApiTeamsUsernameProjectsProjectKeyDeleteRequest

TeamsUsernameProjectsProjectKeyDelete Delete a project

**This endpoint has been removed. You should use the [workspace project](/cloud/bitbucket/rest/api-group-projects/#api-workspaces-workspace-projects-project-key-delete) endpoint instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project in question. This can either be the actual `key` assigned to the project or the `UUID` (surrounded by curly-braces (`{}`)).
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return ProjectsApiTeamsUsernameProjectsProjectKeyDeleteRequest

Deprecated

func (*ProjectsApiService) TeamsUsernameProjectsProjectKeyDeleteExecute ¶

func (a *ProjectsApiService) TeamsUsernameProjectsProjectKeyDeleteExecute(r ProjectsApiTeamsUsernameProjectsProjectKeyDeleteRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*ProjectsApiService) TeamsUsernameProjectsProjectKeyGet ¶

func (a *ProjectsApiService) TeamsUsernameProjectsProjectKeyGet(ctx context.Context, projectKey string, username string) ProjectsApiTeamsUsernameProjectsProjectKeyGetRequest

TeamsUsernameProjectsProjectKeyGet Get a project

**This endpoint has been removed. You should use the [workspace project](/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-projects-get) endpoint instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project in question. This can either be the actual `key` assigned to the project or the `UUID` (surrounded by curly-braces (`{}`)).
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return ProjectsApiTeamsUsernameProjectsProjectKeyGetRequest

Deprecated

func (*ProjectsApiService) TeamsUsernameProjectsProjectKeyGetExecute ¶

func (a *ProjectsApiService) TeamsUsernameProjectsProjectKeyGetExecute(r ProjectsApiTeamsUsernameProjectsProjectKeyGetRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

Deprecated

func (*ProjectsApiService) TeamsUsernameProjectsProjectKeyPut ¶

func (a *ProjectsApiService) TeamsUsernameProjectsProjectKeyPut(ctx context.Context, projectKey string, username string) ProjectsApiTeamsUsernameProjectsProjectKeyPutRequest

TeamsUsernameProjectsProjectKeyPut Update a project

Since this endpoint can be used to both update and to create a project, the request body depends on the intent.

**This endpoint has been removed. You should use the [workspace project](/cloud/bitbucket/rest/api-group-projects/#api-workspaces-workspace-projects-project-key-put) endpoint instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

#### Creation

See the POST documentation for the project collection for an example of the request body.

Note: The `key` should not be specified in the body of request (since it is already present in the URL). The `name` is required, everything else is optional.

#### Update

See the POST documentation for the project collection for an example of the request body.

Note: The key is not required in the body (since it is already in the URL). The key may be specified in the body, if the intent is to change the key itself. In such a scenario, the location of the project is changed and is returned in the `Location` header of the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project in question. This can either be the actual `key` assigned to the project or the `UUID` (surrounded by curly-braces (`{}`)).
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return ProjectsApiTeamsUsernameProjectsProjectKeyPutRequest

Deprecated

func (*ProjectsApiService) TeamsUsernameProjectsProjectKeyPutExecute ¶

func (a *ProjectsApiService) TeamsUsernameProjectsProjectKeyPutExecute(r ProjectsApiTeamsUsernameProjectsProjectKeyPutRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

Deprecated

func (*ProjectsApiService) WorkspacesWorkspaceProjectsPost ¶

func (a *ProjectsApiService) WorkspacesWorkspaceProjectsPost(ctx context.Context, workspace string) ProjectsApiWorkspacesWorkspaceProjectsPostRequest

WorkspacesWorkspaceProjectsPost Create a project in a workspace

Creates a new project.

Note that the avatar has to be embedded as either a data-url or a URL to an external image as shown in the examples below:

``` $ body=$(cat << EOF

{
    "name": "Mars Project",
    "key": "MARS",
    "description": "Software for colonizing mars.",
    "links": {
        "avatar": {
            "href": "data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/..."
        }
    },
    "is_private": false
}

EOF )

$ curl -H "Content-Type: application/json" \
       -X POST \
       -d "$body" \
       https://api.bitbucket.org/2.0/teams/teams-in-space/projects/ | jq .
{
  // Serialized project document
}

```

or even:

``` $ body=$(cat << EOF

{
    "name": "Mars Project",
    "key": "MARS",
    "description": "Software for colonizing mars.",
    "links": {
        "avatar": {
            "href": "http://i.imgur.com/72tRx4w.gif"
        }
    },
    "is_private": false
}

EOF )

$ curl -H "Content-Type: application/json" \
       -X POST \
       -d "$body" \
       https://api.bitbucket.org/2.0/teams/teams-in-space/projects/ | jq .
{
  // Serialized project document
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return ProjectsApiWorkspacesWorkspaceProjectsPostRequest

func (*ProjectsApiService) WorkspacesWorkspaceProjectsPostExecute ¶

func (a *ProjectsApiService) WorkspacesWorkspaceProjectsPostExecute(r ProjectsApiWorkspacesWorkspaceProjectsPostRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyDelete ¶

func (a *ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyDelete(ctx context.Context, projectKey string, workspace string) ProjectsApiWorkspacesWorkspaceProjectsProjectKeyDeleteRequest

WorkspacesWorkspaceProjectsProjectKeyDelete Delete a project for a workspace

Deletes this project. This is an irreversible operation.

You cannot delete a project that still contains repositories. To delete the project, [delete](/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-delete) or transfer the repositories first.

Example: ``` $ curl -X DELETE https://api.bitbucket.org/2.0/bbworkspace1/PROJ ```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project in question. This is the actual `key` assigned to the project.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return ProjectsApiWorkspacesWorkspaceProjectsProjectKeyDeleteRequest

func (*ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyDeleteExecute ¶

func (a *ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyDeleteExecute(r ProjectsApiWorkspacesWorkspaceProjectsProjectKeyDeleteRequest) (*http.Response, error)

Execute executes the request

func (*ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyGet ¶

func (a *ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyGet(ctx context.Context, projectKey string, workspace string) ProjectsApiWorkspacesWorkspaceProjectsProjectKeyGetRequest

WorkspacesWorkspaceProjectsProjectKeyGet Get a project for a workspace

Returns the requested project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project in question. This is the actual `key` assigned to the project.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return ProjectsApiWorkspacesWorkspaceProjectsProjectKeyGetRequest

func (*ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyGetExecute ¶

func (a *ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyGetExecute(r ProjectsApiWorkspacesWorkspaceProjectsProjectKeyGetRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

func (*ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyPut ¶

func (a *ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyPut(ctx context.Context, projectKey string, workspace string) ProjectsApiWorkspacesWorkspaceProjectsProjectKeyPutRequest

WorkspacesWorkspaceProjectsProjectKeyPut Update a project for a workspace

Since this endpoint can be used to both update and to create a project, the request body depends on the intent.

#### Creation

See the POST documentation for the project collection for an example of the request body.

Note: The `key` should not be specified in the body of request (since it is already present in the URL). The `name` is required, everything else is optional.

#### Update

See the POST documentation for the project collection for an example of the request body.

Note: The key is not required in the body (since it is already in the URL). The key may be specified in the body, if the intent is to change the key itself. In such a scenario, the location of the project is changed and is returned in the `Location` header of the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project in question. This is the actual `key` assigned to the project.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return ProjectsApiWorkspacesWorkspaceProjectsProjectKeyPutRequest

func (*ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyPutExecute ¶

func (a *ProjectsApiService) WorkspacesWorkspaceProjectsProjectKeyPutExecute(r ProjectsApiWorkspacesWorkspaceProjectsProjectKeyPutRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

type ProjectsApiTeamsUsernameProjectsGetRequest ¶

type ProjectsApiTeamsUsernameProjectsGetRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ProjectsApiTeamsUsernameProjectsGetRequest) Execute ¶

type ProjectsApiTeamsUsernameProjectsPostRequest ¶

type ProjectsApiTeamsUsernameProjectsPostRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ProjectsApiTeamsUsernameProjectsPostRequest) Body ¶

func (ProjectsApiTeamsUsernameProjectsPostRequest) Execute ¶

type ProjectsApiTeamsUsernameProjectsProjectKeyDeleteRequest ¶

type ProjectsApiTeamsUsernameProjectsProjectKeyDeleteRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ProjectsApiTeamsUsernameProjectsProjectKeyDeleteRequest) Execute ¶

type ProjectsApiTeamsUsernameProjectsProjectKeyGetRequest ¶

type ProjectsApiTeamsUsernameProjectsProjectKeyGetRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ProjectsApiTeamsUsernameProjectsProjectKeyGetRequest) Execute ¶

type ProjectsApiTeamsUsernameProjectsProjectKeyPutRequest ¶

type ProjectsApiTeamsUsernameProjectsProjectKeyPutRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ProjectsApiTeamsUsernameProjectsProjectKeyPutRequest) Body ¶

func (ProjectsApiTeamsUsernameProjectsProjectKeyPutRequest) Execute ¶

type ProjectsApiWorkspacesWorkspaceProjectsPostRequest ¶

type ProjectsApiWorkspacesWorkspaceProjectsPostRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ProjectsApiWorkspacesWorkspaceProjectsPostRequest) Body ¶

func (ProjectsApiWorkspacesWorkspaceProjectsPostRequest) Execute ¶

type ProjectsApiWorkspacesWorkspaceProjectsProjectKeyDeleteRequest ¶

type ProjectsApiWorkspacesWorkspaceProjectsProjectKeyDeleteRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ProjectsApiWorkspacesWorkspaceProjectsProjectKeyDeleteRequest) Execute ¶

type ProjectsApiWorkspacesWorkspaceProjectsProjectKeyGetRequest ¶

type ProjectsApiWorkspacesWorkspaceProjectsProjectKeyGetRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ProjectsApiWorkspacesWorkspaceProjectsProjectKeyGetRequest) Execute ¶

type ProjectsApiWorkspacesWorkspaceProjectsProjectKeyPutRequest ¶

type ProjectsApiWorkspacesWorkspaceProjectsProjectKeyPutRequest struct {
	ApiService *ProjectsApiService
	// contains filtered or unexported fields
}

func (ProjectsApiWorkspacesWorkspaceProjectsProjectKeyPutRequest) Body ¶

func (ProjectsApiWorkspacesWorkspaceProjectsProjectKeyPutRequest) Execute ¶

type PropertiesApiDeleteCommitHostedPropertyValueRequest ¶

type PropertiesApiDeleteCommitHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiDeleteCommitHostedPropertyValueRequest) Execute ¶

type PropertiesApiDeletePullRequestHostedPropertyValueRequest ¶

type PropertiesApiDeletePullRequestHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiDeletePullRequestHostedPropertyValueRequest) Execute ¶

type PropertiesApiDeleteRepositoryHostedPropertyValueRequest ¶

type PropertiesApiDeleteRepositoryHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiDeleteRepositoryHostedPropertyValueRequest) Execute ¶

type PropertiesApiDeleteUserHostedPropertyValueRequest ¶

type PropertiesApiDeleteUserHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiDeleteUserHostedPropertyValueRequest) Execute ¶

type PropertiesApiGetCommitHostedPropertyValueRequest ¶

type PropertiesApiGetCommitHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiGetCommitHostedPropertyValueRequest) Execute ¶

type PropertiesApiGetPullRequestHostedPropertyValueRequest ¶

type PropertiesApiGetPullRequestHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiGetPullRequestHostedPropertyValueRequest) Execute ¶

type PropertiesApiGetRepositoryHostedPropertyValueRequest ¶

type PropertiesApiGetRepositoryHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiGetRepositoryHostedPropertyValueRequest) Execute ¶

type PropertiesApiRetrieveUserHostedPropertyValueRequest ¶

type PropertiesApiRetrieveUserHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiRetrieveUserHostedPropertyValueRequest) Execute ¶

type PropertiesApiService ¶

type PropertiesApiService service

PropertiesApiService PropertiesApi service

func (*PropertiesApiService) DeleteCommitHostedPropertyValue ¶

func (a *PropertiesApiService) DeleteCommitHostedPropertyValue(ctx context.Context, workspace string, repoSlug string, commit string, appKey string, propertyName string) PropertiesApiDeleteCommitHostedPropertyValueRequest

DeleteCommitHostedPropertyValue Delete a commit application property

Delete an [application property](/cloud/bitbucket/application-properties/) value stored against a commit.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The repository container; either the workspace slug or the UUID in curly braces.
@param repoSlug The repository.
@param commit The commit.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiDeleteCommitHostedPropertyValueRequest

func (*PropertiesApiService) DeleteCommitHostedPropertyValueExecute ¶

func (a *PropertiesApiService) DeleteCommitHostedPropertyValueExecute(r PropertiesApiDeleteCommitHostedPropertyValueRequest) (*http.Response, error)

Execute executes the request

func (*PropertiesApiService) DeletePullRequestHostedPropertyValue ¶

func (a *PropertiesApiService) DeletePullRequestHostedPropertyValue(ctx context.Context, workspace string, repoSlug string, pullrequestId string, appKey string, propertyName string) PropertiesApiDeletePullRequestHostedPropertyValueRequest

DeletePullRequestHostedPropertyValue Delete a pull request application property

Delete an [application property](/cloud/bitbucket/application-properties/) value stored against a pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The repository container; either the workspace slug or the UUID in curly braces.
@param repoSlug The repository.
@param pullrequestId The pull request ID.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiDeletePullRequestHostedPropertyValueRequest

func (*PropertiesApiService) DeletePullRequestHostedPropertyValueExecute ¶

func (a *PropertiesApiService) DeletePullRequestHostedPropertyValueExecute(r PropertiesApiDeletePullRequestHostedPropertyValueRequest) (*http.Response, error)

Execute executes the request

func (*PropertiesApiService) DeleteRepositoryHostedPropertyValue ¶

func (a *PropertiesApiService) DeleteRepositoryHostedPropertyValue(ctx context.Context, workspace string, repoSlug string, appKey string, propertyName string) PropertiesApiDeleteRepositoryHostedPropertyValueRequest

DeleteRepositoryHostedPropertyValue Delete a repository application property

Delete an [application property](/cloud/bitbucket/application-properties/) value stored against a repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The repository container; either the workspace slug or the UUID in curly braces.
@param repoSlug The repository.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiDeleteRepositoryHostedPropertyValueRequest

func (*PropertiesApiService) DeleteRepositoryHostedPropertyValueExecute ¶

func (a *PropertiesApiService) DeleteRepositoryHostedPropertyValueExecute(r PropertiesApiDeleteRepositoryHostedPropertyValueRequest) (*http.Response, error)

Execute executes the request

func (*PropertiesApiService) DeleteUserHostedPropertyValue ¶

func (a *PropertiesApiService) DeleteUserHostedPropertyValue(ctx context.Context, selectedUser string, appKey string, propertyName string) PropertiesApiDeleteUserHostedPropertyValueRequest

DeleteUserHostedPropertyValue Delete a user application property

Delete an [application property](/cloud/bitbucket/application-properties/) value stored against a user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiDeleteUserHostedPropertyValueRequest

func (*PropertiesApiService) DeleteUserHostedPropertyValueExecute ¶

func (a *PropertiesApiService) DeleteUserHostedPropertyValueExecute(r PropertiesApiDeleteUserHostedPropertyValueRequest) (*http.Response, error)

Execute executes the request

func (*PropertiesApiService) GetCommitHostedPropertyValue ¶

func (a *PropertiesApiService) GetCommitHostedPropertyValue(ctx context.Context, workspace string, repoSlug string, commit string, appKey string, propertyName string) PropertiesApiGetCommitHostedPropertyValueRequest

GetCommitHostedPropertyValue Get a commit application property

Retrieve an [application property](/cloud/bitbucket/application-properties/) value stored against a commit.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The repository container; either the workspace slug or the UUID in curly braces.
@param repoSlug The repository.
@param commit The commit.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiGetCommitHostedPropertyValueRequest

func (*PropertiesApiService) GetCommitHostedPropertyValueExecute ¶

Execute executes the request

@return ApplicationProperty

func (*PropertiesApiService) GetPullRequestHostedPropertyValue ¶

func (a *PropertiesApiService) GetPullRequestHostedPropertyValue(ctx context.Context, workspace string, repoSlug string, pullrequestId string, appKey string, propertyName string) PropertiesApiGetPullRequestHostedPropertyValueRequest

GetPullRequestHostedPropertyValue Get a pull request application property

Retrieve an [application property](/cloud/bitbucket/application-properties/) value stored against a pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The repository container; either the workspace slug or the UUID in curly braces.
@param repoSlug The repository.
@param pullrequestId The pull request ID.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiGetPullRequestHostedPropertyValueRequest

func (*PropertiesApiService) GetPullRequestHostedPropertyValueExecute ¶

Execute executes the request

@return ApplicationProperty

func (*PropertiesApiService) GetRepositoryHostedPropertyValue ¶

func (a *PropertiesApiService) GetRepositoryHostedPropertyValue(ctx context.Context, workspace string, repoSlug string, appKey string, propertyName string) PropertiesApiGetRepositoryHostedPropertyValueRequest

GetRepositoryHostedPropertyValue Get a repository application property

Retrieve an [application property](/cloud/bitbucket/application-properties/) value stored against a repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The repository container; either the workspace slug or the UUID in curly braces.
@param repoSlug The repository.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiGetRepositoryHostedPropertyValueRequest

func (*PropertiesApiService) GetRepositoryHostedPropertyValueExecute ¶

Execute executes the request

@return ApplicationProperty

func (*PropertiesApiService) RetrieveUserHostedPropertyValue ¶

func (a *PropertiesApiService) RetrieveUserHostedPropertyValue(ctx context.Context, selectedUser string, appKey string, propertyName string) PropertiesApiRetrieveUserHostedPropertyValueRequest

RetrieveUserHostedPropertyValue Get a user application property

Retrieve an [application property](/cloud/bitbucket/application-properties/) value stored against a user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiRetrieveUserHostedPropertyValueRequest

func (*PropertiesApiService) RetrieveUserHostedPropertyValueExecute ¶

Execute executes the request

@return ApplicationProperty

func (*PropertiesApiService) UpdateCommitHostedPropertyValue ¶

func (a *PropertiesApiService) UpdateCommitHostedPropertyValue(ctx context.Context, workspace string, repoSlug string, commit string, appKey string, propertyName string) PropertiesApiUpdateCommitHostedPropertyValueRequest

UpdateCommitHostedPropertyValue Update a commit application property

Update an [application property](/cloud/bitbucket/application-properties/) value stored against a commit.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The repository container; either the workspace slug or the UUID in curly braces.
@param repoSlug The repository.
@param commit The commit.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiUpdateCommitHostedPropertyValueRequest

func (*PropertiesApiService) UpdateCommitHostedPropertyValueExecute ¶

func (a *PropertiesApiService) UpdateCommitHostedPropertyValueExecute(r PropertiesApiUpdateCommitHostedPropertyValueRequest) (*http.Response, error)

Execute executes the request

func (*PropertiesApiService) UpdatePullRequestHostedPropertyValue ¶

func (a *PropertiesApiService) UpdatePullRequestHostedPropertyValue(ctx context.Context, workspace string, repoSlug string, pullrequestId string, appKey string, propertyName string) PropertiesApiUpdatePullRequestHostedPropertyValueRequest

UpdatePullRequestHostedPropertyValue Update a pull request application property

Update an [application property](/cloud/bitbucket/application-properties/) value stored against a pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The repository container; either the workspace slug or the UUID in curly braces.
@param repoSlug The repository.
@param pullrequestId The pull request ID.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiUpdatePullRequestHostedPropertyValueRequest

func (*PropertiesApiService) UpdatePullRequestHostedPropertyValueExecute ¶

func (a *PropertiesApiService) UpdatePullRequestHostedPropertyValueExecute(r PropertiesApiUpdatePullRequestHostedPropertyValueRequest) (*http.Response, error)

Execute executes the request

func (*PropertiesApiService) UpdateRepositoryHostedPropertyValue ¶

func (a *PropertiesApiService) UpdateRepositoryHostedPropertyValue(ctx context.Context, workspace string, repoSlug string, appKey string, propertyName string) PropertiesApiUpdateRepositoryHostedPropertyValueRequest

UpdateRepositoryHostedPropertyValue Update a repository application property

Update an [application property](/cloud/bitbucket/application-properties/) value stored against a repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The repository container; either the workspace slug or the UUID in curly braces.
@param repoSlug The repository.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiUpdateRepositoryHostedPropertyValueRequest

func (*PropertiesApiService) UpdateRepositoryHostedPropertyValueExecute ¶

func (a *PropertiesApiService) UpdateRepositoryHostedPropertyValueExecute(r PropertiesApiUpdateRepositoryHostedPropertyValueRequest) (*http.Response, error)

Execute executes the request

func (*PropertiesApiService) UpdateUserHostedPropertyValue ¶

func (a *PropertiesApiService) UpdateUserHostedPropertyValue(ctx context.Context, selectedUser string, appKey string, propertyName string) PropertiesApiUpdateUserHostedPropertyValueRequest

UpdateUserHostedPropertyValue Update a user application property

Update an [application property](/cloud/bitbucket/application-properties/) value stored against a user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
@param appKey The key of the Connect app.
@param propertyName The name of the property.
@return PropertiesApiUpdateUserHostedPropertyValueRequest

func (*PropertiesApiService) UpdateUserHostedPropertyValueExecute ¶

func (a *PropertiesApiService) UpdateUserHostedPropertyValueExecute(r PropertiesApiUpdateUserHostedPropertyValueRequest) (*http.Response, error)

Execute executes the request

type PropertiesApiUpdateCommitHostedPropertyValueRequest ¶

type PropertiesApiUpdateCommitHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiUpdateCommitHostedPropertyValueRequest) Body ¶

The application property to create or update.

func (PropertiesApiUpdateCommitHostedPropertyValueRequest) Execute ¶

type PropertiesApiUpdatePullRequestHostedPropertyValueRequest ¶

type PropertiesApiUpdatePullRequestHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiUpdatePullRequestHostedPropertyValueRequest) Body ¶

The application property to create or update.

func (PropertiesApiUpdatePullRequestHostedPropertyValueRequest) Execute ¶

type PropertiesApiUpdateRepositoryHostedPropertyValueRequest ¶

type PropertiesApiUpdateRepositoryHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiUpdateRepositoryHostedPropertyValueRequest) Body ¶

The application property to create or update.

func (PropertiesApiUpdateRepositoryHostedPropertyValueRequest) Execute ¶

type PropertiesApiUpdateUserHostedPropertyValueRequest ¶

type PropertiesApiUpdateUserHostedPropertyValueRequest struct {
	ApiService *PropertiesApiService
	// contains filtered or unexported fields
}

func (PropertiesApiUpdateUserHostedPropertyValueRequest) Body ¶

The application property to create or update.

func (PropertiesApiUpdateUserHostedPropertyValueRequest) Execute ¶

type PullRequest ¶

type PullRequest struct {
	Links *PullRequestLinks `json:"links,omitempty"`
	// The pull request's unique ID. Note that pull request IDs are only unique within their associated repository.
	Id *int32 `json:"id,omitempty"`
	// Title of the pull request.
	Title    *string                         `json:"title,omitempty"`
	Rendered *RenderedPullRequestMarkup      `json:"rendered,omitempty"`
	Summary  *RenderedPullRequestMarkupTitle `json:"summary,omitempty"`
	// The pull request's current status.
	State       *string              `json:"state,omitempty"`
	Author      *Account             `json:"author,omitempty"`
	Source      *PullrequestEndpoint `json:"source,omitempty"`
	Destination *PullrequestEndpoint `json:"destination,omitempty"`
	MergeCommit *PullRequestCommit   `json:"merge_commit,omitempty"`
	// The number of comments for a specific pull request.
	CommentCount *int32 `json:"comment_count,omitempty"`
	// The number of open tasks for a specific pull request.
	TaskCount *int32 `json:"task_count,omitempty"`
	// A boolean flag indicating if merging the pull request closes the source branch.
	CloseSourceBranch *bool    `json:"close_source_branch,omitempty"`
	ClosedBy          *Account `json:"closed_by,omitempty"`
	// Explains why a pull request was declined. This field is only applicable to pull requests in rejected state.
	Reason *string `json:"reason,omitempty"`
	// The ISO8601 timestamp the request was created.
	CreatedOn *time.Time `json:"created_on,omitempty"`
	// The ISO8601 timestamp the request was last updated.
	UpdatedOn *time.Time `json:"updated_on,omitempty"`
	// The list of users that were added as reviewers on this pull request when it was created. For performance reasons, the API only includes this list on a pull request's `self` URL.
	Reviewers []Account `json:"reviewers,omitempty"`
	//         The list of users that are collaborating on this pull request.         Collaborators are user that:          * are added to the pull request as a reviewer (part of the reviewers           list)         * are not explicit reviewers, but have commented on the pull request         * are not explicit reviewers, but have approved the pull request          Each user is wrapped in an object that indicates the user's role and         whether they have approved the pull request. For performance reasons,         the API only returns this list when an API requests a pull request by         id.
	Participants         []Participant `json:"participants,omitempty"`
	AdditionalProperties map[string]interface{}
}

PullRequest A pull request object.

func NewPullRequest ¶

func NewPullRequest() *PullRequest

NewPullRequest instantiates a new PullRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullRequestWithDefaults ¶

func NewPullRequestWithDefaults() *PullRequest

NewPullRequestWithDefaults instantiates a new PullRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullRequest) GetAuthor ¶

func (o *PullRequest) GetAuthor() Account

GetAuthor returns the Author field value if set, zero value otherwise.

func (*PullRequest) GetAuthorOk ¶

func (o *PullRequest) GetAuthorOk() (*Account, bool)

GetAuthorOk returns a tuple with the Author field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetCloseSourceBranch ¶

func (o *PullRequest) GetCloseSourceBranch() bool

GetCloseSourceBranch returns the CloseSourceBranch field value if set, zero value otherwise.

func (*PullRequest) GetCloseSourceBranchOk ¶

func (o *PullRequest) GetCloseSourceBranchOk() (*bool, bool)

GetCloseSourceBranchOk returns a tuple with the CloseSourceBranch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetClosedBy ¶

func (o *PullRequest) GetClosedBy() Account

GetClosedBy returns the ClosedBy field value if set, zero value otherwise.

func (*PullRequest) GetClosedByOk ¶

func (o *PullRequest) GetClosedByOk() (*Account, bool)

GetClosedByOk returns a tuple with the ClosedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetCommentCount ¶

func (o *PullRequest) GetCommentCount() int32

GetCommentCount returns the CommentCount field value if set, zero value otherwise.

func (*PullRequest) GetCommentCountOk ¶

func (o *PullRequest) GetCommentCountOk() (*int32, bool)

GetCommentCountOk returns a tuple with the CommentCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetCreatedOn ¶

func (o *PullRequest) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*PullRequest) GetCreatedOnOk ¶

func (o *PullRequest) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetDestination ¶

func (o *PullRequest) GetDestination() PullrequestEndpoint

GetDestination returns the Destination field value if set, zero value otherwise.

func (*PullRequest) GetDestinationOk ¶

func (o *PullRequest) GetDestinationOk() (*PullrequestEndpoint, bool)

GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetId ¶

func (o *PullRequest) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*PullRequest) GetIdOk ¶

func (o *PullRequest) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *PullRequest) GetLinks() PullRequestLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*PullRequest) GetLinksOk ¶

func (o *PullRequest) GetLinksOk() (*PullRequestLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetMergeCommit ¶

func (o *PullRequest) GetMergeCommit() PullRequestCommit

GetMergeCommit returns the MergeCommit field value if set, zero value otherwise.

func (*PullRequest) GetMergeCommitOk ¶

func (o *PullRequest) GetMergeCommitOk() (*PullRequestCommit, bool)

GetMergeCommitOk returns a tuple with the MergeCommit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetParticipants ¶

func (o *PullRequest) GetParticipants() []Participant

GetParticipants returns the Participants field value if set, zero value otherwise.

func (*PullRequest) GetParticipantsOk ¶

func (o *PullRequest) GetParticipantsOk() ([]Participant, bool)

GetParticipantsOk returns a tuple with the Participants field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetReason ¶

func (o *PullRequest) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*PullRequest) GetReasonOk ¶

func (o *PullRequest) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetRendered ¶

func (o *PullRequest) GetRendered() RenderedPullRequestMarkup

GetRendered returns the Rendered field value if set, zero value otherwise.

func (*PullRequest) GetRenderedOk ¶

func (o *PullRequest) GetRenderedOk() (*RenderedPullRequestMarkup, bool)

GetRenderedOk returns a tuple with the Rendered field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetReviewers ¶

func (o *PullRequest) GetReviewers() []Account

GetReviewers returns the Reviewers field value if set, zero value otherwise.

func (*PullRequest) GetReviewersOk ¶

func (o *PullRequest) GetReviewersOk() ([]Account, bool)

GetReviewersOk returns a tuple with the Reviewers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetSource ¶

func (o *PullRequest) GetSource() PullrequestEndpoint

GetSource returns the Source field value if set, zero value otherwise.

func (*PullRequest) GetSourceOk ¶

func (o *PullRequest) GetSourceOk() (*PullrequestEndpoint, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetState ¶

func (o *PullRequest) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*PullRequest) GetStateOk ¶

func (o *PullRequest) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetSummary ¶

GetSummary returns the Summary field value if set, zero value otherwise.

func (*PullRequest) GetSummaryOk ¶

func (o *PullRequest) GetSummaryOk() (*RenderedPullRequestMarkupTitle, bool)

GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetTaskCount ¶

func (o *PullRequest) GetTaskCount() int32

GetTaskCount returns the TaskCount field value if set, zero value otherwise.

func (*PullRequest) GetTaskCountOk ¶

func (o *PullRequest) GetTaskCountOk() (*int32, bool)

GetTaskCountOk returns a tuple with the TaskCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetTitle ¶

func (o *PullRequest) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*PullRequest) GetTitleOk ¶

func (o *PullRequest) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) GetUpdatedOn ¶

func (o *PullRequest) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*PullRequest) GetUpdatedOnOk ¶

func (o *PullRequest) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequest) HasAuthor ¶

func (o *PullRequest) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (*PullRequest) HasCloseSourceBranch ¶

func (o *PullRequest) HasCloseSourceBranch() bool

HasCloseSourceBranch returns a boolean if a field has been set.

func (*PullRequest) HasClosedBy ¶

func (o *PullRequest) HasClosedBy() bool

HasClosedBy returns a boolean if a field has been set.

func (*PullRequest) HasCommentCount ¶

func (o *PullRequest) HasCommentCount() bool

HasCommentCount returns a boolean if a field has been set.

func (*PullRequest) HasCreatedOn ¶

func (o *PullRequest) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*PullRequest) HasDestination ¶

func (o *PullRequest) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*PullRequest) HasId ¶

func (o *PullRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (o *PullRequest) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*PullRequest) HasMergeCommit ¶

func (o *PullRequest) HasMergeCommit() bool

HasMergeCommit returns a boolean if a field has been set.

func (*PullRequest) HasParticipants ¶

func (o *PullRequest) HasParticipants() bool

HasParticipants returns a boolean if a field has been set.

func (*PullRequest) HasReason ¶

func (o *PullRequest) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*PullRequest) HasRendered ¶

func (o *PullRequest) HasRendered() bool

HasRendered returns a boolean if a field has been set.

func (*PullRequest) HasReviewers ¶

func (o *PullRequest) HasReviewers() bool

HasReviewers returns a boolean if a field has been set.

func (*PullRequest) HasSource ¶

func (o *PullRequest) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*PullRequest) HasState ¶

func (o *PullRequest) HasState() bool

HasState returns a boolean if a field has been set.

func (*PullRequest) HasSummary ¶

func (o *PullRequest) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (*PullRequest) HasTaskCount ¶

func (o *PullRequest) HasTaskCount() bool

HasTaskCount returns a boolean if a field has been set.

func (*PullRequest) HasTitle ¶

func (o *PullRequest) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*PullRequest) HasUpdatedOn ¶

func (o *PullRequest) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (PullRequest) MarshalJSON ¶

func (o PullRequest) MarshalJSON() ([]byte, error)

func (*PullRequest) SetAuthor ¶

func (o *PullRequest) SetAuthor(v Account)

SetAuthor gets a reference to the given Account and assigns it to the Author field.

func (*PullRequest) SetCloseSourceBranch ¶

func (o *PullRequest) SetCloseSourceBranch(v bool)

SetCloseSourceBranch gets a reference to the given bool and assigns it to the CloseSourceBranch field.

func (*PullRequest) SetClosedBy ¶

func (o *PullRequest) SetClosedBy(v Account)

SetClosedBy gets a reference to the given Account and assigns it to the ClosedBy field.

func (*PullRequest) SetCommentCount ¶

func (o *PullRequest) SetCommentCount(v int32)

SetCommentCount gets a reference to the given int32 and assigns it to the CommentCount field.

func (*PullRequest) SetCreatedOn ¶

func (o *PullRequest) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*PullRequest) SetDestination ¶

func (o *PullRequest) SetDestination(v PullrequestEndpoint)

SetDestination gets a reference to the given PullrequestEndpoint and assigns it to the Destination field.

func (*PullRequest) SetId ¶

func (o *PullRequest) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (o *PullRequest) SetLinks(v PullRequestLinks)

SetLinks gets a reference to the given PullRequestLinks and assigns it to the Links field.

func (*PullRequest) SetMergeCommit ¶

func (o *PullRequest) SetMergeCommit(v PullRequestCommit)

SetMergeCommit gets a reference to the given PullRequestCommit and assigns it to the MergeCommit field.

func (*PullRequest) SetParticipants ¶

func (o *PullRequest) SetParticipants(v []Participant)

SetParticipants gets a reference to the given []Participant and assigns it to the Participants field.

func (*PullRequest) SetReason ¶

func (o *PullRequest) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*PullRequest) SetRendered ¶

func (o *PullRequest) SetRendered(v RenderedPullRequestMarkup)

SetRendered gets a reference to the given RenderedPullRequestMarkup and assigns it to the Rendered field.

func (*PullRequest) SetReviewers ¶

func (o *PullRequest) SetReviewers(v []Account)

SetReviewers gets a reference to the given []Account and assigns it to the Reviewers field.

func (*PullRequest) SetSource ¶

func (o *PullRequest) SetSource(v PullrequestEndpoint)

SetSource gets a reference to the given PullrequestEndpoint and assigns it to the Source field.

func (*PullRequest) SetState ¶

func (o *PullRequest) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*PullRequest) SetSummary ¶

SetSummary gets a reference to the given RenderedPullRequestMarkupTitle and assigns it to the Summary field.

func (*PullRequest) SetTaskCount ¶

func (o *PullRequest) SetTaskCount(v int32)

SetTaskCount gets a reference to the given int32 and assigns it to the TaskCount field.

func (*PullRequest) SetTitle ¶

func (o *PullRequest) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*PullRequest) SetUpdatedOn ¶

func (o *PullRequest) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*PullRequest) UnmarshalJSON ¶ added in v0.0.3

func (o *PullRequest) UnmarshalJSON(bytes []byte) (err error)

type PullRequestBranch ¶

type PullRequestBranch struct {
	Name *string `json:"name,omitempty"`
	// Available merge strategies, when this endpoint is the destination of the pull request.
	MergeStrategies []string `json:"merge_strategies,omitempty"`
	// The default merge strategy, when this endpoint is the destination of the pull request.
	DefaultMergeStrategy *string `json:"default_merge_strategy,omitempty"`
	AdditionalProperties map[string]interface{}
}

PullRequestBranch struct for PullRequestBranch

func NewPullRequestBranch ¶

func NewPullRequestBranch() *PullRequestBranch

NewPullRequestBranch instantiates a new PullRequestBranch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullRequestBranchWithDefaults ¶

func NewPullRequestBranchWithDefaults() *PullRequestBranch

NewPullRequestBranchWithDefaults instantiates a new PullRequestBranch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullRequestBranch) GetDefaultMergeStrategy ¶

func (o *PullRequestBranch) GetDefaultMergeStrategy() string

GetDefaultMergeStrategy returns the DefaultMergeStrategy field value if set, zero value otherwise.

func (*PullRequestBranch) GetDefaultMergeStrategyOk ¶

func (o *PullRequestBranch) GetDefaultMergeStrategyOk() (*string, bool)

GetDefaultMergeStrategyOk returns a tuple with the DefaultMergeStrategy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestBranch) GetMergeStrategies ¶

func (o *PullRequestBranch) GetMergeStrategies() []string

GetMergeStrategies returns the MergeStrategies field value if set, zero value otherwise.

func (*PullRequestBranch) GetMergeStrategiesOk ¶

func (o *PullRequestBranch) GetMergeStrategiesOk() ([]string, bool)

GetMergeStrategiesOk returns a tuple with the MergeStrategies field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestBranch) GetName ¶

func (o *PullRequestBranch) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*PullRequestBranch) GetNameOk ¶

func (o *PullRequestBranch) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestBranch) HasDefaultMergeStrategy ¶

func (o *PullRequestBranch) HasDefaultMergeStrategy() bool

HasDefaultMergeStrategy returns a boolean if a field has been set.

func (*PullRequestBranch) HasMergeStrategies ¶

func (o *PullRequestBranch) HasMergeStrategies() bool

HasMergeStrategies returns a boolean if a field has been set.

func (*PullRequestBranch) HasName ¶

func (o *PullRequestBranch) HasName() bool

HasName returns a boolean if a field has been set.

func (PullRequestBranch) MarshalJSON ¶

func (o PullRequestBranch) MarshalJSON() ([]byte, error)

func (*PullRequestBranch) SetDefaultMergeStrategy ¶

func (o *PullRequestBranch) SetDefaultMergeStrategy(v string)

SetDefaultMergeStrategy gets a reference to the given string and assigns it to the DefaultMergeStrategy field.

func (*PullRequestBranch) SetMergeStrategies ¶

func (o *PullRequestBranch) SetMergeStrategies(v []string)

SetMergeStrategies gets a reference to the given []string and assigns it to the MergeStrategies field.

func (*PullRequestBranch) SetName ¶

func (o *PullRequestBranch) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*PullRequestBranch) UnmarshalJSON ¶ added in v0.0.3

func (o *PullRequestBranch) UnmarshalJSON(bytes []byte) (err error)

type PullRequestComment ¶

type PullRequestComment struct {
	Pullrequest          *Pullrequest `json:"pullrequest,omitempty"`
	AdditionalProperties map[string]interface{}
}

PullRequestComment A pullrequest comment.

func NewPullRequestComment ¶

func NewPullRequestComment() *PullRequestComment

NewPullRequestComment instantiates a new PullRequestComment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullRequestCommentWithDefaults ¶

func NewPullRequestCommentWithDefaults() *PullRequestComment

NewPullRequestCommentWithDefaults instantiates a new PullRequestComment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullRequestComment) GetPullrequest ¶

func (o *PullRequestComment) GetPullrequest() Pullrequest

GetPullrequest returns the Pullrequest field value if set, zero value otherwise.

func (*PullRequestComment) GetPullrequestOk ¶

func (o *PullRequestComment) GetPullrequestOk() (*Pullrequest, bool)

GetPullrequestOk returns a tuple with the Pullrequest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestComment) HasPullrequest ¶

func (o *PullRequestComment) HasPullrequest() bool

HasPullrequest returns a boolean if a field has been set.

func (PullRequestComment) MarshalJSON ¶

func (o PullRequestComment) MarshalJSON() ([]byte, error)

func (*PullRequestComment) SetPullrequest ¶

func (o *PullRequestComment) SetPullrequest(v Pullrequest)

SetPullrequest gets a reference to the given Pullrequest and assigns it to the Pullrequest field.

func (*PullRequestComment) UnmarshalJSON ¶ added in v0.0.3

func (o *PullRequestComment) UnmarshalJSON(bytes []byte) (err error)

type PullRequestCommit ¶

type PullRequestCommit struct {
	Hash                 *string `json:"hash,omitempty"`
	AdditionalProperties map[string]interface{}
}

PullRequestCommit struct for PullRequestCommit

func NewPullRequestCommit ¶

func NewPullRequestCommit() *PullRequestCommit

NewPullRequestCommit instantiates a new PullRequestCommit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullRequestCommitWithDefaults ¶

func NewPullRequestCommitWithDefaults() *PullRequestCommit

NewPullRequestCommitWithDefaults instantiates a new PullRequestCommit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullRequestCommit) GetHash ¶

func (o *PullRequestCommit) GetHash() string

GetHash returns the Hash field value if set, zero value otherwise.

func (*PullRequestCommit) GetHashOk ¶

func (o *PullRequestCommit) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestCommit) HasHash ¶

func (o *PullRequestCommit) HasHash() bool

HasHash returns a boolean if a field has been set.

func (PullRequestCommit) MarshalJSON ¶

func (o PullRequestCommit) MarshalJSON() ([]byte, error)

func (*PullRequestCommit) SetHash ¶

func (o *PullRequestCommit) SetHash(v string)

SetHash gets a reference to the given string and assigns it to the Hash field.

func (*PullRequestCommit) UnmarshalJSON ¶ added in v0.0.3

func (o *PullRequestCommit) UnmarshalJSON(bytes []byte) (err error)
type PullRequestLinks struct {
	Self                 *Link `json:"self,omitempty"`
	Html                 *Link `json:"html,omitempty"`
	Commits              *Link `json:"commits,omitempty"`
	Approve              *Link `json:"approve,omitempty"`
	Diff                 *Link `json:"diff,omitempty"`
	Diffstat             *Link `json:"diffstat,omitempty"`
	Comments             *Link `json:"comments,omitempty"`
	Activity             *Link `json:"activity,omitempty"`
	Merge                *Link `json:"merge,omitempty"`
	Decline              *Link `json:"decline,omitempty"`
	AdditionalProperties map[string]interface{}
}

PullRequestLinks struct for PullRequestLinks

func NewPullRequestLinks() *PullRequestLinks

NewPullRequestLinks instantiates a new PullRequestLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullRequestLinksWithDefaults ¶

func NewPullRequestLinksWithDefaults() *PullRequestLinks

NewPullRequestLinksWithDefaults instantiates a new PullRequestLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullRequestLinks) GetActivity ¶

func (o *PullRequestLinks) GetActivity() Link

GetActivity returns the Activity field value if set, zero value otherwise.

func (*PullRequestLinks) GetActivityOk ¶

func (o *PullRequestLinks) GetActivityOk() (*Link, bool)

GetActivityOk returns a tuple with the Activity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLinks) GetApprove ¶

func (o *PullRequestLinks) GetApprove() Link

GetApprove returns the Approve field value if set, zero value otherwise.

func (*PullRequestLinks) GetApproveOk ¶

func (o *PullRequestLinks) GetApproveOk() (*Link, bool)

GetApproveOk returns a tuple with the Approve field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLinks) GetComments ¶

func (o *PullRequestLinks) GetComments() Link

GetComments returns the Comments field value if set, zero value otherwise.

func (*PullRequestLinks) GetCommentsOk ¶

func (o *PullRequestLinks) GetCommentsOk() (*Link, bool)

GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLinks) GetCommits ¶

func (o *PullRequestLinks) GetCommits() Link

GetCommits returns the Commits field value if set, zero value otherwise.

func (*PullRequestLinks) GetCommitsOk ¶

func (o *PullRequestLinks) GetCommitsOk() (*Link, bool)

GetCommitsOk returns a tuple with the Commits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLinks) GetDecline ¶

func (o *PullRequestLinks) GetDecline() Link

GetDecline returns the Decline field value if set, zero value otherwise.

func (*PullRequestLinks) GetDeclineOk ¶

func (o *PullRequestLinks) GetDeclineOk() (*Link, bool)

GetDeclineOk returns a tuple with the Decline field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLinks) GetDiff ¶

func (o *PullRequestLinks) GetDiff() Link

GetDiff returns the Diff field value if set, zero value otherwise.

func (*PullRequestLinks) GetDiffOk ¶

func (o *PullRequestLinks) GetDiffOk() (*Link, bool)

GetDiffOk returns a tuple with the Diff field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLinks) GetDiffstat ¶

func (o *PullRequestLinks) GetDiffstat() Link

GetDiffstat returns the Diffstat field value if set, zero value otherwise.

func (*PullRequestLinks) GetDiffstatOk ¶

func (o *PullRequestLinks) GetDiffstatOk() (*Link, bool)

GetDiffstatOk returns a tuple with the Diffstat field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLinks) GetHtml ¶

func (o *PullRequestLinks) GetHtml() Link

GetHtml returns the Html field value if set, zero value otherwise.

func (*PullRequestLinks) GetHtmlOk ¶

func (o *PullRequestLinks) GetHtmlOk() (*Link, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLinks) GetMerge ¶

func (o *PullRequestLinks) GetMerge() Link

GetMerge returns the Merge field value if set, zero value otherwise.

func (*PullRequestLinks) GetMergeOk ¶

func (o *PullRequestLinks) GetMergeOk() (*Link, bool)

GetMergeOk returns a tuple with the Merge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLinks) GetSelf ¶

func (o *PullRequestLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*PullRequestLinks) GetSelfOk ¶

func (o *PullRequestLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullRequestLinks) HasActivity ¶

func (o *PullRequestLinks) HasActivity() bool

HasActivity returns a boolean if a field has been set.

func (*PullRequestLinks) HasApprove ¶

func (o *PullRequestLinks) HasApprove() bool

HasApprove returns a boolean if a field has been set.

func (*PullRequestLinks) HasComments ¶

func (o *PullRequestLinks) HasComments() bool

HasComments returns a boolean if a field has been set.

func (*PullRequestLinks) HasCommits ¶

func (o *PullRequestLinks) HasCommits() bool

HasCommits returns a boolean if a field has been set.

func (*PullRequestLinks) HasDecline ¶

func (o *PullRequestLinks) HasDecline() bool

HasDecline returns a boolean if a field has been set.

func (*PullRequestLinks) HasDiff ¶

func (o *PullRequestLinks) HasDiff() bool

HasDiff returns a boolean if a field has been set.

func (*PullRequestLinks) HasDiffstat ¶

func (o *PullRequestLinks) HasDiffstat() bool

HasDiffstat returns a boolean if a field has been set.

func (*PullRequestLinks) HasHtml ¶

func (o *PullRequestLinks) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (*PullRequestLinks) HasMerge ¶

func (o *PullRequestLinks) HasMerge() bool

HasMerge returns a boolean if a field has been set.

func (*PullRequestLinks) HasSelf ¶

func (o *PullRequestLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (PullRequestLinks) MarshalJSON ¶

func (o PullRequestLinks) MarshalJSON() ([]byte, error)

func (*PullRequestLinks) SetActivity ¶

func (o *PullRequestLinks) SetActivity(v Link)

SetActivity gets a reference to the given Link and assigns it to the Activity field.

func (*PullRequestLinks) SetApprove ¶

func (o *PullRequestLinks) SetApprove(v Link)

SetApprove gets a reference to the given Link and assigns it to the Approve field.

func (*PullRequestLinks) SetComments ¶

func (o *PullRequestLinks) SetComments(v Link)

SetComments gets a reference to the given Link and assigns it to the Comments field.

func (*PullRequestLinks) SetCommits ¶

func (o *PullRequestLinks) SetCommits(v Link)

SetCommits gets a reference to the given Link and assigns it to the Commits field.

func (*PullRequestLinks) SetDecline ¶

func (o *PullRequestLinks) SetDecline(v Link)

SetDecline gets a reference to the given Link and assigns it to the Decline field.

func (*PullRequestLinks) SetDiff ¶

func (o *PullRequestLinks) SetDiff(v Link)

SetDiff gets a reference to the given Link and assigns it to the Diff field.

func (*PullRequestLinks) SetDiffstat ¶

func (o *PullRequestLinks) SetDiffstat(v Link)

SetDiffstat gets a reference to the given Link and assigns it to the Diffstat field.

func (*PullRequestLinks) SetHtml ¶

func (o *PullRequestLinks) SetHtml(v Link)

SetHtml gets a reference to the given Link and assigns it to the Html field.

func (*PullRequestLinks) SetMerge ¶

func (o *PullRequestLinks) SetMerge(v Link)

SetMerge gets a reference to the given Link and assigns it to the Merge field.

func (*PullRequestLinks) SetSelf ¶

func (o *PullRequestLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*PullRequestLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *PullRequestLinks) UnmarshalJSON(bytes []byte) (err error)

type Pullrequest ¶

type Pullrequest struct {
	Object
	Links *PullRequestLinks `json:"links,omitempty"`
	// The pull request's unique ID. Note that pull request IDs are only unique within their associated repository.
	Id *int32 `json:"id,omitempty"`
	// Title of the pull request.
	Title    *string                         `json:"title,omitempty"`
	Rendered *RenderedPullRequestMarkup      `json:"rendered,omitempty"`
	Summary  *RenderedPullRequestMarkupTitle `json:"summary,omitempty"`
	// The pull request's current status.
	State       *string              `json:"state,omitempty"`
	Author      *Account             `json:"author,omitempty"`
	Source      *PullrequestEndpoint `json:"source,omitempty"`
	Destination *PullrequestEndpoint `json:"destination,omitempty"`
	MergeCommit *PullRequestCommit   `json:"merge_commit,omitempty"`
	// The number of comments for a specific pull request.
	CommentCount *int32 `json:"comment_count,omitempty"`
	// The number of open tasks for a specific pull request.
	TaskCount *int32 `json:"task_count,omitempty"`
	// A boolean flag indicating if merging the pull request closes the source branch.
	CloseSourceBranch *bool    `json:"close_source_branch,omitempty"`
	ClosedBy          *Account `json:"closed_by,omitempty"`
	// Explains why a pull request was declined. This field is only applicable to pull requests in rejected state.
	Reason *string `json:"reason,omitempty"`
	// The ISO8601 timestamp the request was created.
	CreatedOn *time.Time `json:"created_on,omitempty"`
	// The ISO8601 timestamp the request was last updated.
	UpdatedOn *time.Time `json:"updated_on,omitempty"`
	// The list of users that were added as reviewers on this pull request when it was created. For performance reasons, the API only includes this list on a pull request's `self` URL.
	Reviewers []Account `json:"reviewers,omitempty"`
	//         The list of users that are collaborating on this pull request.         Collaborators are user that:          * are added to the pull request as a reviewer (part of the reviewers           list)         * are not explicit reviewers, but have commented on the pull request         * are not explicit reviewers, but have approved the pull request          Each user is wrapped in an object that indicates the user's role and         whether they have approved the pull request. For performance reasons,         the API only returns this list when an API requests a pull request by         id.
	Participants         []Participant `json:"participants,omitempty"`
	AdditionalProperties map[string]interface{}
}

Pullrequest struct for Pullrequest

func NewPullrequest ¶

func NewPullrequest() *Pullrequest

NewPullrequest instantiates a new Pullrequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullrequestWithDefaults ¶

func NewPullrequestWithDefaults() *Pullrequest

NewPullrequestWithDefaults instantiates a new Pullrequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Pullrequest) GetAuthor ¶

func (o *Pullrequest) GetAuthor() Account

GetAuthor returns the Author field value if set, zero value otherwise.

func (*Pullrequest) GetAuthorOk ¶

func (o *Pullrequest) GetAuthorOk() (*Account, bool)

GetAuthorOk returns a tuple with the Author field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetCloseSourceBranch ¶

func (o *Pullrequest) GetCloseSourceBranch() bool

GetCloseSourceBranch returns the CloseSourceBranch field value if set, zero value otherwise.

func (*Pullrequest) GetCloseSourceBranchOk ¶

func (o *Pullrequest) GetCloseSourceBranchOk() (*bool, bool)

GetCloseSourceBranchOk returns a tuple with the CloseSourceBranch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetClosedBy ¶

func (o *Pullrequest) GetClosedBy() Account

GetClosedBy returns the ClosedBy field value if set, zero value otherwise.

func (*Pullrequest) GetClosedByOk ¶

func (o *Pullrequest) GetClosedByOk() (*Account, bool)

GetClosedByOk returns a tuple with the ClosedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetCommentCount ¶

func (o *Pullrequest) GetCommentCount() int32

GetCommentCount returns the CommentCount field value if set, zero value otherwise.

func (*Pullrequest) GetCommentCountOk ¶

func (o *Pullrequest) GetCommentCountOk() (*int32, bool)

GetCommentCountOk returns a tuple with the CommentCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetCreatedOn ¶

func (o *Pullrequest) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Pullrequest) GetCreatedOnOk ¶

func (o *Pullrequest) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetDestination ¶

func (o *Pullrequest) GetDestination() PullrequestEndpoint

GetDestination returns the Destination field value if set, zero value otherwise.

func (*Pullrequest) GetDestinationOk ¶

func (o *Pullrequest) GetDestinationOk() (*PullrequestEndpoint, bool)

GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetId ¶

func (o *Pullrequest) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Pullrequest) GetIdOk ¶

func (o *Pullrequest) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Pullrequest) GetLinks() PullRequestLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Pullrequest) GetLinksOk ¶

func (o *Pullrequest) GetLinksOk() (*PullRequestLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetMergeCommit ¶

func (o *Pullrequest) GetMergeCommit() PullRequestCommit

GetMergeCommit returns the MergeCommit field value if set, zero value otherwise.

func (*Pullrequest) GetMergeCommitOk ¶

func (o *Pullrequest) GetMergeCommitOk() (*PullRequestCommit, bool)

GetMergeCommitOk returns a tuple with the MergeCommit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetParticipants ¶

func (o *Pullrequest) GetParticipants() []Participant

GetParticipants returns the Participants field value if set, zero value otherwise.

func (*Pullrequest) GetParticipantsOk ¶

func (o *Pullrequest) GetParticipantsOk() ([]Participant, bool)

GetParticipantsOk returns a tuple with the Participants field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetReason ¶

func (o *Pullrequest) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*Pullrequest) GetReasonOk ¶

func (o *Pullrequest) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetRendered ¶

func (o *Pullrequest) GetRendered() RenderedPullRequestMarkup

GetRendered returns the Rendered field value if set, zero value otherwise.

func (*Pullrequest) GetRenderedOk ¶

func (o *Pullrequest) GetRenderedOk() (*RenderedPullRequestMarkup, bool)

GetRenderedOk returns a tuple with the Rendered field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetReviewers ¶

func (o *Pullrequest) GetReviewers() []Account

GetReviewers returns the Reviewers field value if set, zero value otherwise.

func (*Pullrequest) GetReviewersOk ¶

func (o *Pullrequest) GetReviewersOk() ([]Account, bool)

GetReviewersOk returns a tuple with the Reviewers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetSource ¶

func (o *Pullrequest) GetSource() PullrequestEndpoint

GetSource returns the Source field value if set, zero value otherwise.

func (*Pullrequest) GetSourceOk ¶

func (o *Pullrequest) GetSourceOk() (*PullrequestEndpoint, bool)

GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetState ¶

func (o *Pullrequest) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Pullrequest) GetStateOk ¶

func (o *Pullrequest) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetSummary ¶

GetSummary returns the Summary field value if set, zero value otherwise.

func (*Pullrequest) GetSummaryOk ¶

func (o *Pullrequest) GetSummaryOk() (*RenderedPullRequestMarkupTitle, bool)

GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetTaskCount ¶

func (o *Pullrequest) GetTaskCount() int32

GetTaskCount returns the TaskCount field value if set, zero value otherwise.

func (*Pullrequest) GetTaskCountOk ¶

func (o *Pullrequest) GetTaskCountOk() (*int32, bool)

GetTaskCountOk returns a tuple with the TaskCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetTitle ¶

func (o *Pullrequest) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*Pullrequest) GetTitleOk ¶

func (o *Pullrequest) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) GetUpdatedOn ¶

func (o *Pullrequest) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*Pullrequest) GetUpdatedOnOk ¶

func (o *Pullrequest) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Pullrequest) HasAuthor ¶

func (o *Pullrequest) HasAuthor() bool

HasAuthor returns a boolean if a field has been set.

func (*Pullrequest) HasCloseSourceBranch ¶

func (o *Pullrequest) HasCloseSourceBranch() bool

HasCloseSourceBranch returns a boolean if a field has been set.

func (*Pullrequest) HasClosedBy ¶

func (o *Pullrequest) HasClosedBy() bool

HasClosedBy returns a boolean if a field has been set.

func (*Pullrequest) HasCommentCount ¶

func (o *Pullrequest) HasCommentCount() bool

HasCommentCount returns a boolean if a field has been set.

func (*Pullrequest) HasCreatedOn ¶

func (o *Pullrequest) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Pullrequest) HasDestination ¶

func (o *Pullrequest) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*Pullrequest) HasId ¶

func (o *Pullrequest) HasId() bool

HasId returns a boolean if a field has been set.

func (o *Pullrequest) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Pullrequest) HasMergeCommit ¶

func (o *Pullrequest) HasMergeCommit() bool

HasMergeCommit returns a boolean if a field has been set.

func (*Pullrequest) HasParticipants ¶

func (o *Pullrequest) HasParticipants() bool

HasParticipants returns a boolean if a field has been set.

func (*Pullrequest) HasReason ¶

func (o *Pullrequest) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*Pullrequest) HasRendered ¶

func (o *Pullrequest) HasRendered() bool

HasRendered returns a boolean if a field has been set.

func (*Pullrequest) HasReviewers ¶

func (o *Pullrequest) HasReviewers() bool

HasReviewers returns a boolean if a field has been set.

func (*Pullrequest) HasSource ¶

func (o *Pullrequest) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*Pullrequest) HasState ¶

func (o *Pullrequest) HasState() bool

HasState returns a boolean if a field has been set.

func (*Pullrequest) HasSummary ¶

func (o *Pullrequest) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (*Pullrequest) HasTaskCount ¶

func (o *Pullrequest) HasTaskCount() bool

HasTaskCount returns a boolean if a field has been set.

func (*Pullrequest) HasTitle ¶

func (o *Pullrequest) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Pullrequest) HasUpdatedOn ¶

func (o *Pullrequest) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (Pullrequest) MarshalJSON ¶

func (o Pullrequest) MarshalJSON() ([]byte, error)

func (*Pullrequest) SetAuthor ¶

func (o *Pullrequest) SetAuthor(v Account)

SetAuthor gets a reference to the given Account and assigns it to the Author field.

func (*Pullrequest) SetCloseSourceBranch ¶

func (o *Pullrequest) SetCloseSourceBranch(v bool)

SetCloseSourceBranch gets a reference to the given bool and assigns it to the CloseSourceBranch field.

func (*Pullrequest) SetClosedBy ¶

func (o *Pullrequest) SetClosedBy(v Account)

SetClosedBy gets a reference to the given Account and assigns it to the ClosedBy field.

func (*Pullrequest) SetCommentCount ¶

func (o *Pullrequest) SetCommentCount(v int32)

SetCommentCount gets a reference to the given int32 and assigns it to the CommentCount field.

func (*Pullrequest) SetCreatedOn ¶

func (o *Pullrequest) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Pullrequest) SetDestination ¶

func (o *Pullrequest) SetDestination(v PullrequestEndpoint)

SetDestination gets a reference to the given PullrequestEndpoint and assigns it to the Destination field.

func (*Pullrequest) SetId ¶

func (o *Pullrequest) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (o *Pullrequest) SetLinks(v PullRequestLinks)

SetLinks gets a reference to the given PullRequestLinks and assigns it to the Links field.

func (*Pullrequest) SetMergeCommit ¶

func (o *Pullrequest) SetMergeCommit(v PullRequestCommit)

SetMergeCommit gets a reference to the given PullRequestCommit and assigns it to the MergeCommit field.

func (*Pullrequest) SetParticipants ¶

func (o *Pullrequest) SetParticipants(v []Participant)

SetParticipants gets a reference to the given []Participant and assigns it to the Participants field.

func (*Pullrequest) SetReason ¶

func (o *Pullrequest) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*Pullrequest) SetRendered ¶

func (o *Pullrequest) SetRendered(v RenderedPullRequestMarkup)

SetRendered gets a reference to the given RenderedPullRequestMarkup and assigns it to the Rendered field.

func (*Pullrequest) SetReviewers ¶

func (o *Pullrequest) SetReviewers(v []Account)

SetReviewers gets a reference to the given []Account and assigns it to the Reviewers field.

func (*Pullrequest) SetSource ¶

func (o *Pullrequest) SetSource(v PullrequestEndpoint)

SetSource gets a reference to the given PullrequestEndpoint and assigns it to the Source field.

func (*Pullrequest) SetState ¶

func (o *Pullrequest) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*Pullrequest) SetSummary ¶

SetSummary gets a reference to the given RenderedPullRequestMarkupTitle and assigns it to the Summary field.

func (*Pullrequest) SetTaskCount ¶

func (o *Pullrequest) SetTaskCount(v int32)

SetTaskCount gets a reference to the given int32 and assigns it to the TaskCount field.

func (*Pullrequest) SetTitle ¶

func (o *Pullrequest) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*Pullrequest) SetUpdatedOn ¶

func (o *Pullrequest) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*Pullrequest) UnmarshalJSON ¶ added in v0.0.3

func (o *Pullrequest) UnmarshalJSON(bytes []byte) (err error)

type PullrequestComment ¶

type PullrequestComment struct {
	Comment
	Pullrequest          *Pullrequest `json:"pullrequest,omitempty"`
	AdditionalProperties map[string]interface{}
}

PullrequestComment struct for PullrequestComment

func NewPullrequestComment ¶

func NewPullrequestComment() *PullrequestComment

NewPullrequestComment instantiates a new PullrequestComment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullrequestCommentWithDefaults ¶

func NewPullrequestCommentWithDefaults() *PullrequestComment

NewPullrequestCommentWithDefaults instantiates a new PullrequestComment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullrequestComment) GetPullrequest ¶

func (o *PullrequestComment) GetPullrequest() Pullrequest

GetPullrequest returns the Pullrequest field value if set, zero value otherwise.

func (*PullrequestComment) GetPullrequestOk ¶

func (o *PullrequestComment) GetPullrequestOk() (*Pullrequest, bool)

GetPullrequestOk returns a tuple with the Pullrequest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullrequestComment) HasPullrequest ¶

func (o *PullrequestComment) HasPullrequest() bool

HasPullrequest returns a boolean if a field has been set.

func (PullrequestComment) MarshalJSON ¶

func (o PullrequestComment) MarshalJSON() ([]byte, error)

func (*PullrequestComment) SetPullrequest ¶

func (o *PullrequestComment) SetPullrequest(v Pullrequest)

SetPullrequest gets a reference to the given Pullrequest and assigns it to the Pullrequest field.

func (*PullrequestComment) UnmarshalJSON ¶ added in v0.0.3

func (o *PullrequestComment) UnmarshalJSON(bytes []byte) (err error)

type PullrequestEndpoint ¶

type PullrequestEndpoint struct {
	Repository           *Repository        `json:"repository,omitempty"`
	Branch               *PullRequestBranch `json:"branch,omitempty"`
	Commit               *PullRequestCommit `json:"commit,omitempty"`
	AdditionalProperties map[string]interface{}
}

PullrequestEndpoint struct for PullrequestEndpoint

func NewPullrequestEndpoint ¶

func NewPullrequestEndpoint() *PullrequestEndpoint

NewPullrequestEndpoint instantiates a new PullrequestEndpoint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullrequestEndpointWithDefaults ¶

func NewPullrequestEndpointWithDefaults() *PullrequestEndpoint

NewPullrequestEndpointWithDefaults instantiates a new PullrequestEndpoint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullrequestEndpoint) GetBranch ¶

func (o *PullrequestEndpoint) GetBranch() PullRequestBranch

GetBranch returns the Branch field value if set, zero value otherwise.

func (*PullrequestEndpoint) GetBranchOk ¶

func (o *PullrequestEndpoint) GetBranchOk() (*PullRequestBranch, bool)

GetBranchOk returns a tuple with the Branch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullrequestEndpoint) GetCommit ¶

func (o *PullrequestEndpoint) GetCommit() PullRequestCommit

GetCommit returns the Commit field value if set, zero value otherwise.

func (*PullrequestEndpoint) GetCommitOk ¶

func (o *PullrequestEndpoint) GetCommitOk() (*PullRequestCommit, bool)

GetCommitOk returns a tuple with the Commit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullrequestEndpoint) GetRepository ¶

func (o *PullrequestEndpoint) GetRepository() Repository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*PullrequestEndpoint) GetRepositoryOk ¶

func (o *PullrequestEndpoint) GetRepositoryOk() (*Repository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullrequestEndpoint) HasBranch ¶

func (o *PullrequestEndpoint) HasBranch() bool

HasBranch returns a boolean if a field has been set.

func (*PullrequestEndpoint) HasCommit ¶

func (o *PullrequestEndpoint) HasCommit() bool

HasCommit returns a boolean if a field has been set.

func (*PullrequestEndpoint) HasRepository ¶

func (o *PullrequestEndpoint) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (PullrequestEndpoint) MarshalJSON ¶

func (o PullrequestEndpoint) MarshalJSON() ([]byte, error)

func (*PullrequestEndpoint) SetBranch ¶

func (o *PullrequestEndpoint) SetBranch(v PullRequestBranch)

SetBranch gets a reference to the given PullRequestBranch and assigns it to the Branch field.

func (*PullrequestEndpoint) SetCommit ¶

func (o *PullrequestEndpoint) SetCommit(v PullRequestCommit)

SetCommit gets a reference to the given PullRequestCommit and assigns it to the Commit field.

func (*PullrequestEndpoint) SetRepository ¶

func (o *PullrequestEndpoint) SetRepository(v Repository)

SetRepository gets a reference to the given Repository and assigns it to the Repository field.

func (*PullrequestEndpoint) UnmarshalJSON ¶ added in v0.0.3

func (o *PullrequestEndpoint) UnmarshalJSON(bytes []byte) (err error)

type PullrequestMergeParameters ¶

type PullrequestMergeParameters struct {
	Type string `json:"type"`
	// The commit message that will be used on the resulting commit.
	Message *string `json:"message,omitempty"`
	// Whether the source branch should be deleted. If this is not provided, we fallback to the value used when the pull request was created, which defaults to False
	CloseSourceBranch *bool `json:"close_source_branch,omitempty"`
	// The merge strategy that will be used to merge the pull request.
	MergeStrategy        *string `json:"merge_strategy,omitempty"`
	AdditionalProperties map[string]interface{}
}

PullrequestMergeParameters The metadata that describes a pull request merge.

func NewPullrequestMergeParameters ¶

func NewPullrequestMergeParameters() *PullrequestMergeParameters

NewPullrequestMergeParameters instantiates a new PullrequestMergeParameters object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPullrequestMergeParametersWithDefaults ¶

func NewPullrequestMergeParametersWithDefaults() *PullrequestMergeParameters

NewPullrequestMergeParametersWithDefaults instantiates a new PullrequestMergeParameters object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PullrequestMergeParameters) GetCloseSourceBranch ¶

func (o *PullrequestMergeParameters) GetCloseSourceBranch() bool

GetCloseSourceBranch returns the CloseSourceBranch field value if set, zero value otherwise.

func (*PullrequestMergeParameters) GetCloseSourceBranchOk ¶

func (o *PullrequestMergeParameters) GetCloseSourceBranchOk() (*bool, bool)

GetCloseSourceBranchOk returns a tuple with the CloseSourceBranch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullrequestMergeParameters) GetMergeStrategy ¶

func (o *PullrequestMergeParameters) GetMergeStrategy() string

GetMergeStrategy returns the MergeStrategy field value if set, zero value otherwise.

func (*PullrequestMergeParameters) GetMergeStrategyOk ¶

func (o *PullrequestMergeParameters) GetMergeStrategyOk() (*string, bool)

GetMergeStrategyOk returns a tuple with the MergeStrategy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullrequestMergeParameters) GetMessage ¶

func (o *PullrequestMergeParameters) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*PullrequestMergeParameters) GetMessageOk ¶

func (o *PullrequestMergeParameters) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PullrequestMergeParameters) GetType ¶

func (o *PullrequestMergeParameters) GetType() string

GetType returns the Type field value

func (*PullrequestMergeParameters) GetTypeOk ¶

func (o *PullrequestMergeParameters) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*PullrequestMergeParameters) HasCloseSourceBranch ¶

func (o *PullrequestMergeParameters) HasCloseSourceBranch() bool

HasCloseSourceBranch returns a boolean if a field has been set.

func (*PullrequestMergeParameters) HasMergeStrategy ¶

func (o *PullrequestMergeParameters) HasMergeStrategy() bool

HasMergeStrategy returns a boolean if a field has been set.

func (*PullrequestMergeParameters) HasMessage ¶

func (o *PullrequestMergeParameters) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (PullrequestMergeParameters) MarshalJSON ¶

func (o PullrequestMergeParameters) MarshalJSON() ([]byte, error)

func (*PullrequestMergeParameters) SetCloseSourceBranch ¶

func (o *PullrequestMergeParameters) SetCloseSourceBranch(v bool)

SetCloseSourceBranch gets a reference to the given bool and assigns it to the CloseSourceBranch field.

func (*PullrequestMergeParameters) SetMergeStrategy ¶

func (o *PullrequestMergeParameters) SetMergeStrategy(v string)

SetMergeStrategy gets a reference to the given string and assigns it to the MergeStrategy field.

func (*PullrequestMergeParameters) SetMessage ¶

func (o *PullrequestMergeParameters) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*PullrequestMergeParameters) SetType ¶

func (o *PullrequestMergeParameters) SetType(v string)

SetType sets field value

func (*PullrequestMergeParameters) UnmarshalJSON ¶ added in v0.0.3

func (o *PullrequestMergeParameters) UnmarshalJSON(bytes []byte) (err error)

type PullrequestsApiGetPullrequestsForCommitRequest ¶

type PullrequestsApiGetPullrequestsForCommitRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiGetPullrequestsForCommitRequest) Execute ¶

func (PullrequestsApiGetPullrequestsForCommitRequest) Page ¶

Which page to retrieve

func (PullrequestsApiGetPullrequestsForCommitRequest) Pagelen ¶

How many pull requests to retrieve per page

type PullrequestsApiPullrequestsSelectedUserGetRequest ¶

type PullrequestsApiPullrequestsSelectedUserGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiPullrequestsSelectedUserGetRequest) Execute ¶

func (PullrequestsApiPullrequestsSelectedUserGetRequest) State ¶

Only return pull requests that are in this state. This parameter can be repeated.

type PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDeleteRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDeleteRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDeleteRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePutRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePutRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePutRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsActivityGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsActivityGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsActivityGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsGetRequest) Execute ¶

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsGetRequest) State ¶

Only return pull requests that are in this state. This parameter can be repeated.

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPostRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPostRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPostRequest) Body ¶

The new pull request. The request URL you POST to becomes the destination repository URL. For this reason, you must specify an explicit source repository in the request object if you want to pull from a different repository (fork). Since not all elements are required or even mutable, you only need to include the elements you want to initialize, such as the source branch and the title.

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPostRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDeleteRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDeleteRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDeleteRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePostRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePostRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePostRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDeleteRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDeleteRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDeleteRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPutRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPutRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPutRequest) Body ¶

The contents of the updated comment.

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPutRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPostRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPostRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPostRequest) Body ¶

The comment object.

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPostRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePostRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePostRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePostRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePostRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePostRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePostRequest) Async ¶

Default value is false. When set to true, runs merge asynchronously and immediately returns a 202 with polling link to the task-status API in the Location header. When set to false, runs merge and waits for it to complete, returning 200 when it succeeds. If the duration of the merge exceeds a timeout threshold, the API returns a 202 with polling link to the task-status API in the Location header.

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePostRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGetRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPutRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPutRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPutRequest) Body ¶

The pull request that is to be updated.

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPutRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDeleteRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDeleteRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDeleteRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPostRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPostRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPostRequest) Execute ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest ¶

type PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest struct {
	ApiService *PullrequestsApiService
	// contains filtered or unexported fields
}

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest) Execute ¶

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest) Sort ¶

Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). Defaults to &#x60;created_on&#x60;.

type PullrequestsApiService ¶

type PullrequestsApiService service

PullrequestsApiService PullrequestsApi service

func (*PullrequestsApiService) GetPullrequestsForCommit ¶

func (a *PullrequestsApiService) GetPullrequestsForCommit(ctx context.Context, workspace string, repoSlug string, commit string) PullrequestsApiGetPullrequestsForCommitRequest

GetPullrequestsForCommit List pull requests that contain a commit

Returns a paginated list of all pull requests as part of which this commit was reviewed. Pull Request Commit Links app must be installed first before using this API; installation automatically occurs when 'Go to pull request' is clicked from the web interface for a commit's details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces
@param repoSlug The repository; either the UUID in curly braces, or the slug
@param commit The SHA1 of the commit
@return PullrequestsApiGetPullrequestsForCommitRequest

func (*PullrequestsApiService) GetPullrequestsForCommitExecute ¶

Execute executes the request

@return PaginatedPullrequests

func (*PullrequestsApiService) PullrequestsSelectedUserGet ¶

func (a *PullrequestsApiService) PullrequestsSelectedUserGet(ctx context.Context, selectedUser string) PullrequestsApiPullrequestsSelectedUserGetRequest

PullrequestsSelectedUserGet List pull requests for a user

Returns all pull requests authored by the specified user.

By default only open pull requests are returned. This can be controlled using the `state` query parameter. To retrieve pull requests that are in one of multiple states, repeat the `state` parameter for each individual state.

This endpoint also supports filtering and sorting of the results. See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser This can either be the username of the pull request author, the author's UUID surrounded by curly-braces, for example: `{account UUID}`, or the author's Atlassian ID.
@return PullrequestsApiPullrequestsSelectedUserGetRequest

func (*PullrequestsApiService) PullrequestsSelectedUserGetExecute ¶

Execute executes the request

@return PaginatedPullrequests

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersGet(ctx context.Context, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersGetRequest

RepositoriesWorkspaceRepoSlugDefaultReviewersGet List default reviewers

Returns the repository's default reviewers.

These are the users that are automatically added as reviewers on every new pull request that is created.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersGetRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDelete ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDelete(ctx context.Context, repoSlug string, targetUsername string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDeleteRequest

RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDelete Remove a user from the default reviewers

Removes a default reviewer from the repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param targetUsername This can either be the username or the UUID of the default reviewer, surrounded by curly-braces, for example: `{account UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDeleteRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDeleteExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDeleteExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDeleteRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGet(ctx context.Context, repoSlug string, targetUsername string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGetRequest

RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGet Get a default reviewer

Returns the specified reviewer.

This can be used to test whether a user is among the repository's default reviewers list. A 404 indicates that that specified user is not a default reviewer.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param targetUsername This can either be the username or the UUID of the default reviewer, surrounded by curly-braces, for example: `{account UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGetRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePut ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePut(ctx context.Context, repoSlug string, targetUsername string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePutRequest

RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePut Add a user to the default reviewers

Adds the specified user to the repository's list of default reviewers.

This method is idempotent. Adding a user a second time has no effect.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param targetUsername This can either be the username or the UUID of the default reviewer, surrounded by curly-braces, for example: `{account UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePutRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePutExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePutExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePutRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsActivityGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsActivityGet(ctx context.Context, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsActivityGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsActivityGet List a pull request activity log

Returns a paginated list of the pull request's activity log.

This handler serves both a v20 and internal endpoint. The v20 endpoint returns reviewer comments, updates, approvals and request changes. The internal endpoint includes those plus tasks and attachments.

Comments created on a file or a line of code have an inline property.

Comment example: ```

{
    "pagelen": 20,
    "values": [
        {
            "comment": {
                "links": {
                    "self": {
                        "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695/comments/118571088"
                    },
                    "html": {
                        "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695/_/diff#comment-118571088"
                    }
                },
                "deleted": false,
                "pullrequest": {
                    "type": "pullrequest",
                    "id": 5695,
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695"
                        },
                        "html": {
                            "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695"
                        }
                    },
                    "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it"
                },
                "content": {
                    "raw": "inline with to a dn from lines",
                    "markup": "markdown",
                    "html": "<p>inline with to a dn from lines</p>",
                    "type": "rendered"
                },
                "created_on": "2019-09-27T00:33:46.039178+00:00",
                "user": {
                    "display_name": "Name Lastname",
                    "uuid": "{}",
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/users/%7B%7D"
                        },
                        "html": {
                            "href": "https://bitbucket.org/%7B%7D/"
                        },
                        "avatar": {
                            "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128"
                        }
                    },
                    "type": "user",
                    "nickname": "Name",
                    "account_id": ""
                },
                "created_on": "2019-09-27T00:33:46.039178+00:00",
                "user": {
                    "display_name": "Name Lastname",
                    "uuid": "{}",
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/users/%7B%7D"
                        },
                        "html": {
                            "href": "https://bitbucket.org/%7B%7D/"
                        },
                        "avatar": {
                            "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128"
                        }
                    },
                    "type": "user",
                    "nickname": "Name",
                    "account_id": ""
                },
                "updated_on": "2019-09-27T00:33:46.055384+00:00",
                "inline": {
                    "context_lines": "",
                    "to": null,
                    "path": "",
                    "outdated": false,
                    "from": 211
                },
                "type": "pullrequest_comment",
                "id": 118571088
            },
            "pull_request": {
                "type": "pullrequest",
                "id": 5695,
                "links": {
                    "self": {
                        "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695"
                    },
                    "html": {
                        "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695"
                    }
                },
                "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it"
            }
        }
    ]
}

```

Updates include a state property of OPEN, MERGED, or DECLINED.

Update example: ```

{
    "pagelen": 20,
    "values": [
        {
            "update": {
                "description": "",
                "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it",
                "destination": {
                    "commit": {
                        "type": "commit",
                        "hash": "6a2c16e4a152",
                        "links": {
                            "self": {
                                "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/commit/6a2c16e4a152"
                            },
                            "html": {
                                "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a2c16e4a152"
                            }
                        }
                    },
                    "branch": {
                        "name": "master"
                    },
                    "repository": {
                        "name": "Atlaskit-MK-2",
                        "type": "repository",
                        "full_name": "atlassian/atlaskit-mk-2",
                        "links": {
                            "self": {
                                "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2"
                            },
                            "html": {
                                "href": "https://bitbucket.org/atlassian/atlaskit-mk-2"
                            },
                            "avatar": {
                                "href": "https://bytebucket.org/ravatar/%7B%7D?ts=js"
                            }
                        },
                        "uuid": "{}"
                    }
                },
                "reason": "",
                "source": {
                    "commit": {
                        "type": "commit",
                        "hash": "728c8bad1813",
                        "links": {
                            "self": {
                                "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/commit/728c8bad1813"
                            },
                            "html": {
                                "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/commits/728c8bad1813"
                            }
                        }
                    },
                    "branch": {
                        "name": "username/NONE-add-onClick-prop-for-accessibility"
                    },
                    "repository": {
                        "name": "Atlaskit-MK-2",
                        "type": "repository",
                        "full_name": "atlassian/atlaskit-mk-2",
                        "links": {
                            "self": {
                                "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2"
                            },
                            "html": {
                                "href": "https://bitbucket.org/atlassian/atlaskit-mk-2"
                            },
                            "avatar": {
                                "href": "https://bytebucket.org/ravatar/%7B%7D?ts=js"
                            }
                        },
                        "uuid": "{}"
                    }
                },
                "state": "OPEN",
                "author": {
                    "display_name": "Name Lastname",
                    "uuid": "{}",
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/users/%7B%7D"
                        },
                        "html": {
                            "href": "https://bitbucket.org/%7B%7D/"
                        },
                        "avatar": {
                            "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128"
                        }
                    },
                    "type": "user",
                    "nickname": "Name",
                    "account_id": ""
                },
                "date": "2019-05-10T06:48:25.305565+00:00"
            },
            "pull_request": {
                "type": "pullrequest",
                "id": 5695,
                "links": {
                    "self": {
                        "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695"
                    },
                    "html": {
                        "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695"
                    }
                },
                "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it"
            }
        }
    ]
}

```

Approval example: ```

{
    "pagelen": 20,
    "values": [
        {
            "approval": {
                "date": "2019-09-27T00:37:19.849534+00:00",
                "pullrequest": {
                    "type": "pullrequest",
                    "id": 5695,
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695"
                        },
                        "html": {
                            "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695"
                        }
                    },
                    "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it"
                },
                "user": {
                    "display_name": "Name Lastname",
                    "uuid": "{}",
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/users/%7B%7D"
                        },
                        "html": {
                            "href": "https://bitbucket.org/%7B%7D/"
                        },
                        "avatar": {
                            "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128"
                        }
                    },
                    "type": "user",
                    "nickname": "Name",
                    "account_id": ""
                }
            },
            "pull_request": {
                "type": "pullrequest",
                "id": 5695,
                "links": {
                    "self": {
                        "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695"
                    },
                    "html": {
                        "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695"
                    }
                },
                "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it"
            }
        }
    ]
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsActivityGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsActivityGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsActivityGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsActivityGetRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsGet(ctx context.Context, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsGet List pull requests

Returns all pull requests on the specified repository.

By default only open pull requests are returned. This can be controlled using the `state` query parameter. To retrieve pull requests that are in one of multiple states, repeat the `state` parameter for each individual state.

This endpoint also supports filtering and sorting of the results. See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsGetExecute ¶

Execute executes the request

@return PaginatedPullrequests

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPost ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPost(ctx context.Context, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPostRequest

RepositoriesWorkspaceRepoSlugPullrequestsPost Create a pull request

Creates a new pull request where the destination repository is this repository and the author is the authenticated user.

The minimum required fields to create a pull request are `title` and `source`, specified by a branch name.

```

curl https://api.bitbucket.org/2.0/repositories/my-workspace/my-repository/pullrequests \
    -u my-username:my-password \
    --request POST \
    --header 'Content-Type: application/json' \
    --data '{
        "title": "My Title",
        "source": {
            "branch": {
                "name": "staging"
            }
        }
    }'

```

If the pull request's `destination` is not specified, it will default to the `repository.mainbranch`. To open a pull request to a different branch, say from a feature branch to a staging branch, specify a `destination` (same format as the `source`):

```

{
    "title": "My Title",
    "source": {
        "branch": {
            "name": "my-feature-branch"
        }
    },
    "destination": {
        "branch": {
            "name": "staging"
        }
    }
}

```

Reviewers can be specified by adding an array of user objects as the `reviewers` property.

```

{
    "title": "My Title",
    "source": {
        "branch": {
            "name": "my-feature-branch"
        }
    },
    "reviewers": [
        {
            "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}"
        }
    ]
}

```

Other fields:

* `description` - a string * `close_source_branch` - boolean that specifies if the source branch should be closed upon merging

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPostRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPostExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPostExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPostRequest) (*Pullrequest, *http.Response, error)

Execute executes the request

@return Pullrequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGet(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGet List a pull request activity log

Returns a paginated list of the pull request's activity log.

This handler serves both a v20 and internal endpoint. The v20 endpoint returns reviewer comments, updates, approvals and request changes. The internal endpoint includes those plus tasks and attachments.

Comments created on a file or a line of code have an inline property.

Comment example: ```

{
    "pagelen": 20,
    "values": [
        {
            "comment": {
                "links": {
                    "self": {
                        "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695/comments/118571088"
                    },
                    "html": {
                        "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695/_/diff#comment-118571088"
                    }
                },
                "deleted": false,
                "pullrequest": {
                    "type": "pullrequest",
                    "id": 5695,
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695"
                        },
                        "html": {
                            "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695"
                        }
                    },
                    "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it"
                },
                "content": {
                    "raw": "inline with to a dn from lines",
                    "markup": "markdown",
                    "html": "<p>inline with to a dn from lines</p>",
                    "type": "rendered"
                },
                "created_on": "2019-09-27T00:33:46.039178+00:00",
                "user": {
                    "display_name": "Name Lastname",
                    "uuid": "{}",
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/users/%7B%7D"
                        },
                        "html": {
                            "href": "https://bitbucket.org/%7B%7D/"
                        },
                        "avatar": {
                            "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128"
                        }
                    },
                    "type": "user",
                    "nickname": "Name",
                    "account_id": ""
                },
                "created_on": "2019-09-27T00:33:46.039178+00:00",
                "user": {
                    "display_name": "Name Lastname",
                    "uuid": "{}",
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/users/%7B%7D"
                        },
                        "html": {
                            "href": "https://bitbucket.org/%7B%7D/"
                        },
                        "avatar": {
                            "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128"
                        }
                    },
                    "type": "user",
                    "nickname": "Name",
                    "account_id": ""
                },
                "updated_on": "2019-09-27T00:33:46.055384+00:00",
                "inline": {
                    "context_lines": "",
                    "to": null,
                    "path": "",
                    "outdated": false,
                    "from": 211
                },
                "type": "pullrequest_comment",
                "id": 118571088
            },
            "pull_request": {
                "type": "pullrequest",
                "id": 5695,
                "links": {
                    "self": {
                        "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695"
                    },
                    "html": {
                        "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695"
                    }
                },
                "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it"
            }
        }
    ]
}

```

Updates include a state property of OPEN, MERGED, or DECLINED.

Update example: ```

{
    "pagelen": 20,
    "values": [
        {
            "update": {
                "description": "",
                "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it",
                "destination": {
                    "commit": {
                        "type": "commit",
                        "hash": "6a2c16e4a152",
                        "links": {
                            "self": {
                                "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/commit/6a2c16e4a152"
                            },
                            "html": {
                                "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a2c16e4a152"
                            }
                        }
                    },
                    "branch": {
                        "name": "master"
                    },
                    "repository": {
                        "name": "Atlaskit-MK-2",
                        "type": "repository",
                        "full_name": "atlassian/atlaskit-mk-2",
                        "links": {
                            "self": {
                                "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2"
                            },
                            "html": {
                                "href": "https://bitbucket.org/atlassian/atlaskit-mk-2"
                            },
                            "avatar": {
                                "href": "https://bytebucket.org/ravatar/%7B%7D?ts=js"
                            }
                        },
                        "uuid": "{}"
                    }
                },
                "reason": "",
                "source": {
                    "commit": {
                        "type": "commit",
                        "hash": "728c8bad1813",
                        "links": {
                            "self": {
                                "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/commit/728c8bad1813"
                            },
                            "html": {
                                "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/commits/728c8bad1813"
                            }
                        }
                    },
                    "branch": {
                        "name": "username/NONE-add-onClick-prop-for-accessibility"
                    },
                    "repository": {
                        "name": "Atlaskit-MK-2",
                        "type": "repository",
                        "full_name": "atlassian/atlaskit-mk-2",
                        "links": {
                            "self": {
                                "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2"
                            },
                            "html": {
                                "href": "https://bitbucket.org/atlassian/atlaskit-mk-2"
                            },
                            "avatar": {
                                "href": "https://bytebucket.org/ravatar/%7B%7D?ts=js"
                            }
                        },
                        "uuid": "{}"
                    }
                },
                "state": "OPEN",
                "author": {
                    "display_name": "Name Lastname",
                    "uuid": "{}",
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/users/%7B%7D"
                        },
                        "html": {
                            "href": "https://bitbucket.org/%7B%7D/"
                        },
                        "avatar": {
                            "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128"
                        }
                    },
                    "type": "user",
                    "nickname": "Name",
                    "account_id": ""
                },
                "date": "2019-05-10T06:48:25.305565+00:00"
            },
            "pull_request": {
                "type": "pullrequest",
                "id": 5695,
                "links": {
                    "self": {
                        "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695"
                    },
                    "html": {
                        "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695"
                    }
                },
                "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it"
            }
        }
    ]
}

```

Approval example: ```

{
    "pagelen": 20,
    "values": [
        {
            "approval": {
                "date": "2019-09-27T00:37:19.849534+00:00",
                "pullrequest": {
                    "type": "pullrequest",
                    "id": 5695,
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695"
                        },
                        "html": {
                            "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695"
                        }
                    },
                    "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it"
                },
                "user": {
                    "display_name": "Name Lastname",
                    "uuid": "{}",
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/!api/2.0/users/%7B%7D"
                        },
                        "html": {
                            "href": "https://bitbucket.org/%7B%7D/"
                        },
                        "avatar": {
                            "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/:/128"
                        }
                    },
                    "type": "user",
                    "nickname": "Name",
                    "account_id": ""
                }
            },
            "pull_request": {
                "type": "pullrequest",
                "id": 5695,
                "links": {
                    "self": {
                        "href": "https://bitbucket.org/!api/2.0/repositories/atlassian/atlaskit-mk-2/pullrequests/5695"
                    },
                    "html": {
                        "href": "https://bitbucket.org/atlassian/atlaskit-mk-2/pull-requests/5695"
                    }
                },
                "title": "username/NONE: small change from onFocus to onClick to handle tabbing through the page and not expand the editor unless a click event triggers it"
            }
        }
    ]
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGetRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDelete ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDelete(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDeleteRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDelete Unapprove a pull request

Redact the authenticated user's approval of the specified pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDeleteRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDeleteExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDeleteExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDeleteRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePost ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePost(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePostRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePost Approve a pull request

Approve the specified pull request as the authenticated user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePostRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePostExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePostExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePostRequest) (*Participant, *http.Response, error)

Execute executes the request

@return Participant

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDelete ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDelete(ctx context.Context, commentId int32, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDeleteRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDelete Delete a comment on a pull request

Deletes a specific pull request comment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commentId The id of the comment.
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDeleteRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDeleteExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDeleteExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGet(ctx context.Context, commentId int32, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGet Get a comment on a pull request

Returns a specific pull request comment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commentId The id of the comment.
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGetRequest) (*PullrequestComment, *http.Response, error)

Execute executes the request

@return PullrequestComment

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPut ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPut(ctx context.Context, commentId int32, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPutRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPut Update a comment on a pull request

Updates a specific pull request comment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commentId The id of the comment.
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPutRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPutExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPutExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPutRequest) (*PullrequestComment, *http.Response, error)

Execute executes the request

@return PullrequestComment

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGet(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGet List comments on a pull request

Returns a paginated list of the pull request's comments.

This includes both global, inline comments and replies.

The default sorting is oldest to newest and can be overridden with the `sort` query parameter.

This endpoint also supports filtering and sorting of the results. See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGetExecute ¶

Execute executes the request

@return PaginatedPullrequestComments

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPost ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPost(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPostRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPost Create a comment on a pull request

Creates a new pull request comment.

Returns the newly created pull request comment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPostRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPostExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPostExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPostRequest) (*PullrequestComment, *http.Response, error)

Execute executes the request

@return PullrequestComment

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGet(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGet List commits on a pull request

Returns a paginated list of the pull request's commits.

These are the commits that are being merged into the destination branch when the pull requests gets accepted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGetRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePost ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePost(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePostRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePost Decline a pull request

Declines the pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePostRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePostExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePostExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePostRequest) (*Pullrequest, *http.Response, error)

Execute executes the request

@return Pullrequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGet(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGet List changes in a pull request

Redirects to the [repository diff](/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-diff-spec-get) with the revspec that corresponds to the pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGetRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGet(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGet Get the diff stat for a pull request

Redirects to the [repository diffstat](/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-diffstat-spec-get) with the revspec that corresponds to the pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGetRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGet(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGet Get a pull request

Returns the specified pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGetRequest) (*Pullrequest, *http.Response, error)

Execute executes the request

@return Pullrequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePost ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePost(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePostRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePost Merge a pull request

Merges the pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePostRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePostExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePostExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePostRequest) (*Pullrequest, *http.Response, error)

Execute executes the request

@return Pullrequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGet(ctx context.Context, pullRequestId int32, repoSlug string, taskId string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGet Get the merge task status for a pull request

When merging a pull request takes too long, the client receives a task ID along with a 202 status code. The task ID can be used in a call to this endpoint to check the status of a merge task.

``` curl -X GET https://api.bitbucket.org/2.0/repositories/atlassian/bitbucket/pullrequests/2286/merge/task-status/<task_id> ```

If the merge task is not yet finished, a PENDING status will be returned.

``` HTTP/2 200

{
    "task_status": "PENDING",
    "links": {
        "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bitbucket/pullrequests/2286/merge/task-status/<task_id>"
        }
    }
}

```

If the merge was successful, a SUCCESS status will be returned.

``` HTTP/2 200

{
    "task_status": "SUCCESS",
    "links": {
        "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bitbucket/pullrequests/2286/merge/task-status/<task_id>"
        }
    },
    "merge_result": <the merged pull request object>
}

```

If the merge task failed, an error will be returned.

```

{
    "type": "error",
    "error": {
        "message": "<error message>"
    }
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param taskId ID of the merge task
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGetRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGet(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGet Get the patch for a pull request

Redirects to the [repository patch](/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-patch-spec-get) with the revspec that corresponds to pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGetExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGetExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGetRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPut ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPut(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPutRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPut Update a pull request

Mutates the specified pull request.

This can be used to change the pull request's branches or description.

Only open pull requests can be mutated.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPutRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPutExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPutExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPutRequest) (*Pullrequest, *http.Response, error)

Execute executes the request

@return Pullrequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDelete ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDelete(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDeleteRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDelete Remove change request for a pull request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDeleteRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDeleteExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDeleteExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDeleteRequest) (*http.Response, error)

Execute executes the request

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPost ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPost(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPostRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPost Request changes for a pull request

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPostRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPostExecute ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPostExecute(r PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPostRequest) (*Participant, *http.Response, error)

Execute executes the request

@return Participant

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGet ¶

func (a *PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGet(ctx context.Context, pullRequestId int32, repoSlug string, workspace string) PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest

RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGet List commit statuses for a pull request

Returns all statuses (e.g. build results) for the given pull request.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param pullRequestId The id of the pull request.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return PullrequestsApiRepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetRequest

func (*PullrequestsApiService) RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGetExecute ¶

Execute executes the request

@return PaginatedCommitstatuses

type Ref ¶

type Ref struct {
	Type  string    `json:"type"`
	Links *RefLinks `json:"links,omitempty"`
	// The name of the ref.
	Name                 *string `json:"name,omitempty"`
	Target               *Commit `json:"target,omitempty"`
	AdditionalProperties map[string]interface{}
}

Ref A ref object, representing a branch or tag in a repository.

func NewRef ¶

func NewRef() *Ref

NewRef instantiates a new Ref object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRefWithDefaults ¶

func NewRefWithDefaults() *Ref

NewRefWithDefaults instantiates a new Ref object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *Ref) GetLinks() RefLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Ref) GetLinksOk ¶

func (o *Ref) GetLinksOk() (*RefLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Ref) GetName ¶

func (o *Ref) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Ref) GetNameOk ¶

func (o *Ref) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Ref) GetTarget ¶

func (o *Ref) GetTarget() Commit

GetTarget returns the Target field value if set, zero value otherwise.

func (*Ref) GetTargetOk ¶

func (o *Ref) GetTargetOk() (*Commit, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Ref) GetType ¶

func (o *Ref) GetType() string

GetType returns the Type field value

func (*Ref) GetTypeOk ¶

func (o *Ref) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (o *Ref) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Ref) HasName ¶

func (o *Ref) HasName() bool

HasName returns a boolean if a field has been set.

func (*Ref) HasTarget ¶

func (o *Ref) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (Ref) MarshalJSON ¶

func (o Ref) MarshalJSON() ([]byte, error)
func (o *Ref) SetLinks(v RefLinks)

SetLinks gets a reference to the given RefLinks and assigns it to the Links field.

func (*Ref) SetName ¶

func (o *Ref) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Ref) SetTarget ¶

func (o *Ref) SetTarget(v Commit)

SetTarget gets a reference to the given Commit and assigns it to the Target field.

func (*Ref) SetType ¶

func (o *Ref) SetType(v string)

SetType sets field value

func (*Ref) UnmarshalJSON ¶ added in v0.0.3

func (o *Ref) UnmarshalJSON(bytes []byte) (err error)
type RefLinks struct {
	Self                 *Link `json:"self,omitempty"`
	Commits              *Link `json:"commits,omitempty"`
	Html                 *Link `json:"html,omitempty"`
	AdditionalProperties map[string]interface{}
}

RefLinks struct for RefLinks

func NewRefLinks() *RefLinks

NewRefLinks instantiates a new RefLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRefLinksWithDefaults ¶

func NewRefLinksWithDefaults() *RefLinks

NewRefLinksWithDefaults instantiates a new RefLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RefLinks) GetCommits ¶

func (o *RefLinks) GetCommits() Link

GetCommits returns the Commits field value if set, zero value otherwise.

func (*RefLinks) GetCommitsOk ¶

func (o *RefLinks) GetCommitsOk() (*Link, bool)

GetCommitsOk returns a tuple with the Commits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RefLinks) GetHtml ¶

func (o *RefLinks) GetHtml() Link

GetHtml returns the Html field value if set, zero value otherwise.

func (*RefLinks) GetHtmlOk ¶

func (o *RefLinks) GetHtmlOk() (*Link, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RefLinks) GetSelf ¶

func (o *RefLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*RefLinks) GetSelfOk ¶

func (o *RefLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RefLinks) HasCommits ¶

func (o *RefLinks) HasCommits() bool

HasCommits returns a boolean if a field has been set.

func (*RefLinks) HasHtml ¶

func (o *RefLinks) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (*RefLinks) HasSelf ¶

func (o *RefLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (RefLinks) MarshalJSON ¶

func (o RefLinks) MarshalJSON() ([]byte, error)

func (*RefLinks) SetCommits ¶

func (o *RefLinks) SetCommits(v Link)

SetCommits gets a reference to the given Link and assigns it to the Commits field.

func (*RefLinks) SetHtml ¶

func (o *RefLinks) SetHtml(v Link)

SetHtml gets a reference to the given Link and assigns it to the Html field.

func (*RefLinks) SetSelf ¶

func (o *RefLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*RefLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *RefLinks) UnmarshalJSON(bytes []byte) (err error)

type RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesGetRequest ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesGetRequest struct {
	ApiService *RefsApiService
	// contains filtered or unexported fields
}

func (RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesGetRequest) Execute ¶

func (RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesGetRequest) Sort ¶

Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). The &#x60;name&#x60; field is handled specially for branches in that, if specified as the sort field, it uses a natural sort order instead of the default lexicographical sort order. For example, it will return [&#39;branch1&#39;, &#39;branch2&#39;, &#39;branch10&#39;] instead of [&#39;branch1&#39;, &#39;branch10&#39;, &#39;branch2&#39;].

type RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameDeleteRequest ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameDeleteRequest struct {
	ApiService *RefsApiService
	// contains filtered or unexported fields
}

func (RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameDeleteRequest) Execute ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameGetRequest ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameGetRequest struct {
	ApiService *RefsApiService
	// contains filtered or unexported fields
}

func (RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameGetRequest) Execute ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesPostRequest ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesPostRequest struct {
	ApiService *RefsApiService
	// contains filtered or unexported fields
}

func (RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesPostRequest) Execute ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsGetRequest ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsGetRequest struct {
	ApiService *RefsApiService
	// contains filtered or unexported fields
}

func (RefsApiRepositoriesWorkspaceRepoSlugRefsGetRequest) Execute ¶

func (RefsApiRepositoriesWorkspaceRepoSlugRefsGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (RefsApiRepositoriesWorkspaceRepoSlugRefsGetRequest) Sort ¶

Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). The &#x60;name&#x60; field is handled specially for refs in that, if specified as the sort field, it uses a natural sort order instead of the default lexicographical sort order. For example, it will return [&#39;1.1&#39;, &#39;1.2&#39;, &#39;1.10&#39;] instead of [&#39;1.1&#39;, &#39;1.10&#39;, &#39;1.2&#39;].

type RefsApiRepositoriesWorkspaceRepoSlugRefsTagsGetRequest ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsTagsGetRequest struct {
	ApiService *RefsApiService
	// contains filtered or unexported fields
}

func (RefsApiRepositoriesWorkspaceRepoSlugRefsTagsGetRequest) Execute ¶

func (RefsApiRepositoriesWorkspaceRepoSlugRefsTagsGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (RefsApiRepositoriesWorkspaceRepoSlugRefsTagsGetRequest) Sort ¶

Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). The &#x60;name&#x60; field is handled specially for tags in that, if specified as the sort field, it uses a natural sort order instead of the default lexicographical sort order. For example, it will return [&#39;1.1&#39;, &#39;1.2&#39;, &#39;1.10&#39;] instead of [&#39;1.1&#39;, &#39;1.10&#39;, &#39;1.2&#39;].

type RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameDeleteRequest ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameDeleteRequest struct {
	ApiService *RefsApiService
	// contains filtered or unexported fields
}

func (RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameDeleteRequest) Execute ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameGetRequest ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameGetRequest struct {
	ApiService *RefsApiService
	// contains filtered or unexported fields
}

func (RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameGetRequest) Execute ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsTagsPostRequest ¶

type RefsApiRepositoriesWorkspaceRepoSlugRefsTagsPostRequest struct {
	ApiService *RefsApiService
	// contains filtered or unexported fields
}

func (RefsApiRepositoriesWorkspaceRepoSlugRefsTagsPostRequest) Body ¶

func (RefsApiRepositoriesWorkspaceRepoSlugRefsTagsPostRequest) Execute ¶

type RefsApiService ¶

type RefsApiService service

RefsApiService RefsApi service

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesGet ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesGet(ctx context.Context, repoSlug string, workspace string) RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesGetRequest

RepositoriesWorkspaceRepoSlugRefsBranchesGet List open branches

Returns a list of all open branches within the specified repository.

Results will be in the order the source control manager returns them.

```
$ curl -s https://api.bitbucket.org/2.0/repositories/atlassian/aui/refs/branches?pagelen=1 | jq .
{
  "pagelen": 1,
  "size": 187,
  "values": [
    {
      "name": "issue-9.3/AUI-5343-assistive-class",
      "links": {
        "commits": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commits/issue-9.3/AUI-5343-assistive-class"
        },
        "self": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/refs/branches/issue-9.3/AUI-5343-assistive-class"
        },
        "html": {
          "href": "https://bitbucket.org/atlassian/aui/branch/issue-9.3/AUI-5343-assistive-class"
        }
      },
      "default_merge_strategy": "squash",
      "merge_strategies": [
        "merge_commit",
        "squash",
        "fast_forward"
      ],
      "type": "branch",
      "target": {
        "hash": "e5d1cde9069fcb9f0af90403a4de2150c125a148",
        "repository": {
          "links": {
            "self": {
              "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui"
            },
            "html": {
              "href": "https://bitbucket.org/atlassian/aui"
            },
            "avatar": {
              "href": "https://bytebucket.org/ravatar/%7B585074de-7b60-4fd1-81ed-e0bc7fafbda5%7D?ts=86317"
            }
          },
          "type": "repository",
          "name": "aui",
          "full_name": "atlassian/aui",
          "uuid": "{585074de-7b60-4fd1-81ed-e0bc7fafbda5}"
        },
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e5d1cde9069fcb9f0af90403a4de2150c125a148"
          },
          "comments": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e5d1cde9069fcb9f0af90403a4de2150c125a148/comments"
          },
          "patch": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/patch/e5d1cde9069fcb9f0af90403a4de2150c125a148"
          },
          "html": {
            "href": "https://bitbucket.org/atlassian/aui/commits/e5d1cde9069fcb9f0af90403a4de2150c125a148"
          },
          "diff": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/diff/e5d1cde9069fcb9f0af90403a4de2150c125a148"
          },
          "approve": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e5d1cde9069fcb9f0af90403a4de2150c125a148/approve"
          },
          "statuses": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e5d1cde9069fcb9f0af90403a4de2150c125a148/statuses"
          }
        },
        "author": {
          "raw": "Marcin Konopka <mkonopka@atlassian.com>",
          "type": "author",
          "user": {
            "display_name": "Marcin Konopka",
            "uuid": "{47cc24f4-2a05-4420-88fe-0417535a110a}",
            "links": {
              "self": {
                "href": "https://api.bitbucket.org/2.0/users/%7B47cc24f4-2a05-4420-88fe-0417535a110a%7D"
              },
              "html": {
                "href": "https://bitbucket.org/%7B47cc24f4-2a05-4420-88fe-0417535a110a%7D/"
              },
              "avatar": {
                "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/MK-1.png"
              }
            },
            "nickname": "Marcin Konopka",
            "type": "user",
            "account_id": "60113d2b47a9540069f4de03"
          }
        },
        "parents": [
          {
            "hash": "87f7fc92b00464ae47b13ef65c91884e4ac9be51",
            "type": "commit",
            "links": {
              "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/87f7fc92b00464ae47b13ef65c91884e4ac9be51"
              },
              "html": {
                "href": "https://bitbucket.org/atlassian/aui/commits/87f7fc92b00464ae47b13ef65c91884e4ac9be51"
              }
            }
          }
        ],
        "date": "2021-04-13T13:44:49+00:00",
        "message": "wip

",

               "type": "commit"
             }
           }
         ],
         "page": 1,
         "next": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/refs/branches?pagelen=1&page=2"
       }
       ```

       Branches support [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)
       that can be used to search for specific branches. For instance, to find
       all branches that have "stab" in their name:

       ```
       curl -s https://api.bitbucket.org/2.0/repositories/atlassian/aui/refs/branches -G --data-urlencode 'q=name ~ "stab"'
       ```

       By default, results will be in the order the underlying source control system returns them and identical to
       the ordering one sees when running "$ git branch --list". Note that this follows simple
       lexical ordering of the ref names.

       This can be undesirable as it does apply any natural sorting semantics, meaning for instance that tags are
       sorted ["v10", "v11", "v9"] instead of ["v9", "v10", "v11"].

       Sorting can be changed using the ?q= query parameter. When using ?q=name to explicitly sort on ref name,
       Bitbucket will apply natural sorting and interpret numerical values as numbers instead of strings.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesGetRequest

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesGetExecute ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesGetExecute(r RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesGetRequest) (*PaginatedBranches, *http.Response, error)

Execute executes the request

@return PaginatedBranches

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesNameDelete ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesNameDelete(ctx context.Context, name string, repoSlug string, workspace string) RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameDeleteRequest

RepositoriesWorkspaceRepoSlugRefsBranchesNameDelete Delete a branch

Delete a branch in the specified repository.

The main branch is not allowed to be deleted and will return a 400 response.

The branch name should not include any prefixes (e.g. refs/heads).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name The name of the branch.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameDeleteRequest

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesNameDeleteExecute ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesNameDeleteExecute(r RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameDeleteRequest) (*http.Response, error)

Execute executes the request

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesNameGet ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesNameGet(ctx context.Context, name string, repoSlug string, workspace string) RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameGetRequest

RepositoriesWorkspaceRepoSlugRefsBranchesNameGet Get a branch

Returns a branch object within the specified repository.

```
$ curl -s https://api.bitbucket.org/2.0/repositories/atlassian/aui/refs/branches/master | jq .
{
  "name": "master",
  "links": {
    "commits": {
      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commits/master"
    },
    "self": {
      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/refs/branches/master"
    },
    "html": {
      "href": "https://bitbucket.org/atlassian/aui/branch/master"
    }
  },
  "default_merge_strategy": "squash",
  "merge_strategies": [
    "merge_commit",
    "squash",
    "fast_forward"
  ],
  "type": "branch",
  "target": {
    "hash": "e7d158ff7ed5538c28f94cd97a9ad569680fc94e",
    "repository": {
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui"
        },
        "html": {
          "href": "https://bitbucket.org/atlassian/aui"
        },
        "avatar": {
          "href": "https://bytebucket.org/ravatar/%7B585074de-7b60-4fd1-81ed-e0bc7fafbda5%7D?ts=86317"
        }
      },
      "type": "repository",
      "name": "aui",
      "full_name": "atlassian/aui",
      "uuid": "{585074de-7b60-4fd1-81ed-e0bc7fafbda5}"
    },
    "links": {
      "self": {
        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e7d158ff7ed5538c28f94cd97a9ad569680fc94e"
      },
      "comments": {
        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e7d158ff7ed5538c28f94cd97a9ad569680fc94e/comments"
      },
      "patch": {
        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/patch/e7d158ff7ed5538c28f94cd97a9ad569680fc94e"
      },
      "html": {
        "href": "https://bitbucket.org/atlassian/aui/commits/e7d158ff7ed5538c28f94cd97a9ad569680fc94e"
      },
      "diff": {
        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/diff/e7d158ff7ed5538c28f94cd97a9ad569680fc94e"
      },
      "approve": {
        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e7d158ff7ed5538c28f94cd97a9ad569680fc94e/approve"
      },
      "statuses": {
        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e7d158ff7ed5538c28f94cd97a9ad569680fc94e/statuses"
      }
    },
    "author": {
      "raw": "psre-renovate-bot <psre-renovate-bot@atlassian.com>",
      "type": "author",
      "user": {
        "display_name": "psre-renovate-bot",
        "uuid": "{250a442a-3ab3-4fcb-87c3-3c8f3df65ec7}",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/users/%7B250a442a-3ab3-4fcb-87c3-3c8f3df65ec7%7D"
          },
          "html": {
            "href": "https://bitbucket.org/%7B250a442a-3ab3-4fcb-87c3-3c8f3df65ec7%7D/"
          },
          "avatar": {
            "href": "https://secure.gravatar.com/avatar/6972ee037c9f36360170a86f544071a2?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FP-3.png"
          }
        },
        "nickname": "Renovate Bot",
        "type": "user",
        "account_id": "5d5355e8c6b9320d9ea5b28d"
      }
    },
    "parents": [
      {
        "hash": "eab868a309e75733de80969a7bed1ec6d4651e06",
        "type": "commit",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/eab868a309e75733de80969a7bed1ec6d4651e06"
          },
          "html": {
            "href": "https://bitbucket.org/atlassian/aui/commits/eab868a309e75733de80969a7bed1ec6d4651e06"
          }
        }
      }
    ],
    "date": "2021-04-12T06:44:38+00:00",
    "message": "Merged in issue/NONE-renovate-master-babel-monorepo (pull request #2883)

chore(deps): update babel monorepo to v7.13.15 (master)

Approved-by: Chris "Daz" Darroch ",

           "type": "commit"
         }
       }
       ```

       This call requires authentication. Private repositories require the
       caller to authenticate with an account that has appropriate
       authorization.

       For Git, the branch name should not include any prefixes (e.g.
       refs/heads).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name The name of the branch.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameGetRequest

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesNameGetExecute ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesNameGetExecute(r RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesNameGetRequest) (*Branch, *http.Response, error)

Execute executes the request

@return Branch

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesPost ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesPost(ctx context.Context, repoSlug string, workspace string) RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesPostRequest

RepositoriesWorkspaceRepoSlugRefsBranchesPost Create a branch

Creates a new branch in the specified repository.

The payload of the POST should consist of a JSON document that contains the name of the tag and the target hash.

``` curl https://api.bitbucket.org/2.0/repositories/seanfarley/hg/refs/branches \ -s -u seanfarley -X POST -H "Content-Type: application/json" \

-d '{
    "name" : "smf/create-feature",
    "target" : {
        "hash" : "default",
    }
}'

```

This call requires authentication. Private repositories require the caller to authenticate with an account that has appropriate authorization.

The branch name should not include any prefixes (e.g. refs/heads). This endpoint does support using short hash prefixes for the commit hash, but it may return a 400 response if the provided prefix is ambiguous. Using a full commit hash is the preferred approach.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesPostRequest

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesPostExecute ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsBranchesPostExecute(r RefsApiRepositoriesWorkspaceRepoSlugRefsBranchesPostRequest) (*Branch, *http.Response, error)

Execute executes the request

@return Branch

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsGet ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsGet(ctx context.Context, repoSlug string, workspace string) RefsApiRepositoriesWorkspaceRepoSlugRefsGetRequest

RepositoriesWorkspaceRepoSlugRefsGet List branches and tags

Returns the branches and tags in the repository.

By default, results will be in the order the underlying source control system returns them and identical to the ordering one sees when running "$ git show-ref". Note that this follows simple lexical ordering of the ref names.

This can be undesirable as it does apply any natural sorting semantics, meaning for instance that refs are sorted ["branch1", "branch10", "branch2", "v10", "v11", "v9"] instead of ["branch1", "branch2", "branch10", "v9", "v10", "v11"].

Sorting can be changed using the ?sort= query parameter. When using ?sort=name to explicitly sort on ref name, Bitbucket will apply natural sorting and interpret numerical values as numbers instead of strings.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RefsApiRepositoriesWorkspaceRepoSlugRefsGetRequest

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsGetExecute ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsGetExecute(r RefsApiRepositoriesWorkspaceRepoSlugRefsGetRequest) (*PaginatedRefs, *http.Response, error)

Execute executes the request

@return PaginatedRefs

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsGet ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsGet(ctx context.Context, repoSlug string, workspace string) RefsApiRepositoriesWorkspaceRepoSlugRefsTagsGetRequest

RepositoriesWorkspaceRepoSlugRefsTagsGet List tags

Returns the tags in the repository.

By default, results will be in the order the underlying source control system returns them and identical to the ordering one sees when running "$ git tag --list". Note that this follows simple lexical ordering of the ref names.

This can be undesirable as it does apply any natural sorting semantics, meaning for instance that tags are sorted ["v10", "v11", "v9"] instead of ["v9", "v10", "v11"].

Sorting can be changed using the ?sort= query parameter. When using ?sort=name to explicitly sort on ref name, Bitbucket will apply natural sorting and interpret numerical values as numbers instead of strings.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RefsApiRepositoriesWorkspaceRepoSlugRefsTagsGetRequest

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsGetExecute ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsGetExecute(r RefsApiRepositoriesWorkspaceRepoSlugRefsTagsGetRequest) (*PaginatedTags, *http.Response, error)

Execute executes the request

@return PaginatedTags

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsNameDelete ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsNameDelete(ctx context.Context, name string, repoSlug string, workspace string) RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameDeleteRequest

RepositoriesWorkspaceRepoSlugRefsTagsNameDelete Delete a tag

Delete a tag in the specified repository.

The tag name should not include any prefixes (e.g. refs/tags).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name The name of the tag.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameDeleteRequest

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsNameDeleteExecute ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsNameDeleteExecute(r RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameDeleteRequest) (*http.Response, error)

Execute executes the request

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsNameGet ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsNameGet(ctx context.Context, name string, repoSlug string, workspace string) RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameGetRequest

RepositoriesWorkspaceRepoSlugRefsTagsNameGet Get a tag

Returns the specified tag.

``` $ curl -s https://api.bitbucket.org/2.0/repositories/seanfarley/hg/refs/tags/3.8 -G | jq .

{
  "name": "3.8",
  "links": {
    "commits": {
      "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commits/3.8"
    },
    "self": {
      "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/refs/tags/3.8"
    },
    "html": {
      "href": "https://bitbucket.org/seanfarley/hg/commits/tag/3.8"
    }
  },
  "tagger": {
    "raw": "Matt Mackall <mpm@selenic.com>",
    "type": "author",
    "user": {
      "username": "mpmselenic",
      "nickname": "mpmselenic",
      "display_name": "Matt Mackall",
      "type": "user",
      "uuid": "{a4934530-db4c-419c-a478-9ab4964c2ee7}",
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/users/mpmselenic"
        },
        "html": {
          "href": "https://bitbucket.org/mpmselenic/"
        },
        "avatar": {
          "href": "https://bitbucket.org/account/mpmselenic/avatar/32/"
        }
      }
    }
  },
  "date": "2016-05-01T18:52:25+00:00",
  "message": "Added tag 3.8 for changeset f85de28eae32",
  "type": "tag",
  "target": {
    "hash": "f85de28eae32e7d3064b1a1321309071bbaaa069",
    "repository": {
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg"
        },
        "html": {
          "href": "https://bitbucket.org/seanfarley/hg"
        },
        "avatar": {
          "href": "https://bitbucket.org/seanfarley/hg/avatar/32/"
        }
      },
      "type": "repository",
      "name": "hg",
      "full_name": "seanfarley/hg",
      "uuid": "{c75687fb-e99d-4579-9087-190dbd406d30}"
    },
    "links": {
      "self": {
        "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commit/f85de28eae32e7d3064b1a1321309071bbaaa069"
      },
      "comments": {
        "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commit/f85de28eae32e7d3064b1a1321309071bbaaa069/comments"
      },
      "patch": {
        "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/patch/f85de28eae32e7d3064b1a1321309071bbaaa069"
      },
      "html": {
        "href": "https://bitbucket.org/seanfarley/hg/commits/f85de28eae32e7d3064b1a1321309071bbaaa069"
      },
      "diff": {
        "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/diff/f85de28eae32e7d3064b1a1321309071bbaaa069"
      },
      "approve": {
        "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commit/f85de28eae32e7d3064b1a1321309071bbaaa069/approve"
      },
      "statuses": {
        "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commit/f85de28eae32e7d3064b1a1321309071bbaaa069/statuses"
      }
    },
    "author": {
      "raw": "Sean Farley <sean@farley.io>",
      "type": "author",
      "user": {
        "username": "seanfarley",
        "nickname": "seanfarley",
        "display_name": "Sean Farley",
        "type": "user",
        "uuid": "{a295f8a8-5876-4d43-89b5-3ad8c6c3c51d}",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/users/seanfarley"
          },
          "html": {
            "href": "https://bitbucket.org/seanfarley/"
          },
          "avatar": {
            "href": "https://bitbucket.org/account/seanfarley/avatar/32/"
          }
        }
      }
    },
    "parents": [
      {
        "hash": "9a98d0e5b07fc60887f9d3d34d9ac7d536f470d2",
        "type": "commit",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commit/9a98d0e5b07fc60887f9d3d34d9ac7d536f470d2"
          },
          "html": {
            "href": "https://bitbucket.org/seanfarley/hg/commits/9a98d0e5b07fc60887f9d3d34d9ac7d536f470d2"
          }
        }
      }
    ],
    "date": "2016-05-01T04:21:17+00:00",
    "message": "debian: alphabetize build deps",
    "type": "commit"
  }
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param name The name of the tag.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameGetRequest

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsNameGetExecute ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsNameGetExecute(r RefsApiRepositoriesWorkspaceRepoSlugRefsTagsNameGetRequest) (*Tag, *http.Response, error)

Execute executes the request

@return Tag

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsPost ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsPost(ctx context.Context, repoSlug string, workspace string) RefsApiRepositoriesWorkspaceRepoSlugRefsTagsPostRequest

RepositoriesWorkspaceRepoSlugRefsTagsPost Create a tag

Creates a new tag in the specified repository.

The payload of the POST should consist of a JSON document that contains the name of the tag and the target hash.

``` curl https://api.bitbucket.org/2.0/repositories/jdoe/myrepo/refs/tags \ -s -u jdoe -X POST -H "Content-Type: application/json" \

-d '{
    "name" : "new-tag-name",
    "target" : {
        "hash" : "a1b2c3d4e5f6",
    }
}'

```

This endpoint does support using short hash prefixes for the commit hash, but it may return a 400 response if the provided prefix is ambiguous. Using a full commit hash is the preferred approach.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RefsApiRepositoriesWorkspaceRepoSlugRefsTagsPostRequest

func (*RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsPostExecute ¶

func (a *RefsApiService) RepositoriesWorkspaceRepoSlugRefsTagsPostExecute(r RefsApiRepositoriesWorkspaceRepoSlugRefsTagsPostRequest) (*Tag, *http.Response, error)

Execute executes the request

@return Tag

type RenderedPullRequestMarkup ¶

type RenderedPullRequestMarkup struct {
	Title                *RenderedPullRequestMarkupTitle `json:"title,omitempty"`
	Description          *RenderedPullRequestMarkupTitle `json:"description,omitempty"`
	Reason               *RenderedPullRequestMarkupTitle `json:"reason,omitempty"`
	AdditionalProperties map[string]interface{}
}

RenderedPullRequestMarkup User provided pull request text, interpreted in a markup language and rendered in HTML

func NewRenderedPullRequestMarkup ¶

func NewRenderedPullRequestMarkup() *RenderedPullRequestMarkup

NewRenderedPullRequestMarkup instantiates a new RenderedPullRequestMarkup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRenderedPullRequestMarkupWithDefaults ¶

func NewRenderedPullRequestMarkupWithDefaults() *RenderedPullRequestMarkup

NewRenderedPullRequestMarkupWithDefaults instantiates a new RenderedPullRequestMarkup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RenderedPullRequestMarkup) GetDescription ¶

GetDescription returns the Description field value if set, zero value otherwise.

func (*RenderedPullRequestMarkup) GetDescriptionOk ¶

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RenderedPullRequestMarkup) GetReason ¶

GetReason returns the Reason field value if set, zero value otherwise.

func (*RenderedPullRequestMarkup) GetReasonOk ¶

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RenderedPullRequestMarkup) GetTitle ¶

GetTitle returns the Title field value if set, zero value otherwise.

func (*RenderedPullRequestMarkup) GetTitleOk ¶

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RenderedPullRequestMarkup) HasDescription ¶

func (o *RenderedPullRequestMarkup) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*RenderedPullRequestMarkup) HasReason ¶

func (o *RenderedPullRequestMarkup) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*RenderedPullRequestMarkup) HasTitle ¶

func (o *RenderedPullRequestMarkup) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (RenderedPullRequestMarkup) MarshalJSON ¶

func (o RenderedPullRequestMarkup) MarshalJSON() ([]byte, error)

func (*RenderedPullRequestMarkup) SetDescription ¶

SetDescription gets a reference to the given RenderedPullRequestMarkupTitle and assigns it to the Description field.

func (*RenderedPullRequestMarkup) SetReason ¶

SetReason gets a reference to the given RenderedPullRequestMarkupTitle and assigns it to the Reason field.

func (*RenderedPullRequestMarkup) SetTitle ¶

SetTitle gets a reference to the given RenderedPullRequestMarkupTitle and assigns it to the Title field.

func (*RenderedPullRequestMarkup) UnmarshalJSON ¶ added in v0.0.3

func (o *RenderedPullRequestMarkup) UnmarshalJSON(bytes []byte) (err error)

type RenderedPullRequestMarkupTitle ¶

type RenderedPullRequestMarkupTitle struct {
	// The text as it was typed by a user.
	Raw *string `json:"raw,omitempty"`
	// The type of markup language the raw content is to be interpreted in.
	Markup *string `json:"markup,omitempty"`
	// The user's content rendered as HTML.
	Html                 *string `json:"html,omitempty"`
	AdditionalProperties map[string]interface{}
}

RenderedPullRequestMarkupTitle struct for RenderedPullRequestMarkupTitle

func NewRenderedPullRequestMarkupTitle ¶

func NewRenderedPullRequestMarkupTitle() *RenderedPullRequestMarkupTitle

NewRenderedPullRequestMarkupTitle instantiates a new RenderedPullRequestMarkupTitle object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRenderedPullRequestMarkupTitleWithDefaults ¶

func NewRenderedPullRequestMarkupTitleWithDefaults() *RenderedPullRequestMarkupTitle

NewRenderedPullRequestMarkupTitleWithDefaults instantiates a new RenderedPullRequestMarkupTitle object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RenderedPullRequestMarkupTitle) GetHtml ¶

GetHtml returns the Html field value if set, zero value otherwise.

func (*RenderedPullRequestMarkupTitle) GetHtmlOk ¶

func (o *RenderedPullRequestMarkupTitle) GetHtmlOk() (*string, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RenderedPullRequestMarkupTitle) GetMarkup ¶

func (o *RenderedPullRequestMarkupTitle) GetMarkup() string

GetMarkup returns the Markup field value if set, zero value otherwise.

func (*RenderedPullRequestMarkupTitle) GetMarkupOk ¶

func (o *RenderedPullRequestMarkupTitle) GetMarkupOk() (*string, bool)

GetMarkupOk returns a tuple with the Markup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RenderedPullRequestMarkupTitle) GetRaw ¶

GetRaw returns the Raw field value if set, zero value otherwise.

func (*RenderedPullRequestMarkupTitle) GetRawOk ¶

func (o *RenderedPullRequestMarkupTitle) GetRawOk() (*string, bool)

GetRawOk returns a tuple with the Raw field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RenderedPullRequestMarkupTitle) HasHtml ¶

func (o *RenderedPullRequestMarkupTitle) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (*RenderedPullRequestMarkupTitle) HasMarkup ¶

func (o *RenderedPullRequestMarkupTitle) HasMarkup() bool

HasMarkup returns a boolean if a field has been set.

func (*RenderedPullRequestMarkupTitle) HasRaw ¶

HasRaw returns a boolean if a field has been set.

func (RenderedPullRequestMarkupTitle) MarshalJSON ¶

func (o RenderedPullRequestMarkupTitle) MarshalJSON() ([]byte, error)

func (*RenderedPullRequestMarkupTitle) SetHtml ¶

func (o *RenderedPullRequestMarkupTitle) SetHtml(v string)

SetHtml gets a reference to the given string and assigns it to the Html field.

func (*RenderedPullRequestMarkupTitle) SetMarkup ¶

func (o *RenderedPullRequestMarkupTitle) SetMarkup(v string)

SetMarkup gets a reference to the given string and assigns it to the Markup field.

func (*RenderedPullRequestMarkupTitle) SetRaw ¶

SetRaw gets a reference to the given string and assigns it to the Raw field.

func (*RenderedPullRequestMarkupTitle) UnmarshalJSON ¶ added in v0.0.3

func (o *RenderedPullRequestMarkupTitle) UnmarshalJSON(bytes []byte) (err error)

type Report ¶

type Report struct {
	Object
	// The UUID that can be used to identify the report.
	Uuid *string `json:"uuid,omitempty"`
	// The title of the report.
	Title *string `json:"title,omitempty"`
	// A string to describe the purpose of the report.
	Details *string `json:"details,omitempty"`
	// ID of the report provided by the report creator. It can be used to identify the report as an alternative to it's generated uuid. It is not used by Bitbucket, but only by the report creator for updating or deleting this specific report. Needs to be unique.
	ExternalId *string `json:"external_id,omitempty"`
	// A string to describe the tool or company who created the report.
	Reporter *string `json:"reporter,omitempty"`
	// A URL linking to the results of the report in an external tool.
	Link *string `json:"link,omitempty"`
	// If enabled, a remote link is created in Jira for the issue associated with the commit the report belongs to.
	RemoteLinkEnabled *bool `json:"remote_link_enabled,omitempty"`
	// A URL to the report logo. If none is provided, the default insights logo will be used.
	LogoUrl *string `json:"logo_url,omitempty"`
	// The type of the report.
	ReportType *string `json:"report_type,omitempty"`
	// The state of the report. May be set to PENDING and later updated.
	Result *string `json:"result,omitempty"`
	// An array of data fields to display information on the report. Maximum 10.
	Data []ReportData `json:"data,omitempty"`
	// The timestamp when the report was created.
	CreatedOn *time.Time `json:"created_on,omitempty"`
	// The timestamp when the report was updated.
	UpdatedOn            *time.Time `json:"updated_on,omitempty"`
	AdditionalProperties map[string]interface{}
}

Report struct for Report

func NewReport ¶

func NewReport() *Report

NewReport instantiates a new Report object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportWithDefaults ¶

func NewReportWithDefaults() *Report

NewReportWithDefaults instantiates a new Report object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Report) GetCreatedOn ¶

func (o *Report) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Report) GetCreatedOnOk ¶

func (o *Report) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetData ¶

func (o *Report) GetData() []ReportData

GetData returns the Data field value if set, zero value otherwise.

func (*Report) GetDataOk ¶

func (o *Report) GetDataOk() ([]ReportData, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetDetails ¶

func (o *Report) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*Report) GetDetailsOk ¶

func (o *Report) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetExternalId ¶

func (o *Report) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*Report) GetExternalIdOk ¶

func (o *Report) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Report) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*Report) GetLinkOk ¶

func (o *Report) GetLinkOk() (*string, bool)

GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetLogoUrl ¶

func (o *Report) GetLogoUrl() string

GetLogoUrl returns the LogoUrl field value if set, zero value otherwise.

func (*Report) GetLogoUrlOk ¶

func (o *Report) GetLogoUrlOk() (*string, bool)

GetLogoUrlOk returns a tuple with the LogoUrl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetRemoteLinkEnabled ¶

func (o *Report) GetRemoteLinkEnabled() bool

GetRemoteLinkEnabled returns the RemoteLinkEnabled field value if set, zero value otherwise.

func (*Report) GetRemoteLinkEnabledOk ¶

func (o *Report) GetRemoteLinkEnabledOk() (*bool, bool)

GetRemoteLinkEnabledOk returns a tuple with the RemoteLinkEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetReportType ¶

func (o *Report) GetReportType() string

GetReportType returns the ReportType field value if set, zero value otherwise.

func (*Report) GetReportTypeOk ¶

func (o *Report) GetReportTypeOk() (*string, bool)

GetReportTypeOk returns a tuple with the ReportType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetReporter ¶

func (o *Report) GetReporter() string

GetReporter returns the Reporter field value if set, zero value otherwise.

func (*Report) GetReporterOk ¶

func (o *Report) GetReporterOk() (*string, bool)

GetReporterOk returns a tuple with the Reporter field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetResult ¶

func (o *Report) GetResult() string

GetResult returns the Result field value if set, zero value otherwise.

func (*Report) GetResultOk ¶

func (o *Report) GetResultOk() (*string, bool)

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetTitle ¶

func (o *Report) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*Report) GetTitleOk ¶

func (o *Report) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetUpdatedOn ¶

func (o *Report) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*Report) GetUpdatedOnOk ¶

func (o *Report) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) GetUuid ¶

func (o *Report) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Report) GetUuidOk ¶

func (o *Report) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Report) HasCreatedOn ¶

func (o *Report) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Report) HasData ¶

func (o *Report) HasData() bool

HasData returns a boolean if a field has been set.

func (*Report) HasDetails ¶

func (o *Report) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*Report) HasExternalId ¶

func (o *Report) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (o *Report) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*Report) HasLogoUrl ¶

func (o *Report) HasLogoUrl() bool

HasLogoUrl returns a boolean if a field has been set.

func (*Report) HasRemoteLinkEnabled ¶

func (o *Report) HasRemoteLinkEnabled() bool

HasRemoteLinkEnabled returns a boolean if a field has been set.

func (*Report) HasReportType ¶

func (o *Report) HasReportType() bool

HasReportType returns a boolean if a field has been set.

func (*Report) HasReporter ¶

func (o *Report) HasReporter() bool

HasReporter returns a boolean if a field has been set.

func (*Report) HasResult ¶

func (o *Report) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*Report) HasTitle ¶

func (o *Report) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Report) HasUpdatedOn ¶

func (o *Report) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*Report) HasUuid ¶

func (o *Report) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (Report) MarshalJSON ¶

func (o Report) MarshalJSON() ([]byte, error)

func (*Report) SetCreatedOn ¶

func (o *Report) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Report) SetData ¶

func (o *Report) SetData(v []ReportData)

SetData gets a reference to the given []ReportData and assigns it to the Data field.

func (*Report) SetDetails ¶

func (o *Report) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*Report) SetExternalId ¶

func (o *Report) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (o *Report) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

func (*Report) SetLogoUrl ¶

func (o *Report) SetLogoUrl(v string)

SetLogoUrl gets a reference to the given string and assigns it to the LogoUrl field.

func (*Report) SetRemoteLinkEnabled ¶

func (o *Report) SetRemoteLinkEnabled(v bool)

SetRemoteLinkEnabled gets a reference to the given bool and assigns it to the RemoteLinkEnabled field.

func (*Report) SetReportType ¶

func (o *Report) SetReportType(v string)

SetReportType gets a reference to the given string and assigns it to the ReportType field.

func (*Report) SetReporter ¶

func (o *Report) SetReporter(v string)

SetReporter gets a reference to the given string and assigns it to the Reporter field.

func (*Report) SetResult ¶

func (o *Report) SetResult(v string)

SetResult gets a reference to the given string and assigns it to the Result field.

func (*Report) SetTitle ¶

func (o *Report) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*Report) SetUpdatedOn ¶

func (o *Report) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*Report) SetUuid ¶

func (o *Report) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*Report) UnmarshalJSON ¶ added in v0.0.3

func (o *Report) UnmarshalJSON(bytes []byte) (err error)

type ReportAnnotation ¶

type ReportAnnotation struct {
	// ID of the annotation provided by the annotation creator. It can be used to identify the annotation as an alternative to it's generated uuid. It is not used by Bitbucket, but only by the annotation creator for updating or deleting this specific annotation. Needs to be unique.
	ExternalId *string `json:"external_id,omitempty"`
	// The UUID that can be used to identify the annotation.
	Uuid *string `json:"uuid,omitempty"`
	// The type of the report.
	AnnotationType *string `json:"annotation_type,omitempty"`
	// The path of the file on which this annotation should be placed. This is the path of the file relative to the git repository. If no path is provided, then it will appear in the overview modal on all pull requests where the tip of the branch is the given commit, regardless of which files were modified.
	Path *string `json:"path,omitempty"`
	// The line number that the annotation should belong to. If no line number is provided, then it will default to 0 and in a pull request it will appear at the top of the file specified by the path field.
	Line *int32 `json:"line,omitempty"`
	// The message to display to users.
	Summary *string `json:"summary,omitempty"`
	// The details to show to users when clicking on the annotation.
	Details *string `json:"details,omitempty"`
	// The state of the report. May be set to PENDING and later updated.
	Result *string `json:"result,omitempty"`
	// The severity of the annotation.
	Severity *string `json:"severity,omitempty"`
	// A URL linking to the annotation in an external tool.
	Link *string `json:"link,omitempty"`
	// The timestamp when the report was created.
	CreatedOn *time.Time `json:"created_on,omitempty"`
	// The timestamp when the report was updated.
	UpdatedOn            *time.Time `json:"updated_on,omitempty"`
	AdditionalProperties map[string]interface{}
}

ReportAnnotation A report for a commit.

func NewReportAnnotation ¶

func NewReportAnnotation() *ReportAnnotation

NewReportAnnotation instantiates a new ReportAnnotation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportAnnotationWithDefaults ¶

func NewReportAnnotationWithDefaults() *ReportAnnotation

NewReportAnnotationWithDefaults instantiates a new ReportAnnotation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportAnnotation) GetAnnotationType ¶

func (o *ReportAnnotation) GetAnnotationType() string

GetAnnotationType returns the AnnotationType field value if set, zero value otherwise.

func (*ReportAnnotation) GetAnnotationTypeOk ¶

func (o *ReportAnnotation) GetAnnotationTypeOk() (*string, bool)

GetAnnotationTypeOk returns a tuple with the AnnotationType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) GetCreatedOn ¶

func (o *ReportAnnotation) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*ReportAnnotation) GetCreatedOnOk ¶

func (o *ReportAnnotation) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) GetDetails ¶

func (o *ReportAnnotation) GetDetails() string

GetDetails returns the Details field value if set, zero value otherwise.

func (*ReportAnnotation) GetDetailsOk ¶

func (o *ReportAnnotation) GetDetailsOk() (*string, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) GetExternalId ¶

func (o *ReportAnnotation) GetExternalId() string

GetExternalId returns the ExternalId field value if set, zero value otherwise.

func (*ReportAnnotation) GetExternalIdOk ¶

func (o *ReportAnnotation) GetExternalIdOk() (*string, bool)

GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) GetLine ¶

func (o *ReportAnnotation) GetLine() int32

GetLine returns the Line field value if set, zero value otherwise.

func (*ReportAnnotation) GetLineOk ¶

func (o *ReportAnnotation) GetLineOk() (*int32, bool)

GetLineOk returns a tuple with the Line field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *ReportAnnotation) GetLink() string

GetLink returns the Link field value if set, zero value otherwise.

func (*ReportAnnotation) GetLinkOk ¶

func (o *ReportAnnotation) GetLinkOk() (*string, bool)

GetLinkOk returns a tuple with the Link field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) GetPath ¶

func (o *ReportAnnotation) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*ReportAnnotation) GetPathOk ¶

func (o *ReportAnnotation) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) GetResult ¶

func (o *ReportAnnotation) GetResult() string

GetResult returns the Result field value if set, zero value otherwise.

func (*ReportAnnotation) GetResultOk ¶

func (o *ReportAnnotation) GetResultOk() (*string, bool)

GetResultOk returns a tuple with the Result field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) GetSeverity ¶

func (o *ReportAnnotation) GetSeverity() string

GetSeverity returns the Severity field value if set, zero value otherwise.

func (*ReportAnnotation) GetSeverityOk ¶

func (o *ReportAnnotation) GetSeverityOk() (*string, bool)

GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) GetSummary ¶

func (o *ReportAnnotation) GetSummary() string

GetSummary returns the Summary field value if set, zero value otherwise.

func (*ReportAnnotation) GetSummaryOk ¶

func (o *ReportAnnotation) GetSummaryOk() (*string, bool)

GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) GetUpdatedOn ¶

func (o *ReportAnnotation) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*ReportAnnotation) GetUpdatedOnOk ¶

func (o *ReportAnnotation) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) GetUuid ¶

func (o *ReportAnnotation) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*ReportAnnotation) GetUuidOk ¶

func (o *ReportAnnotation) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportAnnotation) HasAnnotationType ¶

func (o *ReportAnnotation) HasAnnotationType() bool

HasAnnotationType returns a boolean if a field has been set.

func (*ReportAnnotation) HasCreatedOn ¶

func (o *ReportAnnotation) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*ReportAnnotation) HasDetails ¶

func (o *ReportAnnotation) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*ReportAnnotation) HasExternalId ¶

func (o *ReportAnnotation) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (*ReportAnnotation) HasLine ¶

func (o *ReportAnnotation) HasLine() bool

HasLine returns a boolean if a field has been set.

func (o *ReportAnnotation) HasLink() bool

HasLink returns a boolean if a field has been set.

func (*ReportAnnotation) HasPath ¶

func (o *ReportAnnotation) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*ReportAnnotation) HasResult ¶

func (o *ReportAnnotation) HasResult() bool

HasResult returns a boolean if a field has been set.

func (*ReportAnnotation) HasSeverity ¶

func (o *ReportAnnotation) HasSeverity() bool

HasSeverity returns a boolean if a field has been set.

func (*ReportAnnotation) HasSummary ¶

func (o *ReportAnnotation) HasSummary() bool

HasSummary returns a boolean if a field has been set.

func (*ReportAnnotation) HasUpdatedOn ¶

func (o *ReportAnnotation) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*ReportAnnotation) HasUuid ¶

func (o *ReportAnnotation) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (ReportAnnotation) MarshalJSON ¶

func (o ReportAnnotation) MarshalJSON() ([]byte, error)

func (*ReportAnnotation) SetAnnotationType ¶

func (o *ReportAnnotation) SetAnnotationType(v string)

SetAnnotationType gets a reference to the given string and assigns it to the AnnotationType field.

func (*ReportAnnotation) SetCreatedOn ¶

func (o *ReportAnnotation) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*ReportAnnotation) SetDetails ¶

func (o *ReportAnnotation) SetDetails(v string)

SetDetails gets a reference to the given string and assigns it to the Details field.

func (*ReportAnnotation) SetExternalId ¶

func (o *ReportAnnotation) SetExternalId(v string)

SetExternalId gets a reference to the given string and assigns it to the ExternalId field.

func (*ReportAnnotation) SetLine ¶

func (o *ReportAnnotation) SetLine(v int32)

SetLine gets a reference to the given int32 and assigns it to the Line field.

func (o *ReportAnnotation) SetLink(v string)

SetLink gets a reference to the given string and assigns it to the Link field.

func (*ReportAnnotation) SetPath ¶

func (o *ReportAnnotation) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*ReportAnnotation) SetResult ¶

func (o *ReportAnnotation) SetResult(v string)

SetResult gets a reference to the given string and assigns it to the Result field.

func (*ReportAnnotation) SetSeverity ¶

func (o *ReportAnnotation) SetSeverity(v string)

SetSeverity gets a reference to the given string and assigns it to the Severity field.

func (*ReportAnnotation) SetSummary ¶

func (o *ReportAnnotation) SetSummary(v string)

SetSummary gets a reference to the given string and assigns it to the Summary field.

func (*ReportAnnotation) SetUpdatedOn ¶

func (o *ReportAnnotation) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*ReportAnnotation) SetUuid ¶

func (o *ReportAnnotation) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*ReportAnnotation) UnmarshalJSON ¶ added in v0.0.3

func (o *ReportAnnotation) UnmarshalJSON(bytes []byte) (err error)

type ReportData ¶

type ReportData struct {
	// The type of data contained in the value field. If not provided, then the value will be detected as a boolean, number or string.
	Type *string `json:"type,omitempty"`
	// A string describing what this data field represents.
	Title *string `json:"title,omitempty"`
	// The value of the data element.
	Value                map[string]interface{} `json:"value,omitempty"`
	AdditionalProperties map[string]interface{}
}

ReportData A key-value element that will be displayed along with the report.

func NewReportData ¶

func NewReportData() *ReportData

NewReportData instantiates a new ReportData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewReportDataWithDefaults ¶

func NewReportDataWithDefaults() *ReportData

NewReportDataWithDefaults instantiates a new ReportData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ReportData) GetTitle ¶

func (o *ReportData) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*ReportData) GetTitleOk ¶

func (o *ReportData) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportData) GetType ¶

func (o *ReportData) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ReportData) GetTypeOk ¶

func (o *ReportData) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportData) GetValue ¶

func (o *ReportData) GetValue() map[string]interface{}

GetValue returns the Value field value if set, zero value otherwise.

func (*ReportData) GetValueOk ¶

func (o *ReportData) GetValueOk() (map[string]interface{}, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReportData) HasTitle ¶

func (o *ReportData) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*ReportData) HasType ¶

func (o *ReportData) HasType() bool

HasType returns a boolean if a field has been set.

func (*ReportData) HasValue ¶

func (o *ReportData) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ReportData) MarshalJSON ¶

func (o ReportData) MarshalJSON() ([]byte, error)

func (*ReportData) SetTitle ¶

func (o *ReportData) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*ReportData) SetType ¶

func (o *ReportData) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ReportData) SetValue ¶

func (o *ReportData) SetValue(v map[string]interface{})

SetValue gets a reference to the given map[string]interface{} and assigns it to the Value field.

func (*ReportData) UnmarshalJSON ¶ added in v0.0.3

func (o *ReportData) UnmarshalJSON(bytes []byte) (err error)

type ReportsApiBulkCreateOrUpdateAnnotationsRequest ¶

type ReportsApiBulkCreateOrUpdateAnnotationsRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ReportsApiBulkCreateOrUpdateAnnotationsRequest) Body ¶

The annotations to create or update

func (ReportsApiBulkCreateOrUpdateAnnotationsRequest) Execute ¶

type ReportsApiCreateOrUpdateAnnotationRequest ¶

type ReportsApiCreateOrUpdateAnnotationRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ReportsApiCreateOrUpdateAnnotationRequest) Body ¶

The annotation to create or update

func (ReportsApiCreateOrUpdateAnnotationRequest) Execute ¶

type ReportsApiCreateOrUpdateReportRequest ¶

type ReportsApiCreateOrUpdateReportRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ReportsApiCreateOrUpdateReportRequest) Body ¶

The report to create or update

func (ReportsApiCreateOrUpdateReportRequest) Execute ¶

type ReportsApiDeleteAnnotationRequest ¶

type ReportsApiDeleteAnnotationRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ReportsApiDeleteAnnotationRequest) Execute ¶

type ReportsApiDeleteReportRequest ¶

type ReportsApiDeleteReportRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ReportsApiDeleteReportRequest) Execute ¶

type ReportsApiGetAnnotationRequest ¶

type ReportsApiGetAnnotationRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ReportsApiGetAnnotationRequest) Execute ¶

type ReportsApiGetAnnotationsForReportRequest ¶

type ReportsApiGetAnnotationsForReportRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ReportsApiGetAnnotationsForReportRequest) Execute ¶

type ReportsApiGetReportRequest ¶

type ReportsApiGetReportRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ReportsApiGetReportRequest) Execute ¶

type ReportsApiGetReportsForCommitRequest ¶

type ReportsApiGetReportsForCommitRequest struct {
	ApiService *ReportsApiService
	// contains filtered or unexported fields
}

func (ReportsApiGetReportsForCommitRequest) Execute ¶

type ReportsApiService ¶

type ReportsApiService service

ReportsApiService ReportsApi service

func (*ReportsApiService) BulkCreateOrUpdateAnnotations ¶

func (a *ReportsApiService) BulkCreateOrUpdateAnnotations(ctx context.Context, workspace string, repoSlug string, commit string, reportId string) ReportsApiBulkCreateOrUpdateAnnotationsRequest

BulkCreateOrUpdateAnnotations Bulk create or update annotations

Bulk upload of annotations. Annotations are individual findings that have been identified as part of a report, for example, a line of code that represents a vulnerability. These annotations can be attached to a specific file and even a specific line in that file, however, that is optional. Annotations are not mandatory and a report can contain up to 1000 annotations.

Add the annotations you want to upload as objects in a JSON array and make sure each annotation has the external_id field set to a unique value. If you want to use an existing id from your own system, we recommend prefixing it with your system's name to avoid collisions, for example, mySystem-annotation001. The external id can later be used to identify the report as an alternative to the generated [UUID](https://developer.atlassian.com/bitbucket/api/2/reference/meta/uri-uuid#uuid). You can upload up to 100 annotations per POST request.

### Sample cURL request: ``` curl --location 'https://api.bitbucket.org/2.0/repositories/<username>/<reposity-name>/commit/<commit-hash>/reports/mysystem-001/annotations' \ --header 'Content-Type: application/json' \ --data-raw '[

{
      "external_id": "mysystem-annotation001",
      "title": "Security scan report",
      "annotation_type": "VULNERABILITY",
      "summary": "This line represents a security threat.",
      "severity": "HIGH",
    "path": "my-service/src/main/java/com/myCompany/mysystem/logic/Main.java",
      "line": 42
},
{
      "external_id": "mySystem-annotation002",
      "title": "Bug report",
      "annotation_type": "BUG",
      "result": "FAILED",
      "summary": "This line might introduce a bug.",
      "severity": "MEDIUM",
    "path": "my-service/src/main/java/com/myCompany/mysystem/logic/Helper.java",
      "line": 13
}

]' ```

### Possible field values: annotation_type: VULNERABILITY, CODE_SMELL, BUG result: PASSED, FAILED, IGNORED, SKIPPED severity: HIGH, MEDIUM, LOW, CRITICAL

Please refer to the [Code Insights documentation](https://confluence.atlassian.com/bitbucket/code-insights-994316785.html) for more information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit for which to retrieve reports.
@param reportId Uuid or external-if of the report for which to get annotations for.
@return ReportsApiBulkCreateOrUpdateAnnotationsRequest

func (*ReportsApiService) BulkCreateOrUpdateAnnotationsExecute ¶

func (a *ReportsApiService) BulkCreateOrUpdateAnnotationsExecute(r ReportsApiBulkCreateOrUpdateAnnotationsRequest) ([]ReportAnnotation, *http.Response, error)

Execute executes the request

@return []ReportAnnotation

func (*ReportsApiService) CreateOrUpdateAnnotation ¶

func (a *ReportsApiService) CreateOrUpdateAnnotation(ctx context.Context, workspace string, repoSlug string, commit string, reportId string, annotationId string) ReportsApiCreateOrUpdateAnnotationRequest

CreateOrUpdateAnnotation Create or update an annotation

Creates or updates an individual annotation for the specified report. Annotations are individual findings that have been identified as part of a report, for example, a line of code that represents a vulnerability. These annotations can be attached to a specific file and even a specific line in that file, however, that is optional. Annotations are not mandatory and a report can contain up to 1000 annotations.

Just as reports, annotation needs to be uploaded with a unique ID that can later be used to identify the report as an alternative to the generated [UUID](https://developer.atlassian.com/bitbucket/api/2/reference/meta/uri-uuid#uuid). If you want to use an existing id from your own system, we recommend prefixing it with your system's name to avoid collisions, for example, mySystem-annotation001.

### Sample cURL request: ``` curl --request PUT 'https://api.bitbucket.org/2.0/repositories/<username>/<reposity-name>/commit/<commit-hash>/reports/mySystem-001/annotations/mysystem-annotation001' \ --header 'Content-Type: application/json' \

--data-raw '{
    "title": "Security scan report",
    "annotation_type": "VULNERABILITY",
    "summary": "This line represents a security thread.",
    "severity": "HIGH",
    "path": "my-service/src/main/java/com/myCompany/mysystem/logic/Main.java",
    "line": 42
}'

```

### Possible field values: annotation_type: VULNERABILITY, CODE_SMELL, BUG result: PASSED, FAILED, IGNORED, SKIPPED severity: HIGH, MEDIUM, LOW, CRITICAL

Please refer to the [Code Insights documentation](https://confluence.atlassian.com/bitbucket/code-insights-994316785.html) for more information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the report belongs to.
@param reportId Either the uuid or external-id of the report.
@param annotationId Either the uuid or external-id of the annotation.
@return ReportsApiCreateOrUpdateAnnotationRequest

func (*ReportsApiService) CreateOrUpdateAnnotationExecute ¶

Execute executes the request

@return ReportAnnotation

func (*ReportsApiService) CreateOrUpdateReport ¶

func (a *ReportsApiService) CreateOrUpdateReport(ctx context.Context, workspace string, repoSlug string, commit string, reportId string) ReportsApiCreateOrUpdateReportRequest

CreateOrUpdateReport Create or update a report

Creates or updates a report for the specified commit. To upload a report, make sure to generate an ID that is unique across all reports for that commit. If you want to use an existing id from your own system, we recommend prefixing it with your system's name to avoid collisions, for example, mySystem-001.

### Sample cURL request: ``` curl --request PUT 'https://api.bitbucket.org/2.0/repositories/<username>/<reposity-name>/commit/<commit-hash>/reports/mysystem-001' \ --header 'Content-Type: application/json' \

--data-raw '{
    "title": "Security scan report",
    "details": "This pull request introduces 10 new dependency vulnerabilities.",
    "report_type": "SECURITY",
    "reporter": "mySystem",
    "link": "http://www.mysystem.com/reports/001",
    "result": "FAILED",
    "data": [
        {
            "title": "Duration (seconds)",
            "type": "DURATION",
            "value": 14
        },
        {
            "title": "Safe to merge?",
            "type": "BOOLEAN",
            "value": false
        }
    ]
}'

```

### Possible field values: report_type: SECURITY, COVERAGE, TEST, BUG result: PASSED, FAILED, PENDING data.type: BOOLEAN, DATE, DURATION, LINK, NUMBER, PERCENTAGE, TEXT

#### Data field formats | Type Field | Value Field Type | Value Field Display | |:--------------|:------------------|:--------------------| | None/ Omitted | Number, String or Boolean (not an array or object) | Plain text | | BOOLEAN | Boolean | The value will be read as a JSON boolean and displayed as 'Yes' or 'No'. | | DATE | Number | The value will be read as a JSON number in the form of a Unix timestamp (milliseconds) and will be displayed as a relative date if the date is less than one week ago, otherwise it will be displayed as an absolute date. | | DURATION | Number | The value will be read as a JSON number in milliseconds and will be displayed in a human readable duration format. | | LINK | Object: `{"text": "Link text here", "href": "https://link.to.annotation/in/external/tool"}` | The value will be read as a JSON object containing the fields "text" and "href" and will be displayed as a clickable link on the report. | | NUMBER | Number | The value will be read as a JSON number and large numbers will be displayed in a human readable format (e.g. 14.3k). | | PERCENTAGE | Number (between 0 and 100) | The value will be read as a JSON number between 0 and 100 and will be displayed with a percentage sign. | | TEXT | String | The value will be read as a JSON string and will be displayed as-is |

Please refer to the [Code Insights documentation](https://confluence.atlassian.com/bitbucket/code-insights-994316785.html) for more information.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the report belongs to.
@param reportId Either the uuid or external-id of the report.
@return ReportsApiCreateOrUpdateReportRequest

func (*ReportsApiService) CreateOrUpdateReportExecute ¶

func (a *ReportsApiService) CreateOrUpdateReportExecute(r ReportsApiCreateOrUpdateReportRequest) (*Report, *http.Response, error)

Execute executes the request

@return Report

func (*ReportsApiService) DeleteAnnotation ¶

func (a *ReportsApiService) DeleteAnnotation(ctx context.Context, workspace string, repoSlug string, commit string, reportId string, annotationId string) ReportsApiDeleteAnnotationRequest

DeleteAnnotation Delete an annotation

Deletes a single Annotation matching the provided ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the annotation belongs to.
@param reportId Either the uuid or external-id of the annotation.
@param annotationId Either the uuid or external-id of the annotation.
@return ReportsApiDeleteAnnotationRequest

func (*ReportsApiService) DeleteAnnotationExecute ¶

func (a *ReportsApiService) DeleteAnnotationExecute(r ReportsApiDeleteAnnotationRequest) (*http.Response, error)

Execute executes the request

func (*ReportsApiService) DeleteReport ¶

func (a *ReportsApiService) DeleteReport(ctx context.Context, workspace string, repoSlug string, commit string, reportId string) ReportsApiDeleteReportRequest

DeleteReport Delete a report

Deletes a single Report matching the provided ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the report belongs to.
@param reportId Either the uuid or external-id of the report.
@return ReportsApiDeleteReportRequest

func (*ReportsApiService) DeleteReportExecute ¶

func (a *ReportsApiService) DeleteReportExecute(r ReportsApiDeleteReportRequest) (*http.Response, error)

Execute executes the request

func (*ReportsApiService) GetAnnotation ¶

func (a *ReportsApiService) GetAnnotation(ctx context.Context, workspace string, repoSlug string, commit string, reportId string, annotationId string) ReportsApiGetAnnotationRequest

GetAnnotation Get an annotation

Returns a single Annotation matching the provided ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the report belongs to.
@param reportId Either the uuid or external-id of the report.
@param annotationId Either the uuid or external-id of the annotation.
@return ReportsApiGetAnnotationRequest

func (*ReportsApiService) GetAnnotationExecute ¶

Execute executes the request

@return ReportAnnotation

func (*ReportsApiService) GetAnnotationsForReport ¶

func (a *ReportsApiService) GetAnnotationsForReport(ctx context.Context, workspace string, repoSlug string, commit string, reportId string) ReportsApiGetAnnotationsForReportRequest

GetAnnotationsForReport List annotations

Returns a paginated list of Annotations for a specified report.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit for which to retrieve reports.
@param reportId Uuid or external-if of the report for which to get annotations for.
@return ReportsApiGetAnnotationsForReportRequest

func (*ReportsApiService) GetAnnotationsForReportExecute ¶

Execute executes the request

@return PaginatedAnnotations

func (*ReportsApiService) GetReport ¶

func (a *ReportsApiService) GetReport(ctx context.Context, workspace string, repoSlug string, commit string, reportId string) ReportsApiGetReportRequest

GetReport Get a report

Returns a single Report matching the provided ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit the report belongs to.
@param reportId Either the uuid or external-id of the report.
@return ReportsApiGetReportRequest

func (*ReportsApiService) GetReportExecute ¶

Execute executes the request

@return Report

func (*ReportsApiService) GetReportsForCommit ¶

func (a *ReportsApiService) GetReportsForCommit(ctx context.Context, workspace string, repoSlug string, commit string) ReportsApiGetReportsForCommitRequest

GetReportsForCommit List reports

Returns a paginated list of Reports linked to this commit.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`.
@param repoSlug The repository.
@param commit The commit for which to retrieve reports.
@return ReportsApiGetReportsForCommitRequest

func (*ReportsApiService) GetReportsForCommitExecute ¶

Execute executes the request

@return PaginatedReports

type RepositoriesApiRepositoriesGetRequest ¶

type RepositoriesApiRepositoriesGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesGetRequest) After ¶

Filter the results to include only repositories created on or after this [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp. Example: &#x60;YYYY-MM-DDTHH:mm:ss.sssZ&#x60;

func (RepositoriesApiRepositoriesGetRequest) Execute ¶

func (RepositoriesApiRepositoriesGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). &#x60;role&#x60; parameter must also be specified.

func (RepositoriesApiRepositoriesGetRequest) Role ¶

Filters the result based on the authenticated user&#39;s role on each repository. * **member**: returns repositories to which the user has explicit read access * **contributor**: returns repositories to which the user has explicit write access * **admin**: returns repositories to which the user has explicit administrator access * **owner**: returns all repositories owned by the current user

func (RepositoriesApiRepositoriesGetRequest) Sort ¶

Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

type RepositoriesApiRepositoriesWorkspaceGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceGetRequest) Execute ¶

func (RepositoriesApiRepositoriesWorkspaceGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (RepositoriesApiRepositoriesWorkspaceGetRequest) Role ¶

Filters the result based on the authenticated user&#39;s role on each repository. * **member**: returns repositories to which the user has explicit read access * **contributor**: returns repositories to which the user has explicit write access * **admin**: returns repositories to which the user has explicit administrator access * **owner**: returns all repositories owned by the current user

func (RepositoriesApiRepositoriesWorkspaceGetRequest) Sort ¶

Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

type RepositoriesApiRepositoriesWorkspaceRepoSlugDeleteRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugDeleteRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugDeleteRequest) Execute ¶

func (RepositoriesApiRepositoriesWorkspaceRepoSlugDeleteRequest) RedirectTo ¶

If a repository has been moved to a new location, use this parameter to show users a friendly message in the Bitbucket UI that the repository has moved to a new location. However, a GET to this endpoint will still return a 404.

type RepositoriesApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest) Execute ¶

func (RepositoriesApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (RepositoriesApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest) Renames ¶

When &#x60;true&#x60;, Bitbucket will follow the history of the file across renames (this is the default behavior). This can be turned off by specifying &#x60;false&#x60;.

func (RepositoriesApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest) Sort ¶

Name of a response property sort the result by as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).

type RepositoriesApiRepositoriesWorkspaceRepoSlugForksGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugForksGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugForksGetRequest) Execute ¶

func (RepositoriesApiRepositoriesWorkspaceRepoSlugForksGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (RepositoriesApiRepositoriesWorkspaceRepoSlugForksGetRequest) Role ¶

Filters the result based on the authenticated user&#39;s role on each repository. * **member**: returns repositories to which the user has explicit read access * **contributor**: returns repositories to which the user has explicit write access * **admin**: returns repositories to which the user has explicit administrator access * **owner**: returns all repositories owned by the current user

func (RepositoriesApiRepositoriesWorkspaceRepoSlugForksGetRequest) Sort ¶

Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

type RepositoriesApiRepositoriesWorkspaceRepoSlugForksPostRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugForksPostRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugForksPostRequest) Body ¶

A repository object. This can be left blank.

func (RepositoriesApiRepositoriesWorkspaceRepoSlugForksPostRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugGetRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugHooksGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugHooksGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugHooksGetRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugHooksPostRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugHooksPostRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugHooksPostRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidGetRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidPutRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidPutRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidPutRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGetRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDeleteRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDeleteRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDeleteRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGetRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPutRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPutRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPutRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersGetRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDeleteRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDeleteRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDeleteRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGetRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPutRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPutRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPutRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPostRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPostRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPostRequest) Body ¶

The repository that is to be created. Note that most object elements are optional. Elements \&quot;owner\&quot; and \&quot;full_name\&quot; are ignored as the URL implies them.

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPostRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPutRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugPutRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPutRequest) Body ¶

The repository that is to be updated. Note that the elements \&quot;owner\&quot; and \&quot;full_name\&quot; are ignored since the URL implies them.

func (RepositoriesApiRepositoriesWorkspaceRepoSlugPutRequest) Execute ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) Execute ¶

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) Format ¶

If &#39;meta&#39; is provided, returns the (json) meta data for the contents of the file. If &#39;rendered&#39; is provided, returns the contents of a non-binary file in HTML-formatted rendered markup. Since Git does not generally track what text encoding scheme is used, this endpoint attempts to detect the most appropriate character encoding. While usually correct, determining the character encoding can be ambiguous which in exceptional cases can lead to misinterpretation of the characters. As such, the raw element in the response object should not be treated as equivalent to the file&#39;s actual contents.

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) MaxDepth ¶

If provided, returns the contents of the repository and its subdirectories recursively until the specified max_depth of nested directories. When omitted, this defaults to 1.

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) Q ¶

Optional filter expression as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) Sort ¶

Optional sorting parameter as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).

type RepositoriesApiRepositoriesWorkspaceRepoSlugSrcGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugSrcGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcGetRequest) Execute ¶

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcGetRequest) Format ¶

Instead of returning the file&#39;s contents, return the (json) meta data for it.

type RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Author ¶

The raw string to be used as the new commit&#39;s author. This string follows the format &#x60;Erik van Zijst &lt;evzijst@atlassian.com&gt;&#x60;. When omitted, Bitbucket uses the authenticated user&#39;s full/display name and primary email address. Commits cannot be created anonymously.

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Branch ¶

The name of the branch that the new commit should be created on. When omitted, the commit will be created on top of the main branch and will become the main branch&#39;s new head. When a branch name is provided that already exists in the repo, then the commit will be created on top of that branch. In this case, *if* a parent SHA1 was also provided, then it is asserted that the parent is the branch&#39;s tip/HEAD at the time the request is made. When this is not the case, a 409 is returned. When a new branch name is specified (that does not already exist in the repo), and no parent SHA1s are provided, then the new commit will inherit from the current main branch&#39;s tip/HEAD commit, but not advance the main branch. The new commit will be the new branch. When the request *also* specifies a parent SHA1, then the new commit and branch are created directly on top of the parent commit, regardless of the state of the main branch. When a branch name is not specified, but a parent SHA1 is provided, then Bitbucket asserts that it represents the main branch&#39;s current HEAD/tip, or a 409 is returned. When a branch name is not specified and the repo is empty, the new commit will become the repo&#39;s root commit and will be on the main branch. When a branch name is specified and the repo is empty, the new commit will become the repo&#39;s root commit and also define the repo&#39;s main branch going forward. This API cannot be used to create additional root commits in non-empty repos. The branch field cannot be repeated. As a side effect, this API can be used to create a new branch without modifying any files, by specifying a new branch name in this field, together with &#x60;parents&#x60;, but omitting the &#x60;files&#x60; fields, while not sending any files. This will create a new commit and branch with the same contents as the first parent. The diff of this commit against its first parent will be empty.

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Execute ¶

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Files ¶

Optional field that declares the files that the request is manipulating. When adding a new file to a repo, or when overwriting an existing file, the client can just upload the full contents of the file in a normal form field and the use of this &#x60;files&#x60; meta data field is redundant. However, when the &#x60;files&#x60; field contains a file path that does not have a corresponding, identically-named form field, then Bitbucket interprets that as the client wanting to replace the named file with the null set and the file is deleted instead. Paths in the repo that are referenced in neither files nor an individual file field, remain unchanged and carry over from the parent to the new commit. This API does not support renaming as an explicit feature. To rename a file, simply delete it and recreate it under the new name in the same commit.

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Message ¶

The commit message. When omitted, Bitbucket uses a canned string.

func (RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Parents ¶

A comma-separated list of SHA1s of the commits that should be the parents of the newly created commit. When omitted, the new commit will inherit from and become a child of the main branch&#39;s tip/HEAD commit. When more than one SHA1 is provided, the first SHA1 identifies the commit from which the content will be inherited.\&quot;.

type RepositoriesApiRepositoriesWorkspaceRepoSlugWatchersGetRequest ¶

type RepositoriesApiRepositoriesWorkspaceRepoSlugWatchersGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiRepositoriesWorkspaceRepoSlugWatchersGetRequest) Execute ¶

type RepositoriesApiService ¶

type RepositoriesApiService service

RepositoriesApiService RepositoriesApi service

func (*RepositoriesApiService) RepositoriesGet ¶

RepositoriesGet List public repositories

Returns a paginated list of all public repositories.

This endpoint also supports filtering and sorting of the results. See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return RepositoriesApiRepositoriesGetRequest

func (*RepositoriesApiService) RepositoriesGetExecute ¶

Execute executes the request

@return PaginatedRepositories

func (*RepositoriesApiService) RepositoriesWorkspaceGet ¶

RepositoriesWorkspaceGet List repositories in a workspace

Returns a paginated list of all repositories owned by the specified workspace.

The result can be narrowed down based on the authenticated user's role.

E.g. with `?role=contributor`, only those repositories that the authenticated user has write access to are returned (this includes any repo the user is an admin on, as that implies write access).

This endpoint also supports filtering and sorting of the results. See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceGetExecute ¶

Execute executes the request

@return PaginatedRepositories

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugDelete ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugDelete(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugDeleteRequest

RepositoriesWorkspaceRepoSlugDelete Delete a repository

Deletes the repository. This is an irreversible operation.

This does not affect its forks.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugDeleteRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugDeleteExecute ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugDeleteExecute(r RepositoriesApiRepositoriesWorkspaceRepoSlugDeleteRequest) (*http.Response, error)

Execute executes the request

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGet(ctx context.Context, commit string, path string, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest

RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGet List commits that modified a file

Returns a paginated list of commits that modified the specified file.

Commits are returned in reverse chronological order. This is roughly equivalent to the following commands:

$ git log --follow --date-order <sha> <path>

By default, Bitbucket will follow renames and the path name in the returned entries reflects that. This can be turned off using the `?renames=false` query parameter.

Results are returned in descending chronological order by default, and like most endpoints you can [filter and sort](/cloud/bitbucket/rest/intro/#filtering) the response to only provide exactly the data you want.

For example, if you wanted to find commits made before 2011-05-18 against a file named `README.rst`, but you only wanted the path and date, your query would look like this:

```

$ curl 'https://api.bitbucket.org/2.0/repositories/evzijst/dogslow/filehistory/master/README.rst'\
  '?fields=values.next,values.path,values.commit.date&q=commit.date<=2011-05-18'
{
  "values": [
    {
      "commit": {
        "date": "2011-05-17T07:32:09+00:00"
      },
      "path": "README.rst"
    },
    {
      "commit": {
        "date": "2011-05-16T06:33:28+00:00"
      },
      "path": "README.txt"
    },
    {
      "commit": {
        "date": "2011-05-16T06:15:39+00:00"
      },
      "path": "README.txt"
    }
  ]
}

```

In the response you can see that the file was renamed to `README.rst` by the commit made on 2011-05-16, and was previously named `README.txt`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param path Path to the file.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetExecute ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetExecute(r RepositoriesApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest) (*PaginatedFiles, *http.Response, error)

Execute executes the request

@return PaginatedFiles

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugForksGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugForksGet(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugForksGetRequest

RepositoriesWorkspaceRepoSlugForksGet List repository forks

Returns a paginated list of all the forks of the specified repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugForksGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugForksGetExecute ¶

Execute executes the request

@return PaginatedRepositories

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugForksPost ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugForksPost(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugForksPostRequest

RepositoriesWorkspaceRepoSlugForksPost Fork a repository

Creates a new fork of the specified repository.

#### Forking a repository

To create a fork, specify the workspace explicitly as part of the request body:

```

$ curl -X POST -u jdoe https://api.bitbucket.org/2.0/repositories/atlassian/bbql/forks \
  -H 'Content-Type: application/json' -d '{
    "name": "bbql_fork",
    "workspace": {
      "slug": "atlassian"
    }
}'

```

To fork a repository into the same workspace, also specify a new `name`.

When you specify a value for `name`, it will also affect the `slug`. The `slug` is reflected in the repository URL of the new fork. It is derived from `name` by substituting non-ASCII characters, removes whitespace, and changes characters to lower case. For example, `My repo` would turn into `my_repo`.

You need contributor access to create new forks within a workspace.

#### Change the properties of a new fork

By default the fork inherits most of its properties from the parent. However, since the optional POST body document follows the normal `repository` JSON schema and you can override the new fork's properties.

Properties that can be overridden include:

  • description
  • fork_policy
  • language
  • mainbranch
  • is_private (note that a private repo's fork_policy might prohibit the creation of public forks, in which `is_private=False` would fail)
  • has_issues (to initialize or disable the new repo's issue tracker -- note that the actual contents of the parent repository's issue tracker are not copied during forking)
  • has_wiki (to initialize or disable the new repo's wiki -- note that the actual contents of the parent repository's wiki are not copied during forking)
  • project (when forking into a private project, the fork's `is_private` must be `true`)

Properties that cannot be modified include:

* scm * parent * full_name

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugForksPostRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugForksPostExecute ¶

Execute executes the request

@return Repository

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugGet(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugGetRequest

RepositoriesWorkspaceRepoSlugGet Get a repository

Returns the object describing this repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugGetExecute ¶

Execute executes the request

@return Repository

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksGet(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugHooksGetRequest

RepositoriesWorkspaceRepoSlugHooksGet List webhooks for a repository

Returns a paginated list of webhooks installed on this repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugHooksGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksGetExecute ¶

Execute executes the request

@return PaginatedWebhookSubscriptions

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksPost ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksPost(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugHooksPostRequest

RepositoriesWorkspaceRepoSlugHooksPost Create a webhook for a repository

Creates a new webhook on the specified repository.

Example:

``` $ curl -X POST -u credentials -H 'Content-Type: application/json'

https://api.bitbucket.org/2.0/repositories/my-workspace/my-repo-slug/hooks
-d '
  {
    "description": "Webhook Description",
    "url": "https://example.com/",
    "active": true,
    "events": [
      "repo:push",
      "issue:created",
      "issue:updated"
    ]
  }'

```

Note that this call requires the webhook scope, as well as any scope that applies to the events that the webhook subscribes to. In the example above that means: `webhook`, `repository` and `issue`.

Also note that the `url` must properly resolve and cannot be an internal, non-routed address.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugHooksPostRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksPostExecute ¶

Execute executes the request

@return WebhookSubscription

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksUidDelete ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksUidDelete(ctx context.Context, repoSlug string, uid string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest

RepositoriesWorkspaceRepoSlugHooksUidDelete Delete a webhook for a repository

Deletes the specified webhook subscription from the given repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksUidDeleteExecute ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksUidDeleteExecute(r RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest) (*http.Response, error)

Execute executes the request

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksUidGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksUidGet(ctx context.Context, repoSlug string, uid string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidGetRequest

RepositoriesWorkspaceRepoSlugHooksUidGet Get a webhook for a repository

Returns the webhook with the specified id installed on the specified repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksUidGetExecute ¶

Execute executes the request

@return WebhookSubscription

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksUidPut ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksUidPut(ctx context.Context, repoSlug string, uid string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidPutRequest

RepositoriesWorkspaceRepoSlugHooksUidPut Update a webhook for a repository

Updates the specified webhook subscription.

The following properties can be mutated:

* `description` * `url` * `active` * `events`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugHooksUidPutRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugHooksUidPutExecute ¶

Execute executes the request

@return WebhookSubscription

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGet(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGetRequest

RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGet List explicit group permissions for a repository

Returns a paginated list of explicit group permissions for the given repository. This endpoint does not support BBQL features.

Example:

``` $ curl https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/permissions-config/groups

HTTP/1.1 200 Location: https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/permissions-config/groups

{
  "pagelen": 10,
  "values": [
    {
      "type": "repository_group_permission",
      "group": {
        "type": "group",
        "name": "Administrators",
        "slug": "administrators"
      },
      "permission": "admin",
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/
                   geordi/permissions-config/groups/administrators"
        }
      }
    },
    {
      "type": "repository_group_permission",
      "group": {
        "type": "group",
        "name": "Developers",
        "slug": "developers"
      },
      "permission": "read",
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/
                   geordi/permissions-config/groups/developers"
        }
      }
    }
  ],
  "page": 1,
  "size": 2
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGetExecute ¶

Execute executes the request

@return PaginatedRepositoryGroupPermissions

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDelete ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDelete(ctx context.Context, groupSlug string, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDeleteRequest

RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDelete Delete an explicit group permission for a repository

Deletes the repository group permission between the requested repository and group, if one exists.

Only users with admin permission for the repository may access this resource.

Example:

$ curl -X DELETE https://api.bitbucket.org/2.0/repositories/atlassian_tutorial /geordi/permissions-config/groups/developers

HTTP/1.1 204

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupSlug Slug of the requested group.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDeleteRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDeleteExecute ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDeleteExecute(r RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDeleteRequest) (*http.Response, error)

Execute executes the request

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGet(ctx context.Context, groupSlug string, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGetRequest

RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGet Get an explicit group permission for a repository

Returns the group permission for a given group slug and repository ¶

Only users with admin permission for the repository may access this resource.

Permissions can be:

* `admin` * `write` * `read` * `none`

Example:

``` $ curl https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/permissions-config/groups/developers

HTTP/1.1 200 Location: https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/permissions-config/groups/developers

{
    "type": "repository_group_permission",
    "group": {
        "type": "group",
        "name": "Developers",
        "slug": "developers"
    },
    "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "atlassian_tutorial/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
    },
    "permission": "read",
    "links": {
      "self": {
        "href":
        "https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/permissions-config/groups/developers"
      }
    }
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupSlug Slug of the requested group.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGetExecute ¶

Execute executes the request

@return RepositoryGroupPermission

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPut ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPut(ctx context.Context, groupSlug string, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPutRequest

RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPut Update an explicit group permission for a repository

Updates the group permission if it exists.

Only users with admin permission for the repository may access this resource.

The only authentication method supported for this endpoint is via app passwords.

Permissions can be:

* `admin` * `write` * `read`

Example: ``` $ curl -X PUT -H "Content-Type: application/json" https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/permissions-config/groups/developers -d

'{
    "permission": "write"
}'

HTTP/1.1 200 Location: https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/permissions-config/groups/developers

{
    "type": "repository_group_permission",
    "group": {
        "type": "group",
        "name": "Developers",
        "slug": "developers"
    },
    "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "atlassian_tutorial/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
    },
    "permission": "write",
    "links": {
      "self": {
        "href":
        "https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/permissions-config/groups/developers"
      }
    }
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupSlug Slug of the requested group.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPutRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPutExecute ¶

Execute executes the request

@return RepositoryGroupPermission

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersGet(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersGetRequest

RepositoriesWorkspaceRepoSlugPermissionsConfigUsersGet List explicit user permissions for a repository

Returns a paginated list of explicit user permissions for the given repository.

Example:

``` $ curl https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/permissions-config/users

{
  "pagelen": 10,
  "values": [
    {
        "type": "repository_user_permission",
        "user": {
            "type": "user",
            "display_name": "Colin Cameron",
            "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}",
            "account_id": "557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a"
        },
        "permission": "admin",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/
                     permissions-config/users/557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a"
          }
        }
    },
    {
      "type": "repository_user_permission",
      "user": {
        "type": "user",
        "display_name": "Sean Conaty",
        "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}",
        "account_id": "557058:ba8948b2-49da-43a9-9e8b-e7249b8e324c"
      },
      "permission": "write",
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0//repositories/atlassian_tutorial/geordi/
                   permissions-config/users/557058:ba8948b2-49da-43a9-9e8b-e7249b8e324c"
        }
      }
    }
  ],
  "page": 1,
  "size": 2
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersGetExecute ¶

Execute executes the request

@return PaginatedRepositoryUserPermissions

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDelete ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDelete(ctx context.Context, repoSlug string, selectedUserId string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDeleteRequest

RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDelete Delete an explicit user permission for a repository

Deletes the repository user permission between the requested repository and user, if one exists.

Only users with admin permission for the repository may access this resource.

The only authentication method for this endpoint is via app passwords.

``` $ curl -X DELETE https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/ permissions-config/users/557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a

HTTP/1.1 204 ```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param selectedUserId This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDeleteRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDeleteExecute ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDeleteExecute(r RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGet(ctx context.Context, repoSlug string, selectedUserId string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGetRequest

RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGet Get an explicit user permission for a repository

Returns the explicit user permission for a given user and repository.

Only users with admin permission for the repository may access this resource.

Permissions can be:

* `admin` * `write` * `read` * `none`

Example:

``` $ curl 'https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/

permissions-config/users/557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a'

HTTP/1.1 200 Location: 'https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/

permissions-config/users/557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a'
{
    "type": "repository_user_permission",
    "user": {
        "type": "user",
        "display_name": "Colin Cameron",
        "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}",
        "account_id": "557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a"
    },
    "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "atlassian_tutorial/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
    },
    "permission": "admin",
    "links": {
        "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/
                     permissions-config/users/557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a"
        }
    }
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param selectedUserId This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGetExecute ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGetExecute(r RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGetRequest) (*RepositoryUserPermission, *http.Response, error)

Execute executes the request

@return RepositoryUserPermission

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPut ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPut(ctx context.Context, repoSlug string, selectedUserId string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPutRequest

RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPut Update an explicit user permission for a repository

Updates the explicit user permission for a given user and repository. The selected user must be a member of the workspace, and cannot be the workspace owner. Only users with admin permission for the repository may access this resource.

The only authentication method for this endpoint is via app passwords.

Permissions can be:

* `admin` * `write` * `read`

Example:

``` $ curl -X PUT -H "Content-Type: application/json" 'https://api.bitbucket.org/2.0/repositories/ atlassian_tutorial/geordi/permissions-config/users/557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a'

-d         '{
    "permission": "write"
}'

HTTP/1.1 200 Location: 'https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/ permissions-config/users/557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a'

{
    "type": "repository_user_permission",
    "user": {
        "type": "user",
        "display_name": "Colin Cameron",
        "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}",
        "account_id": "557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a"
    },
    "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "atlassian_tutorial/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
    },
    "permission": "write",
    "links": {
        "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian_tutorial/geordi/
                     permissions-config/users/557058:ba8948b2-49da-43a9-9e8b-e7249b8e324a"
        }
    }
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param selectedUserId This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPutRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPutExecute ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPutExecute(r RepositoriesApiRepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPutRequest) (*RepositoryUserPermission, *http.Response, error)

Execute executes the request

@return RepositoryUserPermission

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPost ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPost(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugPostRequest

RepositoriesWorkspaceRepoSlugPost Create a repository

Creates a new repository.

Note: In order to set the project for the newly created repository, pass in either the project key or the project UUID as part of the request body as shown in the examples below:

```

$ curl -X POST -H "Content-Type: application/json" -d '{
    "scm": "git",
    "project": {
        "key": "MARS"
    }
}' https://api.bitbucket.org/2.0/repositories/teamsinspace/hablanding

```

or

```

$ curl -X POST -H "Content-Type: application/json" -d '{
    "scm": "git",
    "project": {
        "key": "{ba516952-992a-4c2d-acbd-17d502922f96}"
    }
}' https://api.bitbucket.org/2.0/repositories/teamsinspace/hablanding

```

The project must be assigned for all repositories. If the project is not provided, the repository is automatically assigned to the oldest project in the workspace.

Note: In the examples above, the workspace ID `teamsinspace`, and/or the repository name `hablanding` can be replaced by UUIDs.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugPostRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPostExecute ¶

Execute executes the request

@return Repository

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPut ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugPut(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugPutRequest

RepositoriesWorkspaceRepoSlugPut Update a repository

Since this endpoint can be used to both update and to create a repository, the request body depends on the intent.

#### Creation

See the POST documentation for the repository endpoint for an example of the request body.

#### Update

Note: Changing the `name` of the repository will cause the location to be changed. This is because the URL of the repo is derived from the name (a process called slugification). In such a scenario, it is possible for the request to fail if the newly created slug conflicts with an existing repository's slug. But if there is no conflict, the new location will be returned in the `Location` header of the response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugPutRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugPutExecute ¶

Execute executes the request

@return Repository

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugSrcCommitPathGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugSrcCommitPathGet(ctx context.Context, commit string, path string, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest

RepositoriesWorkspaceRepoSlugSrcCommitPathGet Get file or directory contents

This endpoints is used to retrieve the contents of a single file, or the contents of a directory at a specified revision.

#### Raw file contents

When `path` points to a file, this endpoint returns the raw contents. The response's Content-Type is derived from the filename extension (not from the contents). The file contents are not processed and no character encoding/recoding is performed and as a result no character encoding is included as part of the Content-Type.

The `Content-Disposition` header will be "attachment" to prevent browsers from running executable files.

If the file is managed by LFS, then a 301 redirect pointing to Atlassian's media services platform is returned.

The response includes an ETag that is based on the contents of the file and its attributes. This means that an empty `__init__.py` always returns the same ETag, regardless on the directory it lives in, or the commit it is on.

#### File meta data

When the request for a file path includes the query parameter `?format=meta`, instead of returning the file's raw contents, Bitbucket instead returns the JSON object describing the file's properties:

```javascript $ curl https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef/tests/__init__.py?format=meta

{
  "links": {
    "self": {
      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/__init__.py"
    },
    "meta": {
      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/__init__.py?format=meta"
    }
  },
  "path": "tests/__init__.py",
  "commit": {
    "type": "commit",
    "hash": "eefd5ef5d3df01aed629f650959d6706d54cd335",
    "links": {
      "self": {
        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/commit/eefd5ef5d3df01aed629f650959d6706d54cd335"
      },
      "html": {
        "href": "https://bitbucket.org/atlassian/bbql/commits/eefd5ef5d3df01aed629f650959d6706d54cd335"
      }
    }
  },
  "attributes": [],
  "type": "commit_file",
  "size": 0
}

```

File objects contain an `attributes` element that contains a list of possible modifiers. Currently defined values are:

  • `link` -- indicates that the entry is a symbolic link. The contents of the file represent the path the link points to.
  • `executable` -- indicates that the file has the executable bit set.
  • `subrepository` -- indicates that the entry points to a submodule or subrepo. The contents of the file is the SHA1 of the repository pointed to.
  • `binary` -- indicates whether Bitbucket thinks the file is binary.

This endpoint can provide an alternative to how a HEAD request can be used to check for the existence of a file, or a file's size without incurring the overhead of receiving its full contents.

#### Directory listings

When `path` points to a directory instead of a file, the response is a paginated list of directory and file objects in the same order as the underlying SCM system would return them.

For example:

```javascript $ curl https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef/tests

{
  "pagelen": 10,
  "values": [
    {
      "path": "tests/test_project",
      "type": "commit_directory",
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/test_project/"
        },
        "meta": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/test_project/?format=meta"
        }
      },
      "commit": {
        "type": "commit",
        "hash": "eefd5ef5d3df01aed629f650959d6706d54cd335",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/commit/eefd5ef5d3df01aed629f650959d6706d54cd335"
          },
          "html": {
            "href": "https://bitbucket.org/atlassian/bbql/commits/eefd5ef5d3df01aed629f650959d6706d54cd335"
          }
        }
      }
    },
    {
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/__init__.py"
        },
        "meta": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/__init__.py?format=meta"
        }
      },
      "path": "tests/__init__.py",
      "commit": {
        "type": "commit",
        "hash": "eefd5ef5d3df01aed629f650959d6706d54cd335",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/commit/eefd5ef5d3df01aed629f650959d6706d54cd335"
          },
          "html": {
            "href": "https://bitbucket.org/atlassian/bbql/commits/eefd5ef5d3df01aed629f650959d6706d54cd335"
          }
        }
      },
      "attributes": [],
      "type": "commit_file",
      "size": 0
    }
  ],
  "page": 1,
  "size": 2
}

```

When listing the contents of the repo's root directory, the use of a trailing slash at the end of the URL is required.

The response by default is not recursive, meaning that only the direct contents of a path are returned. The response does not recurse down into subdirectories. In order to "walk" the entire directory tree, the client can either parse each response and follow the `self` links of each `commit_directory` object, or can specify a `max_depth` to recurse to.

The max_depth parameter will do a breadth-first search to return the contents of the subdirectories up to the depth specified. Breadth-first search was chosen as it leads to the least amount of file system operations for git. If the `max_depth` parameter is specified to be too large, the call will time out and return a 555.

Each returned object is either a `commit_file`, or a `commit_directory`, both of which contain a `path` element. This path is the absolute path from the root of the repository. Each object also contains a `commit` object which embeds the commit the file is on. Note that this is merely the commit that was used in the URL. It is *not* the commit that last modified the file.

Directory objects have 2 representations. Their `self` link returns the paginated contents of the directory. The `meta` link on the other hand returns the actual `directory` object itself, e.g.:

```javascript

{
  "path": "tests/test_project",
  "type": "commit_directory",
  "links": {
    "self": {
      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/test_project/"
    },
    "meta": {
      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/test_project/?format=meta"
    }
  },
  "commit": { ... }
}

```

#### Querying, filtering and sorting

Like most API endpoints, this API supports the Bitbucket querying/filtering syntax and so you could filter a directory listing to only include entries that match certain criteria. For instance, to list all binary files over 1kb use the expression:

`size > 1024 and attributes = "binary"`

which after urlencoding yields the query string:

`?q=size%3E1024+and+attributes%3D%22binary%22`

To change the ordering of the response, use the `?sort` parameter:

`.../src/eefd5ef/?sort=-size`

See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param path Path to the file.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugSrcCommitPathGetExecute ¶

Execute executes the request

@return PaginatedTreeentries

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugSrcGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugSrcGet(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugSrcGetRequest

RepositoriesWorkspaceRepoSlugSrcGet Get the root directory of the main branch

This endpoint redirects the client to the directory listing of the root directory on the main branch.

This is equivalent to directly hitting [/2.0/repositories/{username}/{repo_slug}/src/{commit}/{path}](src/%7Bcommit%7D/%7Bpath%7D) without having to know the name or SHA1 of the repo's main branch.

To create new commits, [POST to this endpoint](#post)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugSrcGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugSrcGetExecute ¶

Execute executes the request

@return PaginatedTreeentries

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugSrcPost ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugSrcPost(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest

RepositoriesWorkspaceRepoSlugSrcPost Create a commit by uploading a file

This endpoint is used to create new commits in the repository by uploading files.

To add a new file to a repository:

```

$ curl https://api.bitbucket.org/2.0/repositories/username/slug/src \
  -F /repo/path/to/image.png=@image.png

```

This will create a new commit on top of the main branch, inheriting the contents of the main branch, but adding (or overwriting) the `image.png` file to the repository in the `/repo/path/to` directory.

To create a commit that deletes files, use the `files` parameter:

```

$ curl https://api.bitbucket.org/2.0/repositories/username/slug/src \
  -F files=/file/to/delete/1.txt \
  -F files=/file/to/delete/2.txt

```

You can add/modify/delete multiple files in a request. Rename/move a file by deleting the old path and adding the content at the new path.

This endpoint accepts `multipart/form-data` (as in the examples above), as well as `application/x-www-form-urlencoded`.

#### multipart/form-data

A `multipart/form-data` post contains a series of "form fields" that identify both the individual files that are being uploaded, as well as additional, optional meta data.

Files are uploaded in file form fields (those that have a `Content-Disposition` parameter) whose field names point to the remote path in the repository where the file should be stored. Path field names are always interpreted to be absolute from the root of the repository, regardless whether the client uses a leading slash (as the above `curl` example did).

File contents are treated as bytes and are not decoded as text.

The commit message, as well as other non-file meta data for the request, is sent along as normal form field elements. Meta data fields share the same namespace as the file objects. For `multipart/form-data` bodies that should not lead to any ambiguity, as the `Content-Disposition` header will contain the `filename` parameter to distinguish between a file named "message" and the commit message field.

#### application/x-www-form-urlencoded

It is also possible to upload new files using a simple `application/x-www-form-urlencoded` POST. This can be convenient when uploading pure text files:

```

$ curl https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src \
  --data-urlencode "/path/to/me.txt=Lorem ipsum." \
  --data-urlencode "message=Initial commit" \
  --data-urlencode "author=Erik van Zijst <erik.van.zijst@gmail.com>"

```

There could be a field name clash if a client were to upload a file named "message", as this filename clashes with the meta data property for the commit message. To avoid this and to upload files whose names clash with the meta data properties, use a leading slash for the files, e.g. `curl --data-urlencode "/message=file contents"`.

When an explicit slash is omitted for a file whose path matches that of a meta data parameter, then it is interpreted as meta data, not as a file.

#### Executables and links

While this API aims to facilitate the most common use cases, it is possible to perform some more advanced operations like creating a new symlink in the repository, or creating an executable file.

Files can be supplied with a `x-attributes` value in the `Content-Disposition` header. For example, to upload an executable file, as well as create a symlink from `README.txt` to `README`:

``` --===============1438169132528273974== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-ID: "bin/shutdown.sh" Content-Disposition: attachment; filename="shutdown.sh"; x-attributes:"executable"

#!/bin/sh halt

--===============1438169132528273974== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-ID: "/README.txt" Content-Disposition: attachment; filename="README.txt"; x-attributes:"link"

README --===============1438169132528273974==-- ```

Links are files that contain the target path and have `x-attributes:"link"` set.

When overwriting links with files, or vice versa, the newly uploaded file determines both the new contents, as well as the attributes. That means uploading a file without specifying `x-attributes="link"` will create a regular file, even if the parent commit hosted a symlink at the same path.

The same applies to executables. When modifying an existing executable file, the form-data file element must include `x-attributes="executable"` in order to preserve the executable status of the file.

Note that this API does not support the creation or manipulation of subrepos / submodules.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugSrcPostExecute ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugSrcPostExecute(r RepositoriesApiRepositoriesWorkspaceRepoSlugSrcPostRequest) (*http.Response, error)

Execute executes the request

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugWatchersGet ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugWatchersGet(ctx context.Context, repoSlug string, workspace string) RepositoriesApiRepositoriesWorkspaceRepoSlugWatchersGetRequest

RepositoriesWorkspaceRepoSlugWatchersGet List repositories watchers

Returns a paginated list of all the watchers on the specified repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return RepositoriesApiRepositoriesWorkspaceRepoSlugWatchersGetRequest

func (*RepositoriesApiService) RepositoriesWorkspaceRepoSlugWatchersGetExecute ¶

func (a *RepositoriesApiService) RepositoriesWorkspaceRepoSlugWatchersGetExecute(r RepositoriesApiRepositoriesWorkspaceRepoSlugWatchersGetRequest) (*http.Response, error)

Execute executes the request

func (*RepositoriesApiService) UserPermissionsRepositoriesGet ¶

UserPermissionsRepositoriesGet List repository permissions for a user

Returns an object for each repository the caller has explicit access to and their effective permission — the highest level of permission the caller has. This does not return public repositories that the user was not granted any specific permission in, and does not distinguish between explicit and implicit privileges.

Permissions can be:

* `admin` * `write` * `read`

Example:

``` $ curl https://api.bitbucket.org/2.0/user/permissions/repositories

{
  "pagelen": 10,
  "values": [
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "nickname": "evzijst",
        "display_name": "Erik van Zijst",
        "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}"
      },
      "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "bitbucket/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
      },
      "permission": "admin"
    }
  ],
  "page": 1,
  "size": 1
}

```

Results may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by repository or permission by adding the following query string parameters:

* `q=repository.name="geordi"` or `q=permission>"read"` * `sort=repository.name`

Note that the query parameter values need to be URL escaped so that `=` would become `%3D`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return RepositoriesApiUserPermissionsRepositoriesGetRequest

func (*RepositoriesApiService) UserPermissionsRepositoriesGetExecute ¶

Execute executes the request

@return PaginatedRepositoryPermissions

type RepositoriesApiUserPermissionsRepositoriesGetRequest ¶

type RepositoriesApiUserPermissionsRepositoriesGetRequest struct {
	ApiService *RepositoriesApiService
	// contains filtered or unexported fields
}

func (RepositoriesApiUserPermissionsRepositoriesGetRequest) Execute ¶

func (RepositoriesApiUserPermissionsRepositoriesGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (RepositoriesApiUserPermissionsRepositoriesGetRequest) Sort ¶

Name of a response property sort the result by as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

type Repository ¶

type Repository struct {
	Links *RepositoryLinks `json:"links,omitempty"`
	// The repository's immutable id. This can be used as a substitute for the slug segment in URLs. Doing this guarantees your URLs will survive renaming of the repository by its owner, or even transfer of the repository to a different user.
	Uuid *string `json:"uuid,omitempty"`
	// The concatenation of the repository owner's username and the slugified name, e.g. \"evzijst/interruptingcow\". This is the same string used in Bitbucket URLs.
	FullName    *string     `json:"full_name,omitempty"`
	IsPrivate   *bool       `json:"is_private,omitempty"`
	Parent      *Repository `json:"parent,omitempty"`
	Scm         *string     `json:"scm,omitempty"`
	Owner       *Account    `json:"owner,omitempty"`
	Name        *string     `json:"name,omitempty"`
	Description *string     `json:"description,omitempty"`
	CreatedOn   *time.Time  `json:"created_on,omitempty"`
	UpdatedOn   *time.Time  `json:"updated_on,omitempty"`
	Size        *int32      `json:"size,omitempty"`
	Language    *string     `json:"language,omitempty"`
	HasIssues   *bool       `json:"has_issues,omitempty"`
	HasWiki     *bool       `json:"has_wiki,omitempty"`
	//  Controls the rules for forking this repository.  * **allow_forks**: unrestricted forking * **no_public_forks**: restrict forking to private forks (forks cannot   be made public later) * **no_forks**: deny all forking
	ForkPolicy           *string  `json:"fork_policy,omitempty"`
	Project              *Project `json:"project,omitempty"`
	Mainbranch           *Branch  `json:"mainbranch,omitempty"`
	AdditionalProperties map[string]interface{}
}

Repository A Bitbucket repository.

func NewRepository ¶

func NewRepository() *Repository

NewRepository instantiates a new Repository object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRepositoryWithDefaults ¶

func NewRepositoryWithDefaults() *Repository

NewRepositoryWithDefaults instantiates a new Repository object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Repository) GetCreatedOn ¶

func (o *Repository) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Repository) GetCreatedOnOk ¶

func (o *Repository) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetDescription ¶

func (o *Repository) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*Repository) GetDescriptionOk ¶

func (o *Repository) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetForkPolicy ¶

func (o *Repository) GetForkPolicy() string

GetForkPolicy returns the ForkPolicy field value if set, zero value otherwise.

func (*Repository) GetForkPolicyOk ¶

func (o *Repository) GetForkPolicyOk() (*string, bool)

GetForkPolicyOk returns a tuple with the ForkPolicy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetFullName ¶

func (o *Repository) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*Repository) GetFullNameOk ¶

func (o *Repository) GetFullNameOk() (*string, bool)

GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetHasIssues ¶

func (o *Repository) GetHasIssues() bool

GetHasIssues returns the HasIssues field value if set, zero value otherwise.

func (*Repository) GetHasIssuesOk ¶

func (o *Repository) GetHasIssuesOk() (*bool, bool)

GetHasIssuesOk returns a tuple with the HasIssues field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetHasWiki ¶

func (o *Repository) GetHasWiki() bool

GetHasWiki returns the HasWiki field value if set, zero value otherwise.

func (*Repository) GetHasWikiOk ¶

func (o *Repository) GetHasWikiOk() (*bool, bool)

GetHasWikiOk returns a tuple with the HasWiki field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetIsPrivate ¶

func (o *Repository) GetIsPrivate() bool

GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.

func (*Repository) GetIsPrivateOk ¶

func (o *Repository) GetIsPrivateOk() (*bool, bool)

GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetLanguage ¶

func (o *Repository) GetLanguage() string

GetLanguage returns the Language field value if set, zero value otherwise.

func (*Repository) GetLanguageOk ¶

func (o *Repository) GetLanguageOk() (*string, bool)

GetLanguageOk returns a tuple with the Language field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Repository) GetLinks() RepositoryLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Repository) GetLinksOk ¶

func (o *Repository) GetLinksOk() (*RepositoryLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetMainbranch ¶

func (o *Repository) GetMainbranch() Branch

GetMainbranch returns the Mainbranch field value if set, zero value otherwise.

func (*Repository) GetMainbranchOk ¶

func (o *Repository) GetMainbranchOk() (*Branch, bool)

GetMainbranchOk returns a tuple with the Mainbranch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetName ¶

func (o *Repository) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Repository) GetNameOk ¶

func (o *Repository) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetOwner ¶

func (o *Repository) GetOwner() Account

GetOwner returns the Owner field value if set, zero value otherwise.

func (*Repository) GetOwnerOk ¶

func (o *Repository) GetOwnerOk() (*Account, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetParent ¶

func (o *Repository) GetParent() Repository

GetParent returns the Parent field value if set, zero value otherwise.

func (*Repository) GetParentOk ¶

func (o *Repository) GetParentOk() (*Repository, bool)

GetParentOk returns a tuple with the Parent field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetProject ¶

func (o *Repository) GetProject() Project

GetProject returns the Project field value if set, zero value otherwise.

func (*Repository) GetProjectOk ¶

func (o *Repository) GetProjectOk() (*Project, bool)

GetProjectOk returns a tuple with the Project field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetScm ¶

func (o *Repository) GetScm() string

GetScm returns the Scm field value if set, zero value otherwise.

func (*Repository) GetScmOk ¶

func (o *Repository) GetScmOk() (*string, bool)

GetScmOk returns a tuple with the Scm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetSize ¶

func (o *Repository) GetSize() int32

GetSize returns the Size field value if set, zero value otherwise.

func (*Repository) GetSizeOk ¶

func (o *Repository) GetSizeOk() (*int32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetUpdatedOn ¶

func (o *Repository) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*Repository) GetUpdatedOnOk ¶

func (o *Repository) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) GetUuid ¶

func (o *Repository) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Repository) GetUuidOk ¶

func (o *Repository) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Repository) HasCreatedOn ¶

func (o *Repository) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Repository) HasDescription ¶

func (o *Repository) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Repository) HasForkPolicy ¶

func (o *Repository) HasForkPolicy() bool

HasForkPolicy returns a boolean if a field has been set.

func (*Repository) HasFullName ¶

func (o *Repository) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*Repository) HasHasIssues ¶

func (o *Repository) HasHasIssues() bool

HasHasIssues returns a boolean if a field has been set.

func (*Repository) HasHasWiki ¶

func (o *Repository) HasHasWiki() bool

HasHasWiki returns a boolean if a field has been set.

func (*Repository) HasIsPrivate ¶

func (o *Repository) HasIsPrivate() bool

HasIsPrivate returns a boolean if a field has been set.

func (*Repository) HasLanguage ¶

func (o *Repository) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (o *Repository) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Repository) HasMainbranch ¶

func (o *Repository) HasMainbranch() bool

HasMainbranch returns a boolean if a field has been set.

func (*Repository) HasName ¶

func (o *Repository) HasName() bool

HasName returns a boolean if a field has been set.

func (*Repository) HasOwner ¶

func (o *Repository) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*Repository) HasParent ¶

func (o *Repository) HasParent() bool

HasParent returns a boolean if a field has been set.

func (*Repository) HasProject ¶

func (o *Repository) HasProject() bool

HasProject returns a boolean if a field has been set.

func (*Repository) HasScm ¶

func (o *Repository) HasScm() bool

HasScm returns a boolean if a field has been set.

func (*Repository) HasSize ¶

func (o *Repository) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*Repository) HasUpdatedOn ¶

func (o *Repository) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*Repository) HasUuid ¶

func (o *Repository) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (Repository) MarshalJSON ¶

func (o Repository) MarshalJSON() ([]byte, error)

func (*Repository) SetCreatedOn ¶

func (o *Repository) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Repository) SetDescription ¶

func (o *Repository) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*Repository) SetForkPolicy ¶

func (o *Repository) SetForkPolicy(v string)

SetForkPolicy gets a reference to the given string and assigns it to the ForkPolicy field.

func (*Repository) SetFullName ¶

func (o *Repository) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*Repository) SetHasIssues ¶

func (o *Repository) SetHasIssues(v bool)

SetHasIssues gets a reference to the given bool and assigns it to the HasIssues field.

func (*Repository) SetHasWiki ¶

func (o *Repository) SetHasWiki(v bool)

SetHasWiki gets a reference to the given bool and assigns it to the HasWiki field.

func (*Repository) SetIsPrivate ¶

func (o *Repository) SetIsPrivate(v bool)

SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.

func (*Repository) SetLanguage ¶

func (o *Repository) SetLanguage(v string)

SetLanguage gets a reference to the given string and assigns it to the Language field.

func (o *Repository) SetLinks(v RepositoryLinks)

SetLinks gets a reference to the given RepositoryLinks and assigns it to the Links field.

func (*Repository) SetMainbranch ¶

func (o *Repository) SetMainbranch(v Branch)

SetMainbranch gets a reference to the given Branch and assigns it to the Mainbranch field.

func (*Repository) SetName ¶

func (o *Repository) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Repository) SetOwner ¶

func (o *Repository) SetOwner(v Account)

SetOwner gets a reference to the given Account and assigns it to the Owner field.

func (*Repository) SetParent ¶

func (o *Repository) SetParent(v Repository)

SetParent gets a reference to the given Repository and assigns it to the Parent field.

func (*Repository) SetProject ¶

func (o *Repository) SetProject(v Project)

SetProject gets a reference to the given Project and assigns it to the Project field.

func (*Repository) SetScm ¶

func (o *Repository) SetScm(v string)

SetScm gets a reference to the given string and assigns it to the Scm field.

func (*Repository) SetSize ¶

func (o *Repository) SetSize(v int32)

SetSize gets a reference to the given int32 and assigns it to the Size field.

func (*Repository) SetUpdatedOn ¶

func (o *Repository) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*Repository) SetUuid ¶

func (o *Repository) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*Repository) UnmarshalJSON ¶ added in v0.0.3

func (o *Repository) UnmarshalJSON(bytes []byte) (err error)

type RepositoryGroupPermission ¶

type RepositoryGroupPermission struct {
	Type                 string                       `json:"type"`
	Links                *BranchingModelSettingsLinks `json:"links,omitempty"`
	Permission           *string                      `json:"permission,omitempty"`
	Group                *Group                       `json:"group,omitempty"`
	Repository           *Repository                  `json:"repository,omitempty"`
	AdditionalProperties map[string]interface{}
}

RepositoryGroupPermission A group's permission for a given repository.

func NewRepositoryGroupPermission ¶

func NewRepositoryGroupPermission() *RepositoryGroupPermission

NewRepositoryGroupPermission instantiates a new RepositoryGroupPermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRepositoryGroupPermissionWithDefaults ¶

func NewRepositoryGroupPermissionWithDefaults() *RepositoryGroupPermission

NewRepositoryGroupPermissionWithDefaults instantiates a new RepositoryGroupPermission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RepositoryGroupPermission) GetGroup ¶

func (o *RepositoryGroupPermission) GetGroup() Group

GetGroup returns the Group field value if set, zero value otherwise.

func (*RepositoryGroupPermission) GetGroupOk ¶

func (o *RepositoryGroupPermission) GetGroupOk() (*Group, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

GetLinks returns the Links field value if set, zero value otherwise.

func (*RepositoryGroupPermission) GetLinksOk ¶

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryGroupPermission) GetPermission ¶

func (o *RepositoryGroupPermission) GetPermission() string

GetPermission returns the Permission field value if set, zero value otherwise.

func (*RepositoryGroupPermission) GetPermissionOk ¶

func (o *RepositoryGroupPermission) GetPermissionOk() (*string, bool)

GetPermissionOk returns a tuple with the Permission field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryGroupPermission) GetRepository ¶

func (o *RepositoryGroupPermission) GetRepository() Repository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*RepositoryGroupPermission) GetRepositoryOk ¶

func (o *RepositoryGroupPermission) GetRepositoryOk() (*Repository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryGroupPermission) GetType ¶

func (o *RepositoryGroupPermission) GetType() string

GetType returns the Type field value

func (*RepositoryGroupPermission) GetTypeOk ¶

func (o *RepositoryGroupPermission) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RepositoryGroupPermission) HasGroup ¶

func (o *RepositoryGroupPermission) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (o *RepositoryGroupPermission) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RepositoryGroupPermission) HasPermission ¶

func (o *RepositoryGroupPermission) HasPermission() bool

HasPermission returns a boolean if a field has been set.

func (*RepositoryGroupPermission) HasRepository ¶

func (o *RepositoryGroupPermission) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (RepositoryGroupPermission) MarshalJSON ¶

func (o RepositoryGroupPermission) MarshalJSON() ([]byte, error)

func (*RepositoryGroupPermission) SetGroup ¶

func (o *RepositoryGroupPermission) SetGroup(v Group)

SetGroup gets a reference to the given Group and assigns it to the Group field.

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*RepositoryGroupPermission) SetPermission ¶

func (o *RepositoryGroupPermission) SetPermission(v string)

SetPermission gets a reference to the given string and assigns it to the Permission field.

func (*RepositoryGroupPermission) SetRepository ¶

func (o *RepositoryGroupPermission) SetRepository(v Repository)

SetRepository gets a reference to the given Repository and assigns it to the Repository field.

func (*RepositoryGroupPermission) SetType ¶

func (o *RepositoryGroupPermission) SetType(v string)

SetType sets field value

func (*RepositoryGroupPermission) UnmarshalJSON ¶ added in v0.0.3

func (o *RepositoryGroupPermission) UnmarshalJSON(bytes []byte) (err error)
type RepositoryLinks struct {
	Self                 *Link  `json:"self,omitempty"`
	Html                 *Link  `json:"html,omitempty"`
	Avatar               *Link  `json:"avatar,omitempty"`
	Pullrequests         *Link  `json:"pullrequests,omitempty"`
	Commits              *Link  `json:"commits,omitempty"`
	Forks                *Link  `json:"forks,omitempty"`
	Watchers             *Link  `json:"watchers,omitempty"`
	Downloads            *Link  `json:"downloads,omitempty"`
	Clone                []Link `json:"clone,omitempty"`
	Hooks                *Link  `json:"hooks,omitempty"`
	AdditionalProperties map[string]interface{}
}

RepositoryLinks struct for RepositoryLinks

func NewRepositoryLinks() *RepositoryLinks

NewRepositoryLinks instantiates a new RepositoryLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRepositoryLinksWithDefaults ¶

func NewRepositoryLinksWithDefaults() *RepositoryLinks

NewRepositoryLinksWithDefaults instantiates a new RepositoryLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RepositoryLinks) GetAvatar ¶

func (o *RepositoryLinks) GetAvatar() Link

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*RepositoryLinks) GetAvatarOk ¶

func (o *RepositoryLinks) GetAvatarOk() (*Link, bool)

GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryLinks) GetClone ¶

func (o *RepositoryLinks) GetClone() []Link

GetClone returns the Clone field value if set, zero value otherwise.

func (*RepositoryLinks) GetCloneOk ¶

func (o *RepositoryLinks) GetCloneOk() ([]Link, bool)

GetCloneOk returns a tuple with the Clone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryLinks) GetCommits ¶

func (o *RepositoryLinks) GetCommits() Link

GetCommits returns the Commits field value if set, zero value otherwise.

func (*RepositoryLinks) GetCommitsOk ¶

func (o *RepositoryLinks) GetCommitsOk() (*Link, bool)

GetCommitsOk returns a tuple with the Commits field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryLinks) GetDownloads ¶

func (o *RepositoryLinks) GetDownloads() Link

GetDownloads returns the Downloads field value if set, zero value otherwise.

func (*RepositoryLinks) GetDownloadsOk ¶

func (o *RepositoryLinks) GetDownloadsOk() (*Link, bool)

GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryLinks) GetForks ¶

func (o *RepositoryLinks) GetForks() Link

GetForks returns the Forks field value if set, zero value otherwise.

func (*RepositoryLinks) GetForksOk ¶

func (o *RepositoryLinks) GetForksOk() (*Link, bool)

GetForksOk returns a tuple with the Forks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryLinks) GetHooks ¶

func (o *RepositoryLinks) GetHooks() Link

GetHooks returns the Hooks field value if set, zero value otherwise.

func (*RepositoryLinks) GetHooksOk ¶

func (o *RepositoryLinks) GetHooksOk() (*Link, bool)

GetHooksOk returns a tuple with the Hooks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryLinks) GetHtml ¶

func (o *RepositoryLinks) GetHtml() Link

GetHtml returns the Html field value if set, zero value otherwise.

func (*RepositoryLinks) GetHtmlOk ¶

func (o *RepositoryLinks) GetHtmlOk() (*Link, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryLinks) GetPullrequests ¶

func (o *RepositoryLinks) GetPullrequests() Link

GetPullrequests returns the Pullrequests field value if set, zero value otherwise.

func (*RepositoryLinks) GetPullrequestsOk ¶

func (o *RepositoryLinks) GetPullrequestsOk() (*Link, bool)

GetPullrequestsOk returns a tuple with the Pullrequests field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryLinks) GetSelf ¶

func (o *RepositoryLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*RepositoryLinks) GetSelfOk ¶

func (o *RepositoryLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryLinks) GetWatchers ¶

func (o *RepositoryLinks) GetWatchers() Link

GetWatchers returns the Watchers field value if set, zero value otherwise.

func (*RepositoryLinks) GetWatchersOk ¶

func (o *RepositoryLinks) GetWatchersOk() (*Link, bool)

GetWatchersOk returns a tuple with the Watchers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryLinks) HasAvatar ¶

func (o *RepositoryLinks) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*RepositoryLinks) HasClone ¶

func (o *RepositoryLinks) HasClone() bool

HasClone returns a boolean if a field has been set.

func (*RepositoryLinks) HasCommits ¶

func (o *RepositoryLinks) HasCommits() bool

HasCommits returns a boolean if a field has been set.

func (*RepositoryLinks) HasDownloads ¶

func (o *RepositoryLinks) HasDownloads() bool

HasDownloads returns a boolean if a field has been set.

func (*RepositoryLinks) HasForks ¶

func (o *RepositoryLinks) HasForks() bool

HasForks returns a boolean if a field has been set.

func (*RepositoryLinks) HasHooks ¶

func (o *RepositoryLinks) HasHooks() bool

HasHooks returns a boolean if a field has been set.

func (*RepositoryLinks) HasHtml ¶

func (o *RepositoryLinks) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (*RepositoryLinks) HasPullrequests ¶

func (o *RepositoryLinks) HasPullrequests() bool

HasPullrequests returns a boolean if a field has been set.

func (*RepositoryLinks) HasSelf ¶

func (o *RepositoryLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (*RepositoryLinks) HasWatchers ¶

func (o *RepositoryLinks) HasWatchers() bool

HasWatchers returns a boolean if a field has been set.

func (RepositoryLinks) MarshalJSON ¶

func (o RepositoryLinks) MarshalJSON() ([]byte, error)

func (*RepositoryLinks) SetAvatar ¶

func (o *RepositoryLinks) SetAvatar(v Link)

SetAvatar gets a reference to the given Link and assigns it to the Avatar field.

func (*RepositoryLinks) SetClone ¶

func (o *RepositoryLinks) SetClone(v []Link)

SetClone gets a reference to the given []Link and assigns it to the Clone field.

func (*RepositoryLinks) SetCommits ¶

func (o *RepositoryLinks) SetCommits(v Link)

SetCommits gets a reference to the given Link and assigns it to the Commits field.

func (*RepositoryLinks) SetDownloads ¶

func (o *RepositoryLinks) SetDownloads(v Link)

SetDownloads gets a reference to the given Link and assigns it to the Downloads field.

func (*RepositoryLinks) SetForks ¶

func (o *RepositoryLinks) SetForks(v Link)

SetForks gets a reference to the given Link and assigns it to the Forks field.

func (*RepositoryLinks) SetHooks ¶

func (o *RepositoryLinks) SetHooks(v Link)

SetHooks gets a reference to the given Link and assigns it to the Hooks field.

func (*RepositoryLinks) SetHtml ¶

func (o *RepositoryLinks) SetHtml(v Link)

SetHtml gets a reference to the given Link and assigns it to the Html field.

func (*RepositoryLinks) SetPullrequests ¶

func (o *RepositoryLinks) SetPullrequests(v Link)

SetPullrequests gets a reference to the given Link and assigns it to the Pullrequests field.

func (*RepositoryLinks) SetSelf ¶

func (o *RepositoryLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*RepositoryLinks) SetWatchers ¶

func (o *RepositoryLinks) SetWatchers(v Link)

SetWatchers gets a reference to the given Link and assigns it to the Watchers field.

func (*RepositoryLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *RepositoryLinks) UnmarshalJSON(bytes []byte) (err error)

type RepositoryPermission ¶

type RepositoryPermission struct {
	Type                 string      `json:"type"`
	Permission           *string     `json:"permission,omitempty"`
	User                 *User       `json:"user,omitempty"`
	Repository           *Repository `json:"repository,omitempty"`
	AdditionalProperties map[string]interface{}
}

RepositoryPermission A user's permission for a given repository.

func NewRepositoryPermission ¶

func NewRepositoryPermission() *RepositoryPermission

NewRepositoryPermission instantiates a new RepositoryPermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRepositoryPermissionWithDefaults ¶

func NewRepositoryPermissionWithDefaults() *RepositoryPermission

NewRepositoryPermissionWithDefaults instantiates a new RepositoryPermission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RepositoryPermission) GetPermission ¶

func (o *RepositoryPermission) GetPermission() string

GetPermission returns the Permission field value if set, zero value otherwise.

func (*RepositoryPermission) GetPermissionOk ¶

func (o *RepositoryPermission) GetPermissionOk() (*string, bool)

GetPermissionOk returns a tuple with the Permission field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryPermission) GetRepository ¶

func (o *RepositoryPermission) GetRepository() Repository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*RepositoryPermission) GetRepositoryOk ¶

func (o *RepositoryPermission) GetRepositoryOk() (*Repository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryPermission) GetType ¶

func (o *RepositoryPermission) GetType() string

GetType returns the Type field value

func (*RepositoryPermission) GetTypeOk ¶

func (o *RepositoryPermission) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RepositoryPermission) GetUser ¶

func (o *RepositoryPermission) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*RepositoryPermission) GetUserOk ¶

func (o *RepositoryPermission) GetUserOk() (*User, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryPermission) HasPermission ¶

func (o *RepositoryPermission) HasPermission() bool

HasPermission returns a boolean if a field has been set.

func (*RepositoryPermission) HasRepository ¶

func (o *RepositoryPermission) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (*RepositoryPermission) HasUser ¶

func (o *RepositoryPermission) HasUser() bool

HasUser returns a boolean if a field has been set.

func (RepositoryPermission) MarshalJSON ¶

func (o RepositoryPermission) MarshalJSON() ([]byte, error)

func (*RepositoryPermission) SetPermission ¶

func (o *RepositoryPermission) SetPermission(v string)

SetPermission gets a reference to the given string and assigns it to the Permission field.

func (*RepositoryPermission) SetRepository ¶

func (o *RepositoryPermission) SetRepository(v Repository)

SetRepository gets a reference to the given Repository and assigns it to the Repository field.

func (*RepositoryPermission) SetType ¶

func (o *RepositoryPermission) SetType(v string)

SetType sets field value

func (*RepositoryPermission) SetUser ¶

func (o *RepositoryPermission) SetUser(v User)

SetUser gets a reference to the given User and assigns it to the User field.

func (*RepositoryPermission) UnmarshalJSON ¶ added in v0.0.3

func (o *RepositoryPermission) UnmarshalJSON(bytes []byte) (err error)

type RepositoryUserPermission ¶

type RepositoryUserPermission struct {
	Type                 string                       `json:"type"`
	Permission           *string                      `json:"permission,omitempty"`
	User                 *User                        `json:"user,omitempty"`
	Repository           *Repository                  `json:"repository,omitempty"`
	Links                *BranchingModelSettingsLinks `json:"links,omitempty"`
	AdditionalProperties map[string]interface{}
}

RepositoryUserPermission A user's direct permission for a given repository.

func NewRepositoryUserPermission ¶

func NewRepositoryUserPermission() *RepositoryUserPermission

NewRepositoryUserPermission instantiates a new RepositoryUserPermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRepositoryUserPermissionWithDefaults ¶

func NewRepositoryUserPermissionWithDefaults() *RepositoryUserPermission

NewRepositoryUserPermissionWithDefaults instantiates a new RepositoryUserPermission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetLinks returns the Links field value if set, zero value otherwise.

func (*RepositoryUserPermission) GetLinksOk ¶

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryUserPermission) GetPermission ¶

func (o *RepositoryUserPermission) GetPermission() string

GetPermission returns the Permission field value if set, zero value otherwise.

func (*RepositoryUserPermission) GetPermissionOk ¶

func (o *RepositoryUserPermission) GetPermissionOk() (*string, bool)

GetPermissionOk returns a tuple with the Permission field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryUserPermission) GetRepository ¶

func (o *RepositoryUserPermission) GetRepository() Repository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*RepositoryUserPermission) GetRepositoryOk ¶

func (o *RepositoryUserPermission) GetRepositoryOk() (*Repository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RepositoryUserPermission) GetType ¶

func (o *RepositoryUserPermission) GetType() string

GetType returns the Type field value

func (*RepositoryUserPermission) GetTypeOk ¶

func (o *RepositoryUserPermission) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*RepositoryUserPermission) GetUser ¶

func (o *RepositoryUserPermission) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*RepositoryUserPermission) GetUserOk ¶

func (o *RepositoryUserPermission) GetUserOk() (*User, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *RepositoryUserPermission) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RepositoryUserPermission) HasPermission ¶

func (o *RepositoryUserPermission) HasPermission() bool

HasPermission returns a boolean if a field has been set.

func (*RepositoryUserPermission) HasRepository ¶

func (o *RepositoryUserPermission) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (*RepositoryUserPermission) HasUser ¶

func (o *RepositoryUserPermission) HasUser() bool

HasUser returns a boolean if a field has been set.

func (RepositoryUserPermission) MarshalJSON ¶

func (o RepositoryUserPermission) MarshalJSON() ([]byte, error)

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*RepositoryUserPermission) SetPermission ¶

func (o *RepositoryUserPermission) SetPermission(v string)

SetPermission gets a reference to the given string and assigns it to the Permission field.

func (*RepositoryUserPermission) SetRepository ¶

func (o *RepositoryUserPermission) SetRepository(v Repository)

SetRepository gets a reference to the given Repository and assigns it to the Repository field.

func (*RepositoryUserPermission) SetType ¶

func (o *RepositoryUserPermission) SetType(v string)

SetType sets field value

func (*RepositoryUserPermission) SetUser ¶

func (o *RepositoryUserPermission) SetUser(v User)

SetUser gets a reference to the given User and assigns it to the User field.

func (*RepositoryUserPermission) UnmarshalJSON ¶ added in v0.0.3

func (o *RepositoryUserPermission) UnmarshalJSON(bytes []byte) (err error)

type SearchApiSearchAccountRequest ¶

type SearchApiSearchAccountRequest struct {
	ApiService *SearchApiService
	// contains filtered or unexported fields
}

func (SearchApiSearchAccountRequest) Execute ¶

func (SearchApiSearchAccountRequest) Page ¶

Which page of the search results to retrieve

func (SearchApiSearchAccountRequest) Pagelen ¶

How many search results to retrieve per page

func (SearchApiSearchAccountRequest) SearchQuery ¶

The search query

type SearchApiSearchTeamRequest ¶

type SearchApiSearchTeamRequest struct {
	ApiService *SearchApiService
	// contains filtered or unexported fields
}

func (SearchApiSearchTeamRequest) Execute ¶

func (SearchApiSearchTeamRequest) Page ¶

Which page of the search results to retrieve

func (SearchApiSearchTeamRequest) Pagelen ¶

How many search results to retrieve per page

func (SearchApiSearchTeamRequest) SearchQuery ¶

The search query

type SearchApiSearchWorkspaceRequest ¶

type SearchApiSearchWorkspaceRequest struct {
	ApiService *SearchApiService
	// contains filtered or unexported fields
}

func (SearchApiSearchWorkspaceRequest) Execute ¶

func (SearchApiSearchWorkspaceRequest) Page ¶

Which page of the search results to retrieve

func (SearchApiSearchWorkspaceRequest) Pagelen ¶

How many search results to retrieve per page

func (SearchApiSearchWorkspaceRequest) SearchQuery ¶

The search query

type SearchApiService ¶

type SearchApiService service

SearchApiService SearchApi service

func (*SearchApiService) SearchAccount ¶

func (a *SearchApiService) SearchAccount(ctx context.Context, selectedUser string) SearchApiSearchAccountRequest

SearchAccount Search for code in a user's repositories

Search for code in the repositories of the specified user.

Searching across all repositories:

``` curl 'https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/search/code?search_query=foo'

{
  "size": 1,
  "page": 1,
  "pagelen": 10,
  "query_substituted": false,
  "values": [
    {
      "type": "code_search_result",
      "content_match_count": 2,
      "content_matches": [
        {
          "lines": [
            {
              "line": 2,
              "segments": []
            },
            {
              "line": 3,
              "segments": [
                {
                  "text": "def "
                },
                {
                  "text": "foo",
                  "match": true
                },
                {
                  "text": "():"
                }
              ]
            },
            {
              "line": 4,
              "segments": [
                {
                  "text": "    print(\"snek\")"
                }
              ]
            },
            {
              "line": 5,
              "segments": []
            }
          ]
        }
      ],
      "path_matches": [
        {
          "text": "src/"
        },
        {
          "text": "foo",
          "match": true
        },
        {
          "text": ".py"
        }
      ],
      "file": {
        "path": "src/foo.py",
        "type": "commit_file",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo/src/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b/src/foo.py"
          }
        }
      }
    }
  ]
}

```

Note that searches can match in the file's text (`content_matches`), the path (`path_matches`), or both as in the example above.

You can use the same syntax for the search query as in the UI, e.g. to only search within a specific repository:

``` curl 'https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/search/code?search_query=foo+repo:demo' # results from the "demo" repository ```

Similar to other APIs, you can request more fields using a `fields` query parameter. E.g. to get some more information about the repository of matched files (the `%2B` is a URL-encoded `+`):

```

curl 'https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/search/code'\
     '?search_query=foo&fields=%2Bvalues.file.commit.repository'
{
  "size": 1,
  "page": 1,
  "pagelen": 10,
  "query_substituted": false,
  "values": [
    {
      "type": "code_search_result",
      "content_match_count": 1,
      "content_matches": [...],
      "path_matches": [...],
      "file": {
        "commit": {
          "type": "commit",
          "hash": "ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b",
          "links": {
            "self": {
              "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo/commit/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b"
            },
            "html": {
              "href": "https://bitbucket.org/my-workspace/demo/commits/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b"
            }
          },
          "repository": {
            "name": "demo",
            "type": "repository",
            "full_name": "my-workspace/demo",
            "links": {
              "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo"
              },
              "html": {
                "href": "https://bitbucket.org/my-workspace/demo"
              },
              "avatar": {
                "href": "https://bytebucket.org/ravatar/%7B850e1749-781a-4115-9316-df39d0600e7a%7D?ts=default"
              }
            },
            "uuid": "{850e1749-781a-4115-9316-df39d0600e7a}"
          }
        },
        "type": "commit_file",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo/src/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b/src/foo.py"
          }
        },
        "path": "src/foo.py"
      }
    }
  ]
}

```

Try `fields=%2Bvalues.*.*.*.*` to get an idea what's possible.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID.
@return SearchApiSearchAccountRequest

func (*SearchApiService) SearchAccountExecute ¶

Execute executes the request

@return SearchResultPage

func (*SearchApiService) SearchTeam ¶

func (a *SearchApiService) SearchTeam(ctx context.Context, username string) SearchApiSearchTeamRequest

SearchTeam Search for code in a team's repositories

Search for code in the repositories of the specified team.

Searching across all repositories:

``` curl 'https://api.bitbucket.org/2.0/teams/team_name/search/code?search_query=foo'

{
  "size": 1,
  "page": 1,
  "pagelen": 10,
  "query_substituted": false,
  "values": [
    {
      "type": "code_search_result",
      "content_match_count": 2,
      "content_matches": [
        {
          "lines": [
            {
              "line": 2,
              "segments": []
            },
            {
              "line": 3,
              "segments": [
                {
                  "text": "def "
                },
                {
                  "text": "foo",
                  "match": true
                },
                {
                  "text": "():"
                }
              ]
            },
            {
              "line": 4,
              "segments": [
                {
                  "text": "    print(\"snek\")"
                }
              ]
            },
            {
              "line": 5,
              "segments": []
            }
          ]
        }
      ],
      "path_matches": [
        {
          "text": "src/"
        },
        {
          "text": "foo",
          "match": true
        },
        {
          "text": ".py"
        }
      ],
      "file": {
        "path": "src/foo.py",
        "type": "commit_file",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo/src/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b/src/foo.py"
          }
        }
      }
    }
  ]
}

```

Note that searches can match in the file's text (`content_matches`), the path (`path_matches`), or both as in the example above.

You can use the same syntax for the search query as in the UI, e.g. to only search within a specific repository:

``` curl 'https://api.bitbucket.org/2.0/teams/team_name/search/code?search_query=foo+repo:demo' # results from the "demo" repository ```

Similar to other APIs, you can request more fields using a `fields` query parameter. E.g. to get some more information about the repository of matched files (the `%2B` is a URL-encoded `+`):

```

curl 'https://api.bitbucket.org/2.0/teams/team_name/search/code'\
     '?search_query=foo&fields=%2Bvalues.file.commit.repository'
{
  "size": 1,
  "page": 1,
  "pagelen": 10,
  "query_substituted": false,
  "values": [
    {
      "type": "code_search_result",
      "content_match_count": 1,
      "content_matches": [...],
      "path_matches": [...],
      "file": {
        "commit": {
          "type": "commit",
          "hash": "ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b",
          "links": {
            "self": {
              "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo/commit/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b"
            },
            "html": {
              "href": "https://bitbucket.org/my-workspace/demo/commits/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b"
            }
          },
          "repository": {
            "name": "demo",
            "type": "repository",
            "full_name": "my-workspace/demo",
            "links": {
              "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo"
              },
              "html": {
                "href": "https://bitbucket.org/my-workspace/demo"
              },
              "avatar": {
                "href": "https://bytebucket.org/ravatar/%7B850e1749-781a-4115-9316-df39d0600e7a%7D?ts=default"
              }
            },
            "uuid": "{850e1749-781a-4115-9316-df39d0600e7a}"
          }
        },
        "type": "commit_file",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo/src/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b/src/foo.py"
          }
        },
        "path": "src/foo.py"
      }
    }
  ]
}

```

Try `fields=%2Bvalues.*.*.*.*` to get an idea what's possible.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username The account to search in; either the username or the UUID in curly braces
@return SearchApiSearchTeamRequest

func (*SearchApiService) SearchTeamExecute ¶

Execute executes the request

@return SearchResultPage

func (*SearchApiService) SearchWorkspace ¶

func (a *SearchApiService) SearchWorkspace(ctx context.Context, workspace string) SearchApiSearchWorkspaceRequest

SearchWorkspace Search for code in a workspace

Search for code in the repositories of the specified workspace.

Searching across all repositories:

``` curl 'https://api.bitbucket.org/2.0/workspaces/workspace_slug_or_uuid/search/code?search_query=foo'

{
  "size": 1,
  "page": 1,
  "pagelen": 10,
  "query_substituted": false,
  "values": [
    {
      "type": "code_search_result",
      "content_match_count": 2,
      "content_matches": [
        {
          "lines": [
            {
              "line": 2,
              "segments": []
            },
            {
              "line": 3,
              "segments": [
                {
                  "text": "def "
                },
                {
                  "text": "foo",
                  "match": true
                },
                {
                  "text": "():"
                }
              ]
            },
            {
              "line": 4,
              "segments": [
                {
                  "text": "    print(\"snek\")"
                }
              ]
            },
            {
              "line": 5,
              "segments": []
            }
          ]
        }
      ],
      "path_matches": [
        {
          "text": "src/"
        },
        {
          "text": "foo",
          "match": true
        },
        {
          "text": ".py"
        }
      ],
      "file": {
        "path": "src/foo.py",
        "type": "commit_file",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo/src/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b/src/foo.py"
          }
        }
      }
    }
  ]
}

```

Note that searches can match in the file's text (`content_matches`), the path (`path_matches`), or both as in the example above.

You can use the same syntax for the search query as in the UI, e.g. to only search within a specific repository:

``` curl 'https://api.bitbucket.org/2.0/workspaces/my-workspace/search/code?search_query=foo+repo:demo' # results from the "demo" repository ```

Similar to other APIs, you can request more fields using a `fields` query parameter. E.g. to get some more information about the repository of matched files (the `%2B` is a URL-encoded `+`):

```

curl 'https://api.bitbucket.org/2.0/workspaces/my-workspace/search/code'\
     '?search_query=foo&fields=%2Bvalues.file.commit.repository'
{
  "size": 1,
  "page": 1,
  "pagelen": 10,
  "query_substituted": false,
  "values": [
    {
      "type": "code_search_result",
      "content_match_count": 1,
      "content_matches": [...],
      "path_matches": [...],
      "file": {
        "commit": {
          "type": "commit",
          "hash": "ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b",
          "links": {
            "self": {
              "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo/commit/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b"
            },
            "html": {
              "href": "https://bitbucket.org/my-workspace/demo/commits/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b"
            }
          },
          "repository": {
            "name": "demo",
            "type": "repository",
            "full_name": "my-workspace/demo",
            "links": {
              "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo"
              },
              "html": {
                "href": "https://bitbucket.org/my-workspace/demo"
              },
              "avatar": {
                "href": "https://bytebucket.org/ravatar/%7B850e1749-781a-4115-9316-df39d0600e7a%7D?ts=default"
              }
            },
            "uuid": "{850e1749-781a-4115-9316-df39d0600e7a}"
          }
        },
        "type": "commit_file",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/my-workspace/demo/src/ad6964b5fe2880dbd9ddcad1c89000f1dbcbc24b/src/foo.py"
          }
        },
        "path": "src/foo.py"
      }
    }
  ]
}

```

Try `fields=%2Bvalues.*.*.*.*` to get an idea what's possible.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace The workspace to search in; either the slug or the UUID in curly braces
@return SearchApiSearchWorkspaceRequest

func (*SearchApiService) SearchWorkspaceExecute ¶

Execute executes the request

@return SearchResultPage

type SearchCodeSearchResult ¶

type SearchCodeSearchResult struct {
	Type                 *string              `json:"type,omitempty"`
	ContentMatchCount    *int64               `json:"content_match_count,omitempty"`
	ContentMatches       []SearchContentMatch `json:"content_matches,omitempty"`
	PathMatches          []SearchSegment      `json:"path_matches,omitempty"`
	File                 *CommitFile          `json:"file,omitempty"`
	AdditionalProperties map[string]interface{}
}

SearchCodeSearchResult struct for SearchCodeSearchResult

func NewSearchCodeSearchResult ¶

func NewSearchCodeSearchResult() *SearchCodeSearchResult

NewSearchCodeSearchResult instantiates a new SearchCodeSearchResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSearchCodeSearchResultWithDefaults ¶

func NewSearchCodeSearchResultWithDefaults() *SearchCodeSearchResult

NewSearchCodeSearchResultWithDefaults instantiates a new SearchCodeSearchResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SearchCodeSearchResult) GetContentMatchCount ¶

func (o *SearchCodeSearchResult) GetContentMatchCount() int64

GetContentMatchCount returns the ContentMatchCount field value if set, zero value otherwise.

func (*SearchCodeSearchResult) GetContentMatchCountOk ¶

func (o *SearchCodeSearchResult) GetContentMatchCountOk() (*int64, bool)

GetContentMatchCountOk returns a tuple with the ContentMatchCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchCodeSearchResult) GetContentMatches ¶

func (o *SearchCodeSearchResult) GetContentMatches() []SearchContentMatch

GetContentMatches returns the ContentMatches field value if set, zero value otherwise.

func (*SearchCodeSearchResult) GetContentMatchesOk ¶

func (o *SearchCodeSearchResult) GetContentMatchesOk() ([]SearchContentMatch, bool)

GetContentMatchesOk returns a tuple with the ContentMatches field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchCodeSearchResult) GetFile ¶

func (o *SearchCodeSearchResult) GetFile() CommitFile

GetFile returns the File field value if set, zero value otherwise.

func (*SearchCodeSearchResult) GetFileOk ¶

func (o *SearchCodeSearchResult) GetFileOk() (*CommitFile, bool)

GetFileOk returns a tuple with the File field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchCodeSearchResult) GetPathMatches ¶

func (o *SearchCodeSearchResult) GetPathMatches() []SearchSegment

GetPathMatches returns the PathMatches field value if set, zero value otherwise.

func (*SearchCodeSearchResult) GetPathMatchesOk ¶

func (o *SearchCodeSearchResult) GetPathMatchesOk() ([]SearchSegment, bool)

GetPathMatchesOk returns a tuple with the PathMatches field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchCodeSearchResult) GetType ¶

func (o *SearchCodeSearchResult) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*SearchCodeSearchResult) GetTypeOk ¶

func (o *SearchCodeSearchResult) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchCodeSearchResult) HasContentMatchCount ¶

func (o *SearchCodeSearchResult) HasContentMatchCount() bool

HasContentMatchCount returns a boolean if a field has been set.

func (*SearchCodeSearchResult) HasContentMatches ¶

func (o *SearchCodeSearchResult) HasContentMatches() bool

HasContentMatches returns a boolean if a field has been set.

func (*SearchCodeSearchResult) HasFile ¶

func (o *SearchCodeSearchResult) HasFile() bool

HasFile returns a boolean if a field has been set.

func (*SearchCodeSearchResult) HasPathMatches ¶

func (o *SearchCodeSearchResult) HasPathMatches() bool

HasPathMatches returns a boolean if a field has been set.

func (*SearchCodeSearchResult) HasType ¶

func (o *SearchCodeSearchResult) HasType() bool

HasType returns a boolean if a field has been set.

func (SearchCodeSearchResult) MarshalJSON ¶

func (o SearchCodeSearchResult) MarshalJSON() ([]byte, error)

func (*SearchCodeSearchResult) SetContentMatchCount ¶

func (o *SearchCodeSearchResult) SetContentMatchCount(v int64)

SetContentMatchCount gets a reference to the given int64 and assigns it to the ContentMatchCount field.

func (*SearchCodeSearchResult) SetContentMatches ¶

func (o *SearchCodeSearchResult) SetContentMatches(v []SearchContentMatch)

SetContentMatches gets a reference to the given []SearchContentMatch and assigns it to the ContentMatches field.

func (*SearchCodeSearchResult) SetFile ¶

func (o *SearchCodeSearchResult) SetFile(v CommitFile)

SetFile gets a reference to the given CommitFile and assigns it to the File field.

func (*SearchCodeSearchResult) SetPathMatches ¶

func (o *SearchCodeSearchResult) SetPathMatches(v []SearchSegment)

SetPathMatches gets a reference to the given []SearchSegment and assigns it to the PathMatches field.

func (*SearchCodeSearchResult) SetType ¶

func (o *SearchCodeSearchResult) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*SearchCodeSearchResult) UnmarshalJSON ¶ added in v0.0.3

func (o *SearchCodeSearchResult) UnmarshalJSON(bytes []byte) (err error)

type SearchContentMatch ¶

type SearchContentMatch struct {
	Lines                []SearchLine `json:"lines,omitempty"`
	AdditionalProperties map[string]interface{}
}

SearchContentMatch struct for SearchContentMatch

func NewSearchContentMatch ¶

func NewSearchContentMatch() *SearchContentMatch

NewSearchContentMatch instantiates a new SearchContentMatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSearchContentMatchWithDefaults ¶

func NewSearchContentMatchWithDefaults() *SearchContentMatch

NewSearchContentMatchWithDefaults instantiates a new SearchContentMatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SearchContentMatch) GetLines ¶

func (o *SearchContentMatch) GetLines() []SearchLine

GetLines returns the Lines field value if set, zero value otherwise.

func (*SearchContentMatch) GetLinesOk ¶

func (o *SearchContentMatch) GetLinesOk() ([]SearchLine, bool)

GetLinesOk returns a tuple with the Lines field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchContentMatch) HasLines ¶

func (o *SearchContentMatch) HasLines() bool

HasLines returns a boolean if a field has been set.

func (SearchContentMatch) MarshalJSON ¶

func (o SearchContentMatch) MarshalJSON() ([]byte, error)

func (*SearchContentMatch) SetLines ¶

func (o *SearchContentMatch) SetLines(v []SearchLine)

SetLines gets a reference to the given []SearchLine and assigns it to the Lines field.

func (*SearchContentMatch) UnmarshalJSON ¶ added in v0.0.3

func (o *SearchContentMatch) UnmarshalJSON(bytes []byte) (err error)

type SearchLine ¶

type SearchLine struct {
	Line                 *int32          `json:"line,omitempty"`
	Segments             []SearchSegment `json:"segments,omitempty"`
	AdditionalProperties map[string]interface{}
}

SearchLine struct for SearchLine

func NewSearchLine ¶

func NewSearchLine() *SearchLine

NewSearchLine instantiates a new SearchLine object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSearchLineWithDefaults ¶

func NewSearchLineWithDefaults() *SearchLine

NewSearchLineWithDefaults instantiates a new SearchLine object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SearchLine) GetLine ¶

func (o *SearchLine) GetLine() int32

GetLine returns the Line field value if set, zero value otherwise.

func (*SearchLine) GetLineOk ¶

func (o *SearchLine) GetLineOk() (*int32, bool)

GetLineOk returns a tuple with the Line field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchLine) GetSegments ¶

func (o *SearchLine) GetSegments() []SearchSegment

GetSegments returns the Segments field value if set, zero value otherwise.

func (*SearchLine) GetSegmentsOk ¶

func (o *SearchLine) GetSegmentsOk() ([]SearchSegment, bool)

GetSegmentsOk returns a tuple with the Segments field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchLine) HasLine ¶

func (o *SearchLine) HasLine() bool

HasLine returns a boolean if a field has been set.

func (*SearchLine) HasSegments ¶

func (o *SearchLine) HasSegments() bool

HasSegments returns a boolean if a field has been set.

func (SearchLine) MarshalJSON ¶

func (o SearchLine) MarshalJSON() ([]byte, error)

func (*SearchLine) SetLine ¶

func (o *SearchLine) SetLine(v int32)

SetLine gets a reference to the given int32 and assigns it to the Line field.

func (*SearchLine) SetSegments ¶

func (o *SearchLine) SetSegments(v []SearchSegment)

SetSegments gets a reference to the given []SearchSegment and assigns it to the Segments field.

func (*SearchLine) UnmarshalJSON ¶ added in v0.0.3

func (o *SearchLine) UnmarshalJSON(bytes []byte) (err error)

type SearchResultPage ¶

type SearchResultPage struct {
	Size                 *int64                   `json:"size,omitempty"`
	Page                 *int32                   `json:"page,omitempty"`
	Pagelen              *int32                   `json:"pagelen,omitempty"`
	QuerySubstituted     *bool                    `json:"query_substituted,omitempty"`
	Next                 *string                  `json:"next,omitempty"`
	Previous             *string                  `json:"previous,omitempty"`
	Values               []SearchCodeSearchResult `json:"values,omitempty"`
	AdditionalProperties map[string]interface{}
}

SearchResultPage struct for SearchResultPage

func NewSearchResultPage ¶

func NewSearchResultPage() *SearchResultPage

NewSearchResultPage instantiates a new SearchResultPage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSearchResultPageWithDefaults ¶

func NewSearchResultPageWithDefaults() *SearchResultPage

NewSearchResultPageWithDefaults instantiates a new SearchResultPage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SearchResultPage) GetNext ¶

func (o *SearchResultPage) GetNext() string

GetNext returns the Next field value if set, zero value otherwise.

func (*SearchResultPage) GetNextOk ¶

func (o *SearchResultPage) GetNextOk() (*string, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchResultPage) GetPage ¶

func (o *SearchResultPage) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*SearchResultPage) GetPageOk ¶

func (o *SearchResultPage) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchResultPage) GetPagelen ¶

func (o *SearchResultPage) GetPagelen() int32

GetPagelen returns the Pagelen field value if set, zero value otherwise.

func (*SearchResultPage) GetPagelenOk ¶

func (o *SearchResultPage) GetPagelenOk() (*int32, bool)

GetPagelenOk returns a tuple with the Pagelen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchResultPage) GetPrevious ¶

func (o *SearchResultPage) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*SearchResultPage) GetPreviousOk ¶

func (o *SearchResultPage) GetPreviousOk() (*string, bool)

GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchResultPage) GetQuerySubstituted ¶

func (o *SearchResultPage) GetQuerySubstituted() bool

GetQuerySubstituted returns the QuerySubstituted field value if set, zero value otherwise.

func (*SearchResultPage) GetQuerySubstitutedOk ¶

func (o *SearchResultPage) GetQuerySubstitutedOk() (*bool, bool)

GetQuerySubstitutedOk returns a tuple with the QuerySubstituted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchResultPage) GetSize ¶

func (o *SearchResultPage) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*SearchResultPage) GetSizeOk ¶

func (o *SearchResultPage) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchResultPage) GetValues ¶

func (o *SearchResultPage) GetValues() []SearchCodeSearchResult

GetValues returns the Values field value if set, zero value otherwise.

func (*SearchResultPage) GetValuesOk ¶

func (o *SearchResultPage) GetValuesOk() ([]SearchCodeSearchResult, bool)

GetValuesOk returns a tuple with the Values field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchResultPage) HasNext ¶

func (o *SearchResultPage) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*SearchResultPage) HasPage ¶

func (o *SearchResultPage) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*SearchResultPage) HasPagelen ¶

func (o *SearchResultPage) HasPagelen() bool

HasPagelen returns a boolean if a field has been set.

func (*SearchResultPage) HasPrevious ¶

func (o *SearchResultPage) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*SearchResultPage) HasQuerySubstituted ¶

func (o *SearchResultPage) HasQuerySubstituted() bool

HasQuerySubstituted returns a boolean if a field has been set.

func (*SearchResultPage) HasSize ¶

func (o *SearchResultPage) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*SearchResultPage) HasValues ¶

func (o *SearchResultPage) HasValues() bool

HasValues returns a boolean if a field has been set.

func (SearchResultPage) MarshalJSON ¶

func (o SearchResultPage) MarshalJSON() ([]byte, error)

func (*SearchResultPage) SetNext ¶

func (o *SearchResultPage) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*SearchResultPage) SetPage ¶

func (o *SearchResultPage) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*SearchResultPage) SetPagelen ¶

func (o *SearchResultPage) SetPagelen(v int32)

SetPagelen gets a reference to the given int32 and assigns it to the Pagelen field.

func (*SearchResultPage) SetPrevious ¶

func (o *SearchResultPage) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (*SearchResultPage) SetQuerySubstituted ¶

func (o *SearchResultPage) SetQuerySubstituted(v bool)

SetQuerySubstituted gets a reference to the given bool and assigns it to the QuerySubstituted field.

func (*SearchResultPage) SetSize ¶

func (o *SearchResultPage) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*SearchResultPage) SetValues ¶

func (o *SearchResultPage) SetValues(v []SearchCodeSearchResult)

SetValues gets a reference to the given []SearchCodeSearchResult and assigns it to the Values field.

func (*SearchResultPage) UnmarshalJSON ¶ added in v0.0.3

func (o *SearchResultPage) UnmarshalJSON(bytes []byte) (err error)

type SearchSegment ¶

type SearchSegment struct {
	Text                 *string `json:"text,omitempty"`
	Match                *bool   `json:"match,omitempty"`
	AdditionalProperties map[string]interface{}
}

SearchSegment struct for SearchSegment

func NewSearchSegment ¶

func NewSearchSegment() *SearchSegment

NewSearchSegment instantiates a new SearchSegment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSearchSegmentWithDefaults ¶

func NewSearchSegmentWithDefaults() *SearchSegment

NewSearchSegmentWithDefaults instantiates a new SearchSegment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SearchSegment) GetMatch ¶

func (o *SearchSegment) GetMatch() bool

GetMatch returns the Match field value if set, zero value otherwise.

func (*SearchSegment) GetMatchOk ¶

func (o *SearchSegment) GetMatchOk() (*bool, bool)

GetMatchOk returns a tuple with the Match field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSegment) GetText ¶

func (o *SearchSegment) GetText() string

GetText returns the Text field value if set, zero value otherwise.

func (*SearchSegment) GetTextOk ¶

func (o *SearchSegment) GetTextOk() (*string, bool)

GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SearchSegment) HasMatch ¶

func (o *SearchSegment) HasMatch() bool

HasMatch returns a boolean if a field has been set.

func (*SearchSegment) HasText ¶

func (o *SearchSegment) HasText() bool

HasText returns a boolean if a field has been set.

func (SearchSegment) MarshalJSON ¶

func (o SearchSegment) MarshalJSON() ([]byte, error)

func (*SearchSegment) SetMatch ¶

func (o *SearchSegment) SetMatch(v bool)

SetMatch gets a reference to the given bool and assigns it to the Match field.

func (*SearchSegment) SetText ¶

func (o *SearchSegment) SetText(v string)

SetText gets a reference to the given string and assigns it to the Text field.

func (*SearchSegment) UnmarshalJSON ¶ added in v0.0.3

func (o *SearchSegment) UnmarshalJSON(bytes []byte) (err error)

type ServerConfiguration ¶

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations ¶

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL ¶

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable ¶

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Snippet ¶

type Snippet struct {
	Id    *int32  `json:"id,omitempty"`
	Title *string `json:"title,omitempty"`
	// The DVCS used to store the snippet.
	Scm                  *string    `json:"scm,omitempty"`
	CreatedOn            *time.Time `json:"created_on,omitempty"`
	UpdatedOn            *time.Time `json:"updated_on,omitempty"`
	Owner                *Account   `json:"owner,omitempty"`
	Creator              *Account   `json:"creator,omitempty"`
	IsPrivate            *bool      `json:"is_private,omitempty"`
	AdditionalProperties map[string]interface{}
}

Snippet A snippet object.

func NewSnippet ¶

func NewSnippet() *Snippet

NewSnippet instantiates a new Snippet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSnippetWithDefaults ¶

func NewSnippetWithDefaults() *Snippet

NewSnippetWithDefaults instantiates a new Snippet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Snippet) GetCreatedOn ¶

func (o *Snippet) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Snippet) GetCreatedOnOk ¶

func (o *Snippet) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snippet) GetCreator ¶

func (o *Snippet) GetCreator() Account

GetCreator returns the Creator field value if set, zero value otherwise.

func (*Snippet) GetCreatorOk ¶

func (o *Snippet) GetCreatorOk() (*Account, bool)

GetCreatorOk returns a tuple with the Creator field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snippet) GetId ¶

func (o *Snippet) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Snippet) GetIdOk ¶

func (o *Snippet) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snippet) GetIsPrivate ¶

func (o *Snippet) GetIsPrivate() bool

GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.

func (*Snippet) GetIsPrivateOk ¶

func (o *Snippet) GetIsPrivateOk() (*bool, bool)

GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snippet) GetOwner ¶

func (o *Snippet) GetOwner() Account

GetOwner returns the Owner field value if set, zero value otherwise.

func (*Snippet) GetOwnerOk ¶

func (o *Snippet) GetOwnerOk() (*Account, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snippet) GetScm ¶

func (o *Snippet) GetScm() string

GetScm returns the Scm field value if set, zero value otherwise.

func (*Snippet) GetScmOk ¶

func (o *Snippet) GetScmOk() (*string, bool)

GetScmOk returns a tuple with the Scm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snippet) GetTitle ¶

func (o *Snippet) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*Snippet) GetTitleOk ¶

func (o *Snippet) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snippet) GetUpdatedOn ¶

func (o *Snippet) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*Snippet) GetUpdatedOnOk ¶

func (o *Snippet) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Snippet) HasCreatedOn ¶

func (o *Snippet) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Snippet) HasCreator ¶

func (o *Snippet) HasCreator() bool

HasCreator returns a boolean if a field has been set.

func (*Snippet) HasId ¶

func (o *Snippet) HasId() bool

HasId returns a boolean if a field has been set.

func (*Snippet) HasIsPrivate ¶

func (o *Snippet) HasIsPrivate() bool

HasIsPrivate returns a boolean if a field has been set.

func (*Snippet) HasOwner ¶

func (o *Snippet) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*Snippet) HasScm ¶

func (o *Snippet) HasScm() bool

HasScm returns a boolean if a field has been set.

func (*Snippet) HasTitle ¶

func (o *Snippet) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*Snippet) HasUpdatedOn ¶

func (o *Snippet) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (Snippet) MarshalJSON ¶

func (o Snippet) MarshalJSON() ([]byte, error)

func (*Snippet) SetCreatedOn ¶

func (o *Snippet) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Snippet) SetCreator ¶

func (o *Snippet) SetCreator(v Account)

SetCreator gets a reference to the given Account and assigns it to the Creator field.

func (*Snippet) SetId ¶

func (o *Snippet) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (*Snippet) SetIsPrivate ¶

func (o *Snippet) SetIsPrivate(v bool)

SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.

func (*Snippet) SetOwner ¶

func (o *Snippet) SetOwner(v Account)

SetOwner gets a reference to the given Account and assigns it to the Owner field.

func (*Snippet) SetScm ¶

func (o *Snippet) SetScm(v string)

SetScm gets a reference to the given string and assigns it to the Scm field.

func (*Snippet) SetTitle ¶

func (o *Snippet) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*Snippet) SetUpdatedOn ¶

func (o *Snippet) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*Snippet) UnmarshalJSON ¶ added in v0.0.3

func (o *Snippet) UnmarshalJSON(bytes []byte) (err error)

type SnippetComment ¶

type SnippetComment struct {
	Links                *GroupLinks `json:"links,omitempty"`
	Snippet              *Snippet    `json:"snippet,omitempty"`
	AdditionalProperties map[string]interface{}
}

SnippetComment A comment on a snippet.

func NewSnippetComment ¶

func NewSnippetComment() *SnippetComment

NewSnippetComment instantiates a new SnippetComment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSnippetCommentWithDefaults ¶

func NewSnippetCommentWithDefaults() *SnippetComment

NewSnippetCommentWithDefaults instantiates a new SnippetComment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *SnippetComment) GetLinks() GroupLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*SnippetComment) GetLinksOk ¶

func (o *SnippetComment) GetLinksOk() (*GroupLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SnippetComment) GetSnippet ¶

func (o *SnippetComment) GetSnippet() Snippet

GetSnippet returns the Snippet field value if set, zero value otherwise.

func (*SnippetComment) GetSnippetOk ¶

func (o *SnippetComment) GetSnippetOk() (*Snippet, bool)

GetSnippetOk returns a tuple with the Snippet field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SnippetComment) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*SnippetComment) HasSnippet ¶

func (o *SnippetComment) HasSnippet() bool

HasSnippet returns a boolean if a field has been set.

func (SnippetComment) MarshalJSON ¶

func (o SnippetComment) MarshalJSON() ([]byte, error)
func (o *SnippetComment) SetLinks(v GroupLinks)

SetLinks gets a reference to the given GroupLinks and assigns it to the Links field.

func (*SnippetComment) SetSnippet ¶

func (o *SnippetComment) SetSnippet(v Snippet)

SetSnippet gets a reference to the given Snippet and assigns it to the Snippet field.

func (*SnippetComment) UnmarshalJSON ¶ added in v0.0.3

func (o *SnippetComment) UnmarshalJSON(bytes []byte) (err error)

type SnippetCommit ¶

type SnippetCommit struct {
	Links                *SnippetCommitLinks `json:"links,omitempty"`
	Snippet              *Snippet            `json:"snippet,omitempty"`
	AdditionalProperties map[string]interface{}
}

SnippetCommit

func NewSnippetCommit ¶

func NewSnippetCommit() *SnippetCommit

NewSnippetCommit instantiates a new SnippetCommit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSnippetCommitWithDefaults ¶

func NewSnippetCommitWithDefaults() *SnippetCommit

NewSnippetCommitWithDefaults instantiates a new SnippetCommit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (o *SnippetCommit) GetLinks() SnippetCommitLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*SnippetCommit) GetLinksOk ¶

func (o *SnippetCommit) GetLinksOk() (*SnippetCommitLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SnippetCommit) GetSnippet ¶

func (o *SnippetCommit) GetSnippet() Snippet

GetSnippet returns the Snippet field value if set, zero value otherwise.

func (*SnippetCommit) GetSnippetOk ¶

func (o *SnippetCommit) GetSnippetOk() (*Snippet, bool)

GetSnippetOk returns a tuple with the Snippet field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SnippetCommit) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*SnippetCommit) HasSnippet ¶

func (o *SnippetCommit) HasSnippet() bool

HasSnippet returns a boolean if a field has been set.

func (SnippetCommit) MarshalJSON ¶

func (o SnippetCommit) MarshalJSON() ([]byte, error)
func (o *SnippetCommit) SetLinks(v SnippetCommitLinks)

SetLinks gets a reference to the given SnippetCommitLinks and assigns it to the Links field.

func (*SnippetCommit) SetSnippet ¶

func (o *SnippetCommit) SetSnippet(v Snippet)

SetSnippet gets a reference to the given Snippet and assigns it to the Snippet field.

func (*SnippetCommit) UnmarshalJSON ¶ added in v0.0.3

func (o *SnippetCommit) UnmarshalJSON(bytes []byte) (err error)
type SnippetCommitLinks struct {
	Self                 *Link `json:"self,omitempty"`
	Html                 *Link `json:"html,omitempty"`
	Diff                 *Link `json:"diff,omitempty"`
	AdditionalProperties map[string]interface{}
}

SnippetCommitLinks struct for SnippetCommitLinks

func NewSnippetCommitLinks() *SnippetCommitLinks

NewSnippetCommitLinks instantiates a new SnippetCommitLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSnippetCommitLinksWithDefaults ¶

func NewSnippetCommitLinksWithDefaults() *SnippetCommitLinks

NewSnippetCommitLinksWithDefaults instantiates a new SnippetCommitLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SnippetCommitLinks) GetDiff ¶

func (o *SnippetCommitLinks) GetDiff() Link

GetDiff returns the Diff field value if set, zero value otherwise.

func (*SnippetCommitLinks) GetDiffOk ¶

func (o *SnippetCommitLinks) GetDiffOk() (*Link, bool)

GetDiffOk returns a tuple with the Diff field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SnippetCommitLinks) GetHtml ¶

func (o *SnippetCommitLinks) GetHtml() Link

GetHtml returns the Html field value if set, zero value otherwise.

func (*SnippetCommitLinks) GetHtmlOk ¶

func (o *SnippetCommitLinks) GetHtmlOk() (*Link, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SnippetCommitLinks) GetSelf ¶

func (o *SnippetCommitLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*SnippetCommitLinks) GetSelfOk ¶

func (o *SnippetCommitLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SnippetCommitLinks) HasDiff ¶

func (o *SnippetCommitLinks) HasDiff() bool

HasDiff returns a boolean if a field has been set.

func (*SnippetCommitLinks) HasHtml ¶

func (o *SnippetCommitLinks) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (*SnippetCommitLinks) HasSelf ¶

func (o *SnippetCommitLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (SnippetCommitLinks) MarshalJSON ¶

func (o SnippetCommitLinks) MarshalJSON() ([]byte, error)

func (*SnippetCommitLinks) SetDiff ¶

func (o *SnippetCommitLinks) SetDiff(v Link)

SetDiff gets a reference to the given Link and assigns it to the Diff field.

func (*SnippetCommitLinks) SetHtml ¶

func (o *SnippetCommitLinks) SetHtml(v Link)

SetHtml gets a reference to the given Link and assigns it to the Html field.

func (*SnippetCommitLinks) SetSelf ¶

func (o *SnippetCommitLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*SnippetCommitLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *SnippetCommitLinks) UnmarshalJSON(bytes []byte) (err error)

type SnippetsApiService ¶

type SnippetsApiService service

SnippetsApiService SnippetsApi service

func (*SnippetsApiService) SnippetsGet ¶

SnippetsGet List snippets

Returns all snippets. Like pull requests, repositories and workspaces, the full set of snippets is defined by what the current user has access to.

This includes all snippets owned by any of the workspaces the user is a member of, or snippets by other users that the current user is either watching or has collaborated on (for instance by commenting on it).

To limit the set of returned snippets, apply the `?role=[owner|contributor|member]` query parameter where the roles are defined as follows:

* `owner`: all snippets owned by the current user * `contributor`: all snippets owned by, or watched by the current user * `member`: created in a workspaces or watched by the current user

When no role is specified, all public snippets are returned, as well as all privately owned snippets watched or commented on.

The returned response is a normal paginated JSON list. This endpoint only supports `application/json` responses and no `multipart/form-data` or `multipart/related`. As a result, it is not possible to include the file contents.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return SnippetsApiSnippetsGetRequest

func (*SnippetsApiService) SnippetsGetExecute ¶

Execute executes the request

@return PaginatedSnippets

func (*SnippetsApiService) SnippetsPost ¶

SnippetsPost Create a snippet

Creates a new snippet under the authenticated user's account.

Snippets can contain multiple files. Both text and binary files are supported.

The simplest way to create a new snippet from a local file:

$ curl -u username:password -X POST https://api.bitbucket.org/2.0/snippets               -F file=@image.png

Creating snippets through curl has a few limitations and so let's look at a more complicated scenario.

Snippets are created with a multipart POST. Both `multipart/form-data` and `multipart/related` are supported. Both allow the creation of snippets with both meta data (title, etc), as well as multiple text and binary files.

The main difference is that `multipart/related` can use rich encoding for the meta data (currently JSON).

multipart/related (RFC-2387) ----------------------------

This is the most advanced and efficient way to create a paste.

POST /2.0/snippets/evzijst HTTP/1.1
Content-Length: 1188
Content-Type: multipart/related; start="snippet"; boundary="===============1438169132528273974=="
MIME-Version: 1.0

--===============1438169132528273974==
Content-Type: application/json; charset="utf-8"
MIME-Version: 1.0
Content-ID: snippet

{
  "title": "My snippet",
  "is_private": true,
  "scm": "git",
  "files": {
      "foo.txt": {},
      "image.png": {}
    }
}

--===============1438169132528273974==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-ID: "foo.txt"
Content-Disposition: attachment; filename="foo.txt"

foo

--===============1438169132528273974==
Content-Type: image/png
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-ID: "image.png"
Content-Disposition: attachment; filename="image.png"

iVBORw0KGgoAAAANSUhEUgAAABQAAAAoCAYAAAD+MdrbAAABD0lEQVR4Ae3VMUoDQRTG8ccUaW2m
TKONFxArJYJamCvkCnZTaa+VnQdJSBFl2SMsLFrEWNjZBZs0JgiL/+KrhhVmJRbCLPx4O+/DT2TB
cbblJxf+UWFVVRNsEGAtgvJxnLm2H+A5RQ93uIl+3632PZyl/skjfOn9Gvdwmlcw5aPUwimG+NT5
EnNN036IaZePUuIcK533NVfal7/5yjWeot2z9ta1cAczHEf7I+3J0ws9Cgx0fsOFpmlfwKcWPuBQ
73Oc4FHzBaZ8llq4q1mr5B2mOUCt815qYR8eB1hG2VJ7j35q4RofaH7IG+Xrf/PfJhfmwtfFYoIN
AqxFUD6OMxcvkO+UfKfkOyXfKdsv/AYCHMLVkHAFWgAAAABJRU5ErkJggg==
--===============1438169132528273974==--

The request contains multiple parts and is structured as follows.

The first part is the JSON document that describes the snippet's properties or meta data. It either has to be the first part, or the request's `Content-Type` header must contain the `start` parameter to point to it.

The remaining parts are the files of which there can be zero or more. Each file part should contain the `Content-ID` MIME header through which the JSON meta data's `files` element addresses it. The value should be the name of the file.

`Content-Disposition` is an optional MIME header. The header's optional `filename` parameter can be used to specify the file name that Bitbucket should use when writing the file to disk. When present, `filename` takes precedence over the value of `Content-ID`.

When the JSON body omits the `files` element, the remaining parts are not ignored. Instead, each file is added to the new snippet as if its name was explicitly linked (the use of the `files` elements is mandatory for some operations like deleting or renaming files).

multipart/form-data -------------------

The use of JSON for the snippet's meta data is optional. Meta data can also be supplied as regular form fields in a more conventional `multipart/form-data` request:

$ curl -X POST -u credentials https://api.bitbucket.org/2.0/snippets               -F title="My snippet"               -F file=@foo.txt -F file=@image.png

POST /2.0/snippets HTTP/1.1
Content-Length: 951
Content-Type: multipart/form-data; boundary=----------------------------63a4b224c59f

------------------------------63a4b224c59f
Content-Disposition: form-data; name="file"; filename="foo.txt"
Content-Type: text/plain

foo

------------------------------63a4b224c59f
Content-Disposition: form-data; name="file"; filename="image.png"
Content-Type: application/octet-stream

?PNG

IHDR?1??I.....
------------------------------63a4b224c59f
Content-Disposition: form-data; name="title"

My snippet
------------------------------63a4b224c59f--

Here the meta data properties are included as flat, top-level form fields. The file attachments use the `file` field name. To attach multiple files, simply repeat the field.

The advantage of `multipart/form-data` over `multipart/related` is that it can be easier to build clients.

Essentially all properties are optional, `title` and `files` included.

Sharing and Visibility ----------------------

Snippets can be either public (visible to anyone on Bitbucket, as well as anonymous users), or private (visible only to members of the workspace). This is controlled through the snippet's `is_private` element:

  • **is_private=false** -- everyone, including anonymous users can view the snippet
  • **is_private=true** -- only workspace members can view the snippet

To create the snippet under a workspace, just append the workspace ID to the URL. See [`/2.0/snippets/{workspace}`](/cloud/bitbucket/rest/api-group-snippets/#api-snippets-workspace-post).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return SnippetsApiSnippetsPostRequest

func (*SnippetsApiService) SnippetsPostExecute ¶

Execute executes the request

@return Snippet

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdDelete ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdDelete(ctx context.Context, commentId int32, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdDeleteRequest

SnippetsWorkspaceEncodedIdCommentsCommentIdDelete Delete a comment on a snippet

Deletes a snippet comment.

Comments can only be removed by the comment author, snippet creator, or workspace admin.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commentId The id of the comment.
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdDeleteRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdDeleteExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdDeleteExecute(r SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdGet(ctx context.Context, commentId int32, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdGetRequest

SnippetsWorkspaceEncodedIdCommentsCommentIdGet Get a comment on a snippet

Returns the specific snippet comment.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commentId The id of the comment.
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdGetExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdGetExecute(r SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdGetRequest) (*SnippetComment, *http.Response, error)

Execute executes the request

@return SnippetComment

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdPut ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdPut(ctx context.Context, commentId int32, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdPutRequest

SnippetsWorkspaceEncodedIdCommentsCommentIdPut Update a comment on a snippet

Updates a comment.

Comments can only be updated by their author.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commentId The id of the comment.
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdPutRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdPutExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsCommentIdPutExecute(r SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdPutRequest) (*http.Response, error)

Execute executes the request

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsGet(ctx context.Context, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdCommentsGetRequest

SnippetsWorkspaceEncodedIdCommentsGet List comments on a snippet

Used to retrieve a paginated list of all comments for a specific snippet.

This resource works identical to commit and pull request comments.

The default sorting is oldest to newest and can be overridden with the `sort` query parameter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdCommentsGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsGetExecute ¶

Execute executes the request

@return PaginatedSnippetComments

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsPost ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsPost(ctx context.Context, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdCommentsPostRequest

SnippetsWorkspaceEncodedIdCommentsPost Create a comment on a snippet

Creates a new comment.

The only required field in the body is `content.raw`.

To create a threaded reply to an existing comment, include `parent.id`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdCommentsPostRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsPostExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommentsPostExecute(r SnippetsApiSnippetsWorkspaceEncodedIdCommentsPostRequest) (*Snippet, *http.Response, error)

Execute executes the request

@return Snippet

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommitsGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommitsGet(ctx context.Context, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdCommitsGetRequest

SnippetsWorkspaceEncodedIdCommitsGet List snippet changes

Returns the changes (commits) made on this snippet.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdCommitsGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommitsGetExecute ¶

Execute executes the request

@return PaginatedSnippetCommit

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommitsRevisionGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommitsRevisionGet(ctx context.Context, encodedId string, revision string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdCommitsRevisionGetRequest

SnippetsWorkspaceEncodedIdCommitsRevisionGet Get a previous snippet change

Returns the changes made on this snippet in this commit.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param revision The commit's SHA1.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdCommitsRevisionGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdCommitsRevisionGetExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdCommitsRevisionGetExecute(r SnippetsApiSnippetsWorkspaceEncodedIdCommitsRevisionGetRequest) (*SnippetCommit, *http.Response, error)

Execute executes the request

@return SnippetCommit

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdDelete ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdDelete(ctx context.Context, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdDeleteRequest

SnippetsWorkspaceEncodedIdDelete Delete a snippet

Deletes a snippet and returns an empty response.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdDeleteRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdDeleteExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdDeleteExecute(r SnippetsApiSnippetsWorkspaceEncodedIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdFilesPathGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdFilesPathGet(ctx context.Context, encodedId string, path string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdFilesPathGetRequest

SnippetsWorkspaceEncodedIdFilesPathGet Get a snippet's raw file at HEAD

Convenience resource for getting to a snippet's raw files without the need for first having to retrieve the snippet itself and having to pull out the versioned file links.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param path Path to the file.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdFilesPathGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdFilesPathGetExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdFilesPathGetExecute(r SnippetsApiSnippetsWorkspaceEncodedIdFilesPathGetRequest) (*http.Response, error)

Execute executes the request

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdGet(ctx context.Context, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdGetRequest

SnippetsWorkspaceEncodedIdGet Get a snippet

Retrieves a single snippet.

Snippets support multiple content types:

* application/json * multipart/related * multipart/form-data

application/json ----------------

The default content type of the response is `application/json`. Since JSON is always `utf-8`, it cannot reliably contain file contents for files that are not text. Therefore, JSON snippet documents only contain the filename and links to the file contents.

This means that in order to retrieve all parts of a snippet, N+1 requests need to be made (where N is the number of files in the snippet).

multipart/related -----------------

To retrieve an entire snippet in a single response, use the `Accept: multipart/related` HTTP request header.

$ curl -H "Accept: multipart/related" https://api.bitbucket.org/2.0/snippets/evzijst/1

Response:

HTTP/1.1 200 OK
Content-Length: 2214
Content-Type: multipart/related; start="snippet"; boundary="===============1438169132528273974=="
MIME-Version: 1.0

--===============1438169132528273974==
Content-Type: application/json; charset="utf-8"
MIME-Version: 1.0
Content-ID: snippet

{
  "links": {
    "self": {
      "href": "https://api.bitbucket.org/2.0/snippets/evzijst/kypj"
    },
    "html": {
      "href": "https://bitbucket.org/snippets/evzijst/kypj"
    },
    "comments": {
      "href": "https://api.bitbucket.org/2.0/snippets/evzijst/kypj/comments"
    },
    "watchers": {
      "href": "https://api.bitbucket.org/2.0/snippets/evzijst/kypj/watchers"
    },
    "commits": {
      "href": "https://api.bitbucket.org/2.0/snippets/evzijst/kypj/commits"
    }
  },
  "id": kypj,
  "title": "My snippet",
  "created_on": "2014-12-29T22:22:04.790331+00:00",
  "updated_on": "2014-12-29T22:22:04.790331+00:00",
  "is_private": false,
  "files": {
    "foo.txt": {
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/snippets/evzijst/kypj/files/367ab19/foo.txt"
        },
        "html": {
          "href": "https://bitbucket.org/snippets/evzijst/kypj#file-foo.txt"
        }
      }
    },
    "image.png": {
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/snippets/evzijst/kypj/files/367ab19/image.png"
        },
        "html": {
          "href": "https://bitbucket.org/snippets/evzijst/kypj#file-image.png"
        }
      }
    }
  ],
  "owner": {
    "username": "evzijst",
    "nickname": "evzijst",
    "display_name": "Erik van Zijst",
    "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}",
    "links": {
      "self": {
        "href": "https://api.bitbucket.org/2.0/users/evzijst"
      },
      "html": {
        "href": "https://bitbucket.org/evzijst"
      },
      "avatar": {
        "href": "https://bitbucket-staging-assetroot.s3.amazonaws.com/c/photos/2013/Jul/31/erik-avatar-725122544-0_avatar.png"
      }
    }
  },
  "creator": {
    "username": "evzijst",
    "nickname": "evzijst",
    "display_name": "Erik van Zijst",
    "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}",
    "links": {
      "self": {
        "href": "https://api.bitbucket.org/2.0/users/evzijst"
      },
      "html": {
        "href": "https://bitbucket.org/evzijst"
      },
      "avatar": {
        "href": "https://bitbucket-staging-assetroot.s3.amazonaws.com/c/photos/2013/Jul/31/erik-avatar-725122544-0_avatar.png"
      }
    }
  }
}

--===============1438169132528273974==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-ID: "foo.txt"
Content-Disposition: attachment; filename="foo.txt"

foo

--===============1438169132528273974==
Content-Type: image/png
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-ID: "image.png"
Content-Disposition: attachment; filename="image.png"

iVBORw0KGgoAAAANSUhEUgAAABQAAAAoCAYAAAD+MdrbAAABD0lEQVR4Ae3VMUoDQRTG8ccUaW2m
TKONFxArJYJamCvkCnZTaa+VnQdJSBFl2SMsLFrEWNjZBZs0JgiL/+KrhhVmJRbCLPx4O+/DT2TB
cbblJxf+UWFVVRNsEGAtgvJxnLm2H+A5RQ93uIl+3632PZyl/skjfOn9Gvdwmlcw5aPUwimG+NT5
EnNN036IaZePUuIcK533NVfal7/5yjWeot2z9ta1cAczHEf7I+3J0ws9Cgx0fsOFpmlfwKcWPuBQ
73Oc4FHzBaZ8llq4q1mr5B2mOUCt815qYR8eB1hG2VJ7j35q4RofaH7IG+Xrf/PfJhfmwtfFYoIN
AqxFUD6OMxcvkO+UfKfkOyXfKdsv/AYCHMLVkHAFWgAAAABJRU5ErkJggg==
--===============1438169132528273974==--

multipart/form-data -------------------

As with creating new snippets, `multipart/form-data` can be used as an alternative to `multipart/related`. However, the inherently flat structure of form-data means that only basic, root-level properties can be returned, while nested elements like `links` are omitted:

$ curl -H "Accept: multipart/form-data" https://api.bitbucket.org/2.0/snippets/evzijst/kypj

Response:

   HTTP/1.1 200 OK
   Content-Length: 951
   Content-Type: multipart/form-data; boundary=----------------------------63a4b224c59f

   ------------------------------63a4b224c59f
   Content-Disposition: form-data; name="title"
   Content-Type: text/plain; charset="utf-8"

   My snippet
   ------------------------------63a4b224c59f--
   Content-Disposition: attachment; name="file"; filename="foo.txt"
   Content-Type: text/plain

   foo

   ------------------------------63a4b224c59f
   Content-Disposition: attachment; name="file"; filename="image.png"
   Content-Transfer-Encoding: base64
   Content-Type: application/octet-stream

   iVBORw0KGgoAAAANSUhEUgAAABQAAAAoCAYAAAD+MdrbAAABD0lEQVR4Ae3VMUoDQRTG8ccUaW2m
   TKONFxArJYJamCvkCnZTaa+VnQdJSBFl2SMsLFrEWNjZBZs0JgiL/+KrhhVmJRbCLPx4O+/DT2TB
   cbblJxf+UWFVVRNsEGAtgvJxnLm2H+A5RQ93uIl+3632PZyl/skjfOn9Gvdwmlcw5aPUwimG+NT5
   EnNN036IaZePUuIcK533NVfal7/5yjWeot2z9ta1cAczHEf7I+3J0ws9Cgx0fsOFpmlfwKcWPuBQ
   73Oc4FHzBaZ8llq4q1mr5B2mOUCt815qYR8eB1hG2VJ7j35q4RofaH7IG+Xrf/PfJhfmwtfFYoIN
   AqxFUD6OMxcvkO+UfKfkOyXfKdsv/AYCHMLVkHAFWgAAAABJRU5ErkJggg==
   ------------------------------5957323a6b76--

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdGetExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdGetExecute(r SnippetsApiSnippetsWorkspaceEncodedIdGetRequest) (*Snippet, *http.Response, error)

Execute executes the request

@return Snippet

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdDelete ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdDelete(ctx context.Context, encodedId string, nodeId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdNodeIdDeleteRequest

SnippetsWorkspaceEncodedIdNodeIdDelete Delete a previous revision of a snippet

Deletes the snippet.

Note that this only works for versioned URLs that point to the latest commit of the snippet. Pointing to an older commit results in a 405 status code.

To delete a snippet, regardless of whether or not concurrent changes are being made to it, use `DELETE /snippets/{encoded_id}` instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param nodeId A commit revision (SHA1).
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdNodeIdDeleteRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdDeleteExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdDeleteExecute(r SnippetsApiSnippetsWorkspaceEncodedIdNodeIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdFilesPathGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdFilesPathGet(ctx context.Context, encodedId string, nodeId string, path string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdNodeIdFilesPathGetRequest

SnippetsWorkspaceEncodedIdNodeIdFilesPathGet Get a snippet's raw file

Retrieves the raw contents of a specific file in the snippet. The `Content-Disposition` header will be "attachment" to avoid issues with malevolent executable files.

The file's mime type is derived from its filename and returned in the `Content-Type` header.

Note that for text files, no character encoding is included as part of the content type.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param nodeId A commit revision (SHA1).
@param path Path to the file.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdNodeIdFilesPathGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdFilesPathGetExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdFilesPathGetExecute(r SnippetsApiSnippetsWorkspaceEncodedIdNodeIdFilesPathGetRequest) (*http.Response, error)

Execute executes the request

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdGet(ctx context.Context, encodedId string, nodeId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdNodeIdGetRequest

SnippetsWorkspaceEncodedIdNodeIdGet Get a previous revision of a snippet

Identical to `GET /snippets/encoded_id`, except that this endpoint can be used to retrieve the contents of the snippet as it was at an older revision, while `/snippets/encoded_id` always returns the snippet's current revision.

Note that only the snippet's file contents are versioned, not its meta data properties like the title.

Other than that, the two endpoints are identical in behavior.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param nodeId A commit revision (SHA1).
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdNodeIdGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdGetExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdGetExecute(r SnippetsApiSnippetsWorkspaceEncodedIdNodeIdGetRequest) (*Snippet, *http.Response, error)

Execute executes the request

@return Snippet

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdPut ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdPut(ctx context.Context, encodedId string, nodeId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdNodeIdPutRequest

SnippetsWorkspaceEncodedIdNodeIdPut Update a previous revision of a snippet

Identical to `UPDATE /snippets/encoded_id`, except that this endpoint takes an explicit commit revision. Only the snippet's "HEAD"/"tip" (most recent) version can be updated and requests on all other, older revisions fail by returning a 405 status.

Usage of this endpoint over the unrestricted `/snippets/encoded_id` could be desired if the caller wants to be sure no concurrent modifications have taken place between the moment of the UPDATE request and the original GET.

This can be considered a so-called "Compare And Swap", or CAS operation.

Other than that, the two endpoints are identical in behavior.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param nodeId A commit revision (SHA1).
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdNodeIdPutRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdPutExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdNodeIdPutExecute(r SnippetsApiSnippetsWorkspaceEncodedIdNodeIdPutRequest) (*Snippet, *http.Response, error)

Execute executes the request

@return Snippet

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdPut ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdPut(ctx context.Context, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdPutRequest

SnippetsWorkspaceEncodedIdPut Update a snippet

Used to update a snippet. Use this to add and delete files and to change a snippet's title.

To update a snippet, one can either PUT a full snapshot, or only the parts that need to be changed.

The contract for PUT on this API is that properties missing from the request remain untouched so that snippets can be efficiently manipulated with differential payloads.

To delete a property (e.g. the title, or a file), include its name in the request, but omit its value (use `null`).

As in Git, explicit renaming of files is not supported. Instead, to rename a file, delete it and add it again under another name. This can be done atomically in a single request. Rename detection is left to the SCM.

PUT supports three different content types for both request and response bodies:

* `application/json` * `multipart/related` * `multipart/form-data`

The content type used for the request body can be different than that used for the response. Content types are specified using standard HTTP headers.

Use the `Content-Type` and `Accept` headers to select the desired request and response format.

application/json ----------------

As with creation and retrieval, the content type determines what properties can be manipulated. `application/json` does not support file contents and is therefore limited to a snippet's meta data.

To update the title, without changing any of its files:

$ curl -X POST -H "Content-Type: application/json" https://api.bitbucket.org/2.0/snippets/evzijst/kypj             -d '{"title": "Updated title"}'

To delete the title:

$ curl -X POST -H "Content-Type: application/json" https://api.bitbucket.org/2.0/snippets/evzijst/kypj             -d '{"title": null}'

Not all parts of a snippet can be manipulated. The owner and creator for instance are immutable.

multipart/related -----------------

`multipart/related` can be used to manipulate all of a snippet's properties. The body is identical to a POST. properties omitted from the request are left unchanged. Since the `start` part contains JSON, the mechanism for manipulating the snippet's meta data is identical to `application/json` requests.

To update one of a snippet's file contents, while also changing its title:

PUT /2.0/snippets/evzijst/kypj HTTP/1.1
Content-Length: 288
Content-Type: multipart/related; start="snippet"; boundary="===============1438169132528273974=="
MIME-Version: 1.0

--===============1438169132528273974==
Content-Type: application/json; charset="utf-8"
MIME-Version: 1.0
Content-ID: snippet

{
  "title": "My updated snippet",
  "files": {
      "foo.txt": {}
    }
}

--===============1438169132528273974==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-ID: "foo.txt"
Content-Disposition: attachment; filename="foo.txt"

Updated file contents.

--===============1438169132528273974==--

Here only the parts that are changed are included in the body. The other files remain untouched.

Note the use of the `files` list in the JSON part. This list contains the files that are being manipulated. This list should have corresponding multiparts in the request that contain the new contents of these files.

If a filename in the `files` list does not have a corresponding part, it will be deleted from the snippet, as shown below:

PUT /2.0/snippets/evzijst/kypj HTTP/1.1
Content-Length: 188
Content-Type: multipart/related; start="snippet"; boundary="===============1438169132528273974=="
MIME-Version: 1.0

--===============1438169132528273974==
Content-Type: application/json; charset="utf-8"
MIME-Version: 1.0
Content-ID: snippet

{
  "files": {
    "image.png": {}
  }
}

--===============1438169132528273974==--

To simulate a rename, delete a file and add the same file under another name:

PUT /2.0/snippets/evzijst/kypj HTTP/1.1
Content-Length: 212
Content-Type: multipart/related; start="snippet"; boundary="===============1438169132528273974=="
MIME-Version: 1.0

--===============1438169132528273974==
Content-Type: application/json; charset="utf-8"
MIME-Version: 1.0
Content-ID: snippet

{
    "files": {
      "foo.txt": {},
      "bar.txt": {}
    }
}

--===============1438169132528273974==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-ID: "bar.txt"
Content-Disposition: attachment; filename="bar.txt"

foo

--===============1438169132528273974==--

multipart/form-data -----------------

Again, one can also use `multipart/form-data` to manipulate file contents and meta data atomically.

$ curl -X PUT http://localhost:12345/2.0/snippets/evzijst/kypj             -F title="My updated snippet" -F file=@foo.txt

PUT /2.0/snippets/evzijst/kypj HTTP/1.1
Content-Length: 351
Content-Type: multipart/form-data; boundary=----------------------------63a4b224c59f

------------------------------63a4b224c59f
Content-Disposition: form-data; name="file"; filename="foo.txt"
Content-Type: text/plain

foo

------------------------------63a4b224c59f
Content-Disposition: form-data; name="title"

My updated snippet
------------------------------63a4b224c59f

To delete a file, omit its contents while including its name in the `files` field:

$ curl -X PUT https://api.bitbucket.org/2.0/snippets/evzijst/kypj -F files=image.png

PUT /2.0/snippets/evzijst/kypj HTTP/1.1
Content-Length: 149
Content-Type: multipart/form-data; boundary=----------------------------ef8871065a86

------------------------------ef8871065a86
Content-Disposition: form-data; name="files"

image.png
------------------------------ef8871065a86--

The explicit use of the `files` element in `multipart/related` and `multipart/form-data` is only required when deleting files. The default mode of operation is for file parts to be processed, regardless of whether or not they are listed in `files`, as a convenience to the client.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdPutRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdPutExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdPutExecute(r SnippetsApiSnippetsWorkspaceEncodedIdPutRequest) (*Snippet, *http.Response, error)

Execute executes the request

@return Snippet

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdRevisionDiffGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdRevisionDiffGet(ctx context.Context, encodedId string, revision string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdRevisionDiffGetRequest

SnippetsWorkspaceEncodedIdRevisionDiffGet Get snippet changes between versions

Returns the diff of the specified commit against its first parent.

Note that this resource is different in functionality from the `patch` resource.

The differences between a diff and a patch are:

  • patches have a commit header with the username, message, etc
  • diffs support the optional `path=foo/bar.py` query param to filter the diff to just that one file diff (not supported for patches)
  • for a merge, the diff will show the diff between the merge commit and its first parent (identical to how PRs work), while patch returns a response containing separate patches for each commit on the second parent's ancestry, up to the oldest common ancestor (identical to its reachability).

Note that the character encoding of the contents of the diff is unspecified as Git does not track this, making it hard for Bitbucket to reliably determine this.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param revision A revspec expression. This can simply be a commit SHA1, a ref name, or a compare expression like `staging..production`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdRevisionDiffGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdRevisionDiffGetExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdRevisionDiffGetExecute(r SnippetsApiSnippetsWorkspaceEncodedIdRevisionDiffGetRequest) (*http.Response, error)

Execute executes the request

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdRevisionPatchGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdRevisionPatchGet(ctx context.Context, encodedId string, revision string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdRevisionPatchGetRequest

SnippetsWorkspaceEncodedIdRevisionPatchGet Get snippet patch between versions

Returns the patch of the specified commit against its first parent.

Note that this resource is different in functionality from the `diff` resource.

The differences between a diff and a patch are:

  • patches have a commit header with the username, message, etc
  • diffs support the optional `path=foo/bar.py` query param to filter the diff to just that one file diff (not supported for patches)
  • for a merge, the diff will show the diff between the merge commit and its first parent (identical to how PRs work), while patch returns a response containing separate patches for each commit on the second parent's ancestry, up to the oldest common ancestor (identical to its reachability).

Note that the character encoding of the contents of the patch is unspecified as Git does not track this, making it hard for Bitbucket to reliably determine this.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param revision A revspec expression. This can simply be a commit SHA1, a ref name, or a compare expression like `staging..production`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdRevisionPatchGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdRevisionPatchGetExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdRevisionPatchGetExecute(r SnippetsApiSnippetsWorkspaceEncodedIdRevisionPatchGetRequest) (*http.Response, error)

Execute executes the request

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdWatchDelete ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdWatchDelete(ctx context.Context, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdWatchDeleteRequest

SnippetsWorkspaceEncodedIdWatchDelete Stop watching a snippet

Used to stop watching a specific snippet. Returns 204 (No Content) to indicate success.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdWatchDeleteRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdWatchDeleteExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdWatchDeleteExecute(r SnippetsApiSnippetsWorkspaceEncodedIdWatchDeleteRequest) (*PaginatedUsers, *http.Response, error)

Execute executes the request

@return PaginatedUsers

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdWatchGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdWatchGet(ctx context.Context, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdWatchGetRequest

SnippetsWorkspaceEncodedIdWatchGet Check if the current user is watching a snippet

Used to check if the current user is watching a specific snippet.

Returns 204 (No Content) if the user is watching the snippet and 404 if not.

Hitting this endpoint anonymously always returns a 404.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdWatchGetRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdWatchGetExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdWatchGetExecute(r SnippetsApiSnippetsWorkspaceEncodedIdWatchGetRequest) (*PaginatedUsers, *http.Response, error)

Execute executes the request

@return PaginatedUsers

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdWatchPut ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdWatchPut(ctx context.Context, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdWatchPutRequest

SnippetsWorkspaceEncodedIdWatchPut Watch a snippet

Used to start watching a specific snippet. Returns 204 (No Content).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdWatchPutRequest

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdWatchPutExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdWatchPutExecute(r SnippetsApiSnippetsWorkspaceEncodedIdWatchPutRequest) (*PaginatedUsers, *http.Response, error)

Execute executes the request

@return PaginatedUsers

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdWatchersGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdWatchersGet(ctx context.Context, encodedId string, workspace string) SnippetsApiSnippetsWorkspaceEncodedIdWatchersGetRequest

SnippetsWorkspaceEncodedIdWatchersGet List users watching a snippet

Returns a paginated list of all users watching a specific snippet.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param encodedId The snippet id.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceEncodedIdWatchersGetRequest

Deprecated

func (*SnippetsApiService) SnippetsWorkspaceEncodedIdWatchersGetExecute ¶

func (a *SnippetsApiService) SnippetsWorkspaceEncodedIdWatchersGetExecute(r SnippetsApiSnippetsWorkspaceEncodedIdWatchersGetRequest) (*PaginatedUsers, *http.Response, error)

Execute executes the request

@return PaginatedUsers

Deprecated

func (*SnippetsApiService) SnippetsWorkspaceGet ¶

func (a *SnippetsApiService) SnippetsWorkspaceGet(ctx context.Context, workspace string) SnippetsApiSnippetsWorkspaceGetRequest

SnippetsWorkspaceGet List snippets in a workspace

Identical to [`/snippets`](/cloud/bitbucket/rest/api-group-snippets/#api-snippets-get), except that the result is further filtered by the snippet owner and only those that are owned by `{workspace}` are returned.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspaceGetRequest

func (*SnippetsApiService) SnippetsWorkspaceGetExecute ¶

Execute executes the request

@return PaginatedSnippets

func (*SnippetsApiService) SnippetsWorkspacePost ¶

func (a *SnippetsApiService) SnippetsWorkspacePost(ctx context.Context, workspace string) SnippetsApiSnippetsWorkspacePostRequest

SnippetsWorkspacePost Create a snippet for a workspace

Identical to [`/snippets`](/cloud/bitbucket/rest/api-group-snippets/#api-snippets-post), except that the new snippet will be created under the workspace specified in the path parameter `{workspace}`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SnippetsApiSnippetsWorkspacePostRequest

func (*SnippetsApiService) SnippetsWorkspacePostExecute ¶

func (a *SnippetsApiService) SnippetsWorkspacePostExecute(r SnippetsApiSnippetsWorkspacePostRequest) (*Snippet, *http.Response, error)

Execute executes the request

@return Snippet

type SnippetsApiSnippetsGetRequest ¶

type SnippetsApiSnippetsGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsGetRequest) Execute ¶

func (SnippetsApiSnippetsGetRequest) Role ¶

Filter down the result based on the authenticated user&#39;s role (&#x60;owner&#x60;, &#x60;contributor&#x60;, or &#x60;member&#x60;).

type SnippetsApiSnippetsPostRequest ¶

type SnippetsApiSnippetsPostRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsPostRequest) Body ¶

The new snippet object.

func (SnippetsApiSnippetsPostRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdDeleteRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdDeleteRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdDeleteRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdPutRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdPutRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdCommentsCommentIdPutRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommentsGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommentsGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdCommentsGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommentsPostRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommentsPostRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdCommentsPostRequest) Body ¶

The contents of the new comment.

func (SnippetsApiSnippetsWorkspaceEncodedIdCommentsPostRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommitsGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommitsGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdCommitsGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommitsRevisionGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdCommitsRevisionGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdCommitsRevisionGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdDeleteRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdDeleteRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdDeleteRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdFilesPathGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdFilesPathGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdFilesPathGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdNodeIdDeleteRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdNodeIdDeleteRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdNodeIdDeleteRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdNodeIdFilesPathGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdNodeIdFilesPathGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdNodeIdFilesPathGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdNodeIdGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdNodeIdGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdNodeIdGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdNodeIdPutRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdNodeIdPutRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdNodeIdPutRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdPutRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdPutRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdPutRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdRevisionDiffGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdRevisionDiffGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdRevisionDiffGetRequest) Execute ¶

func (SnippetsApiSnippetsWorkspaceEncodedIdRevisionDiffGetRequest) Path ¶

When used, only one the diff of the specified file will be returned.

type SnippetsApiSnippetsWorkspaceEncodedIdRevisionPatchGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdRevisionPatchGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdRevisionPatchGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdWatchDeleteRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdWatchDeleteRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdWatchDeleteRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdWatchGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdWatchGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdWatchGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdWatchPutRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdWatchPutRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdWatchPutRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceEncodedIdWatchersGetRequest ¶

type SnippetsApiSnippetsWorkspaceEncodedIdWatchersGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceEncodedIdWatchersGetRequest) Execute ¶

type SnippetsApiSnippetsWorkspaceGetRequest ¶

type SnippetsApiSnippetsWorkspaceGetRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspaceGetRequest) Execute ¶

func (SnippetsApiSnippetsWorkspaceGetRequest) Role ¶

Filter down the result based on the authenticated user&#39;s role (&#x60;owner&#x60;, &#x60;contributor&#x60;, or &#x60;member&#x60;).

type SnippetsApiSnippetsWorkspacePostRequest ¶

type SnippetsApiSnippetsWorkspacePostRequest struct {
	ApiService *SnippetsApiService
	// contains filtered or unexported fields
}

func (SnippetsApiSnippetsWorkspacePostRequest) Body ¶

The new snippet object.

func (SnippetsApiSnippetsWorkspacePostRequest) Execute ¶

type SourceApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest ¶

type SourceApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest struct {
	ApiService *SourceApiService
	// contains filtered or unexported fields
}

func (SourceApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest) Execute ¶

func (SourceApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (SourceApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest) Renames ¶

When &#x60;true&#x60;, Bitbucket will follow the history of the file across renames (this is the default behavior). This can be turned off by specifying &#x60;false&#x60;.

func (SourceApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest) Sort ¶

Name of a response property sort the result by as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).

type SourceApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest ¶

type SourceApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest struct {
	ApiService *SourceApiService
	// contains filtered or unexported fields
}

func (SourceApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) Execute ¶

func (SourceApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) Format ¶

If &#39;meta&#39; is provided, returns the (json) meta data for the contents of the file. If &#39;rendered&#39; is provided, returns the contents of a non-binary file in HTML-formatted rendered markup. Since Git does not generally track what text encoding scheme is used, this endpoint attempts to detect the most appropriate character encoding. While usually correct, determining the character encoding can be ambiguous which in exceptional cases can lead to misinterpretation of the characters. As such, the raw element in the response object should not be treated as equivalent to the file&#39;s actual contents.

func (SourceApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) MaxDepth ¶

If provided, returns the contents of the repository and its subdirectories recursively until the specified max_depth of nested directories. When omitted, this defaults to 1.

func (SourceApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) Q ¶

Optional filter expression as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (SourceApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) Sort ¶

Optional sorting parameter as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).

type SourceApiRepositoriesWorkspaceRepoSlugSrcGetRequest ¶

type SourceApiRepositoriesWorkspaceRepoSlugSrcGetRequest struct {
	ApiService *SourceApiService
	// contains filtered or unexported fields
}

func (SourceApiRepositoriesWorkspaceRepoSlugSrcGetRequest) Execute ¶

func (SourceApiRepositoriesWorkspaceRepoSlugSrcGetRequest) Format ¶

Instead of returning the file&#39;s contents, return the (json) meta data for it.

type SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest ¶

type SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest struct {
	ApiService *SourceApiService
	// contains filtered or unexported fields
}

func (SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Author ¶

The raw string to be used as the new commit&#39;s author. This string follows the format &#x60;Erik van Zijst &lt;evzijst@atlassian.com&gt;&#x60;. When omitted, Bitbucket uses the authenticated user&#39;s full/display name and primary email address. Commits cannot be created anonymously.

func (SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Branch ¶

The name of the branch that the new commit should be created on. When omitted, the commit will be created on top of the main branch and will become the main branch&#39;s new head. When a branch name is provided that already exists in the repo, then the commit will be created on top of that branch. In this case, *if* a parent SHA1 was also provided, then it is asserted that the parent is the branch&#39;s tip/HEAD at the time the request is made. When this is not the case, a 409 is returned. When a new branch name is specified (that does not already exist in the repo), and no parent SHA1s are provided, then the new commit will inherit from the current main branch&#39;s tip/HEAD commit, but not advance the main branch. The new commit will be the new branch. When the request *also* specifies a parent SHA1, then the new commit and branch are created directly on top of the parent commit, regardless of the state of the main branch. When a branch name is not specified, but a parent SHA1 is provided, then Bitbucket asserts that it represents the main branch&#39;s current HEAD/tip, or a 409 is returned. When a branch name is not specified and the repo is empty, the new commit will become the repo&#39;s root commit and will be on the main branch. When a branch name is specified and the repo is empty, the new commit will become the repo&#39;s root commit and also define the repo&#39;s main branch going forward. This API cannot be used to create additional root commits in non-empty repos. The branch field cannot be repeated. As a side effect, this API can be used to create a new branch without modifying any files, by specifying a new branch name in this field, together with &#x60;parents&#x60;, but omitting the &#x60;files&#x60; fields, while not sending any files. This will create a new commit and branch with the same contents as the first parent. The diff of this commit against its first parent will be empty.

func (SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Execute ¶

func (SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Files ¶

Optional field that declares the files that the request is manipulating. When adding a new file to a repo, or when overwriting an existing file, the client can just upload the full contents of the file in a normal form field and the use of this &#x60;files&#x60; meta data field is redundant. However, when the &#x60;files&#x60; field contains a file path that does not have a corresponding, identically-named form field, then Bitbucket interprets that as the client wanting to replace the named file with the null set and the file is deleted instead. Paths in the repo that are referenced in neither files nor an individual file field, remain unchanged and carry over from the parent to the new commit. This API does not support renaming as an explicit feature. To rename a file, simply delete it and recreate it under the new name in the same commit.

func (SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Message ¶

The commit message. When omitted, Bitbucket uses a canned string.

func (SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest) Parents ¶

A comma-separated list of SHA1s of the commits that should be the parents of the newly created commit. When omitted, the new commit will inherit from and become a child of the main branch&#39;s tip/HEAD commit. When more than one SHA1 is provided, the first SHA1 identifies the commit from which the content will be inherited.\&quot;.

type SourceApiService ¶

type SourceApiService service

SourceApiService SourceApi service

func (*SourceApiService) RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGet ¶

func (a *SourceApiService) RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGet(ctx context.Context, commit string, path string, repoSlug string, workspace string) SourceApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest

RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGet List commits that modified a file

Returns a paginated list of commits that modified the specified file.

Commits are returned in reverse chronological order. This is roughly equivalent to the following commands:

$ git log --follow --date-order <sha> <path>

By default, Bitbucket will follow renames and the path name in the returned entries reflects that. This can be turned off using the `?renames=false` query parameter.

Results are returned in descending chronological order by default, and like most endpoints you can [filter and sort](/cloud/bitbucket/rest/intro/#filtering) the response to only provide exactly the data you want.

For example, if you wanted to find commits made before 2011-05-18 against a file named `README.rst`, but you only wanted the path and date, your query would look like this:

```

$ curl 'https://api.bitbucket.org/2.0/repositories/evzijst/dogslow/filehistory/master/README.rst'\
  '?fields=values.next,values.path,values.commit.date&q=commit.date<=2011-05-18'
{
  "values": [
    {
      "commit": {
        "date": "2011-05-17T07:32:09+00:00"
      },
      "path": "README.rst"
    },
    {
      "commit": {
        "date": "2011-05-16T06:33:28+00:00"
      },
      "path": "README.txt"
    },
    {
      "commit": {
        "date": "2011-05-16T06:15:39+00:00"
      },
      "path": "README.txt"
    }
  ]
}

```

In the response you can see that the file was renamed to `README.rst` by the commit made on 2011-05-16, and was previously named `README.txt`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param path Path to the file.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SourceApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest

func (*SourceApiService) RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetExecute ¶

func (a *SourceApiService) RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetExecute(r SourceApiRepositoriesWorkspaceRepoSlugFilehistoryCommitPathGetRequest) (*PaginatedFiles, *http.Response, error)

Execute executes the request

@return PaginatedFiles

func (*SourceApiService) RepositoriesWorkspaceRepoSlugSrcCommitPathGet ¶

func (a *SourceApiService) RepositoriesWorkspaceRepoSlugSrcCommitPathGet(ctx context.Context, commit string, path string, repoSlug string, workspace string) SourceApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest

RepositoriesWorkspaceRepoSlugSrcCommitPathGet Get file or directory contents

This endpoints is used to retrieve the contents of a single file, or the contents of a directory at a specified revision.

#### Raw file contents

When `path` points to a file, this endpoint returns the raw contents. The response's Content-Type is derived from the filename extension (not from the contents). The file contents are not processed and no character encoding/recoding is performed and as a result no character encoding is included as part of the Content-Type.

The `Content-Disposition` header will be "attachment" to prevent browsers from running executable files.

If the file is managed by LFS, then a 301 redirect pointing to Atlassian's media services platform is returned.

The response includes an ETag that is based on the contents of the file and its attributes. This means that an empty `__init__.py` always returns the same ETag, regardless on the directory it lives in, or the commit it is on.

#### File meta data

When the request for a file path includes the query parameter `?format=meta`, instead of returning the file's raw contents, Bitbucket instead returns the JSON object describing the file's properties:

```javascript $ curl https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef/tests/__init__.py?format=meta

{
  "links": {
    "self": {
      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/__init__.py"
    },
    "meta": {
      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/__init__.py?format=meta"
    }
  },
  "path": "tests/__init__.py",
  "commit": {
    "type": "commit",
    "hash": "eefd5ef5d3df01aed629f650959d6706d54cd335",
    "links": {
      "self": {
        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/commit/eefd5ef5d3df01aed629f650959d6706d54cd335"
      },
      "html": {
        "href": "https://bitbucket.org/atlassian/bbql/commits/eefd5ef5d3df01aed629f650959d6706d54cd335"
      }
    }
  },
  "attributes": [],
  "type": "commit_file",
  "size": 0
}

```

File objects contain an `attributes` element that contains a list of possible modifiers. Currently defined values are:

  • `link` -- indicates that the entry is a symbolic link. The contents of the file represent the path the link points to.
  • `executable` -- indicates that the file has the executable bit set.
  • `subrepository` -- indicates that the entry points to a submodule or subrepo. The contents of the file is the SHA1 of the repository pointed to.
  • `binary` -- indicates whether Bitbucket thinks the file is binary.

This endpoint can provide an alternative to how a HEAD request can be used to check for the existence of a file, or a file's size without incurring the overhead of receiving its full contents.

#### Directory listings

When `path` points to a directory instead of a file, the response is a paginated list of directory and file objects in the same order as the underlying SCM system would return them.

For example:

```javascript $ curl https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef/tests

{
  "pagelen": 10,
  "values": [
    {
      "path": "tests/test_project",
      "type": "commit_directory",
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/test_project/"
        },
        "meta": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/test_project/?format=meta"
        }
      },
      "commit": {
        "type": "commit",
        "hash": "eefd5ef5d3df01aed629f650959d6706d54cd335",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/commit/eefd5ef5d3df01aed629f650959d6706d54cd335"
          },
          "html": {
            "href": "https://bitbucket.org/atlassian/bbql/commits/eefd5ef5d3df01aed629f650959d6706d54cd335"
          }
        }
      }
    },
    {
      "links": {
        "self": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/__init__.py"
        },
        "meta": {
          "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/__init__.py?format=meta"
        }
      },
      "path": "tests/__init__.py",
      "commit": {
        "type": "commit",
        "hash": "eefd5ef5d3df01aed629f650959d6706d54cd335",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/commit/eefd5ef5d3df01aed629f650959d6706d54cd335"
          },
          "html": {
            "href": "https://bitbucket.org/atlassian/bbql/commits/eefd5ef5d3df01aed629f650959d6706d54cd335"
          }
        }
      },
      "attributes": [],
      "type": "commit_file",
      "size": 0
    }
  ],
  "page": 1,
  "size": 2
}

```

When listing the contents of the repo's root directory, the use of a trailing slash at the end of the URL is required.

The response by default is not recursive, meaning that only the direct contents of a path are returned. The response does not recurse down into subdirectories. In order to "walk" the entire directory tree, the client can either parse each response and follow the `self` links of each `commit_directory` object, or can specify a `max_depth` to recurse to.

The max_depth parameter will do a breadth-first search to return the contents of the subdirectories up to the depth specified. Breadth-first search was chosen as it leads to the least amount of file system operations for git. If the `max_depth` parameter is specified to be too large, the call will time out and return a 555.

Each returned object is either a `commit_file`, or a `commit_directory`, both of which contain a `path` element. This path is the absolute path from the root of the repository. Each object also contains a `commit` object which embeds the commit the file is on. Note that this is merely the commit that was used in the URL. It is *not* the commit that last modified the file.

Directory objects have 2 representations. Their `self` link returns the paginated contents of the directory. The `meta` link on the other hand returns the actual `directory` object itself, e.g.:

```javascript

{
  "path": "tests/test_project",
  "type": "commit_directory",
  "links": {
    "self": {
      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/test_project/"
    },
    "meta": {
      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src/eefd5ef5d3df01aed629f650959d6706d54cd335/tests/test_project/?format=meta"
    }
  },
  "commit": { ... }
}

```

#### Querying, filtering and sorting

Like most API endpoints, this API supports the Bitbucket querying/filtering syntax and so you could filter a directory listing to only include entries that match certain criteria. For instance, to list all binary files over 1kb use the expression:

`size > 1024 and attributes = "binary"`

which after urlencoding yields the query string:

`?q=size%3E1024+and+attributes%3D%22binary%22`

To change the ordering of the response, use the `?sort` parameter:

`.../src/eefd5ef/?sort=-size`

See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param commit The commit's SHA1.
@param path Path to the file.
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SourceApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest

func (*SourceApiService) RepositoriesWorkspaceRepoSlugSrcCommitPathGetExecute ¶

func (a *SourceApiService) RepositoriesWorkspaceRepoSlugSrcCommitPathGetExecute(r SourceApiRepositoriesWorkspaceRepoSlugSrcCommitPathGetRequest) (*PaginatedTreeentries, *http.Response, error)

Execute executes the request

@return PaginatedTreeentries

func (*SourceApiService) RepositoriesWorkspaceRepoSlugSrcGet ¶

func (a *SourceApiService) RepositoriesWorkspaceRepoSlugSrcGet(ctx context.Context, repoSlug string, workspace string) SourceApiRepositoriesWorkspaceRepoSlugSrcGetRequest

RepositoriesWorkspaceRepoSlugSrcGet Get the root directory of the main branch

This endpoint redirects the client to the directory listing of the root directory on the main branch.

This is equivalent to directly hitting [/2.0/repositories/{username}/{repo_slug}/src/{commit}/{path}](src/%7Bcommit%7D/%7Bpath%7D) without having to know the name or SHA1 of the repo's main branch.

To create new commits, [POST to this endpoint](#post)

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SourceApiRepositoriesWorkspaceRepoSlugSrcGetRequest

func (*SourceApiService) RepositoriesWorkspaceRepoSlugSrcGetExecute ¶

Execute executes the request

@return PaginatedTreeentries

func (*SourceApiService) RepositoriesWorkspaceRepoSlugSrcPost ¶

func (a *SourceApiService) RepositoriesWorkspaceRepoSlugSrcPost(ctx context.Context, repoSlug string, workspace string) SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest

RepositoriesWorkspaceRepoSlugSrcPost Create a commit by uploading a file

This endpoint is used to create new commits in the repository by uploading files.

To add a new file to a repository:

```

$ curl https://api.bitbucket.org/2.0/repositories/username/slug/src \
  -F /repo/path/to/image.png=@image.png

```

This will create a new commit on top of the main branch, inheriting the contents of the main branch, but adding (or overwriting) the `image.png` file to the repository in the `/repo/path/to` directory.

To create a commit that deletes files, use the `files` parameter:

```

$ curl https://api.bitbucket.org/2.0/repositories/username/slug/src \
  -F files=/file/to/delete/1.txt \
  -F files=/file/to/delete/2.txt

```

You can add/modify/delete multiple files in a request. Rename/move a file by deleting the old path and adding the content at the new path.

This endpoint accepts `multipart/form-data` (as in the examples above), as well as `application/x-www-form-urlencoded`.

#### multipart/form-data

A `multipart/form-data` post contains a series of "form fields" that identify both the individual files that are being uploaded, as well as additional, optional meta data.

Files are uploaded in file form fields (those that have a `Content-Disposition` parameter) whose field names point to the remote path in the repository where the file should be stored. Path field names are always interpreted to be absolute from the root of the repository, regardless whether the client uses a leading slash (as the above `curl` example did).

File contents are treated as bytes and are not decoded as text.

The commit message, as well as other non-file meta data for the request, is sent along as normal form field elements. Meta data fields share the same namespace as the file objects. For `multipart/form-data` bodies that should not lead to any ambiguity, as the `Content-Disposition` header will contain the `filename` parameter to distinguish between a file named "message" and the commit message field.

#### application/x-www-form-urlencoded

It is also possible to upload new files using a simple `application/x-www-form-urlencoded` POST. This can be convenient when uploading pure text files:

```

$ curl https://api.bitbucket.org/2.0/repositories/atlassian/bbql/src \
  --data-urlencode "/path/to/me.txt=Lorem ipsum." \
  --data-urlencode "message=Initial commit" \
  --data-urlencode "author=Erik van Zijst <erik.van.zijst@gmail.com>"

```

There could be a field name clash if a client were to upload a file named "message", as this filename clashes with the meta data property for the commit message. To avoid this and to upload files whose names clash with the meta data properties, use a leading slash for the files, e.g. `curl --data-urlencode "/message=file contents"`.

When an explicit slash is omitted for a file whose path matches that of a meta data parameter, then it is interpreted as meta data, not as a file.

#### Executables and links

While this API aims to facilitate the most common use cases, it is possible to perform some more advanced operations like creating a new symlink in the repository, or creating an executable file.

Files can be supplied with a `x-attributes` value in the `Content-Disposition` header. For example, to upload an executable file, as well as create a symlink from `README.txt` to `README`:

``` --===============1438169132528273974== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-ID: "bin/shutdown.sh" Content-Disposition: attachment; filename="shutdown.sh"; x-attributes:"executable"

#!/bin/sh halt

--===============1438169132528273974== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-ID: "/README.txt" Content-Disposition: attachment; filename="README.txt"; x-attributes:"link"

README --===============1438169132528273974==-- ```

Links are files that contain the target path and have `x-attributes:"link"` set.

When overwriting links with files, or vice versa, the newly uploaded file determines both the new contents, as well as the attributes. That means uploading a file without specifying `x-attributes="link"` will create a regular file, even if the parent commit hosted a symlink at the same path.

The same applies to executables. When modifying an existing executable file, the form-data file element must include `x-attributes="executable"` in order to preserve the executable status of the file.

Note that this API does not support the creation or manipulation of subrepos / submodules.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest

func (*SourceApiService) RepositoriesWorkspaceRepoSlugSrcPostExecute ¶

func (a *SourceApiService) RepositoriesWorkspaceRepoSlugSrcPostExecute(r SourceApiRepositoriesWorkspaceRepoSlugSrcPostRequest) (*http.Response, error)

Execute executes the request

type SshAccountKey ¶

type SshAccountKey struct {
	SshKey
	Owner                *Account `json:"owner,omitempty"`
	AdditionalProperties map[string]interface{}
}

SshAccountKey struct for SshAccountKey

func NewSshAccountKey ¶

func NewSshAccountKey() *SshAccountKey

NewSshAccountKey instantiates a new SshAccountKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSshAccountKeyWithDefaults ¶

func NewSshAccountKeyWithDefaults() *SshAccountKey

NewSshAccountKeyWithDefaults instantiates a new SshAccountKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SshAccountKey) GetOwner ¶

func (o *SshAccountKey) GetOwner() Account

GetOwner returns the Owner field value if set, zero value otherwise.

func (*SshAccountKey) GetOwnerOk ¶

func (o *SshAccountKey) GetOwnerOk() (*Account, bool)

GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SshAccountKey) HasOwner ¶

func (o *SshAccountKey) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (SshAccountKey) MarshalJSON ¶

func (o SshAccountKey) MarshalJSON() ([]byte, error)

func (*SshAccountKey) SetOwner ¶

func (o *SshAccountKey) SetOwner(v Account)

SetOwner gets a reference to the given Account and assigns it to the Owner field.

func (*SshAccountKey) UnmarshalJSON ¶ added in v0.0.3

func (o *SshAccountKey) UnmarshalJSON(bytes []byte) (err error)

type SshApiService ¶

type SshApiService service

SshApiService SshApi service

func (*SshApiService) UsersSelectedUserSshKeysGet ¶

func (a *SshApiService) UsersSelectedUserSshKeysGet(ctx context.Context, selectedUser string) SshApiUsersSelectedUserSshKeysGetRequest

UsersSelectedUserSshKeysGet List SSH keys

Returns a paginated list of the user's SSH public keys.

Example:

``` $ curl https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys

{
    "page": 1,
    "pagelen": 10,
    "size": 1,
    "values": [
        {
            "comment": "user@myhost",
            "created_on": "2018-03-14T13:17:05.196003+00:00",
            "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqP3Cr632C2dNhhgKVcon4ldUSAeKiku2yP9O9/bDtY",
            "label": "",
            "last_used": "2018-03-20T13:18:05.196003+00:00",
            "links": {
                "self": {
                    "href": "https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys/b15b6026-9c02-4626-b4ad-b905f99f763a"
                }
            },
            "owner": {
                "display_name": "Mark Adams",
                "links": {
                    "avatar": {
                        "href": "https://bitbucket.org/account/markadams-atl/avatar/32/"
                    },
                    "html": {
                        "href": "https://bitbucket.org/markadams-atl/"
                    },
                    "self": {
                        "href": "https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}"
                    }
                },
                "type": "user",
                "username": "markadams-atl",
                "nickname": "markadams-atl",
                "uuid": "{d7dd0e2d-3994-4a50-a9ee-d260b6cefdab}"
            },
            "type": "ssh_key",
            "uuid": "{b15b6026-9c02-4626-b4ad-b905f99f763a}"
        }
    ]
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID.
@return SshApiUsersSelectedUserSshKeysGetRequest

func (*SshApiService) UsersSelectedUserSshKeysGetExecute ¶

func (a *SshApiService) UsersSelectedUserSshKeysGetExecute(r SshApiUsersSelectedUserSshKeysGetRequest) (*PaginatedSshUserKeys, *http.Response, error)

Execute executes the request

@return PaginatedSshUserKeys

func (*SshApiService) UsersSelectedUserSshKeysKeyIdDelete ¶

func (a *SshApiService) UsersSelectedUserSshKeysKeyIdDelete(ctx context.Context, keyId string, selectedUser string) SshApiUsersSelectedUserSshKeysKeyIdDeleteRequest

UsersSelectedUserSshKeysKeyIdDelete Delete a SSH key

Deletes a specific SSH public key from a user's account ¶

Example: ``` $ curl -X DELETE https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys/{b15b6026-9c02-4626-b4ad-b905f99f763a} ```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keyId The SSH key's UUID value.
@param selectedUser This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID.
@return SshApiUsersSelectedUserSshKeysKeyIdDeleteRequest

func (*SshApiService) UsersSelectedUserSshKeysKeyIdDeleteExecute ¶

func (a *SshApiService) UsersSelectedUserSshKeysKeyIdDeleteExecute(r SshApiUsersSelectedUserSshKeysKeyIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*SshApiService) UsersSelectedUserSshKeysKeyIdGet ¶

func (a *SshApiService) UsersSelectedUserSshKeysKeyIdGet(ctx context.Context, keyId string, selectedUser string) SshApiUsersSelectedUserSshKeysKeyIdGetRequest

UsersSelectedUserSshKeysKeyIdGet Get a SSH key

Returns a specific SSH public key belonging to a user.

Example: ``` $ curl https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys/{fbe4bbab-f6f7-4dde-956b-5c58323c54b3}

{
    "comment": "user@myhost",
    "created_on": "2018-03-14T13:17:05.196003+00:00",
    "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqP3Cr632C2dNhhgKVcon4ldUSAeKiku2yP9O9/bDtY",
    "label": "",
    "last_used": "2018-03-20T13:18:05.196003+00:00",
    "links": {
        "self": {
            "href": "https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys/b15b6026-9c02-4626-b4ad-b905f99f763a"
        }
    },
    "owner": {
        "display_name": "Mark Adams",
        "links": {
            "avatar": {
                "href": "https://bitbucket.org/account/markadams-atl/avatar/32/"
            },
            "html": {
                "href": "https://bitbucket.org/markadams-atl/"
            },
            "self": {
                "href": "https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}"
            }
        },
        "type": "user",
        "username": "markadams-atl",
        "nickname": "markadams-atl",
        "uuid": "{d7dd0e2d-3994-4a50-a9ee-d260b6cefdab}"
    },
    "type": "ssh_key",
    "uuid": "{b15b6026-9c02-4626-b4ad-b905f99f763a}"
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keyId The SSH key's UUID value.
@param selectedUser This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID.
@return SshApiUsersSelectedUserSshKeysKeyIdGetRequest

func (*SshApiService) UsersSelectedUserSshKeysKeyIdGetExecute ¶

func (a *SshApiService) UsersSelectedUserSshKeysKeyIdGetExecute(r SshApiUsersSelectedUserSshKeysKeyIdGetRequest) (*SshAccountKey, *http.Response, error)

Execute executes the request

@return SshAccountKey

func (*SshApiService) UsersSelectedUserSshKeysKeyIdPut ¶

func (a *SshApiService) UsersSelectedUserSshKeysKeyIdPut(ctx context.Context, keyId string, selectedUser string) SshApiUsersSelectedUserSshKeysKeyIdPutRequest

UsersSelectedUserSshKeysKeyIdPut Update a SSH key

Updates a specific SSH public key on a user's account ¶

Note: Only the 'comment' field can be updated using this API. To modify the key or comment values, you must delete and add the key again.

Example: ``` $ curl -X PUT -H "Content-Type: application/json" -d '{"label": "Work key"}' https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys/{b15b6026-9c02-4626-b4ad-b905f99f763a}

{
    "comment": "",
    "created_on": "2018-03-14T13:17:05.196003+00:00",
    "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqP3Cr632C2dNhhgKVcon4ldUSAeKiku2yP9O9/bDtY",
    "label": "Work key",
    "last_used": "2018-03-20T13:18:05.196003+00:00",
    "links": {
        "self": {
            "href": "https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys/b15b6026-9c02-4626-b4ad-b905f99f763a"
        }
    },
    "owner": {
        "display_name": "Mark Adams",
        "links": {
            "avatar": {
                "href": "https://bitbucket.org/account/markadams-atl/avatar/32/"
            },
            "html": {
                "href": "https://bitbucket.org/markadams-atl/"
            },
            "self": {
                "href": "https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}"
            }
        },
        "type": "user",
        "username": "markadams-atl",
        "nickname": "markadams-atl",
        "uuid": "{d7dd0e2d-3994-4a50-a9ee-d260b6cefdab}"
    },
    "type": "ssh_key",
    "uuid": "{b15b6026-9c02-4626-b4ad-b905f99f763a}"
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param keyId The SSH key's UUID value.
@param selectedUser This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID.
@return SshApiUsersSelectedUserSshKeysKeyIdPutRequest

func (*SshApiService) UsersSelectedUserSshKeysKeyIdPutExecute ¶

func (a *SshApiService) UsersSelectedUserSshKeysKeyIdPutExecute(r SshApiUsersSelectedUserSshKeysKeyIdPutRequest) (*SshAccountKey, *http.Response, error)

Execute executes the request

@return SshAccountKey

func (*SshApiService) UsersSelectedUserSshKeysPost ¶

func (a *SshApiService) UsersSelectedUserSshKeysPost(ctx context.Context, selectedUser string) SshApiUsersSelectedUserSshKeysPostRequest

UsersSelectedUserSshKeysPost Add a new SSH key

Adds a new SSH public key to the specified user account and returns the resulting key.

Example: ``` $ curl -X POST -H "Content-Type: application/json" -d '{"key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqP3Cr632C2dNhhgKVcon4ldUSAeKiku2yP9O9/bDtY user@myhost"}' https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys

{
    "comment": "user@myhost",
    "created_on": "2018-03-14T13:17:05.196003+00:00",
    "key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqP3Cr632C2dNhhgKVcon4ldUSAeKiku2yP9O9/bDtY",
    "label": "",
    "last_used": "2018-03-20T13:18:05.196003+00:00",
    "links": {
        "self": {
            "href": "https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys/b15b6026-9c02-4626-b4ad-b905f99f763a"
        }
    },
    "owner": {
        "display_name": "Mark Adams",
        "links": {
            "avatar": {
                "href": "https://bitbucket.org/account/markadams-atl/avatar/32/"
            },
            "html": {
                "href": "https://bitbucket.org/markadams-atl/"
            },
            "self": {
                "href": "https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}"
            }
        },
        "type": "user",
        "username": "markadams-atl",
        "nickname": "markadams-atl",
        "uuid": "{d7dd0e2d-3994-4a50-a9ee-d260b6cefdab}"
    },
    "type": "ssh_key",
    "uuid": "{b15b6026-9c02-4626-b4ad-b905f99f763a}"
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID.
@return SshApiUsersSelectedUserSshKeysPostRequest

func (*SshApiService) UsersSelectedUserSshKeysPostExecute ¶

func (a *SshApiService) UsersSelectedUserSshKeysPostExecute(r SshApiUsersSelectedUserSshKeysPostRequest) (*SshAccountKey, *http.Response, error)

Execute executes the request

@return SshAccountKey

type SshApiUsersSelectedUserSshKeysGetRequest ¶

type SshApiUsersSelectedUserSshKeysGetRequest struct {
	ApiService *SshApiService
	// contains filtered or unexported fields
}

func (SshApiUsersSelectedUserSshKeysGetRequest) Execute ¶

type SshApiUsersSelectedUserSshKeysKeyIdDeleteRequest ¶

type SshApiUsersSelectedUserSshKeysKeyIdDeleteRequest struct {
	ApiService *SshApiService
	// contains filtered or unexported fields
}

func (SshApiUsersSelectedUserSshKeysKeyIdDeleteRequest) Execute ¶

type SshApiUsersSelectedUserSshKeysKeyIdGetRequest ¶

type SshApiUsersSelectedUserSshKeysKeyIdGetRequest struct {
	ApiService *SshApiService
	// contains filtered or unexported fields
}

func (SshApiUsersSelectedUserSshKeysKeyIdGetRequest) Execute ¶

type SshApiUsersSelectedUserSshKeysKeyIdPutRequest ¶

type SshApiUsersSelectedUserSshKeysKeyIdPutRequest struct {
	ApiService *SshApiService
	// contains filtered or unexported fields
}

func (SshApiUsersSelectedUserSshKeysKeyIdPutRequest) Body ¶

The updated SSH key object

func (SshApiUsersSelectedUserSshKeysKeyIdPutRequest) Execute ¶

type SshApiUsersSelectedUserSshKeysPostRequest ¶

type SshApiUsersSelectedUserSshKeysPostRequest struct {
	ApiService *SshApiService
	// contains filtered or unexported fields
}

func (SshApiUsersSelectedUserSshKeysPostRequest) Body ¶

The new SSH key object. Note that the username property has been deprecated due to [privacy changes](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/#removal-of-usernames-from-user-referencing-apis).

func (SshApiUsersSelectedUserSshKeysPostRequest) Execute ¶

type SshKey ¶

type SshKey struct {
	Object
	// The SSH key's immutable ID.
	Uuid *string `json:"uuid,omitempty"`
	// The SSH public key value in OpenSSH format.
	Key *string `json:"key,omitempty"`
	// The comment parsed from the SSH key (if present)
	Comment *string `json:"comment,omitempty"`
	// The user-defined label for the SSH key
	Label                *string                      `json:"label,omitempty"`
	CreatedOn            *time.Time                   `json:"created_on,omitempty"`
	LastUsed             *time.Time                   `json:"last_used,omitempty"`
	Links                *BranchingModelSettingsLinks `json:"links,omitempty"`
	AdditionalProperties map[string]interface{}
}

SshKey struct for SshKey

func NewSshKey ¶

func NewSshKey() *SshKey

NewSshKey instantiates a new SshKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSshKeyWithDefaults ¶

func NewSshKeyWithDefaults() *SshKey

NewSshKeyWithDefaults instantiates a new SshKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SshKey) GetComment ¶

func (o *SshKey) GetComment() string

GetComment returns the Comment field value if set, zero value otherwise.

func (*SshKey) GetCommentOk ¶

func (o *SshKey) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SshKey) GetCreatedOn ¶

func (o *SshKey) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*SshKey) GetCreatedOnOk ¶

func (o *SshKey) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SshKey) GetKey ¶

func (o *SshKey) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*SshKey) GetKeyOk ¶

func (o *SshKey) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SshKey) GetLabel ¶

func (o *SshKey) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*SshKey) GetLabelOk ¶

func (o *SshKey) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SshKey) GetLastUsed ¶

func (o *SshKey) GetLastUsed() time.Time

GetLastUsed returns the LastUsed field value if set, zero value otherwise.

func (*SshKey) GetLastUsedOk ¶

func (o *SshKey) GetLastUsedOk() (*time.Time, bool)

GetLastUsedOk returns a tuple with the LastUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *SshKey) GetLinks() BranchingModelSettingsLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*SshKey) GetLinksOk ¶

func (o *SshKey) GetLinksOk() (*BranchingModelSettingsLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SshKey) GetUuid ¶

func (o *SshKey) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*SshKey) GetUuidOk ¶

func (o *SshKey) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SshKey) HasComment ¶

func (o *SshKey) HasComment() bool

HasComment returns a boolean if a field has been set.

func (*SshKey) HasCreatedOn ¶

func (o *SshKey) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*SshKey) HasKey ¶

func (o *SshKey) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*SshKey) HasLabel ¶

func (o *SshKey) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*SshKey) HasLastUsed ¶

func (o *SshKey) HasLastUsed() bool

HasLastUsed returns a boolean if a field has been set.

func (o *SshKey) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*SshKey) HasUuid ¶

func (o *SshKey) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (SshKey) MarshalJSON ¶

func (o SshKey) MarshalJSON() ([]byte, error)

func (*SshKey) SetComment ¶

func (o *SshKey) SetComment(v string)

SetComment gets a reference to the given string and assigns it to the Comment field.

func (*SshKey) SetCreatedOn ¶

func (o *SshKey) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*SshKey) SetKey ¶

func (o *SshKey) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*SshKey) SetLabel ¶

func (o *SshKey) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*SshKey) SetLastUsed ¶

func (o *SshKey) SetLastUsed(v time.Time)

SetLastUsed gets a reference to the given time.Time and assigns it to the LastUsed field.

func (o *SshKey) SetLinks(v BranchingModelSettingsLinks)

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*SshKey) SetUuid ¶

func (o *SshKey) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*SshKey) UnmarshalJSON ¶ added in v0.0.3

func (o *SshKey) UnmarshalJSON(bytes []byte) (err error)

type StgWestReport ¶

type StgWestReport struct {
	Object
	AdditionalProperties map[string]interface{}
}

StgWestReport struct for StgWestReport

func NewStgWestReport ¶

func NewStgWestReport() *StgWestReport

NewStgWestReport instantiates a new StgWestReport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStgWestReportWithDefaults ¶

func NewStgWestReportWithDefaults() *StgWestReport

NewStgWestReportWithDefaults instantiates a new StgWestReport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (StgWestReport) MarshalJSON ¶

func (o StgWestReport) MarshalJSON() ([]byte, error)

func (*StgWestReport) UnmarshalJSON ¶ added in v0.0.3

func (o *StgWestReport) UnmarshalJSON(bytes []byte) (err error)

type SubjectTypes ¶

type SubjectTypes struct {
	Repository           *SubjectTypesRepository `json:"repository,omitempty"`
	User                 *SubjectTypesRepository `json:"user,omitempty"`
	Team                 *SubjectTypesRepository `json:"team,omitempty"`
	AdditionalProperties map[string]interface{}
}

SubjectTypes The mapping of resource/subject types pointing to their individual event types.

func NewSubjectTypes ¶

func NewSubjectTypes() *SubjectTypes

NewSubjectTypes instantiates a new SubjectTypes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubjectTypesWithDefaults ¶

func NewSubjectTypesWithDefaults() *SubjectTypes

NewSubjectTypesWithDefaults instantiates a new SubjectTypes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubjectTypes) GetRepository ¶

func (o *SubjectTypes) GetRepository() SubjectTypesRepository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*SubjectTypes) GetRepositoryOk ¶

func (o *SubjectTypes) GetRepositoryOk() (*SubjectTypesRepository, bool)

GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubjectTypes) GetTeam ¶

func (o *SubjectTypes) GetTeam() SubjectTypesRepository

GetTeam returns the Team field value if set, zero value otherwise.

func (*SubjectTypes) GetTeamOk ¶

func (o *SubjectTypes) GetTeamOk() (*SubjectTypesRepository, bool)

GetTeamOk returns a tuple with the Team field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubjectTypes) GetUser ¶

func (o *SubjectTypes) GetUser() SubjectTypesRepository

GetUser returns the User field value if set, zero value otherwise.

func (*SubjectTypes) GetUserOk ¶

func (o *SubjectTypes) GetUserOk() (*SubjectTypesRepository, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubjectTypes) HasRepository ¶

func (o *SubjectTypes) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (*SubjectTypes) HasTeam ¶

func (o *SubjectTypes) HasTeam() bool

HasTeam returns a boolean if a field has been set.

func (*SubjectTypes) HasUser ¶

func (o *SubjectTypes) HasUser() bool

HasUser returns a boolean if a field has been set.

func (SubjectTypes) MarshalJSON ¶

func (o SubjectTypes) MarshalJSON() ([]byte, error)

func (*SubjectTypes) SetRepository ¶

func (o *SubjectTypes) SetRepository(v SubjectTypesRepository)

SetRepository gets a reference to the given SubjectTypesRepository and assigns it to the Repository field.

func (*SubjectTypes) SetTeam ¶

func (o *SubjectTypes) SetTeam(v SubjectTypesRepository)

SetTeam gets a reference to the given SubjectTypesRepository and assigns it to the Team field.

func (*SubjectTypes) SetUser ¶

func (o *SubjectTypes) SetUser(v SubjectTypesRepository)

SetUser gets a reference to the given SubjectTypesRepository and assigns it to the User field.

func (*SubjectTypes) UnmarshalJSON ¶ added in v0.0.3

func (o *SubjectTypes) UnmarshalJSON(bytes []byte) (err error)

type SubjectTypesRepository ¶

type SubjectTypesRepository struct {
	Events               *Link `json:"events,omitempty"`
	AdditionalProperties map[string]interface{}
}

SubjectTypesRepository struct for SubjectTypesRepository

func NewSubjectTypesRepository ¶

func NewSubjectTypesRepository() *SubjectTypesRepository

NewSubjectTypesRepository instantiates a new SubjectTypesRepository object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewSubjectTypesRepositoryWithDefaults ¶

func NewSubjectTypesRepositoryWithDefaults() *SubjectTypesRepository

NewSubjectTypesRepositoryWithDefaults instantiates a new SubjectTypesRepository object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*SubjectTypesRepository) GetEvents ¶

func (o *SubjectTypesRepository) GetEvents() Link

GetEvents returns the Events field value if set, zero value otherwise.

func (*SubjectTypesRepository) GetEventsOk ¶

func (o *SubjectTypesRepository) GetEventsOk() (*Link, bool)

GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SubjectTypesRepository) HasEvents ¶

func (o *SubjectTypesRepository) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (SubjectTypesRepository) MarshalJSON ¶

func (o SubjectTypesRepository) MarshalJSON() ([]byte, error)

func (*SubjectTypesRepository) SetEvents ¶

func (o *SubjectTypesRepository) SetEvents(v Link)

SetEvents gets a reference to the given Link and assigns it to the Events field.

func (*SubjectTypesRepository) UnmarshalJSON ¶ added in v0.0.3

func (o *SubjectTypesRepository) UnmarshalJSON(bytes []byte) (err error)

type Tag ¶

type Tag struct {
	// The message associated with the tag, if available.
	Message *string `json:"message,omitempty"`
	// The date that the tag was created, if available
	Date                 *time.Time `json:"date,omitempty"`
	Tagger               *Author    `json:"tagger,omitempty"`
	AdditionalProperties map[string]interface{}
}

Tag A tag object, representing a tag in a repository.

func NewTag ¶

func NewTag() *Tag

NewTag instantiates a new Tag object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTagWithDefaults ¶

func NewTagWithDefaults() *Tag

NewTagWithDefaults instantiates a new Tag object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Tag) GetDate ¶

func (o *Tag) GetDate() time.Time

GetDate returns the Date field value if set, zero value otherwise.

func (*Tag) GetDateOk ¶

func (o *Tag) GetDateOk() (*time.Time, bool)

GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tag) GetMessage ¶

func (o *Tag) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Tag) GetMessageOk ¶

func (o *Tag) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tag) GetTagger ¶

func (o *Tag) GetTagger() Author

GetTagger returns the Tagger field value if set, zero value otherwise.

func (*Tag) GetTaggerOk ¶

func (o *Tag) GetTaggerOk() (*Author, bool)

GetTaggerOk returns a tuple with the Tagger field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Tag) HasDate ¶

func (o *Tag) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*Tag) HasMessage ¶

func (o *Tag) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Tag) HasTagger ¶

func (o *Tag) HasTagger() bool

HasTagger returns a boolean if a field has been set.

func (Tag) MarshalJSON ¶

func (o Tag) MarshalJSON() ([]byte, error)

func (*Tag) SetDate ¶

func (o *Tag) SetDate(v time.Time)

SetDate gets a reference to the given time.Time and assigns it to the Date field.

func (*Tag) SetMessage ¶

func (o *Tag) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Tag) SetTagger ¶

func (o *Tag) SetTagger(v Author)

SetTagger gets a reference to the given Author and assigns it to the Tagger field.

func (*Tag) UnmarshalJSON ¶ added in v0.0.3

func (o *Tag) UnmarshalJSON(bytes []byte) (err error)

type Team ¶

type Team struct {
	Account
	AdditionalProperties map[string]interface{}
}

Team struct for Team

func NewTeam ¶

func NewTeam() *Team

NewTeam instantiates a new Team object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamWithDefaults ¶

func NewTeamWithDefaults() *Team

NewTeamWithDefaults instantiates a new Team object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (Team) MarshalJSON ¶

func (o Team) MarshalJSON() ([]byte, error)

func (*Team) UnmarshalJSON ¶ added in v0.0.3

func (o *Team) UnmarshalJSON(bytes []byte) (err error)

type TeamPermission ¶

type TeamPermission struct {
	Type                 string  `json:"type"`
	Permission           *string `json:"permission,omitempty"`
	User                 *User   `json:"user,omitempty"`
	Team                 *Team   `json:"team,omitempty"`
	AdditionalProperties map[string]interface{}
}

TeamPermission A user's permission for a given team.

func NewTeamPermission ¶

func NewTeamPermission() *TeamPermission

NewTeamPermission instantiates a new TeamPermission object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTeamPermissionWithDefaults ¶

func NewTeamPermissionWithDefaults() *TeamPermission

NewTeamPermissionWithDefaults instantiates a new TeamPermission object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*TeamPermission) GetPermission ¶

func (o *TeamPermission) GetPermission() string

GetPermission returns the Permission field value if set, zero value otherwise.

func (*TeamPermission) GetPermissionOk ¶

func (o *TeamPermission) GetPermissionOk() (*string, bool)

GetPermissionOk returns a tuple with the Permission field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamPermission) GetTeam ¶

func (o *TeamPermission) GetTeam() Team

GetTeam returns the Team field value if set, zero value otherwise.

func (*TeamPermission) GetTeamOk ¶

func (o *TeamPermission) GetTeamOk() (*Team, bool)

GetTeamOk returns a tuple with the Team field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamPermission) GetType ¶

func (o *TeamPermission) GetType() string

GetType returns the Type field value

func (*TeamPermission) GetTypeOk ¶

func (o *TeamPermission) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*TeamPermission) GetUser ¶

func (o *TeamPermission) GetUser() User

GetUser returns the User field value if set, zero value otherwise.

func (*TeamPermission) GetUserOk ¶

func (o *TeamPermission) GetUserOk() (*User, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TeamPermission) HasPermission ¶

func (o *TeamPermission) HasPermission() bool

HasPermission returns a boolean if a field has been set.

func (*TeamPermission) HasTeam ¶

func (o *TeamPermission) HasTeam() bool

HasTeam returns a boolean if a field has been set.

func (*TeamPermission) HasUser ¶

func (o *TeamPermission) HasUser() bool

HasUser returns a boolean if a field has been set.

func (TeamPermission) MarshalJSON ¶

func (o TeamPermission) MarshalJSON() ([]byte, error)

func (*TeamPermission) SetPermission ¶

func (o *TeamPermission) SetPermission(v string)

SetPermission gets a reference to the given string and assigns it to the Permission field.

func (*TeamPermission) SetTeam ¶

func (o *TeamPermission) SetTeam(v Team)

SetTeam gets a reference to the given Team and assigns it to the Team field.

func (*TeamPermission) SetType ¶

func (o *TeamPermission) SetType(v string)

SetType sets field value

func (*TeamPermission) SetUser ¶

func (o *TeamPermission) SetUser(v User)

SetUser gets a reference to the given User and assigns it to the User field.

func (*TeamPermission) UnmarshalJSON ¶ added in v0.0.3

func (o *TeamPermission) UnmarshalJSON(bytes []byte) (err error)

type TeamsApiService ¶

type TeamsApiService service

TeamsApiService TeamsApi service

func (*TeamsApiService) TeamsGet ¶

TeamsGet List teams a user is part of

Returns all the teams that the authenticated user is associated with.

**This endpoint has been removed. You should use the [workspaces](/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-get) endpoint instead. For more information, see [this post](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return TeamsApiTeamsGetRequest

Deprecated

func (*TeamsApiService) TeamsGetExecute ¶

Execute executes the request

@return PaginatedTeams

Deprecated

func (*TeamsApiService) TeamsUsernameFollowersGet ¶

func (a *TeamsApiService) TeamsUsernameFollowersGet(ctx context.Context, username string) TeamsApiTeamsUsernameFollowersGetRequest

TeamsUsernameFollowersGet List team followers

Returns the list of accounts that are following this team.

**This endpoint has been removed. There is no replacement endpoint. For more information, see [this post](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return TeamsApiTeamsUsernameFollowersGetRequest

Deprecated

func (*TeamsApiService) TeamsUsernameFollowersGetExecute ¶

func (a *TeamsApiService) TeamsUsernameFollowersGetExecute(r TeamsApiTeamsUsernameFollowersGetRequest) (*PaginatedUsers, *http.Response, error)

Execute executes the request

@return PaginatedUsers

Deprecated

func (*TeamsApiService) TeamsUsernameFollowingGet ¶

func (a *TeamsApiService) TeamsUsernameFollowingGet(ctx context.Context, username string) TeamsApiTeamsUsernameFollowingGetRequest

TeamsUsernameFollowingGet List accounts a team is following

Returns the list of accounts this team is following.

**This endpoint has been removed. There is no replacement endpoint. For more information, see [this post](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return TeamsApiTeamsUsernameFollowingGetRequest

Deprecated

func (*TeamsApiService) TeamsUsernameFollowingGetExecute ¶

func (a *TeamsApiService) TeamsUsernameFollowingGetExecute(r TeamsApiTeamsUsernameFollowingGetRequest) (*PaginatedUsers, *http.Response, error)

Execute executes the request

@return PaginatedUsers

Deprecated

func (*TeamsApiService) TeamsUsernameGet ¶

func (a *TeamsApiService) TeamsUsernameGet(ctx context.Context, username string) TeamsApiTeamsUsernameGetRequest

TeamsUsernameGet Get a team

Gets the public information associated with a team.

If the team's profile is private, `location`, `website` and `created_on` elements are omitted.

**This endpoint has been removed. You should use the [workspace](/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-get) endpoint instead. For more information, see [this post](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return TeamsApiTeamsUsernameGetRequest

Deprecated

func (*TeamsApiService) TeamsUsernameGetExecute ¶

func (a *TeamsApiService) TeamsUsernameGetExecute(r TeamsApiTeamsUsernameGetRequest) (*Team, *http.Response, error)

Execute executes the request

@return Team

Deprecated

func (*TeamsApiService) TeamsUsernameMembersGet ¶

func (a *TeamsApiService) TeamsUsernameMembersGet(ctx context.Context, username string) TeamsApiTeamsUsernameMembersGetRequest

TeamsUsernameMembersGet List team members

Returns all members of the specified team. Any member of any of the team's groups is considered a member of the team. This includes users in groups that may not actually have access to any of the team's repositories.

**This operation has been removed due to privacy changes. See the [announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/) for details. You should use the [workspaces](/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-members-get) endpoint as a replacement.**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return TeamsApiTeamsUsernameMembersGetRequest

Deprecated

func (*TeamsApiService) TeamsUsernameMembersGetExecute ¶

func (a *TeamsApiService) TeamsUsernameMembersGetExecute(r TeamsApiTeamsUsernameMembersGetRequest) (*User, *http.Response, error)

Execute executes the request

@return User

Deprecated

func (*TeamsApiService) TeamsUsernamePermissionsGet ¶

func (a *TeamsApiService) TeamsUsernamePermissionsGet(ctx context.Context, username string) TeamsApiTeamsUsernamePermissionsGetRequest

TeamsUsernamePermissionsGet List team permissions for a user

Returns an object for each team permission a user on the team has.

**This endpoint has been removed. You should use the [workspace permissions](/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-members-member-get) endpoint instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

Permissions returned are effective permissions — if a user is a member of multiple groups with distinct roles, only the highest level is returned.

Permissions can be:

* `admin` * `collaborator`

Only users with admin permission for the team may access this resource.

Example:

``` $ curl https://api.bitbucket.org/2.0/teams/atlassian_tutorial/permissions

{
  "pagelen": 10,
  "values": [
    {
      "permission": "admin",
      "type": "team_permission",
      "user": {
        "type": "user",
        "nickname": "evzijst",
        "display_name": "Erik van Zijst",
        "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}"
      },
      "team": {
        "display_name": "Atlassian Bitbucket",
        "uuid": "{4cc6108a-a241-4db0-96a5-64347ac04f87}"
      }
    },
    {
      "permission": "collaborator",
      "type": "team_permission",
      "user": {
        "type": "user",
        "nickname": "seanaty",
        "display_name": "Sean Conaty",
        "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}"
      },
      "team": {
        "display_name": "Atlassian Bitbucket",
        "uuid": "{4cc6108a-a241-4db0-96a5-64347ac04f87}"
      }
    }
  ],
  "page": 1,
  "size": 2
}

```

Results may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by team, user, or permission by adding the following query string parameters:

* `q=user.uuid="{d301aafa-d676-4ee0-88be-962be7417567}"` or `q=permission="admin"` * `sort=team.display_name`

Note that the query parameter values need to be URL escaped so that `=` would become `%3D`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return TeamsApiTeamsUsernamePermissionsGetRequest

Deprecated

func (*TeamsApiService) TeamsUsernamePermissionsGetExecute ¶

Execute executes the request

@return PaginatedTeamPermissions

Deprecated

func (*TeamsApiService) TeamsUsernamePermissionsRepositoriesGet ¶

func (a *TeamsApiService) TeamsUsernamePermissionsRepositoriesGet(ctx context.Context, username string) TeamsApiTeamsUsernamePermissionsRepositoriesGetRequest

TeamsUsernamePermissionsRepositoriesGet List repository permissions for a team

Returns an object for each repository permission for all of a team’s repositories.

**This endpoint has been removed. You should use the [workspace repository permissions](/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-permissions-repositories-get) endpoint instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

If the username URL parameter refers to a user account instead of a team account, an object containing the repository permissions of all the username's repositories will be returned.

Permissions returned are effective permissions — the highest level of permission the user has. This does not include public repositories that users are not granted any specific permission in, and does not distinguish between explicit and implicit privileges.

Only users with admin permission for the team may access this resource.

Permissions can be:

* `admin` * `write` * `read`

Example:

``` $ curl https://api.bitbucket.org/2.0/teams/atlassian_tutorial/permissions/repositories

{
  "pagelen": 10,
  "values": [
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "display_name": "Erik van Zijst",
        "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}"
      },
      "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "bitbucket/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
      },
      "permission": "admin"
    },
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "display_name": "Sean Conaty",
        "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}"
      },
      "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "bitbucket/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
      },
      "permission": "write"
    }
  ],
  "page": 1,
  "size": 2
}

```

Results may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by repository, user, or permission by adding the following query string parameters:

* `q=repository.name="geordi"` or `q=permission>"read"` * `sort=user.display_name`

Note that the query parameter values need to be URL escaped so that `=` would become `%3D`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return TeamsApiTeamsUsernamePermissionsRepositoriesGetRequest

Deprecated

func (*TeamsApiService) TeamsUsernamePermissionsRepositoriesGetExecute ¶

Execute executes the request

@return PaginatedRepositoryPermissions

Deprecated

func (*TeamsApiService) TeamsUsernamePermissionsRepositoriesRepoSlugGet ¶

func (a *TeamsApiService) TeamsUsernamePermissionsRepositoriesRepoSlugGet(ctx context.Context, repoSlug string, username string) TeamsApiTeamsUsernamePermissionsRepositoriesRepoSlugGetRequest

TeamsUsernamePermissionsRepositoriesRepoSlugGet List repository permissions for a team

Returns an object for each repository permission of a given repository.

**This endpoint has been removed. You should use the [workspace repository permissions](/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-permissions-repositories-repo-slug-get) endpoint instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

If the username URL parameter refers to a user account instead of a team account, an object containing the repository permissions of the username's repository will be returned.

Permissions returned are effective permissions — the highest level of permission the user has. This does not include public repositories that users are not granted any specific permission in, and does not distinguish between explicit and implicit privileges.

Only users with admin permission for the repository may access this resource.

Permissions can be:

* `admin` * `write` * `read`

Example:

``` $ curl https://api.bitbucket.org/2.0/teams/atlassian_tutorial/permissions/repositories/geordi

{
  "pagelen": 10,
  "values": [
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "display_name": "Erik van Zijst",
        "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}"
      },
      "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "bitbucket/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
      },
      "permission": "admin"
    },
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "display_name": "Sean Conaty",
        "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}"
      },
      "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "bitbucket/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
      },
      "permission": "write"
    }
  ],
  "page": 1,
  "size": 2
}

```

Results may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by user, or permission by adding the following query string parameters:

* `q=permission>"read"` * `sort=user.display_name`

Note that the query parameter values need to be URL escaped so that `=` would become `%3D`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return TeamsApiTeamsUsernamePermissionsRepositoriesRepoSlugGetRequest

Deprecated

func (*TeamsApiService) TeamsUsernamePermissionsRepositoriesRepoSlugGetExecute ¶

Execute executes the request

@return PaginatedRepositoryPermissions

Deprecated

func (*TeamsApiService) TeamsWorkspaceRepositoriesGet ¶

func (a *TeamsApiService) TeamsWorkspaceRepositoriesGet(ctx context.Context, workspace string) TeamsApiTeamsWorkspaceRepositoriesGetRequest

TeamsWorkspaceRepositoriesGet List workspace repositories

All repositories in the given workspace. This includes any private repositories the calling user has access to.

**This endpoint has been removed. You should use the [repository list](/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get) endpoint instead. For more information, see the [deprecation announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return TeamsApiTeamsWorkspaceRepositoriesGetRequest

Deprecated

func (*TeamsApiService) TeamsWorkspaceRepositoriesGetExecute ¶

func (a *TeamsApiService) TeamsWorkspaceRepositoriesGetExecute(r TeamsApiTeamsWorkspaceRepositoriesGetRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

Deprecated

func (*TeamsApiService) UserPermissionsTeamsGet ¶

UserPermissionsTeamsGet List team permissions for the user

Returns an object for each team the caller is a member of, and their effective role — the highest level of privilege the caller has. If a user is a member of multiple groups with distinct roles, only the highest level is returned.

**This endpoint has been removed. You should use the [workspace permissions](/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-get) endpoint instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

Permissions can be:

* `admin` * `collaborator`

Example:

``` $ curl https://api.bitbucket.org/2.0/user/permissions/teams

{
  "pagelen": 10,
  "values": [
    {
      "permission": "admin",
      "type": "team_permission",
      "user": {
        "type": "user",
        "nickname": "evzijst",
        "display_name": "Erik van Zijst",
        "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}"
      },
      "team": {
        "display_name": "Atlassian Bitbucket",
        "uuid": "{4cc6108a-a241-4db0-96a5-64347ac04f87}"
      }
    }
  ],
  "page": 1,
  "size": 1
}

```

Results may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by team or permission by adding the following query string parameters:

* `q=team.uuid="{4cc6108a-a241-4db0-96a5-64347ac04f87}"` or `q=permission="admin"` * `sort=team.display_name`

Note that the query parameter values need to be URL escaped so that `=` would become `%3D`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return TeamsApiUserPermissionsTeamsGetRequest

Deprecated

func (*TeamsApiService) UserPermissionsTeamsGetExecute ¶

Execute executes the request

@return PaginatedTeamPermissions

Deprecated

func (*TeamsApiService) UsersWorkspaceRepositoriesGet ¶

func (a *TeamsApiService) UsersWorkspaceRepositoriesGet(ctx context.Context, workspace string) TeamsApiUsersWorkspaceRepositoriesGetRequest

UsersWorkspaceRepositoriesGet List workspace repositories

All repositories in the given workspace. This includes any private repositories the calling user has access to.

**This endpoint has been removed. You should use the [repository list](/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get) endpoint instead. For more information, see the [deprecation announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return TeamsApiUsersWorkspaceRepositoriesGetRequest

Deprecated

func (*TeamsApiService) UsersWorkspaceRepositoriesGetExecute ¶

func (a *TeamsApiService) UsersWorkspaceRepositoriesGetExecute(r TeamsApiUsersWorkspaceRepositoriesGetRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

Deprecated

type TeamsApiTeamsGetRequest ¶

type TeamsApiTeamsGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiTeamsGetRequest) Execute ¶

func (TeamsApiTeamsGetRequest) Role ¶

Filters the teams based on the authenticated user&#39;s role on each team. * **member**: returns a list of all the teams which the caller is a member of at least one team group or repository owned by the team * **contributor**: returns a list of teams which the caller has write access to at least one repository owned by the team * **admin**: returns a list teams which the caller has team administrator access

type TeamsApiTeamsUsernameFollowersGetRequest ¶

type TeamsApiTeamsUsernameFollowersGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiTeamsUsernameFollowersGetRequest) Execute ¶

type TeamsApiTeamsUsernameFollowingGetRequest ¶

type TeamsApiTeamsUsernameFollowingGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiTeamsUsernameFollowingGetRequest) Execute ¶

type TeamsApiTeamsUsernameGetRequest ¶

type TeamsApiTeamsUsernameGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiTeamsUsernameGetRequest) Execute ¶

type TeamsApiTeamsUsernameMembersGetRequest ¶

type TeamsApiTeamsUsernameMembersGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiTeamsUsernameMembersGetRequest) Execute ¶

type TeamsApiTeamsUsernamePermissionsGetRequest ¶

type TeamsApiTeamsUsernamePermissionsGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiTeamsUsernamePermissionsGetRequest) Execute ¶

func (TeamsApiTeamsUsernamePermissionsGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (TeamsApiTeamsUsernamePermissionsGetRequest) Sort ¶

Name of a response property sort the result by as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).

type TeamsApiTeamsUsernamePermissionsRepositoriesGetRequest ¶

type TeamsApiTeamsUsernamePermissionsRepositoriesGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiTeamsUsernamePermissionsRepositoriesGetRequest) Execute ¶

func (TeamsApiTeamsUsernamePermissionsRepositoriesGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (TeamsApiTeamsUsernamePermissionsRepositoriesGetRequest) Sort ¶

Name of a response property sort the result by as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).

type TeamsApiTeamsUsernamePermissionsRepositoriesRepoSlugGetRequest ¶

type TeamsApiTeamsUsernamePermissionsRepositoriesRepoSlugGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiTeamsUsernamePermissionsRepositoriesRepoSlugGetRequest) Execute ¶

func (TeamsApiTeamsUsernamePermissionsRepositoriesRepoSlugGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (TeamsApiTeamsUsernamePermissionsRepositoriesRepoSlugGetRequest) Sort ¶

Name of a response property sort the result by as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).

type TeamsApiTeamsWorkspaceRepositoriesGetRequest ¶

type TeamsApiTeamsWorkspaceRepositoriesGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiTeamsWorkspaceRepositoriesGetRequest) Execute ¶

type TeamsApiUserPermissionsTeamsGetRequest ¶

type TeamsApiUserPermissionsTeamsGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiUserPermissionsTeamsGetRequest) Execute ¶

func (TeamsApiUserPermissionsTeamsGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (TeamsApiUserPermissionsTeamsGetRequest) Sort ¶

Name of a response property sort the result by as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).

type TeamsApiUsersWorkspaceRepositoriesGetRequest ¶

type TeamsApiUsersWorkspaceRepositoriesGetRequest struct {
	ApiService *TeamsApiService
	// contains filtered or unexported fields
}

func (TeamsApiUsersWorkspaceRepositoriesGetRequest) Execute ¶

type Treeentry ¶

type Treeentry struct {
	Type string `json:"type"`
	// The path in the repository
	Path                 *string `json:"path,omitempty"`
	Commit               *Commit `json:"commit,omitempty"`
	AdditionalProperties map[string]interface{}
}

Treeentry Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.

func NewTreeentry ¶

func NewTreeentry() *Treeentry

NewTreeentry instantiates a new Treeentry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewTreeentryWithDefaults ¶

func NewTreeentryWithDefaults() *Treeentry

NewTreeentryWithDefaults instantiates a new Treeentry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Treeentry) GetCommit ¶

func (o *Treeentry) GetCommit() Commit

GetCommit returns the Commit field value if set, zero value otherwise.

func (*Treeentry) GetCommitOk ¶

func (o *Treeentry) GetCommitOk() (*Commit, bool)

GetCommitOk returns a tuple with the Commit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Treeentry) GetPath ¶

func (o *Treeentry) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*Treeentry) GetPathOk ¶

func (o *Treeentry) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Treeentry) GetType ¶

func (o *Treeentry) GetType() string

GetType returns the Type field value

func (*Treeentry) GetTypeOk ¶

func (o *Treeentry) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*Treeentry) HasCommit ¶

func (o *Treeentry) HasCommit() bool

HasCommit returns a boolean if a field has been set.

func (*Treeentry) HasPath ¶

func (o *Treeentry) HasPath() bool

HasPath returns a boolean if a field has been set.

func (Treeentry) MarshalJSON ¶

func (o Treeentry) MarshalJSON() ([]byte, error)

func (*Treeentry) SetCommit ¶

func (o *Treeentry) SetCommit(v Commit)

SetCommit gets a reference to the given Commit and assigns it to the Commit field.

func (*Treeentry) SetPath ¶

func (o *Treeentry) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*Treeentry) SetType ¶

func (o *Treeentry) SetType(v string)

SetType sets field value

func (*Treeentry) UnmarshalJSON ¶ added in v0.0.3

func (o *Treeentry) UnmarshalJSON(bytes []byte) (err error)

type User ¶

type User struct {
	IsStaff *bool `json:"is_staff,omitempty"`
	// The user's Atlassian account ID.
	AccountId            *string `json:"account_id,omitempty"`
	AdditionalProperties map[string]interface{}
}

User A user object.

func NewUser ¶

func NewUser() *User

NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewUserWithDefaults ¶

func NewUserWithDefaults() *User

NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*User) GetAccountId ¶

func (o *User) GetAccountId() string

GetAccountId returns the AccountId field value if set, zero value otherwise.

func (*User) GetAccountIdOk ¶

func (o *User) GetAccountIdOk() (*string, bool)

GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) GetIsStaff ¶

func (o *User) GetIsStaff() bool

GetIsStaff returns the IsStaff field value if set, zero value otherwise.

func (*User) GetIsStaffOk ¶

func (o *User) GetIsStaffOk() (*bool, bool)

GetIsStaffOk returns a tuple with the IsStaff field value if set, nil otherwise and a boolean to check if the value has been set.

func (*User) HasAccountId ¶

func (o *User) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

func (*User) HasIsStaff ¶

func (o *User) HasIsStaff() bool

HasIsStaff returns a boolean if a field has been set.

func (User) MarshalJSON ¶

func (o User) MarshalJSON() ([]byte, error)

func (*User) SetAccountId ¶

func (o *User) SetAccountId(v string)

SetAccountId gets a reference to the given string and assigns it to the AccountId field.

func (*User) SetIsStaff ¶

func (o *User) SetIsStaff(v bool)

SetIsStaff gets a reference to the given bool and assigns it to the IsStaff field.

func (*User) UnmarshalJSON ¶ added in v0.0.3

func (o *User) UnmarshalJSON(bytes []byte) (err error)

type UsersApiService ¶

type UsersApiService service

UsersApiService UsersApi service

func (*UsersApiService) TeamsWorkspaceRepositoriesGet ¶

func (a *UsersApiService) TeamsWorkspaceRepositoriesGet(ctx context.Context, workspace string) UsersApiTeamsWorkspaceRepositoriesGetRequest

TeamsWorkspaceRepositoriesGet List workspace repositories

All repositories in the given workspace. This includes any private repositories the calling user has access to.

**This endpoint has been removed. You should use the [repository list](/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get) endpoint instead. For more information, see the [deprecation announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return UsersApiTeamsWorkspaceRepositoriesGetRequest

Deprecated

func (*UsersApiService) TeamsWorkspaceRepositoriesGetExecute ¶

func (a *UsersApiService) TeamsWorkspaceRepositoriesGetExecute(r UsersApiTeamsWorkspaceRepositoriesGetRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

Deprecated

func (*UsersApiService) UserEmailsEmailGet ¶

func (a *UsersApiService) UserEmailsEmailGet(ctx context.Context, email string) UsersApiUserEmailsEmailGetRequest

UserEmailsEmailGet Get an email address for current user

Returns details about a specific one of the authenticated user's email addresses.

Details describe whether the address has been confirmed by the user and whether it is the user's primary address or not.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param email Email address of the user.
@return UsersApiUserEmailsEmailGetRequest

func (*UsersApiService) UserEmailsEmailGetExecute ¶

func (a *UsersApiService) UserEmailsEmailGetExecute(r UsersApiUserEmailsEmailGetRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

func (*UsersApiService) UserEmailsGet ¶

UserEmailsGet List email addresses for current user

Returns all the authenticated user's email addresses. Both confirmed and unconfirmed.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return UsersApiUserEmailsGetRequest

func (*UsersApiService) UserEmailsGetExecute ¶

func (a *UsersApiService) UserEmailsGetExecute(r UsersApiUserEmailsGetRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

func (*UsersApiService) UserGet ¶

UserGet Get current user

Returns the currently logged in user.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return UsersApiUserGetRequest

func (*UsersApiService) UserGetExecute ¶

func (a *UsersApiService) UserGetExecute(r UsersApiUserGetRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UsersApiService) UsersSelectedUserGet ¶

func (a *UsersApiService) UsersSelectedUserGet(ctx context.Context, selectedUser string) UsersApiUsersSelectedUserGetRequest

UsersSelectedUserGet Get a user

Gets the public information associated with a user account.

If the user's profile is private, `location`, `website` and `created_on` elements are omitted.

Note that the user object returned by this operation is changing significantly, due to privacy changes. See the [announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/#changes-to-bitbucket-user-objects) for details.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param selectedUser This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID.
@return UsersApiUsersSelectedUserGetRequest

func (*UsersApiService) UsersSelectedUserGetExecute ¶

func (a *UsersApiService) UsersSelectedUserGetExecute(r UsersApiUsersSelectedUserGetRequest) (*User, *http.Response, error)

Execute executes the request

@return User

func (*UsersApiService) UsersUsernameMembersGet ¶

func (a *UsersApiService) UsersUsernameMembersGet(ctx context.Context, username string) UsersApiUsersUsernameMembersGetRequest

UsersUsernameMembersGet List team users

**This endpoint has been removed. You should use the [workspaces](/cloud/bitbucket/rest/api-group-workspaces/#api-workspaces-workspace-members-get) endpoint instead. For more information, see [this post](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param username This can either be the username or the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`. An account is either a team or user.
@return UsersApiUsersUsernameMembersGetRequest

Deprecated

func (*UsersApiService) UsersUsernameMembersGetExecute ¶

func (a *UsersApiService) UsersUsernameMembersGetExecute(r UsersApiUsersUsernameMembersGetRequest) (*User, *http.Response, error)

Execute executes the request

@return User

Deprecated

func (*UsersApiService) UsersWorkspaceRepositoriesGet ¶

func (a *UsersApiService) UsersWorkspaceRepositoriesGet(ctx context.Context, workspace string) UsersApiUsersWorkspaceRepositoriesGetRequest

UsersWorkspaceRepositoriesGet List workspace repositories

All repositories in the given workspace. This includes any private repositories the calling user has access to.

**This endpoint has been removed. You should use the [repository list](/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get) endpoint instead. For more information, see the [deprecation announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return UsersApiUsersWorkspaceRepositoriesGetRequest

Deprecated

func (*UsersApiService) UsersWorkspaceRepositoriesGetExecute ¶

func (a *UsersApiService) UsersWorkspaceRepositoriesGetExecute(r UsersApiUsersWorkspaceRepositoriesGetRequest) (*ModelError, *http.Response, error)

Execute executes the request

@return ModelError

Deprecated

type UsersApiTeamsWorkspaceRepositoriesGetRequest ¶

type UsersApiTeamsWorkspaceRepositoriesGetRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (UsersApiTeamsWorkspaceRepositoriesGetRequest) Execute ¶

type UsersApiUserEmailsEmailGetRequest ¶

type UsersApiUserEmailsEmailGetRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (UsersApiUserEmailsEmailGetRequest) Execute ¶

type UsersApiUserEmailsGetRequest ¶

type UsersApiUserEmailsGetRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (UsersApiUserEmailsGetRequest) Execute ¶

type UsersApiUserGetRequest ¶

type UsersApiUserGetRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (UsersApiUserGetRequest) Execute ¶

func (r UsersApiUserGetRequest) Execute() (*User, *http.Response, error)

type UsersApiUsersSelectedUserGetRequest ¶

type UsersApiUsersSelectedUserGetRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (UsersApiUsersSelectedUserGetRequest) Execute ¶

type UsersApiUsersUsernameMembersGetRequest ¶

type UsersApiUsersUsernameMembersGetRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (UsersApiUsersUsernameMembersGetRequest) Execute ¶

type UsersApiUsersWorkspaceRepositoriesGetRequest ¶

type UsersApiUsersWorkspaceRepositoriesGetRequest struct {
	ApiService *UsersApiService
	// contains filtered or unexported fields
}

func (UsersApiUsersWorkspaceRepositoriesGetRequest) Execute ¶

type Version ¶

type Version struct {
	Links                *BranchingModelSettingsLinks `json:"links,omitempty"`
	Name                 *string                      `json:"name,omitempty"`
	Id                   *int32                       `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

Version A version as defined in a repository's issue tracker.

func NewVersion ¶

func NewVersion() *Version

NewVersion instantiates a new Version object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewVersionWithDefaults ¶

func NewVersionWithDefaults() *Version

NewVersionWithDefaults instantiates a new Version object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Version) GetId ¶

func (o *Version) GetId() int32

GetId returns the Id field value if set, zero value otherwise.

func (*Version) GetIdOk ¶

func (o *Version) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Version) GetLinks() BranchingModelSettingsLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Version) GetLinksOk ¶

func (o *Version) GetLinksOk() (*BranchingModelSettingsLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Version) GetName ¶

func (o *Version) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Version) GetNameOk ¶

func (o *Version) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Version) HasId ¶

func (o *Version) HasId() bool

HasId returns a boolean if a field has been set.

func (o *Version) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Version) HasName ¶

func (o *Version) HasName() bool

HasName returns a boolean if a field has been set.

func (Version) MarshalJSON ¶

func (o Version) MarshalJSON() ([]byte, error)

func (*Version) SetId ¶

func (o *Version) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

func (o *Version) SetLinks(v BranchingModelSettingsLinks)

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*Version) SetName ¶

func (o *Version) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Version) UnmarshalJSON ¶ added in v0.0.3

func (o *Version) UnmarshalJSON(bytes []byte) (err error)

type WebhookSubscription ¶

type WebhookSubscription struct {
	// The webhook's id
	Uuid *string `json:"uuid,omitempty"`
	// The URL events get delivered to.
	Url *string `json:"url,omitempty"`
	// A user-defined description of the webhook.
	Description *string `json:"description,omitempty"`
	// The type of entity. Set to either `repository` or `workspace` based on where the subscription is defined.
	SubjectType *string    `json:"subject_type,omitempty"`
	Subject     *Object    `json:"subject,omitempty"`
	Active      *bool      `json:"active,omitempty"`
	CreatedAt   *time.Time `json:"created_at,omitempty"`
	// The events this webhook is subscribed to.
	Events               []string `json:"events,omitempty"`
	AdditionalProperties map[string]interface{}
}

WebhookSubscription A Webhook subscription.

func NewWebhookSubscription ¶

func NewWebhookSubscription() *WebhookSubscription

NewWebhookSubscription instantiates a new WebhookSubscription object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWebhookSubscriptionWithDefaults ¶

func NewWebhookSubscriptionWithDefaults() *WebhookSubscription

NewWebhookSubscriptionWithDefaults instantiates a new WebhookSubscription object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WebhookSubscription) GetActive ¶

func (o *WebhookSubscription) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*WebhookSubscription) GetActiveOk ¶

func (o *WebhookSubscription) GetActiveOk() (*bool, bool)

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookSubscription) GetCreatedAt ¶

func (o *WebhookSubscription) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*WebhookSubscription) GetCreatedAtOk ¶

func (o *WebhookSubscription) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookSubscription) GetDescription ¶

func (o *WebhookSubscription) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*WebhookSubscription) GetDescriptionOk ¶

func (o *WebhookSubscription) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookSubscription) GetEvents ¶

func (o *WebhookSubscription) GetEvents() []string

GetEvents returns the Events field value if set, zero value otherwise.

func (*WebhookSubscription) GetEventsOk ¶

func (o *WebhookSubscription) GetEventsOk() ([]string, bool)

GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookSubscription) GetSubject ¶

func (o *WebhookSubscription) GetSubject() Object

GetSubject returns the Subject field value if set, zero value otherwise.

func (*WebhookSubscription) GetSubjectOk ¶

func (o *WebhookSubscription) GetSubjectOk() (*Object, bool)

GetSubjectOk returns a tuple with the Subject field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookSubscription) GetSubjectType ¶

func (o *WebhookSubscription) GetSubjectType() string

GetSubjectType returns the SubjectType field value if set, zero value otherwise.

func (*WebhookSubscription) GetSubjectTypeOk ¶

func (o *WebhookSubscription) GetSubjectTypeOk() (*string, bool)

GetSubjectTypeOk returns a tuple with the SubjectType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookSubscription) GetUrl ¶

func (o *WebhookSubscription) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*WebhookSubscription) GetUrlOk ¶

func (o *WebhookSubscription) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookSubscription) GetUuid ¶

func (o *WebhookSubscription) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*WebhookSubscription) GetUuidOk ¶

func (o *WebhookSubscription) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WebhookSubscription) HasActive ¶

func (o *WebhookSubscription) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*WebhookSubscription) HasCreatedAt ¶

func (o *WebhookSubscription) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*WebhookSubscription) HasDescription ¶

func (o *WebhookSubscription) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*WebhookSubscription) HasEvents ¶

func (o *WebhookSubscription) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*WebhookSubscription) HasSubject ¶

func (o *WebhookSubscription) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (*WebhookSubscription) HasSubjectType ¶

func (o *WebhookSubscription) HasSubjectType() bool

HasSubjectType returns a boolean if a field has been set.

func (*WebhookSubscription) HasUrl ¶

func (o *WebhookSubscription) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (*WebhookSubscription) HasUuid ¶

func (o *WebhookSubscription) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (WebhookSubscription) MarshalJSON ¶

func (o WebhookSubscription) MarshalJSON() ([]byte, error)

func (*WebhookSubscription) SetActive ¶

func (o *WebhookSubscription) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*WebhookSubscription) SetCreatedAt ¶

func (o *WebhookSubscription) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*WebhookSubscription) SetDescription ¶

func (o *WebhookSubscription) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*WebhookSubscription) SetEvents ¶

func (o *WebhookSubscription) SetEvents(v []string)

SetEvents gets a reference to the given []string and assigns it to the Events field.

func (*WebhookSubscription) SetSubject ¶

func (o *WebhookSubscription) SetSubject(v Object)

SetSubject gets a reference to the given Object and assigns it to the Subject field.

func (*WebhookSubscription) SetSubjectType ¶

func (o *WebhookSubscription) SetSubjectType(v string)

SetSubjectType gets a reference to the given string and assigns it to the SubjectType field.

func (*WebhookSubscription) SetUrl ¶

func (o *WebhookSubscription) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (*WebhookSubscription) SetUuid ¶

func (o *WebhookSubscription) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*WebhookSubscription) UnmarshalJSON ¶ added in v0.0.3

func (o *WebhookSubscription) UnmarshalJSON(bytes []byte) (err error)

type WebhooksApiHookEventsGetRequest ¶

type WebhooksApiHookEventsGetRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiHookEventsGetRequest) Execute ¶

type WebhooksApiHookEventsSubjectTypeGetRequest ¶

type WebhooksApiHookEventsSubjectTypeGetRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiHookEventsSubjectTypeGetRequest) Execute ¶

type WebhooksApiRepositoriesWorkspaceRepoSlugHooksGetRequest ¶

type WebhooksApiRepositoriesWorkspaceRepoSlugHooksGetRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiRepositoriesWorkspaceRepoSlugHooksGetRequest) Execute ¶

type WebhooksApiRepositoriesWorkspaceRepoSlugHooksPostRequest ¶

type WebhooksApiRepositoriesWorkspaceRepoSlugHooksPostRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiRepositoriesWorkspaceRepoSlugHooksPostRequest) Execute ¶

type WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest ¶

type WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest) Execute ¶

type WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidGetRequest ¶

type WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidGetRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidGetRequest) Execute ¶

type WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidPutRequest ¶

type WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidPutRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidPutRequest) Execute ¶

type WebhooksApiService ¶

type WebhooksApiService service

WebhooksApiService WebhooksApi service

func (*WebhooksApiService) HookEventsGet ¶

HookEventsGet Get a webhook resource

Returns the webhook resource or subject types on which webhooks can be registered.

Each resource/subject type contains an `events` link that returns the paginated list of specific events each individual subject type can emit.

This endpoint is publicly accessible and does not require authentication or scopes.

Example:

``` $ curl https://api.bitbucket.org/2.0/hook_events

{
    "repository": {
        "links": {
            "events": {
                "href": "https://api.bitbucket.org/2.0/hook_events/repository"
            }
        }
    },
    "team": {
        "links": {
            "events": {
                "href": "https://api.bitbucket.org/2.0/hook_events/team"
            }
        }
    },
    "user": {
        "links": {
            "events": {
                "href": "https://api.bitbucket.org/2.0/hook_events/user"
            }
        }
    }
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return WebhooksApiHookEventsGetRequest

func (*WebhooksApiService) HookEventsGetExecute ¶

Execute executes the request

@return SubjectTypes

func (*WebhooksApiService) HookEventsSubjectTypeGet ¶

func (a *WebhooksApiService) HookEventsSubjectTypeGet(ctx context.Context, subjectType string) WebhooksApiHookEventsSubjectTypeGetRequest

HookEventsSubjectTypeGet List subscribable webhook types

Returns a paginated list of all valid webhook events for the specified entity. **The team and user webhooks are deprecated, and you should use workspace instead. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**

This is public data that does not require any scopes or authentication.

Example:

NOTE: The following example is a truncated response object for the `workspace` `subject_type`. We return the same structure for the other `subject_type` objects.

``` $ curl https://api.bitbucket.org/2.0/hook_events/workspace

{
    "page": 1,
    "pagelen": 30,
    "size": 21,
    "values": [
        {
            "category": "Repository",
            "description": "Whenever a repository push occurs",
            "event": "repo:push",
            "label": "Push"
        },
        {
            "category": "Repository",
            "description": "Whenever a repository fork occurs",
            "event": "repo:fork",
            "label": "Fork"
        },
        {
            "category": "Repository",
            "description": "Whenever a repository import occurs",
            "event": "repo:imported",
            "label": "Import"
        },
        ...
        {
            "category":"Pull Request",
            "label":"Approved",
            "description":"When someone has approved a pull request",
            "event":"pullrequest:approved"
        },
    ]
}

```

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param subjectType A resource or subject type.
@return WebhooksApiHookEventsSubjectTypeGetRequest

func (*WebhooksApiService) HookEventsSubjectTypeGetExecute ¶

Execute executes the request

@return PaginatedHookEvents

func (*WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksGet ¶

func (a *WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksGet(ctx context.Context, repoSlug string, workspace string) WebhooksApiRepositoriesWorkspaceRepoSlugHooksGetRequest

RepositoriesWorkspaceRepoSlugHooksGet List webhooks for a repository

Returns a paginated list of webhooks installed on this repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WebhooksApiRepositoriesWorkspaceRepoSlugHooksGetRequest

func (*WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksGetExecute ¶

Execute executes the request

@return PaginatedWebhookSubscriptions

func (*WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksPost ¶

func (a *WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksPost(ctx context.Context, repoSlug string, workspace string) WebhooksApiRepositoriesWorkspaceRepoSlugHooksPostRequest

RepositoriesWorkspaceRepoSlugHooksPost Create a webhook for a repository

Creates a new webhook on the specified repository.

Example:

``` $ curl -X POST -u credentials -H 'Content-Type: application/json'

https://api.bitbucket.org/2.0/repositories/my-workspace/my-repo-slug/hooks
-d '
  {
    "description": "Webhook Description",
    "url": "https://example.com/",
    "active": true,
    "events": [
      "repo:push",
      "issue:created",
      "issue:updated"
    ]
  }'

```

Note that this call requires the webhook scope, as well as any scope that applies to the events that the webhook subscribes to. In the example above that means: `webhook`, `repository` and `issue`.

Also note that the `url` must properly resolve and cannot be an internal, non-routed address.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WebhooksApiRepositoriesWorkspaceRepoSlugHooksPostRequest

func (*WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksPostExecute ¶

Execute executes the request

@return WebhookSubscription

func (*WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksUidDelete ¶

func (a *WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksUidDelete(ctx context.Context, repoSlug string, uid string, workspace string) WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest

RepositoriesWorkspaceRepoSlugHooksUidDelete Delete a webhook for a repository

Deletes the specified webhook subscription from the given repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest

func (*WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksUidDeleteExecute ¶

func (a *WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksUidDeleteExecute(r WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidDeleteRequest) (*http.Response, error)

Execute executes the request

func (*WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksUidGet ¶

func (a *WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksUidGet(ctx context.Context, repoSlug string, uid string, workspace string) WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidGetRequest

RepositoriesWorkspaceRepoSlugHooksUidGet Get a webhook for a repository

Returns the webhook with the specified id installed on the specified repository.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidGetRequest

func (*WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksUidGetExecute ¶

Execute executes the request

@return WebhookSubscription

func (*WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksUidPut ¶

func (a *WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksUidPut(ctx context.Context, repoSlug string, uid string, workspace string) WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidPutRequest

RepositoriesWorkspaceRepoSlugHooksUidPut Update a webhook for a repository

Updates the specified webhook subscription.

The following properties can be mutated:

* `description` * `url` * `active` * `events`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WebhooksApiRepositoriesWorkspaceRepoSlugHooksUidPutRequest

func (*WebhooksApiService) RepositoriesWorkspaceRepoSlugHooksUidPutExecute ¶

Execute executes the request

@return WebhookSubscription

func (*WebhooksApiService) WorkspacesWorkspaceHooksGet ¶

func (a *WebhooksApiService) WorkspacesWorkspaceHooksGet(ctx context.Context, workspace string) WebhooksApiWorkspacesWorkspaceHooksGetRequest

WorkspacesWorkspaceHooksGet List webhooks for a workspace

Returns a paginated list of webhooks installed on this workspace.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WebhooksApiWorkspacesWorkspaceHooksGetRequest

func (*WebhooksApiService) WorkspacesWorkspaceHooksGetExecute ¶

Execute executes the request

@return PaginatedWebhookSubscriptions

func (*WebhooksApiService) WorkspacesWorkspaceHooksPost ¶

func (a *WebhooksApiService) WorkspacesWorkspaceHooksPost(ctx context.Context, workspace string) WebhooksApiWorkspacesWorkspaceHooksPostRequest

WorkspacesWorkspaceHooksPost Create a webhook for a workspace

Creates a new webhook on the specified workspace.

Workspace webhooks are fired for events from all repositories contained by that workspace.

Example:

``` $ curl -X POST -u credentials -H 'Content-Type: application/json'

https://api.bitbucket.org/2.0/workspaces/my-workspace/hooks
-d '
  {
    "description": "Webhook Description",
    "url": "https://example.com/",
    "active": true,
    "events": [
      "repo:push",
      "issue:created",
      "issue:updated"
    ]
  }'

```

This call requires the webhook scope, as well as any scope that applies to the events that the webhook subscribes to. In the example above that means: `webhook`, `repository` and `issue`.

The `url` must properly resolve and cannot be an internal, non-routed address.

Only workspace owners can install webhooks on workspaces.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WebhooksApiWorkspacesWorkspaceHooksPostRequest

func (*WebhooksApiService) WorkspacesWorkspaceHooksPostExecute ¶

Execute executes the request

@return WebhookSubscription

func (*WebhooksApiService) WorkspacesWorkspaceHooksUidDelete ¶

func (a *WebhooksApiService) WorkspacesWorkspaceHooksUidDelete(ctx context.Context, uid string, workspace string) WebhooksApiWorkspacesWorkspaceHooksUidDeleteRequest

WorkspacesWorkspaceHooksUidDelete Delete a webhook for a workspace

Deletes the specified webhook subscription from the given workspace.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WebhooksApiWorkspacesWorkspaceHooksUidDeleteRequest

func (*WebhooksApiService) WorkspacesWorkspaceHooksUidDeleteExecute ¶

func (a *WebhooksApiService) WorkspacesWorkspaceHooksUidDeleteExecute(r WebhooksApiWorkspacesWorkspaceHooksUidDeleteRequest) (*http.Response, error)

Execute executes the request

func (*WebhooksApiService) WorkspacesWorkspaceHooksUidGet ¶

func (a *WebhooksApiService) WorkspacesWorkspaceHooksUidGet(ctx context.Context, uid string, workspace string) WebhooksApiWorkspacesWorkspaceHooksUidGetRequest

WorkspacesWorkspaceHooksUidGet Get a webhook for a workspace

Returns the webhook with the specified id installed on the given workspace.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WebhooksApiWorkspacesWorkspaceHooksUidGetRequest

func (*WebhooksApiService) WorkspacesWorkspaceHooksUidGetExecute ¶

Execute executes the request

@return WebhookSubscription

func (*WebhooksApiService) WorkspacesWorkspaceHooksUidPut ¶

func (a *WebhooksApiService) WorkspacesWorkspaceHooksUidPut(ctx context.Context, uid string, workspace string) WebhooksApiWorkspacesWorkspaceHooksUidPutRequest

WorkspacesWorkspaceHooksUidPut Update a webhook for a workspace

Updates the specified webhook subscription.

The following properties can be mutated:

* `description` * `url` * `active` * `events`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WebhooksApiWorkspacesWorkspaceHooksUidPutRequest

func (*WebhooksApiService) WorkspacesWorkspaceHooksUidPutExecute ¶

Execute executes the request

@return WebhookSubscription

type WebhooksApiWorkspacesWorkspaceHooksGetRequest ¶

type WebhooksApiWorkspacesWorkspaceHooksGetRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiWorkspacesWorkspaceHooksGetRequest) Execute ¶

type WebhooksApiWorkspacesWorkspaceHooksPostRequest ¶

type WebhooksApiWorkspacesWorkspaceHooksPostRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiWorkspacesWorkspaceHooksPostRequest) Execute ¶

type WebhooksApiWorkspacesWorkspaceHooksUidDeleteRequest ¶

type WebhooksApiWorkspacesWorkspaceHooksUidDeleteRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiWorkspacesWorkspaceHooksUidDeleteRequest) Execute ¶

type WebhooksApiWorkspacesWorkspaceHooksUidGetRequest ¶

type WebhooksApiWorkspacesWorkspaceHooksUidGetRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiWorkspacesWorkspaceHooksUidGetRequest) Execute ¶

type WebhooksApiWorkspacesWorkspaceHooksUidPutRequest ¶

type WebhooksApiWorkspacesWorkspaceHooksUidPutRequest struct {
	ApiService *WebhooksApiService
	// contains filtered or unexported fields
}

func (WebhooksApiWorkspacesWorkspaceHooksUidPutRequest) Execute ¶

type Workspace ¶

type Workspace struct {
	Links *WorkspaceLinks `json:"links,omitempty"`
	// The workspace's immutable id.
	Uuid *string `json:"uuid,omitempty"`
	// The name of the workspace.
	Name *string `json:"name,omitempty"`
	// The short label that identifies this workspace.
	Slug *string `json:"slug,omitempty"`
	// Indicates whether the workspace is publicly accessible, or whether it is private to the members and consequently only visible to members.
	IsPrivate            *bool      `json:"is_private,omitempty"`
	CreatedOn            *time.Time `json:"created_on,omitempty"`
	UpdatedOn            *time.Time `json:"updated_on,omitempty"`
	AdditionalProperties map[string]interface{}
}

Workspace A Bitbucket workspace. Workspaces are used to organize repositories.

func NewWorkspace ¶

func NewWorkspace() *Workspace

NewWorkspace instantiates a new Workspace object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWorkspaceWithDefaults ¶

func NewWorkspaceWithDefaults() *Workspace

NewWorkspaceWithDefaults instantiates a new Workspace object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Workspace) GetCreatedOn ¶

func (o *Workspace) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field value if set, zero value otherwise.

func (*Workspace) GetCreatedOnOk ¶

func (o *Workspace) GetCreatedOnOk() (*time.Time, bool)

GetCreatedOnOk returns a tuple with the CreatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Workspace) GetIsPrivate ¶

func (o *Workspace) GetIsPrivate() bool

GetIsPrivate returns the IsPrivate field value if set, zero value otherwise.

func (*Workspace) GetIsPrivateOk ¶

func (o *Workspace) GetIsPrivateOk() (*bool, bool)

GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *Workspace) GetLinks() WorkspaceLinks

GetLinks returns the Links field value if set, zero value otherwise.

func (*Workspace) GetLinksOk ¶

func (o *Workspace) GetLinksOk() (*WorkspaceLinks, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Workspace) GetName ¶

func (o *Workspace) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Workspace) GetNameOk ¶

func (o *Workspace) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Workspace) GetSlug ¶

func (o *Workspace) GetSlug() string

GetSlug returns the Slug field value if set, zero value otherwise.

func (*Workspace) GetSlugOk ¶

func (o *Workspace) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Workspace) GetUpdatedOn ¶

func (o *Workspace) GetUpdatedOn() time.Time

GetUpdatedOn returns the UpdatedOn field value if set, zero value otherwise.

func (*Workspace) GetUpdatedOnOk ¶

func (o *Workspace) GetUpdatedOnOk() (*time.Time, bool)

GetUpdatedOnOk returns a tuple with the UpdatedOn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Workspace) GetUuid ¶

func (o *Workspace) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*Workspace) GetUuidOk ¶

func (o *Workspace) GetUuidOk() (*string, bool)

GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Workspace) HasCreatedOn ¶

func (o *Workspace) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

func (*Workspace) HasIsPrivate ¶

func (o *Workspace) HasIsPrivate() bool

HasIsPrivate returns a boolean if a field has been set.

func (o *Workspace) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Workspace) HasName ¶

func (o *Workspace) HasName() bool

HasName returns a boolean if a field has been set.

func (*Workspace) HasSlug ¶

func (o *Workspace) HasSlug() bool

HasSlug returns a boolean if a field has been set.

func (*Workspace) HasUpdatedOn ¶

func (o *Workspace) HasUpdatedOn() bool

HasUpdatedOn returns a boolean if a field has been set.

func (*Workspace) HasUuid ¶

func (o *Workspace) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (Workspace) MarshalJSON ¶

func (o Workspace) MarshalJSON() ([]byte, error)

func (*Workspace) SetCreatedOn ¶

func (o *Workspace) SetCreatedOn(v time.Time)

SetCreatedOn gets a reference to the given time.Time and assigns it to the CreatedOn field.

func (*Workspace) SetIsPrivate ¶

func (o *Workspace) SetIsPrivate(v bool)

SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field.

func (o *Workspace) SetLinks(v WorkspaceLinks)

SetLinks gets a reference to the given WorkspaceLinks and assigns it to the Links field.

func (*Workspace) SetName ¶

func (o *Workspace) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Workspace) SetSlug ¶

func (o *Workspace) SetSlug(v string)

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (*Workspace) SetUpdatedOn ¶

func (o *Workspace) SetUpdatedOn(v time.Time)

SetUpdatedOn gets a reference to the given time.Time and assigns it to the UpdatedOn field.

func (*Workspace) SetUuid ¶

func (o *Workspace) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*Workspace) UnmarshalJSON ¶ added in v0.0.3

func (o *Workspace) UnmarshalJSON(bytes []byte) (err error)
type WorkspaceLinks struct {
	Avatar               *Link `json:"avatar,omitempty"`
	Html                 *Link `json:"html,omitempty"`
	Members              *Link `json:"members,omitempty"`
	Owners               *Link `json:"owners,omitempty"`
	Projects             *Link `json:"projects,omitempty"`
	Repositories         *Link `json:"repositories,omitempty"`
	Snippets             *Link `json:"snippets,omitempty"`
	Self                 *Link `json:"self,omitempty"`
	AdditionalProperties map[string]interface{}
}

WorkspaceLinks struct for WorkspaceLinks

func NewWorkspaceLinks() *WorkspaceLinks

NewWorkspaceLinks instantiates a new WorkspaceLinks object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWorkspaceLinksWithDefaults ¶

func NewWorkspaceLinksWithDefaults() *WorkspaceLinks

NewWorkspaceLinksWithDefaults instantiates a new WorkspaceLinks object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*WorkspaceLinks) GetAvatar ¶

func (o *WorkspaceLinks) GetAvatar() Link

GetAvatar returns the Avatar field value if set, zero value otherwise.

func (*WorkspaceLinks) GetAvatarOk ¶

func (o *WorkspaceLinks) GetAvatarOk() (*Link, bool)

GetAvatarOk returns a tuple with the Avatar field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkspaceLinks) GetHtml ¶

func (o *WorkspaceLinks) GetHtml() Link

GetHtml returns the Html field value if set, zero value otherwise.

func (*WorkspaceLinks) GetHtmlOk ¶

func (o *WorkspaceLinks) GetHtmlOk() (*Link, bool)

GetHtmlOk returns a tuple with the Html field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkspaceLinks) GetMembers ¶

func (o *WorkspaceLinks) GetMembers() Link

GetMembers returns the Members field value if set, zero value otherwise.

func (*WorkspaceLinks) GetMembersOk ¶

func (o *WorkspaceLinks) GetMembersOk() (*Link, bool)

GetMembersOk returns a tuple with the Members field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkspaceLinks) GetOwners ¶

func (o *WorkspaceLinks) GetOwners() Link

GetOwners returns the Owners field value if set, zero value otherwise.

func (*WorkspaceLinks) GetOwnersOk ¶

func (o *WorkspaceLinks) GetOwnersOk() (*Link, bool)

GetOwnersOk returns a tuple with the Owners field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkspaceLinks) GetProjects ¶

func (o *WorkspaceLinks) GetProjects() Link

GetProjects returns the Projects field value if set, zero value otherwise.

func (*WorkspaceLinks) GetProjectsOk ¶

func (o *WorkspaceLinks) GetProjectsOk() (*Link, bool)

GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkspaceLinks) GetRepositories ¶

func (o *WorkspaceLinks) GetRepositories() Link

GetRepositories returns the Repositories field value if set, zero value otherwise.

func (*WorkspaceLinks) GetRepositoriesOk ¶

func (o *WorkspaceLinks) GetRepositoriesOk() (*Link, bool)

GetRepositoriesOk returns a tuple with the Repositories field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkspaceLinks) GetSelf ¶

func (o *WorkspaceLinks) GetSelf() Link

GetSelf returns the Self field value if set, zero value otherwise.

func (*WorkspaceLinks) GetSelfOk ¶

func (o *WorkspaceLinks) GetSelfOk() (*Link, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkspaceLinks) GetSnippets ¶

func (o *WorkspaceLinks) GetSnippets() Link

GetSnippets returns the Snippets field value if set, zero value otherwise.

func (*WorkspaceLinks) GetSnippetsOk ¶

func (o *WorkspaceLinks) GetSnippetsOk() (*Link, bool)

GetSnippetsOk returns a tuple with the Snippets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkspaceLinks) HasAvatar ¶

func (o *WorkspaceLinks) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

func (*WorkspaceLinks) HasHtml ¶

func (o *WorkspaceLinks) HasHtml() bool

HasHtml returns a boolean if a field has been set.

func (*WorkspaceLinks) HasMembers ¶

func (o *WorkspaceLinks) HasMembers() bool

HasMembers returns a boolean if a field has been set.

func (*WorkspaceLinks) HasOwners ¶

func (o *WorkspaceLinks) HasOwners() bool

HasOwners returns a boolean if a field has been set.

func (*WorkspaceLinks) HasProjects ¶

func (o *WorkspaceLinks) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*WorkspaceLinks) HasRepositories ¶

func (o *WorkspaceLinks) HasRepositories() bool

HasRepositories returns a boolean if a field has been set.

func (*WorkspaceLinks) HasSelf ¶

func (o *WorkspaceLinks) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (*WorkspaceLinks) HasSnippets ¶

func (o *WorkspaceLinks) HasSnippets() bool

HasSnippets returns a boolean if a field has been set.

func (WorkspaceLinks) MarshalJSON ¶

func (o WorkspaceLinks) MarshalJSON() ([]byte, error)

func (*WorkspaceLinks) SetAvatar ¶

func (o *WorkspaceLinks) SetAvatar(v Link)

SetAvatar gets a reference to the given Link and assigns it to the Avatar field.

func (*WorkspaceLinks) SetHtml ¶

func (o *WorkspaceLinks) SetHtml(v Link)

SetHtml gets a reference to the given Link and assigns it to the Html field.

func (*WorkspaceLinks) SetMembers ¶

func (o *WorkspaceLinks) SetMembers(v Link)

SetMembers gets a reference to the given Link and assigns it to the Members field.

func (*WorkspaceLinks) SetOwners ¶

func (o *WorkspaceLinks) SetOwners(v Link)

SetOwners gets a reference to the given Link and assigns it to the Owners field.

func (*WorkspaceLinks) SetProjects ¶

func (o *WorkspaceLinks) SetProjects(v Link)

SetProjects gets a reference to the given Link and assigns it to the Projects field.

func (*WorkspaceLinks) SetRepositories ¶

func (o *WorkspaceLinks) SetRepositories(v Link)

SetRepositories gets a reference to the given Link and assigns it to the Repositories field.

func (*WorkspaceLinks) SetSelf ¶

func (o *WorkspaceLinks) SetSelf(v Link)

SetSelf gets a reference to the given Link and assigns it to the Self field.

func (*WorkspaceLinks) SetSnippets ¶

func (o *WorkspaceLinks) SetSnippets(v Link)

SetSnippets gets a reference to the given Link and assigns it to the Snippets field.

func (*WorkspaceLinks) UnmarshalJSON ¶ added in v0.0.3

func (o *WorkspaceLinks) UnmarshalJSON(bytes []byte) (err error)

type WorkspaceMembership ¶

type WorkspaceMembership struct {
	Links                *BranchingModelSettingsLinks `json:"links,omitempty"`
	User                 *Account                     `json:"user,omitempty"`
	Workspace            *Workspace                   `json:"workspace,omitempty"`
	AdditionalProperties map[string]interface{}
}

WorkspaceMembership A Bitbucket workspace membership. Links a user to a workspace.

func NewWorkspaceMembership ¶

func NewWorkspaceMembership() *WorkspaceMembership

NewWorkspaceMembership instantiates a new WorkspaceMembership object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewWorkspaceMembershipWithDefaults ¶

func NewWorkspaceMembershipWithDefaults() *WorkspaceMembership

NewWorkspaceMembershipWithDefaults instantiates a new WorkspaceMembership object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetLinks returns the Links field value if set, zero value otherwise.

func (*WorkspaceMembership) GetLinksOk ¶

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkspaceMembership) GetUser ¶

func (o *WorkspaceMembership) GetUser() Account

GetUser returns the User field value if set, zero value otherwise.

func (*WorkspaceMembership) GetUserOk ¶

func (o *WorkspaceMembership) GetUserOk() (*Account, bool)

GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.

func (*WorkspaceMembership) GetWorkspace ¶

func (o *WorkspaceMembership) GetWorkspace() Workspace

GetWorkspace returns the Workspace field value if set, zero value otherwise.

func (*WorkspaceMembership) GetWorkspaceOk ¶

func (o *WorkspaceMembership) GetWorkspaceOk() (*Workspace, bool)

GetWorkspaceOk returns a tuple with the Workspace field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *WorkspaceMembership) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*WorkspaceMembership) HasUser ¶

func (o *WorkspaceMembership) HasUser() bool

HasUser returns a boolean if a field has been set.

func (*WorkspaceMembership) HasWorkspace ¶

func (o *WorkspaceMembership) HasWorkspace() bool

HasWorkspace returns a boolean if a field has been set.

func (WorkspaceMembership) MarshalJSON ¶

func (o WorkspaceMembership) MarshalJSON() ([]byte, error)

SetLinks gets a reference to the given BranchingModelSettingsLinks and assigns it to the Links field.

func (*WorkspaceMembership) SetUser ¶

func (o *WorkspaceMembership) SetUser(v Account)

SetUser gets a reference to the given Account and assigns it to the User field.

func (*WorkspaceMembership) SetWorkspace ¶

func (o *WorkspaceMembership) SetWorkspace(v Workspace)

SetWorkspace gets a reference to the given Workspace and assigns it to the Workspace field.

func (*WorkspaceMembership) UnmarshalJSON ¶ added in v0.0.3

func (o *WorkspaceMembership) UnmarshalJSON(bytes []byte) (err error)

type WorkspacesApiService ¶

type WorkspacesApiService service

WorkspacesApiService WorkspacesApi service

func (*WorkspacesApiService) UserPermissionsWorkspacesGet ¶

UserPermissionsWorkspacesGet List workspaces for the current user

Returns an object for each workspace the caller is a member of, and their effective role - the highest level of privilege the caller has. If a user is a member of multiple groups with distinct roles, only the highest level is returned.

Permissions can be:

* `owner` * `collaborator` * `member`

**The `collaborator` role is being removed from the Bitbucket Cloud API. For more information, see the [deprecation announcement](/cloud/bitbucket/deprecation-notice-collaborator-role/).**

Example:

``` $ curl https://api.bitbucket.org/2.0/user/permissions/workspaces

{
  "pagelen": 10,
  "page": 1,
  "size": 1,
  "values": [
    {
      "type": "workspace_membership",
      "permission": "owner",
      "last_accessed": "2019-03-07T12:35:02.900024+00:00",
      "added_on": "2018-10-11T17:42:02.961424+00:00",
      "user": {
        "type": "user",
        "uuid": "{470c176d-3574-44ea-bb41-89e8638bcca4}",
        "nickname": "evzijst",
        "display_name": "Erik van Zijst",
      },
      "workspace": {
        "type": "workspace",
        "uuid": "{a15fb181-db1f-48f7-b41f-e1eff06929d6}",
        "slug": "bbworkspace1",
        "name": "Atlassian Bitbucket",
      }
    }
  ]
}

```

Results may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by workspace or permission by adding the following query string parameters:

* `q=workspace.slug="bbworkspace1"` or `q=permission="owner"` * `sort=workspace.slug`

Note that the query parameter values need to be URL escaped so that `=` would become `%3D`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return WorkspacesApiUserPermissionsWorkspacesGetRequest

func (*WorkspacesApiService) UserPermissionsWorkspacesGetExecute ¶

Execute executes the request

@return PaginatedWorkspaceMemberships

func (*WorkspacesApiService) WorkspacesGet ¶

WorkspacesGet List workspaces for user

Returns a list of workspaces accessible by the authenticated user.

Example:

``` $ curl https://api.bitbucket.org/2.0/workspaces

{
  "pagelen": 10,
  "page": 1,
  "size": 1,
  "values": [
    {
        "uuid": "{a15fb181-db1f-48f7-b41f-e1eff06929d6}",
        "links": {
            "owners": {
                "href": "https://api.bitbucket.org/2.0/workspaces/bbworkspace1/members?q=permission%3D%22owner%22"
            },
            "self": {
                "href": "https://api.bitbucket.org/2.0/workspaces/bbworkspace1"
            },
            "repositories": {
                "href": "https://api.bitbucket.org/2.0/repositories/bbworkspace1"
            },
            "snippets": {
                "href": "https://api.bitbucket.org/2.0/snippets/bbworkspace1"
            },
            "html": {
                "href": "https://bitbucket.org/bbworkspace1/"
            },
            "avatar": {
                "href": "https://bitbucket.org/workspaces/bbworkspace1/avatar/?ts=1543465801"
            },
            "members": {
                "href": "https://api.bitbucket.org/2.0/workspaces/bbworkspace1/members"
            },
            "projects": {
                "href": "https://api.bitbucket.org/2.0/workspaces/bbworkspace1/projects"
            }
        },
        "created_on": "2018-11-14T19:15:05.058566+00:00",
        "type": "workspace",
        "slug": "bbworkspace1",
        "is_private": true,
        "name": "Atlassian Bitbucket"
    }
  ]
}

```

Results may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by workspace or permission by adding the following query string parameters:

* `q=slug="bbworkspace1"` or `q=is_private=true` * `sort=created_on`

Note that the query parameter values need to be URL escaped so that `=` would become `%3D`.

**The `collaborator` role is being removed from the Bitbucket Cloud API. For more information, see the [deprecation announcement](/cloud/bitbucket/deprecation-notice-collaborator-role/).**

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return WorkspacesApiWorkspacesGetRequest

func (*WorkspacesApiService) WorkspacesGetExecute ¶

Execute executes the request

@return PaginatedWorkspaces

func (*WorkspacesApiService) WorkspacesWorkspaceGet ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceGet(ctx context.Context, workspace string) WorkspacesApiWorkspacesWorkspaceGetRequest

WorkspacesWorkspaceGet Get a workspace

Returns the requested workspace.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspaceGetRequest

func (*WorkspacesApiService) WorkspacesWorkspaceGetExecute ¶

Execute executes the request

@return Workspace

func (*WorkspacesApiService) WorkspacesWorkspaceHooksGet ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceHooksGet(ctx context.Context, workspace string) WorkspacesApiWorkspacesWorkspaceHooksGetRequest

WorkspacesWorkspaceHooksGet List webhooks for a workspace

Returns a paginated list of webhooks installed on this workspace.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspaceHooksGetRequest

func (*WorkspacesApiService) WorkspacesWorkspaceHooksGetExecute ¶

Execute executes the request

@return PaginatedWebhookSubscriptions

func (*WorkspacesApiService) WorkspacesWorkspaceHooksPost ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceHooksPost(ctx context.Context, workspace string) WorkspacesApiWorkspacesWorkspaceHooksPostRequest

WorkspacesWorkspaceHooksPost Create a webhook for a workspace

Creates a new webhook on the specified workspace.

Workspace webhooks are fired for events from all repositories contained by that workspace.

Example:

``` $ curl -X POST -u credentials -H 'Content-Type: application/json'

https://api.bitbucket.org/2.0/workspaces/my-workspace/hooks
-d '
  {
    "description": "Webhook Description",
    "url": "https://example.com/",
    "active": true,
    "events": [
      "repo:push",
      "issue:created",
      "issue:updated"
    ]
  }'

```

This call requires the webhook scope, as well as any scope that applies to the events that the webhook subscribes to. In the example above that means: `webhook`, `repository` and `issue`.

The `url` must properly resolve and cannot be an internal, non-routed address.

Only workspace owners can install webhooks on workspaces.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspaceHooksPostRequest

func (*WorkspacesApiService) WorkspacesWorkspaceHooksPostExecute ¶

Execute executes the request

@return WebhookSubscription

func (*WorkspacesApiService) WorkspacesWorkspaceHooksUidDelete ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceHooksUidDelete(ctx context.Context, uid string, workspace string) WorkspacesApiWorkspacesWorkspaceHooksUidDeleteRequest

WorkspacesWorkspaceHooksUidDelete Delete a webhook for a workspace

Deletes the specified webhook subscription from the given workspace.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspaceHooksUidDeleteRequest

func (*WorkspacesApiService) WorkspacesWorkspaceHooksUidDeleteExecute ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceHooksUidDeleteExecute(r WorkspacesApiWorkspacesWorkspaceHooksUidDeleteRequest) (*http.Response, error)

Execute executes the request

func (*WorkspacesApiService) WorkspacesWorkspaceHooksUidGet ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceHooksUidGet(ctx context.Context, uid string, workspace string) WorkspacesApiWorkspacesWorkspaceHooksUidGetRequest

WorkspacesWorkspaceHooksUidGet Get a webhook for a workspace

Returns the webhook with the specified id installed on the given workspace.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspaceHooksUidGetRequest

func (*WorkspacesApiService) WorkspacesWorkspaceHooksUidGetExecute ¶

Execute executes the request

@return WebhookSubscription

func (*WorkspacesApiService) WorkspacesWorkspaceHooksUidPut ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceHooksUidPut(ctx context.Context, uid string, workspace string) WorkspacesApiWorkspacesWorkspaceHooksUidPutRequest

WorkspacesWorkspaceHooksUidPut Update a webhook for a workspace

Updates the specified webhook subscription.

The following properties can be mutated:

* `description` * `url` * `active` * `events`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uid Installed webhook's ID
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspaceHooksUidPutRequest

func (*WorkspacesApiService) WorkspacesWorkspaceHooksUidPutExecute ¶

Execute executes the request

@return WebhookSubscription

func (*WorkspacesApiService) WorkspacesWorkspaceMembersGet ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceMembersGet(ctx context.Context, workspace string) WorkspacesApiWorkspacesWorkspaceMembersGetRequest

WorkspacesWorkspaceMembersGet List users in a workspace

Returns all members of the requested workspace.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspaceMembersGetRequest

func (*WorkspacesApiService) WorkspacesWorkspaceMembersGetExecute ¶

Execute executes the request

@return PaginatedWorkspaceMemberships

func (*WorkspacesApiService) WorkspacesWorkspaceMembersMemberGet ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceMembersMemberGet(ctx context.Context, member string, workspace string) WorkspacesApiWorkspacesWorkspaceMembersMemberGetRequest

WorkspacesWorkspaceMembersMemberGet Get user membership for a workspace

Returns the workspace membership, which includes a `User` object for the member and a `Workspace` object for the requested workspace.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param member Member's UUID or Atlassian ID.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspaceMembersMemberGetRequest

func (*WorkspacesApiService) WorkspacesWorkspaceMembersMemberGetExecute ¶

Execute executes the request

@return WorkspaceMembership

func (*WorkspacesApiService) WorkspacesWorkspacePermissionsGet ¶

func (a *WorkspacesApiService) WorkspacesWorkspacePermissionsGet(ctx context.Context, workspace string) WorkspacesApiWorkspacesWorkspacePermissionsGetRequest

WorkspacesWorkspacePermissionsGet List user permissions in a workspace

Returns the list of members in a workspace and their permission levels. Permission can be: * `owner` * `collaborator` * `member`

**The `collaborator` role is being removed from the Bitbucket Cloud API. For more information, see the [deprecation announcement](/cloud/bitbucket/deprecation-notice-collaborator-role/).**

Example:

``` $ curl -X https://api.bitbucket.org/2.0/workspaces/bbworkspace1/permissions

{
    "pagelen": 10,
    "values": [
        {
            "permission": "owner",
            "type": "workspace_membership",
            "user": {
                "type": "user",
                "uuid": "{470c176d-3574-44ea-bb41-89e8638bcca4}",
                "display_name": "Erik van Zijst",
            },
            "workspace": {
                "type": "workspace",
                "uuid": "{a15fb181-db1f-48f7-b41f-e1eff06929d6}",
                "slug": "bbworkspace1",
                "name": "Atlassian Bitbucket",
            }
        },
        {
            "permission": "member",
            "type": "workspace_membership",
            "user": {
                "type": "user",
                "nickname": "seanaty",
                "display_name": "Sean Conaty",
                "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}"
            },
            "workspace": {
                "type": "workspace",
                "uuid": "{a15fb181-db1f-48f7-b41f-e1eff06929d6}",
                "slug": "bbworkspace1",
                "name": "Atlassian Bitbucket",
            }
        }
    ],
    "page": 1,
    "size": 2
}

```

Results may be further [filtered](/cloud/bitbucket/rest/intro/#filtering) by permission by adding the following query string parameters:

* `q=permission="owner"`

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspacePermissionsGetRequest

func (*WorkspacesApiService) WorkspacesWorkspacePermissionsGetExecute ¶

Execute executes the request

@return PaginatedWorkspaceMemberships

func (*WorkspacesApiService) WorkspacesWorkspacePermissionsRepositoriesGet ¶

func (a *WorkspacesApiService) WorkspacesWorkspacePermissionsRepositoriesGet(ctx context.Context, workspace string) WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesGetRequest

WorkspacesWorkspacePermissionsRepositoriesGet List all repository permissions for a workspace

Returns an object for each repository permission for all of a workspace's repositories.

Permissions returned are effective permissions: the highest level of permission the user has. This does not distinguish between direct and indirect (group) privileges.

Only users with admin permission for the team may access this resource.

Permissions can be:

* `admin` * `write` * `read`

Example:

``` $ curl https://api.bitbucket.org/2.0/workspaces/atlassian_tutorial/permissions/repositories

{
  "pagelen": 10,
  "values": [
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "display_name": "Erik van Zijst",
        "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}"
      },
      "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "atlassian_tutorial/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
      },
      "permission": "admin"
    },
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "display_name": "Sean Conaty",
        "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}"
      },
      "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "atlassian_tutorial/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
      },
      "permission": "write"
    },
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "display_name": "Jeff Zeng",
        "uuid": "{47f92a9a-c3a3-4d0b-bc4e-782a969c5c72}"
      },
      "repository": {
        "type": "repository",
        "name": "whee",
        "full_name": "atlassian_tutorial/whee",
        "uuid": "{30ba25e9-51ff-4555-8dd0-fc7ee2fa0895}"
      },
      "permission": "admin"
    }
  ],
  "page": 1,
  "size": 3
}

```

Results may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by repository, user, or permission by adding the following query string parameters:

* `q=repository.name="geordi"` or `q=permission>"read"` * `sort=user.display_name`

Note that the query parameter values need to be URL escaped so that `=` would become `%3D`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesGetRequest

func (*WorkspacesApiService) WorkspacesWorkspacePermissionsRepositoriesGetExecute ¶

Execute executes the request

@return PaginatedRepositoryPermissions

func (*WorkspacesApiService) WorkspacesWorkspacePermissionsRepositoriesRepoSlugGet ¶

func (a *WorkspacesApiService) WorkspacesWorkspacePermissionsRepositoriesRepoSlugGet(ctx context.Context, repoSlug string, workspace string) WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesRepoSlugGetRequest

WorkspacesWorkspacePermissionsRepositoriesRepoSlugGet List a repository permissions for a workspace

Returns an object for the repository permission of each user in the requested repository.

Permissions returned are effective permissions: the highest level of permission the user has. This does not distinguish between direct and indirect (group) privileges.

Only users with admin permission for the repository may access this resource.

Permissions can be:

* `admin` * `write` * `read`

Example:

``` $ curl https://api.bitbucket.org/2.0/workspaces/atlassian_tutorial/permissions/repositories/geordi

{
  "pagelen": 10,
  "values": [
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "display_name": "Erik van Zijst",
        "uuid": "{d301aafa-d676-4ee0-88be-962be7417567}"
      },
      "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "atlassian_tutorial/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
      },
      "permission": "admin"
    },
    {
      "type": "repository_permission",
      "user": {
        "type": "user",
        "display_name": "Sean Conaty",
        "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}"
      },
      "repository": {
        "type": "repository",
        "name": "geordi",
        "full_name": "atlassian_tutorial/geordi",
        "uuid": "{85d08b4e-571d-44e9-a507-fa476535aa98}"
      },
      "permission": "write"
    }
  ],
  "page": 1,
  "size": 2
}

```

Results may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by user, or permission by adding the following query string parameters:

* `q=permission>"read"` * `sort=user.display_name`

Note that the query parameter values need to be URL escaped so that `=` would become `%3D`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param repoSlug This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: `{repository UUID}`.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesRepoSlugGetRequest

func (*WorkspacesApiService) WorkspacesWorkspacePermissionsRepositoriesRepoSlugGetExecute ¶

Execute executes the request

@return PaginatedRepositoryPermissions

func (*WorkspacesApiService) WorkspacesWorkspaceProjectsGet ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceProjectsGet(ctx context.Context, workspace string) WorkspacesApiWorkspacesWorkspaceProjectsGetRequest

WorkspacesWorkspaceProjectsGet List projects in a workspace

Returns the list of projects in this workspace.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspaceProjectsGetRequest

func (*WorkspacesApiService) WorkspacesWorkspaceProjectsGetExecute ¶

Execute executes the request

@return PaginatedProjects

func (*WorkspacesApiService) WorkspacesWorkspaceProjectsProjectKeyGet ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceProjectsProjectKeyGet(ctx context.Context, projectKey string, workspace string) WorkspacesApiWorkspacesWorkspaceProjectsProjectKeyGetRequest

WorkspacesWorkspaceProjectsProjectKeyGet Get a project for a workspace

Returns the requested project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectKey The project in question. This is the actual `key` assigned to the project.
@param workspace This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: `{workspace UUID}`.
@return WorkspacesApiWorkspacesWorkspaceProjectsProjectKeyGetRequest

func (*WorkspacesApiService) WorkspacesWorkspaceProjectsProjectKeyGetExecute ¶

func (a *WorkspacesApiService) WorkspacesWorkspaceProjectsProjectKeyGetExecute(r WorkspacesApiWorkspacesWorkspaceProjectsProjectKeyGetRequest) (*Project, *http.Response, error)

Execute executes the request

@return Project

type WorkspacesApiUserPermissionsWorkspacesGetRequest ¶

type WorkspacesApiUserPermissionsWorkspacesGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiUserPermissionsWorkspacesGetRequest) Execute ¶

func (WorkspacesApiUserPermissionsWorkspacesGetRequest) Q ¶

Query string to narrow down the response. See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for details.

func (WorkspacesApiUserPermissionsWorkspacesGetRequest) Sort ¶

Name of a response property to sort results. See [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results) for details.

type WorkspacesApiWorkspacesGetRequest ¶

type WorkspacesApiWorkspacesGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesGetRequest) Execute ¶

func (WorkspacesApiWorkspacesGetRequest) Q ¶

Query string to narrow down the response. See [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for details.

func (WorkspacesApiWorkspacesGetRequest) Role ¶

Filters the workspaces based on the authenticated user&#39;s role on each workspace. * **member**: returns a list of all the workspaces which the caller is a member of at least one workspace group or repository * **collaborator**: returns a list of workspaces which the caller has write access to at least one repository in the workspace * **owner**: returns a list of workspaces which the caller has administrator access

func (WorkspacesApiWorkspacesGetRequest) Sort ¶

Name of a response property to sort results. See [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results) for details.

type WorkspacesApiWorkspacesWorkspaceGetRequest ¶

type WorkspacesApiWorkspacesWorkspaceGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspaceGetRequest) Execute ¶

type WorkspacesApiWorkspacesWorkspaceHooksGetRequest ¶

type WorkspacesApiWorkspacesWorkspaceHooksGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspaceHooksGetRequest) Execute ¶

type WorkspacesApiWorkspacesWorkspaceHooksPostRequest ¶

type WorkspacesApiWorkspacesWorkspaceHooksPostRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspaceHooksPostRequest) Execute ¶

type WorkspacesApiWorkspacesWorkspaceHooksUidDeleteRequest ¶

type WorkspacesApiWorkspacesWorkspaceHooksUidDeleteRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspaceHooksUidDeleteRequest) Execute ¶

type WorkspacesApiWorkspacesWorkspaceHooksUidGetRequest ¶

type WorkspacesApiWorkspacesWorkspaceHooksUidGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspaceHooksUidGetRequest) Execute ¶

type WorkspacesApiWorkspacesWorkspaceHooksUidPutRequest ¶

type WorkspacesApiWorkspacesWorkspaceHooksUidPutRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspaceHooksUidPutRequest) Execute ¶

type WorkspacesApiWorkspacesWorkspaceMembersGetRequest ¶

type WorkspacesApiWorkspacesWorkspaceMembersGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspaceMembersGetRequest) Execute ¶

type WorkspacesApiWorkspacesWorkspaceMembersMemberGetRequest ¶

type WorkspacesApiWorkspacesWorkspaceMembersMemberGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspaceMembersMemberGetRequest) Execute ¶

type WorkspacesApiWorkspacesWorkspacePermissionsGetRequest ¶

type WorkspacesApiWorkspacesWorkspacePermissionsGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspacePermissionsGetRequest) Execute ¶

func (WorkspacesApiWorkspacesWorkspacePermissionsGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

type WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesGetRequest ¶

type WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesGetRequest) Execute ¶

func (WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesGetRequest) Sort ¶

Name of a response property sort the result by as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).

type WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesRepoSlugGetRequest ¶

type WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesRepoSlugGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesRepoSlugGetRequest) Execute ¶

func (WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesRepoSlugGetRequest) Q ¶

Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).

func (WorkspacesApiWorkspacesWorkspacePermissionsRepositoriesRepoSlugGetRequest) Sort ¶

Name of a response property sort the result by as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).

type WorkspacesApiWorkspacesWorkspaceProjectsGetRequest ¶

type WorkspacesApiWorkspacesWorkspaceProjectsGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspaceProjectsGetRequest) Execute ¶

type WorkspacesApiWorkspacesWorkspaceProjectsProjectKeyGetRequest ¶

type WorkspacesApiWorkspacesWorkspaceProjectsProjectKeyGetRequest struct {
	ApiService *WorkspacesApiService
	// contains filtered or unexported fields
}

func (WorkspacesApiWorkspacesWorkspaceProjectsProjectKeyGetRequest) Execute ¶

Source Files ¶

Jump to

Keyboard shortcuts

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