client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 20 Imported by: 0

README

Go API client for client

This is the BuildBeaver Dynamic Build API.

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.

  • API version: 0.3.00
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import client "github.com/GIT_USER_ID/GIT_REPO_ID/client"

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(), client.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(), client.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(), client.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), client.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost:3003/api/v1/dynamic

Class Method HTTP request Description
BuildApi GetArtifact Get /artifacts/{artifactId} Reads information about an artifact.
BuildApi GetArtifactData Get /artifacts/{artifactId}/data Reads the data for an artifact.
BuildApi GetBuild Get /builds/{buildId} Reads the current build graph for a build.
BuildApi GetJob Get /jobs/{jobId} Reads information about a job.
BuildApi GetJobGraph Get /jobs/{jobId}/graph Reads information about a job's graph.
BuildApi GetLogData Get /logs/{logDescriptorId}/data Reads part of a log.
BuildApi GetLogDescriptor Get /logs/{logDescriptorId} Fetches a Log Descriptor containing information about part of a log.
BuildApi ListArtifacts Get /builds/{buildId}/artifacts Reads information about all or some artifacts from a build.
BuildApi Ping Get /ping Checks for connectivity to the Dynamic API.
EventsApi GetEvents Get /builds/{buildId}/events Reads events relating to a build.
JobsApi CreateJobs Post /builds/{buildId}/jobs Creates and add a set of jobs to a build.

Documentation For Models

Documentation For Authorization

jwt_build_token
  • 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.

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

Documentation

Index

Constants

This section is empty.

