v2

package
v0.0.0-...-a7585ca Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

Package v2 provides the CircleCI v2 API.

Index

Constants

View Source
const (
	APIVersion = "v2"
	UserAgent  = "ccictl/" + APIVersion
)

Variables

This section is empty.

Functions

func SchemaDescriptor

func SchemaDescriptor() (interface{}, error)

SchemaDescriptor returns the Schema file descriptor which is generated code to this file.

Types

type API

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

API represents a CircleCI v2 API.

func New

func New(s *Service) *API

New returns the new API.

func (*API) ApprovePendingApprovalJobByID

func (r *API) ApprovePendingApprovalJobByID(id string, approvalRequestID string) *ApprovePendingApprovalJobByIDCall

ApprovePendingApprovalJobByID returns the ApprovePendingApprovalJobByIDCall for approve a job.

func (*API) CancelWorkflow

func (r *API) CancelWorkflow(id string) *CancelWorkflowCall

CancelWorkflow returns the CancelWorkflowCall for cancel a workflow.

func (*API) ListMyPipelines

func (r *API) ListMyPipelines(projectSlug string) *ListMyPipelinesCall

ListMyPipelines returns the ListMyPipelinesCall for get your pipelines.

func (*API) ListPipelinesForProject

func (r *API) ListPipelinesForProject(projectSlug string) *ListPipelinesForProjectCall

ListPipelinesForProject returns the ListPipelinesForProjectCall for get all pipelines.

func (*API) ListWorkflowJobs

func (r *API) ListWorkflowJobs(id string) *ListWorkflowJobsCall

ListWorkflowJobs returns the ListWorkflowJobsCall for get a workflow's jobs.

func (*API) ListWorkflowsByPipelineID

func (r *API) ListWorkflowsByPipelineID(pipelineID string) *ListWorkflowsByPipelineIDCall

ListWorkflowsByPipelineID returns the ListWorkflowsByPipelineIDCall for get a pipeline's workflows.

func (*API) PipelineByID

func (r *API) PipelineByID(pipelineID string) *PipelineByIDCall

PipelineByID returns the PipelineByIDCall for get a pipeline.

func (*API) PipelineByNumber

func (r *API) PipelineByNumber(projectSlug string, pipelineNumber int64) *PipelineByNumberCall

PipelineByNumber returns the PipelineByNumberCall for get a pipeline.

func (*API) PipelineConfigByID

func (r *API) PipelineConfigByID(pipelineID string) *PipelineConfigByIDCall

PipelineConfigByID returns the PipelineConfigByIDCall for get a pipeline's configuration.

func (*API) ReRunWorkflow

func (r *API) ReRunWorkflow(id string) *ReRunWorkflowCall

ReRunWorkflow returns the RerunWorkflowCall for rerun a workflow.

func (*API) WorkflowByID

func (r *API) WorkflowByID(id string) *WorkflowByIDCall

WorkflowByID returns the WorkflowByIDCall for get a workflow.

type ApprovePendingApprovalJobByIDCall

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

ApprovePendingApprovalJobByIDCall provides the approve a job.

func (*ApprovePendingApprovalJobByIDCall) Do

func (c *ApprovePendingApprovalJobByIDCall) Do(ctx context.Context) (interface{}, error)

Do executes the ApprovePendingApprovalJobByID.

type Artifact

type Artifact struct {
	// The artifact path.
	Path string `json:"path"`
	// The index of the node that stored the artifact.
	NodeIndex int64 `json:"node_index"`
	// The URL to download the artifact contents.
	Url string `json:"url"`
}

Artifact An artifact

func NewArtifact

func NewArtifact(path string, nodeIndex int64, url 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) GetNodeIndex

func (o *Artifact) GetNodeIndex() int64

GetNodeIndex returns the NodeIndex field value

func (*Artifact) GetNodeIndexOk

func (o *Artifact) GetNodeIndexOk() (*int64, bool)

GetNodeIndexOk returns a tuple with the NodeIndex 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) 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) SetNodeIndex

func (o *Artifact) SetNodeIndex(v int64)

SetNodeIndex sets field value

func (*Artifact) SetPath

func (o *Artifact) SetPath(v string)

SetPath sets field value

func (*Artifact) SetUrl

func (o *Artifact) SetUrl(v string)

SetUrl sets field value

type ArtifactListResponse

