shared

package
v3.18.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKeyDetails added in v3.1.0

type APIKeyDetails struct {
	AccountTypeV2   AccountType `json:"account_type_v2"`
	EnabledFeatures []string    `json:"enabled_features"`
	// Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
	FeatureFlags              []string `json:"feature_flags,omitempty"`
	GenerationAccessUnlimited *bool    `json:"generation_access_unlimited,omitempty"`
	OrgSlug                   string   `json:"org_slug"`
	TelemetryDisabled         bool     `json:"telemetry_disabled"`
	// Workspace creation timestamp.
	WorkspaceCreatedAt time.Time `json:"workspace_created_at"`
	WorkspaceID        string    `json:"workspace_id"`
	WorkspaceSlug      string    `json:"workspace_slug"`
}

func (*APIKeyDetails) GetAccountTypeV2 added in v3.11.0

func (o *APIKeyDetails) GetAccountTypeV2() AccountType

func (*APIKeyDetails) GetEnabledFeatures added in v3.7.3

func (o *APIKeyDetails) GetEnabledFeatures() []string

func (*APIKeyDetails) GetFeatureFlags added in v3.5.5

func (o *APIKeyDetails) GetFeatureFlags() []string

func (*APIKeyDetails) GetGenerationAccessUnlimited added in v3.2.2

func (o *APIKeyDetails) GetGenerationAccessUnlimited() *bool

func (*APIKeyDetails) GetOrgSlug added in v3.5.9

func (o *APIKeyDetails) GetOrgSlug() string

func (*APIKeyDetails) GetTelemetryDisabled added in v3.8.4

func (o *APIKeyDetails) GetTelemetryDisabled() bool

func (*APIKeyDetails) GetWorkspaceCreatedAt added in v3.14.8

func (o *APIKeyDetails) GetWorkspaceCreatedAt() time.Time

func (*APIKeyDetails) GetWorkspaceID added in v3.1.0

func (o *APIKeyDetails) GetWorkspaceID() string

func (*APIKeyDetails) GetWorkspaceSlug added in v3.5.9

func (o *APIKeyDetails) GetWorkspaceSlug() string

func (APIKeyDetails) MarshalJSON added in v3.14.8

func (a APIKeyDetails) MarshalJSON() ([]byte, error)

func (*APIKeyDetails) UnmarshalJSON added in v3.14.8

func (a *APIKeyDetails) UnmarshalJSON(data []byte) error

type AccessDetails added in v3.2.2

type AccessDetails struct {
	GenerationAllowed bool   `json:"generation_allowed"`
	Level             *Level `json:"level,omitempty"`
	Message           string `json:"message"`
}

func (*AccessDetails) GetGenerationAllowed added in v3.2.2

func (o *AccessDetails) GetGenerationAllowed() bool

func (*AccessDetails) GetLevel added in v3.4.2

func (o *AccessDetails) GetLevel() *Level

func (*AccessDetails) GetMessage added in v3.3.10

func (o *AccessDetails) GetMessage() string

type AccessToken added in v3.3.11

type AccessToken struct {
	AccessToken  string          `json:"access_token"`
	Claims       Claims          `json:"claims"`
	FeatureFlags []FeatureFlag   `json:"feature_flags,omitempty"`
	User         AccessTokenUser `json:"user"`
	Workspaces   []Workspaces    `json:"workspaces,omitempty"`
}

An AccessToken is a token that can be used to authenticate with the Speakeasy API.

func (*AccessToken) GetAccessToken added in v3.3.11

func (o *AccessToken) GetAccessToken() string

func (*AccessToken) GetClaims added in v3.3.11

func (o *AccessToken) GetClaims() Claims

func (*AccessToken) GetFeatureFlags added in v3.7.2

func (o *AccessToken) GetFeatureFlags() []FeatureFlag

func (*AccessToken) GetUser added in v3.3.11

func (o *AccessToken) GetUser() AccessTokenUser

func (*AccessToken) GetWorkspaces added in v3.3.11

func (o *AccessToken) GetWorkspaces() []Workspaces

type AccessTokenUser added in v3.4.6

type AccessTokenUser struct {
	Admin         *bool      `json:"admin,omitempty"`
	CreatedAt     *time.Time `json:"created_at,omitempty"`
	DisplayName   *string    `json:"display_name,omitempty"`
	Email         *string    `json:"email,omitempty"`
	EmailVerified *bool      `json:"email_verified,omitempty"`
	ID            *string    `json:"id,omitempty"`
}

func (*AccessTokenUser) GetAdmin added in v3.4.6

func (o *AccessTokenUser) GetAdmin() *bool

func (*AccessTokenUser) GetCreatedAt added in v3.4.6

func (o *AccessTokenUser) GetCreatedAt() *time.Time

func (*AccessTokenUser) GetDisplayName added in v3.4.6

func (o *AccessTokenUser) GetDisplayName() *string

func (*AccessTokenUser) GetEmail added in v3.4.6

func (o *AccessTokenUser) GetEmail() *string

func (*AccessTokenUser) GetEmailVerified added in v3.4.6

func (o *AccessTokenUser) GetEmailVerified() *bool

func (*AccessTokenUser) GetID added in v3.4.6

func (o *AccessTokenUser) GetID() *string

func (AccessTokenUser) MarshalJSON added in v3.4.6

func (a AccessTokenUser) MarshalJSON() ([]byte, error)

func (*AccessTokenUser) UnmarshalJSON added in v3.4.6

func (a *AccessTokenUser) UnmarshalJSON(data []byte) error

type AccountType added in v3.3.1

type AccountType string
const (
	AccountTypeFree       AccountType = "free"
	AccountTypeScaleUp    AccountType = "scale-up"
	AccountTypeBusiness   AccountType = "business"
	AccountTypeEnterprise AccountType = "enterprise"
)

func (AccountType) ToPointer added in v3.3.1

func (e AccountType) ToPointer() *AccountType

type Actions added in v3.15.8

type Actions struct {
	GenerationActionConfigured bool `json:"generation_action_configured"`
	PublishActionConfigured    bool `json:"publish_action_configured"`
}

func (*Actions) GetGenerationActionConfigured added in v3.15.8

func (o *Actions) GetGenerationActionConfigured() bool

func (*Actions) GetPublishActionConfigured added in v3.15.8

func (o *Actions) GetPublishActionConfigured() bool

type AddTags added in v3.5.10

type AddTags struct {
	// revision digest to add tags too sha256:...
	RevisionDigest string `json:"revision_digest"`
	// string tags to add to the revision
	Tags []string `json:"tags"`
}

AddTags - Request body of tags to add to a revision

func (*AddTags) GetRevisionDigest added in v3.5.10

func (o *AddTags) GetRevisionDigest() string

func (*AddTags) GetTags added in v3.5.10

func (o *AddTags) GetTags() []string

type Annotations added in v3.5.4

type Annotations struct {
	// The authors of the image
	OrgOpencontainersImageAuthors *string `json:"org.opencontainers.image.authors,omitempty"`
	// The time the image was created
	OrgOpencontainersImageCreated *string `json:"org.opencontainers.image.created,omitempty"`
	// Human-readable description of the software packaged in the image
	OrgOpencontainersImageDescription *string `json:"org.opencontainers.image.description,omitempty"`
	// The documentation URL of the image
	OrgOpencontainersImageDocumentation *string `json:"org.opencontainers.image.documentation,omitempty"`
	OrgOpencontainersImageLicenses      *string `json:"org.opencontainers.image.licenses,omitempty"`
	// Name of the reference for a target
	OrgOpencontainersImageRefName *string `json:"org.opencontainers.image.ref.name,omitempty"`
	// Source control revision identifier
	OrgOpencontainersImageRevision *string `json:"org.opencontainers.image.revision,omitempty"`
	// The URL to get source code for building the image
	OrgOpencontainersImageSource *string `json:"org.opencontainers.image.source,omitempty"`
	// Human-readable title of the image
	OrgOpencontainersImageTitle *string `json:"org.opencontainers.image.title,omitempty"`
	// The URL of the image
	OrgOpencontainersImageURL *string `json:"org.opencontainers.image.url,omitempty"`
	// Name of the distributing entity, organization or individual.
	OrgOpencontainersImageVendor *string `json:"org.opencontainers.image.vendor,omitempty"`
	// The version of the packaged software
	OrgOpencontainersImageVersion *string `json:"org.opencontainers.image.version,omitempty"`
}

Annotations

func (*Annotations) GetOrgOpencontainersImageAuthors added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageAuthors() *string

func (*Annotations) GetOrgOpencontainersImageCreated added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageCreated() *string

func (*Annotations) GetOrgOpencontainersImageDescription added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageDescription() *string

func (*Annotations) GetOrgOpencontainersImageDocumentation added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageDocumentation() *string

func (*Annotations) GetOrgOpencontainersImageLicenses added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageLicenses() *string

func (*Annotations) GetOrgOpencontainersImageRefName added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageRefName() *string

func (*Annotations) GetOrgOpencontainersImageRevision added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageRevision() *string

func (*Annotations) GetOrgOpencontainersImageSource added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageSource() *string

func (*Annotations) GetOrgOpencontainersImageTitle added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageTitle() *string

func (*Annotations) GetOrgOpencontainersImageURL added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageURL() *string

func (*Annotations) GetOrgOpencontainersImageVendor added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageVendor() *string

func (*Annotations) GetOrgOpencontainersImageVersion added in v3.5.4

func (o *Annotations) GetOrgOpencontainersImageVersion() *string

type Auth added in v3.8.9

type Auth struct {
	Header string `json:"header"`
	Secret string `json:"secret"`
}

func (*Auth) GetHeader added in v3.8.9

func (o *Auth) GetHeader() string

func (*Auth) GetSecret added in v3.8.9

func (o *Auth) GetSecret() string

type Claims added in v3.3.11

type Claims struct {
}

type CliEvent added in v3.1.0