Variables

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

	// 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 IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

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 {
	BuildApi *BuildApiService

	EventsApi *EventsApiService

	JobsApi *JobsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the BuildBeaver Dynamic Build API - OpenAPI 3.0 API v0.3.00 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 ApiCreateJobsRequest

type ApiCreateJobsRequest struct {
	ApiService *JobsApiService
	// contains filtered or unexported fields
}

func (ApiCreateJobsRequest) BuildDefinition

func (r ApiCreateJobsRequest) BuildDefinition(buildDefinition BuildDefinition) ApiCreateJobsRequest

Definitions for a set of jobs to create and add to a build

func (ApiCreateJobsRequest) Execute

func (r ApiCreateJobsRequest) Execute() ([]JobGraph, *http.Response, error)

type ApiGetArtifactDataRequest

type ApiGetArtifactDataRequest struct {
	ApiService *BuildApiService
	// contains filtered or unexported fields
}

func (ApiGetArtifactDataRequest) Execute

func (r ApiGetArtifactDataRequest) Execute() (*os.File, *http.Response, error)

type ApiGetArtifactRequest

type ApiGetArtifactRequest struct {
	ApiService *BuildApiService
	// contains filtered or unexported fields
}

func (ApiGetArtifactRequest) Execute

func (r ApiGetArtifactRequest) Execute() (*Artifact, *http.Response, error)

type ApiGetBuildRequest

type ApiGetBuildRequest struct {
	ApiService *BuildApiService
	// contains filtered or unexported fields
}

func (ApiGetBuildRequest) Execute

func (r ApiGetBuildRequest) Execute() (*BuildGraph, *http.Response, error)

type ApiGetEventsRequest

type ApiGetEventsRequest struct {
	ApiService *EventsApiService
	// contains filtered or unexported fields
}

func (ApiGetEventsRequest) Execute

func (r ApiGetEventsRequest) Execute() ([]Event, *http.Response, error)

func (ApiGetEventsRequest) Last

The sequence number of the last event previously received; only events with higher sequence numbers than this will be returned.

func (ApiGetEventsRequest) Limit

The maximum number of events to return

type ApiGetJobGraphRequest

type ApiGetJobGraphRequest struct {
	ApiService *BuildApiService
	// contains filtered or unexported fields
}

func (ApiGetJobGraphRequest) Execute

func (r ApiGetJobGraphRequest) Execute() (*JobGraph, *http.Response, error)

type ApiGetJobRequest

type ApiGetJobRequest struct {
	ApiService *BuildApiService
	// contains filtered or unexported fields
}

func (ApiGetJobRequest) Execute

func (r ApiGetJobRequest) Execute() (*Job, *http.Response, error)

type ApiGetLogDataRequest

type ApiGetLogDataRequest struct {
	ApiService *BuildApiService
	// contains filtered or unexported fields
}

func (ApiGetLogDataRequest) Execute

func (r ApiGetLogDataRequest) Execute() (*os.File, *http.Response, error)

func (ApiGetLogDataRequest) Expand

True to expand nested log blocks in the returned data, or false to only include a summary. Note that expand and start cannot both be specified.

func (ApiGetLogDataRequest) Plaintext

func (r ApiGetLogDataRequest) Plaintext(plaintext bool) ApiGetLogDataRequest

True if the log data should be streamed as plain text, or false to stream a series of log entries as JSON.

func (ApiGetLogDataRequest) Start

If provided, only log entries with sequence numbers greater than or equal to start will be returned. Note that expand and start cannot both be specified.

type ApiGetLogDescriptorRequest

type ApiGetLogDescriptorRequest struct {
	ApiService *BuildApiService
	// contains filtered or unexported fields
}

func (ApiGetLogDescriptorRequest) Execute

type ApiListArtifactsRequest

type ApiListArtifactsRequest struct {
	ApiService *BuildApiService
	// contains filtered or unexported fields
}

func (ApiListArtifactsRequest) Cursor

An opaque value obtained from a prior results page that can be used to request the next or previous page of results. If not specified then the first page of results will be returned.

func (ApiListArtifactsRequest) Execute

func (ApiListArtifactsRequest) GroupName

If provided, only artifacts associated with this artifact group name will be returned. This name much match the name provided in the build definition.

func (ApiListArtifactsRequest) JobName

If provided, only artifacts produced by this job will be returned.

func (ApiListArtifactsRequest) Limit

The maximum number of results to return from this call. Additional results will be available in other pages via the returned cursor values.

func (ApiListArtifactsRequest) Workflow

If provided, only artifacts produced by this workflow will be returned.

type ApiPingRequest

type ApiPingRequest struct {
	ApiService *BuildApiService
	// contains filtered or unexported fields
}

func (ApiPingRequest) Execute

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

type Artifact

type Artifact struct {
	// A link to the Artifact on the BuildBeaver server
	Url       string    `json:"url"`
	Id        string    `json:"id"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	Etag      string    `json:"etag"`
	// Name of the artifact.
	Name string `json:"name"`
	// The ID of the step (within a job) that created this artifact.
	StepId string `json:"step_id"`
	// The name associated with the one or more artifacts identified by an ArtifactDefinition in the build config.
	GroupName string `json:"group_name"`
	// The filesystem path that the artifact was found at, relative to the job workspace.
	Path string `json:"path"`
	// tThe type of hashing algorithm used to hash the data.
	HashType string `json:"hash_type"`
	// The hex-encoded hash of the artifact data. This This may be set later if the hash is not known yet.
	Hash string `json:"hash"`
	// Size of the artifact file in bytes.
	Size int32 `json:"size"`
	// Mime type of the artifact, or empty if not known.
	Mime string `json:"mime"`
	// Sealed is true once the data for the artifact has successfully been uploaded and the file contents are now locked. Until Sealed is true various pieces of metadata such as the file size and hash etc. will be unset. Note that if sealed is false it doesn't necessarily mean no data has been uploaded to the blob store yet, and so we must still verify that the backing data is deleted before garbage collecting unsealed artifact files.
	Sealed bool `json:"sealed"`
	// URL to use for fetching the bytes of data making up the artifact.
	DataUrl              string `json:"data_url"`
	AdditionalProperties map[string]interface{}
}

Artifact struct for Artifact

func NewArtifact

func NewArtifact(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, stepId string, groupName string, path string, hashType string, hash string, size int32, mime string, sealed bool, dataUrl string) *Artifact

NewArtifact instantiates a new Artifact 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 NewArtifactWithDefaults

func NewArtifactWithDefaults() *Artifact

NewArtifactWithDefaults instantiates a new Artifact 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 (*Artifact) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Artifact) GetCreatedAtOk

func (o *Artifact) GetCreatedAtOk() (*time.Time, bool)

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

func (*Artifact) GetDataUrl

func (o *Artifact) GetDataUrl() string

GetDataUrl returns the DataUrl field value

func (*Artifact) GetDataUrlOk

func (o *Artifact) GetDataUrlOk() (*string, bool)

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

func (*Artifact) GetEtag

func (o *Artifact) GetEtag() string

GetEtag returns the Etag field value

func (*Artifact) GetEtagOk

func (o *Artifact) GetEtagOk() (*string, bool)

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

func (*Artifact) GetGroupName

func (o *Artifact) GetGroupName() string

GetGroupName returns the GroupName field value

func (*Artifact) GetGroupNameOk

func (o *Artifact) GetGroupNameOk() (*string, bool)

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

func (*Artifact) GetHash

func (o *Artifact) GetHash() string

GetHash returns the Hash field value

func (*Artifact) GetHashOk

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

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

func (*Artifact) GetHashType

func (o *Artifact) GetHashType() string

GetHashType returns the HashType field value

func (*Artifact) GetHashTypeOk

func (o *Artifact) GetHashTypeOk() (*string, bool)

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

func (*Artifact) GetId

func (o *Artifact) GetId() string

GetId returns the Id field value

func (*Artifact) GetIdOk

func (o *Artifact) GetIdOk() (*string, bool)

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

func (*Artifact) GetMime

func (o *Artifact) GetMime() string

GetMime returns the Mime field value

func (*Artifact) GetMimeOk

func (o *Artifact) GetMimeOk() (*string, bool)

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

func (*Artifact) GetName

func (o *Artifact) GetName() string

GetName returns the Name field value

func (*Artifact) GetNameOk

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

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

func (*Artifact) GetPath

func (o *Artifact) GetPath() string

GetPath returns the Path field value

func (*Artifact) GetPathOk

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

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

func (*Artifact) GetSealed

func (o *Artifact) GetSealed() bool

GetSealed returns the Sealed field value

func (*Artifact) GetSealedOk

func (o *Artifact) GetSealedOk() (*bool, bool)

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

func (*Artifact) GetSize

func (o *Artifact) GetSize() int32

GetSize returns the Size field value

func (*Artifact) GetSizeOk

func (o *Artifact) GetSizeOk() (*int32, bool)

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

func (*Artifact) GetStepId

func (o *Artifact) GetStepId() string

GetStepId returns the StepId field value

func (*Artifact) GetStepIdOk

func (o *Artifact) GetStepIdOk() (*string, bool)

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

func (*Artifact) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*Artifact) GetUpdatedAtOk

func (o *Artifact) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Artifact) GetUrl

func (o *Artifact) GetUrl() string

GetUrl returns the Url field value

func (*Artifact) GetUrlOk

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

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

func (Artifact) MarshalJSON

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

func (*Artifact) SetCreatedAt

func (o *Artifact) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Artifact) SetDataUrl

func (o *Artifact) SetDataUrl(v string)

SetDataUrl sets field value

func (*Artifact) SetEtag

func (o *Artifact) SetEtag(v string)

SetEtag sets field value

func (*Artifact) SetGroupName

func (o *Artifact) SetGroupName(v string)

SetGroupName sets field value

func (*Artifact) SetHash

func (o *Artifact) SetHash(v string)

SetHash sets field value

func (*Artifact) SetHashType

func (o *Artifact) SetHashType(v string)

SetHashType sets field value

func (*Artifact) SetId

func (o *Artifact) SetId(v string)

SetId sets field value

func (*Artifact) SetMime

func (o *Artifact) SetMime(v string)

SetMime sets field value

func (*Artifact) SetName

func (o *Artifact) SetName(v string)

SetName sets field value

func (*Artifact) SetPath

func (o *Artifact) SetPath(v string)

SetPath sets field value

func (*Artifact) SetSealed

func (o *Artifact) SetSealed(v bool)

SetSealed sets field value

func (*Artifact) SetSize

func (o *Artifact) SetSize(v int32)

SetSize sets field value

func (*Artifact) SetStepId

func (o *Artifact) SetStepId(v string)

SetStepId sets field value

func (*Artifact) SetUpdatedAt

func (o *Artifact) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*Artifact) SetUrl

func (o *Artifact) SetUrl(v string)

SetUrl sets field value

func (Artifact) ToMap

func (o Artifact) ToMap() (map[string]interface{}, error)

func (*Artifact) UnmarshalJSON

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

type ArtifactDefinition

type ArtifactDefinition struct {
	// Uniquely identifies the group of artifacts specified in paths
	Name string `json:"name"`
	// One or more relative paths to artifacts that should be uploaded at the end of the build; these paths will be globbed, so that each path may identify one or more actual files
	Paths                []string `json:"paths"`
	AdditionalProperties map[string]interface{}
}

ArtifactDefinition struct for ArtifactDefinition

func NewArtifactDefinition

func NewArtifactDefinition(name string, paths []string) *ArtifactDefinition

NewArtifactDefinition instantiates a new ArtifactDefinition 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 NewArtifactDefinitionWithDefaults

func NewArtifactDefinitionWithDefaults() *ArtifactDefinition

NewArtifactDefinitionWithDefaults instantiates a new ArtifactDefinition 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 (*ArtifactDefinition) GetName

func (o *ArtifactDefinition) GetName() string

GetName returns the Name field value

func (*ArtifactDefinition) GetNameOk

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

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

func (*ArtifactDefinition) GetPaths

func (o *ArtifactDefinition) GetPaths() []string

GetPaths returns the Paths field value

func (*ArtifactDefinition) GetPathsOk

func (o *ArtifactDefinition) GetPathsOk() ([]string, bool)

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

func (ArtifactDefinition) MarshalJSON

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

func (*ArtifactDefinition) SetName

func (o *ArtifactDefinition) SetName(v string)

SetName sets field value

func (*ArtifactDefinition) SetPaths

func (o *ArtifactDefinition) SetPaths(v []string)

SetPaths sets field value

func (ArtifactDefinition) ToMap

func (o ArtifactDefinition) ToMap() (map[string]interface{}, error)

func (*ArtifactDefinition) UnmarshalJSON

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

type ArtifactDependency

type ArtifactDependency struct {
	// The name of the workflow containing the job that will produce the artifact(s), or an empty string for the default workflow.
	Workflow string `json:"workflow"`
	// The name of the job that that will produce the artifact(s).
	JobName string `json:"job_name"`
	// The name of the group of artifacts.
	GroupName            string `json:"group_name"`
	AdditionalProperties map[string]interface{}
}

ArtifactDependency struct for ArtifactDependency

func NewArtifactDependency

func NewArtifactDependency(workflow string, jobName string, groupName string) *ArtifactDependency

NewArtifactDependency instantiates a new ArtifactDependency 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 NewArtifactDependencyWithDefaults

func NewArtifactDependencyWithDefaults() *ArtifactDependency

NewArtifactDependencyWithDefaults instantiates a new ArtifactDependency 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 (*ArtifactDependency) GetGroupName

func (o *ArtifactDependency) GetGroupName() string

GetGroupName returns the GroupName field value

func (*ArtifactDependency) GetGroupNameOk

func (o *ArtifactDependency) GetGroupNameOk() (*string, bool)

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

func (*ArtifactDependency) GetJobName

func (o *ArtifactDependency) GetJobName() string

GetJobName returns the JobName field value

func (*ArtifactDependency) GetJobNameOk

func (o *ArtifactDependency) GetJobNameOk() (*string, bool)

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

func (*ArtifactDependency) GetWorkflow

func (o *ArtifactDependency) GetWorkflow() string

GetWorkflow returns the Workflow field value

func (*ArtifactDependency) GetWorkflowOk

func (o *ArtifactDependency) GetWorkflowOk() (*string, bool)

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

func (ArtifactDependency) MarshalJSON

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

func (*ArtifactDependency) SetGroupName

func (o *ArtifactDependency) SetGroupName(v string)

SetGroupName sets field value

func (*ArtifactDependency) SetJobName

func (o *ArtifactDependency) SetJobName(v string)

SetJobName sets field value

func (*ArtifactDependency) SetWorkflow

func (o *ArtifactDependency) SetWorkflow(v string)

SetWorkflow sets field value

func (ArtifactDependency) ToMap

func (o ArtifactDependency) ToMap() (map[string]interface{}, error)

func (*ArtifactDependency) UnmarshalJSON

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

type ArtifactsPaginatedResponse

type ArtifactsPaginatedResponse struct {
	// The type of objects contained in the results, in this case 'artifact'
	Kind    string     `json:"kind"`
	Results []Artifact `json:"results"`
	// A URL to fetch to obtain the previous page of results before this one.
	PrevUrl *string `json:"prev_url,omitempty"`
	// A cursor that can be used as a query parameter to obtain the previous page of results before this one.
	PrevCursor *string `json:"prev_cursor,omitempty"`
	// A URL to fetch to obtain the next page of results after this one.
	NextUrl *string `json:"next_url,omitempty"`
	// A cursor that can be used as a query parameter to obtain the next page of results after this one.
	NextCursor           *string `json:"next_cursor,omitempty"`
	AdditionalProperties map[string]interface{}
}

ArtifactsPaginatedResponse struct for ArtifactsPaginatedResponse

func NewArtifactsPaginatedResponse

func NewArtifactsPaginatedResponse(kind string, results []Artifact) *ArtifactsPaginatedResponse

NewArtifactsPaginatedResponse instantiates a new ArtifactsPaginatedResponse 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 NewArtifactsPaginatedResponseWithDefaults

func NewArtifactsPaginatedResponseWithDefaults() *ArtifactsPaginatedResponse

NewArtifactsPaginatedResponseWithDefaults instantiates a new ArtifactsPaginatedResponse 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 (*ArtifactsPaginatedResponse) GetKind

func (o *ArtifactsPaginatedResponse) GetKind() string

GetKind returns the Kind field value

func (*ArtifactsPaginatedResponse) GetKindOk

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

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

func (*ArtifactsPaginatedResponse) GetNextCursor

func (o *ArtifactsPaginatedResponse) GetNextCursor() string

GetNextCursor returns the NextCursor field value if set, zero value otherwise.

func (*ArtifactsPaginatedResponse) GetNextCursorOk

func (o *ArtifactsPaginatedResponse) GetNextCursorOk() (*string, bool)

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

func (*ArtifactsPaginatedResponse) GetNextUrl

func (o *ArtifactsPaginatedResponse) GetNextUrl() string

GetNextUrl returns the NextUrl field value if set, zero value otherwise.

func (*ArtifactsPaginatedResponse) GetNextUrlOk

func (o *ArtifactsPaginatedResponse) GetNextUrlOk() (*string, bool)

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

func (*ArtifactsPaginatedResponse) GetPrevCursor

func (o *ArtifactsPaginatedResponse) GetPrevCursor() string

GetPrevCursor returns the PrevCursor field value if set, zero value otherwise.

func (*ArtifactsPaginatedResponse) GetPrevCursorOk

func (o *ArtifactsPaginatedResponse) GetPrevCursorOk() (*string, bool)

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

func (*ArtifactsPaginatedResponse) GetPrevUrl

func (o *ArtifactsPaginatedResponse) GetPrevUrl() string

GetPrevUrl returns the PrevUrl field value if set, zero value otherwise.

func (*ArtifactsPaginatedResponse) GetPrevUrlOk

func (o *ArtifactsPaginatedResponse) GetPrevUrlOk() (*string, bool)

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

func (*ArtifactsPaginatedResponse) GetResults

func (o *ArtifactsPaginatedResponse) GetResults() []Artifact

GetResults returns the Results field value

func (*ArtifactsPaginatedResponse) GetResultsOk

func (o *ArtifactsPaginatedResponse) GetResultsOk() ([]Artifact, bool)

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

func (*ArtifactsPaginatedResponse) HasNextCursor

func (o *ArtifactsPaginatedResponse) HasNextCursor() bool

HasNextCursor returns a boolean if a field has been set.

func (*ArtifactsPaginatedResponse) HasNextUrl

func (o *ArtifactsPaginatedResponse) HasNextUrl() bool

HasNextUrl returns a boolean if a field has been set.

func (*ArtifactsPaginatedResponse) HasPrevCursor

func (o *ArtifactsPaginatedResponse) HasPrevCursor() bool

HasPrevCursor returns a boolean if a field has been set.

func (*ArtifactsPaginatedResponse) HasPrevUrl

func (o *ArtifactsPaginatedResponse) HasPrevUrl() bool

HasPrevUrl returns a boolean if a field has been set.

func (ArtifactsPaginatedResponse) MarshalJSON

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

func (*ArtifactsPaginatedResponse) SetKind

func (o *ArtifactsPaginatedResponse) SetKind(v string)

SetKind sets field value

func (*ArtifactsPaginatedResponse) SetNextCursor

func (o *ArtifactsPaginatedResponse) SetNextCursor(v string)

SetNextCursor gets a reference to the given string and assigns it to the NextCursor field.

func (*ArtifactsPaginatedResponse) SetNextUrl

func (o *ArtifactsPaginatedResponse) SetNextUrl(v string)

SetNextUrl gets a reference to the given string and assigns it to the NextUrl field.

func (*ArtifactsPaginatedResponse) SetPrevCursor

func (o *ArtifactsPaginatedResponse) SetPrevCursor(v string)

SetPrevCursor gets a reference to the given string and assigns it to the PrevCursor field.

func (*ArtifactsPaginatedResponse) SetPrevUrl

func (o *ArtifactsPaginatedResponse) SetPrevUrl(v string)

SetPrevUrl gets a reference to the given string and assigns it to the PrevUrl field.

func (*ArtifactsPaginatedResponse) SetResults

func (o *ArtifactsPaginatedResponse) SetResults(v []Artifact)

SetResults sets field value

func (ArtifactsPaginatedResponse) ToMap

func (o ArtifactsPaginatedResponse) ToMap() (map[string]interface{}, error)

func (*ArtifactsPaginatedResponse) UnmarshalJSON

func (o *ArtifactsPaginatedResponse) 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 Build

type Build struct {
	// A link to the Build resource on the BuildBeaver server
	Url       string     `json:"url"`
	Id        string     `json:"id"`
	CreatedAt time.Time  `json:"created_at"`
	UpdatedAt time.Time  `json:"updated_at"`
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	Etag      string     `json:"etag"`
	// Name of the build, in URL format. Build names are typically numbers converted to strings.
	Name string `json:"name"`
	// RepoID of the repo being built.
	RepoId string `json:"repo_id"`
	// CommitID that is being built.
	CommitId string `json:"commit_id"`
	// LogDescriptorID for the log for this build.
	LogDescriptorId string `json:"log_descriptor_id"`
	// Ref is the git ref the build is for (e.g. branch or tag).
	Ref string `json:"ref"`
	// Status reflects where the build is in the queue.
	Status  string          `json:"status"`
	Timings WorkflowTimings `json:"timings"`
	// Error is set if the build finished with an error (or nil if the build succeeded).
	Error *string      `json:"error,omitempty"`
	Opts  BuildOptions `json:"opts"`
	// URL of the log for this build.
	LogDescriptorUrl string `json:"log_descriptor_url"`
	// URL to use for searching for artifacts from this build.
	ArtifactSearchUrl    string `json:"artifact_search_url"`
	AdditionalProperties map[string]interface{}
}

Build struct for Build

func NewBuild

func NewBuild(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, repoId string, commitId string, logDescriptorId string, ref string, status string, timings WorkflowTimings, opts BuildOptions, logDescriptorUrl string, artifactSearchUrl string) *Build

NewBuild instantiates a new Build 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 NewBuildWithDefaults

func NewBuildWithDefaults() *Build

NewBuildWithDefaults instantiates a new Build 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 (*Build) GetArtifactSearchUrl

func (o *Build) GetArtifactSearchUrl() string

GetArtifactSearchUrl returns the ArtifactSearchUrl field value

func (*Build) GetArtifactSearchUrlOk

func (o *Build) GetArtifactSearchUrlOk() (*string, bool)

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

func (*Build) GetCommitId

func (o *Build) GetCommitId() string

GetCommitId returns the CommitId field value

func (*Build) GetCommitIdOk

func (o *Build) GetCommitIdOk() (*string, bool)

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

func (*Build) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Build) GetCreatedAtOk

func (o *Build) GetCreatedAtOk() (*time.Time, bool)

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

func (*Build) GetDeletedAt

func (o *Build) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*Build) GetDeletedAtOk

func (o *Build) GetDeletedAtOk() (*time.Time, bool)

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

func (*Build) GetError

func (o *Build) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Build) GetErrorOk

func (o *Build) GetErrorOk() (*string, 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 (*Build) GetEtag

func (o *Build) GetEtag() string

GetEtag returns the Etag field value

func (*Build) GetEtagOk

func (o *Build) GetEtagOk() (*string, bool)

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

func (*Build) GetId

func (o *Build) GetId() string

GetId returns the Id field value

func (*Build) GetIdOk

func (o *Build) GetIdOk() (*string, bool)

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

func (*Build) GetLogDescriptorId

func (o *Build) GetLogDescriptorId() string

GetLogDescriptorId returns the LogDescriptorId field value

func (*Build) GetLogDescriptorIdOk

func (o *Build) GetLogDescriptorIdOk() (*string, bool)

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

func (*Build) GetLogDescriptorUrl

func (o *Build) GetLogDescriptorUrl() string

GetLogDescriptorUrl returns the LogDescriptorUrl field value

func (*Build) GetLogDescriptorUrlOk

func (o *Build) GetLogDescriptorUrlOk() (*string, bool)

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

func (*Build) GetName

func (o *Build) GetName() string

GetName returns the Name field value

func (*Build) GetNameOk

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

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

func (*Build) GetOpts

func (o *Build) GetOpts() BuildOptions

GetOpts returns the Opts field value

func (*Build) GetOptsOk

func (o *Build) GetOptsOk() (*BuildOptions, bool)

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

func (*Build) GetRef

func (o *Build) GetRef() string

GetRef returns the Ref field value

func (*Build) GetRefOk

func (o *Build) GetRefOk() (*string, bool)

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

func (*Build) GetRepoId

func (o *Build) GetRepoId() string

GetRepoId returns the RepoId field value

func (*Build) GetRepoIdOk

func (o *Build) GetRepoIdOk() (*string, bool)

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

func (*Build) GetStatus

func (o *Build) GetStatus() string

GetStatus returns the Status field value

func (*Build) GetStatusOk

func (o *Build) GetStatusOk() (*string, bool)

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

func (*Build) GetTimings

func (o *Build) GetTimings() WorkflowTimings

GetTimings returns the Timings field value

func (*Build) GetTimingsOk

func (o *Build) GetTimingsOk() (*WorkflowTimings, bool)

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

func (*Build) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*Build) GetUpdatedAtOk

func (o *Build) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Build) GetUrl

func (o *Build) GetUrl() string

GetUrl returns the Url field value

func (*Build) GetUrlOk

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

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

func (*Build) HasDeletedAt

func (o *Build) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*Build) HasError

func (o *Build) HasError() bool

HasError returns a boolean if a field has been set.

func (Build) MarshalJSON

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

func (*Build) SetArtifactSearchUrl

func (o *Build) SetArtifactSearchUrl(v string)

SetArtifactSearchUrl sets field value

func (*Build) SetCommitId

func (o *Build) SetCommitId(v string)

SetCommitId sets field value

func (*Build) SetCreatedAt

func (o *Build) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Build) SetDeletedAt

func (o *Build) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*Build) SetError

func (o *Build) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Build) SetEtag

func (o *Build) SetEtag(v string)

SetEtag sets field value

func (*Build) SetId

func (o *Build) SetId(v string)

SetId sets field value

func (*Build) SetLogDescriptorId

func (o *Build) SetLogDescriptorId(v string)

SetLogDescriptorId sets field value

func (*Build) SetLogDescriptorUrl

func (o *Build) SetLogDescriptorUrl(v string)

SetLogDescriptorUrl sets field value

func (*Build) SetName

func (o *Build) SetName(v string)

SetName sets field value

func (*Build) SetOpts

func (o *Build) SetOpts(v BuildOptions)

SetOpts sets field value

func (*Build) SetRef

func (o *Build) SetRef(v string)

SetRef sets field value

func (*Build) SetRepoId

func (o *Build) SetRepoId(v string)

SetRepoId sets field value

func (*Build) SetStatus

func (o *Build) SetStatus(v string)

SetStatus sets field value

func (*Build) SetTimings

func (o *Build) SetTimings(v WorkflowTimings)

SetTimings sets field value

func (*Build) SetUpdatedAt

func (o *Build) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*Build) SetUrl

func (o *Build) SetUrl(v string)

SetUrl sets field value

func (Build) ToMap

func (o Build) ToMap() (map[string]interface{}, error)

func (*Build) UnmarshalJSON

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

type BuildApiService

type BuildApiService service

BuildApiService BuildApi service

func (*BuildApiService) GetArtifact

func (a *BuildApiService) GetArtifact(ctx context.Context, artifactId string) ApiGetArtifactRequest

GetArtifact Reads information about an artifact.

Reads information about a particular artifact, not the artifact data itself.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param artifactId The ID of the artifact to read information about.
@return ApiGetArtifactRequest

func (*BuildApiService) GetArtifactData

func (a *BuildApiService) GetArtifactData(ctx context.Context, artifactId string) ApiGetArtifactDataRequest

GetArtifactData Reads the data for an artifact.

Reads the data for a particular artifact.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param artifactId The ID of the artifact to read information about.
@return ApiGetArtifactDataRequest

func (*BuildApiService) GetArtifactDataExecute

func (a *BuildApiService) GetArtifactDataExecute(r ApiGetArtifactDataRequest) (*os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*BuildApiService) GetArtifactExecute

func (a *BuildApiService) GetArtifactExecute(r ApiGetArtifactRequest) (*Artifact, *http.Response, error)

Execute executes the request

@return Artifact

func (*BuildApiService) GetBuild

func (a *BuildApiService) GetBuild(ctx context.Context, buildId string) ApiGetBuildRequest

GetBuild Reads the current build graph for a build.

Reads the entire current build graph for a build, including all jobs and steps and their current status.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param buildId The ID of the build to read.
@return ApiGetBuildRequest

func (*BuildApiService) GetBuildExecute

func (a *BuildApiService) GetBuildExecute(r ApiGetBuildRequest) (*BuildGraph, *http.Response, error)

Execute executes the request

@return BuildGraph

func (*BuildApiService) GetJob

func (a *BuildApiService) GetJob(ctx context.Context, jobId string) ApiGetJobRequest

GetJob Reads information about a job.

Reads information about a job. This includes the job's current status, but does not include steps within the job.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param jobId The ID of the job to read.
@return ApiGetJobRequest

func (*BuildApiService) GetJobExecute

func (a *BuildApiService) GetJobExecute(r ApiGetJobRequest) (*Job, *http.Response, error)

Execute executes the request

@return Job

func (*BuildApiService) GetJobGraph

func (a *BuildApiService) GetJobGraph(ctx context.Context, jobId string) ApiGetJobGraphRequest

GetJobGraph Reads information about a job's graph.

Reads information about a job's graph, including information about the job's steps.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param jobId The ID of the job to read.
@return ApiGetJobGraphRequest

func (*BuildApiService) GetJobGraphExecute

func (a *BuildApiService) GetJobGraphExecute(r ApiGetJobGraphRequest) (*JobGraph, *http.Response, error)

Execute executes the request

@return JobGraph

func (*BuildApiService) GetLogData

func (a *BuildApiService) GetLogData(ctx context.Context, logDescriptorId string) ApiGetLogDataRequest

GetLogData Reads part of a log.

Reads the part of the data for a log, identified by the specified Log Descriptor ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param logDescriptorId A Log Descriptor ID identifying the part of the log to read data from.
@return ApiGetLogDataRequest

func (*BuildApiService) GetLogDataExecute

func (a *BuildApiService) GetLogDataExecute(r ApiGetLogDataRequest) (*os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*BuildApiService) GetLogDescriptor

func (a *BuildApiService) GetLogDescriptor(ctx context.Context, logDescriptorId string) ApiGetLogDescriptorRequest

GetLogDescriptor Fetches a Log Descriptor containing information about part of a log.

Fetches a Log Descriptor containing information about part of a log.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param logDescriptorId The ID of the log descriptor to read.
@return ApiGetLogDescriptorRequest

func (*BuildApiService) GetLogDescriptorExecute

func (a *BuildApiService) GetLogDescriptorExecute(r ApiGetLogDescriptorRequest) (*LogDescriptor, *http.Response, error)

Execute executes the request

@return LogDescriptor

func (*BuildApiService) ListArtifacts

func (a *BuildApiService) ListArtifacts(ctx context.Context, buildId string) ApiListArtifactsRequest

ListArtifacts Reads information about all or some artifacts from a build.

Reads a paginated list containing information about artifacts from the build, optionally filtered by search criteria.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param buildId The ID of the build to read artifacts for.
@return ApiListArtifactsRequest

func (*BuildApiService) ListArtifactsExecute

Execute executes the request

@return ArtifactsPaginatedResponse

func (*BuildApiService) Ping

Ping Checks for connectivity to the Dynamic API.

Checks for connectivity to the Dynamic API.

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

func (*BuildApiService) PingExecute

func (a *BuildApiService) PingExecute(r ApiPingRequest) (*http.Response, error)

Execute executes the request

type BuildDefinition

type BuildDefinition struct {
	// The version number of the build definition format used
	Version              string          `json:"version"`
	Jobs                 []JobDefinition `json:"jobs"`
	AdditionalProperties map[string]interface{}
}

BuildDefinition struct for BuildDefinition

func NewBuildDefinition

func NewBuildDefinition(version string, jobs []JobDefinition) *BuildDefinition

NewBuildDefinition instantiates a new BuildDefinition 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 NewBuildDefinitionWithDefaults

func NewBuildDefinitionWithDefaults() *BuildDefinition

NewBuildDefinitionWithDefaults instantiates a new BuildDefinition 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 (*BuildDefinition) GetJobs

func (o *BuildDefinition) GetJobs() []JobDefinition

GetJobs returns the Jobs field value

func (*BuildDefinition) GetJobsOk

func (o *BuildDefinition) GetJobsOk() ([]JobDefinition, bool)

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

func (*BuildDefinition) GetVersion

func (o *BuildDefinition) GetVersion() string

GetVersion returns the Version field value

func (*BuildDefinition) GetVersionOk

func (o *BuildDefinition) GetVersionOk() (*string, bool)

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

func (BuildDefinition) MarshalJSON

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

func (*BuildDefinition) SetJobs

func (o *BuildDefinition) SetJobs(v []JobDefinition)

SetJobs sets field value

func (*BuildDefinition) SetVersion

func (o *BuildDefinition) SetVersion(v string)

SetVersion sets field value

func (BuildDefinition) ToMap

func (o BuildDefinition) ToMap() (map[string]interface{}, error)

func (*BuildDefinition) UnmarshalJSON

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

type BuildGraph

type BuildGraph struct {
	Build Build `json:"build"`
	// The current set of jobs making up the build, including the full job graph/steps for each.
	Jobs                 []JobGraph `json:"jobs"`
	Repo                 Repo       `json:"repo"`
	Commit               Commit     `json:"commit"`
	AdditionalProperties map[string]interface{}
}

BuildGraph struct for BuildGraph

func NewBuildGraph

func NewBuildGraph(build Build, jobs []JobGraph, repo Repo, commit Commit) *BuildGraph

NewBuildGraph instantiates a new BuildGraph 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 NewBuildGraphWithDefaults

func NewBuildGraphWithDefaults() *BuildGraph

NewBuildGraphWithDefaults instantiates a new BuildGraph 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 (*BuildGraph) GetBuild

func (o *BuildGraph) GetBuild() Build

GetBuild returns the Build field value

func (*BuildGraph) GetBuildOk

func (o *BuildGraph) GetBuildOk() (*Build, bool)

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

func (*BuildGraph) GetCommit

func (o *BuildGraph) GetCommit() Commit

GetCommit returns the Commit field value

func (*BuildGraph) GetCommitOk

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

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

func (*BuildGraph) GetJobs

func (o *BuildGraph) GetJobs() []JobGraph

GetJobs returns the Jobs field value

func (*BuildGraph) GetJobsOk

func (o *BuildGraph) GetJobsOk() ([]JobGraph, bool)

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

func (*BuildGraph) GetRepo

func (o *BuildGraph) GetRepo() Repo

GetRepo returns the Repo field value

func (*BuildGraph) GetRepoOk

func (o *BuildGraph) GetRepoOk() (*Repo, bool)

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

func (BuildGraph) MarshalJSON

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

func (*BuildGraph) SetBuild

func (o *BuildGraph) SetBuild(v Build)

SetBuild sets field value

func (*BuildGraph) SetCommit

func (o *BuildGraph) SetCommit(v Commit)

SetCommit sets field value

func (*BuildGraph) SetJobs

func (o *BuildGraph) SetJobs(v []JobGraph)

SetJobs sets field value

func (*BuildGraph) SetRepo

func (o *BuildGraph) SetRepo(v Repo)

SetRepo sets field value

func (BuildGraph) ToMap

func (o BuildGraph) ToMap() (map[string]interface{}, error)

func (*BuildGraph) UnmarshalJSON

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

type BuildOptions

type BuildOptions struct {
	// True to force all jobs in the build to run by ignoring fingerprints.
	Force bool `json:"force"`
	// Contains zero or more workflows, jobs and steps to run. If no nodes are specified then all workflows, jobs and steps will be run.
	NodesToRun           []NodeFQN `json:"nodes_to_run"`
	AdditionalProperties map[string]interface{}
}

BuildOptions struct for BuildOptions

func NewBuildOptions

func NewBuildOptions(force bool, nodesToRun []NodeFQN) *BuildOptions

NewBuildOptions instantiates a new BuildOptions 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 NewBuildOptionsWithDefaults

func NewBuildOptionsWithDefaults() *BuildOptions

NewBuildOptionsWithDefaults instantiates a new BuildOptions 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 (*BuildOptions) GetForce

func (o *BuildOptions) GetForce() bool

GetForce returns the Force field value

func (*BuildOptions) GetForceOk

func (o *BuildOptions) GetForceOk() (*bool, bool)

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

func (*BuildOptions) GetNodesToRun

func (o *BuildOptions) GetNodesToRun() []NodeFQN

GetNodesToRun returns the NodesToRun field value

func (*BuildOptions) GetNodesToRunOk

func (o *BuildOptions) GetNodesToRunOk() ([]NodeFQN, bool)

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

func (BuildOptions) MarshalJSON

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

func (*BuildOptions) SetForce

func (o *BuildOptions) SetForce(v bool)

SetForce sets field value

func (*BuildOptions) SetNodesToRun

func (o *BuildOptions) SetNodesToRun(v []NodeFQN)

SetNodesToRun sets field value

func (BuildOptions) ToMap

func (o BuildOptions) ToMap() (map[string]interface{}, error)

func (*BuildOptions) UnmarshalJSON

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

type Commit

type Commit struct {
	Id        string    `json:"id"`
	CreatedAt time.Time `json:"created_at"`
	// ID of the repo that the commit was made against.
	RepoId string `json:"repo_id"`
	// The type of the config file found in the commit (Config itself is not included in the document).
	ConfigType string `json:"config_type"`
	// The unique SHA hash of the commit.
	Sha string `json:"sha"`
	// The commit message.
	Message string `json:"message"`
	// The ID of the legal entity that authored the commit, if known.
	AuthorId string `json:"author_id"`
	// The author name recorded on the commit.
	AuthorName string `json:"author_name"`
	// The author email address recorded on the commit.
	AuthorEmail string `json:"author_email"`
	// The ID of the legal entity that committed the commit, if known.
	CommitterId string `json:"committer_id"`
	// The committer name recorded on the commit, if any.
	CommitterName string `json:"committer_name"`
	// The committer email address recorded on the commit, if any.
	CommitterEmail string `json:"committer_email"`
	// A link (URL) to the Commit in the SCM, for users to browse to.
	Link string `json:"link"`
	// URL to fetch additional information about the committer of this commit.
	CommitterUrl string `json:"committer_url"`
	// URL to fetch additional information about the author of this commit.
	AuthorUrl            string `json:"author_url"`
	AdditionalProperties map[string]interface{}
}

Commit struct for Commit

func NewCommit

func NewCommit(id string, createdAt time.Time, repoId string, configType string, sha string, message string, authorId string, authorName string, authorEmail string, committerId string, committerName string, committerEmail string, link string, committerUrl string, authorUrl string) *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) GetAuthorEmail

func (o *Commit) GetAuthorEmail() string

GetAuthorEmail returns the AuthorEmail field value

func (*Commit) GetAuthorEmailOk

func (o *Commit) GetAuthorEmailOk() (*string, bool)

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

func (*Commit) GetAuthorId

func (o *Commit) GetAuthorId() string

GetAuthorId returns the AuthorId field value

func (*Commit) GetAuthorIdOk

func (o *Commit) GetAuthorIdOk() (*string, bool)

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

func (*Commit) GetAuthorName

func (o *Commit) GetAuthorName() string

GetAuthorName returns the AuthorName field value

func (*Commit) GetAuthorNameOk

func (o *Commit) GetAuthorNameOk() (*string, bool)

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

func (*Commit) GetAuthorUrl

func (o *Commit) GetAuthorUrl() string

GetAuthorUrl returns the AuthorUrl field value

func (*Commit) GetAuthorUrlOk

func (o *Commit) GetAuthorUrlOk() (*string, bool)

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

func (*Commit) GetCommitterEmail

func (o *Commit) GetCommitterEmail() string

GetCommitterEmail returns the CommitterEmail field value

func (*Commit) GetCommitterEmailOk

func (o *Commit) GetCommitterEmailOk() (*string, bool)

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

func (*Commit) GetCommitterId

func (o *Commit) GetCommitterId() string

GetCommitterId returns the CommitterId field value

func (*Commit) GetCommitterIdOk

func (o *Commit) GetCommitterIdOk() (*string, bool)

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

func (*Commit) GetCommitterName

func (o *Commit) GetCommitterName() string

GetCommitterName returns the CommitterName field value

func (*Commit) GetCommitterNameOk

func (o *Commit) GetCommitterNameOk() (*string, bool)

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

func (*Commit) GetCommitterUrl

func (o *Commit) GetCommitterUrl() string

GetCommitterUrl returns the CommitterUrl field value

func (*Commit) GetCommitterUrlOk

func (o *Commit) GetCommitterUrlOk() (*string, bool)

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

func (*Commit) GetConfigType

func (o *Commit) GetConfigType() string

GetConfigType returns the ConfigType field value

func (*Commit) GetConfigTypeOk

func (o *Commit) GetConfigTypeOk() (*string, bool)

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

func (*Commit) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Commit) GetCreatedAtOk

func (o *Commit) GetCreatedAtOk() (*time.Time, bool)

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

func (*Commit) GetId

func (o *Commit) GetId() string

GetId returns the Id field value

func (*Commit) GetIdOk

func (o *Commit) GetIdOk() (*string, bool)

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

func (o *Commit) GetLink() string

GetLink returns the Link field value

func (*Commit) GetLinkOk

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

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

func (*Commit) GetMessage

func (o *Commit) GetMessage() string

GetMessage returns the Message field value

func (*Commit) GetMessageOk

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

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

func (*Commit) GetRepoId

func (o *Commit) GetRepoId() string

GetRepoId returns the RepoId field value

func (*Commit) GetRepoIdOk

func (o *Commit) GetRepoIdOk() (*string, bool)

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

func (*Commit) GetSha

func (o *Commit) GetSha() string

GetSha returns the Sha field value

func (*Commit) GetShaOk

func (o *Commit) GetShaOk() (*string, bool)

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

func (Commit) MarshalJSON

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

func (*Commit) SetAuthorEmail

func (o *Commit) SetAuthorEmail(v string)

SetAuthorEmail sets field value

func (*Commit) SetAuthorId

func (o *Commit) SetAuthorId(v string)

SetAuthorId sets field value

func (*Commit) SetAuthorName

func (o *Commit) SetAuthorName(v string)

SetAuthorName sets field value

func (*Commit) SetAuthorUrl

func (o *Commit) SetAuthorUrl(v string)

SetAuthorUrl sets field value

func (*Commit) SetCommitterEmail

func (o *Commit) SetCommitterEmail(v string)

SetCommitterEmail sets field value

func (*Commit) SetCommitterId

func (o *Commit) SetCommitterId(v string)

SetCommitterId sets field value

func (*Commit) SetCommitterName

func (o *Commit) SetCommitterName(v string)

SetCommitterName sets field value

func (*Commit) SetCommitterUrl

func (o *Commit) SetCommitterUrl(v string)

SetCommitterUrl sets field value

func (*Commit) SetConfigType

func (o *Commit) SetConfigType(v string)

SetConfigType sets field value

func (*Commit) SetCreatedAt

func (o *Commit) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Commit) SetId

func (o *Commit) SetId(v string)

SetId sets field value

func (o *Commit) SetLink(v string)

SetLink sets field value

func (*Commit) SetMessage

func (o *Commit) SetMessage(v string)

SetMessage sets field value

func (*Commit) SetRepoId

func (o *Commit) SetRepoId(v string)

SetRepoId sets field value

func (*Commit) SetSha

func (o *Commit) SetSha(v string)

SetSha sets field value

func (Commit) ToMap

func (o Commit) ToMap() (map[string]interface{}, error)

func (*Commit) UnmarshalJSON

func (o *Commit) 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 DockerAWSAuth

type DockerAWSAuth struct {
	// The ECR AWS region to authenticate to.
	AwsRegion            *string      `json:"aws_region,omitempty"`
	AwsAccessKeyId       SecretString `json:"aws_access_key_id"`
	AwsSecretAccessKey   SecretString `json:"aws_secret_access_key"`
	AdditionalProperties map[string]interface{}
}

DockerAWSAuth struct for DockerAWSAuth

func NewDockerAWSAuth

func NewDockerAWSAuth(awsAccessKeyId SecretString, awsSecretAccessKey SecretString) *DockerAWSAuth

NewDockerAWSAuth instantiates a new DockerAWSAuth 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 NewDockerAWSAuthWithDefaults

func NewDockerAWSAuthWithDefaults() *DockerAWSAuth

NewDockerAWSAuthWithDefaults instantiates a new DockerAWSAuth 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 (*DockerAWSAuth) GetAwsAccessKeyId

func (o *DockerAWSAuth) GetAwsAccessKeyId() SecretString

GetAwsAccessKeyId returns the AwsAccessKeyId field value

func (*DockerAWSAuth) GetAwsAccessKeyIdOk

func (o *DockerAWSAuth) GetAwsAccessKeyIdOk() (*SecretString, bool)

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

func (*DockerAWSAuth) GetAwsRegion

func (o *DockerAWSAuth) GetAwsRegion() string

GetAwsRegion returns the AwsRegion field value if set, zero value otherwise.

func (*DockerAWSAuth) GetAwsRegionOk

func (o *DockerAWSAuth) GetAwsRegionOk() (*string, bool)

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

func (*DockerAWSAuth) GetAwsSecretAccessKey

func (o *DockerAWSAuth) GetAwsSecretAccessKey() SecretString

GetAwsSecretAccessKey returns the AwsSecretAccessKey field value

func (*DockerAWSAuth) GetAwsSecretAccessKeyOk

func (o *DockerAWSAuth) GetAwsSecretAccessKeyOk() (*SecretString, bool)

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

func (*DockerAWSAuth) HasAwsRegion

func (o *DockerAWSAuth) HasAwsRegion() bool

HasAwsRegion returns a boolean if a field has been set.

func (DockerAWSAuth) MarshalJSON

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

func (*DockerAWSAuth) SetAwsAccessKeyId

func (o *DockerAWSAuth) SetAwsAccessKeyId(v SecretString)

SetAwsAccessKeyId sets field value

func (*DockerAWSAuth) SetAwsRegion

func (o *DockerAWSAuth) SetAwsRegion(v string)

SetAwsRegion gets a reference to the given string and assigns it to the AwsRegion field.

func (*DockerAWSAuth) SetAwsSecretAccessKey

func (o *DockerAWSAuth) SetAwsSecretAccessKey(v SecretString)

SetAwsSecretAccessKey sets field value

func (DockerAWSAuth) ToMap

func (o DockerAWSAuth) ToMap() (map[string]interface{}, error)

func (*DockerAWSAuth) UnmarshalJSON

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

type DockerAWSAuthDefinition

type DockerAWSAuthDefinition struct {
	// The ECR AWS region to authenticate to.
	AwsRegion            *string                `json:"aws_region,omitempty"`
	AwsAccessKeyId       SecretStringDefinition `json:"aws_access_key_id"`
	AwsSecretAccessKey   SecretStringDefinition `json:"aws_secret_access_key"`
	AdditionalProperties map[string]interface{}
}

DockerAWSAuthDefinition struct for DockerAWSAuthDefinition

func NewDockerAWSAuthDefinition

func NewDockerAWSAuthDefinition(awsAccessKeyId SecretStringDefinition, awsSecretAccessKey SecretStringDefinition) *DockerAWSAuthDefinition

NewDockerAWSAuthDefinition instantiates a new DockerAWSAuthDefinition 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 NewDockerAWSAuthDefinitionWithDefaults

func NewDockerAWSAuthDefinitionWithDefaults() *DockerAWSAuthDefinition

NewDockerAWSAuthDefinitionWithDefaults instantiates a new DockerAWSAuthDefinition 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 (*DockerAWSAuthDefinition) GetAwsAccessKeyId

func (o *DockerAWSAuthDefinition) GetAwsAccessKeyId() SecretStringDefinition

GetAwsAccessKeyId returns the AwsAccessKeyId field value

func (*DockerAWSAuthDefinition) GetAwsAccessKeyIdOk

func (o *DockerAWSAuthDefinition) GetAwsAccessKeyIdOk() (*SecretStringDefinition, bool)

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

func (*DockerAWSAuthDefinition) GetAwsRegion

func (o *DockerAWSAuthDefinition) GetAwsRegion() string

GetAwsRegion returns the AwsRegion field value if set, zero value otherwise.

func (*DockerAWSAuthDefinition) GetAwsRegionOk

func (o *DockerAWSAuthDefinition) GetAwsRegionOk() (*string, bool)

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

func (*DockerAWSAuthDefinition) GetAwsSecretAccessKey

func (o *DockerAWSAuthDefinition) GetAwsSecretAccessKey() SecretStringDefinition

GetAwsSecretAccessKey returns the AwsSecretAccessKey field value

func (*DockerAWSAuthDefinition) GetAwsSecretAccessKeyOk

func (o *DockerAWSAuthDefinition) GetAwsSecretAccessKeyOk() (*SecretStringDefinition, bool)

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

func (*DockerAWSAuthDefinition) HasAwsRegion

func (o *DockerAWSAuthDefinition) HasAwsRegion() bool

HasAwsRegion returns a boolean if a field has been set.

func (DockerAWSAuthDefinition) MarshalJSON

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

func (*DockerAWSAuthDefinition) SetAwsAccessKeyId

func (o *DockerAWSAuthDefinition) SetAwsAccessKeyId(v SecretStringDefinition)

SetAwsAccessKeyId sets field value

func (*DockerAWSAuthDefinition) SetAwsRegion

func (o *DockerAWSAuthDefinition) SetAwsRegion(v string)

SetAwsRegion gets a reference to the given string and assigns it to the AwsRegion field.

func (*DockerAWSAuthDefinition) SetAwsSecretAccessKey

func (o *DockerAWSAuthDefinition) SetAwsSecretAccessKey(v SecretStringDefinition)

SetAwsSecretAccessKey sets field value

func (DockerAWSAuthDefinition) ToMap

func (o DockerAWSAuthDefinition) ToMap() (map[string]interface{}, error)

func (*DockerAWSAuthDefinition) UnmarshalJSON

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

type DockerBasicAuth

type DockerBasicAuth struct {
	Username             SecretString `json:"username"`
	Password             SecretString `json:"password"`
	AdditionalProperties map[string]interface{}
}

DockerBasicAuth struct for DockerBasicAuth

func NewDockerBasicAuth

func NewDockerBasicAuth(username SecretString, password SecretString) *DockerBasicAuth

NewDockerBasicAuth instantiates a new DockerBasicAuth 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 NewDockerBasicAuthWithDefaults

func NewDockerBasicAuthWithDefaults() *DockerBasicAuth

NewDockerBasicAuthWithDefaults instantiates a new DockerBasicAuth 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 (*DockerBasicAuth) GetPassword

func (o *DockerBasicAuth) GetPassword() SecretString

GetPassword returns the Password field value

func (*DockerBasicAuth) GetPasswordOk

func (o *DockerBasicAuth) GetPasswordOk() (*SecretString, bool)

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

func (*DockerBasicAuth) GetUsername

func (o *DockerBasicAuth) GetUsername() SecretString

GetUsername returns the Username field value

func (*DockerBasicAuth) GetUsernameOk

func (o *DockerBasicAuth) GetUsernameOk() (*SecretString, bool)

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

func (DockerBasicAuth) MarshalJSON

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

func (*DockerBasicAuth) SetPassword

func (o *DockerBasicAuth) SetPassword(v SecretString)

SetPassword sets field value

func (*DockerBasicAuth) SetUsername

func (o *DockerBasicAuth) SetUsername(v SecretString)

SetUsername sets field value

func (DockerBasicAuth) ToMap

func (o DockerBasicAuth) ToMap() (map[string]interface{}, error)

func (*DockerBasicAuth) UnmarshalJSON

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

type DockerBasicAuthDefinition

type DockerBasicAuthDefinition struct {
	Username             SecretStringDefinition `json:"username"`
	Password             SecretStringDefinition `json:"password"`
	AdditionalProperties map[string]interface{}
}

DockerBasicAuthDefinition struct for DockerBasicAuthDefinition

func NewDockerBasicAuthDefinition

func NewDockerBasicAuthDefinition(username SecretStringDefinition, password SecretStringDefinition) *DockerBasicAuthDefinition

NewDockerBasicAuthDefinition instantiates a new DockerBasicAuthDefinition 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 NewDockerBasicAuthDefinitionWithDefaults

func NewDockerBasicAuthDefinitionWithDefaults() *DockerBasicAuthDefinition

NewDockerBasicAuthDefinitionWithDefaults instantiates a new DockerBasicAuthDefinition 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 (*DockerBasicAuthDefinition) GetPassword

GetPassword returns the Password field value

func (*DockerBasicAuthDefinition) GetPasswordOk

func (o *DockerBasicAuthDefinition) GetPasswordOk() (*SecretStringDefinition, bool)

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

func (*DockerBasicAuthDefinition) GetUsername

GetUsername returns the Username field value

func (*DockerBasicAuthDefinition) GetUsernameOk

func (o *DockerBasicAuthDefinition) GetUsernameOk() (*SecretStringDefinition, bool)

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

func (DockerBasicAuthDefinition) MarshalJSON

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

func (*DockerBasicAuthDefinition) SetPassword

SetPassword sets field value

func (*DockerBasicAuthDefinition) SetUsername

SetUsername sets field value

func (DockerBasicAuthDefinition) ToMap

func (o DockerBasicAuthDefinition) ToMap() (map[string]interface{}, error)

func (*DockerBasicAuthDefinition) UnmarshalJSON

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

type DockerConfig

type DockerConfig struct {
	// The default Docker image to run the job steps in, if the job is of type Docker
	Image string `json:"image"`
	// Determines if/when the Docker image is pulled during job execution, if the job is of type Docker
	Pull      string           `json:"pull"`
	BasicAuth *DockerBasicAuth `json:"basic_auth,omitempty"`
	AwsAuth   *DockerAWSAuth   `json:"aws_auth,omitempty"`
	// Path to the shell to use to run build scripts with inside the container
	Shell                *string `json:"shell,omitempty"`
	AdditionalProperties map[string]interface{}
}

DockerConfig struct for DockerConfig

func NewDockerConfig

func NewDockerConfig(image string, pull string) *DockerConfig

NewDockerConfig instantiates a new DockerConfig 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 NewDockerConfigWithDefaults

func NewDockerConfigWithDefaults() *DockerConfig

NewDockerConfigWithDefaults instantiates a new DockerConfig 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 (*DockerConfig) GetAwsAuth

func (o *DockerConfig) GetAwsAuth() DockerAWSAuth

GetAwsAuth returns the AwsAuth field value if set, zero value otherwise.

func (*DockerConfig) GetAwsAuthOk

func (o *DockerConfig) GetAwsAuthOk() (*DockerAWSAuth, bool)

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

func (*DockerConfig) GetBasicAuth

func (o *DockerConfig) GetBasicAuth() DockerBasicAuth

GetBasicAuth returns the BasicAuth field value if set, zero value otherwise.

func (*DockerConfig) GetBasicAuthOk

func (o *DockerConfig) GetBasicAuthOk() (*DockerBasicAuth, bool)

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

func (*DockerConfig) GetImage

func (o *DockerConfig) GetImage() string

GetImage returns the Image field value

func (*DockerConfig) GetImageOk

func (o *DockerConfig) GetImageOk() (*string, bool)

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

func (*DockerConfig) GetPull

func (o *DockerConfig) GetPull() string

GetPull returns the Pull field value

func (*DockerConfig) GetPullOk

func (o *DockerConfig) GetPullOk() (*string, bool)

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

func (*DockerConfig) GetShell

func (o *DockerConfig) GetShell() string

GetShell returns the Shell field value if set, zero value otherwise.

func (*DockerConfig) GetShellOk

func (o *DockerConfig) GetShellOk() (*string, bool)

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

func (*DockerConfig) HasAwsAuth

func (o *DockerConfig) HasAwsAuth() bool

HasAwsAuth returns a boolean if a field has been set.

func (*DockerConfig) HasBasicAuth

func (o *DockerConfig) HasBasicAuth() bool

HasBasicAuth returns a boolean if a field has been set.

func (*DockerConfig) HasShell

func (o *DockerConfig) HasShell() bool

HasShell returns a boolean if a field has been set.

func (DockerConfig) MarshalJSON

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

func (*DockerConfig) SetAwsAuth

func (o *DockerConfig) SetAwsAuth(v DockerAWSAuth)

SetAwsAuth gets a reference to the given DockerAWSAuth and assigns it to the AwsAuth field.

func (*DockerConfig) SetBasicAuth

func (o *DockerConfig) SetBasicAuth(v DockerBasicAuth)

SetBasicAuth gets a reference to the given DockerBasicAuth and assigns it to the BasicAuth field.

func (*DockerConfig) SetImage

func (o *DockerConfig) SetImage(v string)

SetImage sets field value

func (*DockerConfig) SetPull

func (o *DockerConfig) SetPull(v string)

SetPull sets field value

func (*DockerConfig) SetShell

func (o *DockerConfig) SetShell(v string)

SetShell gets a reference to the given string and assigns it to the Shell field.

func (DockerConfig) ToMap

func (o DockerConfig) ToMap() (map[string]interface{}, error)

func (*DockerConfig) UnmarshalJSON

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

type DockerConfigDefinition

type DockerConfigDefinition struct {
	// The default Docker image to run the job steps in, if the job is of type Docker
	Image string `json:"image"`
	// Determines if/when the Docker image is pulled during job execution, if the job is of type Docker
	Pull      string                     `json:"pull"`
	BasicAuth *DockerBasicAuthDefinition `json:"basic_auth,omitempty"`
	AwsAuth   *DockerAWSAuthDefinition   `json:"aws_auth,omitempty"`
	// Path to the shell to use to run build scripts with inside the container
	Shell                *string `json:"shell,omitempty"`
	AdditionalProperties map[string]interface{}
}

DockerConfigDefinition struct for DockerConfigDefinition

func NewDockerConfigDefinition

func NewDockerConfigDefinition(image string, pull string) *DockerConfigDefinition

NewDockerConfigDefinition instantiates a new DockerConfigDefinition 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 NewDockerConfigDefinitionWithDefaults

func NewDockerConfigDefinitionWithDefaults() *DockerConfigDefinition

NewDockerConfigDefinitionWithDefaults instantiates a new DockerConfigDefinition 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 (*DockerConfigDefinition) GetAwsAuth

GetAwsAuth returns the AwsAuth field value if set, zero value otherwise.

func (*DockerConfigDefinition) GetAwsAuthOk

func (o *DockerConfigDefinition) GetAwsAuthOk() (*DockerAWSAuthDefinition, bool)

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

func (*DockerConfigDefinition) GetBasicAuth

GetBasicAuth returns the BasicAuth field value if set, zero value otherwise.

func (*DockerConfigDefinition) GetBasicAuthOk

func (o *DockerConfigDefinition) GetBasicAuthOk() (*DockerBasicAuthDefinition, bool)

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

func (*DockerConfigDefinition) GetImage

func (o *DockerConfigDefinition) GetImage() string

GetImage returns the Image field value

func (*DockerConfigDefinition) GetImageOk

func (o *DockerConfigDefinition) GetImageOk() (*string, bool)

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

func (*DockerConfigDefinition) GetPull

func (o *DockerConfigDefinition) GetPull() string

GetPull returns the Pull field value

func (*DockerConfigDefinition) GetPullOk

func (o *DockerConfigDefinition) GetPullOk() (*string, bool)

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

func (*DockerConfigDefinition) GetShell

func (o *DockerConfigDefinition) GetShell() string

GetShell returns the Shell field value if set, zero value otherwise.

func (*DockerConfigDefinition) GetShellOk

func (o *DockerConfigDefinition) GetShellOk() (*string, bool)

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

func (*DockerConfigDefinition) HasAwsAuth

func (o *DockerConfigDefinition) HasAwsAuth() bool

HasAwsAuth returns a boolean if a field has been set.

func (*DockerConfigDefinition) HasBasicAuth

func (o *DockerConfigDefinition) HasBasicAuth() bool

HasBasicAuth returns a boolean if a field has been set.

func (*DockerConfigDefinition) HasShell

func (o *DockerConfigDefinition) HasShell() bool

HasShell returns a boolean if a field has been set.

func (DockerConfigDefinition) MarshalJSON

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

func (*DockerConfigDefinition) SetAwsAuth

SetAwsAuth gets a reference to the given DockerAWSAuthDefinition and assigns it to the AwsAuth field.

func (*DockerConfigDefinition) SetBasicAuth

SetBasicAuth gets a reference to the given DockerBasicAuthDefinition and assigns it to the BasicAuth field.

func (*DockerConfigDefinition) SetImage

func (o *DockerConfigDefinition) SetImage(v string)

SetImage sets field value

func (*DockerConfigDefinition) SetPull

func (o *DockerConfigDefinition) SetPull(v string)

SetPull sets field value

func (*DockerConfigDefinition) SetShell

func (o *DockerConfigDefinition) SetShell(v string)

SetShell gets a reference to the given string and assigns it to the Shell field.

func (DockerConfigDefinition) ToMap

func (o DockerConfigDefinition) ToMap() (map[string]interface{}, error)

func (*DockerConfigDefinition) UnmarshalJSON

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

type EnvVar

type EnvVar struct {
	// Name of the environment variable.
	Name string `json:"name"`
	// Value of the variable, if the variable is set explicitly.
	Value *string `json:"value,omitempty"`
	// ValueFromSecret is the name of the secret to set this variable to, if setting the variable to a secret.
	ValueFromSecret      *string `json:"value_from_secret,omitempty"`
	AdditionalProperties map[string]interface{}
}

EnvVar struct for EnvVar

func NewEnvVar

func NewEnvVar(name string) *EnvVar

NewEnvVar instantiates a new EnvVar 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 NewEnvVarWithDefaults

func NewEnvVarWithDefaults() *EnvVar

NewEnvVarWithDefaults instantiates a new EnvVar 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 (*EnvVar) GetName

func (o *EnvVar) GetName() string

GetName returns the Name field value

func (*EnvVar) GetNameOk

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

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

func (*EnvVar) GetValue

func (o *EnvVar) GetValue() string

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

func (*EnvVar) GetValueFromSecret

func (o *EnvVar) GetValueFromSecret() string

GetValueFromSecret returns the ValueFromSecret field value if set, zero value otherwise.

func (*EnvVar) GetValueFromSecretOk

func (o *EnvVar) GetValueFromSecretOk() (*string, bool)

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

func (*EnvVar) GetValueOk

func (o *EnvVar) 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 (*EnvVar) HasValue

func (o *EnvVar) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*EnvVar) HasValueFromSecret

func (o *EnvVar) HasValueFromSecret() bool

HasValueFromSecret returns a boolean if a field has been set.

func (EnvVar) MarshalJSON

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

func (*EnvVar) SetName

func (o *EnvVar) SetName(v string)

SetName sets field value

func (*EnvVar) SetValue

func (o *EnvVar) SetValue(v string)

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

func (*EnvVar) SetValueFromSecret

func (o *EnvVar) SetValueFromSecret(v string)

SetValueFromSecret gets a reference to the given string and assigns it to the ValueFromSecret field.

func (EnvVar) ToMap

func (o EnvVar) ToMap() (map[string]interface{}, error)

func (*EnvVar) UnmarshalJSON

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

type Event

type Event struct {
	Id        string    `json:"id"`
	CreatedAt time.Time `json:"created_at"`
	// SequenceNumber is a monotonically increasing number to provide a well-defined order for events within a build. Event sequence numbers will normally (but not always) be contiguous for a given build.
	SequenceNumber int64 `json:"sequence_number"`
	// The ID of the build to fetch events for.
	BuildId string `json:"build_id"`
	// The type of event, determining what is expected in the event data.
	Type string `json:"type"`
	// The ID of the resource this event is associated with.
	ResourceId string `json:"resource_id"`
	// The name of the workflow this event is associated with, if applicable
	Workflow *string `json:"workflow,omitempty"`
	// The name of the job this event relates to, if applicable
	JobName *string `json:"job_name,omitempty"`
	// The name of the resource this event is associated with. For job-related events this will be the same as job_name.
	ResourceName string `json:"resource_name"`
	// Payload provides additional information for the event. The format of the payload data depends on the event Type.
	Payload              string `json:"payload"`
	AdditionalProperties map[string]interface{}
}

Event struct for Event

func NewEvent

func NewEvent(id string, createdAt time.Time, sequenceNumber int64, buildId string, type_ string, resourceId string, resourceName string, payload string) *Event

NewEvent instantiates a new Event 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 NewEventWithDefaults

func NewEventWithDefaults() *Event

NewEventWithDefaults instantiates a new Event 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 (*Event) GetBuildId

func (o *Event) GetBuildId() string

GetBuildId returns the BuildId field value

func (*Event) GetBuildIdOk

func (o *Event) GetBuildIdOk() (*string, bool)

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

func (*Event) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Event) GetCreatedAtOk

func (o *Event) GetCreatedAtOk() (*time.Time, bool)

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

func (*Event) GetId

func (o *Event) GetId() string

GetId returns the Id field value

func (*Event) GetIdOk

func (o *Event) GetIdOk() (*string, bool)

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

func (*Event) GetJobName

func (o *Event) GetJobName() string

GetJobName returns the JobName field value if set, zero value otherwise.

func (*Event) GetJobNameOk

func (o *Event) GetJobNameOk() (*string, bool)

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

func (*Event) GetPayload

func (o *Event) GetPayload() string

GetPayload returns the Payload field value

func (*Event) GetPayloadOk

func (o *Event) GetPayloadOk() (*string, bool)

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

func (*Event) GetResourceId

func (o *Event) GetResourceId() string

GetResourceId returns the ResourceId field value

func (*Event) GetResourceIdOk

func (o *Event) GetResourceIdOk() (*string, bool)

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

func (*Event) GetResourceName

func (o *Event) GetResourceName() string

GetResourceName returns the ResourceName field value

func (*Event) GetResourceNameOk

func (o *Event) GetResourceNameOk() (*string, bool)

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

func (*Event) GetSequenceNumber

func (o *Event) GetSequenceNumber() int64

GetSequenceNumber returns the SequenceNumber field value

func (*Event) GetSequenceNumberOk

func (o *Event) GetSequenceNumberOk() (*int64, bool)

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

func (*Event) GetType

func (o *Event) GetType() string

GetType returns the Type field value

func (*Event) GetTypeOk

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

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

func (*Event) GetWorkflow

func (o *Event) GetWorkflow() string

GetWorkflow returns the Workflow field value if set, zero value otherwise.

func (*Event) GetWorkflowOk

func (o *Event) GetWorkflowOk() (*string, bool)

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

func (*Event) HasJobName

func (o *Event) HasJobName() bool

HasJobName returns a boolean if a field has been set.

func (*Event) HasWorkflow

func (o *Event) HasWorkflow() bool

HasWorkflow returns a boolean if a field has been set.

func (Event) MarshalJSON

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

func (*Event) SetBuildId

func (o *Event) SetBuildId(v string)

SetBuildId sets field value

func (*Event) SetCreatedAt

func (o *Event) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Event) SetId

func (o *Event) SetId(v string)

SetId sets field value

func (*Event) SetJobName

func (o *Event) SetJobName(v string)

SetJobName gets a reference to the given string and assigns it to the JobName field.

func (*Event) SetPayload

func (o *Event) SetPayload(v string)

SetPayload sets field value

func (*Event) SetResourceId

func (o *Event) SetResourceId(v string)

SetResourceId sets field value

func (*Event) SetResourceName

func (o *Event) SetResourceName(v string)

SetResourceName sets field value

func (*Event) SetSequenceNumber

func (o *Event) SetSequenceNumber(v int64)

SetSequenceNumber sets field value

func (*Event) SetType

func (o *Event) SetType(v string)

SetType sets field value

func (*Event) SetWorkflow

func (o *Event) SetWorkflow(v string)

SetWorkflow gets a reference to the given string and assigns it to the Workflow field.

func (Event) ToMap

func (o Event) ToMap() (map[string]interface{}, error)

func (*Event) UnmarshalJSON

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

type EventsApiService

type EventsApiService service

EventsApiService EventsApi service

func (*EventsApiService) GetEvents

func (a *EventsApiService) GetEvents(ctx context.Context, buildId string) ApiGetEventsRequest

GetEvents Reads events relating to a build.

Reads events relating to a build that are newer than the last event previously read. Returns immediately if no new events are available.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param buildId The ID of the build to read events for
@return ApiGetEventsRequest

func (*EventsApiService) GetEventsExecute

func (a *EventsApiService) GetEventsExecute(r ApiGetEventsRequest) ([]Event, *http.Response, error)

Execute executes the request

@return []Event

type ExternalResourceID

type ExternalResourceID struct {
	// The name of the external system, e.g. GitHub
	ExternalSystem string `json:"external_system"`
	// The resource within the external system, e.g. github_repo.id
	ResourceId           string `json:"resource_id"`
	AdditionalProperties map[string]interface{}
}

ExternalResourceID struct for ExternalResourceID

func NewExternalResourceID

func NewExternalResourceID(externalSystem string, resourceId string) *ExternalResourceID

NewExternalResourceID instantiates a new ExternalResourceID 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 NewExternalResourceIDWithDefaults

func NewExternalResourceIDWithDefaults() *ExternalResourceID

NewExternalResourceIDWithDefaults instantiates a new ExternalResourceID 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 (*ExternalResourceID) GetExternalSystem

func (o *ExternalResourceID) GetExternalSystem() string

GetExternalSystem returns the ExternalSystem field value

func (*ExternalResourceID) GetExternalSystemOk

func (o *ExternalResourceID) GetExternalSystemOk() (*string, bool)

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

func (*ExternalResourceID) GetResourceId

func (o *ExternalResourceID) GetResourceId() string

GetResourceId returns the ResourceId field value

func (*ExternalResourceID) GetResourceIdOk

func (o *ExternalResourceID) GetResourceIdOk() (*string, bool)

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

func (ExternalResourceID) MarshalJSON

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

func (*ExternalResourceID) SetExternalSystem

func (o *ExternalResourceID) SetExternalSystem(v string)

SetExternalSystem sets field value

func (*ExternalResourceID) SetResourceId

func (o *ExternalResourceID) SetResourceId(v string)

SetResourceId sets field value

func (ExternalResourceID) ToMap

func (o ExternalResourceID) ToMap() (map[string]interface{}, error)

func (*ExternalResourceID) UnmarshalJSON

func (o *ExternalResourceID) 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 Job

type Job struct {
	// A link to the Job resource on the BuildBeaver server
	Url       string     `json:"url"`
	Id        string     `json:"id"`
	CreatedAt time.Time  `json:"created_at"`
	UpdatedAt time.Time  `json:"updated_at"`
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	Etag      string     `json:"etag"`
	// Job name, in URL format
	Name string `json:"name"`
	// Workflow the job is a part of, or empty if the job is part of the default workflow.
	Workflow string `json:"workflow"`
	// Optional human-readable description of the job.
	Description string `json:"description"`
	// Type of the job (e.g. docker, exec etc.)
	Type string `json:"type"`
	// RunsOn contains a set of labels that this job requires runners to have.
	RunsOn []string      `json:"runs_on"`
	Docker *DockerConfig `json:"docker,omitempty"`
	// Determines how the runner will execute steps within this job
	StepExecution string `json:"step_execution"`
	// Dependencies on other jobs and their artifacts. Each JobDependency declares that this job depends on the successful execution of another, and optionally that this job consumes one or more artifacts from the other.
	Depends []JobDependency `json:"depends"`
	// Services to run in the background for the duration of the job; services are started before the first step is run, and stopped after the last step completes
	Services []Service `json:"services"`
	// Shell commands to execute to generate a unique fingerprint for the jobs; two jobs in the same repo with the same name and fingerprint are considered identical
	FingerprintCommands []string `json:"fingerprint_commands"`
	// A list of all artifacts the job is expected to produce that will be saved to the artifact store at the end of the job's execution
	Artifacts []ArtifactDefinition `json:"artifacts,omitempty"`
	// A list of environment variables to export prior to executing the job
	Environment []EnvVar `json:"environment"`
	// ID of the build this job forms a part of.
	BuildId string `json:"build_id"`
	// RepoID that was committed to.
	RepoId string `json:"repo_id"`
	// CommitID that the job was generated from.
	CommitId string `json:"commit_id"`
	// LogDescriptorID points to the log for this job.
	LogDescriptorId string `json:"log_descriptor_id"`
	// RunnerID is the id of the runner this job executed on, or empty if the job has not run yet (or did/will not run).
	RunnerId string `json:"runner_id"`
	// IndirectToJobID records the ID of a job that previously ran successfully as part of another build and which is functionally identical to this job. If this is set it means this job did not actually run to avoid redundantly running the same thing more than once.
	IndirectToJobId string `json:"indirect_to_job_id"`
	// Ref is the git ref from the build that the job was generated from (e.g. branch or tag)
	Ref string `json:"ref"`
	// Status reflects where the job is in the queue.
	Status string `json:"status"`
	// Error is set if the job finished with an error (or empty if the job succeeded).
	Error   *string         `json:"error,omitempty"`
	Timings WorkflowTimings `json:"timings"`
	// Fingerprint contains the hashed output of FingerprintCommands, as well as any other inputs the agent added (such as artifact hashes). This is only available after the job has run successfully.
	Fingerprint *string `json:"fingerprint,omitempty"`
	// FingerprintHashType is the type of hashing algorithm used to produce the fingerprint.
	FingerprintHashType *string `json:"fingerprint_hash_type,omitempty"`
	// URL of the log for this job.
	LogDescriptorUrl string `json:"log_descriptor_url"`
	// URL to the job that this job indirects to, if any.
	IndirectJobUrl       string `json:"indirect_job_url"`
	AdditionalProperties map[string]interface{}
}

Job struct for Job

func NewJob

func NewJob(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, workflow string, description string, type_ string, runsOn []string, stepExecution string, depends []JobDependency, services []Service, fingerprintCommands []string, environment []EnvVar, buildId string, repoId string, commitId string, logDescriptorId string, runnerId string, indirectToJobId string, ref string, status string, timings WorkflowTimings, logDescriptorUrl string, indirectJobUrl string) *Job

NewJob instantiates a new Job 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 NewJobWithDefaults

func NewJobWithDefaults() *Job

NewJobWithDefaults instantiates a new Job 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 (*Job) GetArtifacts

func (o *Job) GetArtifacts() []ArtifactDefinition

GetArtifacts returns the Artifacts field value if set, zero value otherwise.

func (*Job) GetArtifactsOk

func (o *Job) GetArtifactsOk() ([]ArtifactDefinition, bool)

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

func (*Job) GetBuildId

func (o *Job) GetBuildId() string

GetBuildId returns the BuildId field value

func (*Job) GetBuildIdOk

func (o *Job) GetBuildIdOk() (*string, bool)

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

func (*Job) GetCommitId

func (o *Job) GetCommitId() string

GetCommitId returns the CommitId field value

func (*Job) GetCommitIdOk

func (o *Job) GetCommitIdOk() (*string, bool)

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

func (*Job) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Job) GetCreatedAtOk

func (o *Job) GetCreatedAtOk() (*time.Time, bool)

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

func (*Job) GetDeletedAt

func (o *Job) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*Job) GetDeletedAtOk

func (o *Job) GetDeletedAtOk() (*time.Time, bool)

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

func (*Job) GetDepends

func (o *Job) GetDepends() []JobDependency

GetDepends returns the Depends field value

func (*Job) GetDependsOk

func (o *Job) GetDependsOk() ([]JobDependency, bool)

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

func (*Job) GetDescription

func (o *Job) GetDescription() string

GetDescription returns the Description field value

func (*Job) GetDescriptionOk

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

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

func (*Job) GetDocker

func (o *Job) GetDocker() DockerConfig

GetDocker returns the Docker field value if set, zero value otherwise.

func (*Job) GetDockerOk

func (o *Job) GetDockerOk() (*DockerConfig, bool)

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

func (*Job) GetEnvironment

func (o *Job) GetEnvironment() []EnvVar

GetEnvironment returns the Environment field value

func (*Job) GetEnvironmentOk

func (o *Job) GetEnvironmentOk() ([]EnvVar, bool)

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

func (*Job) GetError

func (o *Job) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Job) GetErrorOk

func (o *Job) GetErrorOk() (*string, 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 (*Job) GetEtag

func (o *Job) GetEtag() string

GetEtag returns the Etag field value

func (*Job) GetEtagOk

func (o *Job) GetEtagOk() (*string, bool)

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

func (*Job) GetFingerprint

func (o *Job) GetFingerprint() string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*Job) GetFingerprintCommands

func (o *Job) GetFingerprintCommands() []string

GetFingerprintCommands returns the FingerprintCommands field value

func (*Job) GetFingerprintCommandsOk

func (o *Job) GetFingerprintCommandsOk() ([]string, bool)

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

func (*Job) GetFingerprintHashType

func (o *Job) GetFingerprintHashType() string

GetFingerprintHashType returns the FingerprintHashType field value if set, zero value otherwise.

func (*Job) GetFingerprintHashTypeOk

func (o *Job) GetFingerprintHashTypeOk() (*string, bool)

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

func (*Job) GetFingerprintOk

func (o *Job) GetFingerprintOk() (*string, bool)

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

func (*Job) GetId

func (o *Job) GetId() string

GetId returns the Id field value

func (*Job) GetIdOk

func (o *Job) GetIdOk() (*string, bool)

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

func (*Job) GetIndirectJobUrl

func (o *Job) GetIndirectJobUrl() string

GetIndirectJobUrl returns the IndirectJobUrl field value

func (*Job) GetIndirectJobUrlOk

func (o *Job) GetIndirectJobUrlOk() (*string, bool)

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

func (*Job) GetIndirectToJobId

func (o *Job) GetIndirectToJobId() string

GetIndirectToJobId returns the IndirectToJobId field value

func (*Job) GetIndirectToJobIdOk

func (o *Job) GetIndirectToJobIdOk() (*string, bool)

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

func (*Job) GetLogDescriptorId

func (o *Job) GetLogDescriptorId() string

GetLogDescriptorId returns the LogDescriptorId field value

func (*Job) GetLogDescriptorIdOk

func (o *Job) GetLogDescriptorIdOk() (*string, bool)

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

func (*Job) GetLogDescriptorUrl

func (o *Job) GetLogDescriptorUrl() string

GetLogDescriptorUrl returns the LogDescriptorUrl field value

func (*Job) GetLogDescriptorUrlOk

func (o *Job) GetLogDescriptorUrlOk() (*string, bool)

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

func (*Job) GetName

func (o *Job) GetName() string

GetName returns the Name field value

func (*Job) GetNameOk

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

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

func (*Job) GetRef

func (o *Job) GetRef() string

GetRef returns the Ref field value

func (*Job) GetRefOk

func (o *Job) GetRefOk() (*string, bool)

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

func (*Job) GetRepoId

func (o *Job) GetRepoId() string

GetRepoId returns the RepoId field value

func (*Job) GetRepoIdOk

func (o *Job) GetRepoIdOk() (*string, bool)

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

func (*Job) GetRunnerId

func (o *Job) GetRunnerId() string

GetRunnerId returns the RunnerId field value

func (*Job) GetRunnerIdOk

func (o *Job) GetRunnerIdOk() (*string, bool)

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

func (*Job) GetRunsOn

func (o *Job) GetRunsOn() []string

GetRunsOn returns the RunsOn field value

func (*Job) GetRunsOnOk

func (o *Job) GetRunsOnOk() ([]string, bool)

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

func (*Job) GetServices

func (o *Job) GetServices() []Service

GetServices returns the Services field value

func (*Job) GetServicesOk

func (o *Job) GetServicesOk() ([]Service, bool)

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

func (*Job) GetStatus

func (o *Job) GetStatus() string

GetStatus returns the Status field value

func (*Job) GetStatusOk

func (o *Job) GetStatusOk() (*string, bool)

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

func (*Job) GetStepExecution

func (o *Job) GetStepExecution() string

GetStepExecution returns the StepExecution field value

func (*Job) GetStepExecutionOk

func (o *Job) GetStepExecutionOk() (*string, bool)

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

func (*Job) GetTimings

func (o *Job) GetTimings() WorkflowTimings

GetTimings returns the Timings field value

func (*Job) GetTimingsOk

func (o *Job) GetTimingsOk() (*WorkflowTimings, bool)

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

func (*Job) GetType

func (o *Job) GetType() string

GetType returns the Type field value

func (*Job) GetTypeOk

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

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

func (*Job) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*Job) GetUpdatedAtOk

func (o *Job) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Job) GetUrl

func (o *Job) GetUrl() string

GetUrl returns the Url field value

func (*Job) GetUrlOk

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

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

func (*Job) GetWorkflow

func (o *Job) GetWorkflow() string

GetWorkflow returns the Workflow field value

func (*Job) GetWorkflowOk

func (o *Job) GetWorkflowOk() (*string, bool)

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

func (*Job) HasArtifacts

func (o *Job) HasArtifacts() bool

HasArtifacts returns a boolean if a field has been set.

func (*Job) HasDeletedAt

func (o *Job) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*Job) HasDocker

func (o *Job) HasDocker() bool

HasDocker returns a boolean if a field has been set.

func (*Job) HasError

func (o *Job) HasError() bool

HasError returns a boolean if a field has been set.

func (*Job) HasFingerprint

func (o *Job) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*Job) HasFingerprintHashType

func (o *Job) HasFingerprintHashType() bool

HasFingerprintHashType returns a boolean if a field has been set.

func (Job) MarshalJSON

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

func (*Job) SetArtifacts

func (o *Job) SetArtifacts(v []ArtifactDefinition)

SetArtifacts gets a reference to the given []ArtifactDefinition and assigns it to the Artifacts field.

func (*Job) SetBuildId

func (o *Job) SetBuildId(v string)

SetBuildId sets field value

func (*Job) SetCommitId

func (o *Job) SetCommitId(v string)

SetCommitId sets field value

func (*Job) SetCreatedAt

func (o *Job) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Job) SetDeletedAt

func (o *Job) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*Job) SetDepends

func (o *Job) SetDepends(v []JobDependency)

SetDepends sets field value

func (*Job) SetDescription

func (o *Job) SetDescription(v string)

SetDescription sets field value

func (*Job) SetDocker

func (o *Job) SetDocker(v DockerConfig)

SetDocker gets a reference to the given DockerConfig and assigns it to the Docker field.

func (*Job) SetEnvironment

func (o *Job) SetEnvironment(v []EnvVar)

SetEnvironment sets field value

func (*Job) SetError

func (o *Job) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Job) SetEtag

func (o *Job) SetEtag(v string)

SetEtag sets field value

func (*Job) SetFingerprint

func (o *Job) SetFingerprint(v string)

SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.

func (*Job) SetFingerprintCommands

func (o *Job) SetFingerprintCommands(v []string)

SetFingerprintCommands sets field value

func (*Job) SetFingerprintHashType

func (o *Job) SetFingerprintHashType(v string)

SetFingerprintHashType gets a reference to the given string and assigns it to the FingerprintHashType field.

func (*Job) SetId

func (o *Job) SetId(v string)

SetId sets field value

func (*Job) SetIndirectJobUrl

func (o *Job) SetIndirectJobUrl(v string)

SetIndirectJobUrl sets field value

func (*Job) SetIndirectToJobId

func (o *Job) SetIndirectToJobId(v string)

SetIndirectToJobId sets field value

func (*Job) SetLogDescriptorId

func (o *Job) SetLogDescriptorId(v string)

SetLogDescriptorId sets field value

func (*Job) SetLogDescriptorUrl

func (o *Job) SetLogDescriptorUrl(v string)

SetLogDescriptorUrl sets field value

func (*Job) SetName

func (o *Job) SetName(v string)

SetName sets field value

func (*Job) SetRef

func (o *Job) SetRef(v string)

SetRef sets field value

func (*Job) SetRepoId

func (o *Job) SetRepoId(v string)

SetRepoId sets field value

func (*Job) SetRunnerId

func (o *Job) SetRunnerId(v string)

SetRunnerId sets field value

func (*Job) SetRunsOn

func (o *Job) SetRunsOn(v []string)

SetRunsOn sets field value

func (*Job) SetServices

func (o *Job) SetServices(v []Service)

SetServices sets field value

func (*Job) SetStatus

func (o *Job) SetStatus(v string)

SetStatus sets field value

func (*Job) SetStepExecution

func (o *Job) SetStepExecution(v string)

SetStepExecution sets field value

func (*Job) SetTimings

func (o *Job) SetTimings(v WorkflowTimings)

SetTimings sets field value

func (*Job) SetType

func (o *Job) SetType(v string)

SetType sets field value

func (*Job) SetUpdatedAt

func (o *Job) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*Job) SetUrl

func (o *Job) SetUrl(v string)

SetUrl sets field value

func (*Job) SetWorkflow

func (o *Job) SetWorkflow(v string)

SetWorkflow sets field value

func (Job) ToMap

func (o Job) ToMap() (map[string]interface{}, error)

func (*Job) UnmarshalJSON

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

type JobDefinition

type JobDefinition struct {
	// Job name. This can optionally include a workflow as a prefix (dot-separated), as an alternative to specifying an explicit 'workflow' element.
	Name string `json:"name"`
	// Workflow the job is a part of. If not specified then the job is part of the default workflow.
	Workflow *string `json:"workflow,omitempty"`
	// Optional human-readable description of the job.
	Description *string `json:"description,omitempty"`
	// Type of the job (e.g. docker, exec etc.)
	Type *string `json:"type,omitempty"`
	// RunsOn contains a set of labels that this job requires runners to have.
	RunsOn []string                `json:"runs_on,omitempty"`
	Docker *DockerConfigDefinition `json:"docker,omitempty"`
	// Determines how the runner will execute steps within this job
	StepExecution string `json:"step_execution"`
	// Dependencies on other jobs and their artifacts (see dependency syntax)
	Depends []string `json:"depends,omitempty"`
	// Services to run in the background for the duration of the job; services are started before the first step is run, and stopped after the last step completes
	Services []ServiceDefinition `json:"services,omitempty"`
	// Shell commands to execute to generate a unique fingerprint for the jobs; two jobs in the same repo with the same name and fingerprint are considered identical
	Fingerprint []string `json:"fingerprint,omitempty"`
	// A list of all artifacts the job is expected to produce that will be saved to the artifact store at the end of the job's execution
	Artifacts []ArtifactDefinition `json:"artifacts,omitempty"`
	// A list of environment variables to export prior to executing the job
	Environment map[string]SecretStringDefinition `json:"environment"`
	// The set of steps within the job
	Steps                []StepDefinition `json:"steps"`
	AdditionalProperties map[string]interface{}
}

JobDefinition struct for JobDefinition

func NewJobDefinition

func NewJobDefinition(name string, stepExecution string, environment map[string]SecretStringDefinition, steps []StepDefinition) *JobDefinition

NewJobDefinition instantiates a new JobDefinition 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 NewJobDefinitionWithDefaults

func NewJobDefinitionWithDefaults() *JobDefinition

NewJobDefinitionWithDefaults instantiates a new JobDefinition 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 (*JobDefinition) GetArtifacts

func (o *JobDefinition) GetArtifacts() []ArtifactDefinition

GetArtifacts returns the Artifacts field value if set, zero value otherwise.

func (*JobDefinition) GetArtifactsOk

func (o *JobDefinition) GetArtifactsOk() ([]ArtifactDefinition, bool)

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

func (*JobDefinition) GetDepends

func (o *JobDefinition) GetDepends() []string

GetDepends returns the Depends field value if set, zero value otherwise.

func (*JobDefinition) GetDependsOk

func (o *JobDefinition) GetDependsOk() ([]string, bool)

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

func (*JobDefinition) GetDescription

func (o *JobDefinition) GetDescription() string

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

func (*JobDefinition) GetDescriptionOk

func (o *JobDefinition) 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 (*JobDefinition) GetDocker

func (o *JobDefinition) GetDocker() DockerConfigDefinition

GetDocker returns the Docker field value if set, zero value otherwise.

func (*JobDefinition) GetDockerOk

func (o *JobDefinition) GetDockerOk() (*DockerConfigDefinition, bool)

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

func (*JobDefinition) GetEnvironment

func (o *JobDefinition) GetEnvironment() map[string]SecretStringDefinition

GetEnvironment returns the Environment field value

func (*JobDefinition) GetEnvironmentOk

func (o *JobDefinition) GetEnvironmentOk() (*map[string]SecretStringDefinition, bool)

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

func (*JobDefinition) GetFingerprint

func (o *JobDefinition) GetFingerprint() []string

GetFingerprint returns the Fingerprint field value if set, zero value otherwise.

func (*JobDefinition) GetFingerprintOk

func (o *JobDefinition) GetFingerprintOk() ([]string, bool)

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

func (*JobDefinition) GetName

func (o *JobDefinition) GetName() string

GetName returns the Name field value

func (*JobDefinition) GetNameOk

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

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

func (*JobDefinition) GetRunsOn

func (o *JobDefinition) GetRunsOn() []string

GetRunsOn returns the RunsOn field value if set, zero value otherwise.

func (*JobDefinition) GetRunsOnOk

func (o *JobDefinition) GetRunsOnOk() ([]string, bool)

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

func (*JobDefinition) GetServices

func (o *JobDefinition) GetServices() []ServiceDefinition

GetServices returns the Services field value if set, zero value otherwise.

func (*JobDefinition) GetServicesOk

func (o *JobDefinition) GetServicesOk() ([]ServiceDefinition, bool)

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

func (*JobDefinition) GetStepExecution

func (o *JobDefinition) GetStepExecution() string

GetStepExecution returns the StepExecution field value

func (*JobDefinition) GetStepExecutionOk

func (o *JobDefinition) GetStepExecutionOk() (*string, bool)

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

func (*JobDefinition) GetSteps

func (o *JobDefinition) GetSteps() []StepDefinition

GetSteps returns the Steps field value

func (*JobDefinition) GetStepsOk

func (o *JobDefinition) GetStepsOk() ([]StepDefinition, bool)

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

func (*JobDefinition) GetType

func (o *JobDefinition) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*JobDefinition) GetTypeOk

func (o *JobDefinition) 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 (*JobDefinition) GetWorkflow

func (o *JobDefinition) GetWorkflow() string

GetWorkflow returns the Workflow field value if set, zero value otherwise.

func (*JobDefinition) GetWorkflowOk

func (o *JobDefinition) GetWorkflowOk() (*string, bool)

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

func (*JobDefinition) HasArtifacts

func (o *JobDefinition) HasArtifacts() bool

HasArtifacts returns a boolean if a field has been set.

func (*JobDefinition) HasDepends

func (o *JobDefinition) HasDepends() bool

HasDepends returns a boolean if a field has been set.

func (*JobDefinition) HasDescription

func (o *JobDefinition) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*JobDefinition) HasDocker

func (o *JobDefinition) HasDocker() bool

HasDocker returns a boolean if a field has been set.

func (*JobDefinition) HasFingerprint

func (o *JobDefinition) HasFingerprint() bool

HasFingerprint returns a boolean if a field has been set.

func (*JobDefinition) HasRunsOn

func (o *JobDefinition) HasRunsOn() bool

HasRunsOn returns a boolean if a field has been set.

func (*JobDefinition) HasServices

func (o *JobDefinition) HasServices() bool

HasServices returns a boolean if a field has been set.

func (*JobDefinition) HasType

func (o *JobDefinition) HasType() bool

HasType returns a boolean if a field has been set.

func (*JobDefinition) HasWorkflow

func (o *JobDefinition) HasWorkflow() bool

HasWorkflow returns a boolean if a field has been set.

func (JobDefinition) MarshalJSON

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

func (*JobDefinition) SetArtifacts

func (o *JobDefinition) SetArtifacts(v []ArtifactDefinition)

SetArtifacts gets a reference to the given []ArtifactDefinition and assigns it to the Artifacts field.

func (*JobDefinition) SetDepends

func (o *JobDefinition) SetDepends(v []string)

SetDepends gets a reference to the given []string and assigns it to the Depends field.

func (*JobDefinition) SetDescription

func (o *JobDefinition) SetDescription(v string)

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

func (*JobDefinition) SetDocker

func (o *JobDefinition) SetDocker(v DockerConfigDefinition)

SetDocker gets a reference to the given DockerConfigDefinition and assigns it to the Docker field.

func (*JobDefinition) SetEnvironment

func (o *JobDefinition) SetEnvironment(v map[string]SecretStringDefinition)

SetEnvironment sets field value

func (*JobDefinition) SetFingerprint

func (o *JobDefinition) SetFingerprint(v []string)

SetFingerprint gets a reference to the given []string and assigns it to the Fingerprint field.

func (*JobDefinition) SetName

func (o *JobDefinition) SetName(v string)

SetName sets field value

func (*JobDefinition) SetRunsOn

func (o *JobDefinition) SetRunsOn(v []string)

SetRunsOn gets a reference to the given []string and assigns it to the RunsOn field.

func (*JobDefinition) SetServices

func (o *JobDefinition) SetServices(v []ServiceDefinition)

SetServices gets a reference to the given []ServiceDefinition and assigns it to the Services field.

func (*JobDefinition) SetStepExecution

func (o *JobDefinition) SetStepExecution(v string)

SetStepExecution sets field value

func (*JobDefinition) SetSteps

func (o *JobDefinition) SetSteps(v []StepDefinition)

SetSteps sets field value

func (*JobDefinition) SetType

func (o *JobDefinition) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*JobDefinition) SetWorkflow

func (o *JobDefinition) SetWorkflow(v string)

SetWorkflow gets a reference to the given string and assigns it to the Workflow field.

func (JobDefinition) ToMap

func (o JobDefinition) ToMap() (map[string]interface{}, error)

func (*JobDefinition) UnmarshalJSON

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

type JobDependency

type JobDependency struct {
	// The name of the workflow containing the job that must complete, or an empty string for the default workflow.
	Workflow string `json:"workflow"`
	// The name of the job that must complete.
	JobName string `json:"job_name"`
	// The set of artifacts required from the job that must complete.
	ArtifactDependencies []ArtifactDependency `json:"artifact_dependencies"`
	AdditionalProperties map[string]interface{}
}

JobDependency struct for JobDependency

func NewJobDependency

func NewJobDependency(workflow string, jobName string, artifactDependencies []ArtifactDependency) *JobDependency

NewJobDependency instantiates a new JobDependency 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 NewJobDependencyWithDefaults

func NewJobDependencyWithDefaults() *JobDependency

NewJobDependencyWithDefaults instantiates a new JobDependency 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 (*JobDependency) GetArtifactDependencies

func (o *JobDependency) GetArtifactDependencies() []ArtifactDependency

GetArtifactDependencies returns the ArtifactDependencies field value

func (*JobDependency) GetArtifactDependenciesOk

func (o *JobDependency) GetArtifactDependenciesOk() ([]ArtifactDependency, bool)

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

func (*JobDependency) GetJobName

func (o *JobDependency) GetJobName() string

GetJobName returns the JobName field value

func (*JobDependency) GetJobNameOk

func (o *JobDependency) GetJobNameOk() (*string, bool)

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

func (*JobDependency) GetWorkflow

func (o *JobDependency) GetWorkflow() string

GetWorkflow returns the Workflow field value

func (*JobDependency) GetWorkflowOk

func (o *JobDependency) GetWorkflowOk() (*string, bool)

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

func (JobDependency) MarshalJSON

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

func (*JobDependency) SetArtifactDependencies

func (o *JobDependency) SetArtifactDependencies(v []ArtifactDependency)

SetArtifactDependencies sets field value

func (*JobDependency) SetJobName

func (o *JobDependency) SetJobName(v string)

SetJobName sets field value

func (*JobDependency) SetWorkflow

func (o *JobDependency) SetWorkflow(v string)

SetWorkflow sets field value

func (JobDependency) ToMap

func (o JobDependency) ToMap() (map[string]interface{}, error)

func (*JobDependency) UnmarshalJSON

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

type JobGraph

type JobGraph struct {
	Job Job `json:"job"`
	// The set of steps within the job
	Steps                []Step `json:"steps"`
	AdditionalProperties map[string]interface{}
}

JobGraph struct for JobGraph

func NewJobGraph

func NewJobGraph(job Job, steps []Step) *JobGraph

NewJobGraph instantiates a new JobGraph 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 NewJobGraphWithDefaults

func NewJobGraphWithDefaults() *JobGraph

NewJobGraphWithDefaults instantiates a new JobGraph 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 (*JobGraph) GetJob

func (o *JobGraph) GetJob() Job

GetJob returns the Job field value

func (*JobGraph) GetJobOk

func (o *JobGraph) GetJobOk() (*Job, bool)

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

func (*JobGraph) GetSteps

func (o *JobGraph) GetSteps() []Step

GetSteps returns the Steps field value

func (*JobGraph) GetStepsOk

func (o *JobGraph) GetStepsOk() ([]Step, bool)

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

func (JobGraph) MarshalJSON

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

func (*JobGraph) SetJob

func (o *JobGraph) SetJob(v Job)

SetJob sets field value

func (*JobGraph) SetSteps

func (o *JobGraph) SetSteps(v []Step)

SetSteps sets field value

func (JobGraph) ToMap

func (o JobGraph) ToMap() (map[string]interface{}, error)

func (*JobGraph) UnmarshalJSON

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

type JobsApiService

type JobsApiService service

JobsApiService JobsApi service

func (*JobsApiService) CreateJobs

func (a *JobsApiService) CreateJobs(ctx context.Context, buildId string) ApiCreateJobsRequest

CreateJobs Creates and add a set of jobs to a build.

Dynamically adds a new set of jobs to a build. These jobs can reference each other and all previously submitted jobs for the build, and together form the DAG for the build.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param buildId The ID of the build to which these jobs will be added
@return ApiCreateJobsRequest

func (*JobsApiService) CreateJobsExecute

func (a *JobsApiService) CreateJobsExecute(r ApiCreateJobsRequest) ([]JobGraph, *http.Response, error)

Execute executes the request

@return []JobGraph

type LogDescriptor

type LogDescriptor struct {
	// A link to the Log Descriptor on the BuildBeaver server
	Url       string    `json:"url"`
	Id        string    `json:"id"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	Etag      string    `json:"etag"`
	// The ID of the log descriptor that this one is nested within.
	ParentLogId string `json:"parent_log_id"`
	// The ID of the resource that this log belongs to.
	ResourceId string `json:"resource_id"`
	// Sealed is set to true when the log is completed and has become immutable.
	Sealed bool `json:"sealed"`
	// The size of the log, in bytes, calculated and set at the time the log is sealed.
	SizeBytes int64 `json:"size_bytes"`
	// URL to use for fetching the log data.
	DataUrl              string `json:"data_url"`
	AdditionalProperties map[string]interface{}
}

LogDescriptor struct for LogDescriptor

func NewLogDescriptor

func NewLogDescriptor(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, parentLogId string, resourceId string, sealed bool, sizeBytes int64, dataUrl string) *LogDescriptor

NewLogDescriptor instantiates a new LogDescriptor 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 NewLogDescriptorWithDefaults

func NewLogDescriptorWithDefaults() *LogDescriptor

NewLogDescriptorWithDefaults instantiates a new LogDescriptor 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 (*LogDescriptor) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*LogDescriptor) GetCreatedAtOk