type ArtifactListResponse struct {
	Items []Artifact `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

ArtifactListResponse struct for ArtifactListResponse

func NewArtifactListResponse

func NewArtifactListResponse(items []Artifact, nextPageToken string) *ArtifactListResponse

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

func NewArtifactListResponseWithDefaults

func NewArtifactListResponseWithDefaults() *ArtifactListResponse

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

func (*ArtifactListResponse) GetItems

func (o *ArtifactListResponse) GetItems() []Artifact

GetItems returns the Items field value

func (*ArtifactListResponse) GetItemsOk

func (o *ArtifactListResponse) GetItemsOk() (*[]Artifact, bool)

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

func (*ArtifactListResponse) GetNextPageToken

func (o *ArtifactListResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*ArtifactListResponse) GetNextPageTokenOk

func (o *ArtifactListResponse) GetNextPageTokenOk() (*string, bool)

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

func (ArtifactListResponse) MarshalJSON

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

func (*ArtifactListResponse) SetItems

func (o *ArtifactListResponse) SetItems(v []Artifact)

SetItems sets field value

func (*ArtifactListResponse) SetNextPageToken

func (o *ArtifactListResponse) SetNextPageToken(v string)

SetNextPageToken sets field value

type CancelWorkflowCall

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

CancelWorkflowCall provides the cancel a workflow.

func (*CancelWorkflowCall) Do

func (c *CancelWorkflowCall) Do(ctx context.Context) (interface{}, error)

Do executes the CancelWorkflow.

type CheckoutKey

type CheckoutKey struct {
	// A public SSH key.
	PublicKey string `json:"public-key"`
	// The type of checkout key. This may be either `deploy-key` or `github-user-key`.
	Type string `json:"type"`
	// An SSH key fingerprint.
	Fingerprint string `json:"fingerprint"`
	// A boolean value that indicates if this key is preferred.
	Preferred bool `json:"preferred"`
	// The date and time the checkout key was created.
	CreatedAt time.Time `json:"created-at"`
}

CheckoutKey struct for CheckoutKey

func NewCheckoutKey

func NewCheckoutKey(publicKey string, type_ string, fingerprint string, preferred bool, createdAt time.Time) *CheckoutKey

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

func NewCheckoutKeyWithDefaults

func NewCheckoutKeyWithDefaults() *CheckoutKey

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

func (*CheckoutKey) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*CheckoutKey) GetCreatedAtOk

func (o *CheckoutKey) 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 (*CheckoutKey) GetFingerprint

func (o *CheckoutKey) GetFingerprint() string

GetFingerprint returns the Fingerprint field value

func (*CheckoutKey) GetFingerprintOk

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

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

func (*CheckoutKey) GetPreferred

func (o *CheckoutKey) GetPreferred() bool

GetPreferred returns the Preferred field value

func (*CheckoutKey) GetPreferredOk

func (o *CheckoutKey) GetPreferredOk() (*bool, bool)

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

func (*CheckoutKey) GetPublicKey

func (o *CheckoutKey) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*CheckoutKey) GetPublicKeyOk

func (o *CheckoutKey) GetPublicKeyOk() (*string, bool)

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

func (*CheckoutKey) GetType

func (o *CheckoutKey) GetType() string

GetType returns the Type field value

func (*CheckoutKey) GetTypeOk

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

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

func (CheckoutKey) MarshalJSON

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

func (*CheckoutKey) SetCreatedAt

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

SetCreatedAt sets field value

func (*CheckoutKey) SetFingerprint

func (o *CheckoutKey) SetFingerprint(v string)

SetFingerprint sets field value

func (*CheckoutKey) SetPreferred

func (o *CheckoutKey) SetPreferred(v bool)

SetPreferred sets field value

func (*CheckoutKey) SetPublicKey

func (o *CheckoutKey) SetPublicKey(v string)

SetPublicKey sets field value

func (*CheckoutKey) SetType

func (o *CheckoutKey) SetType(v string)

SetType sets field value

type CheckoutKeyInput

type CheckoutKeyInput struct {
	// The type of checkout key to create. This may be either `deploy-key` or `user-key`.
	Type string `json:"type"`
}

CheckoutKeyInput struct for CheckoutKeyInput

func NewCheckoutKeyInput

func NewCheckoutKeyInput(type_ string) *CheckoutKeyInput

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

func NewCheckoutKeyInputWithDefaults

func NewCheckoutKeyInputWithDefaults() *CheckoutKeyInput

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

func (*CheckoutKeyInput) GetType

func (o *CheckoutKeyInput) GetType() string

GetType returns the Type field value

func (*CheckoutKeyInput) GetTypeOk

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

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

func (CheckoutKeyInput) MarshalJSON

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

func (*CheckoutKeyInput) SetType

func (o *CheckoutKeyInput) SetType(v string)

SetType sets field value

type CheckoutKeyListResponse

type CheckoutKeyListResponse struct {
	Items []CheckoutKey `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

CheckoutKeyListResponse struct for CheckoutKeyListResponse

func NewCheckoutKeyListResponse

func NewCheckoutKeyListResponse(items []CheckoutKey, nextPageToken string) *CheckoutKeyListResponse

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

func NewCheckoutKeyListResponseWithDefaults

func NewCheckoutKeyListResponseWithDefaults() *CheckoutKeyListResponse

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

func (*CheckoutKeyListResponse) GetItems

func (o *CheckoutKeyListResponse) GetItems() []CheckoutKey

GetItems returns the Items field value

func (*CheckoutKeyListResponse) GetItemsOk

func (o *CheckoutKeyListResponse) GetItemsOk() (*[]CheckoutKey, bool)

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

func (*CheckoutKeyListResponse) GetNextPageToken

func (o *CheckoutKeyListResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*CheckoutKeyListResponse) GetNextPageTokenOk

func (o *CheckoutKeyListResponse) GetNextPageTokenOk() (*string, bool)

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

func (CheckoutKeyListResponse) MarshalJSON

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

func (*CheckoutKeyListResponse) SetItems

func (o *CheckoutKeyListResponse) SetItems(v []CheckoutKey)

SetItems sets field value

func (*CheckoutKeyListResponse) SetNextPageToken

func (o *CheckoutKeyListResponse) SetNextPageToken(v string)

SetNextPageToken sets field value

type Collaboration

type Collaboration struct {
	// The VCS provider
	VcsType string `json:"vcs-type"`
	// The name of the organization
	Name string `json:"name"`
	// URL to the user's avatar on the VCS
	AvatarUrl string `json:"avatar_url"`
}

Collaboration struct for Collaboration

func NewCollaboration

func NewCollaboration(vcsType string, name string, avatarUrl string) *Collaboration

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

func NewCollaborationWithDefaults

func NewCollaborationWithDefaults() *Collaboration

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

func (*Collaboration) GetAvatarUrl

func (o *Collaboration) GetAvatarUrl() string

GetAvatarUrl returns the AvatarUrl field value

func (*Collaboration) GetAvatarUrlOk

func (o *Collaboration) GetAvatarUrlOk() (*string, bool)

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

func (*Collaboration) GetName

func (o *Collaboration) GetName() string

GetName returns the Name field value

func (*Collaboration) GetNameOk

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

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

func (*Collaboration) GetVcsType

func (o *Collaboration) GetVcsType() string

GetVcsType returns the VcsType field value

func (*Collaboration) GetVcsTypeOk

func (o *Collaboration) GetVcsTypeOk() (*string, bool)

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

func (Collaboration) MarshalJSON

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

func (*Collaboration) SetAvatarUrl

func (o *Collaboration) SetAvatarUrl(v string)

SetAvatarUrl sets field value

func (*Collaboration) SetName

func (o *Collaboration) SetName(v string)

SetName sets field value

func (*Collaboration) SetVcsType

func (o *Collaboration) SetVcsType(v string)

SetVcsType sets field value

type EnvironmentVariableListResponse

type EnvironmentVariableListResponse struct {
	Items []EnvironmentVariablePair `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

EnvironmentVariableListResponse struct for EnvironmentVariableListResponse

func NewEnvironmentVariableListResponse

func NewEnvironmentVariableListResponse(items []EnvironmentVariablePair, nextPageToken string) *EnvironmentVariableListResponse

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

func NewEnvironmentVariableListResponseWithDefaults

func NewEnvironmentVariableListResponseWithDefaults() *EnvironmentVariableListResponse

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

func (*EnvironmentVariableListResponse) GetItems

GetItems returns the Items field value

func (*EnvironmentVariableListResponse) GetItemsOk

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

func (*EnvironmentVariableListResponse) GetNextPageToken

func (o *EnvironmentVariableListResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*EnvironmentVariableListResponse) GetNextPageTokenOk

func (o *EnvironmentVariableListResponse) GetNextPageTokenOk() (*string, bool)

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

func (EnvironmentVariableListResponse) MarshalJSON

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

func (*EnvironmentVariableListResponse) SetItems

SetItems sets field value

func (*EnvironmentVariableListResponse) SetNextPageToken

func (o *EnvironmentVariableListResponse) SetNextPageToken(v string)

SetNextPageToken sets field value

type EnvironmentVariablePair

type EnvironmentVariablePair struct {
	// The name of the environment variable.
	Name string `json:"name"`
	// The value of the environment variable.
	Value string `json:"value"`
}

EnvironmentVariablePair struct for EnvironmentVariablePair

func NewEnvironmentVariablePair

func NewEnvironmentVariablePair(name string, value string) *EnvironmentVariablePair

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

func NewEnvironmentVariablePairWithDefaults

func NewEnvironmentVariablePairWithDefaults() *EnvironmentVariablePair

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

func (*EnvironmentVariablePair) GetName

func (o *EnvironmentVariablePair) GetName() string

GetName returns the Name field value

func (*EnvironmentVariablePair) GetNameOk

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

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

func (*EnvironmentVariablePair) GetValue

func (o *EnvironmentVariablePair) GetValue() string

GetValue returns the Value field value

func (*EnvironmentVariablePair) GetValueOk

func (o *EnvironmentVariablePair) GetValueOk() (*string, bool)

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

func (EnvironmentVariablePair) MarshalJSON

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

func (*EnvironmentVariablePair) SetName

func (o *EnvironmentVariablePair) SetName(v string)

SetName sets field value

func (*EnvironmentVariablePair) SetValue

func (o *EnvironmentVariablePair) SetValue(v string)

SetValue sets field value

type EnvironmentVariablePair1

type EnvironmentVariablePair1 struct {
	// The name of the environment variable.
	Name string `json:"name"`
	// The value of the environment variable.
	Value string `json:"value"`
}

EnvironmentVariablePair1 struct for EnvironmentVariablePair1

func NewEnvironmentVariablePair1

func NewEnvironmentVariablePair1(name string, value string) *EnvironmentVariablePair1

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

func NewEnvironmentVariablePair1WithDefaults

func NewEnvironmentVariablePair1WithDefaults() *EnvironmentVariablePair1

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

func (*EnvironmentVariablePair1) GetName

func (o *EnvironmentVariablePair1) GetName() string

GetName returns the Name field value

func (*EnvironmentVariablePair1) GetNameOk

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

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

func (*EnvironmentVariablePair1) GetValue

func (o *EnvironmentVariablePair1) GetValue() string

GetValue returns the Value field value

func (*EnvironmentVariablePair1) GetValueOk

func (o *EnvironmentVariablePair1) GetValueOk() (*string, bool)

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

func (EnvironmentVariablePair1) MarshalJSON

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

func (*EnvironmentVariablePair1) SetName

func (o *EnvironmentVariablePair1) SetName(v string)

SetName sets field value

func (*EnvironmentVariablePair1) SetValue

func (o *EnvironmentVariablePair1) SetValue(v string)

SetValue sets field value

type InlineResponse200

type InlineResponse200 struct {
	// Workflow summary metrics.
	Items []InlineResponse200Items `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

InlineResponse200 Paginated workflow summary metrics.

func NewInlineResponse200

func NewInlineResponse200(items []InlineResponse200Items, nextPageToken string) *InlineResponse200

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

func NewInlineResponse200WithDefaults

func NewInlineResponse200WithDefaults() *InlineResponse200

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

func (*InlineResponse200) GetItems

func (o *InlineResponse200) GetItems() []InlineResponse200Items

GetItems returns the Items field value

func (*InlineResponse200) GetItemsOk

func (o *InlineResponse200) GetItemsOk() (*[]InlineResponse200Items, bool)

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

func (*InlineResponse200) GetNextPageToken

func (o *InlineResponse200) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*InlineResponse200) GetNextPageTokenOk

func (o *InlineResponse200) GetNextPageTokenOk() (*string, bool)

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

func (InlineResponse200) MarshalJSON

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

func (*InlineResponse200) SetItems

func (o *InlineResponse200) SetItems(v []InlineResponse200Items)

SetItems sets field value

func (*InlineResponse200) SetNextPageToken

func (o *InlineResponse200) SetNextPageToken(v string)

SetNextPageToken sets field value

type InlineResponse2001

type InlineResponse2001 struct {
	// Recent workflow runs.
	Items []InlineResponse2001Items `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

InlineResponse2001 Paginated recent workflow runs.

func NewInlineResponse2001

func NewInlineResponse2001(items []InlineResponse2001Items, nextPageToken string) *InlineResponse2001

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

func NewInlineResponse2001WithDefaults

func NewInlineResponse2001WithDefaults() *InlineResponse2001

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

func (*InlineResponse2001) GetItems

GetItems returns the Items field value

func (*InlineResponse2001) GetItemsOk

func (o *InlineResponse2001) GetItemsOk() (*[]InlineResponse2001Items, bool)

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

func (*InlineResponse2001) GetNextPageToken

func (o *InlineResponse2001) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*InlineResponse2001) GetNextPageTokenOk

func (o *InlineResponse2001) GetNextPageTokenOk() (*string, bool)

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

func (InlineResponse2001) MarshalJSON

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

func (*InlineResponse2001) SetItems

SetItems sets field value

func (*InlineResponse2001) SetNextPageToken

func (o *InlineResponse2001) SetNextPageToken(v string)

SetNextPageToken sets field value

type InlineResponse2001Items

type InlineResponse2001Items struct {
	// The unique ID of the workflow.
	Id string `json:"id"`
	// The duration in seconds of a run.
	Duration int64 `json:"duration"`
	// The date and time the workflow was created.
	CreatedAt time.Time `json:"created_at"`
	// The date and time the workflow stopped.
	StoppedAt time.Time `json:"stopped_at"`
	// The number of credits used during execution
	CreditsUsed int64 `json:"credits_used"`
	// Workflow status.
	Status string `json:"status"`
}

InlineResponse2001Items struct for InlineResponse2001Items

func NewInlineResponse2001Items

func NewInlineResponse2001Items(id string, duration int64, createdAt time.Time, stoppedAt time.Time, creditsUsed int64, status string) *InlineResponse2001Items

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

func NewInlineResponse2001ItemsWithDefaults

func NewInlineResponse2001ItemsWithDefaults() *InlineResponse2001Items

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

func (*InlineResponse2001Items) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*InlineResponse2001Items) GetCreatedAtOk

func (o *InlineResponse2001Items) 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 (*InlineResponse2001Items) GetCreditsUsed

func (o *InlineResponse2001Items) GetCreditsUsed() int64

GetCreditsUsed returns the CreditsUsed field value

func (*InlineResponse2001Items) GetCreditsUsedOk

func (o *InlineResponse2001Items) GetCreditsUsedOk() (*int64, bool)

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

func (*InlineResponse2001Items) GetDuration

func (o *InlineResponse2001Items) GetDuration() int64

GetDuration returns the Duration field value

func (*InlineResponse2001Items) GetDurationOk

func (o *InlineResponse2001Items) GetDurationOk() (*int64, bool)

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

func (*InlineResponse2001Items) GetId

func (o *InlineResponse2001Items) GetId() string

GetId returns the Id field value

func (*InlineResponse2001Items) GetIdOk

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

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

func (*InlineResponse2001Items) GetStatus

func (o *InlineResponse2001Items) GetStatus() string

GetStatus returns the Status field value

func (*InlineResponse2001Items) GetStatusOk

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

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

func (*InlineResponse2001Items) GetStoppedAt

func (o *InlineResponse2001Items) GetStoppedAt() time.Time

GetStoppedAt returns the StoppedAt field value

func (*InlineResponse2001Items) GetStoppedAtOk

func (o *InlineResponse2001Items) GetStoppedAtOk() (*time.Time, bool)

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

func (InlineResponse2001Items) MarshalJSON

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

func (*InlineResponse2001Items) SetCreatedAt

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

SetCreatedAt sets field value

func (*InlineResponse2001Items) SetCreditsUsed

func (o *InlineResponse2001Items) SetCreditsUsed(v int64)

SetCreditsUsed sets field value

func (*InlineResponse2001Items) SetDuration

func (o *InlineResponse2001Items) SetDuration(v int64)

SetDuration sets field value

func (*InlineResponse2001Items) SetId

func (o *InlineResponse2001Items) SetId(v string)

SetId sets field value

func (*InlineResponse2001Items) SetStatus

func (o *InlineResponse2001Items) SetStatus(v string)

SetStatus sets field value

func (*InlineResponse2001Items) SetStoppedAt

func (o *InlineResponse2001Items) SetStoppedAt(v time.Time)

SetStoppedAt sets field value

type InlineResponse2002

type InlineResponse2002 struct {
	// Job summary metrics.
	Items []InlineResponse2002Items `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

InlineResponse2002 Paginated workflow job summary metrics.

func NewInlineResponse2002

func NewInlineResponse2002(items []InlineResponse2002Items, nextPageToken string) *InlineResponse2002

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

func NewInlineResponse2002WithDefaults

func NewInlineResponse2002WithDefaults() *InlineResponse2002

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

func (*InlineResponse2002) GetItems

GetItems returns the Items field value

func (*InlineResponse2002) GetItemsOk

func (o *InlineResponse2002) GetItemsOk() (*[]InlineResponse2002Items, bool)

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

func (*InlineResponse2002) GetNextPageToken

func (o *InlineResponse2002) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*InlineResponse2002) GetNextPageTokenOk

func (o *InlineResponse2002) GetNextPageTokenOk() (*string, bool)

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

func (InlineResponse2002) MarshalJSON

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

func (*InlineResponse2002) SetItems

SetItems sets field value

func (*InlineResponse2002) SetNextPageToken

func (o *InlineResponse2002) SetNextPageToken(v string)

SetNextPageToken sets field value

type InlineResponse2002Items

type InlineResponse2002Items struct {
	// The name of the job.
	Name string `json:"name"`
	// The start of the aggregation window for job metrics.
	WindowStart time.Time `json:"window_start"`
	// The end of the aggregation window for job metrics.
	WindowEnd time.Time                 `json:"window_end"`
	Metrics   InlineResponse2002Metrics `json:"metrics"`
}

InlineResponse2002Items struct for InlineResponse2002Items

func NewInlineResponse2002Items

func NewInlineResponse2002Items(name string, windowStart time.Time, windowEnd time.Time, metrics InlineResponse2002Metrics) *InlineResponse2002Items

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

func NewInlineResponse2002ItemsWithDefaults

func NewInlineResponse2002ItemsWithDefaults() *InlineResponse2002Items

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

func (*InlineResponse2002Items) GetMetrics

GetMetrics returns the Metrics field value

func (*InlineResponse2002Items) GetMetricsOk

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

func (*InlineResponse2002Items) GetName

func (o *InlineResponse2002Items) GetName() string

GetName returns the Name field value

func (*InlineResponse2002Items) GetNameOk

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

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

func (*InlineResponse2002Items) GetWindowEnd

func (o *InlineResponse2002Items) GetWindowEnd() time.Time

GetWindowEnd returns the WindowEnd field value

func (*InlineResponse2002Items) GetWindowEndOk

func (o *InlineResponse2002Items) GetWindowEndOk() (*time.Time, bool)

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

func (*InlineResponse2002Items) GetWindowStart

func (o *InlineResponse2002Items) GetWindowStart() time.Time

GetWindowStart returns the WindowStart field value

func (*InlineResponse2002Items) GetWindowStartOk

func (o *InlineResponse2002Items) GetWindowStartOk() (*time.Time, bool)

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

func (InlineResponse2002Items) MarshalJSON

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

func (*InlineResponse2002Items) SetMetrics

SetMetrics sets field value

func (*InlineResponse2002Items) SetName

func (o *InlineResponse2002Items) SetName(v string)

SetName sets field value

func (*InlineResponse2002Items) SetWindowEnd

func (o *InlineResponse2002Items) SetWindowEnd(v time.Time)

SetWindowEnd sets field value

func (*InlineResponse2002Items) SetWindowStart

func (o *InlineResponse2002Items) SetWindowStart(v time.Time)

SetWindowStart sets field value

type InlineResponse2002Metrics

type InlineResponse2002Metrics struct {
	// The ratio of successful runs / total runs.
	SuccessRate float32 `json:"success_rate"`
	// The total number of runs.
	TotalRuns int64 `json:"total_runs"`
	// The number of failed runs.
	FailedRuns int64 `json:"failed_runs"`
	// The number of successful runs.
	SuccessfulRuns int64 `json:"successful_runs"`
	// The average number of job runs per day.
	Throughput float32 `json:"throughput"`
	// The total credits consumed by the job in the aggregation window.
	TotalCreditsUsed int64                                    `json:"total_credits_used"`
	DurationMetrics  InlineResponse2002MetricsDurationMetrics `json:"duration_metrics"`
}

InlineResponse2002Metrics Metrics relating to a workflow job's runs.

func NewInlineResponse2002Metrics

func NewInlineResponse2002Metrics(successRate float32, totalRuns int64, failedRuns int64, successfulRuns int64, throughput float32, totalCreditsUsed int64, durationMetrics InlineResponse2002MetricsDurationMetrics) *InlineResponse2002Metrics

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

func NewInlineResponse2002MetricsWithDefaults

func NewInlineResponse2002MetricsWithDefaults() *InlineResponse2002Metrics

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

func (*InlineResponse2002Metrics) GetDurationMetrics

GetDurationMetrics returns the DurationMetrics field value

func (*InlineResponse2002Metrics) GetDurationMetricsOk

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

func (*InlineResponse2002Metrics) GetFailedRuns

func (o *InlineResponse2002Metrics) GetFailedRuns() int64

GetFailedRuns returns the FailedRuns field value

func (*InlineResponse2002Metrics) GetFailedRunsOk

func (o *InlineResponse2002Metrics) GetFailedRunsOk() (*int64, bool)

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

func (*InlineResponse2002Metrics) GetSuccessRate

func (o *InlineResponse2002Metrics) GetSuccessRate() float32

GetSuccessRate returns the SuccessRate field value

func (*InlineResponse2002Metrics) GetSuccessRateOk

func (o *InlineResponse2002Metrics) GetSuccessRateOk() (*float32, bool)

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

func (*InlineResponse2002Metrics) GetSuccessfulRuns

func (o *InlineResponse2002Metrics) GetSuccessfulRuns() int64

GetSuccessfulRuns returns the SuccessfulRuns field value

func (*InlineResponse2002Metrics) GetSuccessfulRunsOk

func (o *InlineResponse2002Metrics) GetSuccessfulRunsOk() (*int64, bool)

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

func (*InlineResponse2002Metrics) GetThroughput

func (o *InlineResponse2002Metrics) GetThroughput() float32

GetThroughput returns the Throughput field value

func (*InlineResponse2002Metrics) GetThroughputOk

func (o *InlineResponse2002Metrics) GetThroughputOk() (*float32, bool)

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

func (*InlineResponse2002Metrics) GetTotalCreditsUsed

func (o *InlineResponse2002Metrics) GetTotalCreditsUsed() int64

GetTotalCreditsUsed returns the TotalCreditsUsed field value

func (*InlineResponse2002Metrics) GetTotalCreditsUsedOk

func (o *InlineResponse2002Metrics) GetTotalCreditsUsedOk() (*int64, bool)

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

func (*InlineResponse2002Metrics) GetTotalRuns

func (o *InlineResponse2002Metrics) GetTotalRuns() int64

GetTotalRuns returns the TotalRuns field value

func (*InlineResponse2002Metrics) GetTotalRunsOk

func (o *InlineResponse2002Metrics) GetTotalRunsOk() (*int64, bool)

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

func (InlineResponse2002Metrics) MarshalJSON

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

func (*InlineResponse2002Metrics) SetDurationMetrics

SetDurationMetrics sets field value

func (*InlineResponse2002Metrics) SetFailedRuns

func (o *InlineResponse2002Metrics) SetFailedRuns(v int64)

SetFailedRuns sets field value

func (*InlineResponse2002Metrics) SetSuccessRate

func (o *InlineResponse2002Metrics) SetSuccessRate(v float32)

SetSuccessRate sets field value

func (*InlineResponse2002Metrics) SetSuccessfulRuns

func (o *InlineResponse2002Metrics) SetSuccessfulRuns(v int64)

SetSuccessfulRuns sets field value

func (*InlineResponse2002Metrics) SetThroughput

func (o *InlineResponse2002Metrics) SetThroughput(v float32)

SetThroughput sets field value

func (*InlineResponse2002Metrics) SetTotalCreditsUsed

func (o *InlineResponse2002Metrics) SetTotalCreditsUsed(v int64)

SetTotalCreditsUsed sets field value

func (*InlineResponse2002Metrics) SetTotalRuns

func (o *InlineResponse2002Metrics) SetTotalRuns(v int64)

SetTotalRuns sets field value

type InlineResponse2002MetricsDurationMetrics

type InlineResponse2002MetricsDurationMetrics struct {
	// The minimum duration, in seconds, among a group of runs.
	Min int64 `json:"min"`
	// The mean duration, in seconds, among a group of runs.
	Mean int64 `json:"mean"`
	// The median duration, in seconds, among a group of runs.
	Median int64 `json:"median"`
	// The 95th percentile duration, in seconds, among a group of runs.
	P95 int64 `json:"p95"`
	// The max duration, in seconds, among a group of runs.
	Max int64 `json:"max"`
	// The standard deviation, in seconds, among a group of runs.
	StandardDeviation float32 `json:"standard_deviation"`
}

InlineResponse2002MetricsDurationMetrics Metrics relating to the duration of runs for a workflow job.

func NewInlineResponse2002MetricsDurationMetrics

func NewInlineResponse2002MetricsDurationMetrics(min int64, mean int64, median int64, p95 int64, max int64, standardDeviation float32) *InlineResponse2002MetricsDurationMetrics

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

func NewInlineResponse2002MetricsDurationMetricsWithDefaults

func NewInlineResponse2002MetricsDurationMetricsWithDefaults() *InlineResponse2002MetricsDurationMetrics

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

func (*InlineResponse2002MetricsDurationMetrics) GetMax

GetMax returns the Max field value

func (*InlineResponse2002MetricsDurationMetrics) GetMaxOk

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

func (*InlineResponse2002MetricsDurationMetrics) GetMean

GetMean returns the Mean field value

func (*InlineResponse2002MetricsDurationMetrics) GetMeanOk

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

func (*InlineResponse2002MetricsDurationMetrics) GetMedian

GetMedian returns the Median field value

func (*InlineResponse2002MetricsDurationMetrics) GetMedianOk

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

func (*InlineResponse2002MetricsDurationMetrics) GetMin

GetMin returns the Min field value

func (*InlineResponse2002MetricsDurationMetrics) GetMinOk

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

func (*InlineResponse2002MetricsDurationMetrics) GetP95

GetP95 returns the P95 field value

func (*InlineResponse2002MetricsDurationMetrics) GetP95Ok

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

func (*InlineResponse2002MetricsDurationMetrics) GetStandardDeviation

func (o *InlineResponse2002MetricsDurationMetrics) GetStandardDeviation() float32

GetStandardDeviation returns the StandardDeviation field value

func (*InlineResponse2002MetricsDurationMetrics) GetStandardDeviationOk

func (o *InlineResponse2002MetricsDurationMetrics) GetStandardDeviationOk() (*float32, bool)

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

func (InlineResponse2002MetricsDurationMetrics) MarshalJSON

func (*InlineResponse2002MetricsDurationMetrics) SetMax

SetMax sets field value

func (*InlineResponse2002MetricsDurationMetrics) SetMean

SetMean sets field value

func (*InlineResponse2002MetricsDurationMetrics) SetMedian

SetMedian sets field value

func (*InlineResponse2002MetricsDurationMetrics) SetMin

SetMin sets field value

func (*InlineResponse2002MetricsDurationMetrics) SetP95

SetP95 sets field value

func (*InlineResponse2002MetricsDurationMetrics) SetStandardDeviation

func (o *InlineResponse2002MetricsDurationMetrics) SetStandardDeviation(v float32)

SetStandardDeviation sets field value

type InlineResponse2003

type InlineResponse2003 struct {
	// Recent job runs.
	Items []InlineResponse2003Items `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

InlineResponse2003 Paginated recent job runs.

func NewInlineResponse2003

func NewInlineResponse2003(items []InlineResponse2003Items, nextPageToken string) *InlineResponse2003

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

func NewInlineResponse2003WithDefaults

func NewInlineResponse2003WithDefaults() *InlineResponse2003

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

func (*InlineResponse2003) GetItems

GetItems returns the Items field value

func (*InlineResponse2003) GetItemsOk

func (o *InlineResponse2003) GetItemsOk() (*[]InlineResponse2003Items, bool)

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

func (*InlineResponse2003) GetNextPageToken

func (o *InlineResponse2003) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*InlineResponse2003) GetNextPageTokenOk

func (o *InlineResponse2003) GetNextPageTokenOk() (*string, bool)

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

func (InlineResponse2003) MarshalJSON

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

func (*InlineResponse2003) SetItems

SetItems sets field value

func (*InlineResponse2003) SetNextPageToken

func (o *InlineResponse2003) SetNextPageToken(v string)

SetNextPageToken sets field value

type InlineResponse2003Items

type InlineResponse2003Items struct {
	// The unique ID of the job.
	Id string `json:"id"`
	// The date and time the job started.
	StartedAt time.Time `json:"started_at"`
	// The time when the job stopped.
	StoppedAt time.Time `json:"stopped_at"`
	// Job status.
	Status string `json:"status"`
	// The number of credits used during execution
	CreditsUsed int64 `json:"credits_used"`
}

InlineResponse2003Items struct for InlineResponse2003Items

func NewInlineResponse2003Items

func NewInlineResponse2003Items(id string, startedAt time.Time, stoppedAt time.Time, status string, creditsUsed int64) *InlineResponse2003Items

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

func NewInlineResponse2003ItemsWithDefaults

func NewInlineResponse2003ItemsWithDefaults() *InlineResponse2003Items

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

func (*InlineResponse2003Items) GetCreditsUsed

func (o *InlineResponse2003Items) GetCreditsUsed() int64

GetCreditsUsed returns the CreditsUsed field value

func (*InlineResponse2003Items) GetCreditsUsedOk

func (o *InlineResponse2003Items) GetCreditsUsedOk() (*int64, bool)

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

func (*InlineResponse2003Items) GetId

func (o *InlineResponse2003Items) GetId() string

GetId returns the Id field value

func (*InlineResponse2003Items) GetIdOk

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

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

func (*InlineResponse2003Items) GetStartedAt

func (o *InlineResponse2003Items) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field value

func (*InlineResponse2003Items) GetStartedAtOk

func (o *InlineResponse2003Items) GetStartedAtOk() (*time.Time, bool)

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

func (*InlineResponse2003Items) GetStatus

func (o *InlineResponse2003Items) GetStatus() string

GetStatus returns the Status field value

func (*InlineResponse2003Items) GetStatusOk

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

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

func (*InlineResponse2003Items) GetStoppedAt

func (o *InlineResponse2003Items) GetStoppedAt() time.Time

GetStoppedAt returns the StoppedAt field value

func (*InlineResponse2003Items) GetStoppedAtOk

func (o *InlineResponse2003Items) GetStoppedAtOk() (*time.Time, bool)

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

func (InlineResponse2003Items) MarshalJSON

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

func (*InlineResponse2003Items) SetCreditsUsed

func (o *InlineResponse2003Items) SetCreditsUsed(v int64)

SetCreditsUsed sets field value

func (*InlineResponse2003Items) SetId

func (o *InlineResponse2003Items) SetId(v string)

SetId sets field value

func (*InlineResponse2003Items) SetStartedAt

func (o *InlineResponse2003Items) SetStartedAt(v time.Time)

SetStartedAt sets field value

func (*InlineResponse2003Items) SetStatus

func (o *InlineResponse2003Items) SetStatus(v string)

SetStatus sets field value

func (*InlineResponse2003Items) SetStoppedAt

func (o *InlineResponse2003Items) SetStoppedAt(v time.Time)

SetStoppedAt sets field value

type InlineResponse200Items

type InlineResponse200Items struct {
	// The name of the workflow.
	Name string `json:"name"`
	// The start of the aggregation window for workflow metrics.
	WindowStart time.Time `json:"window_start"`
	// The end of the aggregation window for workflow metrics.
	WindowEnd time.Time                `json:"window_end"`
	Metrics   InlineResponse200Metrics `json:"metrics"`
}

InlineResponse200Items struct for InlineResponse200Items

func NewInlineResponse200Items

func NewInlineResponse200Items(name string, windowStart time.Time, windowEnd time.Time, metrics InlineResponse200Metrics) *InlineResponse200Items

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

func NewInlineResponse200ItemsWithDefaults

func NewInlineResponse200ItemsWithDefaults() *InlineResponse200Items

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

func (*InlineResponse200Items) GetMetrics

GetMetrics returns the Metrics field value

func (*InlineResponse200Items) GetMetricsOk

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

func (*InlineResponse200Items) GetName

func (o *InlineResponse200Items) GetName() string

GetName returns the Name field value

func (*InlineResponse200Items) GetNameOk

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

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

func (*InlineResponse200Items) GetWindowEnd

func (o *InlineResponse200Items) GetWindowEnd() time.Time

GetWindowEnd returns the WindowEnd field value

func (*InlineResponse200Items) GetWindowEndOk

func (o *InlineResponse200Items) GetWindowEndOk() (*time.Time, bool)

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

func (*InlineResponse200Items) GetWindowStart

func (o *InlineResponse200Items) GetWindowStart() time.Time

GetWindowStart returns the WindowStart field value

func (*InlineResponse200Items) GetWindowStartOk

func (o *InlineResponse200Items) GetWindowStartOk() (*time.Time, bool)

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

func (InlineResponse200Items) MarshalJSON

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

func (*InlineResponse200Items) SetMetrics

SetMetrics sets field value

func (*InlineResponse200Items) SetName

func (o *InlineResponse200Items) SetName(v string)

SetName sets field value

func (*InlineResponse200Items) SetWindowEnd

func (o *InlineResponse200Items) SetWindowEnd(v time.Time)

SetWindowEnd sets field value

func (*InlineResponse200Items) SetWindowStart

func (o *InlineResponse200Items) SetWindowStart(v time.Time)

SetWindowStart sets field value

type InlineResponse200Metrics

type InlineResponse200Metrics struct {
	// The ratio of successful runs / total runs.
	SuccessRate float32 `json:"success_rate"`
	// The total number of runs.
	TotalRuns int64 `json:"total_runs"`
	// The number of failed runs.
	FailedRuns int64 `json:"failed_runs"`
	// The number of successful runs.
	SuccessfulRuns int64 `json:"successful_runs"`
	// The average number of workflow runs per day.
	Throughput float32 `json:"throughput"`
	// The mean time to recovery (mean time between failures and their next success) in seconds.
	Mttr int64 `json:"mttr"`
	// The total credits consumed by the workflow in the aggregation window.
	TotalCreditsUsed int64                                   `json:"total_credits_used"`
	DurationMetrics  InlineResponse200MetricsDurationMetrics `json:"duration_metrics"`
}

InlineResponse200Metrics Metrics relating to a workflow's runs.

func NewInlineResponse200Metrics

func NewInlineResponse200Metrics(successRate float32, totalRuns int64, failedRuns int64, successfulRuns int64, throughput float32, mttr int64, totalCreditsUsed int64, durationMetrics InlineResponse200MetricsDurationMetrics) *InlineResponse200Metrics

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

func NewInlineResponse200MetricsWithDefaults

func NewInlineResponse200MetricsWithDefaults() *InlineResponse200Metrics

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

func (*InlineResponse200Metrics) GetDurationMetrics

GetDurationMetrics returns the DurationMetrics field value

func (*InlineResponse200Metrics) GetDurationMetricsOk

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

func (*InlineResponse200Metrics) GetFailedRuns

func (o *InlineResponse200Metrics) GetFailedRuns() int64

GetFailedRuns returns the FailedRuns field value

func (*InlineResponse200Metrics) GetFailedRunsOk

func (o *InlineResponse200Metrics) GetFailedRunsOk() (*int64, bool)

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

func (*InlineResponse200Metrics) GetMttr

func (o *InlineResponse200Metrics) GetMttr() int64

GetMttr returns the Mttr field value

func (*InlineResponse200Metrics) GetMttrOk

func (o *InlineResponse200Metrics) GetMttrOk() (*int64, bool)

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

func (*InlineResponse200Metrics) GetSuccessRate

func (o *InlineResponse200Metrics) GetSuccessRate() float32

GetSuccessRate returns the SuccessRate field value

func (*InlineResponse200Metrics) GetSuccessRateOk

func (o *InlineResponse200Metrics) GetSuccessRateOk() (*float32, bool)

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

func (*InlineResponse200Metrics) GetSuccessfulRuns

func (o *InlineResponse200Metrics) GetSuccessfulRuns() int64

GetSuccessfulRuns returns the SuccessfulRuns field value

func (*InlineResponse200Metrics) GetSuccessfulRunsOk

func (o *InlineResponse200Metrics) GetSuccessfulRunsOk() (*int64, bool)

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

func (*InlineResponse200Metrics) GetThroughput

func (o *InlineResponse200Metrics) GetThroughput() float32

GetThroughput returns the Throughput field value

func (*InlineResponse200Metrics) GetThroughputOk

func (o *InlineResponse200Metrics) GetThroughputOk() (*float32, bool)

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

func (*InlineResponse200Metrics) GetTotalCreditsUsed

func (o *InlineResponse200Metrics) GetTotalCreditsUsed() int64

GetTotalCreditsUsed returns the TotalCreditsUsed field value

func (*InlineResponse200Metrics) GetTotalCreditsUsedOk

func (o *InlineResponse200Metrics) GetTotalCreditsUsedOk() (*int64, bool)

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

func (*InlineResponse200Metrics) GetTotalRuns

func (o *InlineResponse200Metrics) GetTotalRuns() int64

GetTotalRuns returns the TotalRuns field value

func (*InlineResponse200Metrics) GetTotalRunsOk

func (o *InlineResponse200Metrics) GetTotalRunsOk() (*int64, bool)

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

func (InlineResponse200Metrics) MarshalJSON

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

func (*InlineResponse200Metrics) SetDurationMetrics

SetDurationMetrics sets field value

func (*InlineResponse200Metrics) SetFailedRuns

func (o *InlineResponse200Metrics) SetFailedRuns(v int64)

SetFailedRuns sets field value

func (*InlineResponse200Metrics) SetMttr

func (o *InlineResponse200Metrics) SetMttr(v int64)

SetMttr sets field value

func (*InlineResponse200Metrics) SetSuccessRate

func (o *InlineResponse200Metrics) SetSuccessRate(v float32)

SetSuccessRate sets field value

func (*InlineResponse200Metrics) SetSuccessfulRuns

func (o *InlineResponse200Metrics) SetSuccessfulRuns(v int64)

SetSuccessfulRuns sets field value

func (*InlineResponse200Metrics) SetThroughput

func (o *InlineResponse200Metrics) SetThroughput(v float32)

SetThroughput sets field value

func (*InlineResponse200Metrics) SetTotalCreditsUsed

func (o *InlineResponse200Metrics) SetTotalCreditsUsed(v int64)

SetTotalCreditsUsed sets field value

func (*InlineResponse200Metrics) SetTotalRuns

func (o *InlineResponse200Metrics) SetTotalRuns(v int64)

SetTotalRuns sets field value

type InlineResponse200MetricsDurationMetrics

type InlineResponse200MetricsDurationMetrics struct {
	// The minimum duration, in seconds, among a group of runs.
	Min int64 `json:"min"`
	// The mean duration, in seconds, among a group of runs.
	Mean int64 `json:"mean"`
	// The median duration, in seconds, among a group of runs.
	Median int64 `json:"median"`
	// The 95th percentile duration, in seconds, among a group of runs.
	P95 int64 `json:"p95"`
	// The max duration, in seconds, among a group of runs.
	Max int64 `json:"max"`
	// The standard deviation, in seconds, among a group of runs.
	StandardDeviation float32 `json:"standard_deviation"`
}

InlineResponse200MetricsDurationMetrics Metrics relating to the duration of runs for a workflow.

func NewInlineResponse200MetricsDurationMetrics

func NewInlineResponse200MetricsDurationMetrics(min int64, mean int64, median int64, p95 int64, max int64, standardDeviation float32) *InlineResponse200MetricsDurationMetrics

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

func NewInlineResponse200MetricsDurationMetricsWithDefaults

func NewInlineResponse200MetricsDurationMetricsWithDefaults() *InlineResponse200MetricsDurationMetrics

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

func (*InlineResponse200MetricsDurationMetrics) GetMax

GetMax returns the Max field value

func (*InlineResponse200MetricsDurationMetrics) GetMaxOk

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

func (*InlineResponse200MetricsDurationMetrics) GetMean

GetMean returns the Mean field value

func (*InlineResponse200MetricsDurationMetrics) GetMeanOk

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

func (*InlineResponse200MetricsDurationMetrics) GetMedian

GetMedian returns the Median field value

func (*InlineResponse200MetricsDurationMetrics) GetMedianOk

func (o *InlineResponse200MetricsDurationMetrics) GetMedianOk() (*int64, bool)

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

func (*InlineResponse200MetricsDurationMetrics) GetMin

GetMin returns the Min field value

func (*InlineResponse200MetricsDurationMetrics) GetMinOk

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

func (*InlineResponse200MetricsDurationMetrics) GetP95

GetP95 returns the P95 field value

func (*InlineResponse200MetricsDurationMetrics) GetP95Ok

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

func (*InlineResponse200MetricsDurationMetrics) GetStandardDeviation

func (o *InlineResponse200MetricsDurationMetrics) GetStandardDeviation() float32

GetStandardDeviation returns the StandardDeviation field value

func (*InlineResponse200MetricsDurationMetrics) GetStandardDeviationOk

func (o *InlineResponse200MetricsDurationMetrics) GetStandardDeviationOk() (*float32, bool)

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

func (InlineResponse200MetricsDurationMetrics) MarshalJSON

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

func (*InlineResponse200MetricsDurationMetrics) SetMax

SetMax sets field value

func (*InlineResponse200MetricsDurationMetrics) SetMean

SetMean sets field value

func (*InlineResponse200MetricsDurationMetrics) SetMedian

SetMedian sets field value

func (*InlineResponse200MetricsDurationMetrics) SetMin

SetMin sets field value

func (*InlineResponse200MetricsDurationMetrics) SetP95

SetP95 sets field value

func (*InlineResponse200MetricsDurationMetrics) SetStandardDeviation

func (o *InlineResponse200MetricsDurationMetrics) SetStandardDeviation(v float32)

SetStandardDeviation sets field value

type Job

type Job struct {
	// The unique ID of the user.
	CanceledBy *string `json:"canceled_by,omitempty"`
	// A sequence of the unique job IDs for the jobs that this job depends upon in the workflow.
	Dependencies []string `json:"dependencies"`
	// The number of the job.
	JobNumber *int64 `json:"job_number,omitempty"`
	// The unique ID of the job.
	Id string `json:"id"`
	// The date and time the job started.
	StartedAt time.Time `json:"started_at"`
	// The name of the job.
	Name string `json:"name"`
	// The unique ID of the user.
	ApprovedBy *string `json:"approved_by,omitempty"`
	// The project-slug for the job.
	ProjectSlug string `json:"project_slug"`
	// The current status of the job.
	Status interface{} `json:"status"`
	// The type of job.
	Type string `json:"type"`
	// The time when the job stopped.
	StoppedAt *time.Time `json:"stopped_at,omitempty"`
	// The unique ID of the job.
	ApprovalRequestId *string `json:"approval_request_id,omitempty"`
}

Job Job

func NewJob

func NewJob(dependencies []string, id string, startedAt time.Time, name string, projectSlug string, status interface{}, type_ 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) GetApprovalRequestId

func (o *Job) GetApprovalRequestId() string

GetApprovalRequestId returns the ApprovalRequestId field value if set, zero value otherwise.

func (*Job) GetApprovalRequestIdOk

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

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

func (*Job) GetApprovedBy

func (o *Job) GetApprovedBy() string

GetApprovedBy returns the ApprovedBy field value if set, zero value otherwise.

func (*Job) GetApprovedByOk

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

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

func (*Job) GetCanceledBy

func (o *Job) GetCanceledBy() string

GetCanceledBy returns the CanceledBy field value if set, zero value otherwise.

func (*Job) GetCanceledByOk

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

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

func (*Job) GetDependencies

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

GetDependencies returns the Dependencies field value

func (*Job) GetDependenciesOk

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

GetDependenciesOk returns a tuple with the Dependencies field value 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) GetJobNumber

func (o *Job) GetJobNumber() int64

GetJobNumber returns the JobNumber field value if set, zero value otherwise.

func (*Job) GetJobNumberOk

func (o *Job) GetJobNumberOk() (*int64, bool)

GetJobNumberOk returns a tuple with the JobNumber field value if set, nil otherwise 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) GetProjectSlug

func (o *Job) GetProjectSlug() string

GetProjectSlug returns the ProjectSlug field value

func (*Job) GetProjectSlugOk

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

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

func (*Job) GetStartedAt

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

GetStartedAt returns the StartedAt field value

func (*Job) GetStartedAtOk

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

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

func (*Job) GetStatus

func (o *Job) GetStatus() interface{}

GetStatus returns the Status field value If the value is explicit nil, the zero value for interface{} will be returned

func (*Job) GetStatusOk

func (o *Job) GetStatusOk() (*interface{}, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Job) GetStoppedAt

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

GetStoppedAt returns the StoppedAt field value if set, zero value otherwise.

func (*Job) GetStoppedAtOk

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

GetStoppedAtOk returns a tuple with the StoppedAt field value if set, nil otherwise 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) HasApprovalRequestId

func (o *Job) HasApprovalRequestId() bool

HasApprovalRequestId returns a boolean if a field has been set.

func (*Job) HasApprovedBy

func (o *Job) HasApprovedBy() bool

HasApprovedBy returns a boolean if a field has been set.

func (*Job) HasCanceledBy

func (o *Job) HasCanceledBy() bool

HasCanceledBy returns a boolean if a field has been set.

func (*Job) HasJobNumber

func (o *Job) HasJobNumber() bool

HasJobNumber returns a boolean if a field has been set.

func (*Job) HasStoppedAt

func (o *Job) HasStoppedAt() bool

HasStoppedAt returns a boolean if a field has been set.

func (Job) MarshalJSON

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

func (*Job) SetApprovalRequestId

func (o *Job) SetApprovalRequestId(v string)

SetApprovalRequestId gets a reference to the given string and assigns it to the ApprovalRequestId field.

func (*Job) SetApprovedBy

func (o *Job) SetApprovedBy(v string)

SetApprovedBy gets a reference to the given string and assigns it to the ApprovedBy field.

func (*Job) SetCanceledBy

func (o *Job) SetCanceledBy(v string)

SetCanceledBy gets a reference to the given string and assigns it to the CanceledBy field.

func (*Job) SetDependencies

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

SetDependencies sets field value

func (*Job) SetId

func (o *Job) SetId(v string)

SetId sets field value

func (*Job) SetJobNumber

func (o *Job) SetJobNumber(v int64)

SetJobNumber gets a reference to the given int64 and assigns it to the JobNumber field.

func (*Job) SetName

func (o *Job) SetName(v string)

SetName sets field value

func (*Job) SetProjectSlug

func (o *Job) SetProjectSlug(v string)

SetProjectSlug sets field value

func (*Job) SetStartedAt

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

SetStartedAt sets field value

func (*Job) SetStatus

func (o *Job) SetStatus(v interface{})

SetStatus sets field value

func (*Job) SetStoppedAt

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

SetStoppedAt gets a reference to the given time.Time and assigns it to the StoppedAt field.

func (*Job) SetType

func (o *Job) SetType(v string)

SetType sets field value

type JobDetails

type JobDetails struct {
	// URL of the job in CircleCI Web UI.
	WebUrl  string            `json:"web_url"`
	Project JobDetailsProject `json:"project"`
	// Info about parallels runs and their status.
	ParallelRuns []JobDetailsParallelRuns `json:"parallel_runs"`
	// The date and time the job started.
	StartedAt      time.Time                `json:"started_at"`
	LatestWorkflow JobDetailsLatestWorkflow `json:"latest_workflow"`
	// The name of the job.
	Name     string             `json:"name"`
	Executor JobDetailsExecutor `json:"executor"`
	// A number of parallel runs the job has.
	Parallelism int64 `json:"parallelism"`
	// The current status of the job.
	Status interface{} `json:"status"`
	// The number of the job.
	Number   int64              `json:"number"`
	Pipeline JobDetailsPipeline `json:"pipeline"`
	// Duration of a job in milliseconds.
	Duration int64 `json:"duration"`
	// The time when the job was created.
	CreatedAt time.Time `json:"created_at"`
	// Messages from CircleCI execution platform.
	Messages []JobDetailsMessages `json:"messages"`
	// List of contexts used by the job.
	Contexts     []JobDetailsContexts   `json:"contexts"`
	Organization JobDetailsOrganization `json:"organization"`
	// The time when the job was placed in a queue.
	QueuedAt time.Time `json:"queued_at"`
	// The time when the job stopped.
	StoppedAt *time.Time `json:"stopped_at,omitempty"`
}

JobDetails Job Details

func NewJobDetails

func NewJobDetails(webUrl string, project JobDetailsProject, parallelRuns []JobDetailsParallelRuns, startedAt time.Time, latestWorkflow JobDetailsLatestWorkflow, name string, executor JobDetailsExecutor, parallelism int64, status interface{}, number int64, pipeline JobDetailsPipeline, duration int64, createdAt time.Time, messages []JobDetailsMessages, contexts []JobDetailsContexts, organization JobDetailsOrganization, queuedAt time.Time) *JobDetails

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

func NewJobDetailsWithDefaults

func NewJobDetailsWithDefaults() *JobDetails

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

func (*JobDetails) GetContexts

func (o *JobDetails) GetContexts() []JobDetailsContexts

GetContexts returns the Contexts field value

func (*JobDetails) GetContextsOk

func (o *JobDetails) GetContextsOk() (*[]JobDetailsContexts, bool)

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

func (*JobDetails) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*JobDetails) GetCreatedAtOk

func (o *JobDetails) 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 (*JobDetails) GetDuration

func (o *JobDetails) GetDuration() int64

GetDuration returns the Duration field value

func (*JobDetails) GetDurationOk

func (o *JobDetails) GetDurationOk() (*int64, bool)

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

func (*JobDetails) GetExecutor

func (o *JobDetails) GetExecutor() JobDetailsExecutor

GetExecutor returns the Executor field value

func (*JobDetails) GetExecutorOk

func (o *JobDetails) GetExecutorOk() (*JobDetailsExecutor, bool)

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

func (*JobDetails) GetLatestWorkflow

func (o *JobDetails) GetLatestWorkflow() JobDetailsLatestWorkflow

GetLatestWorkflow returns the LatestWorkflow field value

func (*JobDetails) GetLatestWorkflowOk

func (o *JobDetails) GetLatestWorkflowOk() (*JobDetailsLatestWorkflow, bool)

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

func (*JobDetails) GetMessages

func (o *JobDetails) GetMessages() []JobDetailsMessages

GetMessages returns the Messages field value

func (*JobDetails) GetMessagesOk

func (o *JobDetails) GetMessagesOk() (*[]JobDetailsMessages, bool)

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

func (*JobDetails) GetName

func (o *JobDetails) GetName() string

GetName returns the Name field value

func (*JobDetails) GetNameOk

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

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

func (*JobDetails) GetNumber

func (o *JobDetails) GetNumber() int64

GetNumber returns the Number field value

func (*JobDetails) GetNumberOk

func (o *JobDetails) GetNumberOk() (*int64, bool)

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

func (*JobDetails) GetOrganization

func (o *JobDetails) GetOrganization() JobDetailsOrganization

GetOrganization returns the Organization field value

func (*JobDetails) GetOrganizationOk

func (o *JobDetails) GetOrganizationOk() (*JobDetailsOrganization, bool)

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

func (*JobDetails) GetParallelRuns

func (o *JobDetails) GetParallelRuns() []JobDetailsParallelRuns

GetParallelRuns returns the ParallelRuns field value

func (*JobDetails) GetParallelRunsOk

func (o *JobDetails) GetParallelRunsOk() (*[]JobDetailsParallelRuns, bool)

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

func (*JobDetails) GetParallelism

func (o *JobDetails) GetParallelism() int64

GetParallelism returns the Parallelism field value

func (*JobDetails) GetParallelismOk

func (o *JobDetails) GetParallelismOk() (*int64, bool)

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

func (*JobDetails) GetPipeline

func (o *JobDetails) GetPipeline() JobDetailsPipeline

GetPipeline returns the Pipeline field value

func (*JobDetails) GetPipelineOk

func (o *JobDetails) GetPipelineOk() (*JobDetailsPipeline, bool)

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

func (*JobDetails) GetProject

func (o *JobDetails) GetProject() JobDetailsProject

GetProject returns the Project field value

func (*JobDetails) GetProjectOk

func (o *JobDetails) GetProjectOk() (*JobDetailsProject, bool)

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

func (*JobDetails) GetQueuedAt

func (o *JobDetails) GetQueuedAt() time.Time

GetQueuedAt returns the QueuedAt field value

func (*JobDetails) GetQueuedAtOk

func (o *JobDetails) GetQueuedAtOk() (*time.Time, bool)

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

func (*JobDetails) GetStartedAt

func (o *JobDetails) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field value

func (*JobDetails) GetStartedAtOk

func (o *JobDetails) GetStartedAtOk() (*time.Time, bool)

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

func (*JobDetails) GetStatus

func (o *JobDetails) GetStatus() interface{}

GetStatus returns the Status field value If the value is explicit nil, the zero value for interface{} will be returned

func (*JobDetails) GetStatusOk

func (o *JobDetails) GetStatusOk() (*interface{}, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*JobDetails) GetStoppedAt

func (o *JobDetails) GetStoppedAt() time.Time

GetStoppedAt returns the StoppedAt field value if set, zero value otherwise.

func (*JobDetails) GetStoppedAtOk

func (o *JobDetails) GetStoppedAtOk() (*time.Time, bool)

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

func (*JobDetails) GetWebUrl

func (o *JobDetails) GetWebUrl() string

GetWebUrl returns the WebUrl field value

func (*JobDetails) GetWebUrlOk

func (o *JobDetails) GetWebUrlOk() (*string, bool)

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

func (*JobDetails) HasStoppedAt

func (o *JobDetails) HasStoppedAt() bool

HasStoppedAt returns a boolean if a field has been set.

func (JobDetails) MarshalJSON

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

func (*JobDetails) SetContexts

func (o *JobDetails) SetContexts(v []JobDetailsContexts)

SetContexts sets field value

func (*JobDetails) SetCreatedAt

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

SetCreatedAt sets field value

func (*JobDetails) SetDuration

func (o *JobDetails) SetDuration(v int64)

SetDuration sets field value

func (*JobDetails) SetExecutor

func (o *JobDetails) SetExecutor(v JobDetailsExecutor)

SetExecutor sets field value

func (*JobDetails) SetLatestWorkflow

func (o *JobDetails) SetLatestWorkflow(v JobDetailsLatestWorkflow)

SetLatestWorkflow sets field value

func (*JobDetails) SetMessages

func (o *JobDetails) SetMessages(v []JobDetailsMessages)

SetMessages sets field value

func (*JobDetails) SetName

func (o *JobDetails) SetName(v string)

SetName sets field value

func (*JobDetails) SetNumber

func (o *JobDetails) SetNumber(v int64)

SetNumber sets field value

func (*JobDetails) SetOrganization

func (o *JobDetails) SetOrganization(v JobDetailsOrganization)

SetOrganization sets field value

func (*JobDetails) SetParallelRuns

func (o *JobDetails) SetParallelRuns(v []JobDetailsParallelRuns)

SetParallelRuns sets field value

func (*JobDetails) SetParallelism

func (o *JobDetails) SetParallelism(v int64)

SetParallelism sets field value

func (*JobDetails) SetPipeline

func (o *JobDetails) SetPipeline(v JobDetailsPipeline)

SetPipeline sets field value

func (*JobDetails) SetProject

func (o *JobDetails) SetProject(v JobDetailsProject)

SetProject sets field value

func (*JobDetails) SetQueuedAt

func (o *JobDetails) SetQueuedAt(v time.Time)

SetQueuedAt sets field value

func (*JobDetails) SetStartedAt

func (o *JobDetails) SetStartedAt(v time.Time)

SetStartedAt sets field value

func (*JobDetails) SetStatus

func (o *JobDetails) SetStatus(v interface{})

SetStatus sets field value

func (*JobDetails) SetStoppedAt

func (o *JobDetails) SetStoppedAt(v time.Time)

SetStoppedAt gets a reference to the given time.Time and assigns it to the StoppedAt field.

func (*JobDetails) SetWebUrl

func (o *JobDetails) SetWebUrl(v string)

SetWebUrl sets field value

type JobDetailsContexts

type JobDetailsContexts struct {
	// The name of the context.
	Name string `json:"name"`
}

JobDetailsContexts Information about the context.

func NewJobDetailsContexts

func NewJobDetailsContexts(name string) *JobDetailsContexts

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

func NewJobDetailsContextsWithDefaults

func NewJobDetailsContextsWithDefaults() *JobDetailsContexts

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

func (*JobDetailsContexts) GetName

func (o *JobDetailsContexts) GetName() string

GetName returns the Name field value

func (*JobDetailsContexts) GetNameOk

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

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

func (JobDetailsContexts) MarshalJSON

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

func (*JobDetailsContexts) SetName

func (o *JobDetailsContexts) SetName(v string)

SetName sets field value

type JobDetailsExecutor

type JobDetailsExecutor struct {
	// Executor type.
	Type string `json:"type"`
	// Resource class name.
	ResourceClass string `json:"resource_class"`
}

JobDetailsExecutor Information about executor used for a job.

func NewJobDetailsExecutor

func NewJobDetailsExecutor(type_ string, resourceClass string) *JobDetailsExecutor

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

func NewJobDetailsExecutorWithDefaults

func NewJobDetailsExecutorWithDefaults() *JobDetailsExecutor

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

func (*JobDetailsExecutor) GetResourceClass

func (o *JobDetailsExecutor) GetResourceClass() string

GetResourceClass returns the ResourceClass field value

func (*JobDetailsExecutor) GetResourceClassOk

func (o *JobDetailsExecutor) GetResourceClassOk() (*string, bool)

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

func (*JobDetailsExecutor) GetType

func (o *JobDetailsExecutor) GetType() string

GetType returns the Type field value

func (*JobDetailsExecutor) GetTypeOk

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

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

func (JobDetailsExecutor) MarshalJSON

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

func (*JobDetailsExecutor) SetResourceClass

func (o *JobDetailsExecutor) SetResourceClass(v string)

SetResourceClass sets field value

func (*JobDetailsExecutor) SetType

func (o *JobDetailsExecutor) SetType(v string)

SetType sets field value

type JobDetailsLatestWorkflow

type JobDetailsLatestWorkflow struct {
	// The unique ID of the workflow.
	Id string `json:"id"`
	// The name of the workflow.
	Name string `json:"name"`
}

JobDetailsLatestWorkflow Info about the latest workflow the job was a part of.

func NewJobDetailsLatestWorkflow

func NewJobDetailsLatestWorkflow(id string, name string) *JobDetailsLatestWorkflow

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

func NewJobDetailsLatestWorkflowWithDefaults

func NewJobDetailsLatestWorkflowWithDefaults() *JobDetailsLatestWorkflow

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

func (*JobDetailsLatestWorkflow) GetId

func (o *JobDetailsLatestWorkflow) GetId() string

GetId returns the Id field value

func (*JobDetailsLatestWorkflow) GetIdOk

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

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

func (*JobDetailsLatestWorkflow) GetName

func (o *JobDetailsLatestWorkflow) GetName() string

GetName returns the Name field value

func (*JobDetailsLatestWorkflow) GetNameOk

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

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

func (JobDetailsLatestWorkflow) MarshalJSON

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

func (*JobDetailsLatestWorkflow) SetId

func (o *JobDetailsLatestWorkflow) SetId(v string)

SetId sets field value

func (*JobDetailsLatestWorkflow) SetName

func (o *JobDetailsLatestWorkflow) SetName(v string)

SetName sets field value

type JobDetailsMessages

type JobDetailsMessages struct {
	// Message type.
	Type string `json:"type"`
	// Information describing message.
	Message string `json:"message"`
	// Value describing the reason for message to be added to the job.
	Reason *string `json:"reason,omitempty"`
}

JobDetailsMessages Message from CircleCI execution platform.

func NewJobDetailsMessages

func NewJobDetailsMessages(type_ string, message string) *JobDetailsMessages

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

func NewJobDetailsMessagesWithDefaults

func NewJobDetailsMessagesWithDefaults() *JobDetailsMessages

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

func (*JobDetailsMessages) GetMessage

func (o *JobDetailsMessages) GetMessage() string

GetMessage returns the Message field value

func (*JobDetailsMessages) GetMessageOk

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

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

func (*JobDetailsMessages) GetReason

func (o *JobDetailsMessages) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*JobDetailsMessages) GetReasonOk

func (o *JobDetailsMessages) GetReasonOk() (*string, bool)

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

func (*JobDetailsMessages) GetType

func (o *JobDetailsMessages) GetType() string

GetType returns the Type field value

func (*JobDetailsMessages) GetTypeOk

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

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

func (*JobDetailsMessages) HasReason

func (o *JobDetailsMessages) HasReason() bool

HasReason returns a boolean if a field has been set.

func (JobDetailsMessages) MarshalJSON

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

func (*JobDetailsMessages) SetMessage

func (o *JobDetailsMessages) SetMessage(v string)

SetMessage sets field value

func (*JobDetailsMessages) SetReason

func (o *JobDetailsMessages) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*JobDetailsMessages) SetType

func (o *JobDetailsMessages) SetType(v string)

SetType sets field value

type JobDetailsOrganization

type JobDetailsOrganization struct {
	// The name of the organization.
	Name string `json:"name"`
}

JobDetailsOrganization Information about an organization.

func NewJobDetailsOrganization

func NewJobDetailsOrganization(name string) *JobDetailsOrganization

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

func NewJobDetailsOrganizationWithDefaults

func NewJobDetailsOrganizationWithDefaults() *JobDetailsOrganization

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

func (*JobDetailsOrganization) GetName

func (o *JobDetailsOrganization) GetName() string

GetName returns the Name field value

func (*JobDetailsOrganization) GetNameOk

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

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

func (JobDetailsOrganization) MarshalJSON

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

func (*JobDetailsOrganization) SetName

func (o *JobDetailsOrganization) SetName(v string)

SetName sets field value

type JobDetailsParallelRuns

type JobDetailsParallelRuns struct {
	// Index of the parallel run.
	Index int64 `json:"index"`
	// Status of the parallel run.
	Status string `json:"status"`
}

JobDetailsParallelRuns Info about a status of the parallel run.

func NewJobDetailsParallelRuns

func NewJobDetailsParallelRuns(index int64, status string) *JobDetailsParallelRuns

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

func NewJobDetailsParallelRunsWithDefaults

func NewJobDetailsParallelRunsWithDefaults() *JobDetailsParallelRuns

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

func (*JobDetailsParallelRuns) GetIndex

func (o *JobDetailsParallelRuns) GetIndex() int64

GetIndex returns the Index field value

func (*JobDetailsParallelRuns) GetIndexOk

func (o *JobDetailsParallelRuns) GetIndexOk() (*int64, bool)

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

func (*JobDetailsParallelRuns) GetStatus

func (o *JobDetailsParallelRuns) GetStatus() string

GetStatus returns the Status field value

func (*JobDetailsParallelRuns) GetStatusOk

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

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

func (JobDetailsParallelRuns) MarshalJSON

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

func (*JobDetailsParallelRuns) SetIndex

func (o *JobDetailsParallelRuns) SetIndex(v int64)

SetIndex sets field value

func (*JobDetailsParallelRuns) SetStatus

func (o *JobDetailsParallelRuns) SetStatus(v string)

SetStatus sets field value

type JobDetailsPipeline

type JobDetailsPipeline struct {
	// The unique ID of the pipeline.
	Id string `json:"id"`
}

JobDetailsPipeline Info about a pipeline the job is a part of.

func NewJobDetailsPipeline

func NewJobDetailsPipeline(id string) *JobDetailsPipeline

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

func NewJobDetailsPipelineWithDefaults

func NewJobDetailsPipelineWithDefaults() *JobDetailsPipeline

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

func (*JobDetailsPipeline) GetId

func (o *JobDetailsPipeline) GetId() string

GetId returns the Id field value

func (*JobDetailsPipeline) GetIdOk

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

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

func (JobDetailsPipeline) MarshalJSON

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

func (*JobDetailsPipeline) SetId

func (o *JobDetailsPipeline) SetId(v string)

SetId sets field value

type JobDetailsProject

type JobDetailsProject struct {
	// Project slug in the form `vcs-slug/org-name/repo-name`. The `/` characters may be URL-escaped.
	Slug string `json:"slug"`
	// The name of the project
	Name string `json:"name"`
	// URL to the repository hosting the project's code
	ExternalUrl string `json:"external_url"`
}

JobDetailsProject Information about a project.

func NewJobDetailsProject

func NewJobDetailsProject(slug string, name string, externalUrl string) *JobDetailsProject

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

func NewJobDetailsProjectWithDefaults

func NewJobDetailsProjectWithDefaults() *JobDetailsProject

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

func (*JobDetailsProject) GetExternalUrl

func (o *JobDetailsProject) GetExternalUrl() string

GetExternalUrl returns the ExternalUrl field value

func (*JobDetailsProject) GetExternalUrlOk

func (o *JobDetailsProject) GetExternalUrlOk() (*string, bool)

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

func (*JobDetailsProject) GetName

func (o *JobDetailsProject) GetName() string

GetName returns the Name field value

func (*JobDetailsProject) GetNameOk

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

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

func (*JobDetailsProject) GetSlug

func (o *JobDetailsProject) GetSlug() string

GetSlug returns the Slug field value

func (*JobDetailsProject) GetSlugOk

func (o *JobDetailsProject) GetSlugOk() (*string, bool)

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

func (JobDetailsProject) MarshalJSON

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

func (*JobDetailsProject) SetExternalUrl

func (o *JobDetailsProject) SetExternalUrl(v string)

SetExternalUrl sets field value

func (*JobDetailsProject) SetName

func (o *JobDetailsProject) SetName(v string)

SetName sets field value

func (*JobDetailsProject) SetSlug

func (o *JobDetailsProject) SetSlug(v string)

SetSlug sets field value

type ListMyPipelinesCall

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

ListMyPipelinesCall provides the get your pipelines.

func (*ListMyPipelinesCall) Do

func (c *ListMyPipelinesCall) Do(ctx context.Context) (interface{}, error)

Do executes the ListMyPipelines.

func (*ListMyPipelinesCall) PageToken

func (c *ListMyPipelinesCall) PageToken(pageToken string) *ListMyPipelinesCall

type ListPipelinesForProjectCall

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

ListPipelinesForProjectCall provides the get all pipelines.

func (*ListPipelinesForProjectCall) Branch

func (*ListPipelinesForProjectCall) Do

func (c *ListPipelinesForProjectCall) Do(ctx context.Context) (interface{}, error)

Do executes the ListPipelinesForProject.

func (*ListPipelinesForProjectCall) PageToken

type ListWorkflowJobsCall

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

ListWorkflowJobsCall provides the get a workflow's jobs.

func (*ListWorkflowJobsCall) Do

func (c *ListWorkflowJobsCall) Do(ctx context.Context) (interface{}, error)

Do executes the ListWorkflowJobs.

type ListWorkflowsByPipelineIDCall

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

ListWorkflowsByPipelineIDCall provides the get a pipeline's workflows.

func (*ListWorkflowsByPipelineIDCall) Do

func (c *ListWorkflowsByPipelineIDCall) Do(ctx context.Context) (interface{}, error)

Do executes the ListWorkflowsByPipelineID.

func (*ListWorkflowsByPipelineIDCall) PageToken

type MessageResponse

type MessageResponse struct {
	// A human-readable message
	Message string `json:"message"`
}

MessageResponse message response

func NewMessageResponse

func NewMessageResponse(message string) *MessageResponse

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

func NewMessageResponseWithDefaults

func NewMessageResponseWithDefaults() *MessageResponse

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

func (*MessageResponse) GetMessage

func (o *MessageResponse) GetMessage() string

GetMessage returns the Message field value

func (*MessageResponse) GetMessageOk

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

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

func (MessageResponse) MarshalJSON

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

func (*MessageResponse) SetMessage

func (o *MessageResponse) SetMessage(v string)

SetMessage sets field value

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 NullableArtifactListResponse

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

func NewNullableArtifactListResponse

func NewNullableArtifactListResponse(val *ArtifactListResponse) *NullableArtifactListResponse

func (NullableArtifactListResponse) Get

func (NullableArtifactListResponse) IsSet

func (NullableArtifactListResponse) MarshalJSON

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

func (*NullableArtifactListResponse) Set

func (*NullableArtifactListResponse) UnmarshalJSON

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

func (*NullableArtifactListResponse) Unset

func (v *NullableArtifactListResponse) Unset()

type NullableCheckoutKey

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

func NewNullableCheckoutKey

func NewNullableCheckoutKey(val *CheckoutKey) *NullableCheckoutKey

func (NullableCheckoutKey) Get

func (NullableCheckoutKey) IsSet

func (v NullableCheckoutKey) IsSet() bool

func (NullableCheckoutKey) MarshalJSON

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

func (*NullableCheckoutKey) Set

func (v *NullableCheckoutKey) Set(val *CheckoutKey)

func (*NullableCheckoutKey) UnmarshalJSON

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

func (*NullableCheckoutKey) Unset

func (v *NullableCheckoutKey) Unset()

type NullableCheckoutKeyInput

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

func NewNullableCheckoutKeyInput

func NewNullableCheckoutKeyInput(val *CheckoutKeyInput) *NullableCheckoutKeyInput

func (NullableCheckoutKeyInput) Get

func (NullableCheckoutKeyInput) IsSet

func (v NullableCheckoutKeyInput) IsSet() bool

func (NullableCheckoutKeyInput) MarshalJSON

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

func (*NullableCheckoutKeyInput) Set

func (*NullableCheckoutKeyInput) UnmarshalJSON

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

func (*NullableCheckoutKeyInput) Unset

func (v *NullableCheckoutKeyInput) Unset()

type NullableCheckoutKeyListResponse

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

func (NullableCheckoutKeyListResponse) Get

func (NullableCheckoutKeyListResponse) IsSet

func (NullableCheckoutKeyListResponse) MarshalJSON

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

func (*NullableCheckoutKeyListResponse) Set

func (*NullableCheckoutKeyListResponse) UnmarshalJSON

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

func (*NullableCheckoutKeyListResponse) Unset

type NullableCollaboration

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

func NewNullableCollaboration

func NewNullableCollaboration(val *Collaboration) *NullableCollaboration

func (NullableCollaboration) Get

func (NullableCollaboration) IsSet

func (v NullableCollaboration) IsSet() bool

func (NullableCollaboration) MarshalJSON

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

func (*NullableCollaboration) Set

func (v *NullableCollaboration) Set(val *Collaboration)

func (*NullableCollaboration) UnmarshalJSON

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

func (*NullableCollaboration) Unset

func (v *NullableCollaboration) Unset()

type NullableEnvironmentVariableListResponse

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

func (NullableEnvironmentVariableListResponse) Get

func (NullableEnvironmentVariableListResponse) IsSet

func (NullableEnvironmentVariableListResponse) MarshalJSON

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

func (*NullableEnvironmentVariableListResponse) Set

func (*NullableEnvironmentVariableListResponse) UnmarshalJSON

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

func (*NullableEnvironmentVariableListResponse) Unset

type NullableEnvironmentVariablePair

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

func (NullableEnvironmentVariablePair) Get

func (NullableEnvironmentVariablePair) IsSet

func (NullableEnvironmentVariablePair) MarshalJSON

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

func (*NullableEnvironmentVariablePair) Set

func (*NullableEnvironmentVariablePair) UnmarshalJSON

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

func (*NullableEnvironmentVariablePair) Unset

type NullableEnvironmentVariablePair1

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

func (NullableEnvironmentVariablePair1) Get

func (NullableEnvironmentVariablePair1) IsSet

func (NullableEnvironmentVariablePair1) MarshalJSON

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

func (*NullableEnvironmentVariablePair1) Set

func (*NullableEnvironmentVariablePair1) UnmarshalJSON

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

func (*NullableEnvironmentVariablePair1) Unset

type NullableInlineResponse200

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

func NewNullableInlineResponse200

func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200

func (NullableInlineResponse200) Get

func (NullableInlineResponse200) IsSet

func (v NullableInlineResponse200) IsSet() bool

func (NullableInlineResponse200) MarshalJSON

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

func (*NullableInlineResponse200) Set

func (*NullableInlineResponse200) UnmarshalJSON

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

func (*NullableInlineResponse200) Unset

func (v *NullableInlineResponse200) Unset()

type NullableInlineResponse2001

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

func NewNullableInlineResponse2001

func NewNullableInlineResponse2001(val *InlineResponse2001) *NullableInlineResponse2001

func (NullableInlineResponse2001) Get

func (NullableInlineResponse2001) IsSet

func (v NullableInlineResponse2001) IsSet() bool

func (NullableInlineResponse2001) MarshalJSON

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

func (*NullableInlineResponse2001) Set

func (*NullableInlineResponse2001) UnmarshalJSON

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

func (*NullableInlineResponse2001) Unset

func (v *NullableInlineResponse2001) Unset()

type NullableInlineResponse2001Items

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

func (NullableInlineResponse2001Items) Get

func (NullableInlineResponse2001Items) IsSet

func (NullableInlineResponse2001Items) MarshalJSON

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

func (*NullableInlineResponse2001Items) Set

func (*NullableInlineResponse2001Items) UnmarshalJSON

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

func (*NullableInlineResponse2001Items) Unset

type NullableInlineResponse2002

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

func NewNullableInlineResponse2002

func NewNullableInlineResponse2002(val *InlineResponse2002) *NullableInlineResponse2002

func (NullableInlineResponse2002) Get

func (NullableInlineResponse2002) IsSet

func (v NullableInlineResponse2002) IsSet() bool

func (NullableInlineResponse2002) MarshalJSON

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

func (*NullableInlineResponse2002) Set

func (*NullableInlineResponse2002) UnmarshalJSON

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

func (*NullableInlineResponse2002) Unset

func (v *NullableInlineResponse2002) Unset()

type NullableInlineResponse2002Items

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

func (NullableInlineResponse2002Items) Get

func (NullableInlineResponse2002Items) IsSet

func (NullableInlineResponse2002Items) MarshalJSON

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

func (*NullableInlineResponse2002Items) Set

func (*NullableInlineResponse2002Items) UnmarshalJSON

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

func (*NullableInlineResponse2002Items) Unset

type NullableInlineResponse2002Metrics

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

func (NullableInlineResponse2002Metrics) Get

func (NullableInlineResponse2002Metrics) IsSet

func (NullableInlineResponse2002Metrics) MarshalJSON

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

func (*NullableInlineResponse2002Metrics) Set

func (*NullableInlineResponse2002Metrics) UnmarshalJSON

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

func (*NullableInlineResponse2002Metrics) Unset

type NullableInlineResponse2002MetricsDurationMetrics

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

func (NullableInlineResponse2002MetricsDurationMetrics) Get

func (NullableInlineResponse2002MetricsDurationMetrics) IsSet

func (NullableInlineResponse2002MetricsDurationMetrics) MarshalJSON

func (*NullableInlineResponse2002MetricsDurationMetrics) Set

func (*NullableInlineResponse2002MetricsDurationMetrics) UnmarshalJSON

func (*NullableInlineResponse2002MetricsDurationMetrics) Unset

type NullableInlineResponse2003

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

func NewNullableInlineResponse2003

func NewNullableInlineResponse2003(val *InlineResponse2003) *NullableInlineResponse2003

func (NullableInlineResponse2003) Get

func (NullableInlineResponse2003) IsSet

func (v NullableInlineResponse2003) IsSet() bool

func (NullableInlineResponse2003) MarshalJSON

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

func (*NullableInlineResponse2003) Set

func (*NullableInlineResponse2003) UnmarshalJSON

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

func (*NullableInlineResponse2003) Unset

func (v *NullableInlineResponse2003) Unset()

type NullableInlineResponse2003Items

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

func (NullableInlineResponse2003Items) Get

func (NullableInlineResponse2003Items) IsSet

func (NullableInlineResponse2003Items) MarshalJSON

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

func (*NullableInlineResponse2003Items) Set

func (*NullableInlineResponse2003Items) UnmarshalJSON

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

func (*NullableInlineResponse2003Items) Unset

type NullableInlineResponse200Items

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

func (NullableInlineResponse200Items) Get

func (NullableInlineResponse200Items) IsSet

func (NullableInlineResponse200Items) MarshalJSON

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

func (*NullableInlineResponse200Items) Set

func (*NullableInlineResponse200Items) UnmarshalJSON

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

func (*NullableInlineResponse200Items) Unset

func (v *NullableInlineResponse200Items) Unset()

type NullableInlineResponse200Metrics

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

func (NullableInlineResponse200Metrics) Get

func (NullableInlineResponse200Metrics) IsSet

func (NullableInlineResponse200Metrics) MarshalJSON

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

func (*NullableInlineResponse200Metrics) Set

func (*NullableInlineResponse200Metrics) UnmarshalJSON

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

func (*NullableInlineResponse200Metrics) Unset

type NullableInlineResponse200MetricsDurationMetrics

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

func (NullableInlineResponse200MetricsDurationMetrics) Get

func (NullableInlineResponse200MetricsDurationMetrics) IsSet

func (NullableInlineResponse200MetricsDurationMetrics) MarshalJSON

func (*NullableInlineResponse200MetricsDurationMetrics) Set

func (*NullableInlineResponse200MetricsDurationMetrics) UnmarshalJSON

func (*NullableInlineResponse200MetricsDurationMetrics) 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 NullableJobDetails

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

func NewNullableJobDetails

func NewNullableJobDetails(val *JobDetails) *NullableJobDetails

func (NullableJobDetails) Get

func (v NullableJobDetails) Get() *JobDetails

func (NullableJobDetails) IsSet

func (v NullableJobDetails) IsSet() bool

func (NullableJobDetails) MarshalJSON

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

func (*NullableJobDetails) Set

func (v *NullableJobDetails) Set(val *JobDetails)

func (*NullableJobDetails) UnmarshalJSON

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

func (*NullableJobDetails) Unset

func (v *NullableJobDetails) Unset()

type NullableJobDetailsContexts

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

func NewNullableJobDetailsContexts

func NewNullableJobDetailsContexts(val *JobDetailsContexts) *NullableJobDetailsContexts

func (NullableJobDetailsContexts) Get

func (NullableJobDetailsContexts) IsSet

func (v NullableJobDetailsContexts) IsSet() bool

func (NullableJobDetailsContexts) MarshalJSON

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

func (*NullableJobDetailsContexts) Set

func (*NullableJobDetailsContexts) UnmarshalJSON

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

func (*NullableJobDetailsContexts) Unset

func (v *NullableJobDetailsContexts) Unset()

type NullableJobDetailsExecutor

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

func NewNullableJobDetailsExecutor

func NewNullableJobDetailsExecutor(val *JobDetailsExecutor) *NullableJobDetailsExecutor

func (NullableJobDetailsExecutor) Get

func (NullableJobDetailsExecutor) IsSet

func (v NullableJobDetailsExecutor) IsSet() bool

func (NullableJobDetailsExecutor) MarshalJSON

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

func (*NullableJobDetailsExecutor) Set

func (*NullableJobDetailsExecutor) UnmarshalJSON

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

func (*NullableJobDetailsExecutor) Unset

func (v *NullableJobDetailsExecutor) Unset()

type NullableJobDetailsLatestWorkflow

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

func (NullableJobDetailsLatestWorkflow) Get

func (NullableJobDetailsLatestWorkflow) IsSet

func (NullableJobDetailsLatestWorkflow) MarshalJSON

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

func (*NullableJobDetailsLatestWorkflow) Set

func (*NullableJobDetailsLatestWorkflow) UnmarshalJSON

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

func (*NullableJobDetailsLatestWorkflow) Unset

type NullableJobDetailsMessages

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

func NewNullableJobDetailsMessages

func NewNullableJobDetailsMessages(val *JobDetailsMessages) *NullableJobDetailsMessages

func (NullableJobDetailsMessages) Get

func (NullableJobDetailsMessages) IsSet

func (v NullableJobDetailsMessages) IsSet() bool

func (NullableJobDetailsMessages) MarshalJSON

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

func (*NullableJobDetailsMessages) Set

func (*NullableJobDetailsMessages) UnmarshalJSON

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

func (*NullableJobDetailsMessages) Unset

func (v *NullableJobDetailsMessages) Unset()

type NullableJobDetailsOrganization

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

func (NullableJobDetailsOrganization) Get

func (NullableJobDetailsOrganization) IsSet

func (NullableJobDetailsOrganization) MarshalJSON

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

func (*NullableJobDetailsOrganization) Set

func (*NullableJobDetailsOrganization) UnmarshalJSON

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

func (*NullableJobDetailsOrganization) Unset

func (v *NullableJobDetailsOrganization) Unset()

type NullableJobDetailsParallelRuns

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

func (NullableJobDetailsParallelRuns) Get

func (NullableJobDetailsParallelRuns) IsSet

func (NullableJobDetailsParallelRuns) MarshalJSON

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

func (*NullableJobDetailsParallelRuns) Set

func (*NullableJobDetailsParallelRuns) UnmarshalJSON

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

func (*NullableJobDetailsParallelRuns) Unset

func (v *NullableJobDetailsParallelRuns) Unset()

type NullableJobDetailsPipeline

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

func NewNullableJobDetailsPipeline

func NewNullableJobDetailsPipeline(val *JobDetailsPipeline) *NullableJobDetailsPipeline

func (NullableJobDetailsPipeline) Get

func (NullableJobDetailsPipeline) IsSet

func (v NullableJobDetailsPipeline) IsSet() bool

func (NullableJobDetailsPipeline) MarshalJSON

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

func (*NullableJobDetailsPipeline) Set

func (*NullableJobDetailsPipeline) UnmarshalJSON

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

func (*NullableJobDetailsPipeline) Unset

func (v *NullableJobDetailsPipeline) Unset()

type NullableJobDetailsProject

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

func NewNullableJobDetailsProject

func NewNullableJobDetailsProject(val *JobDetailsProject) *NullableJobDetailsProject

func (NullableJobDetailsProject) Get

func (NullableJobDetailsProject) IsSet

func (v NullableJobDetailsProject) IsSet() bool

func (NullableJobDetailsProject) MarshalJSON

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

func (*NullableJobDetailsProject) Set

func (*NullableJobDetailsProject) UnmarshalJSON

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

func (*NullableJobDetailsProject) Unset

func (v *NullableJobDetailsProject) Unset()

type NullableMessageResponse

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

func NewNullableMessageResponse

func NewNullableMessageResponse(val *MessageResponse) *NullableMessageResponse

func (NullableMessageResponse) Get

func (NullableMessageResponse) IsSet

func (v NullableMessageResponse) IsSet() bool

func (NullableMessageResponse) MarshalJSON

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

func (*NullableMessageResponse) Set

func (*NullableMessageResponse) UnmarshalJSON

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

func (*NullableMessageResponse) Unset

func (v *NullableMessageResponse) Unset()

type NullablePipeline

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

func NewNullablePipeline

func NewNullablePipeline(val *Pipeline) *NullablePipeline

func (NullablePipeline) Get

func (v NullablePipeline) Get() *Pipeline

func (NullablePipeline) IsSet

func (v NullablePipeline) IsSet() bool

func (NullablePipeline) MarshalJSON

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

func (*NullablePipeline) Set

func (v *NullablePipeline) Set(val *Pipeline)

func (*NullablePipeline) UnmarshalJSON

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

func (*NullablePipeline) Unset

func (v *NullablePipeline) Unset()

type NullablePipelineConfig

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

func NewNullablePipelineConfig

func NewNullablePipelineConfig(val *PipelineConfig) *NullablePipelineConfig

func (NullablePipelineConfig) Get

func (NullablePipelineConfig) IsSet

func (v NullablePipelineConfig) IsSet() bool

func (NullablePipelineConfig) MarshalJSON

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

func (*NullablePipelineConfig) Set

func (*NullablePipelineConfig) UnmarshalJSON

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

func (*NullablePipelineConfig) Unset

func (v *NullablePipelineConfig) Unset()

type NullablePipelineErrors

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

func NewNullablePipelineErrors

func NewNullablePipelineErrors(val *PipelineErrors) *NullablePipelineErrors

func (NullablePipelineErrors) Get

func (NullablePipelineErrors) IsSet

func (v NullablePipelineErrors) IsSet() bool

func (NullablePipelineErrors) MarshalJSON

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

func (*NullablePipelineErrors) Set

func (*NullablePipelineErrors) UnmarshalJSON

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

func (*NullablePipelineErrors) Unset

func (v *NullablePipelineErrors) Unset()

type NullablePipelineLight

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

func NewNullablePipelineLight

func NewNullablePipelineLight(val *PipelineLight) *NullablePipelineLight

func (NullablePipelineLight) Get

func (NullablePipelineLight) IsSet

func (v NullablePipelineLight) IsSet() bool

func (NullablePipelineLight) MarshalJSON

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

func (*NullablePipelineLight) Set

func (v *NullablePipelineLight) Set(val *PipelineLight)

func (*NullablePipelineLight) UnmarshalJSON

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

func (*NullablePipelineLight) Unset

func (v *NullablePipelineLight) Unset()

type NullablePipelineListResponse

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

func NewNullablePipelineListResponse

func NewNullablePipelineListResponse(val *PipelineListResponse) *NullablePipelineListResponse

func (NullablePipelineListResponse) Get

func (NullablePipelineListResponse) IsSet

func (NullablePipelineListResponse) MarshalJSON

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

func (*NullablePipelineListResponse) Set

func (*NullablePipelineListResponse) UnmarshalJSON

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

func (*NullablePipelineListResponse) Unset

func (v *NullablePipelineListResponse) Unset()

type NullablePipelineTrigger

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

func NewNullablePipelineTrigger

func NewNullablePipelineTrigger(val *PipelineTrigger) *NullablePipelineTrigger

func (NullablePipelineTrigger) Get

func (NullablePipelineTrigger) IsSet

func (v NullablePipelineTrigger) IsSet() bool

func (NullablePipelineTrigger) MarshalJSON

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

func (*NullablePipelineTrigger) Set

func (*NullablePipelineTrigger) UnmarshalJSON

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

func (*NullablePipelineTrigger) Unset

func (v *NullablePipelineTrigger) Unset()

type NullablePipelineTriggerActor

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

func NewNullablePipelineTriggerActor

func NewNullablePipelineTriggerActor(val *PipelineTriggerActor) *NullablePipelineTriggerActor

func (NullablePipelineTriggerActor) Get

func (NullablePipelineTriggerActor) IsSet

func (NullablePipelineTriggerActor) MarshalJSON

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

func (*NullablePipelineTriggerActor) Set

func (*NullablePipelineTriggerActor) UnmarshalJSON

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

func (*NullablePipelineTriggerActor) Unset

func (v *NullablePipelineTriggerActor) Unset()

type NullablePipelineVcs

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

func NewNullablePipelineVcs

func NewNullablePipelineVcs(val *PipelineVcs) *NullablePipelineVcs

func (NullablePipelineVcs) Get

func (NullablePipelineVcs) IsSet

func (v NullablePipelineVcs) IsSet() bool

func (NullablePipelineVcs) MarshalJSON

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

func (*NullablePipelineVcs) Set

func (v *NullablePipelineVcs) Set(val *PipelineVcs)

func (*NullablePipelineVcs) UnmarshalJSON

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

func (*NullablePipelineVcs) Unset

func (v *NullablePipelineVcs) Unset()

type NullablePipelineVcsCommit

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

func NewNullablePipelineVcsCommit

func NewNullablePipelineVcsCommit(val *PipelineVcsCommit) *NullablePipelineVcsCommit

func (NullablePipelineVcsCommit) Get

func (NullablePipelineVcsCommit) IsSet

func (v NullablePipelineVcsCommit) IsSet() bool

func (NullablePipelineVcsCommit) MarshalJSON

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

func (*NullablePipelineVcsCommit) Set

func (*NullablePipelineVcsCommit) UnmarshalJSON

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

func (*NullablePipelineVcsCommit) Unset

func (v *NullablePipelineVcsCommit) Unset()

type NullableProject

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

func NewNullableProject

func NewNullableProject(val *Project) *NullableProject

func (NullableProject) Get

func (v NullableProject) Get() *Project

func (NullableProject) IsSet

func (v NullableProject) IsSet() bool

func (NullableProject) MarshalJSON

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

func (*NullableProject) Set

func (v *NullableProject) Set(val *Project)

func (*NullableProject) UnmarshalJSON

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

func (*NullableProject) Unset

func (v *NullableProject) Unset()

type NullableProjectVcsInfo

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

func NewNullableProjectVcsInfo

func NewNullableProjectVcsInfo(val *ProjectVcsInfo) *NullableProjectVcsInfo

func (NullableProjectVcsInfo) Get

func (NullableProjectVcsInfo) IsSet

func (v NullableProjectVcsInfo) IsSet() bool

func (NullableProjectVcsInfo) MarshalJSON

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

func (*NullableProjectVcsInfo) Set

func (*NullableProjectVcsInfo) UnmarshalJSON

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

func (*NullableProjectVcsInfo) Unset

func (v *NullableProjectVcsInfo) Unset()

type NullableRerunWorkflowParameters

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

func (NullableRerunWorkflowParameters) Get

func (NullableRerunWorkflowParameters) IsSet

func (NullableRerunWorkflowParameters) MarshalJSON

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

func (*NullableRerunWorkflowParameters) Set

func (*NullableRerunWorkflowParameters) UnmarshalJSON

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

func (*NullableRerunWorkflowParameters) Unset

type NullableTestsResponse

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

func NewNullableTestsResponse

func NewNullableTestsResponse(val *TestsResponse) *NullableTestsResponse

func (NullableTestsResponse) Get

func (NullableTestsResponse) IsSet

func (v NullableTestsResponse) IsSet() bool

func (NullableTestsResponse) MarshalJSON

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

func (*NullableTestsResponse) Set

func (v *NullableTestsResponse) Set(val *TestsResponse)

func (*NullableTestsResponse) UnmarshalJSON

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

func (*NullableTestsResponse) Unset

func (v *NullableTestsResponse) Unset()

type NullableTestsResponseItems

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

func NewNullableTestsResponseItems

func NewNullableTestsResponseItems(val *TestsResponseItems) *NullableTestsResponseItems

func (NullableTestsResponseItems) Get

func (NullableTestsResponseItems) IsSet

func (v NullableTestsResponseItems) IsSet() bool

func (NullableTestsResponseItems) MarshalJSON

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

func (*NullableTestsResponseItems) Set

func (*NullableTestsResponseItems) UnmarshalJSON

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

func (*NullableTestsResponseItems) Unset

func (v *NullableTestsResponseItems) Unset()

type NullableTriggerPipelineParameters

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

func (NullableTriggerPipelineParameters) Get

func (NullableTriggerPipelineParameters) IsSet

func (NullableTriggerPipelineParameters) MarshalJSON

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

func (*NullableTriggerPipelineParameters) Set

func (*NullableTriggerPipelineParameters) UnmarshalJSON

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

func (*NullableTriggerPipelineParameters) Unset

type NullableUser

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

func NewNullableUser

func NewNullableUser(val *User) *NullableUser

func (NullableUser) Get

func (v NullableUser) Get() *User

func (NullableUser) IsSet

func (v NullableUser) IsSet() bool

func (NullableUser) MarshalJSON

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

func (*NullableUser) Set

func (v *NullableUser) Set(val *User)

func (*NullableUser) UnmarshalJSON

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

func (*NullableUser) Unset

func (v *NullableUser) Unset()

type NullableWorkflow

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

func NewNullableWorkflow

func NewNullableWorkflow(val *Workflow) *NullableWorkflow

func (NullableWorkflow) Get

func (v NullableWorkflow) Get() *Workflow

func (NullableWorkflow) IsSet

func (v NullableWorkflow) IsSet() bool

func (NullableWorkflow) MarshalJSON

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

func (*NullableWorkflow) Set

func (v *NullableWorkflow) Set(val *Workflow)

func (*NullableWorkflow) UnmarshalJSON

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

func (*NullableWorkflow) Unset

func (v *NullableWorkflow) Unset()

type NullableWorkflowJobListResponse

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

func (NullableWorkflowJobListResponse) Get

func (NullableWorkflowJobListResponse) IsSet

func (NullableWorkflowJobListResponse) MarshalJSON

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

func (*NullableWorkflowJobListResponse) Set

func (*NullableWorkflowJobListResponse) UnmarshalJSON

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

func (*NullableWorkflowJobListResponse) Unset

type NullableWorkflowListResponse

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

func NewNullableWorkflowListResponse

func NewNullableWorkflowListResponse(val *WorkflowListResponse) *NullableWorkflowListResponse

func (NullableWorkflowListResponse) Get

func (NullableWorkflowListResponse) IsSet

func (NullableWorkflowListResponse) MarshalJSON

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

func (*NullableWorkflowListResponse) Set

func (*NullableWorkflowListResponse) UnmarshalJSON

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

func (*NullableWorkflowListResponse) Unset

func (v *NullableWorkflowListResponse) Unset()

type Pipeline

type Pipeline struct {
	// The unique ID of the pipeline.
	Id string `json:"id"`
	// A sequence of errors that have occurred within the pipeline.
	Errors []PipelineErrors `json:"errors"`
	// The project-slug for the pipeline.
	ProjectSlug string `json:"project_slug"`
	// The date and time the pipeline was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The number of the pipeline.
	Number int64 `json:"number"`
	// The current state of the pipeline.
	State string `json:"state"`
	// The date and time the pipeline was created.
	CreatedAt time.Time       `json:"created_at"`
	Trigger   PipelineTrigger `json:"trigger"`
	Vcs       *PipelineVcs    `json:"vcs,omitempty"`
}

Pipeline NOTE: The definition of pipeline is subject to change.

func NewPipeline

func NewPipeline(id string, errors []PipelineErrors, projectSlug string, number int64, state string, createdAt time.Time, trigger PipelineTrigger) *Pipeline

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

func NewPipelineWithDefaults

func NewPipelineWithDefaults() *Pipeline

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

func (*Pipeline) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Pipeline) GetCreatedAtOk

func (o *Pipeline) 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 (*Pipeline) GetErrors

func (o *Pipeline) GetErrors() []PipelineErrors

GetErrors returns the Errors field value

func (*Pipeline) GetErrorsOk

func (o *Pipeline) GetErrorsOk() (*[]PipelineErrors, bool)

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

func (*Pipeline) GetId

func (o *Pipeline) GetId() string

GetId returns the Id field value

func (*Pipeline) GetIdOk

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

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

func (*Pipeline) GetNumber

func (o *Pipeline) GetNumber() int64

GetNumber returns the Number field value

func (*Pipeline) GetNumberOk

func (o *Pipeline) GetNumberOk() (*int64, bool)

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

func (*Pipeline) GetProjectSlug

func (o *Pipeline) GetProjectSlug() string

GetProjectSlug returns the ProjectSlug field value

func (*Pipeline) GetProjectSlugOk

func (o *Pipeline) GetProjectSlugOk() (*string, bool)

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

func (*Pipeline) GetState

func (o *Pipeline) GetState() string

GetState returns the State field value

func (*Pipeline) GetStateOk

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

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

func (*Pipeline) GetTrigger

func (o *Pipeline) GetTrigger() PipelineTrigger

GetTrigger returns the Trigger field value

func (*Pipeline) GetTriggerOk

func (o *Pipeline) GetTriggerOk() (*PipelineTrigger, bool)

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

func (*Pipeline) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Pipeline) GetUpdatedAtOk

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

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

func (*Pipeline) GetVcs

func (o *Pipeline) GetVcs() PipelineVcs

GetVcs returns the Vcs field value if set, zero value otherwise.

func (*Pipeline) GetVcsOk

func (o *Pipeline) GetVcsOk() (*PipelineVcs, bool)

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

func (*Pipeline) HasUpdatedAt

func (o *Pipeline) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Pipeline) HasVcs

func (o *Pipeline) HasVcs() bool

HasVcs returns a boolean if a field has been set.

func (Pipeline) MarshalJSON

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

func (*Pipeline) SetCreatedAt

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

SetCreatedAt sets field value

func (*Pipeline) SetErrors

func (o *Pipeline) SetErrors(v []PipelineErrors)

SetErrors sets field value

func (*Pipeline) SetId

func (o *Pipeline) SetId(v string)

SetId sets field value

func (*Pipeline) SetNumber

func (o *Pipeline) SetNumber(v int64)

SetNumber sets field value

func (*Pipeline) SetProjectSlug

func (o *Pipeline) SetProjectSlug(v string)

SetProjectSlug sets field value

func (*Pipeline) SetState

func (o *Pipeline) SetState(v string)

SetState sets field value

func (*Pipeline) SetTrigger

func (o *Pipeline) SetTrigger(v PipelineTrigger)

SetTrigger sets field value

func (*Pipeline) SetUpdatedAt

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

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (*Pipeline) SetVcs

func (o *Pipeline) SetVcs(v PipelineVcs)

SetVcs gets a reference to the given PipelineVcs and assigns it to the Vcs field.

type PipelineByIDCall

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

PipelineByIDCall provides the get a pipeline.

func (*PipelineByIDCall) Do

func (c *PipelineByIDCall) Do(ctx context.Context) (interface{}, error)

Do executes the PipelineByID.

type PipelineByNumberCall

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

PipelineByNumberCall provides the get a pipeline.

func (*PipelineByNumberCall) Do

func (c *PipelineByNumberCall) Do(ctx context.Context) (interface{}, error)

Do executes the PipelineByNumber.

type PipelineConfig

type PipelineConfig struct {
	// The source configuration for the pipeline, before any config compilation has been performed. If there is no config, then this field will be empty.
	Source string `json:"source"`
	// The compiled configuration for the pipeline, after all orb expansion has been performed. If there were errors processing the pipeline's configuration, then this field may be empty.
	Compiled string `json:"compiled"`
}

PipelineConfig The configuration strings for the pipeline.

func NewPipelineConfig

func NewPipelineConfig(source string, compiled string) *PipelineConfig

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

func NewPipelineConfigWithDefaults

func NewPipelineConfigWithDefaults() *PipelineConfig

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

func (*PipelineConfig) GetCompiled

func (o *PipelineConfig) GetCompiled() string

GetCompiled returns the Compiled field value

func (*PipelineConfig) GetCompiledOk

func (o *PipelineConfig) GetCompiledOk() (*string, bool)

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

func (*PipelineConfig) GetSource

func (o *PipelineConfig) GetSource() string

GetSource returns the Source field value

func (*PipelineConfig) GetSourceOk

func (o *PipelineConfig) GetSourceOk() (*string, bool)

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

func (PipelineConfig) MarshalJSON

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

func (*PipelineConfig) SetCompiled

func (o *PipelineConfig) SetCompiled(v string)

SetCompiled sets field value

func (*PipelineConfig) SetSource

func (o *PipelineConfig) SetSource(v string)

SetSource sets field value

type PipelineConfigByIDCall

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

PipelineConfigByIDCall provides the get a pipeline's configuration.

func (*PipelineConfigByIDCall) Do

func (c *PipelineConfigByIDCall) Do(ctx context.Context) (interface{}, error)

Do executes the PipelineConfigByID.

type PipelineErrors

type PipelineErrors struct {
	// The type of error.
	Type string `json:"type"`
	// A human-readable error message.
	Message string `json:"message"`
}

PipelineErrors An error with a type and message.

func NewPipelineErrors

func NewPipelineErrors(type_ string, message string) *PipelineErrors

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

func NewPipelineErrorsWithDefaults

func NewPipelineErrorsWithDefaults() *PipelineErrors

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

func (*PipelineErrors) GetMessage

func (o *PipelineErrors) GetMessage() string

GetMessage returns the Message field value

func (*PipelineErrors) GetMessageOk

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

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

func (*PipelineErrors) GetType

func (o *PipelineErrors) GetType() string

GetType returns the Type field value

func (*PipelineErrors) GetTypeOk

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

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

func (PipelineErrors) MarshalJSON

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

func (*PipelineErrors) SetMessage

func (o *PipelineErrors) SetMessage(v string)

SetMessage sets field value

func (*PipelineErrors) SetType

func (o *PipelineErrors) SetType(v string)

SetType sets field value

type PipelineLight

type PipelineLight struct {
	// The unique ID of the pipeline.
	Id string `json:"id"`
	// The current state of the pipeline.
	State string `json:"state"`
	// The number of the pipeline.
	Number int64 `json:"number"`
	// The date and time the pipeline was created.
	CreatedAt time.Time `json:"created_at"`
}

PipelineLight NOTE: The definition of pipeline is subject to change.

func NewPipelineLight

func NewPipelineLight(id string, state string, number int64, createdAt time.Time) *PipelineLight

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

func NewPipelineLightWithDefaults

func NewPipelineLightWithDefaults() *PipelineLight

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

func (*PipelineLight) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*PipelineLight) GetCreatedAtOk

func (o *PipelineLight) 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 (*PipelineLight) GetId

func (o *PipelineLight) GetId() string

GetId returns the Id field value

func (*PipelineLight) GetIdOk

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

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

func (*PipelineLight) GetNumber

func (o *PipelineLight) GetNumber() int64

GetNumber returns the Number field value

func (*PipelineLight) GetNumberOk

func (o *PipelineLight) GetNumberOk() (*int64, bool)

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

func (*PipelineLight) GetState

func (o *PipelineLight) GetState() string

GetState returns the State field value

func (*PipelineLight) GetStateOk

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

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

func (PipelineLight) MarshalJSON

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

func (*PipelineLight) SetCreatedAt

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

SetCreatedAt sets field value

func (*PipelineLight) SetId

func (o *PipelineLight) SetId(v string)

SetId sets field value

func (*PipelineLight) SetNumber

func (o *PipelineLight) SetNumber(v int64)

SetNumber sets field value

func (*PipelineLight) SetState

func (o *PipelineLight) SetState(v string)

SetState sets field value

type PipelineListResponse

type PipelineListResponse struct {
	Items []Pipeline `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

PipelineListResponse List of pipelines

func NewPipelineListResponse

func NewPipelineListResponse(items []Pipeline, nextPageToken string) *PipelineListResponse

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

func NewPipelineListResponseWithDefaults

func NewPipelineListResponseWithDefaults() *PipelineListResponse

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

func (*PipelineListResponse) GetItems

func (o *PipelineListResponse) GetItems() []Pipeline

GetItems returns the Items field value

func (*PipelineListResponse) GetItemsOk

func (o *PipelineListResponse) GetItemsOk() (*[]Pipeline, bool)

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

func (*PipelineListResponse) GetNextPageToken

func (o *PipelineListResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*PipelineListResponse) GetNextPageTokenOk

func (o *PipelineListResponse) GetNextPageTokenOk() (*string, bool)

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

func (PipelineListResponse) MarshalJSON

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

func (*PipelineListResponse) SetItems

func (o *PipelineListResponse) SetItems(v []Pipeline)

SetItems sets field value

func (*PipelineListResponse) SetNextPageToken

func (o *PipelineListResponse) SetNextPageToken(v string)

SetNextPageToken sets field value

type PipelineTrigger

type PipelineTrigger struct {
	// The type of trigger.
	Type string `json:"type"`
	// The date and time the trigger was received.
	ReceivedAt time.Time            `json:"received_at"`
	Actor      PipelineTriggerActor `json:"actor"`
}

PipelineTrigger A summary of the trigger.

func NewPipelineTrigger

func NewPipelineTrigger(type_ string, receivedAt time.Time, actor PipelineTriggerActor) *PipelineTrigger

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

func NewPipelineTriggerWithDefaults

func NewPipelineTriggerWithDefaults() *PipelineTrigger

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

func (*PipelineTrigger) GetActor

func (o *PipelineTrigger) GetActor() PipelineTriggerActor

GetActor returns the Actor field value

func (*PipelineTrigger) GetActorOk

func (o *PipelineTrigger) GetActorOk() (*PipelineTriggerActor, bool)

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

func (*PipelineTrigger) GetReceivedAt

func (o *PipelineTrigger) GetReceivedAt() time.Time

GetReceivedAt returns the ReceivedAt field value

func (*PipelineTrigger) GetReceivedAtOk

func (o *PipelineTrigger) GetReceivedAtOk() (*time.Time, bool)

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

func (*PipelineTrigger) GetType

func (o *PipelineTrigger) GetType() string

GetType returns the Type field value

func (*PipelineTrigger) GetTypeOk

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

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

func (PipelineTrigger) MarshalJSON

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

func (*PipelineTrigger) SetActor

func (o *PipelineTrigger) SetActor(v PipelineTriggerActor)

SetActor sets field value

func (*PipelineTrigger) SetReceivedAt

func (o *PipelineTrigger) SetReceivedAt(v time.Time)

SetReceivedAt sets field value

func (*PipelineTrigger) SetType

func (o *PipelineTrigger) SetType(v string)

SetType sets field value

type PipelineTriggerActor

type PipelineTriggerActor struct {
	// The login information for the user on the VCS.
	Login string `json:"login"`
	// URL to the user's avatar on the VCS
	AvatarUrl string `json:"avatar_url"`
}

PipelineTriggerActor The user who triggered the Pipeline.

func NewPipelineTriggerActor

func NewPipelineTriggerActor(login string, avatarUrl string) *PipelineTriggerActor

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

func NewPipelineTriggerActorWithDefaults

func NewPipelineTriggerActorWithDefaults() *PipelineTriggerActor

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

func (*PipelineTriggerActor) GetAvatarUrl

func (o *PipelineTriggerActor) GetAvatarUrl() string

GetAvatarUrl returns the AvatarUrl field value

func (*PipelineTriggerActor) GetAvatarUrlOk

func (o *PipelineTriggerActor) GetAvatarUrlOk() (*string, bool)

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

func (*PipelineTriggerActor) GetLogin

func (o *PipelineTriggerActor) GetLogin() string

GetLogin returns the Login field value

func (*PipelineTriggerActor) GetLoginOk

func (o *PipelineTriggerActor) GetLoginOk() (*string, bool)

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

func (PipelineTriggerActor) MarshalJSON

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

func (*PipelineTriggerActor) SetAvatarUrl

func (o *PipelineTriggerActor) SetAvatarUrl(v string)

SetAvatarUrl sets field value

func (*PipelineTriggerActor) SetLogin

func (o *PipelineTriggerActor) SetLogin(v string)

SetLogin sets field value

type PipelineVcs

type PipelineVcs struct {
	// Name of the VCS provider (e.g. GitHub, Bitbucket).
	ProviderName string `json:"provider_name"`
	// URL for the repository where the trigger originated. For fork-PR pipelines, this is the URL to the fork. For other pipelines the `origin_` and `target_repository_url`s will be the same.
	OriginRepositoryUrl string `json:"origin_repository_url"`
	// URL for the repository the trigger targets (i.e. the repository where the PR will be merged). For fork-PR pipelines, this is the URL to the parent repo. For other pipelines, the `origin_` and `target_repository_url`s will be the same.
	TargetRepositoryUrl string `json:"target_repository_url"`
	// The code revision the pipeline ran.
	Revision string `json:"revision"`
	// The branch where the pipeline ran. The HEAD commit on this branch was used for the pipeline. Note that `branch` and `tag` are mutually exclusive.
	Branch *string `json:"branch,omitempty"`
	// The tag used by the pipeline. The commit that this tag points to was used for the pipeline. Note that `branch` and `tag` are mutually exclusive.
	Tag    *string            `json:"tag,omitempty"`
	Commit *PipelineVcsCommit `json:"commit,omitempty"`
}

PipelineVcs VCS information for the pipeline.

func NewPipelineVcs

func NewPipelineVcs(providerName string, originRepositoryUrl string, targetRepositoryUrl string, revision string) *PipelineVcs

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

func NewPipelineVcsWithDefaults

func NewPipelineVcsWithDefaults() *PipelineVcs

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

func (*PipelineVcs) GetBranch

func (o *PipelineVcs) GetBranch() string

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

func (*PipelineVcs) GetBranchOk

func (o *PipelineVcs) GetBranchOk() (*string, bool)

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

func (*PipelineVcs) GetCommit

func (o *PipelineVcs) GetCommit() PipelineVcsCommit

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

func (*PipelineVcs) GetCommitOk

func (o *PipelineVcs) GetCommitOk() (*PipelineVcsCommit, bool)

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

func (*PipelineVcs) GetOriginRepositoryUrl

func (o *PipelineVcs) GetOriginRepositoryUrl() string

GetOriginRepositoryUrl returns the OriginRepositoryUrl field value

func (*PipelineVcs) GetOriginRepositoryUrlOk

func (o *PipelineVcs) GetOriginRepositoryUrlOk() (*string, bool)

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

func (*PipelineVcs) GetProviderName

func (o *PipelineVcs) GetProviderName() string

GetProviderName returns the ProviderName field value

func (*PipelineVcs) GetProviderNameOk

func (o *PipelineVcs) GetProviderNameOk() (*string, bool)

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

func (*PipelineVcs) GetRevision

func (o *PipelineVcs) GetRevision() string

GetRevision returns the Revision field value

func (*PipelineVcs) GetRevisionOk

func (o *PipelineVcs) GetRevisionOk() (*string, bool)

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

func (*PipelineVcs) GetTag

func (o *PipelineVcs) GetTag() string

GetTag returns the Tag field value if set, zero value otherwise.

func (*PipelineVcs) GetTagOk

func (o *PipelineVcs) GetTagOk() (*string, bool)

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

func (*PipelineVcs) GetTargetRepositoryUrl

func (o *PipelineVcs) GetTargetRepositoryUrl() string

GetTargetRepositoryUrl returns the TargetRepositoryUrl field value

func (*PipelineVcs) GetTargetRepositoryUrlOk

func (o *PipelineVcs) GetTargetRepositoryUrlOk() (*string, bool)

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

func (*PipelineVcs) HasBranch

func (o *PipelineVcs) HasBranch() bool

HasBranch returns a boolean if a field has been set.

func (*PipelineVcs) HasCommit

func (o *PipelineVcs) HasCommit() bool

HasCommit returns a boolean if a field has been set.

func (*PipelineVcs) HasTag

func (o *PipelineVcs) HasTag() bool

HasTag returns a boolean if a field has been set.

func (PipelineVcs) MarshalJSON

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

func (*PipelineVcs) SetBranch

func (o *PipelineVcs) SetBranch(v string)

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

func (*PipelineVcs) SetCommit

func (o *PipelineVcs) SetCommit(v PipelineVcsCommit)

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

func (*PipelineVcs) SetOriginRepositoryUrl

func (o *PipelineVcs) SetOriginRepositoryUrl(v string)

SetOriginRepositoryUrl sets field value

func (*PipelineVcs) SetProviderName

func (o *PipelineVcs) SetProviderName(v string)

SetProviderName sets field value

func (*PipelineVcs) SetRevision

func (o *PipelineVcs) SetRevision(v string)

SetRevision sets field value

func (*PipelineVcs) SetTag

func (o *PipelineVcs) SetTag(v string)

SetTag gets a reference to the given string and assigns it to the Tag field.

func (*PipelineVcs) SetTargetRepositoryUrl

func (o *PipelineVcs) SetTargetRepositoryUrl(v string)

SetTargetRepositoryUrl sets field value

type PipelineVcsCommit

type PipelineVcsCommit struct {
	// The subject of the commit message.
	Subject string `json:"subject"`
	// The body of the commit message.
	Body string `json:"body"`
}

PipelineVcsCommit The latest commit in the pipeline.

func NewPipelineVcsCommit

func NewPipelineVcsCommit(subject string, body string) *PipelineVcsCommit

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

func NewPipelineVcsCommitWithDefaults

func NewPipelineVcsCommitWithDefaults() *PipelineVcsCommit

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

func (*PipelineVcsCommit) GetBody

func (o *PipelineVcsCommit) GetBody() string

GetBody returns the Body field value

func (*PipelineVcsCommit) GetBodyOk

func (o *PipelineVcsCommit) GetBodyOk() (*string, bool)

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

func (*PipelineVcsCommit) GetSubject

func (o *PipelineVcsCommit) GetSubject() string

GetSubject returns the Subject field value

func (*PipelineVcsCommit) GetSubjectOk

func (o *PipelineVcsCommit) GetSubjectOk() (*string, bool)

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

func (PipelineVcsCommit) MarshalJSON

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

func (*PipelineVcsCommit) SetBody

func (o *PipelineVcsCommit) SetBody(v string)

SetBody sets field value

func (*PipelineVcsCommit) SetSubject

func (o *PipelineVcsCommit) SetSubject(v string)

SetSubject sets field value

type Project

type Project struct {
	// Project slug in the form `vcs-slug/org-name/repo-name`. The `/` characters may be URL-escaped.
	Slug string `json:"slug"`
	// The name of the project
	Name string `json:"name"`
	// The name of the organization the project belongs to
	OrganizationName string         `json:"organization_name"`
	VcsInfo          ProjectVcsInfo `json:"vcs_info"`
}

Project NOTE: The definition of Project is subject to change.

func NewProject

func NewProject(slug string, name string, organizationName string, vcsInfo ProjectVcsInfo) *Project

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

func NewProjectWithDefaults

func NewProjectWithDefaults() *Project

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

func (*Project) GetName

func (o *Project) GetName() string

GetName returns the Name field value

func (*Project) GetNameOk

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

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

func (*Project) GetOrganizationName

func (o *Project) GetOrganizationName() string

GetOrganizationName returns the OrganizationName field value

func (*Project) GetOrganizationNameOk

func (o *Project) GetOrganizationNameOk() (*string, bool)

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

func (*Project) GetSlug

func (o *Project) GetSlug() string

GetSlug returns the Slug field value

func (*Project) GetSlugOk

func (o *Project) GetSlugOk() (*string, bool)

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

func (*Project) GetVcsInfo

func (o *Project) GetVcsInfo() ProjectVcsInfo

GetVcsInfo returns the VcsInfo field value

func (*Project) GetVcsInfoOk

func (o *Project) GetVcsInfoOk() (*ProjectVcsInfo, bool)

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

func (Project) MarshalJSON

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

func (*Project) SetName

func (o *Project) SetName(v string)

SetName sets field value

func (*Project) SetOrganizationName

func (o *Project) SetOrganizationName(v string)

SetOrganizationName sets field value

func (*Project) SetSlug

func (o *Project) SetSlug(v string)

SetSlug sets field value

func (*Project) SetVcsInfo

func (o *Project) SetVcsInfo(v ProjectVcsInfo)

SetVcsInfo sets field value

type ProjectVcsInfo

type ProjectVcsInfo struct {
	// URL to the repository hosting the project's code
	VcsUrl string `json:"vcs_url"`
	// The VCS provider
	Provider      string `json:"provider"`
	DefaultBranch string `json:"default_branch"`
}

ProjectVcsInfo Information about the VCS that hosts the project source code.

func NewProjectVcsInfo

func NewProjectVcsInfo(vcsUrl string, provider string, defaultBranch string) *ProjectVcsInfo

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

func NewProjectVcsInfoWithDefaults

func NewProjectVcsInfoWithDefaults() *ProjectVcsInfo

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

func (*ProjectVcsInfo) GetDefaultBranch

func (o *ProjectVcsInfo) GetDefaultBranch() string

GetDefaultBranch returns the DefaultBranch field value

func (*ProjectVcsInfo) GetDefaultBranchOk

func (o *ProjectVcsInfo) GetDefaultBranchOk() (*string, bool)

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

func (*ProjectVcsInfo) GetProvider

func (o *ProjectVcsInfo) GetProvider() string

GetProvider returns the Provider field value

func (*ProjectVcsInfo) GetProviderOk

func (o *ProjectVcsInfo) GetProviderOk() (*string, bool)

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

func (*ProjectVcsInfo) GetVcsUrl

func (o *ProjectVcsInfo) GetVcsUrl() string

GetVcsUrl returns the VcsUrl field value

func (*ProjectVcsInfo) GetVcsUrlOk

func (o *ProjectVcsInfo) GetVcsUrlOk() (*string, bool)

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

func (ProjectVcsInfo) MarshalJSON

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

func (*ProjectVcsInfo) SetDefaultBranch

func (o *ProjectVcsInfo) SetDefaultBranch(v string)

SetDefaultBranch sets field value

func (*ProjectVcsInfo) SetProvider

func (o *ProjectVcsInfo) SetProvider(v string)

SetProvider sets field value

func (*ProjectVcsInfo) SetVcsUrl

func (o *ProjectVcsInfo) SetVcsUrl(v string)

SetVcsUrl sets field value

type ReRunWorkflowCall

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

ReRunWorkflowCall provides the rerun a workflow.

func (*ReRunWorkflowCall) Do

func (c *ReRunWorkflowCall) Do(ctx context.Context) (interface{}, error)

Do executes the RerunWorkflow.

type RerunWorkflowParameters

type RerunWorkflowParameters struct {
	// A list of job IDs to rerun.
	Jobs *[]string `json:"jobs,omitempty"`
	// Whether to rerun the workflow from the failed job. Mutually exclusive with the jobs parameter.
	FromFailed *bool `json:"from_failed,omitempty"`
}

RerunWorkflowParameters The information you can supply when rerunning a workflow.

func NewRerunWorkflowParameters

func NewRerunWorkflowParameters() *RerunWorkflowParameters

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

func NewRerunWorkflowParametersWithDefaults

func NewRerunWorkflowParametersWithDefaults() *RerunWorkflowParameters

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

func (*RerunWorkflowParameters) GetFromFailed

func (o *RerunWorkflowParameters) GetFromFailed() bool

GetFromFailed returns the FromFailed field value if set, zero value otherwise.

func (*RerunWorkflowParameters) GetFromFailedOk

func (o *RerunWorkflowParameters) GetFromFailedOk() (*bool, bool)

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

func (*RerunWorkflowParameters) GetJobs

func (o *RerunWorkflowParameters) GetJobs() []string

GetJobs returns the Jobs field value if set, zero value otherwise.

func (*RerunWorkflowParameters) GetJobsOk

func (o *RerunWorkflowParameters) GetJobsOk() (*[]string, bool)

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

func (*RerunWorkflowParameters) HasFromFailed

func (o *RerunWorkflowParameters) HasFromFailed() bool

HasFromFailed returns a boolean if a field has been set.

func (*RerunWorkflowParameters) HasJobs

func (o *RerunWorkflowParameters) HasJobs() bool

HasJobs returns a boolean if a field has been set.

func (RerunWorkflowParameters) MarshalJSON

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

func (*RerunWorkflowParameters) SetFromFailed

func (o *RerunWorkflowParameters) SetFromFailed(v bool)

SetFromFailed gets a reference to the given bool and assigns it to the FromFailed field.

func (*RerunWorkflowParameters) SetJobs

func (o *RerunWorkflowParameters) SetJobs(v []string)

SetJobs gets a reference to the given []string and assigns it to the Jobs field.

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	API *API
	// contains filtered or unexported fields
}

Service represents a API Services.

func NewService

func NewService(ctx context.Context) (*Service, error)

NewService creates a new API Service.

type TestsResponse

type TestsResponse struct {
	Items []TestsResponseItems `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

TestsResponse struct for TestsResponse

func NewTestsResponse

func NewTestsResponse(items []TestsResponseItems, nextPageToken string) *TestsResponse

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

func NewTestsResponseWithDefaults

func NewTestsResponseWithDefaults() *TestsResponse

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

func (*TestsResponse) GetItems

func (o *TestsResponse) GetItems() []TestsResponseItems

GetItems returns the Items field value

func (*TestsResponse) GetItemsOk

func (o *TestsResponse) GetItemsOk() (*[]TestsResponseItems, bool)

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

func (*TestsResponse) GetNextPageToken

func (o *TestsResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*TestsResponse) GetNextPageTokenOk

func (o *TestsResponse) GetNextPageTokenOk() (*string, bool)

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

func (TestsResponse) MarshalJSON

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

func (*TestsResponse) SetItems

func (o *TestsResponse) SetItems(v []TestsResponseItems)

SetItems sets field value

func (*TestsResponse) SetNextPageToken

func (o *TestsResponse) SetNextPageToken(v string)

SetNextPageToken sets field value

type TestsResponseItems

type TestsResponseItems struct {
	// The failure message associated with the test.
	Message string `json:"message"`
	// The file in which the test is defined.
	File string `json:"file"`
	// Indication of whether the test succeeded.
	Result string `json:"result"`
	// The name of the test.
	Name string `json:"name"`
	// The programmatic location of the test.
	Classname string `json:"classname"`
}

TestsResponseItems struct for TestsResponseItems

func NewTestsResponseItems

func NewTestsResponseItems(message string, file string, result string, name string, classname string) *TestsResponseItems

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

func NewTestsResponseItemsWithDefaults

func NewTestsResponseItemsWithDefaults() *TestsResponseItems

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

func (*TestsResponseItems) GetClassname

func (o *TestsResponseItems) GetClassname() string

GetClassname returns the Classname field value

func (*TestsResponseItems) GetClassnameOk

func (o *TestsResponseItems) GetClassnameOk() (*string, bool)

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

func (*TestsResponseItems) GetFile

func (o *TestsResponseItems) GetFile() string

GetFile returns the File field value

func (*TestsResponseItems) GetFileOk

func (o *TestsResponseItems) GetFileOk() (*string, bool)

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

func (*TestsResponseItems) GetMessage

func (o *TestsResponseItems) GetMessage() string

GetMessage returns the Message field value

func (*TestsResponseItems) GetMessageOk

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

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

func (*TestsResponseItems) GetName

func (o *TestsResponseItems) GetName() string

GetName returns the Name field value

func (*TestsResponseItems) GetNameOk

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

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

func (*TestsResponseItems) GetResult

func (o *TestsResponseItems) GetResult() string

GetResult returns the Result field value

func (*TestsResponseItems) GetResultOk

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

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

func (TestsResponseItems) MarshalJSON

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

func (*TestsResponseItems) SetClassname

func (o *TestsResponseItems) SetClassname(v string)

SetClassname sets field value

func (*TestsResponseItems) SetFile

func (o *TestsResponseItems) SetFile(v string)

SetFile sets field value

func (*TestsResponseItems) SetMessage

func (o *TestsResponseItems) SetMessage(v string)

SetMessage sets field value

func (*TestsResponseItems) SetName

func (o *TestsResponseItems) SetName(v string)

SetName sets field value

func (*TestsResponseItems) SetResult

func (o *TestsResponseItems) SetResult(v string)

SetResult sets field value

type TriggerPipelineParameters

type TriggerPipelineParameters struct {
	// The branch where the pipeline ran. The HEAD commit on this branch was used for the pipeline. Note that `branch` and `tag` are mutually exclusive.
	Branch *string `json:"branch,omitempty"`
	// The tag used by the pipeline. The commit that this tag points to was used for the pipeline. Note that `branch` and `tag` are mutually exclusive.
	Tag *string `json:"tag,omitempty"`
	// An object containing pipeline parameters and their values.
	Parameters *map[string]interface{} `json:"parameters,omitempty"`
}

TriggerPipelineParameters The information you can supply when triggering a pipeline.

func NewTriggerPipelineParameters

func NewTriggerPipelineParameters() *TriggerPipelineParameters

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

func NewTriggerPipelineParametersWithDefaults

func NewTriggerPipelineParametersWithDefaults() *TriggerPipelineParameters

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

func (*TriggerPipelineParameters) GetBranch

func (o *TriggerPipelineParameters) GetBranch() string

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

func (*TriggerPipelineParameters) GetBranchOk

func (o *TriggerPipelineParameters) GetBranchOk() (*string, bool)

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

func (*TriggerPipelineParameters) GetParameters

func (o *TriggerPipelineParameters) GetParameters() map[string]interface{}

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*TriggerPipelineParameters) GetParametersOk

func (o *TriggerPipelineParameters) GetParametersOk() (*map[string]interface{}, bool)

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

func (*TriggerPipelineParameters) GetTag

func (o *TriggerPipelineParameters) GetTag() string

GetTag returns the Tag field value if set, zero value otherwise.

func (*TriggerPipelineParameters) GetTagOk

func (o *TriggerPipelineParameters) GetTagOk() (*string, bool)

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

func (*TriggerPipelineParameters) HasBranch

func (o *TriggerPipelineParameters) HasBranch() bool

HasBranch returns a boolean if a field has been set.

func (*TriggerPipelineParameters) HasParameters

func (o *TriggerPipelineParameters) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (*TriggerPipelineParameters) HasTag

func (o *TriggerPipelineParameters) HasTag() bool

HasTag returns a boolean if a field has been set.

func (TriggerPipelineParameters) MarshalJSON

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

func (*TriggerPipelineParameters) SetBranch

func (o *TriggerPipelineParameters) SetBranch(v string)

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

func (*TriggerPipelineParameters) SetParameters

func (o *TriggerPipelineParameters) SetParameters(v map[string]interface{})

SetParameters gets a reference to the given map[string]interface{} and assigns it to the Parameters field.

func (*TriggerPipelineParameters) SetTag

func (o *TriggerPipelineParameters) SetTag(v string)

SetTag gets a reference to the given string and assigns it to the Tag field.

type User

type User struct {
	// The unique ID of the user.
	Id string `json:"id"`
	// The login information for the user on the VCS.
	Login string `json:"login"`
	// The name of the user.
	Name string `json:"name"`
}

User struct for User

func NewUser

func NewUser(id string, login string, name string) *User

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

func NewUserWithDefaults

func NewUserWithDefaults() *User

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

func (*User) GetId

func (o *User) GetId() string

GetId returns the Id field value

func (*User) GetIdOk

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

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

func (*User) GetLogin

func (o *User) GetLogin() string

GetLogin returns the Login field value

func (*User) GetLoginOk

func (o *User) GetLoginOk() (*string, bool)

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

func (*User) GetName

func (o *User) GetName() string

GetName returns the Name field value

func (*User) GetNameOk

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

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

func (User) MarshalJSON

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

func (*User) SetId

func (o *User) SetId(v string)

SetId sets field value

func (*User) SetLogin

func (o *User) SetLogin(v string)

SetLogin sets field value

func (*User) SetName

func (o *User) SetName(v string)

SetName sets field value

type Workflow

type Workflow struct {
	// The ID of the pipeline this workflow belongs to.
	PipelineId string  `json:"pipeline_id"`
	CanceledBy *string `json:"canceled_by,omitempty"`
	// The unique ID of the workflow.
	Id string `json:"id"`
	// The name of the workflow.
	Name string `json:"name"`
	// The project-slug for the pipeline this workflow belongs to.
	ProjectSlug string  `json:"project_slug"`
	ErroredBy   *string `json:"errored_by,omitempty"`
	// The current status of the workflow.
	Status    string `json:"status"`
	StartedBy string `json:"started_by"`
	// The number of the pipeline this workflow belongs to.
	PipelineNumber int64 `json:"pipeline_number"`
	// The date and time the workflow was created.
	CreatedAt time.Time `json:"created_at"`
	// The date and time the workflow stopped.
	StoppedAt time.Time `json:"stopped_at"`
}

Workflow A workflow

func NewWorkflow

func NewWorkflow(pipelineId string, id string, name string, projectSlug string, status string, startedBy string, pipelineNumber int64, createdAt time.Time, stoppedAt time.Time) *Workflow

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

func NewWorkflowWithDefaults

func NewWorkflowWithDefaults() *Workflow

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

func (*Workflow) GetCanceledBy

func (o *Workflow) GetCanceledBy() string

GetCanceledBy returns the CanceledBy field value if set, zero value otherwise.

func (*Workflow) GetCanceledByOk

func (o *Workflow) GetCanceledByOk() (*string, bool)

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

func (*Workflow) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*Workflow) GetCreatedAtOk

func (o *Workflow) 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 (*Workflow) GetErroredBy

func (o *Workflow) GetErroredBy() string

GetErroredBy returns the ErroredBy field value if set, zero value otherwise.

func (*Workflow) GetErroredByOk

func (o *Workflow) GetErroredByOk() (*string, bool)

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

func (*Workflow) GetId

func (o *Workflow) GetId() string

GetId returns the Id field value

func (*Workflow) GetIdOk

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

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

func (*Workflow) GetName

func (o *Workflow) GetName() string

GetName returns the Name field value

func (*Workflow) GetNameOk

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

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

func (*Workflow) GetPipelineId

func (o *Workflow) GetPipelineId() string

GetPipelineId returns the PipelineId field value

func (*Workflow) GetPipelineIdOk

func (o *Workflow) GetPipelineIdOk() (*string, bool)

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

func (*Workflow) GetPipelineNumber

func (o *Workflow) GetPipelineNumber() int64

GetPipelineNumber returns the PipelineNumber field value

func (*Workflow) GetPipelineNumberOk

func (o *Workflow) GetPipelineNumberOk() (*int64, bool)

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

func (*Workflow) GetProjectSlug

func (o *Workflow) GetProjectSlug() string

GetProjectSlug returns the ProjectSlug field value

func (*Workflow) GetProjectSlugOk

func (o *Workflow) GetProjectSlugOk() (*string, bool)

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

func (*Workflow) GetStartedBy

func (o *Workflow) GetStartedBy() string

GetStartedBy returns the StartedBy field value

func (*Workflow) GetStartedByOk

func (o *Workflow) GetStartedByOk() (*string, bool)

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

func (*Workflow) GetStatus

func (o *Workflow) GetStatus() string

GetStatus returns the Status field value

func (*Workflow) GetStatusOk

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

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

func (*Workflow) GetStoppedAt

func (o *Workflow) GetStoppedAt() time.Time

GetStoppedAt returns the StoppedAt field value

func (*Workflow) GetStoppedAtOk

func (o *Workflow) GetStoppedAtOk() (*time.Time, bool)

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

func (*Workflow) HasCanceledBy

func (o *Workflow) HasCanceledBy() bool

HasCanceledBy returns a boolean if a field has been set.

func (*Workflow) HasErroredBy

func (o *Workflow) HasErroredBy() bool

HasErroredBy returns a boolean if a field has been set.

func (Workflow) MarshalJSON

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

func (*Workflow) SetCanceledBy

func (o *Workflow) SetCanceledBy(v string)

SetCanceledBy gets a reference to the given string and assigns it to the CanceledBy field.

func (*Workflow) SetCreatedAt

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

SetCreatedAt sets field value

func (*Workflow) SetErroredBy

func (o *Workflow) SetErroredBy(v string)

SetErroredBy gets a reference to the given string and assigns it to the ErroredBy field.

func (*Workflow) SetId

func (o *Workflow) SetId(v string)

SetId sets field value

func (*Workflow) SetName

func (o *Workflow) SetName(v string)

SetName sets field value

func (*Workflow) SetPipelineId

func (o *Workflow) SetPipelineId(v string)

SetPipelineId sets field value

func (*Workflow) SetPipelineNumber

func (o *Workflow) SetPipelineNumber(v int64)

SetPipelineNumber sets field value

func (*Workflow) SetProjectSlug

func (o *Workflow) SetProjectSlug(v string)

SetProjectSlug sets field value

func (*Workflow) SetStartedBy

func (o *Workflow) SetStartedBy(v string)

SetStartedBy sets field value

func (*Workflow) SetStatus

func (o *Workflow) SetStatus(v string)

SetStatus sets field value

func (*Workflow) SetStoppedAt

func (o *Workflow) SetStoppedAt(v time.Time)

SetStoppedAt sets field value

type WorkflowByIDCall

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

WorkflowByIDCall provides the get a workflow.

func (*WorkflowByIDCall) Do

func (c *WorkflowByIDCall) Do(ctx context.Context) (interface{}, error)

Do executes the WorkflowByID.

type WorkflowJobListResponse

type WorkflowJobListResponse struct {
	Items []Job `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

WorkflowJobListResponse struct for WorkflowJobListResponse

func NewWorkflowJobListResponse

func NewWorkflowJobListResponse(items []Job, nextPageToken string) *WorkflowJobListResponse

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

func NewWorkflowJobListResponseWithDefaults

func NewWorkflowJobListResponseWithDefaults() *WorkflowJobListResponse

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

func (*WorkflowJobListResponse) GetItems

func (o *WorkflowJobListResponse) GetItems() []Job

GetItems returns the Items field value

func (*WorkflowJobListResponse) GetItemsOk

func (o *WorkflowJobListResponse) GetItemsOk() (*[]Job, bool)

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

func (*WorkflowJobListResponse) GetNextPageToken

func (o *WorkflowJobListResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*WorkflowJobListResponse) GetNextPageTokenOk

func (o *WorkflowJobListResponse) GetNextPageTokenOk() (*string, bool)

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

func (WorkflowJobListResponse) MarshalJSON

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

func (*WorkflowJobListResponse) SetItems

func (o *WorkflowJobListResponse) SetItems(v []Job)

SetItems sets field value

func (*WorkflowJobListResponse) SetNextPageToken

func (o *WorkflowJobListResponse) SetNextPageToken(v string)

SetNextPageToken sets field value

type WorkflowListResponse

type WorkflowListResponse struct {
	// A list of workflows.
	Items []Workflow `json:"items"`
	// A token to pass as a `page-token` query parameter to return the next page of results.
	NextPageToken string `json:"next_page_token"`
}

WorkflowListResponse A list of workflows and associated pagination token.

func NewWorkflowListResponse

func NewWorkflowListResponse(items []Workflow, nextPageToken string) *WorkflowListResponse

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

func NewWorkflowListResponseWithDefaults

func NewWorkflowListResponseWithDefaults() *WorkflowListResponse

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

func (*WorkflowListResponse) GetItems

func (o *WorkflowListResponse) GetItems() []Workflow

GetItems returns the Items field value

func (*WorkflowListResponse) GetItemsOk

func (o *WorkflowListResponse) GetItemsOk() (*[]Workflow, bool)

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

func (*WorkflowListResponse) GetNextPageToken

func (o *WorkflowListResponse) GetNextPageToken() string

GetNextPageToken returns the NextPageToken field value

func (*WorkflowListResponse) GetNextPageTokenOk

func (o *WorkflowListResponse) GetNextPageTokenOk() (*string, bool)

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

func (WorkflowListResponse) MarshalJSON

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

func (*WorkflowListResponse) SetItems

func (o *WorkflowListResponse) SetItems(v []Workflow)

SetItems sets field value

func (*WorkflowListResponse) SetNextPageToken

func (o *WorkflowListResponse) SetNextPageToken(v string)

SetNextPageToken sets field value

Source Files

Jump to

Keyboard shortcuts

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