type CliEvent struct {
	// Remote commit ID.
	CommitHead *string `json:"commit_head,omitempty"`
	// Name of the CI environment.
	ContinuousIntegrationEnvironment *string `json:"continuous_integration_environment,omitempty"`
	// Timestamp when the event was created in the database.
	CreatedAt time.Time `json:"created_at"`
	// Duration of the event in milliseconds.
	DurationMs *int64 `json:"duration_ms,omitempty"`
	// Error message if the event was not successful.
	Error *string `json:"error,omitempty"`
	// Unique identifier for each execution of the CLI.
	ExecutionID string `json:"execution_id"`
	// Bump type of the lock file (calculated semver delta, custom change (manual release), or prerelease/graduate)
	GenerateBumpType *GenerateBumpType `json:"generate_bump_type,omitempty"`
	// Checksum of the configuration file (post generation)
	GenerateConfigPostChecksum *string `json:"generate_config_post_checksum,omitempty"`
	// Rendered configuration file (post generation)
	GenerateConfigPostRaw *string `json:"generate_config_post_raw,omitempty"`
	// The version of the customer's SDK that we just generated
	GenerateConfigPostVersion *string `json:"generate_config_post_version,omitempty"`
	// Checksum of the configuration file (prior to generation)
	GenerateConfigPreChecksum *string `json:"generate_config_pre_checksum,omitempty"`
	// Rendered configuration file (prior to generation)
	GenerateConfigPreRaw *string `json:"generate_config_pre_raw,omitempty"`
	// The version of the customer's SDK before we generated
	GenerateConfigPreVersion *string `json:"generate_config_pre_version,omitempty"`
	// Eligible feature set during generation
	GenerateEligibleFeatures *string `json:"generate_eligible_features,omitempty"`
	// gen.lock ID (expected to be a uuid).
	GenerateGenLockID *string `json:"generate_gen_lock_id,omitempty"`
	// Features post generation
	GenerateGenLockPostFeatures *string `json:"generate_gen_lock_post_features,omitempty"`
	// Blob digest of the Previous Generation
	GenerateGenLockPreBlobDigest *string `json:"generate_gen_lock_pre_blob_digest,omitempty"`
	// Checksum of the Previous Rendered OpenAPI document (prior to generation, via gen lock)
	GenerateGenLockPreDocChecksum *string `json:"generate_gen_lock_pre_doc_checksum,omitempty"`
	// info.Version of the Previous Rendered OpenAPI document (prior to generation, via gen lock)
	GenerateGenLockPreDocVersion *string `json:"generate_gen_lock_pre_doc_version,omitempty"`
	// Features prior to generation
	GenerateGenLockPreFeatures *string `json:"generate_gen_lock_pre_features,omitempty"`
	// Namespace name of the Previous Generation
	GenerateGenLockPreNamespaceName *string `json:"generate_gen_lock_pre_namespace_name,omitempty"`
	// Revision digest of the Previous Generation
	GenerateGenLockPreRevisionDigest *string `json:"generate_gen_lock_pre_revision_digest,omitempty"`
	// Artifact version for the Previous Generation
	GenerateGenLockPreVersion *string `json:"generate_gen_lock_pre_version,omitempty"`
	// The number of operations ignored in generation.
	GenerateNumberOfOperationsIgnored *int64 `json:"generate_number_of_operations_ignored,omitempty"`
	// The number of operations used in generation.
	GenerateNumberOfOperationsUsed *int64 `json:"generate_number_of_operations_used,omitempty"`
	// The number of terraform resources used in generation.
	GenerateNumberOfTerraformResources *int64 `json:"generate_number_of_terraform_resources,omitempty"`
	// Indicates whether tests were output.
	GenerateOutputTests *bool `json:"generate_output_tests,omitempty"`
	// Indicates whether the target was considered published.
	GeneratePublished *bool `json:"generate_published,omitempty"`
	// Expected Repo URL, for use in documentation generation.
	GenerateRepoURL *string `json:"generate_repo_url,omitempty"`
	// The target of the event.
	GenerateTarget *string `json:"generate_target,omitempty"`
	// The workflow name of the target.
	GenerateTargetName *string `json:"generate_target_name,omitempty"`
	// The version of the target.
	GenerateTargetVersion *string `json:"generate_target_version,omitempty"`
	// Version of the generation logic used.
	GenerateVersion *string `json:"generate_version,omitempty"`
	// GitHub organization of the action.
	GhActionOrganization *string `json:"gh_action_organization,omitempty"`
	// GitHub Action ref value.
	GhActionRef *string `json:"gh_action_ref,omitempty"`
	// GitHub repository of the action.
	GhActionRepository *string `json:"gh_action_repository,omitempty"`
	// Link to the GitHub action run.
	GhActionRunLink *string `json:"gh_action_run_link,omitempty"`
	// Version of the GitHub action.
	GhActionVersion *string `json:"gh_action_version,omitempty"`
	// Whether or not changes were committed from generation in the Github Action.
	GhChangesCommitted *bool `json:"gh_changes_committed,omitempty"`
	// The reference to a created pull request URL.
	GhPullRequest *string `json:"gh_pull_request,omitempty"`
	// Current working directory relative to the git root.
	GitRelativeCwd *string `json:"git_relative_cwd,omitempty"`
	// Default owner for git remote.
	GitRemoteDefaultOwner *string `json:"git_remote_default_owner,omitempty"`
	// Default repository name for git remote.
	GitRemoteDefaultRepo *string `json:"git_remote_default_repo,omitempty"`
	// User email from git configuration.
	GitUserEmail *string `json:"git_user_email,omitempty"`
	// User's name from git configuration. (not GitHub username)
	GitUserName *string `json:"git_user_name,omitempty"`
	// Remote hostname.
	Hostname *string `json:"hostname,omitempty"`
	// Unique identifier for each event.
	ID string `json:"id"`
	// Type of interaction.
	InteractionType InteractionType `json:"interaction_type"`
	// The last step of the event.
	LastStep *string `json:"last_step,omitempty"`
	// The checksum of the lint report.
	LintReportDigest *string `json:"lint_report_digest,omitempty"`
	// The number of errors in the lint report.
	LintReportErrorCount *int64 `json:"lint_report_error_count,omitempty"`
	// The number of info messages in the lint report.
	LintReportInfoCount *int64 `json:"lint_report_info_count,omitempty"`
	// The number of warnings in the lint report.
	LintReportWarningCount *int64 `json:"lint_report_warning_count,omitempty"`
	// Timestamp when the event completed, in local time.
	LocalCompletedAt *time.Time `json:"local_completed_at,omitempty"`
	// Timestamp when the event started, in local time.
	LocalStartedAt time.Time `json:"local_started_at"`
	// Checksum of the currently Rendered OpenAPI document.
	ManagementDocChecksum *string `json:"management_doc_checksum,omitempty"`
	// Version taken from info.version field of the Rendered OpenAPI document.
	ManagementDocVersion *string `json:"management_doc_version,omitempty"`
	// Mermaid diagram
	MermaidDiagram *string `json:"mermaid_diagram,omitempty"`
	// The blob digest of the base source.
	OpenapiDiffBaseSourceBlobDigest *string `json:"openapi_diff_base_source_blob_digest,omitempty"`
	// The namespace name of the base source.
	OpenapiDiffBaseSourceNamespaceName *string `json:"openapi_diff_base_source_namespace_name,omitempty"`
	// The revision digest of the base source.
	OpenapiDiffBaseSourceRevisionDigest *string `json:"openapi_diff_base_source_revision_digest,omitempty"`
	// The number of breaking changes in the openapi diff report.
	OpenapiDiffBreakingChangesCount *int64 `json:"openapi_diff_breaking_changes_count,omitempty"`
	// Bump type of the lock file (calculated semver delta, or a custom change (manual release))
	OpenapiDiffBumpType *OpenapiDiffBumpType `json:"openapi_diff_bump_type,omitempty"`
	// The checksum of the openapi diff report.
	OpenapiDiffReportDigest *string `json:"openapi_diff_report_digest,omitempty"`
	// Name of the published package.
	PublishPackageName *string `json:"publish_package_name,omitempty"`
	// Name of the registry where the package was published.
	PublishPackageRegistryName *string `json:"publish_package_registry_name,omitempty"`
	// URL of the published package.
	PublishPackageURL *string `json:"publish_package_url,omitempty"`
	// Version of the published package.
	PublishPackageVersion *string `json:"publish_package_version,omitempty"`
	// Full CLI command.
	RawCommand *string `json:"raw_command,omitempty"`
	// Label of the git repository.
	RepoLabel *string `json:"repo_label,omitempty"`
	// The blob digest of the source.
	SourceBlobDigest *string `json:"source_blob_digest,omitempty"`
	// The namespace name of the source.
	SourceNamespaceName *string `json:"source_namespace_name,omitempty"`
	// The revision digest of the source.
	SourceRevisionDigest *string `json:"source_revision_digest,omitempty"`
	// Identifier of the Speakeasy API key.
	SpeakeasyAPIKeyName string `json:"speakeasy_api_key_name"`
	// Version of the Speakeasy CLI.
	SpeakeasyVersion string `json:"speakeasy_version"`
	// Indicates whether the event was successful.
	Success bool `json:"success"`
	// Workflow lock file (post execution)
	WorkflowLockPostRaw *string `json:"workflow_lock_post_raw,omitempty"`
	// Workflow lock file (prior to execution)
	WorkflowLockPreRaw *string `json:"workflow_lock_pre_raw,omitempty"`
	// Workflow file (post execution)
	WorkflowPostRaw *string `json:"workflow_post_raw,omitempty"`
	// Workflow file (prior to execution)
	WorkflowPreRaw *string `json:"workflow_pre_raw,omitempty"`
	// Identifier of the workspace.
	WorkspaceID string `json:"workspace_id"`
}

func (*CliEvent) GetCommitHead added in v3.1.0

func (o *CliEvent) GetCommitHead() *string

func (*CliEvent) GetContinuousIntegrationEnvironment added in v3.3.13

func (o *CliEvent) GetContinuousIntegrationEnvironment() *string

func (*CliEvent) GetCreatedAt added in v3.1.0

func (o *CliEvent) GetCreatedAt() time.Time

func (*CliEvent) GetDurationMs added in v3.1.0

func (o *CliEvent) GetDurationMs() *int64

func (*CliEvent) GetError added in v3.5.10

func (o *CliEvent) GetError() *string

func (*CliEvent) GetExecutionID added in v3.1.0

func (o *CliEvent) GetExecutionID() string

func (*CliEvent) GetGenerateBumpType added in v3.1.0

func (o *CliEvent) GetGenerateBumpType() *GenerateBumpType

func (*CliEvent) GetGenerateConfigPostChecksum added in v3.1.0

func (o *CliEvent) GetGenerateConfigPostChecksum() *string

func (*CliEvent) GetGenerateConfigPostRaw added in v3.1.0

func (o *CliEvent) GetGenerateConfigPostRaw() *string

func (*CliEvent) GetGenerateConfigPostVersion added in v3.1.0

func (o *CliEvent) GetGenerateConfigPostVersion() *string

func (*CliEvent) GetGenerateConfigPreChecksum added in v3.1.0

func (o *CliEvent) GetGenerateConfigPreChecksum() *string

func (*CliEvent) GetGenerateConfigPreRaw added in v3.1.0

func (o *CliEvent) GetGenerateConfigPreRaw() *string

func (*CliEvent) GetGenerateConfigPreVersion added in v3.1.0

func (o *CliEvent) GetGenerateConfigPreVersion() *string

func (*CliEvent) GetGenerateEligibleFeatures added in v3.7.1

func (o *CliEvent) GetGenerateEligibleFeatures() *string

func (*CliEvent) GetGenerateGenLockID added in v3.1.0

func (o *CliEvent) GetGenerateGenLockID() *string

func (*CliEvent) GetGenerateGenLockPostFeatures added in v3.1.0

func (o *CliEvent) GetGenerateGenLockPostFeatures() *string

func (*CliEvent) GetGenerateGenLockPreBlobDigest added in v3.5.7

func (o *CliEvent) GetGenerateGenLockPreBlobDigest() *string

func (*CliEvent) GetGenerateGenLockPreDocChecksum added in v3.1.0

func (o *CliEvent) GetGenerateGenLockPreDocChecksum() *string

func (*CliEvent) GetGenerateGenLockPreDocVersion added in v3.1.0

func (o *CliEvent) GetGenerateGenLockPreDocVersion() *string

func (*CliEvent) GetGenerateGenLockPreFeatures added in v3.1.0

func (o *CliEvent) GetGenerateGenLockPreFeatures() *string

func (*CliEvent) GetGenerateGenLockPreNamespaceName added in v3.5.7

func (o *CliEvent) GetGenerateGenLockPreNamespaceName() *string

func (*CliEvent) GetGenerateGenLockPreRevisionDigest added in v3.5.7

func (o *CliEvent) GetGenerateGenLockPreRevisionDigest() *string

func (*CliEvent) GetGenerateGenLockPreVersion added in v3.1.0

func (o *CliEvent) GetGenerateGenLockPreVersion() *string

func (*CliEvent) GetGenerateNumberOfOperationsIgnored added in v3.7.1