func (o *LogDescriptor) GetCreatedAtOk() (*time.Time, bool)

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

func (*LogDescriptor) GetDataUrl

func (o *LogDescriptor) GetDataUrl() string

GetDataUrl returns the DataUrl field value

func (*LogDescriptor) GetDataUrlOk

func (o *LogDescriptor) GetDataUrlOk() (*string, bool)

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

func (*LogDescriptor) GetEtag

func (o *LogDescriptor) GetEtag() string

GetEtag returns the Etag field value

func (*LogDescriptor) GetEtagOk

func (o *LogDescriptor) GetEtagOk() (*string, bool)

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

func (*LogDescriptor) GetId

func (o *LogDescriptor) GetId() string

GetId returns the Id field value

func (*LogDescriptor) GetIdOk

func (o *LogDescriptor) GetIdOk() (*string, bool)

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

func (*LogDescriptor) GetParentLogId

func (o *LogDescriptor) GetParentLogId() string

GetParentLogId returns the ParentLogId field value

func (*LogDescriptor) GetParentLogIdOk

func (o *LogDescriptor) GetParentLogIdOk() (*string, bool)

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

func (*LogDescriptor) GetResourceId

func (o *LogDescriptor) GetResourceId() string

GetResourceId returns the ResourceId field value

func (*LogDescriptor) GetResourceIdOk

