code_security_scm_integration

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for code security scm integration API

func (*Client) CreateBranchConfig

func (a *Client) CreateBranchConfig(params *CreateBranchConfigParams, opts ...ClientOption) (*CreateBranchConfigCreated, error)

CreateBranchConfig creates a new branch config

func (*Client) CreateExclusionRule

func (a *Client) CreateExclusionRule(params *CreateExclusionRuleParams, opts ...ClientOption) (*CreateExclusionRuleCreated, error)

CreateExclusionRule creates an exclusion rule

func (*Client) DeleteBranchConfig

func (a *Client) DeleteBranchConfig(params *DeleteBranchConfigParams, opts ...ClientOption) (*DeleteBranchConfigOK, error)

DeleteBranchConfig deletes a branch config or exclude a specific repository from a connection level config when repository id query param is provided

func (*Client) DeleteExclusionRule

func (a *Client) DeleteExclusionRule(params *DeleteExclusionRuleParams, opts ...ClientOption) (*DeleteExclusionRuleOK, error)

DeleteExclusionRule deletes an exclusion rule

func (*Client) DeleteSCMConnection

func (a *Client) DeleteSCMConnection(params *DeleteSCMConnectionParams, opts ...ClientOption) (*DeleteSCMConnectionOK, error)

DeleteSCMConnection deletes an s c m connection

func (*Client) ExchangeGitHubAppCode

func (a *Client) ExchangeGitHubAppCode(params *ExchangeGitHubAppCodeParams, opts ...ClientOption) (*ExchangeGitHubAppCodeOK, error)

ExchangeGitHubAppCode exchanges a git hub app manifest code or complete registration after installation

func (*Client) GetBranchConfig

func (a *Client) GetBranchConfig(params *GetBranchConfigParams, opts ...ClientOption) (*GetBranchConfigOK, error)

GetBranchConfig gets branch config for a connection or repository

func (*Client) GetSCMConnection

func (a *Client) GetSCMConnection(params *GetSCMConnectionParams, opts ...ClientOption) (*GetSCMConnectionOK, error)

GetSCMConnection gets an s c m connection by UUID

func (*Client) ListExclusionRules

func (a *Client) ListExclusionRules(params *ListExclusionRulesParams, opts ...ClientOption) (*ListExclusionRulesOK, error)

ListExclusionRules lists exclusion rules for a connection

func (*Client) ListSCMConnections

func (a *Client) ListSCMConnections(params *ListSCMConnectionsParams, opts ...ClientOption) (*ListSCMConnectionsOK, error)

ListSCMConnections lists s c m connections for a customer

func (*Client) RegisterSCMApp

func (a *Client) RegisterSCMApp(params *RegisterSCMAppParams, opts ...ClientOption) (*RegisterSCMAppCreated, error)

RegisterSCMApp registers a git hub app via the wizard flow

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) TriggerSCMSync

func (a *Client) TriggerSCMSync(params *TriggerSCMSyncParams, opts ...ClientOption) (*TriggerSCMSyncAccepted, error)

TriggerSCMSync triggers an immediate sync for a connection

func (*Client) UpdateBranchConfig

func (a *Client) UpdateBranchConfig(params *UpdateBranchConfigParams, opts ...ClientOption) (*UpdateBranchConfigOK, error)