func (o *CliEvent) GetGenerateNumberOfOperationsIgnored() *int64

func (*CliEvent) GetGenerateNumberOfOperationsUsed added in v3.7.1

func (o *CliEvent) GetGenerateNumberOfOperationsUsed() *int64

func (*CliEvent) GetGenerateNumberOfTerraformResources added in v3.14.11

func (o *CliEvent) GetGenerateNumberOfTerraformResources() *int64

func (*CliEvent) GetGenerateOutputTests added in v3.1.0

func (o *CliEvent) GetGenerateOutputTests() *bool

func (*CliEvent) GetGeneratePublished added in v3.1.0

func (o *CliEvent) GetGeneratePublished() *bool

func (*CliEvent) GetGenerateRepoURL added in v3.1.0

func (o *CliEvent) GetGenerateRepoURL() *string

func (*CliEvent) GetGenerateTarget added in v3.1.0

func (o *CliEvent) GetGenerateTarget() *string

func (*CliEvent) GetGenerateTargetName added in v3.8.8

func (o *CliEvent) GetGenerateTargetName() *string

func (*CliEvent) GetGenerateTargetVersion added in v3.1.0

func (o *CliEvent) GetGenerateTargetVersion() *string

func (*CliEvent) GetGenerateVersion added in v3.1.0

func (o *CliEvent) GetGenerateVersion() *string

func (*CliEvent) GetGhActionOrganization added in v3.1.0

func (o *CliEvent) GetGhActionOrganization() *string

func (*CliEvent) GetGhActionRef added in v3.7.1

func (o *CliEvent) GetGhActionRef() *string

func (*CliEvent) GetGhActionRepository added in v3.1.0

func (o *CliEvent) GetGhActionRepository() *string
func (o *CliEvent) GetGhActionRunLink() *string

func (*CliEvent) GetGhActionVersion added in v3.1.0

func (o *CliEvent) GetGhActionVersion() *string

func (*CliEvent) GetGhChangesCommitted added in v3.15.1

func (o *CliEvent) GetGhChangesCommitted() *bool

func (*CliEvent) GetGhPullRequest added in v3.14.1

func (o *CliEvent) GetGhPullRequest() *string

func (*CliEvent) GetGitRelativeCwd added in v3.1.0

func (o *CliEvent) GetGitRelativeCwd() *string

func (*CliEvent) GetGitRemoteDefaultOwner added in v3.1.0

func (o *CliEvent) GetGitRemoteDefaultOwner() *string

func (*CliEvent) GetGitRemoteDefaultRepo added in v3.1.0

func (o *CliEvent) GetGitRemoteDefaultRepo() *string

func (*CliEvent) GetGitUserEmail added in v3.1.0

func (o *CliEvent) GetGitUserEmail() *string

func (*CliEvent) GetGitUserName added in v3.1.0

func (o *CliEvent) GetGitUserName() *string

func (*CliEvent) GetHostname added in v3.1.0

func (o *CliEvent) GetHostname() *string

func (*CliEvent) GetID added in v3.1.0

func (o *CliEvent) GetID() string

func (*CliEvent) GetInteractionType added in v3.1.0

func (o *CliEvent) GetInteractionType() InteractionType

func (*CliEvent) GetLastStep added in v3.5.11

func (o *CliEvent) GetLastStep() *string

func (*CliEvent) GetLintReportDigest added in v3.5.7

func (o *CliEvent) GetLintReportDigest() *string

func (*CliEvent) GetLintReportErrorCount added in v3.5.7

func (o *CliEvent) GetLintReportErrorCount() *int64

func (*CliEvent) GetLintReportInfoCount added in v3.5.7

func (o *CliEvent) GetLintReportInfoCount() *int64

func (*CliEvent) GetLintReportWarningCount added in v3.5.7

func (o *CliEvent) GetLintReportWarningCount() *int64

func (*CliEvent) GetLocalCompletedAt added in v3.1.0

func (o *CliEvent) GetLocalCompletedAt() *time.Time

func (*CliEvent) GetLocalStartedAt added in v3.1.0

func (o *CliEvent) GetLocalStartedAt() time.Time

func (*CliEvent) GetManagementDocChecksum added in v3.1.0

func (o *CliEvent) GetManagementDocChecksum() *string

func (*CliEvent) GetManagementDocVersion added in v3.1.0

func (o *CliEvent) GetManagementDocVersion() *string

func (*CliEvent) GetMermaidDiagram added in v3.5.11

func (o *CliEvent) GetMermaidDiagram() *string

func (*CliEvent) GetOpenapiDiffBaseSourceBlobDigest added in v3.5.7

func (o *CliEvent) GetOpenapiDiffBaseSourceBlobDigest() *string

func (*CliEvent) GetOpenapiDiffBaseSourceNamespaceName added in v3.5.7

func (o *CliEvent) GetOpenapiDiffBaseSourceNamespaceName() *string

func (*CliEvent) GetOpenapiDiffBaseSourceRevisionDigest added in v3.5.7

func (o *CliEvent) GetOpenapiDiffBaseSourceRevisionDigest() *string

func (*CliEvent) GetOpenapiDiffBreakingChangesCount added in v3.5.7

func (o *CliEvent) GetOpenapiDiffBreakingChangesCount() *int64

func (*CliEvent) GetOpenapiDiffBumpType added in v3.5.7

func (o *CliEvent) GetOpenapiDiffBumpType() *OpenapiDiffBumpType

func (*CliEvent) GetOpenapiDiffReportDigest added in v3.5.7

func (o *CliEvent) GetOpenapiDiffReportDigest() *string

func (*CliEvent) GetPublishPackageName added in v3.3.8

func (o *CliEvent) GetPublishPackageName() *string

func (*CliEvent) GetPublishPackageRegistryName added in v3.3.8

func (o *CliEvent) GetPublishPackageRegistryName() *string

func (*CliEvent) GetPublishPackageURL added in v3.3.8

func (o *CliEvent) GetPublishPackageURL() *string

func (*CliEvent) GetPublishPackageVersion added in v3.3.8

func (o *CliEvent) GetPublishPackageVersion() *string

func (*CliEvent) GetRawCommand added in v3.1.0

func (o *CliEvent) GetRawCommand() *string

func (*CliEvent) GetRepoLabel added in v3.1.0

func (o *CliEvent) GetRepoLabel() *string

func (*CliEvent) GetSourceBlobDigest added in v3.5.7

func (o *CliEvent) GetSourceBlobDigest() *string

func (*CliEvent) GetSourceNamespaceName added in v3.5.7

func (o *CliEvent) GetSourceNamespaceName() *string

func (*CliEvent) GetSourceRevisionDigest added in v3.5.7

func (o *CliEvent) GetSourceRevisionDigest() *string

func (*CliEvent) GetSpeakeasyAPIKeyName added in v3.1.0

func (o *CliEvent) GetSpeakeasyAPIKeyName() string

func (*CliEvent) GetSpeakeasyVersion added in v3.1.0

func (o *CliEvent) GetSpeakeasyVersion() string

func (*CliEvent) GetSuccess added in v3.1.0

func (o *CliEvent) GetSuccess() bool

func (*CliEvent) GetWorkflowLockPostRaw added in v3.5.11

func (o *CliEvent) GetWorkflowLockPostRaw() *string

func (*CliEvent) GetWorkflowLockPreRaw added in v3.5.11

func (o *CliEvent) GetWorkflowLockPreRaw() *string

func (*CliEvent) GetWorkflowPostRaw added in v3.5.11

func (o *CliEvent) GetWorkflowPostRaw() *string

func (*CliEvent) GetWorkflowPreRaw added in v3.5.11

func (o *CliEvent) GetWorkflowPreRaw() *string

func (*CliEvent) GetWorkspaceID added in v3.1.0

func (o *CliEvent) GetWorkspaceID() string

func (CliEvent) MarshalJSON added in v3.1.0

func (c CliEvent) MarshalJSON() ([]byte, error)

func (*CliEvent) UnmarshalJSON added in v3.1.0

func (c *CliEvent) UnmarshalJSON(data []byte) error

type CodeSampleSchemaInput added in v3.15.5

type CodeSampleSchemaInput struct {
	// A list of languages to generate code samples for
	Languages []string `multipartForm:"name=languages"`
	// The name of the package
	PackageName *string `multipartForm:"name=package_name"`
	// The OpenAPI file to be uploaded
	SchemaFile SchemaFile `multipartForm:"file,name=schema_file"`
	// The SDK class name
	SDKClassName *string `multipartForm:"name=sdk_class_name"`
}

func (*CodeSampleSchemaInput) GetLanguages added in v3.15.5

func (o *CodeSampleSchemaInput) GetLanguages() []string

func (*CodeSampleSchemaInput) GetPackageName added in v3.15.5

func (o *CodeSampleSchemaInput) GetPackageName() *string

func (*CodeSampleSchemaInput) GetSDKClassName added in v3.15.5

func (o *CodeSampleSchemaInput) GetSDKClassName() *string

func (*CodeSampleSchemaInput) GetSchemaFile added in v3.15.5

func (o *CodeSampleSchemaInput) GetSchemaFile() SchemaFile

type CodeSamplesJobStatus added in v3.15.5

type CodeSamplesJobStatus string

CodeSamplesJobStatus - The current status of the job. Possible values are `pending` or `running`.

const (
	CodeSamplesJobStatusPending CodeSamplesJobStatus = "pending"
	CodeSamplesJobStatusRunning CodeSamplesJobStatus = "running"
)

func (CodeSamplesJobStatus) ToPointer added in v3.15.5

func (*CodeSamplesJobStatus) UnmarshalJSON added in v3.15.5

func (e *CodeSamplesJobStatus) UnmarshalJSON(data []byte) error

type CompositeSpecMetadata added in v3.16.2

type CompositeSpecMetadata struct {
	// The subscription ID for the remote source subscription, if applicable. This indicates that the namespace is created by a remote source and thus is composite.
	SubscriptionID       string                           `json:"subscription_id"`
	SubscriptionSettings RemoteSourceSubscriptionSettings `json:"subscription_settings"`
}

func (*CompositeSpecMetadata) GetSubscriptionID added in v3.16.2

func (o *CompositeSpecMetadata) GetSubscriptionID() string

func (*CompositeSpecMetadata) GetSubscriptionSettings added in v3.16.2

func (o *CompositeSpecMetadata) GetSubscriptionSettings() RemoteSourceSubscriptionSettings

type Diagnostic added in v3.13.0

type Diagnostic struct {
	// Help message for how to fix the issue
	HelpMessage *string `json:"helpMessage,omitempty"`
	// Message describing the issue
	Message string `json:"message"`
	// Schema path to the issue
	Path []string `json:"path"`
	// Issue type
	Type string `json:"type"`
}

func (*Diagnostic) GetHelpMessage added in v3.13.0

func (o *Diagnostic) GetHelpMessage() *string

func (*Diagnostic) GetMessage added in v3.13.0

func (o *Diagnostic) GetMessage() string

func (*Diagnostic) GetPath added in v3.13.0

func (o *Diagnostic) GetPath() []string

func (*Diagnostic) GetType added in v3.13.0

func (o *Diagnostic) GetType() string

type FeatureFlag added in v3.7.2

type FeatureFlag struct {
	FeatureFlag string     `json:"feature_flag"`
	TrialEndsAt *time.Time `json:"trial_ends_at,omitempty"`
}

FeatureFlag - A feature flag is a key-value pair that can be used to enable or disable features.

func (*FeatureFlag) GetFeatureFlag added in v3.7.2