func (o *LogDescriptor) GetResourceIdOk() (*string, bool)

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

func (*LogDescriptor) GetSealed

func (o *LogDescriptor) GetSealed() bool

GetSealed returns the Sealed field value

func (*LogDescriptor) GetSealedOk

func (o *LogDescriptor) GetSealedOk() (*bool, bool)

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

func (*LogDescriptor) GetSizeBytes

func (o *LogDescriptor) GetSizeBytes() int64

GetSizeBytes returns the SizeBytes field value

func (*LogDescriptor) GetSizeBytesOk

func (o *LogDescriptor) GetSizeBytesOk() (*int64, bool)

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

func (*LogDescriptor) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*LogDescriptor) GetUpdatedAtOk

func (o *LogDescriptor) GetUpdatedAtOk() (*time.Time, bool)

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

func (*LogDescriptor) GetUrl

func (o *LogDescriptor) GetUrl() string

GetUrl returns the Url field value

func (*LogDescriptor) GetUrlOk

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

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

func (LogDescriptor) MarshalJSON

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

func (*LogDescriptor) SetCreatedAt

func (o *LogDescriptor) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*LogDescriptor) SetDataUrl

func (o *LogDescriptor) SetDataUrl(v string)

SetDataUrl sets field value

func (*LogDescriptor) SetEtag