UpdateBranchConfig updates an existing branch config

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateBranchConfig(params *CreateBranchConfigParams, opts ...ClientOption) (*CreateBranchConfigCreated, error)

	CreateExclusionRule(params *CreateExclusionRuleParams, opts ...ClientOption) (*CreateExclusionRuleCreated, error)

	DeleteBranchConfig(params *DeleteBranchConfigParams, opts ...ClientOption) (*DeleteBranchConfigOK, error)

	DeleteExclusionRule(params *DeleteExclusionRuleParams, opts ...ClientOption) (*DeleteExclusionRuleOK, error)

	DeleteSCMConnection(params *DeleteSCMConnectionParams, opts ...ClientOption) (*DeleteSCMConnectionOK, error)

	ExchangeGitHubAppCode(params *ExchangeGitHubAppCodeParams, opts ...ClientOption) (*ExchangeGitHubAppCodeOK, error)

	GetBranchConfig(params *GetBranchConfigParams, opts ...ClientOption) (*GetBranchConfigOK, error)

	GetSCMConnection(params *GetSCMConnectionParams, opts ...ClientOption) (*GetSCMConnectionOK, error)

	ListExclusionRules(params *ListExclusionRulesParams, opts ...ClientOption) (*ListExclusionRulesOK, error)

	ListSCMConnections(params *ListSCMConnectionsParams, opts ...ClientOption) (*ListSCMConnectionsOK, error)

	RegisterSCMApp(params *RegisterSCMAppParams, opts ...ClientOption) (*RegisterSCMAppCreated, error)

	TriggerSCMSync(params *TriggerSCMSyncParams, opts ...ClientOption) (*TriggerSCMSyncAccepted, error)

	UpdateBranchConfig(params *UpdateBranchConfigParams, opts ...ClientOption) (*UpdateBranchConfigOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new code security scm integration API client.

type CreateBranchConfigCreated

type CreateBranchConfigCreated struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

CreateBranchConfigCreated describes a response with status code 201, with default header values.

Created

func NewCreateBranchConfigCreated

func NewCreateBranchConfigCreated() *CreateBranchConfigCreated

NewCreateBranchConfigCreated creates a CreateBranchConfigCreated with default headers values

func (*CreateBranchConfigCreated) Code

func (o *CreateBranchConfigCreated) Code() int

Code gets the status code for the create branch config created response

func (*CreateBranchConfigCreated) Error

func (o *CreateBranchConfigCreated) Error() string

func (*CreateBranchConfigCreated) GetPayload

func (o *CreateBranchConfigCreated) GetPayload() *models.APIResponse

func (*CreateBranchConfigCreated) IsClientError

func (o *CreateBranchConfigCreated) IsClientError() bool

IsClientError returns true when this create branch config created response has a 4xx status code

func (*CreateBranchConfigCreated) IsCode

func (o *CreateBranchConfigCreated) IsCode(code int) bool

IsCode returns true when this create branch config created response a status code equal to that given

func (*CreateBranchConfigCreated) IsRedirect

func (o *CreateBranchConfigCreated) IsRedirect() bool

IsRedirect returns true when this create branch config created response has a 3xx status code

func (*CreateBranchConfigCreated) IsServerError

func (o *CreateBranchConfigCreated) IsServerError() bool

IsServerError returns true when this create branch config created response has a 5xx status code

func (*CreateBranchConfigCreated) IsSuccess

func (o *CreateBranchConfigCreated) IsSuccess() bool

IsSuccess returns true when this create branch config created response has a 2xx status code

func (*CreateBranchConfigCreated) String

func (o *CreateBranchConfigCreated) String() string

type CreateBranchConfigForbidden

type CreateBranchConfigForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

CreateBranchConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateBranchConfigForbidden

func NewCreateBranchConfigForbidden() *CreateBranchConfigForbidden

NewCreateBranchConfigForbidden creates a CreateBranchConfigForbidden with default headers values

func (*CreateBranchConfigForbidden) Code

func (o *CreateBranchConfigForbidden) Code() int

Code gets the status code for the create branch config forbidden response

func (*CreateBranchConfigForbidden) Error

func (*CreateBranchConfigForbidden) GetPayload

func (*CreateBranchConfigForbidden) IsClientError

func (o *CreateBranchConfigForbidden) IsClientError() bool

IsClientError returns true when this create branch config forbidden response has a 4xx status code

func (*CreateBranchConfigForbidden) IsCode

func (o *CreateBranchConfigForbidden) IsCode(code int) bool

IsCode returns true when this create branch config forbidden response a status code equal to that given

func (*CreateBranchConfigForbidden) IsRedirect

func (o *CreateBranchConfigForbidden) IsRedirect() bool

IsRedirect returns true when this create branch config forbidden response has a 3xx status code

func (*CreateBranchConfigForbidden) IsServerError

func (o *CreateBranchConfigForbidden) IsServerError() bool

IsServerError returns true when this create branch config forbidden response has a 5xx status code

func (*CreateBranchConfigForbidden) IsSuccess

func (o *CreateBranchConfigForbidden) IsSuccess() bool

IsSuccess returns true when this create branch config forbidden response has a 2xx status code

func (*CreateBranchConfigForbidden) String

func (o *CreateBranchConfigForbidden) String() string

type CreateBranchConfigInternalServerError

type CreateBranchConfigInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

CreateBranchConfigInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewCreateBranchConfigInternalServerError

func NewCreateBranchConfigInternalServerError() *CreateBranchConfigInternalServerError

NewCreateBranchConfigInternalServerError creates a CreateBranchConfigInternalServerError with default headers values

func (*CreateBranchConfigInternalServerError) Code

Code gets the status code for the create branch config internal server error response

func (*CreateBranchConfigInternalServerError) Error

func (*CreateBranchConfigInternalServerError) GetPayload

func (*CreateBranchConfigInternalServerError) IsClientError

func (o *CreateBranchConfigInternalServerError) IsClientError() bool

IsClientError returns true when this create branch config internal server error response has a 4xx status code

func (*CreateBranchConfigInternalServerError) IsCode

IsCode returns true when this create branch config internal server error response a status code equal to that given

func (*CreateBranchConfigInternalServerError) IsRedirect

IsRedirect returns true when this create branch config internal server error response has a 3xx status code

func (*CreateBranchConfigInternalServerError) IsServerError

func (o *CreateBranchConfigInternalServerError) IsServerError() bool

IsServerError returns true when this create branch config internal server error response has a 5xx status code

func (*CreateBranchConfigInternalServerError) IsSuccess

IsSuccess returns true when this create branch config internal server error response has a 2xx status code

func (*CreateBranchConfigInternalServerError) String

type CreateBranchConfigParams

type CreateBranchConfigParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateBranchConfigParams contains all the parameters to send to the API endpoint

for the create branch config operation.

Typically these are written to a http.Request.

func NewCreateBranchConfigParams

func NewCreateBranchConfigParams() *CreateBranchConfigParams

NewCreateBranchConfigParams creates a new CreateBranchConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateBranchConfigParamsWithContext

func NewCreateBranchConfigParamsWithContext(ctx context.Context) *CreateBranchConfigParams

NewCreateBranchConfigParamsWithContext creates a new CreateBranchConfigParams object with the ability to set a context for a request.

func NewCreateBranchConfigParamsWithHTTPClient

func NewCreateBranchConfigParamsWithHTTPClient(client *http.Client) *CreateBranchConfigParams

NewCreateBranchConfigParamsWithHTTPClient creates a new CreateBranchConfigParams object with the ability to set a custom HTTPClient for a request.

func NewCreateBranchConfigParamsWithTimeout

func NewCreateBranchConfigParamsWithTimeout(timeout time.Duration) *CreateBranchConfigParams

NewCreateBranchConfigParamsWithTimeout creates a new CreateBranchConfigParams object with the ability to set a timeout on a request.

func (*CreateBranchConfigParams) SetContext

func (o *CreateBranchConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the create branch config params

func (*CreateBranchConfigParams) SetDefaults

func (o *CreateBranchConfigParams) SetDefaults()

SetDefaults hydrates default values in the create branch config params (not the query body).

All values with no default are reset to their zero value.

func (*CreateBranchConfigParams) SetHTTPClient

func (o *CreateBranchConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create branch config params

func (*CreateBranchConfigParams) SetTimeout

func (o *CreateBranchConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create branch config params

func (*CreateBranchConfigParams) WithContext

WithContext adds the context to the create branch config params

func (*CreateBranchConfigParams) WithDefaults

WithDefaults hydrates default values in the create branch config params (not the query body).

All values with no default are reset to their zero value.

func (*CreateBranchConfigParams) WithHTTPClient

func (o *CreateBranchConfigParams) WithHTTPClient(client *http.Client) *CreateBranchConfigParams

WithHTTPClient adds the HTTPClient to the create branch config params

func (*CreateBranchConfigParams) WithTimeout

WithTimeout adds the timeout to the create branch config params

func (*CreateBranchConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateBranchConfigReader

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

CreateBranchConfigReader is a Reader for the CreateBranchConfig structure.

func (*CreateBranchConfigReader) ReadResponse

func (o *CreateBranchConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateBranchConfigTooManyRequests

type CreateBranchConfigTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

CreateBranchConfigTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateBranchConfigTooManyRequests

func NewCreateBranchConfigTooManyRequests() *CreateBranchConfigTooManyRequests

NewCreateBranchConfigTooManyRequests creates a CreateBranchConfigTooManyRequests with default headers values

func (*CreateBranchConfigTooManyRequests) Code

Code gets the status code for the create branch config too many requests response

func (*CreateBranchConfigTooManyRequests) Error

func (*CreateBranchConfigTooManyRequests) GetPayload

func (*CreateBranchConfigTooManyRequests) IsClientError

func (o *CreateBranchConfigTooManyRequests) IsClientError() bool

IsClientError returns true when this create branch config too many requests response has a 4xx status code

func (*CreateBranchConfigTooManyRequests) IsCode

func (o *CreateBranchConfigTooManyRequests) IsCode(code int) bool

IsCode returns true when this create branch config too many requests response a status code equal to that given

func (*CreateBranchConfigTooManyRequests) IsRedirect

func (o *CreateBranchConfigTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create branch config too many requests response has a 3xx status code

func (*CreateBranchConfigTooManyRequests) IsServerError

func (o *CreateBranchConfigTooManyRequests) IsServerError() bool

IsServerError returns true when this create branch config too many requests response has a 5xx status code

func (*CreateBranchConfigTooManyRequests) IsSuccess

func (o *CreateBranchConfigTooManyRequests) IsSuccess() bool

IsSuccess returns true when this create branch config too many requests response has a 2xx status code

func (*CreateBranchConfigTooManyRequests) String

type CreateExclusionRuleCreated

type CreateExclusionRuleCreated struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

CreateExclusionRuleCreated describes a response with status code 201, with default header values.

Created

func NewCreateExclusionRuleCreated

func NewCreateExclusionRuleCreated() *CreateExclusionRuleCreated

NewCreateExclusionRuleCreated creates a CreateExclusionRuleCreated with default headers values

func (*CreateExclusionRuleCreated) Code

func (o *CreateExclusionRuleCreated) Code() int

Code gets the status code for the create exclusion rule created response

func (*CreateExclusionRuleCreated) Error

func (*CreateExclusionRuleCreated) GetPayload

func (*CreateExclusionRuleCreated) IsClientError

func (o *CreateExclusionRuleCreated) IsClientError() bool

IsClientError returns true when this create exclusion rule created response has a 4xx status code

func (*CreateExclusionRuleCreated) IsCode

func (o *CreateExclusionRuleCreated) IsCode(code int) bool

IsCode returns true when this create exclusion rule created response a status code equal to that given

func (*CreateExclusionRuleCreated) IsRedirect

func (o *CreateExclusionRuleCreated) IsRedirect() bool

IsRedirect returns true when this create exclusion rule created response has a 3xx status code

func (*CreateExclusionRuleCreated) IsServerError

func (o *CreateExclusionRuleCreated) IsServerError() bool

IsServerError returns true when this create exclusion rule created response has a 5xx status code

func (*CreateExclusionRuleCreated) IsSuccess

func (o *CreateExclusionRuleCreated) IsSuccess() bool

IsSuccess returns true when this create exclusion rule created response has a 2xx status code

func (*CreateExclusionRuleCreated) String

func (o *CreateExclusionRuleCreated) String() string

type CreateExclusionRuleForbidden

type CreateExclusionRuleForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

CreateExclusionRuleForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateExclusionRuleForbidden

func NewCreateExclusionRuleForbidden() *CreateExclusionRuleForbidden

NewCreateExclusionRuleForbidden creates a CreateExclusionRuleForbidden with default headers values

func (*CreateExclusionRuleForbidden) Code

Code gets the status code for the create exclusion rule forbidden response

func (*CreateExclusionRuleForbidden) Error

func (*CreateExclusionRuleForbidden) GetPayload

func (*CreateExclusionRuleForbidden) IsClientError

func (o *CreateExclusionRuleForbidden) IsClientError() bool

IsClientError returns true when this create exclusion rule forbidden response has a 4xx status code

func (*CreateExclusionRuleForbidden) IsCode

func (o *CreateExclusionRuleForbidden) IsCode(code int) bool

IsCode returns true when this create exclusion rule forbidden response a status code equal to that given

func (*CreateExclusionRuleForbidden) IsRedirect

func (o *CreateExclusionRuleForbidden) IsRedirect() bool

IsRedirect returns true when this create exclusion rule forbidden response has a 3xx status code

func (*CreateExclusionRuleForbidden) IsServerError

func (o *CreateExclusionRuleForbidden) IsServerError() bool

IsServerError returns true when this create exclusion rule forbidden response has a 5xx status code

func (*CreateExclusionRuleForbidden) IsSuccess

func (o *CreateExclusionRuleForbidden) IsSuccess() bool

IsSuccess returns true when this create exclusion rule forbidden response has a 2xx status code

func (*CreateExclusionRuleForbidden) String

type CreateExclusionRuleInternalServerError

type CreateExclusionRuleInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

CreateExclusionRuleInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewCreateExclusionRuleInternalServerError

func NewCreateExclusionRuleInternalServerError() *CreateExclusionRuleInternalServerError

NewCreateExclusionRuleInternalServerError creates a CreateExclusionRuleInternalServerError with default headers values

func (*CreateExclusionRuleInternalServerError) Code

Code gets the status code for the create exclusion rule internal server error response

func (*CreateExclusionRuleInternalServerError) Error

func (*CreateExclusionRuleInternalServerError) GetPayload

func (*CreateExclusionRuleInternalServerError) IsClientError

func (o *CreateExclusionRuleInternalServerError) IsClientError() bool

IsClientError returns true when this create exclusion rule internal server error response has a 4xx status code

func (*CreateExclusionRuleInternalServerError) IsCode

IsCode returns true when this create exclusion rule internal server error response a status code equal to that given

func (*CreateExclusionRuleInternalServerError) IsRedirect

IsRedirect returns true when this create exclusion rule internal server error response has a 3xx status code

func (*CreateExclusionRuleInternalServerError) IsServerError

func (o *CreateExclusionRuleInternalServerError) IsServerError() bool

IsServerError returns true when this create exclusion rule internal server error response has a 5xx status code

func (*CreateExclusionRuleInternalServerError) IsSuccess

IsSuccess returns true when this create exclusion rule internal server error response has a 2xx status code

func (*CreateExclusionRuleInternalServerError) String

type CreateExclusionRuleParams

type CreateExclusionRuleParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateExclusionRuleParams contains all the parameters to send to the API endpoint

for the create exclusion rule operation.

Typically these are written to a http.Request.

func NewCreateExclusionRuleParams

func NewCreateExclusionRuleParams() *CreateExclusionRuleParams

NewCreateExclusionRuleParams creates a new CreateExclusionRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateExclusionRuleParamsWithContext

func NewCreateExclusionRuleParamsWithContext(ctx context.Context) *CreateExclusionRuleParams

NewCreateExclusionRuleParamsWithContext creates a new CreateExclusionRuleParams object with the ability to set a context for a request.

func NewCreateExclusionRuleParamsWithHTTPClient

func NewCreateExclusionRuleParamsWithHTTPClient(client *http.Client) *CreateExclusionRuleParams

NewCreateExclusionRuleParamsWithHTTPClient creates a new CreateExclusionRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateExclusionRuleParamsWithTimeout

func NewCreateExclusionRuleParamsWithTimeout(timeout time.Duration) *CreateExclusionRuleParams

NewCreateExclusionRuleParamsWithTimeout creates a new CreateExclusionRuleParams object with the ability to set a timeout on a request.

func (*CreateExclusionRuleParams) SetContext

func (o *CreateExclusionRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the create exclusion rule params

func (*CreateExclusionRuleParams) SetDefaults

func (o *CreateExclusionRuleParams) SetDefaults()

SetDefaults hydrates default values in the create exclusion rule params (not the query body).

All values with no default are reset to their zero value.

func (*CreateExclusionRuleParams) SetHTTPClient

func (o *CreateExclusionRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create exclusion rule params

func (*CreateExclusionRuleParams) SetTimeout

func (o *CreateExclusionRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create exclusion rule params

func (*CreateExclusionRuleParams) WithContext

WithContext adds the context to the create exclusion rule params

func (*CreateExclusionRuleParams) WithDefaults

WithDefaults hydrates default values in the create exclusion rule params (not the query body).

All values with no default are reset to their zero value.

func (*CreateExclusionRuleParams) WithHTTPClient

func (o *CreateExclusionRuleParams) WithHTTPClient(client *http.Client) *CreateExclusionRuleParams

WithHTTPClient adds the HTTPClient to the create exclusion rule params

func (*CreateExclusionRuleParams) WithTimeout

WithTimeout adds the timeout to the create exclusion rule params

func (*CreateExclusionRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateExclusionRuleReader

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

CreateExclusionRuleReader is a Reader for the CreateExclusionRule structure.

func (*CreateExclusionRuleReader) ReadResponse

func (o *CreateExclusionRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateExclusionRuleTooManyRequests

type CreateExclusionRuleTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

CreateExclusionRuleTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateExclusionRuleTooManyRequests

func NewCreateExclusionRuleTooManyRequests() *CreateExclusionRuleTooManyRequests

NewCreateExclusionRuleTooManyRequests creates a CreateExclusionRuleTooManyRequests with default headers values

func (*CreateExclusionRuleTooManyRequests) Code

Code gets the status code for the create exclusion rule too many requests response

func (*CreateExclusionRuleTooManyRequests) Error

func (*CreateExclusionRuleTooManyRequests) GetPayload

func (*CreateExclusionRuleTooManyRequests) IsClientError

func (o *CreateExclusionRuleTooManyRequests) IsClientError() bool

IsClientError returns true when this create exclusion rule too many requests response has a 4xx status code

func (*CreateExclusionRuleTooManyRequests) IsCode

IsCode returns true when this create exclusion rule too many requests response a status code equal to that given

func (*CreateExclusionRuleTooManyRequests) IsRedirect

func (o *CreateExclusionRuleTooManyRequests) IsRedirect() bool

IsRedirect returns true when this create exclusion rule too many requests response has a 3xx status code

func (*CreateExclusionRuleTooManyRequests) IsServerError

func (o *CreateExclusionRuleTooManyRequests) IsServerError() bool

IsServerError returns true when this create exclusion rule too many requests response has a 5xx status code

func (*CreateExclusionRuleTooManyRequests) IsSuccess

IsSuccess returns true when this create exclusion rule too many requests response has a 2xx status code

func (*CreateExclusionRuleTooManyRequests) String

type DeleteBranchConfigForbidden

type DeleteBranchConfigForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteBranchConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteBranchConfigForbidden

func NewDeleteBranchConfigForbidden() *DeleteBranchConfigForbidden

NewDeleteBranchConfigForbidden creates a DeleteBranchConfigForbidden with default headers values

func (*DeleteBranchConfigForbidden) Code

func (o *DeleteBranchConfigForbidden) Code() int

Code gets the status code for the delete branch config forbidden response

func (*DeleteBranchConfigForbidden) Error

func (*DeleteBranchConfigForbidden) GetPayload

func (*DeleteBranchConfigForbidden) IsClientError

func (o *DeleteBranchConfigForbidden) IsClientError() bool

IsClientError returns true when this delete branch config forbidden response has a 4xx status code

func (*DeleteBranchConfigForbidden) IsCode

func (o *DeleteBranchConfigForbidden) IsCode(code int) bool

IsCode returns true when this delete branch config forbidden response a status code equal to that given

func (*DeleteBranchConfigForbidden) IsRedirect

func (o *DeleteBranchConfigForbidden) IsRedirect() bool

IsRedirect returns true when this delete branch config forbidden response has a 3xx status code

func (*DeleteBranchConfigForbidden) IsServerError

func (o *DeleteBranchConfigForbidden) IsServerError() bool

IsServerError returns true when this delete branch config forbidden response has a 5xx status code

func (*DeleteBranchConfigForbidden) IsSuccess

func (o *DeleteBranchConfigForbidden) IsSuccess() bool

IsSuccess returns true when this delete branch config forbidden response has a 2xx status code

func (*DeleteBranchConfigForbidden) String

func (o *DeleteBranchConfigForbidden) String() string

type DeleteBranchConfigInternalServerError

type DeleteBranchConfigInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteBranchConfigInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewDeleteBranchConfigInternalServerError

func NewDeleteBranchConfigInternalServerError() *DeleteBranchConfigInternalServerError

NewDeleteBranchConfigInternalServerError creates a DeleteBranchConfigInternalServerError with default headers values

func (*DeleteBranchConfigInternalServerError) Code

Code gets the status code for the delete branch config internal server error response

func (*DeleteBranchConfigInternalServerError) Error

func (*DeleteBranchConfigInternalServerError) GetPayload

func (*DeleteBranchConfigInternalServerError) IsClientError

func (o *DeleteBranchConfigInternalServerError) IsClientError() bool

IsClientError returns true when this delete branch config internal server error response has a 4xx status code

func (*DeleteBranchConfigInternalServerError) IsCode

IsCode returns true when this delete branch config internal server error response a status code equal to that given

func (*DeleteBranchConfigInternalServerError) IsRedirect

IsRedirect returns true when this delete branch config internal server error response has a 3xx status code

func (*DeleteBranchConfigInternalServerError) IsServerError

func (o *DeleteBranchConfigInternalServerError) IsServerError() bool

IsServerError returns true when this delete branch config internal server error response has a 5xx status code

func (*DeleteBranchConfigInternalServerError) IsSuccess

IsSuccess returns true when this delete branch config internal server error response has a 2xx status code

func (*DeleteBranchConfigInternalServerError) String

type DeleteBranchConfigOK

type DeleteBranchConfigOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

DeleteBranchConfigOK describes a response with status code 200, with default header values.

OK

func NewDeleteBranchConfigOK

func NewDeleteBranchConfigOK() *DeleteBranchConfigOK

NewDeleteBranchConfigOK creates a DeleteBranchConfigOK with default headers values

func (*DeleteBranchConfigOK) Code

func (o *DeleteBranchConfigOK) Code() int

Code gets the status code for the delete branch config o k response

func (*DeleteBranchConfigOK) Error

func (o *DeleteBranchConfigOK) Error() string

func (*DeleteBranchConfigOK) GetPayload

func (o *DeleteBranchConfigOK) GetPayload() *models.APIResponse

func (*DeleteBranchConfigOK) IsClientError

func (o *DeleteBranchConfigOK) IsClientError() bool

IsClientError returns true when this delete branch config o k response has a 4xx status code

func (*DeleteBranchConfigOK) IsCode

func (o *DeleteBranchConfigOK) IsCode(code int) bool

IsCode returns true when this delete branch config o k response a status code equal to that given

func (*DeleteBranchConfigOK) IsRedirect

func (o *DeleteBranchConfigOK) IsRedirect() bool

IsRedirect returns true when this delete branch config o k response has a 3xx status code

func (*DeleteBranchConfigOK) IsServerError

func (o *DeleteBranchConfigOK) IsServerError() bool

IsServerError returns true when this delete branch config o k response has a 5xx status code

func (*DeleteBranchConfigOK) IsSuccess

func (o *DeleteBranchConfigOK) IsSuccess() bool

IsSuccess returns true when this delete branch config o k response has a 2xx status code

func (*DeleteBranchConfigOK) String

func (o *DeleteBranchConfigOK) String() string

type DeleteBranchConfigParams

type DeleteBranchConfigParams struct {

	/* Ids.

	   Branch config UUID
	*/
	Ids string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteBranchConfigParams contains all the parameters to send to the API endpoint

for the delete branch config operation.

Typically these are written to a http.Request.

func NewDeleteBranchConfigParams

func NewDeleteBranchConfigParams() *DeleteBranchConfigParams

NewDeleteBranchConfigParams creates a new DeleteBranchConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteBranchConfigParamsWithContext

func NewDeleteBranchConfigParamsWithContext(ctx context.Context) *DeleteBranchConfigParams

NewDeleteBranchConfigParamsWithContext creates a new DeleteBranchConfigParams object with the ability to set a context for a request.

func NewDeleteBranchConfigParamsWithHTTPClient

func NewDeleteBranchConfigParamsWithHTTPClient(client *http.Client) *DeleteBranchConfigParams

NewDeleteBranchConfigParamsWithHTTPClient creates a new DeleteBranchConfigParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteBranchConfigParamsWithTimeout

func NewDeleteBranchConfigParamsWithTimeout(timeout time.Duration) *DeleteBranchConfigParams

NewDeleteBranchConfigParamsWithTimeout creates a new DeleteBranchConfigParams object with the ability to set a timeout on a request.

func (*DeleteBranchConfigParams) SetContext

func (o *DeleteBranchConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the delete branch config params

func (*DeleteBranchConfigParams) SetDefaults

func (o *DeleteBranchConfigParams) SetDefaults()

SetDefaults hydrates default values in the delete branch config params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBranchConfigParams) SetHTTPClient

func (o *DeleteBranchConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete branch config params

func (*DeleteBranchConfigParams) SetIds

func (o *DeleteBranchConfigParams) SetIds(ids string)

SetIds adds the ids to the delete branch config params

func (*DeleteBranchConfigParams) SetTimeout

func (o *DeleteBranchConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete branch config params

func (*DeleteBranchConfigParams) WithContext

WithContext adds the context to the delete branch config params

func (*DeleteBranchConfigParams) WithDefaults

WithDefaults hydrates default values in the delete branch config params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteBranchConfigParams) WithHTTPClient

func (o *DeleteBranchConfigParams) WithHTTPClient(client *http.Client) *DeleteBranchConfigParams

WithHTTPClient adds the HTTPClient to the delete branch config params

func (*DeleteBranchConfigParams) WithIds

WithIds adds the ids to the delete branch config params

func (*DeleteBranchConfigParams) WithTimeout

WithTimeout adds the timeout to the delete branch config params

func (*DeleteBranchConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBranchConfigReader

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

DeleteBranchConfigReader is a Reader for the DeleteBranchConfig structure.

func (*DeleteBranchConfigReader) ReadResponse

func (o *DeleteBranchConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteBranchConfigTooManyRequests

type DeleteBranchConfigTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

DeleteBranchConfigTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteBranchConfigTooManyRequests

func NewDeleteBranchConfigTooManyRequests() *DeleteBranchConfigTooManyRequests

NewDeleteBranchConfigTooManyRequests creates a DeleteBranchConfigTooManyRequests with default headers values

func (*DeleteBranchConfigTooManyRequests) Code

Code gets the status code for the delete branch config too many requests response

func (*DeleteBranchConfigTooManyRequests) Error

func (*DeleteBranchConfigTooManyRequests) GetPayload

func (*DeleteBranchConfigTooManyRequests) IsClientError

func (o *DeleteBranchConfigTooManyRequests) IsClientError() bool

IsClientError returns true when this delete branch config too many requests response has a 4xx status code

func (*DeleteBranchConfigTooManyRequests) IsCode

func (o *DeleteBranchConfigTooManyRequests) IsCode(code int) bool

IsCode returns true when this delete branch config too many requests response a status code equal to that given

func (*DeleteBranchConfigTooManyRequests) IsRedirect

func (o *DeleteBranchConfigTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete branch config too many requests response has a 3xx status code

func (*DeleteBranchConfigTooManyRequests) IsServerError

func (o *DeleteBranchConfigTooManyRequests) IsServerError() bool

IsServerError returns true when this delete branch config too many requests response has a 5xx status code

func (*DeleteBranchConfigTooManyRequests) IsSuccess

func (o *DeleteBranchConfigTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete branch config too many requests response has a 2xx status code

func (*DeleteBranchConfigTooManyRequests) String

type DeleteExclusionRuleForbidden

type DeleteExclusionRuleForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteExclusionRuleForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteExclusionRuleForbidden

func NewDeleteExclusionRuleForbidden() *DeleteExclusionRuleForbidden

NewDeleteExclusionRuleForbidden creates a DeleteExclusionRuleForbidden with default headers values

func (*DeleteExclusionRuleForbidden) Code

Code gets the status code for the delete exclusion rule forbidden response

func (*DeleteExclusionRuleForbidden) Error

func (*DeleteExclusionRuleForbidden) GetPayload

func (*DeleteExclusionRuleForbidden) IsClientError

func (o *DeleteExclusionRuleForbidden) IsClientError() bool

IsClientError returns true when this delete exclusion rule forbidden response has a 4xx status code

func (*DeleteExclusionRuleForbidden) IsCode

func (o *DeleteExclusionRuleForbidden) IsCode(code int) bool

IsCode returns true when this delete exclusion rule forbidden response a status code equal to that given

func (*DeleteExclusionRuleForbidden) IsRedirect

func (o *DeleteExclusionRuleForbidden) IsRedirect() bool

IsRedirect returns true when this delete exclusion rule forbidden response has a 3xx status code

func (*DeleteExclusionRuleForbidden) IsServerError

func (o *DeleteExclusionRuleForbidden) IsServerError() bool

IsServerError returns true when this delete exclusion rule forbidden response has a 5xx status code

func (*DeleteExclusionRuleForbidden) IsSuccess

func (o *DeleteExclusionRuleForbidden) IsSuccess() bool

IsSuccess returns true when this delete exclusion rule forbidden response has a 2xx status code

func (*DeleteExclusionRuleForbidden) String

type DeleteExclusionRuleInternalServerError

type DeleteExclusionRuleInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteExclusionRuleInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewDeleteExclusionRuleInternalServerError

func NewDeleteExclusionRuleInternalServerError() *DeleteExclusionRuleInternalServerError

NewDeleteExclusionRuleInternalServerError creates a DeleteExclusionRuleInternalServerError with default headers values

func (*DeleteExclusionRuleInternalServerError) Code

Code gets the status code for the delete exclusion rule internal server error response

func (*DeleteExclusionRuleInternalServerError) Error

func (*DeleteExclusionRuleInternalServerError) GetPayload

func (*DeleteExclusionRuleInternalServerError) IsClientError

func (o *DeleteExclusionRuleInternalServerError) IsClientError() bool

IsClientError returns true when this delete exclusion rule internal server error response has a 4xx status code

func (*DeleteExclusionRuleInternalServerError) IsCode

IsCode returns true when this delete exclusion rule internal server error response a status code equal to that given

func (*DeleteExclusionRuleInternalServerError) IsRedirect

IsRedirect returns true when this delete exclusion rule internal server error response has a 3xx status code

func (*DeleteExclusionRuleInternalServerError) IsServerError

func (o *DeleteExclusionRuleInternalServerError) IsServerError() bool

IsServerError returns true when this delete exclusion rule internal server error response has a 5xx status code

func (*DeleteExclusionRuleInternalServerError) IsSuccess

IsSuccess returns true when this delete exclusion rule internal server error response has a 2xx status code

func (*DeleteExclusionRuleInternalServerError) String

type DeleteExclusionRuleOK

type DeleteExclusionRuleOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

DeleteExclusionRuleOK describes a response with status code 200, with default header values.

OK

func NewDeleteExclusionRuleOK

func NewDeleteExclusionRuleOK() *DeleteExclusionRuleOK

NewDeleteExclusionRuleOK creates a DeleteExclusionRuleOK with default headers values

func (*DeleteExclusionRuleOK) Code

func (o *DeleteExclusionRuleOK) Code() int

Code gets the status code for the delete exclusion rule o k response

func (*DeleteExclusionRuleOK) Error

func (o *DeleteExclusionRuleOK) Error() string

func (*DeleteExclusionRuleOK) GetPayload

func (o *DeleteExclusionRuleOK) GetPayload() *models.APIResponse

func (*DeleteExclusionRuleOK) IsClientError

func (o *DeleteExclusionRuleOK) IsClientError() bool

IsClientError returns true when this delete exclusion rule o k response has a 4xx status code

func (*DeleteExclusionRuleOK) IsCode

func (o *DeleteExclusionRuleOK) IsCode(code int) bool

IsCode returns true when this delete exclusion rule o k response a status code equal to that given

func (*DeleteExclusionRuleOK) IsRedirect

func (o *DeleteExclusionRuleOK) IsRedirect() bool

IsRedirect returns true when this delete exclusion rule o k response has a 3xx status code

func (*DeleteExclusionRuleOK) IsServerError

func (o *DeleteExclusionRuleOK) IsServerError() bool

IsServerError returns true when this delete exclusion rule o k response has a 5xx status code

func (*DeleteExclusionRuleOK) IsSuccess

func (o *DeleteExclusionRuleOK) IsSuccess() bool

IsSuccess returns true when this delete exclusion rule o k response has a 2xx status code

func (*DeleteExclusionRuleOK) String

func (o *DeleteExclusionRuleOK) String() string

type DeleteExclusionRuleParams

type DeleteExclusionRuleParams struct {

	/* ID.

	   Exclusion rule UUID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteExclusionRuleParams contains all the parameters to send to the API endpoint

for the delete exclusion rule operation.

Typically these are written to a http.Request.

func NewDeleteExclusionRuleParams

func NewDeleteExclusionRuleParams() *DeleteExclusionRuleParams

NewDeleteExclusionRuleParams creates a new DeleteExclusionRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteExclusionRuleParamsWithContext

func NewDeleteExclusionRuleParamsWithContext(ctx context.Context) *DeleteExclusionRuleParams

NewDeleteExclusionRuleParamsWithContext creates a new DeleteExclusionRuleParams object with the ability to set a context for a request.

func NewDeleteExclusionRuleParamsWithHTTPClient

func NewDeleteExclusionRuleParamsWithHTTPClient(client *http.Client) *DeleteExclusionRuleParams

NewDeleteExclusionRuleParamsWithHTTPClient creates a new DeleteExclusionRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteExclusionRuleParamsWithTimeout

func NewDeleteExclusionRuleParamsWithTimeout(timeout time.Duration) *DeleteExclusionRuleParams

NewDeleteExclusionRuleParamsWithTimeout creates a new DeleteExclusionRuleParams object with the ability to set a timeout on a request.

func (*DeleteExclusionRuleParams) SetContext

func (o *DeleteExclusionRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the delete exclusion rule params

func (*DeleteExclusionRuleParams) SetDefaults

func (o *DeleteExclusionRuleParams) SetDefaults()

SetDefaults hydrates default values in the delete exclusion rule params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteExclusionRuleParams) SetHTTPClient

func (o *DeleteExclusionRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete exclusion rule params

func (*DeleteExclusionRuleParams) SetID

func (o *DeleteExclusionRuleParams) SetID(id string)

SetID adds the id to the delete exclusion rule params

func (*DeleteExclusionRuleParams) SetTimeout

func (o *DeleteExclusionRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete exclusion rule params

func (*DeleteExclusionRuleParams) WithContext

WithContext adds the context to the delete exclusion rule params

func (*DeleteExclusionRuleParams) WithDefaults

WithDefaults hydrates default values in the delete exclusion rule params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteExclusionRuleParams) WithHTTPClient

func (o *DeleteExclusionRuleParams) WithHTTPClient(client *http.Client) *DeleteExclusionRuleParams

WithHTTPClient adds the HTTPClient to the delete exclusion rule params

func (*DeleteExclusionRuleParams) WithID

WithID adds the id to the delete exclusion rule params

func (*DeleteExclusionRuleParams) WithTimeout

WithTimeout adds the timeout to the delete exclusion rule params

func (*DeleteExclusionRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteExclusionRuleReader

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

DeleteExclusionRuleReader is a Reader for the DeleteExclusionRule structure.

func (*DeleteExclusionRuleReader) ReadResponse

func (o *DeleteExclusionRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteExclusionRuleTooManyRequests

type DeleteExclusionRuleTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

DeleteExclusionRuleTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteExclusionRuleTooManyRequests

func NewDeleteExclusionRuleTooManyRequests() *DeleteExclusionRuleTooManyRequests

NewDeleteExclusionRuleTooManyRequests creates a DeleteExclusionRuleTooManyRequests with default headers values

func (*DeleteExclusionRuleTooManyRequests) Code

Code gets the status code for the delete exclusion rule too many requests response

func (*DeleteExclusionRuleTooManyRequests) Error

func (*DeleteExclusionRuleTooManyRequests) GetPayload

func (*DeleteExclusionRuleTooManyRequests) IsClientError

func (o *DeleteExclusionRuleTooManyRequests) IsClientError() bool

IsClientError returns true when this delete exclusion rule too many requests response has a 4xx status code

func (*DeleteExclusionRuleTooManyRequests) IsCode

IsCode returns true when this delete exclusion rule too many requests response a status code equal to that given

func (*DeleteExclusionRuleTooManyRequests) IsRedirect

func (o *DeleteExclusionRuleTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete exclusion rule too many requests response has a 3xx status code

func (*DeleteExclusionRuleTooManyRequests) IsServerError

func (o *DeleteExclusionRuleTooManyRequests) IsServerError() bool

IsServerError returns true when this delete exclusion rule too many requests response has a 5xx status code

func (*DeleteExclusionRuleTooManyRequests) IsSuccess

IsSuccess returns true when this delete exclusion rule too many requests response has a 2xx status code

func (*DeleteExclusionRuleTooManyRequests) String

type DeleteSCMConnectionForbidden

type DeleteSCMConnectionForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteSCMConnectionForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteSCMConnectionForbidden

func NewDeleteSCMConnectionForbidden() *DeleteSCMConnectionForbidden

NewDeleteSCMConnectionForbidden creates a DeleteSCMConnectionForbidden with default headers values

func (*DeleteSCMConnectionForbidden) Code

Code gets the status code for the delete s c m connection forbidden response

func (*DeleteSCMConnectionForbidden) Error

func (*DeleteSCMConnectionForbidden) GetPayload

func (*DeleteSCMConnectionForbidden) IsClientError

func (o *DeleteSCMConnectionForbidden) IsClientError() bool

IsClientError returns true when this delete s c m connection forbidden response has a 4xx status code

func (*DeleteSCMConnectionForbidden) IsCode

func (o *DeleteSCMConnectionForbidden) IsCode(code int) bool

IsCode returns true when this delete s c m connection forbidden response a status code equal to that given

func (*DeleteSCMConnectionForbidden) IsRedirect

func (o *DeleteSCMConnectionForbidden) IsRedirect() bool

IsRedirect returns true when this delete s c m connection forbidden response has a 3xx status code

func (*DeleteSCMConnectionForbidden) IsServerError

func (o *DeleteSCMConnectionForbidden) IsServerError() bool

IsServerError returns true when this delete s c m connection forbidden response has a 5xx status code

func (*DeleteSCMConnectionForbidden) IsSuccess

func (o *DeleteSCMConnectionForbidden) IsSuccess() bool

IsSuccess returns true when this delete s c m connection forbidden response has a 2xx status code

func (*DeleteSCMConnectionForbidden) String

type DeleteSCMConnectionInternalServerError

type DeleteSCMConnectionInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

DeleteSCMConnectionInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewDeleteSCMConnectionInternalServerError

func NewDeleteSCMConnectionInternalServerError() *DeleteSCMConnectionInternalServerError

NewDeleteSCMConnectionInternalServerError creates a DeleteSCMConnectionInternalServerError with default headers values

func (*DeleteSCMConnectionInternalServerError) Code

Code gets the status code for the delete s c m connection internal server error response

func (*DeleteSCMConnectionInternalServerError) Error

func (*DeleteSCMConnectionInternalServerError) GetPayload

func (*DeleteSCMConnectionInternalServerError) IsClientError

func (o *DeleteSCMConnectionInternalServerError) IsClientError() bool

IsClientError returns true when this delete s c m connection internal server error response has a 4xx status code

func (*DeleteSCMConnectionInternalServerError) IsCode

IsCode returns true when this delete s c m connection internal server error response a status code equal to that given

func (*DeleteSCMConnectionInternalServerError) IsRedirect

IsRedirect returns true when this delete s c m connection internal server error response has a 3xx status code

func (*DeleteSCMConnectionInternalServerError) IsServerError

func (o *DeleteSCMConnectionInternalServerError) IsServerError() bool

IsServerError returns true when this delete s c m connection internal server error response has a 5xx status code

func (*DeleteSCMConnectionInternalServerError) IsSuccess

IsSuccess returns true when this delete s c m connection internal server error response has a 2xx status code

func (*DeleteSCMConnectionInternalServerError) String

type DeleteSCMConnectionOK

type DeleteSCMConnectionOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

DeleteSCMConnectionOK describes a response with status code 200, with default header values.

OK

func NewDeleteSCMConnectionOK

func NewDeleteSCMConnectionOK() *DeleteSCMConnectionOK

NewDeleteSCMConnectionOK creates a DeleteSCMConnectionOK with default headers values

func (*DeleteSCMConnectionOK) Code

func (o *DeleteSCMConnectionOK) Code() int

Code gets the status code for the delete s c m connection o k response

func (*DeleteSCMConnectionOK) Error

func (o *DeleteSCMConnectionOK) Error() string

func (*DeleteSCMConnectionOK) GetPayload

func (o *DeleteSCMConnectionOK) GetPayload() *models.APIResponse

func (*DeleteSCMConnectionOK) IsClientError

func (o *DeleteSCMConnectionOK) IsClientError() bool

IsClientError returns true when this delete s c m connection o k response has a 4xx status code

func (*DeleteSCMConnectionOK) IsCode

func (o *DeleteSCMConnectionOK) IsCode(code int) bool

IsCode returns true when this delete s c m connection o k response a status code equal to that given

func (*DeleteSCMConnectionOK) IsRedirect

func (o *DeleteSCMConnectionOK) IsRedirect() bool

IsRedirect returns true when this delete s c m connection o k response has a 3xx status code

func (*DeleteSCMConnectionOK) IsServerError

func (o *DeleteSCMConnectionOK) IsServerError() bool

IsServerError returns true when this delete s c m connection o k response has a 5xx status code

func (*DeleteSCMConnectionOK) IsSuccess

func (o *DeleteSCMConnectionOK) IsSuccess() bool

IsSuccess returns true when this delete s c m connection o k response has a 2xx status code

func (*DeleteSCMConnectionOK) String

func (o *DeleteSCMConnectionOK) String() string

type DeleteSCMConnectionParams

type DeleteSCMConnectionParams struct {

	/* UUID.

	   Connection UUID
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteSCMConnectionParams contains all the parameters to send to the API endpoint

for the delete s c m connection operation.

Typically these are written to a http.Request.

func NewDeleteSCMConnectionParams

func NewDeleteSCMConnectionParams() *DeleteSCMConnectionParams

NewDeleteSCMConnectionParams creates a new DeleteSCMConnectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteSCMConnectionParamsWithContext

func NewDeleteSCMConnectionParamsWithContext(ctx context.Context) *DeleteSCMConnectionParams

NewDeleteSCMConnectionParamsWithContext creates a new DeleteSCMConnectionParams object with the ability to set a context for a request.

func NewDeleteSCMConnectionParamsWithHTTPClient

func NewDeleteSCMConnectionParamsWithHTTPClient(client *http.Client) *DeleteSCMConnectionParams

NewDeleteSCMConnectionParamsWithHTTPClient creates a new DeleteSCMConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteSCMConnectionParamsWithTimeout

func NewDeleteSCMConnectionParamsWithTimeout(timeout time.Duration) *DeleteSCMConnectionParams

NewDeleteSCMConnectionParamsWithTimeout creates a new DeleteSCMConnectionParams object with the ability to set a timeout on a request.

func (*DeleteSCMConnectionParams) SetContext

func (o *DeleteSCMConnectionParams) SetContext(ctx context.Context)

SetContext adds the context to the delete s c m connection params

func (*DeleteSCMConnectionParams) SetDefaults

func (o *DeleteSCMConnectionParams) SetDefaults()

SetDefaults hydrates default values in the delete s c m connection params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteSCMConnectionParams) SetHTTPClient

func (o *DeleteSCMConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete s c m connection params

func (*DeleteSCMConnectionParams) SetTimeout

func (o *DeleteSCMConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete s c m connection params

func (*DeleteSCMConnectionParams) SetUUID

func (o *DeleteSCMConnectionParams) SetUUID(uuid string)

SetUUID adds the uuid to the delete s c m connection params

func (*DeleteSCMConnectionParams) WithContext

WithContext adds the context to the delete s c m connection params

func (*DeleteSCMConnectionParams) WithDefaults

WithDefaults hydrates default values in the delete s c m connection params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteSCMConnectionParams) WithHTTPClient

func (o *DeleteSCMConnectionParams) WithHTTPClient(client *http.Client) *DeleteSCMConnectionParams

WithHTTPClient adds the HTTPClient to the delete s c m connection params

func (*DeleteSCMConnectionParams) WithTimeout

WithTimeout adds the timeout to the delete s c m connection params

func (*DeleteSCMConnectionParams) WithUUID

WithUUID adds the uuid to the delete s c m connection params

func (*DeleteSCMConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteSCMConnectionReader

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

DeleteSCMConnectionReader is a Reader for the DeleteSCMConnection structure.

func (*DeleteSCMConnectionReader) ReadResponse

func (o *DeleteSCMConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteSCMConnectionTooManyRequests

type DeleteSCMConnectionTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

DeleteSCMConnectionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteSCMConnectionTooManyRequests

func NewDeleteSCMConnectionTooManyRequests() *DeleteSCMConnectionTooManyRequests

NewDeleteSCMConnectionTooManyRequests creates a DeleteSCMConnectionTooManyRequests with default headers values

func (*DeleteSCMConnectionTooManyRequests) Code

Code gets the status code for the delete s c m connection too many requests response

func (*DeleteSCMConnectionTooManyRequests) Error

func (*DeleteSCMConnectionTooManyRequests) GetPayload

func (*DeleteSCMConnectionTooManyRequests) IsClientError

func (o *DeleteSCMConnectionTooManyRequests) IsClientError() bool

IsClientError returns true when this delete s c m connection too many requests response has a 4xx status code

func (*DeleteSCMConnectionTooManyRequests) IsCode

IsCode returns true when this delete s c m connection too many requests response a status code equal to that given

func (*DeleteSCMConnectionTooManyRequests) IsRedirect

func (o *DeleteSCMConnectionTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete s c m connection too many requests response has a 3xx status code

func (*DeleteSCMConnectionTooManyRequests) IsServerError

func (o *DeleteSCMConnectionTooManyRequests) IsServerError() bool

IsServerError returns true when this delete s c m connection too many requests response has a 5xx status code

func (*DeleteSCMConnectionTooManyRequests) IsSuccess

IsSuccess returns true when this delete s c m connection too many requests response has a 2xx status code

func (*DeleteSCMConnectionTooManyRequests) String

type ExchangeGitHubAppCodeForbidden

type ExchangeGitHubAppCodeForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ExchangeGitHubAppCodeForbidden describes a response with status code 403, with default header values.

Forbidden

func NewExchangeGitHubAppCodeForbidden

func NewExchangeGitHubAppCodeForbidden() *ExchangeGitHubAppCodeForbidden

NewExchangeGitHubAppCodeForbidden creates a ExchangeGitHubAppCodeForbidden with default headers values

func (*ExchangeGitHubAppCodeForbidden) Code

Code gets the status code for the exchange git hub app code forbidden response

func (*ExchangeGitHubAppCodeForbidden) Error

func (*ExchangeGitHubAppCodeForbidden) GetPayload

func (*ExchangeGitHubAppCodeForbidden) IsClientError

func (o *ExchangeGitHubAppCodeForbidden) IsClientError() bool

IsClientError returns true when this exchange git hub app code forbidden response has a 4xx status code

func (*ExchangeGitHubAppCodeForbidden) IsCode

func (o *ExchangeGitHubAppCodeForbidden) IsCode(code int) bool

IsCode returns true when this exchange git hub app code forbidden response a status code equal to that given

func (*ExchangeGitHubAppCodeForbidden) IsRedirect

func (o *ExchangeGitHubAppCodeForbidden) IsRedirect() bool

IsRedirect returns true when this exchange git hub app code forbidden response has a 3xx status code

func (*ExchangeGitHubAppCodeForbidden) IsServerError

func (o *ExchangeGitHubAppCodeForbidden) IsServerError() bool

IsServerError returns true when this exchange git hub app code forbidden response has a 5xx status code

func (*ExchangeGitHubAppCodeForbidden) IsSuccess

func (o *ExchangeGitHubAppCodeForbidden) IsSuccess() bool

IsSuccess returns true when this exchange git hub app code forbidden response has a 2xx status code

func (*ExchangeGitHubAppCodeForbidden) String

type ExchangeGitHubAppCodeInternalServerError

type ExchangeGitHubAppCodeInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ExchangeGitHubAppCodeInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewExchangeGitHubAppCodeInternalServerError

func NewExchangeGitHubAppCodeInternalServerError() *ExchangeGitHubAppCodeInternalServerError

NewExchangeGitHubAppCodeInternalServerError creates a ExchangeGitHubAppCodeInternalServerError with default headers values

func (*ExchangeGitHubAppCodeInternalServerError) Code

Code gets the status code for the exchange git hub app code internal server error response

func (*ExchangeGitHubAppCodeInternalServerError) Error

func (*ExchangeGitHubAppCodeInternalServerError) GetPayload

func (*ExchangeGitHubAppCodeInternalServerError) IsClientError

IsClientError returns true when this exchange git hub app code internal server error response has a 4xx status code

func (*ExchangeGitHubAppCodeInternalServerError) IsCode

IsCode returns true when this exchange git hub app code internal server error response a status code equal to that given

func (*ExchangeGitHubAppCodeInternalServerError) IsRedirect

IsRedirect returns true when this exchange git hub app code internal server error response has a 3xx status code

func (*ExchangeGitHubAppCodeInternalServerError) IsServerError

IsServerError returns true when this exchange git hub app code internal server error response has a 5xx status code

func (*ExchangeGitHubAppCodeInternalServerError) IsSuccess

IsSuccess returns true when this exchange git hub app code internal server error response has a 2xx status code

func (*ExchangeGitHubAppCodeInternalServerError) String

type ExchangeGitHubAppCodeOK

type ExchangeGitHubAppCodeOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

ExchangeGitHubAppCodeOK describes a response with status code 200, with default header values.

OK

func NewExchangeGitHubAppCodeOK

func NewExchangeGitHubAppCodeOK() *ExchangeGitHubAppCodeOK

NewExchangeGitHubAppCodeOK creates a ExchangeGitHubAppCodeOK with default headers values

func (*ExchangeGitHubAppCodeOK) Code

func (o *ExchangeGitHubAppCodeOK) Code() int

Code gets the status code for the exchange git hub app code o k response

func (*ExchangeGitHubAppCodeOK) Error

func (o *ExchangeGitHubAppCodeOK) Error() string

func (*ExchangeGitHubAppCodeOK) GetPayload

func (o *ExchangeGitHubAppCodeOK) GetPayload() *models.APIResponse

func (*ExchangeGitHubAppCodeOK) IsClientError

func (o *ExchangeGitHubAppCodeOK) IsClientError() bool

IsClientError returns true when this exchange git hub app code o k response has a 4xx status code

func (*ExchangeGitHubAppCodeOK) IsCode

func (o *ExchangeGitHubAppCodeOK) IsCode(code int) bool

IsCode returns true when this exchange git hub app code o k response a status code equal to that given

func (*ExchangeGitHubAppCodeOK) IsRedirect

func (o *ExchangeGitHubAppCodeOK) IsRedirect() bool

IsRedirect returns true when this exchange git hub app code o k response has a 3xx status code

func (*ExchangeGitHubAppCodeOK) IsServerError

func (o *ExchangeGitHubAppCodeOK) IsServerError() bool

IsServerError returns true when this exchange git hub app code o k response has a 5xx status code

func (*ExchangeGitHubAppCodeOK) IsSuccess

func (o *ExchangeGitHubAppCodeOK) IsSuccess() bool

IsSuccess returns true when this exchange git hub app code o k response has a 2xx status code

func (*ExchangeGitHubAppCodeOK) String

func (o *ExchangeGitHubAppCodeOK) String() string

type ExchangeGitHubAppCodeParams

type ExchangeGitHubAppCodeParams struct {

	// Body.
	Body *models.APIExchangeRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExchangeGitHubAppCodeParams contains all the parameters to send to the API endpoint

for the exchange git hub app code operation.

Typically these are written to a http.Request.

func NewExchangeGitHubAppCodeParams

func NewExchangeGitHubAppCodeParams() *ExchangeGitHubAppCodeParams

NewExchangeGitHubAppCodeParams creates a new ExchangeGitHubAppCodeParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewExchangeGitHubAppCodeParamsWithContext

func NewExchangeGitHubAppCodeParamsWithContext(ctx context.Context) *ExchangeGitHubAppCodeParams

NewExchangeGitHubAppCodeParamsWithContext creates a new ExchangeGitHubAppCodeParams object with the ability to set a context for a request.

func NewExchangeGitHubAppCodeParamsWithHTTPClient

func NewExchangeGitHubAppCodeParamsWithHTTPClient(client *http.Client) *ExchangeGitHubAppCodeParams

NewExchangeGitHubAppCodeParamsWithHTTPClient creates a new ExchangeGitHubAppCodeParams object with the ability to set a custom HTTPClient for a request.

func NewExchangeGitHubAppCodeParamsWithTimeout

func NewExchangeGitHubAppCodeParamsWithTimeout(timeout time.Duration) *ExchangeGitHubAppCodeParams

NewExchangeGitHubAppCodeParamsWithTimeout creates a new ExchangeGitHubAppCodeParams object with the ability to set a timeout on a request.

func (*ExchangeGitHubAppCodeParams) SetBody

SetBody adds the body to the exchange git hub app code params

func (*ExchangeGitHubAppCodeParams) SetContext

func (o *ExchangeGitHubAppCodeParams) SetContext(ctx context.Context)

SetContext adds the context to the exchange git hub app code params

func (*ExchangeGitHubAppCodeParams) SetDefaults

func (o *ExchangeGitHubAppCodeParams) SetDefaults()

SetDefaults hydrates default values in the exchange git hub app code params (not the query body).

All values with no default are reset to their zero value.

func (*ExchangeGitHubAppCodeParams) SetHTTPClient

func (o *ExchangeGitHubAppCodeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the exchange git hub app code params

func (*ExchangeGitHubAppCodeParams) SetTimeout

func (o *ExchangeGitHubAppCodeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the exchange git hub app code params

func (*ExchangeGitHubAppCodeParams) WithBody

WithBody adds the body to the exchange git hub app code params

func (*ExchangeGitHubAppCodeParams) WithContext

WithContext adds the context to the exchange git hub app code params

func (*ExchangeGitHubAppCodeParams) WithDefaults

WithDefaults hydrates default values in the exchange git hub app code params (not the query body).

All values with no default are reset to their zero value.

func (*ExchangeGitHubAppCodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the exchange git hub app code params

func (*ExchangeGitHubAppCodeParams) WithTimeout

WithTimeout adds the timeout to the exchange git hub app code params

func (*ExchangeGitHubAppCodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ExchangeGitHubAppCodeReader

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

ExchangeGitHubAppCodeReader is a Reader for the ExchangeGitHubAppCode structure.

func (*ExchangeGitHubAppCodeReader) ReadResponse

func (o *ExchangeGitHubAppCodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExchangeGitHubAppCodeTooManyRequests

type ExchangeGitHubAppCodeTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ExchangeGitHubAppCodeTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewExchangeGitHubAppCodeTooManyRequests

func NewExchangeGitHubAppCodeTooManyRequests() *ExchangeGitHubAppCodeTooManyRequests

NewExchangeGitHubAppCodeTooManyRequests creates a ExchangeGitHubAppCodeTooManyRequests with default headers values

func (*ExchangeGitHubAppCodeTooManyRequests) Code

Code gets the status code for the exchange git hub app code too many requests response

func (*ExchangeGitHubAppCodeTooManyRequests) Error

func (*ExchangeGitHubAppCodeTooManyRequests) GetPayload

func (*ExchangeGitHubAppCodeTooManyRequests) IsClientError

func (o *ExchangeGitHubAppCodeTooManyRequests) IsClientError() bool

IsClientError returns true when this exchange git hub app code too many requests response has a 4xx status code

func (*ExchangeGitHubAppCodeTooManyRequests) IsCode

IsCode returns true when this exchange git hub app code too many requests response a status code equal to that given

func (*ExchangeGitHubAppCodeTooManyRequests) IsRedirect

IsRedirect returns true when this exchange git hub app code too many requests response has a 3xx status code

func (*ExchangeGitHubAppCodeTooManyRequests) IsServerError

func (o *ExchangeGitHubAppCodeTooManyRequests) IsServerError() bool

IsServerError returns true when this exchange git hub app code too many requests response has a 5xx status code

func (*ExchangeGitHubAppCodeTooManyRequests) IsSuccess

IsSuccess returns true when this exchange git hub app code too many requests response has a 2xx status code

func (*ExchangeGitHubAppCodeTooManyRequests) String

type GetBranchConfigForbidden

type GetBranchConfigForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetBranchConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetBranchConfigForbidden

func NewGetBranchConfigForbidden() *GetBranchConfigForbidden

NewGetBranchConfigForbidden creates a GetBranchConfigForbidden with default headers values

func (*GetBranchConfigForbidden) Code

func (o *GetBranchConfigForbidden) Code() int

Code gets the status code for the get branch config forbidden response

func (*GetBranchConfigForbidden) Error

func (o *GetBranchConfigForbidden) Error() string

func (*GetBranchConfigForbidden) GetPayload

func (*GetBranchConfigForbidden) IsClientError

func (o *GetBranchConfigForbidden) IsClientError() bool

IsClientError returns true when this get branch config forbidden response has a 4xx status code

func (*GetBranchConfigForbidden) IsCode

func (o *GetBranchConfigForbidden) IsCode(code int) bool

IsCode returns true when this get branch config forbidden response a status code equal to that given

func (*GetBranchConfigForbidden) IsRedirect

func (o *GetBranchConfigForbidden) IsRedirect() bool

IsRedirect returns true when this get branch config forbidden response has a 3xx status code

func (*GetBranchConfigForbidden) IsServerError

func (o *GetBranchConfigForbidden) IsServerError() bool

IsServerError returns true when this get branch config forbidden response has a 5xx status code

func (*GetBranchConfigForbidden) IsSuccess

func (o *GetBranchConfigForbidden) IsSuccess() bool

IsSuccess returns true when this get branch config forbidden response has a 2xx status code

func (*GetBranchConfigForbidden) String

func (o *GetBranchConfigForbidden) String() string

type GetBranchConfigInternalServerError

type GetBranchConfigInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetBranchConfigInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewGetBranchConfigInternalServerError

func NewGetBranchConfigInternalServerError() *GetBranchConfigInternalServerError

NewGetBranchConfigInternalServerError creates a GetBranchConfigInternalServerError with default headers values

func (*GetBranchConfigInternalServerError) Code

Code gets the status code for the get branch config internal server error response

func (*GetBranchConfigInternalServerError) Error

func (*GetBranchConfigInternalServerError) GetPayload

func (*GetBranchConfigInternalServerError) IsClientError

func (o *GetBranchConfigInternalServerError) IsClientError() bool

IsClientError returns true when this get branch config internal server error response has a 4xx status code

func (*GetBranchConfigInternalServerError) IsCode

IsCode returns true when this get branch config internal server error response a status code equal to that given

func (*GetBranchConfigInternalServerError) IsRedirect

func (o *GetBranchConfigInternalServerError) IsRedirect() bool

IsRedirect returns true when this get branch config internal server error response has a 3xx status code

func (*GetBranchConfigInternalServerError) IsServerError

func (o *GetBranchConfigInternalServerError) IsServerError() bool

IsServerError returns true when this get branch config internal server error response has a 5xx status code

func (*GetBranchConfigInternalServerError) IsSuccess

IsSuccess returns true when this get branch config internal server error response has a 2xx status code

func (*GetBranchConfigInternalServerError) String

type GetBranchConfigOK

type GetBranchConfigOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIBranchConfigGetResponse
}

GetBranchConfigOK describes a response with status code 200, with default header values.

OK

func NewGetBranchConfigOK

func NewGetBranchConfigOK() *GetBranchConfigOK

NewGetBranchConfigOK creates a GetBranchConfigOK with default headers values

func (*GetBranchConfigOK) Code

func (o *GetBranchConfigOK) Code() int

Code gets the status code for the get branch config o k response

func (*GetBranchConfigOK) Error

func (o *GetBranchConfigOK) Error() string

func (*GetBranchConfigOK) GetPayload

func (*GetBranchConfigOK) IsClientError

func (o *GetBranchConfigOK) IsClientError() bool

IsClientError returns true when this get branch config o k response has a 4xx status code

func (*GetBranchConfigOK) IsCode

func (o *GetBranchConfigOK) IsCode(code int) bool

IsCode returns true when this get branch config o k response a status code equal to that given

func (*GetBranchConfigOK) IsRedirect

func (o *GetBranchConfigOK) IsRedirect() bool

IsRedirect returns true when this get branch config o k response has a 3xx status code

func (*GetBranchConfigOK) IsServerError

func (o *GetBranchConfigOK) IsServerError() bool

IsServerError returns true when this get branch config o k response has a 5xx status code

func (*GetBranchConfigOK) IsSuccess

func (o *GetBranchConfigOK) IsSuccess() bool

IsSuccess returns true when this get branch config o k response has a 2xx status code

func (*GetBranchConfigOK) String

func (o *GetBranchConfigOK) String() string

type GetBranchConfigParams

type GetBranchConfigParams struct {

	/* ConnectionID.

	   Connection UUID
	*/
	ConnectionID string

	/* RepositoryIds.

	   Comma-separated Repository UUIDs (optional, for per-repo or bulk query)
	*/
	RepositoryIds *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetBranchConfigParams contains all the parameters to send to the API endpoint

for the get branch config operation.

Typically these are written to a http.Request.

func NewGetBranchConfigParams

func NewGetBranchConfigParams() *GetBranchConfigParams

NewGetBranchConfigParams creates a new GetBranchConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetBranchConfigParamsWithContext

func NewGetBranchConfigParamsWithContext(ctx context.Context) *GetBranchConfigParams

NewGetBranchConfigParamsWithContext creates a new GetBranchConfigParams object with the ability to set a context for a request.

func NewGetBranchConfigParamsWithHTTPClient

func NewGetBranchConfigParamsWithHTTPClient(client *http.Client) *GetBranchConfigParams

NewGetBranchConfigParamsWithHTTPClient creates a new GetBranchConfigParams object with the ability to set a custom HTTPClient for a request.

func NewGetBranchConfigParamsWithTimeout

func NewGetBranchConfigParamsWithTimeout(timeout time.Duration) *GetBranchConfigParams

NewGetBranchConfigParamsWithTimeout creates a new GetBranchConfigParams object with the ability to set a timeout on a request.

func (*GetBranchConfigParams) SetConnectionID

func (o *GetBranchConfigParams) SetConnectionID(connectionID string)

SetConnectionID adds the connectionId to the get branch config params

func (*GetBranchConfigParams) SetContext

func (o *GetBranchConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the get branch config params

func (*GetBranchConfigParams) SetDefaults

func (o *GetBranchConfigParams) SetDefaults()

SetDefaults hydrates default values in the get branch config params (not the query body).

All values with no default are reset to their zero value.

func (*GetBranchConfigParams) SetHTTPClient

func (o *GetBranchConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get branch config params

func (*GetBranchConfigParams) SetRepositoryIds

func (o *GetBranchConfigParams) SetRepositoryIds(repositoryIds *string)

SetRepositoryIds adds the repositoryIds to the get branch config params

func (*GetBranchConfigParams) SetTimeout

func (o *GetBranchConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get branch config params

func (*GetBranchConfigParams) WithConnectionID

func (o *GetBranchConfigParams) WithConnectionID(connectionID string) *GetBranchConfigParams

WithConnectionID adds the connectionID to the get branch config params

func (*GetBranchConfigParams) WithContext

WithContext adds the context to the get branch config params

func (*GetBranchConfigParams) WithDefaults

func (o *GetBranchConfigParams) WithDefaults() *GetBranchConfigParams

WithDefaults hydrates default values in the get branch config params (not the query body).

All values with no default are reset to their zero value.

func (*GetBranchConfigParams) WithHTTPClient

func (o *GetBranchConfigParams) WithHTTPClient(client *http.Client) *GetBranchConfigParams

WithHTTPClient adds the HTTPClient to the get branch config params

func (*GetBranchConfigParams) WithRepositoryIds

func (o *GetBranchConfigParams) WithRepositoryIds(repositoryIds *string) *GetBranchConfigParams

WithRepositoryIds adds the repositoryIds to the get branch config params

func (*GetBranchConfigParams) WithTimeout

func (o *GetBranchConfigParams) WithTimeout(timeout time.Duration) *GetBranchConfigParams

WithTimeout adds the timeout to the get branch config params

func (*GetBranchConfigParams) WriteToRequest

func (o *GetBranchConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetBranchConfigReader

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

GetBranchConfigReader is a Reader for the GetBranchConfig structure.

func (*GetBranchConfigReader) ReadResponse

func (o *GetBranchConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetBranchConfigTooManyRequests

type GetBranchConfigTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetBranchConfigTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetBranchConfigTooManyRequests

func NewGetBranchConfigTooManyRequests() *GetBranchConfigTooManyRequests

NewGetBranchConfigTooManyRequests creates a GetBranchConfigTooManyRequests with default headers values

func (*GetBranchConfigTooManyRequests) Code

Code gets the status code for the get branch config too many requests response

func (*GetBranchConfigTooManyRequests) Error

func (*GetBranchConfigTooManyRequests) GetPayload

func (*GetBranchConfigTooManyRequests) IsClientError

func (o *GetBranchConfigTooManyRequests) IsClientError() bool

IsClientError returns true when this get branch config too many requests response has a 4xx status code

func (*GetBranchConfigTooManyRequests) IsCode

func (o *GetBranchConfigTooManyRequests) IsCode(code int) bool

IsCode returns true when this get branch config too many requests response a status code equal to that given

func (*GetBranchConfigTooManyRequests) IsRedirect

func (o *GetBranchConfigTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get branch config too many requests response has a 3xx status code

func (*GetBranchConfigTooManyRequests) IsServerError

func (o *GetBranchConfigTooManyRequests) IsServerError() bool

IsServerError returns true when this get branch config too many requests response has a 5xx status code

func (*GetBranchConfigTooManyRequests) IsSuccess

func (o *GetBranchConfigTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get branch config too many requests response has a 2xx status code

func (*GetBranchConfigTooManyRequests) String

type GetSCMConnectionForbidden

type GetSCMConnectionForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetSCMConnectionForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetSCMConnectionForbidden

func NewGetSCMConnectionForbidden() *GetSCMConnectionForbidden

NewGetSCMConnectionForbidden creates a GetSCMConnectionForbidden with default headers values

func (*GetSCMConnectionForbidden) Code

func (o *GetSCMConnectionForbidden) Code() int

Code gets the status code for the get s c m connection forbidden response

func (*GetSCMConnectionForbidden) Error

func (o *GetSCMConnectionForbidden) Error() string

func (*GetSCMConnectionForbidden) GetPayload

func (*GetSCMConnectionForbidden) IsClientError

func (o *GetSCMConnectionForbidden) IsClientError() bool

IsClientError returns true when this get s c m connection forbidden response has a 4xx status code

func (*GetSCMConnectionForbidden) IsCode

func (o *GetSCMConnectionForbidden) IsCode(code int) bool

IsCode returns true when this get s c m connection forbidden response a status code equal to that given

func (*GetSCMConnectionForbidden) IsRedirect

func (o *GetSCMConnectionForbidden) IsRedirect() bool

IsRedirect returns true when this get s c m connection forbidden response has a 3xx status code

func (*GetSCMConnectionForbidden) IsServerError

func (o *GetSCMConnectionForbidden) IsServerError() bool

IsServerError returns true when this get s c m connection forbidden response has a 5xx status code

func (*GetSCMConnectionForbidden) IsSuccess

func (o *GetSCMConnectionForbidden) IsSuccess() bool

IsSuccess returns true when this get s c m connection forbidden response has a 2xx status code

func (*GetSCMConnectionForbidden) String

func (o *GetSCMConnectionForbidden) String() string

type GetSCMConnectionInternalServerError

type GetSCMConnectionInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

GetSCMConnectionInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewGetSCMConnectionInternalServerError

func NewGetSCMConnectionInternalServerError() *GetSCMConnectionInternalServerError

NewGetSCMConnectionInternalServerError creates a GetSCMConnectionInternalServerError with default headers values

func (*GetSCMConnectionInternalServerError) Code

Code gets the status code for the get s c m connection internal server error response

func (*GetSCMConnectionInternalServerError) Error

func (*GetSCMConnectionInternalServerError) GetPayload

func (*GetSCMConnectionInternalServerError) IsClientError

func (o *GetSCMConnectionInternalServerError) IsClientError() bool

IsClientError returns true when this get s c m connection internal server error response has a 4xx status code

func (*GetSCMConnectionInternalServerError) IsCode

IsCode returns true when this get s c m connection internal server error response a status code equal to that given

func (*GetSCMConnectionInternalServerError) IsRedirect

func (o *GetSCMConnectionInternalServerError) IsRedirect() bool

IsRedirect returns true when this get s c m connection internal server error response has a 3xx status code

func (*GetSCMConnectionInternalServerError) IsServerError

func (o *GetSCMConnectionInternalServerError) IsServerError() bool

IsServerError returns true when this get s c m connection internal server error response has a 5xx status code

func (*GetSCMConnectionInternalServerError) IsSuccess

IsSuccess returns true when this get s c m connection internal server error response has a 2xx status code

func (*GetSCMConnectionInternalServerError) String

type GetSCMConnectionOK

type GetSCMConnectionOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

GetSCMConnectionOK describes a response with status code 200, with default header values.

OK

func NewGetSCMConnectionOK

func NewGetSCMConnectionOK() *GetSCMConnectionOK

NewGetSCMConnectionOK creates a GetSCMConnectionOK with default headers values

func (*GetSCMConnectionOK) Code

func (o *GetSCMConnectionOK) Code() int

Code gets the status code for the get s c m connection o k response

func (*GetSCMConnectionOK) Error

func (o *GetSCMConnectionOK) Error() string

func (*GetSCMConnectionOK) GetPayload

func (o *GetSCMConnectionOK) GetPayload() *models.APIResponse

func (*GetSCMConnectionOK) IsClientError

func (o *GetSCMConnectionOK) IsClientError() bool

IsClientError returns true when this get s c m connection o k response has a 4xx status code

func (*GetSCMConnectionOK) IsCode

func (o *GetSCMConnectionOK) IsCode(code int) bool

IsCode returns true when this get s c m connection o k response a status code equal to that given

func (*GetSCMConnectionOK) IsRedirect

func (o *GetSCMConnectionOK) IsRedirect() bool

IsRedirect returns true when this get s c m connection o k response has a 3xx status code

func (*GetSCMConnectionOK) IsServerError

func (o *GetSCMConnectionOK) IsServerError() bool

IsServerError returns true when this get s c m connection o k response has a 5xx status code

func (*GetSCMConnectionOK) IsSuccess

func (o *GetSCMConnectionOK) IsSuccess() bool

IsSuccess returns true when this get s c m connection o k response has a 2xx status code

func (*GetSCMConnectionOK) String

func (o *GetSCMConnectionOK) String() string

type GetSCMConnectionParams

type GetSCMConnectionParams struct {

	/* UUID.

	   Connection UUID
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetSCMConnectionParams contains all the parameters to send to the API endpoint

for the get s c m connection operation.

Typically these are written to a http.Request.

func NewGetSCMConnectionParams

func NewGetSCMConnectionParams() *GetSCMConnectionParams

NewGetSCMConnectionParams creates a new GetSCMConnectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetSCMConnectionParamsWithContext

func NewGetSCMConnectionParamsWithContext(ctx context.Context) *GetSCMConnectionParams

NewGetSCMConnectionParamsWithContext creates a new GetSCMConnectionParams object with the ability to set a context for a request.

func NewGetSCMConnectionParamsWithHTTPClient

func NewGetSCMConnectionParamsWithHTTPClient(client *http.Client) *GetSCMConnectionParams

NewGetSCMConnectionParamsWithHTTPClient creates a new GetSCMConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetSCMConnectionParamsWithTimeout

func NewGetSCMConnectionParamsWithTimeout(timeout time.Duration) *GetSCMConnectionParams

NewGetSCMConnectionParamsWithTimeout creates a new GetSCMConnectionParams object with the ability to set a timeout on a request.

func (*GetSCMConnectionParams) SetContext

func (o *GetSCMConnectionParams) SetContext(ctx context.Context)

SetContext adds the context to the get s c m connection params

func (*GetSCMConnectionParams) SetDefaults

func (o *GetSCMConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get s c m connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetSCMConnectionParams) SetHTTPClient

func (o *GetSCMConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get s c m connection params

func (*GetSCMConnectionParams) SetTimeout

func (o *GetSCMConnectionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get s c m connection params

func (*GetSCMConnectionParams) SetUUID

func (o *GetSCMConnectionParams) SetUUID(uuid string)

SetUUID adds the uuid to the get s c m connection params

func (*GetSCMConnectionParams) WithContext

WithContext adds the context to the get s c m connection params

func (*GetSCMConnectionParams) WithDefaults

WithDefaults hydrates default values in the get s c m connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetSCMConnectionParams) WithHTTPClient

func (o *GetSCMConnectionParams) WithHTTPClient(client *http.Client) *GetSCMConnectionParams

WithHTTPClient adds the HTTPClient to the get s c m connection params

func (*GetSCMConnectionParams) WithTimeout

WithTimeout adds the timeout to the get s c m connection params

func (*GetSCMConnectionParams) WithUUID

WithUUID adds the uuid to the get s c m connection params

func (*GetSCMConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSCMConnectionReader

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

GetSCMConnectionReader is a Reader for the GetSCMConnection structure.

func (*GetSCMConnectionReader) ReadResponse

func (o *GetSCMConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetSCMConnectionTooManyRequests

type GetSCMConnectionTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetSCMConnectionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetSCMConnectionTooManyRequests

func NewGetSCMConnectionTooManyRequests() *GetSCMConnectionTooManyRequests

NewGetSCMConnectionTooManyRequests creates a GetSCMConnectionTooManyRequests with default headers values

func (*GetSCMConnectionTooManyRequests) Code

Code gets the status code for the get s c m connection too many requests response

func (*GetSCMConnectionTooManyRequests) Error

func (*GetSCMConnectionTooManyRequests) GetPayload

func (*GetSCMConnectionTooManyRequests) IsClientError

func (o *GetSCMConnectionTooManyRequests) IsClientError() bool

IsClientError returns true when this get s c m connection too many requests response has a 4xx status code

func (*GetSCMConnectionTooManyRequests) IsCode

func (o *GetSCMConnectionTooManyRequests) IsCode(code int) bool

IsCode returns true when this get s c m connection too many requests response a status code equal to that given

func (*GetSCMConnectionTooManyRequests) IsRedirect

func (o *GetSCMConnectionTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get s c m connection too many requests response has a 3xx status code

func (*GetSCMConnectionTooManyRequests) IsServerError

func (o *GetSCMConnectionTooManyRequests) IsServerError() bool

IsServerError returns true when this get s c m connection too many requests response has a 5xx status code

func (*GetSCMConnectionTooManyRequests) IsSuccess

func (o *GetSCMConnectionTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get s c m connection too many requests response has a 2xx status code

func (*GetSCMConnectionTooManyRequests) String

type ListExclusionRulesForbidden

type ListExclusionRulesForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ListExclusionRulesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListExclusionRulesForbidden

func NewListExclusionRulesForbidden() *ListExclusionRulesForbidden

NewListExclusionRulesForbidden creates a ListExclusionRulesForbidden with default headers values

func (*ListExclusionRulesForbidden) Code

func (o *ListExclusionRulesForbidden) Code() int

Code gets the status code for the list exclusion rules forbidden response

func (*ListExclusionRulesForbidden) Error

func (*ListExclusionRulesForbidden) GetPayload

func (*ListExclusionRulesForbidden) IsClientError

func (o *ListExclusionRulesForbidden) IsClientError() bool

IsClientError returns true when this list exclusion rules forbidden response has a 4xx status code

func (*ListExclusionRulesForbidden) IsCode

func (o *ListExclusionRulesForbidden) IsCode(code int) bool

IsCode returns true when this list exclusion rules forbidden response a status code equal to that given

func (*ListExclusionRulesForbidden) IsRedirect

func (o *ListExclusionRulesForbidden) IsRedirect() bool

IsRedirect returns true when this list exclusion rules forbidden response has a 3xx status code

func (*ListExclusionRulesForbidden) IsServerError

func (o *ListExclusionRulesForbidden) IsServerError() bool

IsServerError returns true when this list exclusion rules forbidden response has a 5xx status code

func (*ListExclusionRulesForbidden) IsSuccess

func (o *ListExclusionRulesForbidden) IsSuccess() bool

IsSuccess returns true when this list exclusion rules forbidden response has a 2xx status code

func (*ListExclusionRulesForbidden) String

func (o *ListExclusionRulesForbidden) String() string

type ListExclusionRulesInternalServerError

type ListExclusionRulesInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ListExclusionRulesInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewListExclusionRulesInternalServerError

func NewListExclusionRulesInternalServerError() *ListExclusionRulesInternalServerError

NewListExclusionRulesInternalServerError creates a ListExclusionRulesInternalServerError with default headers values

func (*ListExclusionRulesInternalServerError) Code

Code gets the status code for the list exclusion rules internal server error response

func (*ListExclusionRulesInternalServerError) Error

func (*ListExclusionRulesInternalServerError) GetPayload

func (*ListExclusionRulesInternalServerError) IsClientError

func (o *ListExclusionRulesInternalServerError) IsClientError() bool

IsClientError returns true when this list exclusion rules internal server error response has a 4xx status code

func (*ListExclusionRulesInternalServerError) IsCode

IsCode returns true when this list exclusion rules internal server error response a status code equal to that given

func (*ListExclusionRulesInternalServerError) IsRedirect

IsRedirect returns true when this list exclusion rules internal server error response has a 3xx status code

func (*ListExclusionRulesInternalServerError) IsServerError

func (o *ListExclusionRulesInternalServerError) IsServerError() bool

IsServerError returns true when this list exclusion rules internal server error response has a 5xx status code

func (*ListExclusionRulesInternalServerError) IsSuccess

IsSuccess returns true when this list exclusion rules internal server error response has a 2xx status code

func (*ListExclusionRulesInternalServerError) String

type ListExclusionRulesOK

type ListExclusionRulesOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

ListExclusionRulesOK describes a response with status code 200, with default header values.

OK

func NewListExclusionRulesOK

func NewListExclusionRulesOK() *ListExclusionRulesOK

NewListExclusionRulesOK creates a ListExclusionRulesOK with default headers values

func (*ListExclusionRulesOK) Code

func (o *ListExclusionRulesOK) Code() int

Code gets the status code for the list exclusion rules o k response

func (*ListExclusionRulesOK) Error

func (o *ListExclusionRulesOK) Error() string

func (*ListExclusionRulesOK) GetPayload

func (o *ListExclusionRulesOK) GetPayload() *models.APIResponse

func (*ListExclusionRulesOK) IsClientError

func (o *ListExclusionRulesOK) IsClientError() bool

IsClientError returns true when this list exclusion rules o k response has a 4xx status code

func (*ListExclusionRulesOK) IsCode

func (o *ListExclusionRulesOK) IsCode(code int) bool

IsCode returns true when this list exclusion rules o k response a status code equal to that given

func (*ListExclusionRulesOK) IsRedirect

func (o *ListExclusionRulesOK) IsRedirect() bool

IsRedirect returns true when this list exclusion rules o k response has a 3xx status code

func (*ListExclusionRulesOK) IsServerError

func (o *ListExclusionRulesOK) IsServerError() bool

IsServerError returns true when this list exclusion rules o k response has a 5xx status code

func (*ListExclusionRulesOK) IsSuccess

func (o *ListExclusionRulesOK) IsSuccess() bool

IsSuccess returns true when this list exclusion rules o k response has a 2xx status code

func (*ListExclusionRulesOK) String

func (o *ListExclusionRulesOK) String() string

type ListExclusionRulesParams

type ListExclusionRulesParams struct {

	/* ConnectionID.

	   Connection UUID to list rules for
	*/
	ConnectionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListExclusionRulesParams contains all the parameters to send to the API endpoint

for the list exclusion rules operation.

Typically these are written to a http.Request.

func NewListExclusionRulesParams

func NewListExclusionRulesParams() *ListExclusionRulesParams

NewListExclusionRulesParams creates a new ListExclusionRulesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListExclusionRulesParamsWithContext

func NewListExclusionRulesParamsWithContext(ctx context.Context) *ListExclusionRulesParams

NewListExclusionRulesParamsWithContext creates a new ListExclusionRulesParams object with the ability to set a context for a request.

func NewListExclusionRulesParamsWithHTTPClient

func NewListExclusionRulesParamsWithHTTPClient(client *http.Client) *ListExclusionRulesParams

NewListExclusionRulesParamsWithHTTPClient creates a new ListExclusionRulesParams object with the ability to set a custom HTTPClient for a request.

func NewListExclusionRulesParamsWithTimeout

func NewListExclusionRulesParamsWithTimeout(timeout time.Duration) *ListExclusionRulesParams

NewListExclusionRulesParamsWithTimeout creates a new ListExclusionRulesParams object with the ability to set a timeout on a request.

func (*ListExclusionRulesParams) SetConnectionID

func (o *ListExclusionRulesParams) SetConnectionID(connectionID string)

SetConnectionID adds the connectionId to the list exclusion rules params

func (*ListExclusionRulesParams) SetContext

func (o *ListExclusionRulesParams) SetContext(ctx context.Context)

SetContext adds the context to the list exclusion rules params

func (*ListExclusionRulesParams) SetDefaults

func (o *ListExclusionRulesParams) SetDefaults()

SetDefaults hydrates default values in the list exclusion rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListExclusionRulesParams) SetHTTPClient

func (o *ListExclusionRulesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list exclusion rules params

func (*ListExclusionRulesParams) SetTimeout

func (o *ListExclusionRulesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list exclusion rules params

func (*ListExclusionRulesParams) WithConnectionID

func (o *ListExclusionRulesParams) WithConnectionID(connectionID string) *ListExclusionRulesParams

WithConnectionID adds the connectionID to the list exclusion rules params

func (*ListExclusionRulesParams) WithContext

WithContext adds the context to the list exclusion rules params

func (*ListExclusionRulesParams) WithDefaults

WithDefaults hydrates default values in the list exclusion rules params (not the query body).

All values with no default are reset to their zero value.

func (*ListExclusionRulesParams) WithHTTPClient

func (o *ListExclusionRulesParams) WithHTTPClient(client *http.Client) *ListExclusionRulesParams

WithHTTPClient adds the HTTPClient to the list exclusion rules params

func (*ListExclusionRulesParams) WithTimeout

WithTimeout adds the timeout to the list exclusion rules params

func (*ListExclusionRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListExclusionRulesReader

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

ListExclusionRulesReader is a Reader for the ListExclusionRules structure.

func (*ListExclusionRulesReader) ReadResponse

func (o *ListExclusionRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListExclusionRulesTooManyRequests

type ListExclusionRulesTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ListExclusionRulesTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewListExclusionRulesTooManyRequests

func NewListExclusionRulesTooManyRequests() *ListExclusionRulesTooManyRequests

NewListExclusionRulesTooManyRequests creates a ListExclusionRulesTooManyRequests with default headers values

func (*ListExclusionRulesTooManyRequests) Code

Code gets the status code for the list exclusion rules too many requests response

func (*ListExclusionRulesTooManyRequests) Error

func (*ListExclusionRulesTooManyRequests) GetPayload

func (*ListExclusionRulesTooManyRequests) IsClientError

func (o *ListExclusionRulesTooManyRequests) IsClientError() bool

IsClientError returns true when this list exclusion rules too many requests response has a 4xx status code

func (*ListExclusionRulesTooManyRequests) IsCode

func (o *ListExclusionRulesTooManyRequests) IsCode(code int) bool

IsCode returns true when this list exclusion rules too many requests response a status code equal to that given

func (*ListExclusionRulesTooManyRequests) IsRedirect

func (o *ListExclusionRulesTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list exclusion rules too many requests response has a 3xx status code

func (*ListExclusionRulesTooManyRequests) IsServerError

func (o *ListExclusionRulesTooManyRequests) IsServerError() bool

IsServerError returns true when this list exclusion rules too many requests response has a 5xx status code

func (*ListExclusionRulesTooManyRequests) IsSuccess

func (o *ListExclusionRulesTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list exclusion rules too many requests response has a 2xx status code

func (*ListExclusionRulesTooManyRequests) String

type ListSCMConnectionsForbidden

type ListSCMConnectionsForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ListSCMConnectionsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListSCMConnectionsForbidden

func NewListSCMConnectionsForbidden() *ListSCMConnectionsForbidden

NewListSCMConnectionsForbidden creates a ListSCMConnectionsForbidden with default headers values

func (*ListSCMConnectionsForbidden) Code

func (o *ListSCMConnectionsForbidden) Code() int

Code gets the status code for the list s c m connections forbidden response

func (*ListSCMConnectionsForbidden) Error

func (*ListSCMConnectionsForbidden) GetPayload

func (*ListSCMConnectionsForbidden) IsClientError

func (o *ListSCMConnectionsForbidden) IsClientError() bool

IsClientError returns true when this list s c m connections forbidden response has a 4xx status code

func (*ListSCMConnectionsForbidden) IsCode

func (o *ListSCMConnectionsForbidden) IsCode(code int) bool

IsCode returns true when this list s c m connections forbidden response a status code equal to that given

func (*ListSCMConnectionsForbidden) IsRedirect

func (o *ListSCMConnectionsForbidden) IsRedirect() bool

IsRedirect returns true when this list s c m connections forbidden response has a 3xx status code

func (*ListSCMConnectionsForbidden) IsServerError

func (o *ListSCMConnectionsForbidden) IsServerError() bool

IsServerError returns true when this list s c m connections forbidden response has a 5xx status code

func (*ListSCMConnectionsForbidden) IsSuccess

func (o *ListSCMConnectionsForbidden) IsSuccess() bool

IsSuccess returns true when this list s c m connections forbidden response has a 2xx status code

func (*ListSCMConnectionsForbidden) String

func (o *ListSCMConnectionsForbidden) String() string

type ListSCMConnectionsInternalServerError

type ListSCMConnectionsInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

ListSCMConnectionsInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewListSCMConnectionsInternalServerError

func NewListSCMConnectionsInternalServerError() *ListSCMConnectionsInternalServerError

NewListSCMConnectionsInternalServerError creates a ListSCMConnectionsInternalServerError with default headers values

func (*ListSCMConnectionsInternalServerError) Code

Code gets the status code for the list s c m connections internal server error response

func (*ListSCMConnectionsInternalServerError) Error

func (*ListSCMConnectionsInternalServerError) GetPayload

func (*ListSCMConnectionsInternalServerError) IsClientError

func (o *ListSCMConnectionsInternalServerError) IsClientError() bool

IsClientError returns true when this list s c m connections internal server error response has a 4xx status code

func (*ListSCMConnectionsInternalServerError) IsCode

IsCode returns true when this list s c m connections internal server error response a status code equal to that given

func (*ListSCMConnectionsInternalServerError) IsRedirect

IsRedirect returns true when this list s c m connections internal server error response has a 3xx status code

func (*ListSCMConnectionsInternalServerError) IsServerError

func (o *ListSCMConnectionsInternalServerError) IsServerError() bool

IsServerError returns true when this list s c m connections internal server error response has a 5xx status code

func (*ListSCMConnectionsInternalServerError) IsSuccess

IsSuccess returns true when this list s c m connections internal server error response has a 2xx status code

func (*ListSCMConnectionsInternalServerError) String

type ListSCMConnectionsOK

type ListSCMConnectionsOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

ListSCMConnectionsOK describes a response with status code 200, with default header values.

OK

func NewListSCMConnectionsOK

func NewListSCMConnectionsOK() *ListSCMConnectionsOK

NewListSCMConnectionsOK creates a ListSCMConnectionsOK with default headers values

func (*ListSCMConnectionsOK) Code

func (o *ListSCMConnectionsOK) Code() int

Code gets the status code for the list s c m connections o k response

func (*ListSCMConnectionsOK) Error

func (o *ListSCMConnectionsOK) Error() string

func (*ListSCMConnectionsOK) GetPayload

func (o *ListSCMConnectionsOK) GetPayload() *models.APIResponse

func (*ListSCMConnectionsOK) IsClientError

func (o *ListSCMConnectionsOK) IsClientError() bool

IsClientError returns true when this list s c m connections o k response has a 4xx status code

func (*ListSCMConnectionsOK) IsCode

func (o *ListSCMConnectionsOK) IsCode(code int) bool

IsCode returns true when this list s c m connections o k response a status code equal to that given

func (*ListSCMConnectionsOK) IsRedirect

func (o *ListSCMConnectionsOK) IsRedirect() bool

IsRedirect returns true when this list s c m connections o k response has a 3xx status code

func (*ListSCMConnectionsOK) IsServerError

func (o *ListSCMConnectionsOK) IsServerError() bool

IsServerError returns true when this list s c m connections o k response has a 5xx status code

func (*ListSCMConnectionsOK) IsSuccess

func (o *ListSCMConnectionsOK) IsSuccess() bool

IsSuccess returns true when this list s c m connections o k response has a 2xx status code

func (*ListSCMConnectionsOK) String

func (o *ListSCMConnectionsOK) String() string

type ListSCMConnectionsParams

type ListSCMConnectionsParams struct {

	/* Provider.

	   Filter by provider (github, gitlab, azure_devops)
	*/
	Provider *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListSCMConnectionsParams contains all the parameters to send to the API endpoint

for the list s c m connections operation.

Typically these are written to a http.Request.

func NewListSCMConnectionsParams

func NewListSCMConnectionsParams() *ListSCMConnectionsParams

NewListSCMConnectionsParams creates a new ListSCMConnectionsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListSCMConnectionsParamsWithContext

func NewListSCMConnectionsParamsWithContext(ctx context.Context) *ListSCMConnectionsParams

NewListSCMConnectionsParamsWithContext creates a new ListSCMConnectionsParams object with the ability to set a context for a request.

func NewListSCMConnectionsParamsWithHTTPClient

func NewListSCMConnectionsParamsWithHTTPClient(client *http.Client) *ListSCMConnectionsParams

NewListSCMConnectionsParamsWithHTTPClient creates a new ListSCMConnectionsParams object with the ability to set a custom HTTPClient for a request.

func NewListSCMConnectionsParamsWithTimeout

func NewListSCMConnectionsParamsWithTimeout(timeout time.Duration) *ListSCMConnectionsParams

NewListSCMConnectionsParamsWithTimeout creates a new ListSCMConnectionsParams object with the ability to set a timeout on a request.

func (*ListSCMConnectionsParams) SetContext

func (o *ListSCMConnectionsParams) SetContext(ctx context.Context)

SetContext adds the context to the list s c m connections params

func (*ListSCMConnectionsParams) SetDefaults

func (o *ListSCMConnectionsParams) SetDefaults()

SetDefaults hydrates default values in the list s c m connections params (not the query body).

All values with no default are reset to their zero value.

func (*ListSCMConnectionsParams) SetHTTPClient

func (o *ListSCMConnectionsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list s c m connections params

func (*ListSCMConnectionsParams) SetProvider

func (o *ListSCMConnectionsParams) SetProvider(provider *string)

SetProvider adds the provider to the list s c m connections params

func (*ListSCMConnectionsParams) SetTimeout

func (o *ListSCMConnectionsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list s c m connections params

func (*ListSCMConnectionsParams) WithContext

WithContext adds the context to the list s c m connections params

func (*ListSCMConnectionsParams) WithDefaults

WithDefaults hydrates default values in the list s c m connections params (not the query body).

All values with no default are reset to their zero value.

func (*ListSCMConnectionsParams) WithHTTPClient

func (o *ListSCMConnectionsParams) WithHTTPClient(client *http.Client) *ListSCMConnectionsParams

WithHTTPClient adds the HTTPClient to the list s c m connections params

func (*ListSCMConnectionsParams) WithProvider

func (o *ListSCMConnectionsParams) WithProvider(provider *string) *ListSCMConnectionsParams

WithProvider adds the provider to the list s c m connections params

func (*ListSCMConnectionsParams) WithTimeout

WithTimeout adds the timeout to the list s c m connections params

func (*ListSCMConnectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListSCMConnectionsReader

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

ListSCMConnectionsReader is a Reader for the ListSCMConnections structure.

func (*ListSCMConnectionsReader) ReadResponse

func (o *ListSCMConnectionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListSCMConnectionsTooManyRequests

type ListSCMConnectionsTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

ListSCMConnectionsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewListSCMConnectionsTooManyRequests

func NewListSCMConnectionsTooManyRequests() *ListSCMConnectionsTooManyRequests

NewListSCMConnectionsTooManyRequests creates a ListSCMConnectionsTooManyRequests with default headers values

func (*ListSCMConnectionsTooManyRequests) Code

Code gets the status code for the list s c m connections too many requests response

func (*ListSCMConnectionsTooManyRequests) Error

func (*ListSCMConnectionsTooManyRequests) GetPayload

func (*ListSCMConnectionsTooManyRequests) IsClientError

func (o *ListSCMConnectionsTooManyRequests) IsClientError() bool

IsClientError returns true when this list s c m connections too many requests response has a 4xx status code

func (*ListSCMConnectionsTooManyRequests) IsCode

func (o *ListSCMConnectionsTooManyRequests) IsCode(code int) bool

IsCode returns true when this list s c m connections too many requests response a status code equal to that given

func (*ListSCMConnectionsTooManyRequests) IsRedirect

func (o *ListSCMConnectionsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list s c m connections too many requests response has a 3xx status code

func (*ListSCMConnectionsTooManyRequests) IsServerError

func (o *ListSCMConnectionsTooManyRequests) IsServerError() bool

IsServerError returns true when this list s c m connections too many requests response has a 5xx status code

func (*ListSCMConnectionsTooManyRequests) IsSuccess

func (o *ListSCMConnectionsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list s c m connections too many requests response has a 2xx status code

func (*ListSCMConnectionsTooManyRequests) String

type RegisterSCMAppCreated

type RegisterSCMAppCreated struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

RegisterSCMAppCreated describes a response with status code 201, with default header values.

Created

func NewRegisterSCMAppCreated

func NewRegisterSCMAppCreated() *RegisterSCMAppCreated

NewRegisterSCMAppCreated creates a RegisterSCMAppCreated with default headers values

func (*RegisterSCMAppCreated) Code

func (o *RegisterSCMAppCreated) Code() int

Code gets the status code for the register s c m app created response

func (*RegisterSCMAppCreated) Error

func (o *RegisterSCMAppCreated) Error() string

func (*RegisterSCMAppCreated) GetPayload

func (o *RegisterSCMAppCreated) GetPayload() *models.APIResponse

func (*RegisterSCMAppCreated) IsClientError

func (o *RegisterSCMAppCreated) IsClientError() bool

IsClientError returns true when this register s c m app created response has a 4xx status code

func (*RegisterSCMAppCreated) IsCode

func (o *RegisterSCMAppCreated) IsCode(code int) bool

IsCode returns true when this register s c m app created response a status code equal to that given

func (*RegisterSCMAppCreated) IsRedirect

func (o *RegisterSCMAppCreated) IsRedirect() bool

IsRedirect returns true when this register s c m app created response has a 3xx status code

func (*RegisterSCMAppCreated) IsServerError

func (o *RegisterSCMAppCreated) IsServerError() bool

IsServerError returns true when this register s c m app created response has a 5xx status code

func (*RegisterSCMAppCreated) IsSuccess

func (o *RegisterSCMAppCreated) IsSuccess() bool

IsSuccess returns true when this register s c m app created response has a 2xx status code

func (*RegisterSCMAppCreated) String

func (o *RegisterSCMAppCreated) String() string

type RegisterSCMAppForbidden

type RegisterSCMAppForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

RegisterSCMAppForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRegisterSCMAppForbidden

func NewRegisterSCMAppForbidden() *RegisterSCMAppForbidden

NewRegisterSCMAppForbidden creates a RegisterSCMAppForbidden with default headers values

func (*RegisterSCMAppForbidden) Code

func (o *RegisterSCMAppForbidden) Code() int

Code gets the status code for the register s c m app forbidden response

func (*RegisterSCMAppForbidden) Error

func (o *RegisterSCMAppForbidden) Error() string

func (*RegisterSCMAppForbidden) GetPayload

func (*RegisterSCMAppForbidden) IsClientError

func (o *RegisterSCMAppForbidden) IsClientError() bool

IsClientError returns true when this register s c m app forbidden response has a 4xx status code

func (*RegisterSCMAppForbidden) IsCode

func (o *RegisterSCMAppForbidden) IsCode(code int) bool

IsCode returns true when this register s c m app forbidden response a status code equal to that given

func (*RegisterSCMAppForbidden) IsRedirect

func (o *RegisterSCMAppForbidden) IsRedirect() bool

IsRedirect returns true when this register s c m app forbidden response has a 3xx status code

func (*RegisterSCMAppForbidden) IsServerError

func (o *RegisterSCMAppForbidden) IsServerError() bool

IsServerError returns true when this register s c m app forbidden response has a 5xx status code

func (*RegisterSCMAppForbidden) IsSuccess

func (o *RegisterSCMAppForbidden) IsSuccess() bool

IsSuccess returns true when this register s c m app forbidden response has a 2xx status code

func (*RegisterSCMAppForbidden) String

func (o *RegisterSCMAppForbidden) String() string

type RegisterSCMAppInternalServerError

type RegisterSCMAppInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

RegisterSCMAppInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewRegisterSCMAppInternalServerError

func NewRegisterSCMAppInternalServerError() *RegisterSCMAppInternalServerError

NewRegisterSCMAppInternalServerError creates a RegisterSCMAppInternalServerError with default headers values

func (*RegisterSCMAppInternalServerError) Code

Code gets the status code for the register s c m app internal server error response

func (*RegisterSCMAppInternalServerError) Error

func (*RegisterSCMAppInternalServerError) GetPayload

func (*RegisterSCMAppInternalServerError) IsClientError

func (o *RegisterSCMAppInternalServerError) IsClientError() bool

IsClientError returns true when this register s c m app internal server error response has a 4xx status code

func (*RegisterSCMAppInternalServerError) IsCode

func (o *RegisterSCMAppInternalServerError) IsCode(code int) bool

IsCode returns true when this register s c m app internal server error response a status code equal to that given

func (*RegisterSCMAppInternalServerError) IsRedirect

func (o *RegisterSCMAppInternalServerError) IsRedirect() bool

IsRedirect returns true when this register s c m app internal server error response has a 3xx status code

func (*RegisterSCMAppInternalServerError) IsServerError

func (o *RegisterSCMAppInternalServerError) IsServerError() bool

IsServerError returns true when this register s c m app internal server error response has a 5xx status code

func (*RegisterSCMAppInternalServerError) IsSuccess

func (o *RegisterSCMAppInternalServerError) IsSuccess() bool

IsSuccess returns true when this register s c m app internal server error response has a 2xx status code

func (*RegisterSCMAppInternalServerError) String

type RegisterSCMAppParams

type RegisterSCMAppParams struct {

	// Body.
	Body *models.ScmintegrationRegisterAppPayload

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RegisterSCMAppParams contains all the parameters to send to the API endpoint

for the register s c m app operation.

Typically these are written to a http.Request.

func NewRegisterSCMAppParams

func NewRegisterSCMAppParams() *RegisterSCMAppParams

NewRegisterSCMAppParams creates a new RegisterSCMAppParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRegisterSCMAppParamsWithContext

func NewRegisterSCMAppParamsWithContext(ctx context.Context) *RegisterSCMAppParams

NewRegisterSCMAppParamsWithContext creates a new RegisterSCMAppParams object with the ability to set a context for a request.

func NewRegisterSCMAppParamsWithHTTPClient

func NewRegisterSCMAppParamsWithHTTPClient(client *http.Client) *RegisterSCMAppParams

NewRegisterSCMAppParamsWithHTTPClient creates a new RegisterSCMAppParams object with the ability to set a custom HTTPClient for a request.

func NewRegisterSCMAppParamsWithTimeout

func NewRegisterSCMAppParamsWithTimeout(timeout time.Duration) *RegisterSCMAppParams

NewRegisterSCMAppParamsWithTimeout creates a new RegisterSCMAppParams object with the ability to set a timeout on a request.

func (*RegisterSCMAppParams) SetBody

SetBody adds the body to the register s c m app params

func (*RegisterSCMAppParams) SetContext

func (o *RegisterSCMAppParams) SetContext(ctx context.Context)

SetContext adds the context to the register s c m app params

func (*RegisterSCMAppParams) SetDefaults

func (o *RegisterSCMAppParams) SetDefaults()

SetDefaults hydrates default values in the register s c m app params (not the query body).

All values with no default are reset to their zero value.

func (*RegisterSCMAppParams) SetHTTPClient

func (o *RegisterSCMAppParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the register s c m app params

func (*RegisterSCMAppParams) SetTimeout

func (o *RegisterSCMAppParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the register s c m app params

func (*RegisterSCMAppParams) WithBody

WithBody adds the body to the register s c m app params

func (*RegisterSCMAppParams) WithContext

WithContext adds the context to the register s c m app params

func (*RegisterSCMAppParams) WithDefaults

func (o *RegisterSCMAppParams) WithDefaults() *RegisterSCMAppParams

WithDefaults hydrates default values in the register s c m app params (not the query body).

All values with no default are reset to their zero value.

func (*RegisterSCMAppParams) WithHTTPClient

func (o *RegisterSCMAppParams) WithHTTPClient(client *http.Client) *RegisterSCMAppParams

WithHTTPClient adds the HTTPClient to the register s c m app params

func (*RegisterSCMAppParams) WithTimeout

func (o *RegisterSCMAppParams) WithTimeout(timeout time.Duration) *RegisterSCMAppParams

WithTimeout adds the timeout to the register s c m app params

func (*RegisterSCMAppParams) WriteToRequest

func (o *RegisterSCMAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RegisterSCMAppReader

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

RegisterSCMAppReader is a Reader for the RegisterSCMApp structure.

func (*RegisterSCMAppReader) ReadResponse

func (o *RegisterSCMAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RegisterSCMAppTooManyRequests

type RegisterSCMAppTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

RegisterSCMAppTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewRegisterSCMAppTooManyRequests

func NewRegisterSCMAppTooManyRequests() *RegisterSCMAppTooManyRequests

NewRegisterSCMAppTooManyRequests creates a RegisterSCMAppTooManyRequests with default headers values

func (*RegisterSCMAppTooManyRequests) Code

Code gets the status code for the register s c m app too many requests response

func (*RegisterSCMAppTooManyRequests) Error

func (*RegisterSCMAppTooManyRequests) GetPayload

func (*RegisterSCMAppTooManyRequests) IsClientError

func (o *RegisterSCMAppTooManyRequests) IsClientError() bool

IsClientError returns true when this register s c m app too many requests response has a 4xx status code

func (*RegisterSCMAppTooManyRequests) IsCode

func (o *RegisterSCMAppTooManyRequests) IsCode(code int) bool

IsCode returns true when this register s c m app too many requests response a status code equal to that given

func (*RegisterSCMAppTooManyRequests) IsRedirect

func (o *RegisterSCMAppTooManyRequests) IsRedirect() bool

IsRedirect returns true when this register s c m app too many requests response has a 3xx status code

func (*RegisterSCMAppTooManyRequests) IsServerError

func (o *RegisterSCMAppTooManyRequests) IsServerError() bool

IsServerError returns true when this register s c m app too many requests response has a 5xx status code

func (*RegisterSCMAppTooManyRequests) IsSuccess

func (o *RegisterSCMAppTooManyRequests) IsSuccess() bool

IsSuccess returns true when this register s c m app too many requests response has a 2xx status code

func (*RegisterSCMAppTooManyRequests) String

type TriggerSCMSyncAccepted

type TriggerSCMSyncAccepted struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

TriggerSCMSyncAccepted describes a response with status code 202, with default header values.

Sync job enqueued

func NewTriggerSCMSyncAccepted

func NewTriggerSCMSyncAccepted() *TriggerSCMSyncAccepted

NewTriggerSCMSyncAccepted creates a TriggerSCMSyncAccepted with default headers values

func (*TriggerSCMSyncAccepted) Code

func (o *TriggerSCMSyncAccepted) Code() int

Code gets the status code for the trigger s c m sync accepted response

func (*TriggerSCMSyncAccepted) Error

func (o *TriggerSCMSyncAccepted) Error() string

func (*TriggerSCMSyncAccepted) GetPayload

func (o *TriggerSCMSyncAccepted) GetPayload() *models.APIResponse

func (*TriggerSCMSyncAccepted) IsClientError

func (o *TriggerSCMSyncAccepted) IsClientError() bool

IsClientError returns true when this trigger s c m sync accepted response has a 4xx status code

func (*TriggerSCMSyncAccepted) IsCode

func (o *TriggerSCMSyncAccepted) IsCode(code int) bool

IsCode returns true when this trigger s c m sync accepted response a status code equal to that given

func (*TriggerSCMSyncAccepted) IsRedirect

func (o *TriggerSCMSyncAccepted) IsRedirect() bool

IsRedirect returns true when this trigger s c m sync accepted response has a 3xx status code

func (*TriggerSCMSyncAccepted) IsServerError

func (o *TriggerSCMSyncAccepted) IsServerError() bool

IsServerError returns true when this trigger s c m sync accepted response has a 5xx status code

func (*TriggerSCMSyncAccepted) IsSuccess

func (o *TriggerSCMSyncAccepted) IsSuccess() bool

IsSuccess returns true when this trigger s c m sync accepted response has a 2xx status code

func (*TriggerSCMSyncAccepted) String

func (o *TriggerSCMSyncAccepted) String() string

type TriggerSCMSyncForbidden

type TriggerSCMSyncForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

TriggerSCMSyncForbidden describes a response with status code 403, with default header values.

Forbidden

func NewTriggerSCMSyncForbidden

func NewTriggerSCMSyncForbidden() *TriggerSCMSyncForbidden

NewTriggerSCMSyncForbidden creates a TriggerSCMSyncForbidden with default headers values

func (*TriggerSCMSyncForbidden) Code

func (o *TriggerSCMSyncForbidden) Code() int

Code gets the status code for the trigger s c m sync forbidden response

func (*TriggerSCMSyncForbidden) Error

func (o *TriggerSCMSyncForbidden) Error() string

func (*TriggerSCMSyncForbidden) GetPayload

func (*TriggerSCMSyncForbidden) IsClientError

func (o *TriggerSCMSyncForbidden) IsClientError() bool

IsClientError returns true when this trigger s c m sync forbidden response has a 4xx status code

func (*TriggerSCMSyncForbidden) IsCode

func (o *TriggerSCMSyncForbidden) IsCode(code int) bool

IsCode returns true when this trigger s c m sync forbidden response a status code equal to that given

func (*TriggerSCMSyncForbidden) IsRedirect

func (o *TriggerSCMSyncForbidden) IsRedirect() bool

IsRedirect returns true when this trigger s c m sync forbidden response has a 3xx status code

func (*TriggerSCMSyncForbidden) IsServerError

func (o *TriggerSCMSyncForbidden) IsServerError() bool

IsServerError returns true when this trigger s c m sync forbidden response has a 5xx status code

func (*TriggerSCMSyncForbidden) IsSuccess

func (o *TriggerSCMSyncForbidden) IsSuccess() bool

IsSuccess returns true when this trigger s c m sync forbidden response has a 2xx status code

func (*TriggerSCMSyncForbidden) String

func (o *TriggerSCMSyncForbidden) String() string

type TriggerSCMSyncInternalServerError

type TriggerSCMSyncInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

TriggerSCMSyncInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewTriggerSCMSyncInternalServerError

func NewTriggerSCMSyncInternalServerError() *TriggerSCMSyncInternalServerError

NewTriggerSCMSyncInternalServerError creates a TriggerSCMSyncInternalServerError with default headers values

func (*TriggerSCMSyncInternalServerError) Code

Code gets the status code for the trigger s c m sync internal server error response

func (*TriggerSCMSyncInternalServerError) Error

func (*TriggerSCMSyncInternalServerError) GetPayload

func (*TriggerSCMSyncInternalServerError) IsClientError

func (o *TriggerSCMSyncInternalServerError) IsClientError() bool

IsClientError returns true when this trigger s c m sync internal server error response has a 4xx status code

func (*TriggerSCMSyncInternalServerError) IsCode

func (o *TriggerSCMSyncInternalServerError) IsCode(code int) bool

IsCode returns true when this trigger s c m sync internal server error response a status code equal to that given

func (*TriggerSCMSyncInternalServerError) IsRedirect

func (o *TriggerSCMSyncInternalServerError) IsRedirect() bool

IsRedirect returns true when this trigger s c m sync internal server error response has a 3xx status code

func (*TriggerSCMSyncInternalServerError) IsServerError

func (o *TriggerSCMSyncInternalServerError) IsServerError() bool

IsServerError returns true when this trigger s c m sync internal server error response has a 5xx status code

func (*TriggerSCMSyncInternalServerError) IsSuccess

func (o *TriggerSCMSyncInternalServerError) IsSuccess() bool

IsSuccess returns true when this trigger s c m sync internal server error response has a 2xx status code

func (*TriggerSCMSyncInternalServerError) String

type TriggerSCMSyncNotFound

type TriggerSCMSyncNotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

TriggerSCMSyncNotFound describes a response with status code 404, with default header values.

Connection not found

func NewTriggerSCMSyncNotFound

func NewTriggerSCMSyncNotFound() *TriggerSCMSyncNotFound

NewTriggerSCMSyncNotFound creates a TriggerSCMSyncNotFound with default headers values

func (*TriggerSCMSyncNotFound) Code

func (o *TriggerSCMSyncNotFound) Code() int

Code gets the status code for the trigger s c m sync not found response

func (*TriggerSCMSyncNotFound) Error

func (o *TriggerSCMSyncNotFound) Error() string

func (*TriggerSCMSyncNotFound) GetPayload

func (o *TriggerSCMSyncNotFound) GetPayload() *models.APIResponse

func (*TriggerSCMSyncNotFound) IsClientError

func (o *TriggerSCMSyncNotFound) IsClientError() bool

IsClientError returns true when this trigger s c m sync not found response has a 4xx status code

func (*TriggerSCMSyncNotFound) IsCode

func (o *TriggerSCMSyncNotFound) IsCode(code int) bool

IsCode returns true when this trigger s c m sync not found response a status code equal to that given

func (*TriggerSCMSyncNotFound) IsRedirect

func (o *TriggerSCMSyncNotFound) IsRedirect() bool

IsRedirect returns true when this trigger s c m sync not found response has a 3xx status code

func (*TriggerSCMSyncNotFound) IsServerError

func (o *TriggerSCMSyncNotFound) IsServerError() bool

IsServerError returns true when this trigger s c m sync not found response has a 5xx status code

func (*TriggerSCMSyncNotFound) IsSuccess

func (o *TriggerSCMSyncNotFound) IsSuccess() bool

IsSuccess returns true when this trigger s c m sync not found response has a 2xx status code

func (*TriggerSCMSyncNotFound) String

func (o *TriggerSCMSyncNotFound) String() string

type TriggerSCMSyncParams

type TriggerSCMSyncParams struct {

	/* UUID.

	   Connection UUID
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

TriggerSCMSyncParams contains all the parameters to send to the API endpoint

for the trigger s c m sync operation.

Typically these are written to a http.Request.

func NewTriggerSCMSyncParams

func NewTriggerSCMSyncParams() *TriggerSCMSyncParams

NewTriggerSCMSyncParams creates a new TriggerSCMSyncParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewTriggerSCMSyncParamsWithContext

func NewTriggerSCMSyncParamsWithContext(ctx context.Context) *TriggerSCMSyncParams

NewTriggerSCMSyncParamsWithContext creates a new TriggerSCMSyncParams object with the ability to set a context for a request.

func NewTriggerSCMSyncParamsWithHTTPClient

func NewTriggerSCMSyncParamsWithHTTPClient(client *http.Client) *TriggerSCMSyncParams

NewTriggerSCMSyncParamsWithHTTPClient creates a new TriggerSCMSyncParams object with the ability to set a custom HTTPClient for a request.

func NewTriggerSCMSyncParamsWithTimeout

func NewTriggerSCMSyncParamsWithTimeout(timeout time.Duration) *TriggerSCMSyncParams

NewTriggerSCMSyncParamsWithTimeout creates a new TriggerSCMSyncParams object with the ability to set a timeout on a request.

func (*TriggerSCMSyncParams) SetContext

func (o *TriggerSCMSyncParams) SetContext(ctx context.Context)

SetContext adds the context to the trigger s c m sync params

func (*TriggerSCMSyncParams) SetDefaults

func (o *TriggerSCMSyncParams) SetDefaults()

SetDefaults hydrates default values in the trigger s c m sync params (not the query body).

All values with no default are reset to their zero value.

func (*TriggerSCMSyncParams) SetHTTPClient

func (o *TriggerSCMSyncParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the trigger s c m sync params

func (*TriggerSCMSyncParams) SetTimeout

func (o *TriggerSCMSyncParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the trigger s c m sync params

func (*TriggerSCMSyncParams) SetUUID

func (o *TriggerSCMSyncParams) SetUUID(uuid string)

SetUUID adds the uuid to the trigger s c m sync params

func (*TriggerSCMSyncParams) WithContext

WithContext adds the context to the trigger s c m sync params

func (*TriggerSCMSyncParams) WithDefaults

func (o *TriggerSCMSyncParams) WithDefaults() *TriggerSCMSyncParams

WithDefaults hydrates default values in the trigger s c m sync params (not the query body).

All values with no default are reset to their zero value.

func (*TriggerSCMSyncParams) WithHTTPClient

func (o *TriggerSCMSyncParams) WithHTTPClient(client *http.Client) *TriggerSCMSyncParams

WithHTTPClient adds the HTTPClient to the trigger s c m sync params

func (*TriggerSCMSyncParams) WithTimeout

func (o *TriggerSCMSyncParams) WithTimeout(timeout time.Duration) *TriggerSCMSyncParams

WithTimeout adds the timeout to the trigger s c m sync params

func (*TriggerSCMSyncParams) WithUUID

WithUUID adds the uuid to the trigger s c m sync params

func (*TriggerSCMSyncParams) WriteToRequest

func (o *TriggerSCMSyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type TriggerSCMSyncReader

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

TriggerSCMSyncReader is a Reader for the TriggerSCMSync structure.

func (*TriggerSCMSyncReader) ReadResponse

func (o *TriggerSCMSyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type TriggerSCMSyncTooManyRequests

type TriggerSCMSyncTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.APIResponse
}

TriggerSCMSyncTooManyRequests describes a response with status code 429, with default header values.

Rate limited

func NewTriggerSCMSyncTooManyRequests

func NewTriggerSCMSyncTooManyRequests() *TriggerSCMSyncTooManyRequests

NewTriggerSCMSyncTooManyRequests creates a TriggerSCMSyncTooManyRequests with default headers values

func (*TriggerSCMSyncTooManyRequests) Code

Code gets the status code for the trigger s c m sync too many requests response

func (*TriggerSCMSyncTooManyRequests) Error

func (*TriggerSCMSyncTooManyRequests) GetPayload

func (*TriggerSCMSyncTooManyRequests) IsClientError

func (o *TriggerSCMSyncTooManyRequests) IsClientError() bool

IsClientError returns true when this trigger s c m sync too many requests response has a 4xx status code

func (*TriggerSCMSyncTooManyRequests) IsCode

func (o *TriggerSCMSyncTooManyRequests) IsCode(code int) bool

IsCode returns true when this trigger s c m sync too many requests response a status code equal to that given

func (*TriggerSCMSyncTooManyRequests) IsRedirect

func (o *TriggerSCMSyncTooManyRequests) IsRedirect() bool

IsRedirect returns true when this trigger s c m sync too many requests response has a 3xx status code

func (*TriggerSCMSyncTooManyRequests) IsServerError

func (o *TriggerSCMSyncTooManyRequests) IsServerError() bool

IsServerError returns true when this trigger s c m sync too many requests response has a 5xx status code

func (*TriggerSCMSyncTooManyRequests) IsSuccess

func (o *TriggerSCMSyncTooManyRequests) IsSuccess() bool

IsSuccess returns true when this trigger s c m sync too many requests response has a 2xx status code

func (*TriggerSCMSyncTooManyRequests) String

type UpdateBranchConfigForbidden

type UpdateBranchConfigForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

UpdateBranchConfigForbidden describes a response with status code 403, with default header values.

Forbidden

func NewUpdateBranchConfigForbidden

func NewUpdateBranchConfigForbidden() *UpdateBranchConfigForbidden

NewUpdateBranchConfigForbidden creates a UpdateBranchConfigForbidden with default headers values

func (*UpdateBranchConfigForbidden) Code

func (o *UpdateBranchConfigForbidden) Code() int

Code gets the status code for the update branch config forbidden response

func (*UpdateBranchConfigForbidden) Error

func (*UpdateBranchConfigForbidden) GetPayload

func (*UpdateBranchConfigForbidden) IsClientError

func (o *UpdateBranchConfigForbidden) IsClientError() bool

IsClientError returns true when this update branch config forbidden response has a 4xx status code

func (*UpdateBranchConfigForbidden) IsCode

func (o *UpdateBranchConfigForbidden) IsCode(code int) bool

IsCode returns true when this update branch config forbidden response a status code equal to that given

func (*UpdateBranchConfigForbidden) IsRedirect

func (o *UpdateBranchConfigForbidden) IsRedirect() bool

IsRedirect returns true when this update branch config forbidden response has a 3xx status code

func (*UpdateBranchConfigForbidden) IsServerError

func (o *UpdateBranchConfigForbidden) IsServerError() bool

IsServerError returns true when this update branch config forbidden response has a 5xx status code

func (*UpdateBranchConfigForbidden) IsSuccess

func (o *UpdateBranchConfigForbidden) IsSuccess() bool

IsSuccess returns true when this update branch config forbidden response has a 2xx status code

func (*UpdateBranchConfigForbidden) String

func (o *UpdateBranchConfigForbidden) String() string

type UpdateBranchConfigInternalServerError

type UpdateBranchConfigInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

UpdateBranchConfigInternalServerError describes a response with status code 500, with default header values.

Unexpected Error

func NewUpdateBranchConfigInternalServerError

func NewUpdateBranchConfigInternalServerError() *UpdateBranchConfigInternalServerError

NewUpdateBranchConfigInternalServerError creates a UpdateBranchConfigInternalServerError with default headers values

func (*UpdateBranchConfigInternalServerError) Code

Code gets the status code for the update branch config internal server error response

func (*UpdateBranchConfigInternalServerError) Error

func (*UpdateBranchConfigInternalServerError) GetPayload

func (*UpdateBranchConfigInternalServerError) IsClientError

func (o *UpdateBranchConfigInternalServerError) IsClientError() bool

IsClientError returns true when this update branch config internal server error response has a 4xx status code

func (*UpdateBranchConfigInternalServerError) IsCode

IsCode returns true when this update branch config internal server error response a status code equal to that given

func (*UpdateBranchConfigInternalServerError) IsRedirect

IsRedirect returns true when this update branch config internal server error response has a 3xx status code

func (*UpdateBranchConfigInternalServerError) IsServerError

func (o *UpdateBranchConfigInternalServerError) IsServerError() bool

IsServerError returns true when this update branch config internal server error response has a 5xx status code

func (*UpdateBranchConfigInternalServerError) IsSuccess

IsSuccess returns true when this update branch config internal server error response has a 2xx status code

func (*UpdateBranchConfigInternalServerError) String

type UpdateBranchConfigOK

type UpdateBranchConfigOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.APIResponse
}

UpdateBranchConfigOK describes a response with status code 200, with default header values.

OK

func NewUpdateBranchConfigOK

func NewUpdateBranchConfigOK() *UpdateBranchConfigOK

NewUpdateBranchConfigOK creates a UpdateBranchConfigOK with default headers values

func (*UpdateBranchConfigOK) Code

func (o *UpdateBranchConfigOK) Code() int

Code gets the status code for the update branch config o k response

func (*UpdateBranchConfigOK) Error

func (o *UpdateBranchConfigOK) Error() string

func (*UpdateBranchConfigOK) GetPayload

func (o *UpdateBranchConfigOK) GetPayload() *models.APIResponse

func (*UpdateBranchConfigOK) IsClientError

func (o *UpdateBranchConfigOK) IsClientError() bool

IsClientError returns true when this update branch config o k response has a 4xx status code

func (*UpdateBranchConfigOK) IsCode

func (o *UpdateBranchConfigOK) IsCode(code int) bool

IsCode returns true when this update branch config o k response a status code equal to that given

func (*UpdateBranchConfigOK) IsRedirect

func (o *UpdateBranchConfigOK) IsRedirect() bool

IsRedirect returns true when this update branch config o k response has a 3xx status code

func (*UpdateBranchConfigOK) IsServerError

func (o *UpdateBranchConfigOK) IsServerError() bool

IsServerError returns true when this update branch config o k response has a 5xx status code

func (*UpdateBranchConfigOK) IsSuccess

func (o *UpdateBranchConfigOK) IsSuccess() bool

IsSuccess returns true when this update branch config o k response has a 2xx status code

func (*UpdateBranchConfigOK) String

func (o *UpdateBranchConfigOK) String() string

type UpdateBranchConfigParams

type UpdateBranchConfigParams struct {

	/* ID.

	   Branch config UUID
	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateBranchConfigParams contains all the parameters to send to the API endpoint

for the update branch config operation.

Typically these are written to a http.Request.

func NewUpdateBranchConfigParams

func NewUpdateBranchConfigParams() *UpdateBranchConfigParams

NewUpdateBranchConfigParams creates a new UpdateBranchConfigParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateBranchConfigParamsWithContext

func NewUpdateBranchConfigParamsWithContext(ctx context.Context) *UpdateBranchConfigParams

NewUpdateBranchConfigParamsWithContext creates a new UpdateBranchConfigParams object with the ability to set a context for a request.

func NewUpdateBranchConfigParamsWithHTTPClient

func NewUpdateBranchConfigParamsWithHTTPClient(client *http.Client) *UpdateBranchConfigParams

NewUpdateBranchConfigParamsWithHTTPClient creates a new UpdateBranchConfigParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateBranchConfigParamsWithTimeout

func NewUpdateBranchConfigParamsWithTimeout(timeout time.Duration) *UpdateBranchConfigParams

NewUpdateBranchConfigParamsWithTimeout creates a new UpdateBranchConfigParams object with the ability to set a timeout on a request.

func (*UpdateBranchConfigParams) SetContext

func (o *UpdateBranchConfigParams) SetContext(ctx context.Context)

SetContext adds the context to the update branch config params

func (*UpdateBranchConfigParams) SetDefaults

func (o *UpdateBranchConfigParams) SetDefaults()

SetDefaults hydrates default values in the update branch config params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateBranchConfigParams) SetHTTPClient

func (o *UpdateBranchConfigParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update branch config params

func (*UpdateBranchConfigParams) SetID

func (o *UpdateBranchConfigParams) SetID(id string)

SetID adds the id to the update branch config params

func (*UpdateBranchConfigParams) SetTimeout

func (o *UpdateBranchConfigParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update branch config params

func (*UpdateBranchConfigParams) WithContext

WithContext adds the context to the update branch config params

func (*UpdateBranchConfigParams) WithDefaults

WithDefaults hydrates default values in the update branch config params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateBranchConfigParams) WithHTTPClient

func (o *UpdateBranchConfigParams) WithHTTPClient(client *http.Client) *UpdateBranchConfigParams

WithHTTPClient adds the HTTPClient to the update branch config params

func (*UpdateBranchConfigParams) WithID

WithID adds the id to the update branch config params

func (*UpdateBranchConfigParams) WithTimeout

WithTimeout adds the timeout to the update branch config params

func (*UpdateBranchConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateBranchConfigReader

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

UpdateBranchConfigReader is a Reader for the UpdateBranchConfig structure.

func (*UpdateBranchConfigReader) ReadResponse

func (o *UpdateBranchConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateBranchConfigTooManyRequests

type UpdateBranchConfigTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

UpdateBranchConfigTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateBranchConfigTooManyRequests

func NewUpdateBranchConfigTooManyRequests() *UpdateBranchConfigTooManyRequests

NewUpdateBranchConfigTooManyRequests creates a UpdateBranchConfigTooManyRequests with default headers values

func (*UpdateBranchConfigTooManyRequests) Code

Code gets the status code for the update branch config too many requests response

func (*UpdateBranchConfigTooManyRequests) Error

func (*UpdateBranchConfigTooManyRequests) GetPayload

func (*UpdateBranchConfigTooManyRequests) IsClientError

func (o *UpdateBranchConfigTooManyRequests) IsClientError() bool

IsClientError returns true when this update branch config too many requests response has a 4xx status code

func (*UpdateBranchConfigTooManyRequests) IsCode

func (o *UpdateBranchConfigTooManyRequests) IsCode(code int) bool

IsCode returns true when this update branch config too many requests response a status code equal to that given

func (*UpdateBranchConfigTooManyRequests) IsRedirect

func (o *UpdateBranchConfigTooManyRequests) IsRedirect() bool

IsRedirect returns true when this update branch config too many requests response has a 3xx status code

func (*UpdateBranchConfigTooManyRequests) IsServerError

func (o *UpdateBranchConfigTooManyRequests) IsServerError() bool

IsServerError returns true when this update branch config too many requests response has a 5xx status code

func (*UpdateBranchConfigTooManyRequests) IsSuccess

func (o *UpdateBranchConfigTooManyRequests) IsSuccess() bool

IsSuccess returns true when this update branch config too many requests response has a 2xx status code

func (*UpdateBranchConfigTooManyRequests) String

Jump to

Keyboard shortcuts

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