func (o *FeatureFlag) GetFeatureFlag() string

func (*FeatureFlag) GetTrialEndsAt added in v3.7.2

func (o *FeatureFlag) GetTrialEndsAt() *time.Time

func (FeatureFlag) MarshalJSON added in v3.7.2

func (f FeatureFlag) MarshalJSON() ([]byte, error)

func (*FeatureFlag) UnmarshalJSON added in v3.7.2

func (f *FeatureFlag) UnmarshalJSON(data []byte) error

type GenerateBumpType added in v3.1.0

type GenerateBumpType string

GenerateBumpType - Bump type of the lock file (calculated semver delta, custom change (manual release), or prerelease/graduate)

const (
	GenerateBumpTypeMajor      GenerateBumpType = "major"
	GenerateBumpTypeMinor      GenerateBumpType = "minor"
	GenerateBumpTypePatch      GenerateBumpType = "patch"
	GenerateBumpTypeCustom     GenerateBumpType = "custom"
	GenerateBumpTypeGraduate   GenerateBumpType = "graduate"
	GenerateBumpTypePrerelease GenerateBumpType = "prerelease"
	GenerateBumpTypeNone       GenerateBumpType = "none"
)

func (GenerateBumpType) ToPointer added in v3.1.0

func (e GenerateBumpType) ToPointer() *GenerateBumpType

func (*GenerateBumpType) UnmarshalJSON added in v3.1.0

func (e *GenerateBumpType) UnmarshalJSON(data []byte) error

type GetNamespacesResponse added in v3.5.3

type GetNamespacesResponse struct {
	Items []Namespace `json:"items"`
}

func (*GetNamespacesResponse) GetItems added in v3.5.3

func (o *GetNamespacesResponse) GetItems() []Namespace

type GetRevisionsResponse added in v3.5.3

type GetRevisionsResponse struct {
	Items         []Revision `json:"items"`
	NextPageToken string     `json:"next_page_token"`
}

func (*GetRevisionsResponse) GetItems added in v3.5.3

func (o *GetRevisionsResponse) GetItems() []Revision

func (*GetRevisionsResponse) GetNextPageToken added in v3.5.3

func (o *GetRevisionsResponse) GetNextPageToken() string

type GetTagsResponse added in v3.5.4

type GetTagsResponse struct {
	Items []Tag `json:"items"`
}

func (*GetTagsResponse) GetItems added in v3.5.4

func (o *GetTagsResponse) GetItems() []Tag

type GithubConfigureCodeSamplesRequest added in v3.8.9

type GithubConfigureCodeSamplesRequest struct {
	// The GitHub organization name
	Org string `json:"org"`
	// The GitHub repository name
	Repo string `json:"repo"`
	// The target name for the code samples
	TargetName string `json:"targetName"`
}

GithubConfigureCodeSamplesRequest - A request to configure GitHub code samples

func (*GithubConfigureCodeSamplesRequest) GetOrg added in v3.8.9

func (*GithubConfigureCodeSamplesRequest) GetRepo added in v3.8.9

func (*GithubConfigureCodeSamplesRequest) GetTargetName added in v3.8.9

func (o *GithubConfigureCodeSamplesRequest) GetTargetName() string

type GithubConfigureCodeSamplesResponse added in v3.8.9

type GithubConfigureCodeSamplesResponse struct {
	// The URL of the code sample overlay registry
	CodeSampleOverlayRegistryURL string `json:"codeSampleOverlayRegistryURL"`
	// The ID of the GitHub action that was dispatched
	GhActionID *string `json:"ghActionID,omitempty"`
	// A document referenced by a workflow
	Source WorkflowDocument `json:"source"`
}

GithubConfigureCodeSamplesResponse - A response to configure GitHub code samples

func (*GithubConfigureCodeSamplesResponse) GetCodeSampleOverlayRegistryURL added in v3.8.9

func (o *GithubConfigureCodeSamplesResponse) GetCodeSampleOverlayRegistryURL() string

func (*GithubConfigureCodeSamplesResponse) GetGhActionID added in v3.8.9

func (o *GithubConfigureCodeSamplesResponse) GetGhActionID() *string

func (*GithubConfigureCodeSamplesResponse) GetSource added in v3.8.9

type GithubConfigureMintlifyRepoRequest added in v3.8.9

type GithubConfigureMintlifyRepoRequest struct {
	// The input OpenAPI document
	Input string `json:"input"`
	// The GitHub organization name
	Org string `json:"org"`
	// The overlays to apply
	Overlays []string `json:"overlays"`
	// The GitHub repository name
	Repo string `json:"repo"`
	// The subdirectory (location of mint.json)
	Subdirectory *string `json:"subdirectory,omitempty"`
}

GithubConfigureMintlifyRepoRequest - A request to configure a GitHub repository for mintlify

func (*GithubConfigureMintlifyRepoRequest) GetInput added in v3.8.9

func (*GithubConfigureMintlifyRepoRequest) GetOrg added in v3.8.9

func (*GithubConfigureMintlifyRepoRequest) GetOverlays added in v3.8.9

func (o *GithubConfigureMintlifyRepoRequest) GetOverlays() []string

func (*GithubConfigureMintlifyRepoRequest) GetRepo added in v3.8.9

func (*GithubConfigureMintlifyRepoRequest) GetSubdirectory added in v3.9.0

func (o *GithubConfigureMintlifyRepoRequest) GetSubdirectory() *string

type GithubConfigureTargetRequest added in v3.8.0

type GithubConfigureTargetRequest struct {
	// The GitHub organization name
	Org string `json:"org"`
	// The GitHub repository name
	RepoName string `json:"repo_name"`
}

GithubConfigureTargetRequest - A request to configure a GitHub target

func (*GithubConfigureTargetRequest) GetOrg added in v3.8.0

func (*GithubConfigureTargetRequest) GetRepoName added in v3.8.0

func (o *GithubConfigureTargetRequest) GetRepoName() string

type GithubGetActionResponse added in v3.9.0

type GithubGetActionResponse struct {
	// The status of the latest action run if available
	RunStatus *string `json:"run_status,omitempty"`
	// The URL for latest action run if available
	RunURL *string `json:"run_url,omitempty"`
}

GithubGetActionResponse - response to a getting the latest action run on a GitHub request

func (*GithubGetActionResponse) GetRunStatus added in v3.9.0

func (o *GithubGetActionResponse) GetRunStatus() *string

func (*GithubGetActionResponse) GetRunURL added in v3.9.0

func (o *GithubGetActionResponse) GetRunURL() *string

type GithubMissingPublishingSecretsResponse added in v3.8.6

type GithubMissingPublishingSecretsResponse struct {
	MissingSecrets []string `json:"missing_secrets,omitempty"`
}

GithubMissingPublishingSecretsResponse - A valid response containing MISSING publishing secret keys for a github target

func (*GithubMissingPublishingSecretsResponse) GetMissingSecrets added in v3.8.6

func (o *GithubMissingPublishingSecretsResponse) GetMissingSecrets() []string

type GithubPublishingPRResponse added in v3.8.6

type GithubPublishingPRResponse struct {
	GenerationPullRequest *string `json:"generation_pull_request,omitempty"`
	PendingVersion        *string `json:"pending_version,omitempty"`
}

GithubPublishingPRResponse - Open generation PRs pending publishing

func (*GithubPublishingPRResponse) GetGenerationPullRequest added in v3.8.6

func (o *GithubPublishingPRResponse) GetGenerationPullRequest() *string

func (*GithubPublishingPRResponse) GetPendingVersion added in v3.8.6

func (o *GithubPublishingPRResponse) GetPendingVersion() *string

type GithubSetupStateResponse added in v3.15.8

type GithubSetupStateResponse struct {
	Actions      Actions `json:"actions"`
	AppInstalled bool    `json:"app_installed"`
	Secrets      Secrets `json:"secrets"`
}

GithubSetupStateResponse - The state of a particular SDK targets github setup

func (*GithubSetupStateResponse) GetActions added in v3.15.8

func (o *GithubSetupStateResponse) GetActions() Actions

func (*GithubSetupStateResponse) GetAppInstalled added in v3.15.8

func (o *GithubSetupStateResponse) GetAppInstalled() bool

func (*GithubSetupStateResponse) GetSecrets added in v3.15.8

func (o *GithubSetupStateResponse) GetSecrets() Secrets

type GithubStorePublishingSecretsRequest added in v3.8.6

type GithubStorePublishingSecretsRequest struct {
	// The generation lock ID
	GenerateGenLockID string `json:"generate_gen_lock_id"`
	// A map of secrets to store in the GitHub target
	Secrets map[string]string `json:"secrets,omitempty"`
}

GithubStorePublishingSecretsRequest - A request to store publishing secrets for a github target

func (*GithubStorePublishingSecretsRequest) GetGenerateGenLockID added in v3.8.6

func (o *GithubStorePublishingSecretsRequest) GetGenerateGenLockID() string

func (*GithubStorePublishingSecretsRequest) GetSecrets added in v3.8.6

type GithubTriggerActionRequest added in v3.8.0

type GithubTriggerActionRequest struct {
	// Force an SDK generation
	Force *bool `json:"force,omitempty"`
	// The generation lock ID
	GenLockID string `json:"gen_lock_id"`
	// The GitHub organization name
	Org string `json:"org"`
	// The GitHub repository name
	RepoName string `json:"repo_name"`
	// A version to override the SDK too in workflow dispatch
	SetVersion *string `json:"set_version,omitempty"`
	// The target name for the action
	TargetName *string `json:"target_name,omitempty"`
}

GithubTriggerActionRequest - A request to trigger an action on a GitHub target

func (*GithubTriggerActionRequest) GetForce added in v3.12.5

func (o *GithubTriggerActionRequest) GetForce() *bool

func (*GithubTriggerActionRequest) GetGenLockID added in v3.8.0

func (o *GithubTriggerActionRequest) GetGenLockID() string

func (*GithubTriggerActionRequest) GetOrg added in v3.8.0

func (o *GithubTriggerActionRequest) GetOrg() string

func (*GithubTriggerActionRequest) GetRepoName added in v3.8.0

func (o *GithubTriggerActionRequest) GetRepoName() string

func (*GithubTriggerActionRequest) GetSetVersion added in v3.9.0

func (o *GithubTriggerActionRequest) GetSetVersion() *string

func (*GithubTriggerActionRequest) GetTargetName added in v3.8.0

func (o *GithubTriggerActionRequest) GetTargetName() *string

type InteractionType added in v3.1.0

type InteractionType string

InteractionType - Type of interaction.

const (
	InteractionTypeCiExec         InteractionType = "CI_EXEC"
	InteractionTypeCliExec        InteractionType = "CLI_EXEC"
	InteractionTypeLint           InteractionType = "LINT"
	InteractionTypeOpenapiDiff    InteractionType = "OPENAPI_DIFF"
	InteractionTypeTargetGenerate InteractionType = "TARGET_GENERATE"
	InteractionTypeTombstone      InteractionType = "TOMBSTONE"
	InteractionTypeAuthenticate   InteractionType = "AUTHENTICATE"
	InteractionTypeQuickstart     InteractionType = "QUICKSTART"
	InteractionTypeRun            InteractionType = "RUN"
	InteractionTypeConfigure      InteractionType = "CONFIGURE"
	InteractionTypePublish        InteractionType = "PUBLISH"
)

func (InteractionType) ToPointer added in v3.1.0

func (e InteractionType) ToPointer() *InteractionType

func (*InteractionType) UnmarshalJSON added in v3.1.0