func (o *LogDescriptor) SetEtag(v string)

SetEtag sets field value

func (*LogDescriptor) SetId

func (o *LogDescriptor) SetId(v string)

SetId sets field value

func (*LogDescriptor) SetParentLogId

func (o *LogDescriptor) SetParentLogId(v string)

SetParentLogId sets field value

func (*LogDescriptor) SetResourceId

func (o *LogDescriptor) SetResourceId(v string)

SetResourceId sets field value

func (*LogDescriptor) SetSealed

func (o *LogDescriptor) SetSealed(v bool)

SetSealed sets field value

func (*LogDescriptor) SetSizeBytes

func (o *LogDescriptor) SetSizeBytes(v int64)

SetSizeBytes sets field value

func (*LogDescriptor) SetUpdatedAt

func (o *LogDescriptor) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*LogDescriptor) SetUrl

func (o *LogDescriptor) SetUrl(v string)

SetUrl sets field value

func (LogDescriptor) ToMap

func (o LogDescriptor) ToMap() (map[string]interface{}, error)

func (*LogDescriptor) UnmarshalJSON

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NodeFQN

type NodeFQN struct {
	WorkflowName         string `json:"workflow_name"`
	JobName              string `json:"job_name"`
	StepName             string `json:"step_name"`
	AdditionalProperties map[string]interface{}
}

NodeFQN struct for NodeFQN

func NewNodeFQN

func NewNodeFQN(workflowName string, jobName string, stepName string) *NodeFQN

NewNodeFQN instantiates a new NodeFQN 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 NewNodeFQNWithDefaults

func NewNodeFQNWithDefaults() *NodeFQN

NewNodeFQNWithDefaults instantiates a new NodeFQN 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 (*NodeFQN) GetJobName

func (o *NodeFQN) GetJobName() string

GetJobName returns the JobName field value

func (*NodeFQN) GetJobNameOk

func (o *NodeFQN) GetJobNameOk() (*string, bool)

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

func (*NodeFQN) GetStepName

func (o *NodeFQN) GetStepName() string

GetStepName returns the StepName field value

func (*NodeFQN) GetStepNameOk

func (o *NodeFQN) GetStepNameOk() (*string, bool)

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

func (*NodeFQN) GetWorkflowName

func (o *NodeFQN) GetWorkflowName() string

GetWorkflowName returns the WorkflowName field value

func (*NodeFQN) GetWorkflowNameOk

func (o *NodeFQN) GetWorkflowNameOk() (*string, bool)

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

func (NodeFQN) MarshalJSON

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

func (*NodeFQN) SetJobName

func (o *NodeFQN) SetJobName(v string)

SetJobName sets field value

func (*NodeFQN) SetStepName

func (o *NodeFQN) SetStepName(v string)

SetStepName sets field value

func (*NodeFQN) SetWorkflowName

func (o *NodeFQN) SetWorkflowName(v string)

SetWorkflowName sets field value

func (NodeFQN) ToMap

func (o NodeFQN) ToMap() (map[string]interface{}, error)

func (*NodeFQN) UnmarshalJSON

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

type NullableArtifact

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

func NewNullableArtifact

func NewNullableArtifact(val *Artifact) *NullableArtifact

func (NullableArtifact) Get

func (v NullableArtifact) Get() *Artifact

func (NullableArtifact) IsSet

func (v NullableArtifact) IsSet() bool

func (NullableArtifact) MarshalJSON

func (v NullableArtifact) MarshalJSON() ([]byte, error)

func (*NullableArtifact) Set

func (v *NullableArtifact) Set(val *Artifact)

func (*NullableArtifact) UnmarshalJSON

func (v *NullableArtifact) UnmarshalJSON(src []byte) error

func (*NullableArtifact) Unset

func (v *NullableArtifact) Unset()

type NullableArtifactDefinition

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

func NewNullableArtifactDefinition

func NewNullableArtifactDefinition(val *ArtifactDefinition) *NullableArtifactDefinition

func (NullableArtifactDefinition) Get

func (NullableArtifactDefinition) IsSet

func (v NullableArtifactDefinition) IsSet() bool

func (NullableArtifactDefinition) MarshalJSON

func (v NullableArtifactDefinition) MarshalJSON() ([]byte, error)

func (*NullableArtifactDefinition) Set

func (*NullableArtifactDefinition) UnmarshalJSON

func (v *NullableArtifactDefinition) UnmarshalJSON(src []byte) error

func (*NullableArtifactDefinition) Unset

func (v *NullableArtifactDefinition) Unset()

type NullableArtifactDependency

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

func NewNullableArtifactDependency

func NewNullableArtifactDependency(val *ArtifactDependency) *NullableArtifactDependency

func (NullableArtifactDependency) Get

func (NullableArtifactDependency) IsSet

func (v NullableArtifactDependency) IsSet() bool

func (NullableArtifactDependency) MarshalJSON

func (v NullableArtifactDependency) MarshalJSON() ([]byte, error)

func (*NullableArtifactDependency) Set

func (*NullableArtifactDependency) UnmarshalJSON

func (v *NullableArtifactDependency) UnmarshalJSON(src []byte) error

func (*NullableArtifactDependency) Unset

func (v *NullableArtifactDependency) Unset()

type NullableArtifactsPaginatedResponse

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

func (NullableArtifactsPaginatedResponse) Get

func (NullableArtifactsPaginatedResponse) IsSet

func (NullableArtifactsPaginatedResponse) MarshalJSON

func (v NullableArtifactsPaginatedResponse) MarshalJSON() ([]byte, error)

func (*NullableArtifactsPaginatedResponse) Set

func (*NullableArtifactsPaginatedResponse) UnmarshalJSON

func (v *NullableArtifactsPaginatedResponse) UnmarshalJSON(src []byte) error

func (*NullableArtifactsPaginatedResponse) 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 NullableBuild

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

func NewNullableBuild

func NewNullableBuild(val *Build) *NullableBuild

func (NullableBuild) Get

func (v NullableBuild) Get() *Build

func (NullableBuild) IsSet

func (v NullableBuild) IsSet() bool

func (NullableBuild) MarshalJSON

func (v NullableBuild) MarshalJSON() ([]byte, error)

func (*NullableBuild) Set

func (v *NullableBuild) Set(val *Build)

func (*NullableBuild) UnmarshalJSON

func (v *NullableBuild) UnmarshalJSON(src []byte) error

func (*NullableBuild) Unset

func (v *NullableBuild) Unset()

type NullableBuildDefinition

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

func NewNullableBuildDefinition

func NewNullableBuildDefinition(val *BuildDefinition) *NullableBuildDefinition

func (NullableBuildDefinition) Get

func (NullableBuildDefinition) IsSet

func (v NullableBuildDefinition) IsSet() bool

func (NullableBuildDefinition) MarshalJSON

func (v NullableBuildDefinition) MarshalJSON() ([]byte, error)

func (*NullableBuildDefinition) Set

func (*NullableBuildDefinition) UnmarshalJSON

func (v *NullableBuildDefinition) UnmarshalJSON(src []byte) error

func (*NullableBuildDefinition) Unset

func (v *NullableBuildDefinition) Unset()

type NullableBuildGraph

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

func NewNullableBuildGraph

func NewNullableBuildGraph(val *BuildGraph) *NullableBuildGraph

func (NullableBuildGraph) Get

func (v NullableBuildGraph) Get() *BuildGraph

func (NullableBuildGraph) IsSet

func (v NullableBuildGraph) IsSet() bool

func (NullableBuildGraph) MarshalJSON

func (v NullableBuildGraph) MarshalJSON() ([]byte, error)

func (*NullableBuildGraph) Set

func (v *NullableBuildGraph) Set(val *BuildGraph)

func (*NullableBuildGraph) UnmarshalJSON

func (v *NullableBuildGraph) UnmarshalJSON(src []byte) error

func (*NullableBuildGraph) Unset

func (v *NullableBuildGraph) Unset()

type NullableBuildOptions

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

func NewNullableBuildOptions

func NewNullableBuildOptions(val *BuildOptions) *NullableBuildOptions

func (NullableBuildOptions) Get

func (NullableBuildOptions) IsSet

func (v NullableBuildOptions) IsSet() bool

func (NullableBuildOptions) MarshalJSON

func (v NullableBuildOptions) MarshalJSON() ([]byte, error)

func (*NullableBuildOptions) Set

func (v *NullableBuildOptions) Set(val *BuildOptions)

func (*NullableBuildOptions) UnmarshalJSON

func (v *NullableBuildOptions) UnmarshalJSON(src []byte) error

func (*NullableBuildOptions) Unset

func (v *NullableBuildOptions) 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 NullableDockerAWSAuth

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

func NewNullableDockerAWSAuth

func NewNullableDockerAWSAuth(val *DockerAWSAuth) *NullableDockerAWSAuth

func (NullableDockerAWSAuth) Get

func (NullableDockerAWSAuth) IsSet

func (v NullableDockerAWSAuth) IsSet() bool

func (NullableDockerAWSAuth) MarshalJSON

func (v NullableDockerAWSAuth) MarshalJSON() ([]byte, error)

func (*NullableDockerAWSAuth) Set

func (v *NullableDockerAWSAuth) Set(val *DockerAWSAuth)

func (*NullableDockerAWSAuth) UnmarshalJSON

func (v *NullableDockerAWSAuth) UnmarshalJSON(src []byte) error

func (*NullableDockerAWSAuth) Unset

func (v *NullableDockerAWSAuth) Unset()

type NullableDockerAWSAuthDefinition

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

func (NullableDockerAWSAuthDefinition) Get

func (NullableDockerAWSAuthDefinition) IsSet

func (NullableDockerAWSAuthDefinition) MarshalJSON

func (v NullableDockerAWSAuthDefinition) MarshalJSON() ([]byte, error)

func (*NullableDockerAWSAuthDefinition) Set

func (*NullableDockerAWSAuthDefinition) UnmarshalJSON

func (v *NullableDockerAWSAuthDefinition) UnmarshalJSON(src []byte) error

func (*NullableDockerAWSAuthDefinition) Unset

type NullableDockerBasicAuth

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

func NewNullableDockerBasicAuth

func NewNullableDockerBasicAuth(val *DockerBasicAuth) *NullableDockerBasicAuth

func (NullableDockerBasicAuth) Get

func (NullableDockerBasicAuth) IsSet

func (v NullableDockerBasicAuth) IsSet() bool

func (NullableDockerBasicAuth) MarshalJSON

func (v NullableDockerBasicAuth) MarshalJSON() ([]byte, error)

func (*NullableDockerBasicAuth) Set

func (*NullableDockerBasicAuth) UnmarshalJSON

func (v *NullableDockerBasicAuth) UnmarshalJSON(src []byte) error

func (*NullableDockerBasicAuth) Unset

func (v *NullableDockerBasicAuth) Unset()

type NullableDockerBasicAuthDefinition

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

func (NullableDockerBasicAuthDefinition) Get

func (NullableDockerBasicAuthDefinition) IsSet

func (NullableDockerBasicAuthDefinition) MarshalJSON

func (v NullableDockerBasicAuthDefinition) MarshalJSON() ([]byte, error)

func (*NullableDockerBasicAuthDefinition) Set

func (*NullableDockerBasicAuthDefinition) UnmarshalJSON

func (v *NullableDockerBasicAuthDefinition) UnmarshalJSON(src []byte) error

func (*NullableDockerBasicAuthDefinition) Unset

type NullableDockerConfig

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

func NewNullableDockerConfig

func NewNullableDockerConfig(val *DockerConfig) *NullableDockerConfig

func (NullableDockerConfig) Get

func (NullableDockerConfig) IsSet

func (v NullableDockerConfig) IsSet() bool

func (NullableDockerConfig) MarshalJSON

func (v NullableDockerConfig) MarshalJSON() ([]byte, error)

func (*NullableDockerConfig) Set

func (v *NullableDockerConfig) Set(val *DockerConfig)

func (*NullableDockerConfig) UnmarshalJSON

func (v *NullableDockerConfig) UnmarshalJSON(src []byte) error

func (*NullableDockerConfig) Unset

func (v *NullableDockerConfig) Unset()

type NullableDockerConfigDefinition

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

func (NullableDockerConfigDefinition) Get

func (NullableDockerConfigDefinition) IsSet

func (NullableDockerConfigDefinition) MarshalJSON

func (v NullableDockerConfigDefinition) MarshalJSON() ([]byte, error)

func (*NullableDockerConfigDefinition) Set

func (*NullableDockerConfigDefinition) UnmarshalJSON

func (v *NullableDockerConfigDefinition) UnmarshalJSON(src []byte) error

func (*NullableDockerConfigDefinition) Unset

func (v *NullableDockerConfigDefinition) Unset()

type NullableEnvVar

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

func NewNullableEnvVar

func NewNullableEnvVar(val *EnvVar) *NullableEnvVar

func (NullableEnvVar) Get

func (v NullableEnvVar) Get() *EnvVar

func (NullableEnvVar) IsSet

func (v NullableEnvVar) IsSet() bool

func (NullableEnvVar) MarshalJSON

func (v NullableEnvVar) MarshalJSON() ([]byte, error)

func (*NullableEnvVar) Set

func (v *NullableEnvVar) Set(val *EnvVar)

func (*NullableEnvVar) UnmarshalJSON

func (v *NullableEnvVar) UnmarshalJSON(src []byte) error

func (*NullableEnvVar) Unset

func (v *NullableEnvVar) Unset()

type NullableEvent

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

func NewNullableEvent

func NewNullableEvent(val *Event) *NullableEvent

func (NullableEvent) Get

func (v NullableEvent) Get() *Event

func (NullableEvent) IsSet

func (v NullableEvent) IsSet() bool

func (NullableEvent) MarshalJSON

func (v NullableEvent) MarshalJSON() ([]byte, error)

func (*NullableEvent) Set

func (v *NullableEvent) Set(val *Event)

func (*NullableEvent) UnmarshalJSON

func (v *NullableEvent) UnmarshalJSON(src []byte) error

func (*NullableEvent) Unset

func (v *NullableEvent) Unset()

type NullableExternalResourceID

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

func NewNullableExternalResourceID

func NewNullableExternalResourceID(val *ExternalResourceID) *NullableExternalResourceID

func (NullableExternalResourceID) Get

func (NullableExternalResourceID) IsSet

func (v NullableExternalResourceID) IsSet() bool

func (NullableExternalResourceID) MarshalJSON

func (v NullableExternalResourceID) MarshalJSON() ([]byte, error)

func (*NullableExternalResourceID) Set

func (*NullableExternalResourceID) UnmarshalJSON

func (v *NullableExternalResourceID) UnmarshalJSON(src []byte) error

func (*NullableExternalResourceID) Unset

func (v *NullableExternalResourceID) 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 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 NullableJob

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

func NewNullableJob

func NewNullableJob(val *Job) *NullableJob

func (NullableJob) Get

func (v NullableJob) Get() *Job

func (NullableJob) IsSet

func (v NullableJob) IsSet() bool

func (NullableJob) MarshalJSON

func (v NullableJob) MarshalJSON() ([]byte, error)

func (*NullableJob) Set

func (v *NullableJob) Set(val *Job)

func (*NullableJob) UnmarshalJSON

func (v *NullableJob) UnmarshalJSON(src []byte) error

func (*NullableJob) Unset

func (v *NullableJob) Unset()

type NullableJobDefinition

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

func NewNullableJobDefinition

func NewNullableJobDefinition(val *JobDefinition) *NullableJobDefinition

func (NullableJobDefinition) Get

func (NullableJobDefinition) IsSet

func (v NullableJobDefinition) IsSet() bool

func (NullableJobDefinition) MarshalJSON

func (v NullableJobDefinition) MarshalJSON() ([]byte, error)

func (*NullableJobDefinition) Set

func (v *NullableJobDefinition) Set(val *JobDefinition)

func (*NullableJobDefinition) UnmarshalJSON

func (v *NullableJobDefinition) UnmarshalJSON(src []byte) error

func (*NullableJobDefinition) Unset

func (v *NullableJobDefinition) Unset()

type NullableJobDependency

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

func NewNullableJobDependency

func NewNullableJobDependency(val *JobDependency) *NullableJobDependency

func (NullableJobDependency) Get

func (NullableJobDependency) IsSet

func (v NullableJobDependency) IsSet() bool

func (NullableJobDependency) MarshalJSON

func (v NullableJobDependency) MarshalJSON() ([]byte, error)

func (*NullableJobDependency) Set

func (v *NullableJobDependency) Set(val *JobDependency)

func (*NullableJobDependency) UnmarshalJSON

func (v *NullableJobDependency) UnmarshalJSON(src []byte) error

func (*NullableJobDependency) Unset

func (v *NullableJobDependency) Unset()

type NullableJobGraph

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

func NewNullableJobGraph

func NewNullableJobGraph(val *JobGraph) *NullableJobGraph

func (NullableJobGraph) Get

func (v NullableJobGraph) Get() *JobGraph

func (NullableJobGraph) IsSet

func (v NullableJobGraph) IsSet() bool

func (NullableJobGraph) MarshalJSON

func (v NullableJobGraph) MarshalJSON() ([]byte, error)

func (*NullableJobGraph) Set

func (v *NullableJobGraph) Set(val *JobGraph)

func (*NullableJobGraph) UnmarshalJSON

func (v *NullableJobGraph) UnmarshalJSON(src []byte) error

func (*NullableJobGraph) Unset

func (v *NullableJobGraph) Unset()

type NullableLogDescriptor

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

func NewNullableLogDescriptor

func NewNullableLogDescriptor(val *LogDescriptor) *NullableLogDescriptor

func (NullableLogDescriptor) Get

func (NullableLogDescriptor) IsSet

func (v NullableLogDescriptor) IsSet() bool

func (NullableLogDescriptor) MarshalJSON

func (v NullableLogDescriptor) MarshalJSON() ([]byte, error)

func (*NullableLogDescriptor) Set

func (v *NullableLogDescriptor) Set(val *LogDescriptor)

func (*NullableLogDescriptor) UnmarshalJSON

func (v *NullableLogDescriptor) UnmarshalJSON(src []byte) error

func (*NullableLogDescriptor) Unset

func (v *NullableLogDescriptor) Unset()

type NullableNodeFQN

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

func NewNullableNodeFQN

func NewNullableNodeFQN(val *NodeFQN) *NullableNodeFQN

func (NullableNodeFQN) Get

func (v NullableNodeFQN) Get() *NodeFQN

func (NullableNodeFQN) IsSet

func (v NullableNodeFQN) IsSet() bool

func (NullableNodeFQN) MarshalJSON

func (v NullableNodeFQN) MarshalJSON() ([]byte, error)

func (*NullableNodeFQN) Set

func (v *NullableNodeFQN) Set(val *NodeFQN)

func (*NullableNodeFQN) UnmarshalJSON

func (v *NullableNodeFQN) UnmarshalJSON(src []byte) error

func (*NullableNodeFQN) Unset

func (v *NullableNodeFQN) Unset()

type NullableRepo

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

func NewNullableRepo

func NewNullableRepo(val *Repo) *NullableRepo

func (NullableRepo) Get

func (v NullableRepo) Get() *Repo

func (NullableRepo) IsSet

func (v NullableRepo) IsSet() bool

func (NullableRepo) MarshalJSON

func (v NullableRepo) MarshalJSON() ([]byte, error)

func (*NullableRepo) Set

func (v *NullableRepo) Set(val *Repo)

func (*NullableRepo) UnmarshalJSON

func (v *NullableRepo) UnmarshalJSON(src []byte) error

func (*NullableRepo) Unset

func (v *NullableRepo) Unset()

type NullableRunnerApiEndpoints

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

func NewNullableRunnerApiEndpoints

func NewNullableRunnerApiEndpoints(val *RunnerApiEndpoints) *NullableRunnerApiEndpoints

func (NullableRunnerApiEndpoints) Get

func (NullableRunnerApiEndpoints) IsSet

func (v NullableRunnerApiEndpoints) IsSet() bool

func (NullableRunnerApiEndpoints) MarshalJSON

func (v NullableRunnerApiEndpoints) MarshalJSON() ([]byte, error)

func (*NullableRunnerApiEndpoints) Set

func (*NullableRunnerApiEndpoints) UnmarshalJSON

func (v *NullableRunnerApiEndpoints) UnmarshalJSON(src []byte) error

func (*NullableRunnerApiEndpoints) Unset

func (v *NullableRunnerApiEndpoints) Unset()

type NullableSecretString

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

func NewNullableSecretString

func NewNullableSecretString(val *SecretString) *NullableSecretString

func (NullableSecretString) Get

func (NullableSecretString) IsSet

func (v NullableSecretString) IsSet() bool

func (NullableSecretString) MarshalJSON

func (v NullableSecretString) MarshalJSON() ([]byte, error)

func (*NullableSecretString) Set

func (v *NullableSecretString) Set(val *SecretString)

func (*NullableSecretString) UnmarshalJSON

func (v *NullableSecretString) UnmarshalJSON(src []byte) error

func (*NullableSecretString) Unset

func (v *NullableSecretString) Unset()

type NullableSecretStringDefinition

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

func (NullableSecretStringDefinition) Get

func (NullableSecretStringDefinition) IsSet

func (NullableSecretStringDefinition) MarshalJSON

func (v NullableSecretStringDefinition) MarshalJSON() ([]byte, error)

func (*NullableSecretStringDefinition) Set

func (*NullableSecretStringDefinition) UnmarshalJSON

func (v *NullableSecretStringDefinition) UnmarshalJSON(src []byte) error

func (*NullableSecretStringDefinition) Unset

func (v *NullableSecretStringDefinition) Unset()

type NullableService

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

func NewNullableService

func NewNullableService(val *Service) *NullableService

func (NullableService) Get