func (e *InteractionType) UnmarshalJSON(data []byte) error

type Level added in v3.4.2

type Level string
const (
	LevelAllowed Level = "allowed"
	LevelWarning Level = "warning"
	LevelBlocked Level = "blocked"
)

func (Level) ToPointer added in v3.4.2

func (e Level) ToPointer() *Level

func (*Level) UnmarshalJSON added in v3.4.2

func (e *Level) UnmarshalJSON(data []byte) error

type License added in v3.8.9

type License struct {
	Identifier *string `json:"identifier,omitempty"`
}

func (*License) GetIdentifier added in v3.8.9

func (o *License) GetIdentifier() *string

type Manifest added in v3.5.4

type Manifest struct {
	// Annotations
	Annotations *Annotations `json:"annotations,omitempty"`
	// Type of artifact
	ArtifactType *string `json:"artifactType,omitempty"`
	// List of V2 image layer information
	Layers []V2Descriptor `json:"layers,omitempty"`
	// Media type usually application/vnd.docker.distribution.manifest.v2+json if this is in the accept header
	MediaType *string `json:"mediaType,omitempty"`
	// Schema version
	SchemaVersion *int64 `json:"schemaVersion,omitempty"`
}

Manifest - Returns the requested manifest file

func (*Manifest) GetAnnotations added in v3.5.4

func (o *Manifest) GetAnnotations() *Annotations

func (*Manifest) GetArtifactType added in v3.5.4

func (o *Manifest) GetArtifactType() *string

func (*Manifest) GetLayers added in v3.5.4

func (o *Manifest) GetLayers() []V2Descriptor

func (*Manifest) GetMediaType added in v3.5.4

func (o *Manifest) GetMediaType() *string

func (*Manifest) GetSchemaVersion added in v3.5.4

func (o *Manifest) GetSchemaVersion() *int64

type Namespace added in v3.5.3

type Namespace struct {
	CompositeSpecMetadata *CompositeSpecMetadata `json:"composite_spec_metadata,omitempty"`
	CreatedAt             time.Time              `json:"created_at"`
	// {organization_slug}/{workspace_slug}/{namespace_name}
	ID string `json:"id"`
	// A human-readable name for the namespace.
	Name string `json:"name"`
	// Indicates whether the namespace is publicly accessible
	Public    *bool     `json:"public,omitempty"`
	UpdatedAt time.Time `json:"updated_at"`
}

Namespace - A namespace contains many revisions.

func (*Namespace) GetCompositeSpecMetadata added in v3.16.2

func (o *Namespace) GetCompositeSpecMetadata() *CompositeSpecMetadata

func (*Namespace) GetCreatedAt added in v3.5.3

func (o *Namespace) GetCreatedAt() time.Time

func (*Namespace) GetID added in v3.5.3

func (o *Namespace) GetID() string

func (*Namespace) GetName added in v3.5.4

func (o *Namespace) GetName() string

func (*Namespace) GetPublic added in v3.15.9

func (o *Namespace) GetPublic() *bool

func (*Namespace) GetUpdatedAt added in v3.5.3

func (o *Namespace) GetUpdatedAt() time.Time

func (Namespace) MarshalJSON added in v3.5.3

func (n Namespace) MarshalJSON() ([]byte, error)

func (*Namespace) UnmarshalJSON added in v3.5.3

func (n *Namespace) UnmarshalJSON(data []byte) error

type OASInfo added in v3.8.9

type OASInfo struct {
	Description string  `json:"description"`
	License     License `json:"license"`
	Summary     string  `json:"summary"`
	Title       string  `json:"title"`
	Version     string  `json:"version"`
}

func (*OASInfo) GetDescription added in v3.8.9

func (o *OASInfo) GetDescription() string

func (*OASInfo) GetLicense added in v3.8.9

func (o *OASInfo) GetLicense() License

func (*OASInfo) GetSummary added in v3.8.9

func (o *OASInfo) GetSummary() string

func (*OASInfo) GetTitle added in v3.8.9

func (o *OASInfo) GetTitle() string

func (*OASInfo) GetVersion added in v3.8.9

func (o *OASInfo) GetVersion() string

type OASOperation added in v3.8.9

type OASOperation struct {
	Description        string   `json:"description"`
	GroupOverride      *string  `json:"group_override,omitempty"`
	Method             string   `json:"method"`
	MethodNameOverride *string  `json:"method_name_override,omitempty"`
	OperationID        string   `json:"operation_id"`
	Path               string   `json:"path"`
	Tags               []string `json:"tags"`
}

func (*OASOperation) GetDescription added in v3.8.9

func (o *OASOperation) GetDescription() string

func (*OASOperation) GetGroupOverride added in v3.13.1

func (o *OASOperation) GetGroupOverride() *string

func (*OASOperation) GetMethod added in v3.8.9

func (o *OASOperation) GetMethod() string

func (*OASOperation) GetMethodNameOverride added in v3.13.1

func (o *OASOperation) GetMethodNameOverride() *string

func (*OASOperation) GetOperationID added in v3.8.9

func (o *OASOperation) GetOperationID() string

func (*OASOperation) GetPath added in v3.8.9

func (o *OASOperation) GetPath() string

func (*OASOperation) GetTags added in v3.8.9

func (o *OASOperation) GetTags() []string

type OASSummary added in v3.8.9

type OASSummary struct {
	Info       OASInfo        `json:"info"`
	Operations []OASOperation `json:"operations"`
}

func (*OASSummary) GetInfo added in v3.8.9

func (o *OASSummary) GetInfo() OASInfo

func (*OASSummary) GetOperations added in v3.8.9

func (o *OASSummary) GetOperations() []OASOperation

type OpenapiDiffBumpType added in v3.5.7

type OpenapiDiffBumpType string

OpenapiDiffBumpType - Bump type of the lock file (calculated semver delta, or a custom change (manual release))

const (
	OpenapiDiffBumpTypeMajor OpenapiDiffBumpType = "major"
	OpenapiDiffBumpTypeMinor OpenapiDiffBumpType = "minor"
	OpenapiDiffBumpTypePatch OpenapiDiffBumpType = "patch"
	OpenapiDiffBumpTypeNone  OpenapiDiffBumpType = "none"
)

func (OpenapiDiffBumpType) ToPointer added in v3.5.7

func (*OpenapiDiffBumpType) UnmarshalJSON added in v3.5.7

func (e *OpenapiDiffBumpType) UnmarshalJSON(data []byte) error

type Organization added in v3.4.2

type Organization struct {
	AccountType       AccountType `json:"account_type"`
	CreatedAt         time.Time   `json:"created_at"`
	FreeTrialExpiry   *time.Time  `json:"free_trial_expiry,omitempty"`
	ID                string      `json:"id"`
	Internal          *bool       `json:"internal,omitempty"`
	Name              string      `json:"name"`
	Slug              string      `json:"slug"`
	SsoActivated      bool        `json:"sso_activated"`
	SsoConnectionID   *string     `json:"sso_connection_id,omitempty"`
	TelemetryDisabled bool        `json:"telemetry_disabled"`
	UpdatedAt         time.Time   `json:"updated_at"`
}

Organization - A speakeasy organization

func (*Organization) GetAccountType added in v3.4.2

func (o *Organization) GetAccountType() AccountType

func (*Organization) GetCreatedAt added in v3.4.2

func (o *Organization) GetCreatedAt() time.Time

func (*Organization) GetFreeTrialExpiry added in v3.10.2

func (o *Organization) GetFreeTrialExpiry() *time.Time

func (*Organization) GetID added in v3.4.2

func (o *Organization) GetID() string

func (*Organization) GetInternal added in v3.14.4

func (o *Organization) GetInternal() *bool

func (*Organization) GetName added in v3.4.2

func (o *Organization) GetName() string

func (*Organization) GetSlug added in v3.4.2

func (o *Organization) GetSlug() string

func (*Organization) GetSsoActivated added in v3.16.1

func (o *Organization) GetSsoActivated() bool

func (*Organization) GetSsoConnectionID added in v3.16.1

func (o *Organization) GetSsoConnectionID() *string

func (*Organization) GetTelemetryDisabled added in v3.8.4

func (o *Organization) GetTelemetryDisabled() bool

func (*Organization) GetUpdatedAt added in v3.4.2

func (o *Organization) GetUpdatedAt() time.Time

func (Organization) MarshalJSON added in v3.4.2

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

func (*Organization) UnmarshalJSON added in v3.4.2

func (o *Organization) UnmarshalJSON(data []byte) error

type OrganizationUsage added in v3.8.0

type OrganizationUsage struct {
	// Indicates if the features are accessible
	Accessible bool `json:"accessible"`
	// Features that are accessible
	AccessibleFeatures []string `json:"accessible_features"`
	// List of generation lock IDs
	GenLockIds []string `json:"gen_lock_ids"`
	// The programming language used
	Language string `json:"language"`
	// Maximum Number of operations per SDK specific in contract
	MaxOperations int64 `json:"max_operations"`
	// Number of operations performed
	NumberOfOperations int64 `json:"number_of_operations"`
	// Features that have been used
	UsedFeatures []string `json:"used_features"`
	// List of workspace IDs
	Workspaces []string `json:"workspaces"`
}

func (*OrganizationUsage) GetAccessible added in v3.8.0

func (o *OrganizationUsage) GetAccessible() bool

func (*OrganizationUsage) GetAccessibleFeatures added in v3.8.0

func (o *OrganizationUsage) GetAccessibleFeatures() []string

func (*OrganizationUsage) GetGenLockIds added in v3.8.0

func (o *OrganizationUsage) GetGenLockIds() []string

func (*OrganizationUsage) GetLanguage added in v3.8.0

func (o *OrganizationUsage) GetLanguage() string

func (*OrganizationUsage) GetMaxOperations added in v3.14.9

func (o *OrganizationUsage) GetMaxOperations() int64

func (*OrganizationUsage) GetNumberOfOperations added in v3.8.0

func (o *OrganizationUsage) GetNumberOfOperations() int64

func (*OrganizationUsage) GetUsedFeatures added in v3.8.0

func (o *OrganizationUsage) GetUsedFeatures() []string

func (*OrganizationUsage) GetWorkspaces added in v3.8.0

func (o *OrganizationUsage) GetWorkspaces() []string

type OrganizationUsageResponse added in v3.8.0

type OrganizationUsageResponse struct {
	// List of allowed languages
	AllowedLanguages []string `json:"allowed_languages"`
	// Expiry date of the free trial, will be null if no trial
	FreeTrialExpiry *time.Time `json:"free_trial_expiry,omitempty"`
	// Total number of allowed languages, -1 if unlimited
	TotalAllowedLanguages int64               `json:"total_allowed_languages"`
	Usage                 []OrganizationUsage `json:"usage"`
}

OrganizationUsageResponse - A billing summary of organization usage

func (*OrganizationUsageResponse) GetAllowedLanguages added in v3.8.0

func (o *OrganizationUsageResponse) GetAllowedLanguages() []string

func (*OrganizationUsageResponse) GetFreeTrialExpiry added in v3.8.0

func (o *OrganizationUsageResponse) GetFreeTrialExpiry() *time.Time

func (*OrganizationUsageResponse) GetTotalAllowedLanguages added in v3.8.0

func (o *OrganizationUsageResponse) GetTotalAllowedLanguages() int64

func (*OrganizationUsageResponse) GetUsage added in v3.8.0

func (OrganizationUsageResponse) MarshalJSON added in v3.8.0

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

func (*OrganizationUsageResponse) UnmarshalJSON added in v3.8.0

func (o *OrganizationUsageResponse) UnmarshalJSON(data []byte) error

type PreflightRequest added in v3.5.4

type PreflightRequest struct {
	NamespaceName string `json:"namespace_name"`
}

func (*PreflightRequest) GetNamespaceName added in v3.5.4

func (o *PreflightRequest) GetNamespaceName() string

type PreflightToken added in v3.5.3

type PreflightToken struct {
	AuthToken *string `json:"auth_token,omitempty"`
}

A PreflightToken is a token that allows access to the OCI distribution endpoints.

func (*PreflightToken) GetAuthToken added in v3.5.4

func (o *PreflightToken) GetAuthToken() *string

type Relationship added in v3.14.0

type Relationship struct {
	UserID      string `json:"user_id"`
	WorkspaceID string `json:"workspace_id"`
}

func (*Relationship) GetUserID added in v3.14.0

func (o *Relationship) GetUserID() string

func (*Relationship) GetWorkspaceID added in v3.14.0

func (o *Relationship) GetWorkspaceID() string

type RemoteDocument added in v3.14.9

type RemoteDocument struct {
	RegistryURL string `json:"registry_url"`
}

RemoteDocument - A document hosted in the registry

func (*RemoteDocument) GetRegistryURL added in v3.14.9

func (o *RemoteDocument) GetRegistryURL() string

type RemoteSource added in v3.14.9

type RemoteSource struct {
	Inputs []RemoteDocument `json:"inputs"`
	// A document hosted in the registry
	Output   RemoteDocument   `json:"output"`
	Overlays []RemoteDocument `json:"overlays,omitempty"`
}

RemoteSource - Remote source configuration

func (*RemoteSource) GetInputs added in v3.14.9

func (o *RemoteSource) GetInputs() []RemoteDocument

func (*RemoteSource) GetOutput added in v3.14.9

func (o *RemoteSource) GetOutput() RemoteDocument

func (*RemoteSource) GetOverlays added in v3.14.9

func (o *RemoteSource) GetOverlays() []RemoteDocument

type RemoteSourceSubscriptionSettings added in v3.16.2

type RemoteSourceSubscriptionSettings struct {
	BaseSpecNamespaces []string `json:"base_spec_namespaces"`
	IgnoredNamespaces  []string `json:"ignored_namespaces,omitempty"`
	OutputNamespace    string   `json:"output_namespace"`
	OverlayNamespaces  []string `json:"overlay_namespaces"`
}

func (*RemoteSourceSubscriptionSettings) GetBaseSpecNamespaces added in v3.16.2

func (o *RemoteSourceSubscriptionSettings) GetBaseSpecNamespaces() []string

func (*RemoteSourceSubscriptionSettings) GetIgnoredNamespaces added in v3.18.0

func (o *RemoteSourceSubscriptionSettings) GetIgnoredNamespaces() []string

func (*RemoteSourceSubscriptionSettings) GetOutputNamespace added in v3.16.2

func (o *RemoteSourceSubscriptionSettings) GetOutputNamespace() string

func (*RemoteSourceSubscriptionSettings) GetOverlayNamespaces added in v3.16.2

func (o *RemoteSourceSubscriptionSettings) GetOverlayNamespaces() []string

type Report added in v3.5.5

type Report struct {
	Type *Type `json:"type,omitempty"`
}

func (*Report) GetType added in v3.5.5

func (o *Report) GetType() *Type

type Revision added in v3.5.3

type Revision struct {
	CreatedAt time.Time `json:"created_at"`
	Digest    string    `json:"digest"`
	// Format {namespace_id}/{revision_digest}
	ID            string    `json:"id"`
	NamespaceName string    `json:"namespace_name"`
	Tags          []string  `json:"tags"`
	UpdatedAt     time.Time `json:"updated_at"`
}

func (*Revision) GetCreatedAt added in v3.5.3

func (o *Revision) GetCreatedAt() time.Time

func (*Revision) GetDigest added in v3.5.5

func (o *Revision) GetDigest() string

func (*Revision) GetID added in v3.5.3

func (o *Revision) GetID() string

func (*Revision) GetNamespaceName added in v3.5.4

func (o *Revision) GetNamespaceName() string

func (*Revision) GetTags added in v3.5.3

func (o *Revision) GetTags() []string

func (*Revision) GetUpdatedAt added in v3.5.3

func (o *Revision) GetUpdatedAt() time.Time

func (Revision) MarshalJSON added in v3.5.3

func (r Revision) MarshalJSON() ([]byte, error)

func (*Revision) UnmarshalJSON added in v3.5.3

func (r *Revision) UnmarshalJSON(data []byte) error

type SSOMetadata added in v3.14.0

type SSOMetadata struct {
	SsoActivated bool     `json:"sso_activated"`
	SsoDomains   []string `json:"sso_domains"`
}

SSOMetadata - SSO metadata for a workspace

func (*SSOMetadata) GetSsoActivated added in v3.14.0

func (o *SSOMetadata) GetSsoActivated() bool

func (*SSOMetadata) GetSsoDomains added in v3.14.0

func (o *SSOMetadata) GetSsoDomains() []string

type SchemaFile added in v3.15.5

type SchemaFile struct {
	// This field accepts []byte data or io.Reader implementations, such as *os.File.
	Content  any    `multipartForm:"content"`
	FileName string `multipartForm:"name=fileName"`
}

func (*SchemaFile) GetContent added in v3.15.5

func (o *SchemaFile) GetContent() any

func (*SchemaFile) GetFileName added in v3.15.5

func (o *SchemaFile) GetFileName() string

type Secrets added in v3.15.8

type Secrets struct {
	APIKeyConfigured            bool `json:"api_key_configured"`
	PublishingSecretsConfigured bool `json:"publishing_secrets_configured"`
}

func (*Secrets) GetAPIKeyConfigured added in v3.15.8

func (o *Secrets) GetAPIKeyConfigured() bool

func (*Secrets) GetPublishingSecretsConfigured added in v3.15.8

func (o *Secrets) GetPublishingSecretsConfigured() bool

type Security

type Security struct {
	APIKey              *string `security:"scheme,type=apiKey,subtype=header,name=x-api-key"`
	Bearer              *string `security:"scheme,type=http,subtype=bearer,name=Authorization"`
	WorkspaceIdentifier *string `security:"scheme,type=apiKey,subtype=header,name=x-workspace-identifier"`
}

func (*Security) GetAPIKey

func (o *Security) GetAPIKey() *string

func (*Security) GetBearer added in v3.3.8

func (o *Security) GetBearer() *string

func (*Security) GetWorkspaceIdentifier added in v3.14.0

func (o *Security) GetWorkspaceIdentifier() *string

type ShortURL added in v3.9.0

type ShortURL struct {
	FullURL  string `json:"full_url"`
	ShortURL string `json:"short_url"`
}

func (*ShortURL) GetFullURL added in v3.9.0

func (o *ShortURL) GetFullURL() string

func (*ShortURL) GetShortURL added in v3.9.0

func (o *ShortURL) GetShortURL() string

type SuggestItemsRequestBody added in v3.14.4

type SuggestItemsRequestBody struct {
	// The list of "things" to get suggestions for. One suggestion will be returned for each item in the list.
	Items []string `json:"items"`
	// The prompt to use for the suggestion. Think of this as the "preamble".
	Prompt string `json:"prompt"`
}

func (*SuggestItemsRequestBody) GetItems added in v3.14.4

func (o *SuggestItemsRequestBody) GetItems() []string

func (*SuggestItemsRequestBody) GetPrompt added in v3.14.4

func (o *SuggestItemsRequestBody) GetPrompt() string

type SuggestOptsOld added in v3.13.1

type SuggestOptsOld struct {
	Diagnostics    []Diagnostic   `json:"diagnostics,omitempty"`
	SuggestionType SuggestionType `json:"suggestion_type"`
}

func (*SuggestOptsOld) GetDiagnostics added in v3.13.1

func (o *SuggestOptsOld) GetDiagnostics() []Diagnostic

func (*SuggestOptsOld) GetSuggestionType added in v3.13.1

func (o *SuggestOptsOld) GetSuggestionType() SuggestionType

type SuggestRequestBody added in v3.13.1

type SuggestRequestBody struct {
	Diagnostics    []Diagnostic                     `json:"diagnostics"`
	OasSummary     OASSummary                       `json:"oas_summary"`
	SuggestionType SuggestRequestBodySuggestionType `json:"suggestion_type"`
}

func (*SuggestRequestBody) GetDiagnostics added in v3.13.1

func (o *SuggestRequestBody) GetDiagnostics() []Diagnostic

func (*SuggestRequestBody) GetOasSummary added in v3.13.1

func (o *SuggestRequestBody) GetOasSummary() OASSummary

func (*SuggestRequestBody) GetSuggestionType added in v3.13.1

type SuggestRequestBodySuggestionType added in v3.13.1

type SuggestRequestBodySuggestionType string
const (
	SuggestRequestBodySuggestionTypeMethodNames     SuggestRequestBodySuggestionType = "method-names"
	SuggestRequestBodySuggestionTypeDiagnosticsOnly SuggestRequestBodySuggestionType = "diagnostics-only"
)

func (SuggestRequestBodySuggestionType) ToPointer added in v3.13.1

func (*SuggestRequestBodySuggestionType) UnmarshalJSON added in v3.13.1

func (e *SuggestRequestBodySuggestionType) UnmarshalJSON(data []byte) error

type SuggestionType added in v3.13.0

type SuggestionType string
const (
	SuggestionTypeMethodNames     SuggestionType = "method-names"
	SuggestionTypeDiagnosticsOnly SuggestionType = "diagnostics-only"
)

func (SuggestionType) ToPointer added in v3.13.0

func (e SuggestionType) ToPointer() *SuggestionType

func (*SuggestionType) UnmarshalJSON added in v3.13.0

func (e *SuggestionType) UnmarshalJSON(data []byte) error

type Tag added in v3.5.4

type Tag struct {
	// Format {namespace_id}/{tag}
	ID string `json:"id"`
	// Human readable tag name
	Name           string `json:"name"`
	NamespaceName  string `json:"namespace_name"`
	RevisionDigest string `json:"revision_digest"`
}

func (*Tag) GetID added in v3.5.4

func (o *Tag) GetID() string

func (*Tag) GetName added in v3.5.5

func (o *Tag) GetName() string

func (*Tag) GetNamespaceName added in v3.5.4

func (o *Tag) GetNamespaceName() string

func (*Tag) GetRevisionDigest added in v3.5.5

func (o *Tag) GetRevisionDigest() string

type TargetSDK added in v3.3.8