func (v NullableService) Get() *Service

func (NullableService) IsSet

func (v NullableService) IsSet() bool

func (NullableService) MarshalJSON

func (v NullableService) MarshalJSON() ([]byte, error)

func (*NullableService) Set

func (v *NullableService) Set(val *Service)

func (*NullableService) UnmarshalJSON

func (v *NullableService) UnmarshalJSON(src []byte) error

func (*NullableService) Unset

func (v *NullableService) Unset()

type NullableServiceDefinition

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

func NewNullableServiceDefinition

func NewNullableServiceDefinition(val *ServiceDefinition) *NullableServiceDefinition

func (NullableServiceDefinition) Get

func (NullableServiceDefinition) IsSet

func (v NullableServiceDefinition) IsSet() bool

func (NullableServiceDefinition) MarshalJSON

func (v NullableServiceDefinition) MarshalJSON() ([]byte, error)

func (*NullableServiceDefinition) Set

func (*NullableServiceDefinition) UnmarshalJSON

func (v *NullableServiceDefinition) UnmarshalJSON(src []byte) error

func (*NullableServiceDefinition) Unset

func (v *NullableServiceDefinition) Unset()

type NullableStep

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

func NewNullableStep

func NewNullableStep(val *Step) *NullableStep

func (NullableStep) Get

func (v NullableStep) Get() *Step

func (NullableStep) IsSet

func (v NullableStep) IsSet() bool

func (NullableStep) MarshalJSON

func (v NullableStep) MarshalJSON() ([]byte, error)

func (*NullableStep) Set

func (v *NullableStep) Set(val *Step)

func (*NullableStep) UnmarshalJSON

func (v *NullableStep) UnmarshalJSON(src []byte) error

func (*NullableStep) Unset

func (v *NullableStep) Unset()

type NullableStepDefinition

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

func NewNullableStepDefinition

func NewNullableStepDefinition(val *StepDefinition) *NullableStepDefinition

func (NullableStepDefinition) Get

func (NullableStepDefinition) IsSet

func (v NullableStepDefinition) IsSet() bool

func (NullableStepDefinition) MarshalJSON

func (v NullableStepDefinition) MarshalJSON() ([]byte, error)

func (*NullableStepDefinition) Set

func (*NullableStepDefinition) UnmarshalJSON

func (v *NullableStepDefinition) UnmarshalJSON(src []byte) error

func (*NullableStepDefinition) Unset

func (v *NullableStepDefinition) Unset()

type NullableStepDependency

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

func NewNullableStepDependency

func NewNullableStepDependency(val *StepDependency) *NullableStepDependency

func (NullableStepDependency) Get

func (NullableStepDependency) IsSet

func (v NullableStepDependency) IsSet() bool

func (NullableStepDependency) MarshalJSON

func (v NullableStepDependency) MarshalJSON() ([]byte, error)

func (*NullableStepDependency) Set

func (*NullableStepDependency) UnmarshalJSON

func (v *NullableStepDependency) UnmarshalJSON(src []byte) error

func (*NullableStepDependency) Unset

func (v *NullableStepDependency) 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 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 NullableWorkflowTimings

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

func NewNullableWorkflowTimings

func NewNullableWorkflowTimings(val *WorkflowTimings) *NullableWorkflowTimings

func (NullableWorkflowTimings) Get

func (NullableWorkflowTimings) IsSet

func (v NullableWorkflowTimings) IsSet() bool

func (NullableWorkflowTimings) MarshalJSON

func (v NullableWorkflowTimings) MarshalJSON() ([]byte, error)

func (*NullableWorkflowTimings) Set

func (*NullableWorkflowTimings) UnmarshalJSON

func (v *NullableWorkflowTimings) UnmarshalJSON(src []byte) error

func (*NullableWorkflowTimings) Unset

func (v *NullableWorkflowTimings) Unset()

type Repo

type Repo struct {
	// A link to the Repo resource on the BuildBeaver server.
	Url       string     `json:"url"`
	Id        string     `json:"id"`
	CreatedAt time.Time  `json:"created_at"`
	UpdatedAt time.Time  `json:"updated_at"`
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	Etag      string     `json:"etag"`
	// Name of the repo.
	Name string `json:"name"`
	// A description of the repo, taken from the Source Control Management system (e.g. GitHub).
	Description string `json:"description"`
	// The ID of the Legal Entity (person or company) that owns this repo.
	LegalEntityId string `json:"legal_entity_id"`
	// The URL of this repo on the Source Control Management system (e.g. GitHub) for SSH access to the repo.
	SshUrl string `json:"ssh_url"`
	// The URL of this repo on the Source Control Management system (e.g. GitHub) for HTTP access to the repo.
	HttpUrl string `json:"http_url"`
	// A link (URL) to the Repo on the Web, for users to browse to.
	Link string `json:"link"`
	// The name of the default branch on this repo (typically 'main' or 'master')
	DefaultBranch string `json:"default_branch"`
	// True if this is a private repo, false if it is public.
	Private bool `json:"private"`
	// True if builds are enabled for this repo.
	Enabled bool `json:"enabled"`
	// The ID of the secret containing the SSH key to use to check out code from the repo.
	SshKeySecretId *string             `json:"ssh_key_secret_id,omitempty"`
	ExternalId     *ExternalResourceID `json:"external_id,omitempty"`
	// Extra information relating to the repo in the Source Control Management system (e.g. GitHub). The exact information stored here will depend on which SCM contains the repo.
	ExternalMetadata string `json:"external_metadata"`
	// URL to fetch a list of builds for this repo.
	BuildsUrl string `json:"builds_url"`
	// URL to search for specific builds for this repo.
	BuildSearchUrl string `json:"build_search_url"`
	// URL to fetch secrets for this repo (subject to access control).
	SecretsUrl           string `json:"secrets_url"`
	AdditionalProperties map[string]interface{}
}

Repo struct for Repo

func NewRepo

func NewRepo(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, description string, legalEntityId string, sshUrl string, httpUrl string, link string, defaultBranch string, private bool, enabled bool, externalMetadata string, buildsUrl string, buildSearchUrl string, secretsUrl string) *Repo

NewRepo instantiates a new Repo 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 NewRepoWithDefaults

func NewRepoWithDefaults() *Repo

NewRepoWithDefaults instantiates a new Repo 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 (*Repo) GetBuildSearchUrl

func (o *Repo) GetBuildSearchUrl() string

GetBuildSearchUrl returns the BuildSearchUrl field value

func (*Repo) GetBuildSearchUrlOk

func (o *Repo) GetBuildSearchUrlOk() (*string, bool)

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

func (*Repo) GetBuildsUrl

func (o *Repo) GetBuildsUrl() string

GetBuildsUrl returns the BuildsUrl field value

func (*Repo) GetBuildsUrlOk

func (o *Repo) GetBuildsUrlOk() (*string, bool)

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

func (*Repo) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Repo) GetCreatedAtOk

func (o *Repo) GetCreatedAtOk() (*time.Time, bool)

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

func (*Repo) GetDefaultBranch

func (o *Repo) GetDefaultBranch() string

GetDefaultBranch returns the DefaultBranch field value

func (*Repo) GetDefaultBranchOk

func (o *Repo) GetDefaultBranchOk() (*string, bool)

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

func (*Repo) GetDeletedAt

func (o *Repo) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*Repo) GetDeletedAtOk

func (o *Repo) GetDeletedAtOk() (*time.Time, bool)

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

func (*Repo) GetDescription

func (o *Repo) GetDescription() string

GetDescription returns the Description field value

func (*Repo) GetDescriptionOk

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

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

func (*Repo) GetEnabled

func (o *Repo) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*Repo) GetEnabledOk

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

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

func (*Repo) GetEtag

func (o *Repo) GetEtag() string

GetEtag returns the Etag field value

func (*Repo) GetEtagOk

func (o *Repo) GetEtagOk() (*string, bool)

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

func (*Repo) GetExternalId

func (o *Repo) GetExternalId() ExternalResourceID

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

func (*Repo) GetExternalIdOk

func (o *Repo) GetExternalIdOk() (*ExternalResourceID, 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 (*Repo) GetExternalMetadata

func (o *Repo) GetExternalMetadata() string

GetExternalMetadata returns the ExternalMetadata field value

func (*Repo) GetExternalMetadataOk

func (o *Repo) GetExternalMetadataOk() (*string, bool)

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

func (*Repo) GetHttpUrl

func (o *Repo) GetHttpUrl() string

GetHttpUrl returns the HttpUrl field value

func (*Repo) GetHttpUrlOk

func (o *Repo) GetHttpUrlOk() (*string, bool)

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

func (*Repo) GetId

func (o *Repo) GetId() string

GetId returns the Id field value

func (*Repo) GetIdOk

func (o *Repo) GetIdOk() (*string, bool)

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

func (*Repo) GetLegalEntityId

func (o *Repo) GetLegalEntityId() string

GetLegalEntityId returns the LegalEntityId field value

func (*Repo) GetLegalEntityIdOk

func (o *Repo) GetLegalEntityIdOk() (*string, bool)

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

func (o *Repo) GetLink() string

GetLink returns the Link field value

func (*Repo) GetLinkOk

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

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

func (*Repo) GetName

func (o *Repo) GetName() string

GetName returns the Name field value

func (*Repo) GetNameOk

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

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

func (*Repo) GetPrivate

func (o *Repo) GetPrivate() bool

GetPrivate returns the Private field value

func (*Repo) GetPrivateOk

func (o *Repo) GetPrivateOk() (*bool, bool)

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

func (*Repo) GetSecretsUrl

func (o *Repo) GetSecretsUrl() string

GetSecretsUrl returns the SecretsUrl field value

func (*Repo) GetSecretsUrlOk

func (o *Repo) GetSecretsUrlOk() (*string, bool)

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

func (*Repo) GetSshKeySecretId

func (o *Repo) GetSshKeySecretId() string

GetSshKeySecretId returns the SshKeySecretId field value if set, zero value otherwise.

func (*Repo) GetSshKeySecretIdOk

func (o *Repo) GetSshKeySecretIdOk() (*string, bool)

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

func (*Repo) GetSshUrl

func (o *Repo) GetSshUrl() string

GetSshUrl returns the SshUrl field value

func (*Repo) GetSshUrlOk

func (o *Repo) GetSshUrlOk() (*string, bool)

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

func (*Repo) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*Repo) GetUpdatedAtOk

func (o *Repo) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Repo) GetUrl

func (o *Repo) GetUrl() string

GetUrl returns the Url field value

func (*Repo) GetUrlOk

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

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

func (*Repo) HasDeletedAt

func (o *Repo) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*Repo) HasExternalId

func (o *Repo) HasExternalId() bool

HasExternalId returns a boolean if a field has been set.

func (*Repo) HasSshKeySecretId

func (o *Repo) HasSshKeySecretId() bool

HasSshKeySecretId returns a boolean if a field has been set.

func (Repo) MarshalJSON

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

func (*Repo) SetBuildSearchUrl

func (o *Repo) SetBuildSearchUrl(v string)

SetBuildSearchUrl sets field value

func (*Repo) SetBuildsUrl

func (o *Repo) SetBuildsUrl(v string)

SetBuildsUrl sets field value

func (*Repo) SetCreatedAt

func (o *Repo) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Repo) SetDefaultBranch

func (o *Repo) SetDefaultBranch(v string)

SetDefaultBranch sets field value

func (*Repo) SetDeletedAt

func (o *Repo) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*Repo) SetDescription

func (o *Repo) SetDescription(v string)

SetDescription sets field value

func (*Repo) SetEnabled

func (o *Repo) SetEnabled(v bool)

SetEnabled sets field value

func (*Repo) SetEtag

func (o *Repo) SetEtag(v string)

SetEtag sets field value

func (*Repo) SetExternalId

func (o *Repo) SetExternalId(v ExternalResourceID)

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

func (*Repo) SetExternalMetadata

func (o *Repo) SetExternalMetadata(v string)

SetExternalMetadata sets field value

func (*Repo) SetHttpUrl

func (o *Repo) SetHttpUrl(v string)

SetHttpUrl sets field value

func (*Repo) SetId

func (o *Repo) SetId(v string)

SetId sets field value

func (*Repo) SetLegalEntityId

func (o *Repo) SetLegalEntityId(v string)

SetLegalEntityId sets field value

func (o *Repo) SetLink(v string)

SetLink sets field value

func (*Repo) SetName

func (o *Repo) SetName(v string)

SetName sets field value

func (*Repo) SetPrivate

func (o *Repo) SetPrivate(v bool)

SetPrivate sets field value

func (*Repo) SetSecretsUrl

func (o *Repo) SetSecretsUrl(v string)

SetSecretsUrl sets field value

func (*Repo) SetSshKeySecretId

func (o *Repo) SetSshKeySecretId(v string)

SetSshKeySecretId gets a reference to the given string and assigns it to the SshKeySecretId field.

func (*Repo) SetSshUrl

func (o *Repo) SetSshUrl(v string)

SetSshUrl sets field value

func (*Repo) SetUpdatedAt

func (o *Repo) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*Repo) SetUrl

func (o *Repo) SetUrl(v string)

SetUrl sets field value

func (Repo) ToMap

func (o Repo) ToMap() (map[string]interface{}, error)

func (*Repo) UnmarshalJSON

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

type RunnerApiEndpoints

type RunnerApiEndpoints struct {
	// The value of an environment variable, for variables that do not use secrets.
	Value *string `json:"value,omitempty"`
	// The name of the secret that contains the value, for environment variables that use secrets.
	FromSecret           *string `json:"from_secret,omitempty"`
	AdditionalProperties map[string]interface{}
}

RunnerApiEndpoints struct for RunnerApiEndpoints

func NewRunnerApiEndpoints

func NewRunnerApiEndpoints() *RunnerApiEndpoints

NewRunnerApiEndpoints instantiates a new RunnerApiEndpoints 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 NewRunnerApiEndpointsWithDefaults

func NewRunnerApiEndpointsWithDefaults() *RunnerApiEndpoints

NewRunnerApiEndpointsWithDefaults instantiates a new RunnerApiEndpoints 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 (*RunnerApiEndpoints) GetFromSecret

func (o *RunnerApiEndpoints) GetFromSecret() string

GetFromSecret returns the FromSecret field value if set, zero value otherwise.

func (*RunnerApiEndpoints) GetFromSecretOk

func (o *RunnerApiEndpoints) GetFromSecretOk() (*string, bool)

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

func (*RunnerApiEndpoints) GetValue

func (o *RunnerApiEndpoints) GetValue() string

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

func (*RunnerApiEndpoints) GetValueOk

func (o *RunnerApiEndpoints) 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 (*RunnerApiEndpoints) HasFromSecret

func (o *RunnerApiEndpoints) HasFromSecret() bool

HasFromSecret returns a boolean if a field has been set.

func (*RunnerApiEndpoints) HasValue

func (o *RunnerApiEndpoints) HasValue() bool

HasValue returns a boolean if a field has been set.

func (RunnerApiEndpoints) MarshalJSON

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

func (*RunnerApiEndpoints) SetFromSecret

func (o *RunnerApiEndpoints) SetFromSecret(v string)

SetFromSecret gets a reference to the given string and assigns it to the FromSecret field.

func (*RunnerApiEndpoints) SetValue

func (o *RunnerApiEndpoints) SetValue(v string)

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

func (RunnerApiEndpoints) ToMap

func (o RunnerApiEndpoints) ToMap() (map[string]interface{}, error)

func (*RunnerApiEndpoints) UnmarshalJSON

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

type SecretString

type SecretString struct {
	// An explicit, non-secret value for an environment variable or field.
	Value *string `json:"value,omitempty"`
	// The name of the secret that contains the value, for an environment variable or field.
	ValueFromSecret      *string `json:"value_from_secret,omitempty"`
	AdditionalProperties map[string]interface{}
}

SecretString struct for SecretString

func NewSecretString

func NewSecretString() *SecretString

NewSecretString instantiates a new SecretString 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 NewSecretStringWithDefaults

func NewSecretStringWithDefaults() *SecretString

NewSecretStringWithDefaults instantiates a new SecretString 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 (*SecretString) GetValue

func (o *SecretString) GetValue() string

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

func (*SecretString) GetValueFromSecret

func (o *SecretString) GetValueFromSecret() string

GetValueFromSecret returns the ValueFromSecret field value if set, zero value otherwise.

func (*SecretString) GetValueFromSecretOk

func (o *SecretString) GetValueFromSecretOk() (*string, bool)

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

func (*SecretString) GetValueOk

func (o *SecretString) 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 (*SecretString) HasValue

func (o *SecretString) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*SecretString) HasValueFromSecret

func (o *SecretString) HasValueFromSecret() bool

HasValueFromSecret returns a boolean if a field has been set.

func (SecretString) MarshalJSON

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

func (*SecretString) SetValue

func (o *SecretString) SetValue(v string)

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

func (*SecretString) SetValueFromSecret

func (o *SecretString) SetValueFromSecret(v string)

SetValueFromSecret gets a reference to the given string and assigns it to the ValueFromSecret field.

func (SecretString) ToMap

func (o SecretString) ToMap() (map[string]interface{}, error)

func (*SecretString) UnmarshalJSON

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

type SecretStringDefinition

type SecretStringDefinition struct {
	// The value of an environment variable, for variables that do not use secrets.
	Value *string `json:"value,omitempty"`
	// The name of the secret that contains the value, for environment variables that use secrets.
	FromSecret           *string `json:"from_secret,omitempty"`
	AdditionalProperties map[string]interface{}
}

SecretStringDefinition struct for SecretStringDefinition

func NewSecretStringDefinition

func NewSecretStringDefinition() *SecretStringDefinition

NewSecretStringDefinition instantiates a new SecretStringDefinition 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 NewSecretStringDefinitionWithDefaults

func NewSecretStringDefinitionWithDefaults() *SecretStringDefinition

NewSecretStringDefinitionWithDefaults instantiates a new SecretStringDefinition 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 (*SecretStringDefinition) GetFromSecret

func (o *SecretStringDefinition) GetFromSecret() string

GetFromSecret returns the FromSecret field value if set, zero value otherwise.

func (*SecretStringDefinition) GetFromSecretOk

func (o *SecretStringDefinition) GetFromSecretOk() (*string, bool)

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

func (*SecretStringDefinition) GetValue

func (o *SecretStringDefinition) GetValue() string

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

func (*SecretStringDefinition) GetValueOk

func (o *SecretStringDefinition) 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 (*SecretStringDefinition) HasFromSecret

func (o *SecretStringDefinition) HasFromSecret() bool

HasFromSecret returns a boolean if a field has been set.

func (*SecretStringDefinition) HasValue

func (o *SecretStringDefinition) HasValue() bool

HasValue returns a boolean if a field has been set.

func (SecretStringDefinition) MarshalJSON

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

func (*SecretStringDefinition) SetFromSecret

func (o *SecretStringDefinition) SetFromSecret(v string)

SetFromSecret gets a reference to the given string and assigns it to the FromSecret field.

func (*SecretStringDefinition) SetValue

func (o *SecretStringDefinition) SetValue(v string)

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

func (SecretStringDefinition) ToMap

func (o SecretStringDefinition) ToMap() (map[string]interface{}, error)

func (*SecretStringDefinition) UnmarshalJSON

func (o *SecretStringDefinition) 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 Service

type Service struct {
	// Unique name of the service, within the parent job.
	Name string `json:"name"`
	// Name of the Docker image for the service to run.
	Image     string           `json:"image"`
	BasicAuth *DockerBasicAuth `json:"basic_auth,omitempty"`
	AwsAuth   *DockerAWSAuth   `json:"aws_auth,omitempty"`
	// A list of environment variables to export prior to starting the service.
	Environment          []EnvVar `json:"environment"`
	AdditionalProperties map[string]interface{}
}

Service struct for Service

func NewService

func NewService(name string, image string, environment []EnvVar) *Service

NewService instantiates a new Service 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 NewServiceWithDefaults

func NewServiceWithDefaults() *Service

NewServiceWithDefaults instantiates a new Service 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 (*Service) GetAwsAuth

func (o *Service) GetAwsAuth() DockerAWSAuth

GetAwsAuth returns the AwsAuth field value if set, zero value otherwise.

func (*Service) GetAwsAuthOk

func (o *Service) GetAwsAuthOk() (*DockerAWSAuth, bool)

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

func (*Service) GetBasicAuth

func (o *Service) GetBasicAuth() DockerBasicAuth

GetBasicAuth returns the BasicAuth field value if set, zero value otherwise.

func (*Service) GetBasicAuthOk

func (o *Service) GetBasicAuthOk() (*DockerBasicAuth, bool)

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

func (*Service) GetEnvironment

func (o *Service) GetEnvironment() []EnvVar

GetEnvironment returns the Environment field value

func (*Service) GetEnvironmentOk

func (o *Service) GetEnvironmentOk() ([]EnvVar, bool)

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

func (*Service) GetImage

func (o *Service) GetImage() string

GetImage returns the Image field value

func (*Service) GetImageOk

func (o *Service) GetImageOk() (*string, bool)

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