type TargetSDK struct {
	// Remote commit ID.
	CommitHead *string `json:"commit_head,omitempty"`
	// Name of the CI environment.
	ContinuousIntegrationEnvironment *string `json:"continuous_integration_environment,omitempty"`
	// Error message if the last event was not successful.
	Error *string `json:"error,omitempty"`
	// Version of the generated target (post generation)
	GenerateConfigPostVersion *string `json:"generate_config_post_version,omitempty"`
	// Eligible feature set during generation
	GenerateEligibleFeatures *string `json:"generate_eligible_features,omitempty"`
	// gen.lock ID (expected to be a uuid). The same as `id`. A unique identifier for the target.
	GenerateGenLockID string `json:"generate_gen_lock_id"`
	// Features prior to generation
	GenerateGenLockPreFeatures *string `json:"generate_gen_lock_pre_features,omitempty"`
	// Artifact version for the Previous Generation
	GenerateGenLockPreVersion *string `json:"generate_gen_lock_pre_version,omitempty"`
	// The number of operations ignored in generation.
	GenerateNumberOfOperationsIgnored *int64 `json:"generate_number_of_operations_ignored,omitempty"`
	// The number of operations used in generation.
	GenerateNumberOfOperationsUsed *int64 `json:"generate_number_of_operations_used,omitempty"`
	// The number of terraform resources used in generation.
	GenerateNumberOfTerraformResources *int64 `json:"generate_number_of_terraform_resources,omitempty"`
	// Indicates whether the target was considered published.
	GeneratePublished *bool `json:"generate_published,omitempty"`
	// eg `typescript`, `terraform`, `python`
	GenerateTarget string `json:"generate_target"`
	// The workflow name of the target.
	GenerateTargetName *string `json:"generate_target_name,omitempty"`
	// The version of the Speakeasy generator for this target eg v2 of the typescript generator.
	GenerateTargetVersion *string `json:"generate_target_version,omitempty"`
	// GitHub organization of the action.
	GhActionOrganization *string `json:"gh_action_organization,omitempty"`
	// GitHub Action ref value.
	GhActionRef *string `json:"gh_action_ref,omitempty"`
	// GitHub repository of the action.
	GhActionRepository *string `json:"gh_action_repository,omitempty"`
	// Link to the GitHub action run.
	GhActionRunLink *string `json:"gh_action_run_link,omitempty"`
	// Version of the GitHub action.
	GhActionVersion *string `json:"gh_action_version,omitempty"`
	// Current working directory relative to the git root.
	GitRelativeCwd *string `json:"git_relative_cwd,omitempty"`
	// Default owner for git remote.
	GitRemoteDefaultOwner *string `json:"git_remote_default_owner,omitempty"`
	// Default repository name for git remote.
	GitRemoteDefaultRepo *string `json:"git_remote_default_repo,omitempty"`
	// User email from git configuration.
	GitUserEmail *string `json:"git_user_email,omitempty"`
	// User's name from git configuration. (not GitHub username)
	GitUserName *string `json:"git_user_name,omitempty"`
	// Remote hostname.
	Hostname *string `json:"hostname,omitempty"`
	// Unique identifier of the target the same as `generate_gen_lock_id`
	ID string `json:"id"`
	// Timestamp when the event was created in the database.
	LastEventCreatedAt time.Time `json:"last_event_created_at"`
	// Unique identifier of the last event for the target
	LastEventID string `json:"last_event_id"`
	// Type of interaction.
	LastEventInteractionType InteractionType `json:"last_event_interaction_type"`
	// Timestamp when the last publishing event was created.
	LastPublishCreatedAt *time.Time `json:"last_publish_created_at,omitempty"`
	// Link to the GitHub action run for the last publishing event.
	LastPublishGhActionRunLink *string `json:"last_publish_gh_action_run_link,omitempty"`
	// Name of the published package.
	PublishPackageName *string `json:"publish_package_name,omitempty"`
	// Name of the registry where the package was published.
	PublishPackageRegistryName *string `json:"publish_package_registry_name,omitempty"`
	// URL of the published package.
	PublishPackageURL *string `json:"publish_package_url,omitempty"`
	// Version of the published package.
	PublishPackageVersion *string `json:"publish_package_version,omitempty"`
	// Label of the git repository.
	RepoLabel *string `json:"repo_label,omitempty"`
	// The blob digest of the source.
	SourceBlobDigest *string `json:"source_blob_digest,omitempty"`
	// The namespace name of the source.
	SourceNamespaceName *string `json:"source_namespace_name,omitempty"`
	// The revision digest of the source.
	SourceRevisionDigest *string `json:"source_revision_digest,omitempty"`
	// Indicates whether the event was successful.
	Success *bool `json:"success,omitempty"`
	// Workflow lock file (post execution)
	WorkflowLockPostRaw *string `json:"workflow_lock_post_raw,omitempty"`
	// Workflow lock file (prior to execution)
	WorkflowLockPreRaw *string `json:"workflow_lock_pre_raw,omitempty"`
	// Workflow file (post execution)
	WorkflowPostRaw *string `json:"workflow_post_raw,omitempty"`
	// Workflow file (prior to execution)
	WorkflowPreRaw *string `json:"workflow_pre_raw,omitempty"`
}

func (*TargetSDK) GetCommitHead added in v3.3.8

func (o *TargetSDK) GetCommitHead() *string

func (*TargetSDK) GetContinuousIntegrationEnvironment added in v3.3.13

func (o *TargetSDK) GetContinuousIntegrationEnvironment() *string

func (*TargetSDK) GetError added in v3.5.10

func (o *TargetSDK) GetError() *string

func (*TargetSDK) GetGenerateConfigPostVersion added in v3.3.8

func (o *TargetSDK) GetGenerateConfigPostVersion() *string

func (*TargetSDK) GetGenerateEligibleFeatures added in v3.7.1

func (o *TargetSDK) GetGenerateEligibleFeatures() *string

func (*TargetSDK) GetGenerateGenLockID added in v3.3.8

func (o *TargetSDK) GetGenerateGenLockID() string

func (*TargetSDK) GetGenerateGenLockPreFeatures added in v3.3.13

func (o *TargetSDK) GetGenerateGenLockPreFeatures() *string

func (*TargetSDK) GetGenerateGenLockPreVersion added in v3.3.13

func (o *TargetSDK) GetGenerateGenLockPreVersion() *string

func (*TargetSDK) GetGenerateNumberOfOperationsIgnored added in v3.7.1

func (o *TargetSDK) GetGenerateNumberOfOperationsIgnored() *int64

func (*TargetSDK) GetGenerateNumberOfOperationsUsed added in v3.7.1

func (o *TargetSDK) GetGenerateNumberOfOperationsUsed() *int64

func (*TargetSDK) GetGenerateNumberOfTerraformResources added in v3.14.11

func (o *TargetSDK) GetGenerateNumberOfTerraformResources() *int64

func (*TargetSDK) GetGeneratePublished added in v3.3.8

func (o *TargetSDK) GetGeneratePublished() *bool

func (*TargetSDK) GetGenerateTarget added in v3.3.8

func (o *TargetSDK) GetGenerateTarget() string

func (*TargetSDK) GetGenerateTargetName added in v3.3.10

func (o *TargetSDK) GetGenerateTargetName() *string

func (*TargetSDK) GetGenerateTargetVersion added in v3.3.8

func (o *TargetSDK) GetGenerateTargetVersion() *string

func (*TargetSDK) GetGhActionOrganization added in v3.3.9

func (o *TargetSDK) GetGhActionOrganization() *string

func (*TargetSDK) GetGhActionRef added in v3.7.1

func (o *TargetSDK) GetGhActionRef() *string

func (*TargetSDK) GetGhActionRepository added in v3.3.9

func (o *TargetSDK) GetGhActionRepository() *string
func (o *TargetSDK) GetGhActionRunLink() *string

func (*TargetSDK) GetGhActionVersion added in v3.3.9

func (o *TargetSDK) GetGhActionVersion() *string

func (*TargetSDK) GetGitRelativeCwd added in v3.3.8

func (o *TargetSDK) GetGitRelativeCwd() *string

func (*TargetSDK) GetGitRemoteDefaultOwner added in v3.3.8

func (o *TargetSDK) GetGitRemoteDefaultOwner() *string

func (*TargetSDK) GetGitRemoteDefaultRepo added in v3.3.8

func (o *TargetSDK) GetGitRemoteDefaultRepo() *string

func (*TargetSDK) GetGitUserEmail added in v3.3.9

func (o *TargetSDK) GetGitUserEmail() *string

func (*TargetSDK) GetGitUserName added in v3.3.9

func (o *TargetSDK) GetGitUserName() *string

func (*TargetSDK) GetHostname added in v3.3.9

func (o *TargetSDK) GetHostname() *string

func (*TargetSDK) GetID added in v3.3.8

func (o *TargetSDK) GetID() string

func (*TargetSDK) GetLastEventCreatedAt added in v3.3.9

func (o *TargetSDK) GetLastEventCreatedAt() time.Time

func (*TargetSDK) GetLastEventID added in v3.3.9

func (o *TargetSDK) GetLastEventID() string

func (*TargetSDK) GetLastEventInteractionType added in v3.4.0

func (o *TargetSDK) GetLastEventInteractionType() InteractionType

func (*TargetSDK) GetLastPublishCreatedAt added in v3.18.1

func (o *TargetSDK) GetLastPublishCreatedAt() *time.Time
func (o *TargetSDK) GetLastPublishGhActionRunLink() *string

func (*TargetSDK) GetPublishPackageName added in v3.14.0

func (o *TargetSDK) GetPublishPackageName() *string

func (*TargetSDK) GetPublishPackageRegistryName added in v3.14.0

func (o *TargetSDK) GetPublishPackageRegistryName() *string

func (*TargetSDK) GetPublishPackageURL added in v3.14.0

func (o *TargetSDK) GetPublishPackageURL() *string

func (*TargetSDK) GetPublishPackageVersion added in v3.14.0

func (o *TargetSDK) GetPublishPackageVersion() *string

func (*TargetSDK) GetRepoLabel added in v3.3.9

func (o *TargetSDK) GetRepoLabel() *string

func (*TargetSDK) GetSourceBlobDigest added in v3.5.8

func (o *TargetSDK) GetSourceBlobDigest() *string

func (*TargetSDK) GetSourceNamespaceName added in v3.5.8

func (o *TargetSDK) GetSourceNamespaceName() *string

func (*TargetSDK) GetSourceRevisionDigest added in v3.5.8

func (o *TargetSDK) GetSourceRevisionDigest() *string

func (*TargetSDK) GetSuccess added in v3.3.8

func (o *TargetSDK) GetSuccess() *bool

func (*TargetSDK) GetWorkflowLockPostRaw added in v3.15.6

func (o *TargetSDK) GetWorkflowLockPostRaw() *string

func (*TargetSDK) GetWorkflowLockPreRaw added in v3.15.6

func (o *TargetSDK) GetWorkflowLockPreRaw() *string

func (*TargetSDK) GetWorkflowPostRaw added in v3.8.9

func (o *TargetSDK) GetWorkflowPostRaw() *string

func (*TargetSDK) GetWorkflowPreRaw added in v3.8.9

func (o *TargetSDK) GetWorkflowPreRaw() *string

func (TargetSDK) MarshalJSON added in v3.3.8

func (t TargetSDK) MarshalJSON() ([]byte, error)

func (*TargetSDK) UnmarshalJSON added in v3.3.8

func (t *TargetSDK) UnmarshalJSON(data []byte) error

type Type added in v3.5.5

type Type string
const (
	TypeLinting Type = "linting"
	TypeChanges Type = "changes"
)

func (Type) ToPointer added in v3.5.5

func (e Type) ToPointer() *Type

func (*Type) UnmarshalJSON added in v3.5.5

func (e *Type) UnmarshalJSON(data []byte) error

type User added in v3.3.11

type User struct {
	// Indicates whether the user is an admin.
	Admin bool `json:"admin"`
	// Indicates whether the user has been confirmed.
	Confirmed bool `json:"confirmed"`
	// Timestamp of the user's creation.
	CreatedAt time.Time `json:"created_at"`
	// Identifier of the default workspace.
	DefaultWorkspaceID *string `json:"default_workspace_id,omitempty"`
	// Display name of the user.
	DisplayName string `json:"display_name"`
	// Email address of the user.
	Email string `json:"email"`
	// Indicates whether the email address has been verified.
	EmailVerified bool `json:"email_verified"`
	// GitHub handle of the user.
	GithubHandle *string `json:"github_handle,omitempty"`
	// Unique identifier for the user.
	ID string `json:"id"`
	// Indicates whether the user is internal.
	Internal *bool `json:"internal,omitempty"`
	// Timestamp of the last login.
	LastLoginAt *time.Time `json:"last_login_at,omitempty"`
	// URL of the user's photo.
	PhotoURL *string `json:"photo_url,omitempty"`
	// Timestamp of the user's last update.
	UpdatedAt time.Time `json:"updated_at"`
	// Indicates whether the user has been whitelisted.
	Whitelisted bool `json:"whitelisted"`
}

func (*User) GetAdmin added in v3.3.11

func (o *User) GetAdmin() bool

func (*User) GetConfirmed added in v3.4.6

func (o *User) GetConfirmed() bool

func (*User) GetCreatedAt added in v3.3.11

func (o *User) GetCreatedAt() time.Time

func (*User) GetDefaultWorkspaceID added in v3.4.6

func (o *User) GetDefaultWorkspaceID() *string

func (*User) GetDisplayName added in v3.3.11

func (o *User) GetDisplayName() string

func (*User) GetEmail added in v3.3.11

func (o *User) GetEmail() string

func (*User) GetEmailVerified added in v3.3.11

func (o *User) GetEmailVerified() bool

func (*User) GetGithubHandle added in v3.4.6

func (o *User) GetGithubHandle() *string

func (*User) GetID added in v3.3.11

func (o *User) GetID() string

func (*User) GetInternal added in v3.14.4

func (o *User) GetInternal() *bool

func (*User) GetLastLoginAt added in v3.4.6

func (o *User) GetLastLoginAt() *time.Time

func (*User) GetPhotoURL added in v3.4.6

func (o *User) GetPhotoURL() *string

func (*User) GetUpdatedAt added in v3.4.6

func (o *User) GetUpdatedAt() time.Time

func (*User) GetWhitelisted added in v3.4.6

func (o *User) GetWhitelisted() bool

func (User) MarshalJSON added in v3.3.11

func (u User) MarshalJSON() ([]byte, error)

func (*User) UnmarshalJSON added in v3.3.11

func (u *User) UnmarshalJSON(data []byte) error

type V2Descriptor added in v3.5.4

type V2Descriptor struct {
	// Annotations
	Annotations *Annotations `json:"annotations,omitempty"`
	// Digest
	Digest *string `json:"digest,omitempty"`
	// Media type
	MediaType *string `json:"mediaType,omitempty"`
	// Size
	Size *int64 `json:"size,omitempty"`
}

V2Descriptor - V2 descriptor

func (*V2Descriptor) GetAnnotations added in v3.5.4

func (o *V2Descriptor) GetAnnotations() *Annotations

func (*V2Descriptor) GetDigest added in v3.5.4

func (o *V2Descriptor) GetDigest() *string

func (*V2Descriptor) GetMediaType added in v3.5.4

func (o *V2Descriptor) GetMediaType() *string

func (*V2Descriptor) GetSize added in v3.5.4

func (o *V2Descriptor) GetSize() *int64

type WorkflowDocument added in v3.8.9

type WorkflowDocument struct {
	Auth     *Auth  `json:"auth,omitempty"`
	Location string `json:"location"`
}

WorkflowDocument - A document referenced by a workflow

func (*WorkflowDocument) GetAuth added in v3.8.9

func (o *WorkflowDocument) GetAuth() *Auth

func (*WorkflowDocument) GetLocation added in v3.8.9

func (o *WorkflowDocument) GetLocation() string

type Workspace added in v3.10.1

type Workspace struct {
	CreatedAt      time.Time `json:"created_at"`
	ID             string    `json:"id"`
	Inactive       *bool     `json:"inactive,omitempty"`
	Name           string    `json:"name"`
	OrganizationID string    `json:"organization_id"`
	Slug           string    `json:"slug"`
	// Deprecated. Use organization.telemetry_disabled instead.
	//
	// Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
	TelemetryDisabled *bool     `json:"telemetry_disabled,omitempty"`
	UpdatedAt         time.Time `json:"updated_at"`
	Verified          bool      `json:"verified"`
}

Workspace - A speakeasy workspace

func (*Workspace) GetCreatedAt added in v3.10.1

func (o *Workspace) GetCreatedAt() time.Time

func (*Workspace) GetID added in v3.10.1

func (o *Workspace) GetID() string

func (*Workspace) GetInactive added in v3.14.6

func (o *Workspace) GetInactive() *bool

func (*Workspace) GetName added in v3.10.1

func (o *Workspace) GetName() string

func (*Workspace) GetOrganizationID added in v3.10.1

func (o *Workspace) GetOrganizationID() string

func (*Workspace) GetSlug added in v3.10.1

func (o *Workspace) GetSlug() string

func (*Workspace) GetTelemetryDisabled added in v3.10.1

func (o *Workspace) GetTelemetryDisabled() *bool

func (*Workspace) GetUpdatedAt added in v3.10.1

func (o *Workspace) GetUpdatedAt() time.Time

func (*Workspace) GetVerified added in v3.10.1

func (o *Workspace) GetVerified() bool

func (Workspace) MarshalJSON added in v3.10.1

func (w Workspace) MarshalJSON() ([]byte, error)

func (*Workspace) UnmarshalJSON added in v3.10.1

func (w *Workspace) UnmarshalJSON(data []byte) error

type WorkspaceAndOrganization added in v3.14.0

type WorkspaceAndOrganization struct {
	// A speakeasy organization
	Organization Organization `json:"organization"`
	// A speakeasy workspace
	Workspace Workspace `json:"workspace"`
}

WorkspaceAndOrganization - A workspace and organization

func (*WorkspaceAndOrganization) GetOrganization added in v3.14.0

func (o *WorkspaceAndOrganization) GetOrganization() Organization

func (*WorkspaceAndOrganization) GetWorkspace added in v3.14.0

func (o *WorkspaceAndOrganization) GetWorkspace() Workspace

type WorkspaceFeatureFlagResponse added in v3.13.1

type WorkspaceFeatureFlagResponse struct {
	FeatureFlags []FeatureFlag `json:"feature_flags,omitempty"`
}

WorkspaceFeatureFlagResponse - Workspace feature flag response

func (*WorkspaceFeatureFlagResponse) GetFeatureFlags added in v3.13.1

func (o *WorkspaceFeatureFlagResponse) GetFeatureFlags() []FeatureFlag

type WorkspaceInviteResponse added in v3.14.0

type WorkspaceInviteResponse struct {
	InviteLink   *string      `json:"invite_link,omitempty"`
	Relationship Relationship `json:"relationship"`
}

WorkspaceInviteResponse - A response for workspace user invite

func (o *WorkspaceInviteResponse) GetInviteLink() *string

func (*WorkspaceInviteResponse) GetRelationship added in v3.14.0

func (o *WorkspaceInviteResponse) GetRelationship() Relationship

type WorkspaceSettings added in v3.14.0

type WorkspaceSettings struct {
	CreatedAt   time.Time `json:"created_at"`
	UpdatedAt   time.Time `json:"updated_at"`
	WebhookURL  string    `json:"webhook_url"`
	WorkspaceID string    `json:"workspace_id"`
}

func (*WorkspaceSettings) GetCreatedAt added in v3.14.7

func (o *WorkspaceSettings) GetCreatedAt() time.Time

func (*WorkspaceSettings) GetUpdatedAt added in v3.14.7

func (o *WorkspaceSettings) GetUpdatedAt() time.Time

func (*WorkspaceSettings) GetWebhookURL added in v3.14.0

func (o *WorkspaceSettings) GetWebhookURL() string

func (*WorkspaceSettings) GetWorkspaceID added in v3.14.0

func (o *WorkspaceSettings) GetWorkspaceID() string

func (WorkspaceSettings) MarshalJSON added in v3.14.7

func (w WorkspaceSettings) MarshalJSON() ([]byte, error)

func (*WorkspaceSettings) UnmarshalJSON added in v3.14.7

func (w *WorkspaceSettings) UnmarshalJSON(data []byte) error

type WorkspaceTeamResponse added in v3.14.0

type WorkspaceTeamResponse struct {
	// SSO metadata for a workspace
	SsoMetadata *SSOMetadata `json:"sso_metadata,omitempty"`
	Users       []User       `json:"users"`
}

WorkspaceTeamResponse - Workspace team response

func (*WorkspaceTeamResponse) GetSsoMetadata added in v3.14.0

func (o *WorkspaceTeamResponse) GetSsoMetadata() *SSOMetadata

func (*WorkspaceTeamResponse) GetUsers added in v3.14.0

func (o *WorkspaceTeamResponse) GetUsers() []User

type WorkspaceToken added in v3.14.0

type WorkspaceToken struct {
	Alg         string     `json:"alg"`
	CreatedAt   time.Time  `json:"created_at"`
	CreatedBy   *string    `json:"created_by,omitempty"`
	Email       *string    `json:"email,omitempty"`
	ID          string     `json:"id"`
	Key         string     `json:"key"`
	LastUsed    *time.Time `json:"last_used,omitempty"`
	Name        string     `json:"name"`
	WorkspaceID string     `json:"workspace_id"`
}

WorkspaceToken - A workspace token

func (*WorkspaceToken) GetAlg added in v3.14.0

func (o *WorkspaceToken) GetAlg() string

func (*WorkspaceToken) GetCreatedAt added in v3.14.0

func (o *WorkspaceToken) GetCreatedAt() time.Time

func (*WorkspaceToken) GetCreatedBy added in v3.14.0

func (o *WorkspaceToken) GetCreatedBy() *string

func (*WorkspaceToken) GetEmail added in v3.14.0

func (o *WorkspaceToken) GetEmail() *string

func (*WorkspaceToken) GetID added in v3.14.0

func (o *WorkspaceToken) GetID() string

func (*WorkspaceToken) GetKey added in v3.14.0

func (o *WorkspaceToken) GetKey() string

func (*WorkspaceToken) GetLastUsed added in v3.14.0

func (o *WorkspaceToken) GetLastUsed() *time.Time

func (*WorkspaceToken) GetName added in v3.14.0

func (o *WorkspaceToken) GetName() string

func (*WorkspaceToken) GetWorkspaceID added in v3.14.0

func (o *WorkspaceToken) GetWorkspaceID() string

func (WorkspaceToken) MarshalJSON added in v3.14.7

func (w WorkspaceToken) MarshalJSON() ([]byte, error)

func (*WorkspaceToken) UnmarshalJSON added in v3.14.7

func (w *WorkspaceToken) UnmarshalJSON(data []byte) error

type Workspaces added in v3.3.11

type Workspaces struct {
	AccountType *AccountType `json:"account_type,omitempty"`
	ID          *string      `json:"id,omitempty"`
	Name        *string      `json:"name,omitempty"`
	UpdatedAt   *time.Time   `json:"updated_at,omitempty"`
}

func (*Workspaces) GetAccountType added in v3.5.5

func (o *Workspaces) GetAccountType() *AccountType

func (*Workspaces) GetID added in v3.5.5

func (o *Workspaces) GetID() *string

func (*Workspaces) GetName added in v3.5.5

func (o *Workspaces) GetName() *string

func (*Workspaces) GetUpdatedAt added in v3.5.5

func (o *Workspaces) GetUpdatedAt() *time.Time

func (Workspaces) MarshalJSON added in v3.5.5

func (w Workspaces) MarshalJSON() ([]byte, error)

func (*Workspaces) UnmarshalJSON added in v3.5.5

func (w *Workspaces) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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