func (*Service) GetName

func (o *Service) GetName() string

GetName returns the Name field value

func (*Service) GetNameOk

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

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

func (*Service) HasAwsAuth

func (o *Service) HasAwsAuth() bool

HasAwsAuth returns a boolean if a field has been set.

func (*Service) HasBasicAuth

func (o *Service) HasBasicAuth() bool

HasBasicAuth returns a boolean if a field has been set.

func (Service) MarshalJSON

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

func (*Service) SetAwsAuth

func (o *Service) SetAwsAuth(v DockerAWSAuth)

SetAwsAuth gets a reference to the given DockerAWSAuth and assigns it to the AwsAuth field.

func (*Service) SetBasicAuth

func (o *Service) SetBasicAuth(v DockerBasicAuth)

SetBasicAuth gets a reference to the given DockerBasicAuth and assigns it to the BasicAuth field.

func (*Service) SetEnvironment

func (o *Service) SetEnvironment(v []EnvVar)

SetEnvironment sets field value

func (*Service) SetImage

func (o *Service) SetImage(v string)

SetImage sets field value

func (*Service) SetName

func (o *Service) SetName(v string)

SetName sets field value

func (Service) ToMap

func (o Service) ToMap() (map[string]interface{}, error)

func (*Service) UnmarshalJSON

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

type ServiceDefinition

type ServiceDefinition struct {
	// Unique name of the service, within the parent job
	Name string `json:"name"`
	// Name of the Docker image for the service to run
	Image     string                     `json:"image"`
	BasicAuth *DockerBasicAuthDefinition `json:"basic_auth,omitempty"`
	AwsAuth   *DockerAWSAuthDefinition   `json:"aws_auth,omitempty"`
	// A list of environment variables to export prior to executing the service
	Environment          map[string]SecretStringDefinition `json:"environment"`
	AdditionalProperties map[string]interface{}
}

ServiceDefinition struct for ServiceDefinition

func NewServiceDefinition

func NewServiceDefinition(name string, image string, environment map[string]SecretStringDefinition) *ServiceDefinition

NewServiceDefinition instantiates a new ServiceDefinition 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 NewServiceDefinitionWithDefaults

func NewServiceDefinitionWithDefaults() *ServiceDefinition

NewServiceDefinitionWithDefaults instantiates a new ServiceDefinition 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 (*ServiceDefinition) GetAwsAuth

GetAwsAuth returns the AwsAuth field value if set, zero value otherwise.

func (*ServiceDefinition) GetAwsAuthOk

func (o *ServiceDefinition) GetAwsAuthOk() (*DockerAWSAuthDefinition, bool)

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

func (*ServiceDefinition) GetBasicAuth

func (o *ServiceDefinition) GetBasicAuth() DockerBasicAuthDefinition

GetBasicAuth returns the BasicAuth field value if set, zero value otherwise.

func (*ServiceDefinition) GetBasicAuthOk

func (o *ServiceDefinition) GetBasicAuthOk() (*DockerBasicAuthDefinition, bool)

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

func (*ServiceDefinition) GetEnvironment

func (o *ServiceDefinition) GetEnvironment() map[string]SecretStringDefinition

GetEnvironment returns the Environment field value

func (*ServiceDefinition) GetEnvironmentOk

func (o *ServiceDefinition) GetEnvironmentOk() (*map[string]SecretStringDefinition, bool)

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

func (*ServiceDefinition) GetImage

func (o *ServiceDefinition) GetImage() string

GetImage returns the Image field value

func (*ServiceDefinition) GetImageOk

func (o *ServiceDefinition) GetImageOk() (*string, bool)

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

func (*ServiceDefinition) GetName

func (o *ServiceDefinition) GetName() string

GetName returns the Name field value

func (*ServiceDefinition) GetNameOk

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

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

func (*ServiceDefinition) HasAwsAuth

func (o *ServiceDefinition) HasAwsAuth() bool

HasAwsAuth returns a boolean if a field has been set.

func (*ServiceDefinition) HasBasicAuth

func (o *ServiceDefinition) HasBasicAuth() bool

HasBasicAuth returns a boolean if a field has been set.

func (ServiceDefinition) MarshalJSON

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

func (*ServiceDefinition) SetAwsAuth

func (o *ServiceDefinition) SetAwsAuth(v DockerAWSAuthDefinition)

SetAwsAuth gets a reference to the given DockerAWSAuthDefinition and assigns it to the AwsAuth field.

func (*ServiceDefinition) SetBasicAuth

func (o *ServiceDefinition) SetBasicAuth(v DockerBasicAuthDefinition)

SetBasicAuth gets a reference to the given DockerBasicAuthDefinition and assigns it to the BasicAuth field.

func (*ServiceDefinition) SetEnvironment

func (o *ServiceDefinition) SetEnvironment(v map[string]SecretStringDefinition)

SetEnvironment sets field value

func (*ServiceDefinition) SetImage

func (o *ServiceDefinition) SetImage(v string)

SetImage sets field value

func (*ServiceDefinition) SetName

func (o *ServiceDefinition) SetName(v string)

SetName sets field value

func (ServiceDefinition) ToMap

func (o ServiceDefinition) ToMap() (map[string]interface{}, error)

func (*ServiceDefinition) UnmarshalJSON

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

type Step

type Step struct {
	// A link to the Step resource on the BuildBeaver server
	Url       string     `json:"url"`
	Id        string     `json:"id"`
	CreatedAt time.Time  `json:"created_at"`
	UpdatedAt time.Time  `json:"updated_at"`
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
	Etag      string     `json:"etag"`
	// Step name, in URL format
	Name string `json:"name"`
	// Optional human-readable description of the job.
	Description string `json:"description"`
	// A list of one or more shell commands to execute during the step.
	Commands []string `json:"commands"`
	// Dependencies this step has on other steps within the job (see dependency syntax)
	Depends []StepDependency `json:"depends"`
	// ID of the job this step forms a part of
	JobId string `json:"job_id"`
	// RepoID that the step is building from.
	RepoId string `json:"repo_id"`
	// RunnerID that ran the step (or empty if the step has not run yet).
	RunnerId string `json:"runner_id"`
	// LogDescriptorID points to the log for this step.
	LogDescriptorId string `json:"log_descriptor_id"`
	// Status reflects where the step is in processing.
	Status string `json:"status"`
	// Error is set if the step finished with an error (or empty if the step succeeded).
	Error   *string         `json:"error,omitempty"`
	Timings WorkflowTimings `json:"timings"`
	// URL of the runner that ran the step (or empty if the step has not run yet).
	RunnerUrl string `json:"runner_url"`
	// URL of the log for this step.
	LogDescriptorUrl     string `json:"log_descriptor_url"`
	AdditionalProperties map[string]interface{}
}

Step struct for Step

func NewStep

func NewStep(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, description string, commands []string, depends []StepDependency, jobId string, repoId string, runnerId string, logDescriptorId string, status string, timings WorkflowTimings, runnerUrl string, logDescriptorUrl string) *Step

NewStep instantiates a new Step 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 NewStepWithDefaults

func NewStepWithDefaults() *Step

NewStepWithDefaults instantiates a new Step 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 (*Step) GetCommands

func (o *Step) GetCommands() []string

GetCommands returns the Commands field value

func (*Step) GetCommandsOk

func (o *Step) GetCommandsOk() ([]string, bool)

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

func (*Step) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Step) GetCreatedAtOk

func (o *Step) GetCreatedAtOk() (*time.Time, bool)

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

func (*Step) GetDeletedAt

func (o *Step) GetDeletedAt() time.Time

GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.

func (*Step) GetDeletedAtOk

func (o *Step) GetDeletedAtOk() (*time.Time, bool)

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

func (*Step) GetDepends

func (o *Step) GetDepends() []StepDependency

GetDepends returns the Depends field value

func (*Step) GetDependsOk

func (o *Step) GetDependsOk() ([]StepDependency, bool)

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

func (*Step) GetDescription

func (o *Step) GetDescription() string

GetDescription returns the Description field value

func (*Step) GetDescriptionOk

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

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

func (*Step) GetError

func (o *Step) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Step) GetErrorOk

func (o *Step) GetErrorOk() (*string, 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 (*Step) GetEtag

func (o *Step) GetEtag() string

GetEtag returns the Etag field value

func (*Step) GetEtagOk

func (o *Step) GetEtagOk() (*string, bool)

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

func (*Step) GetId

func (o *Step) GetId() string

GetId returns the Id field value

func (*Step) GetIdOk

func (o *Step) GetIdOk() (*string, bool)

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

func (*Step) GetJobId

func (o *Step) GetJobId() string

GetJobId returns the JobId field value

func (*Step) GetJobIdOk

func (o *Step) GetJobIdOk() (*string, bool)

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

func (*Step) GetLogDescriptorId

func (o *Step) GetLogDescriptorId() string

GetLogDescriptorId returns the LogDescriptorId field value

func (*Step) GetLogDescriptorIdOk

func (o *Step) GetLogDescriptorIdOk() (*string, bool)

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

func (*Step) GetLogDescriptorUrl

func (o *Step) GetLogDescriptorUrl() string

GetLogDescriptorUrl returns the LogDescriptorUrl field value

func (*Step) GetLogDescriptorUrlOk

func (o *Step) GetLogDescriptorUrlOk() (*string, bool)

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

func (*Step) GetName

func (o *Step) GetName() string

GetName returns the Name field value

func (*Step) GetNameOk

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

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

func (*Step) GetRepoId

func (o *Step) GetRepoId() string

GetRepoId returns the RepoId field value

func (*Step) GetRepoIdOk

func (o *Step) GetRepoIdOk() (*string, bool)

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

func (*Step) GetRunnerId

func (o *Step) GetRunnerId() string

GetRunnerId returns the RunnerId field value

func (*Step) GetRunnerIdOk

func (o *Step) GetRunnerIdOk() (*string, bool)

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

func (*Step) GetRunnerUrl

func (o *Step) GetRunnerUrl() string

GetRunnerUrl returns the RunnerUrl field value

func (*Step) GetRunnerUrlOk

func (o *Step) GetRunnerUrlOk() (*string, bool)

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

func (*Step) GetStatus

func (o *Step) GetStatus() string

GetStatus returns the Status field value

func (*Step) GetStatusOk

func (o *Step) GetStatusOk() (*string, bool)

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

func (*Step) GetTimings

func (o *Step) GetTimings() WorkflowTimings

GetTimings returns the Timings field value

func (*Step) GetTimingsOk

func (o *Step) GetTimingsOk() (*WorkflowTimings, bool)

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

func (*Step) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*Step) GetUpdatedAtOk

func (o *Step) GetUpdatedAtOk() (*time.Time, bool)

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

func (*Step) GetUrl

func (o *Step) GetUrl() string

GetUrl returns the Url field value

func (*Step) GetUrlOk

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

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

func (*Step) HasDeletedAt

func (o *Step) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

func (*Step) HasError

func (o *Step) HasError() bool

HasError returns a boolean if a field has been set.

func (Step) MarshalJSON

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

func (*Step) SetCommands

func (o *Step) SetCommands(v []string)

SetCommands sets field value

func (*Step) SetCreatedAt

func (o *Step) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*Step) SetDeletedAt

func (o *Step) SetDeletedAt(v time.Time)

SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.

func (*Step) SetDepends

func (o *Step) SetDepends(v []StepDependency)

SetDepends sets field value

func (*Step) SetDescription

func (o *Step) SetDescription(v string)

SetDescription sets field value

func (*Step) SetError

func (o *Step) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Step) SetEtag

func (o *Step) SetEtag(v string)

SetEtag sets field value

func (*Step) SetId

func (o *Step) SetId(v string)

SetId sets field value

func (*Step) SetJobId

func (o *Step) SetJobId(v string)

SetJobId sets field value

func (*Step) SetLogDescriptorId

func (o *Step) SetLogDescriptorId(v string)

SetLogDescriptorId sets field value

func (*Step) SetLogDescriptorUrl

func (o *Step) SetLogDescriptorUrl(v string)

SetLogDescriptorUrl sets field value

func (*Step) SetName

func (o *Step) SetName(v string)

SetName sets field value

func (*Step) SetRepoId

func (o *Step) SetRepoId(v string)

SetRepoId sets field value

func (*Step) SetRunnerId

func (o *Step) SetRunnerId(v string)

SetRunnerId sets field value

func (*Step) SetRunnerUrl

func (o *Step) SetRunnerUrl(v string)

SetRunnerUrl sets field value

func (*Step) SetStatus

func (o *Step) SetStatus(v string)

SetStatus sets field value

func (*Step) SetTimings

func (o *Step) SetTimings(v WorkflowTimings)

SetTimings sets field value

func (*Step) SetUpdatedAt

func (o *Step) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*Step) SetUrl

func (o *Step) SetUrl(v string)

SetUrl sets field value

func (Step) ToMap

func (o Step) ToMap() (map[string]interface{}, error)

func (*Step) UnmarshalJSON

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

type StepDefinition

type StepDefinition struct {
	// Step name, in URL format
	Name string `json:"name"`
	// Optional human-readable description of the job.
	Description *string `json:"description,omitempty"`
	// A list of one or more shell commands to execute during the step.
	Commands []string `json:"commands"`
	// Dependencies this step has on other steps within the job (see dependency syntax)
	Depends              []string `json:"depends,omitempty"`
	AdditionalProperties map[string]interface{}
}

StepDefinition struct for StepDefinition

func NewStepDefinition

func NewStepDefinition(name string, commands []string) *StepDefinition

NewStepDefinition instantiates a new StepDefinition 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 NewStepDefinitionWithDefaults

func NewStepDefinitionWithDefaults() *StepDefinition

NewStepDefinitionWithDefaults instantiates a new StepDefinition 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 (*StepDefinition) GetCommands

func (o *StepDefinition) GetCommands() []string

GetCommands returns the Commands field value

func (*StepDefinition) GetCommandsOk

func (o *StepDefinition) GetCommandsOk() ([]string, bool)

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

func (*StepDefinition) GetDepends

func (o *StepDefinition) GetDepends() []string

GetDepends returns the Depends field value if set, zero value otherwise.

func (*StepDefinition) GetDependsOk

func (o *StepDefinition) GetDependsOk() ([]string, bool)

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

func (*StepDefinition) GetDescription

func (o *StepDefinition) GetDescription() string

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

func (*StepDefinition) GetDescriptionOk

func (o *StepDefinition) 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 (*StepDefinition) GetName

func (o *StepDefinition) GetName() string

GetName returns the Name field value

func (*StepDefinition) GetNameOk

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

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

func (*StepDefinition) HasDepends

func (o *StepDefinition) HasDepends() bool

HasDepends returns a boolean if a field has been set.

func (*StepDefinition) HasDescription

func (o *StepDefinition) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (StepDefinition) MarshalJSON

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

func (*StepDefinition) SetCommands

func (o *StepDefinition) SetCommands(v []string)

SetCommands sets field value

func (*StepDefinition) SetDepends

func (o *StepDefinition) SetDepends(v []string)

SetDepends gets a reference to the given []string and assigns it to the Depends field.

func (*StepDefinition) SetDescription

func (o *StepDefinition) SetDescription(v string)

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

func (*StepDefinition) SetName

func (o *StepDefinition) SetName(v string)

SetName sets field value

func (StepDefinition) ToMap

func (o StepDefinition) ToMap() (map[string]interface{}, error)

func (*StepDefinition) UnmarshalJSON

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

type StepDependency

type StepDependency struct {
	// The name of the step that must complete before this step.
	StepName             string `json:"step_name"`
	AdditionalProperties map[string]interface{}
}

StepDependency struct for StepDependency

func NewStepDependency

func NewStepDependency(stepName string) *StepDependency

NewStepDependency instantiates a new StepDependency 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 NewStepDependencyWithDefaults

func NewStepDependencyWithDefaults() *StepDependency

NewStepDependencyWithDefaults instantiates a new StepDependency 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 (*StepDependency) GetStepName

func (o *StepDependency) GetStepName() string

GetStepName returns the StepName field value

func (*StepDependency) GetStepNameOk

func (o *StepDependency) GetStepNameOk() (*string, bool)

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

func (StepDependency) MarshalJSON

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

func (*StepDependency) SetStepName

func (o *StepDependency) SetStepName(v string)

SetStepName sets field value

func (StepDependency) ToMap

func (o StepDependency) ToMap() (map[string]interface{}, error)

func (*StepDependency) UnmarshalJSON

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

type WorkflowTimings

type WorkflowTimings struct {
	QueuedAt             *time.Time `json:"queued_at,omitempty"`
	SubmittedAt          *time.Time `json:"submitted_at,omitempty"`
	RunningAt            *time.Time `json:"running_at,omitempty"`
	FinishedAt           *time.Time `json:"finished_at,omitempty"`
	CanceledAt           *time.Time `json:"canceled_at,omitempty"`
	AdditionalProperties map[string]interface{}
}

WorkflowTimings struct for WorkflowTimings

func NewWorkflowTimings

func NewWorkflowTimings() *WorkflowTimings

NewWorkflowTimings instantiates a new WorkflowTimings 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 NewWorkflowTimingsWithDefaults

func NewWorkflowTimingsWithDefaults() *WorkflowTimings

NewWorkflowTimingsWithDefaults instantiates a new WorkflowTimings 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 (*WorkflowTimings) GetCanceledAt

func (o *WorkflowTimings) GetCanceledAt() time.Time

GetCanceledAt returns the CanceledAt field value if set, zero value otherwise.

func (*WorkflowTimings) GetCanceledAtOk

func (o *WorkflowTimings) GetCanceledAtOk() (*time.Time, bool)

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

func (*WorkflowTimings) GetFinishedAt

func (o *WorkflowTimings) GetFinishedAt() time.Time

GetFinishedAt returns the FinishedAt field value if set, zero value otherwise.

func (*WorkflowTimings) GetFinishedAtOk

func (o *WorkflowTimings) GetFinishedAtOk() (*time.Time, bool)

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

func (*WorkflowTimings) GetQueuedAt

func (o *WorkflowTimings) GetQueuedAt() time.Time

GetQueuedAt returns the QueuedAt field value if set, zero value otherwise.

func (*WorkflowTimings) GetQueuedAtOk

func (o *WorkflowTimings) GetQueuedAtOk() (*time.Time, bool)

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

func (*WorkflowTimings) GetRunningAt

func (o *WorkflowTimings) GetRunningAt() time.Time

GetRunningAt returns the RunningAt field value if set, zero value otherwise.

func (*WorkflowTimings) GetRunningAtOk

func (o *WorkflowTimings) GetRunningAtOk() (*time.Time, bool)

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

func (*WorkflowTimings) GetSubmittedAt

func (o *WorkflowTimings) GetSubmittedAt() time.Time

GetSubmittedAt returns the SubmittedAt field value if set, zero value otherwise.

func (*WorkflowTimings) GetSubmittedAtOk

func (o *WorkflowTimings) GetSubmittedAtOk() (*time.Time, bool)

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

func (*WorkflowTimings) HasCanceledAt

func (o *WorkflowTimings) HasCanceledAt() bool

HasCanceledAt returns a boolean if a field has been set.

func (*WorkflowTimings) HasFinishedAt

func (o *WorkflowTimings) HasFinishedAt() bool

HasFinishedAt returns a boolean if a field has been set.

func (*WorkflowTimings) HasQueuedAt

func (o *WorkflowTimings) HasQueuedAt() bool

HasQueuedAt returns a boolean if a field has been set.

func (*WorkflowTimings) HasRunningAt

func (o *WorkflowTimings) HasRunningAt() bool

HasRunningAt returns a boolean if a field has been set.

func (*WorkflowTimings) HasSubmittedAt

func (o *WorkflowTimings) HasSubmittedAt() bool

HasSubmittedAt returns a boolean if a field has been set.

func (WorkflowTimings) MarshalJSON

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

func (*WorkflowTimings) SetCanceledAt

func (o *WorkflowTimings) SetCanceledAt(v time.Time)

SetCanceledAt gets a reference to the given time.Time and assigns it to the CanceledAt field.

func (*WorkflowTimings) SetFinishedAt

func (o *WorkflowTimings) SetFinishedAt(v time.Time)

SetFinishedAt gets a reference to the given time.Time and assigns it to the FinishedAt field.

func (*WorkflowTimings) SetQueuedAt

func (o *WorkflowTimings) SetQueuedAt(v time.Time)

SetQueuedAt gets a reference to the given time.Time and assigns it to the QueuedAt field.

func (*WorkflowTimings) SetRunningAt

func (o *WorkflowTimings) SetRunningAt(v time.Time)

SetRunningAt gets a reference to the given time.Time and assigns it to the RunningAt field.

func (*WorkflowTimings) SetSubmittedAt

func (o *WorkflowTimings) SetSubmittedAt(v time.Time)

SetSubmittedAt gets a reference to the given time.Time and assigns it to the SubmittedAt field.

func (WorkflowTimings) ToMap

func (o WorkflowTimings) ToMap() (map[string]interface{}, error)

func (*WorkflowTimings) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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