opportunities

package
v0.5.16 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: Apache-2.0 Imports: 12 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 opportunities API

func (*Client) GetCharactersCharacterIDOpportunities

func (a *Client) GetCharactersCharacterIDOpportunities(params *GetCharactersCharacterIDOpportunitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDOpportunitiesOK, error)
GetCharactersCharacterIDOpportunities gets a character s completed tasks

Return a list of tasks finished by a character

---

This route is cached for up to 3600 seconds

func (*Client) GetOpportunitiesGroups

func (a *Client) GetOpportunitiesGroups(params *GetOpportunitiesGroupsParams, opts ...ClientOption) (*GetOpportunitiesGroupsOK, error)
GetOpportunitiesGroups gets opportunities groups

Return a list of opportunities groups

---

This route expires daily at 11:05

func (*Client) GetOpportunitiesGroupsGroupID

func (a *Client) GetOpportunitiesGroupsGroupID(params *GetOpportunitiesGroupsGroupIDParams, opts ...ClientOption) (*GetOpportunitiesGroupsGroupIDOK, error)
GetOpportunitiesGroupsGroupID gets opportunities group

Return information of an opportunities group

---

This route expires daily at 11:05

func (*Client) GetOpportunitiesTasks

func (a *Client) GetOpportunitiesTasks(params *GetOpportunitiesTasksParams, opts ...ClientOption) (*GetOpportunitiesTasksOK, error)
GetOpportunitiesTasks gets opportunities tasks

Return a list of opportunities tasks

---

This route expires daily at 11:05

func (*Client) GetOpportunitiesTasksTaskID

func (a *Client) GetOpportunitiesTasksTaskID(params *GetOpportunitiesTasksTaskIDParams, opts ...ClientOption) (*GetOpportunitiesTasksTaskIDOK, error)
GetOpportunitiesTasksTaskID gets opportunities task

Return information of an opportunities task

---

This route expires daily at 11:05

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.4.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetCharactersCharacterIDOpportunities(params *GetCharactersCharacterIDOpportunitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCharactersCharacterIDOpportunitiesOK, error)

	GetOpportunitiesGroups(params *GetOpportunitiesGroupsParams, opts ...ClientOption) (*GetOpportunitiesGroupsOK, error)

	GetOpportunitiesGroupsGroupID(params *GetOpportunitiesGroupsGroupIDParams, opts ...ClientOption) (*GetOpportunitiesGroupsGroupIDOK, error)

	GetOpportunitiesTasks(params *GetOpportunitiesTasksParams, opts ...ClientOption) (*GetOpportunitiesTasksOK, error)

	GetOpportunitiesTasksTaskID(params *GetOpportunitiesTasksTaskIDParams, opts ...ClientOption) (*GetOpportunitiesTasksTaskIDOK, 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 opportunities API client.

type GetCharactersCharacterIDOpportunitiesBadRequest

type GetCharactersCharacterIDOpportunitiesBadRequest struct {
	Payload *models.BadRequest
}
GetCharactersCharacterIDOpportunitiesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetCharactersCharacterIDOpportunitiesBadRequest

func NewGetCharactersCharacterIDOpportunitiesBadRequest() *GetCharactersCharacterIDOpportunitiesBadRequest

NewGetCharactersCharacterIDOpportunitiesBadRequest creates a GetCharactersCharacterIDOpportunitiesBadRequest with default headers values

func (*GetCharactersCharacterIDOpportunitiesBadRequest) Error

func (*GetCharactersCharacterIDOpportunitiesBadRequest) GetPayload

type GetCharactersCharacterIDOpportunitiesEnhanceYourCalm

type GetCharactersCharacterIDOpportunitiesEnhanceYourCalm struct {
	Payload *models.ErrorLimited
}
GetCharactersCharacterIDOpportunitiesEnhanceYourCalm describes a response with status code 420, with default header values.

Error limited

func NewGetCharactersCharacterIDOpportunitiesEnhanceYourCalm

func NewGetCharactersCharacterIDOpportunitiesEnhanceYourCalm() *GetCharactersCharacterIDOpportunitiesEnhanceYourCalm

NewGetCharactersCharacterIDOpportunitiesEnhanceYourCalm creates a GetCharactersCharacterIDOpportunitiesEnhanceYourCalm with default headers values

func (*GetCharactersCharacterIDOpportunitiesEnhanceYourCalm) Error

func (*GetCharactersCharacterIDOpportunitiesEnhanceYourCalm) GetPayload

type GetCharactersCharacterIDOpportunitiesForbidden

type GetCharactersCharacterIDOpportunitiesForbidden struct {
	Payload *models.Forbidden
}
GetCharactersCharacterIDOpportunitiesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetCharactersCharacterIDOpportunitiesForbidden

func NewGetCharactersCharacterIDOpportunitiesForbidden() *GetCharactersCharacterIDOpportunitiesForbidden

NewGetCharactersCharacterIDOpportunitiesForbidden creates a GetCharactersCharacterIDOpportunitiesForbidden with default headers values

func (*GetCharactersCharacterIDOpportunitiesForbidden) Error

func (*GetCharactersCharacterIDOpportunitiesForbidden) GetPayload

type GetCharactersCharacterIDOpportunitiesGatewayTimeout

type GetCharactersCharacterIDOpportunitiesGatewayTimeout struct {
	Payload *models.GatewayTimeout
}
GetCharactersCharacterIDOpportunitiesGatewayTimeout describes a response with status code 504, with default header values.

Gateway timeout

func NewGetCharactersCharacterIDOpportunitiesGatewayTimeout

func NewGetCharactersCharacterIDOpportunitiesGatewayTimeout() *GetCharactersCharacterIDOpportunitiesGatewayTimeout

NewGetCharactersCharacterIDOpportunitiesGatewayTimeout creates a GetCharactersCharacterIDOpportunitiesGatewayTimeout with default headers values

func (*GetCharactersCharacterIDOpportunitiesGatewayTimeout) Error

func (*GetCharactersCharacterIDOpportunitiesGatewayTimeout) GetPayload

type GetCharactersCharacterIDOpportunitiesInternalServerError

type GetCharactersCharacterIDOpportunitiesInternalServerError struct {
	Payload *models.InternalServerError
}
GetCharactersCharacterIDOpportunitiesInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetCharactersCharacterIDOpportunitiesInternalServerError

func NewGetCharactersCharacterIDOpportunitiesInternalServerError() *GetCharactersCharacterIDOpportunitiesInternalServerError

NewGetCharactersCharacterIDOpportunitiesInternalServerError creates a GetCharactersCharacterIDOpportunitiesInternalServerError with default headers values

func (*GetCharactersCharacterIDOpportunitiesInternalServerError) Error

func (*GetCharactersCharacterIDOpportunitiesInternalServerError) GetPayload

type GetCharactersCharacterIDOpportunitiesNotModified

type GetCharactersCharacterIDOpportunitiesNotModified struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string
}
GetCharactersCharacterIDOpportunitiesNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetCharactersCharacterIDOpportunitiesNotModified

func NewGetCharactersCharacterIDOpportunitiesNotModified() *GetCharactersCharacterIDOpportunitiesNotModified

NewGetCharactersCharacterIDOpportunitiesNotModified creates a GetCharactersCharacterIDOpportunitiesNotModified with default headers values

func (*GetCharactersCharacterIDOpportunitiesNotModified) Error

type GetCharactersCharacterIDOpportunitiesOK

type GetCharactersCharacterIDOpportunitiesOK struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload []*GetCharactersCharacterIDOpportunitiesOKBodyItems0
}
GetCharactersCharacterIDOpportunitiesOK describes a response with status code 200, with default header values.

A list of opportunities task ids

func NewGetCharactersCharacterIDOpportunitiesOK

func NewGetCharactersCharacterIDOpportunitiesOK() *GetCharactersCharacterIDOpportunitiesOK

NewGetCharactersCharacterIDOpportunitiesOK creates a GetCharactersCharacterIDOpportunitiesOK with default headers values

func (*GetCharactersCharacterIDOpportunitiesOK) Error

func (*GetCharactersCharacterIDOpportunitiesOK) GetPayload

type GetCharactersCharacterIDOpportunitiesOKBodyItems0

type GetCharactersCharacterIDOpportunitiesOKBodyItems0 struct {

	// get_characters_character_id_opportunities_completed_at
	//
	// completed_at string
	// Required: true
	// Format: date-time
	CompletedAt *strfmt.DateTime `json:"completed_at"`

	// get_characters_character_id_opportunities_task_id
	//
	// task_id integer
	// Required: true
	TaskID *int32 `json:"task_id"`
}

GetCharactersCharacterIDOpportunitiesOKBodyItems0 get_characters_character_id_opportunities_200_ok // // 200 ok object swagger:model GetCharactersCharacterIDOpportunitiesOKBodyItems0

func (*GetCharactersCharacterIDOpportunitiesOKBodyItems0) ContextValidate added in v0.3.0

ContextValidate validates this get characters character ID opportunities o k body items0 based on context it is used

func (*GetCharactersCharacterIDOpportunitiesOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetCharactersCharacterIDOpportunitiesOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetCharactersCharacterIDOpportunitiesOKBodyItems0) Validate

Validate validates this get characters character ID opportunities o k body items0

type GetCharactersCharacterIDOpportunitiesParams

type GetCharactersCharacterIDOpportunitiesParams struct {

	/* IfNoneMatch.

	   ETag from a previous request. A 304 will be returned if this matches the current ETag
	*/
	IfNoneMatch *string

	/* CharacterID.

	   An EVE character ID

	   Format: int32
	*/
	CharacterID int32

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

	/* Token.

	   Access token to use if unable to set a header
	*/
	Token *string

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

GetCharactersCharacterIDOpportunitiesParams contains all the parameters to send to the API endpoint

for the get characters character id opportunities operation.

Typically these are written to a http.Request.

func NewGetCharactersCharacterIDOpportunitiesParams

func NewGetCharactersCharacterIDOpportunitiesParams() *GetCharactersCharacterIDOpportunitiesParams

NewGetCharactersCharacterIDOpportunitiesParams creates a new GetCharactersCharacterIDOpportunitiesParams 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 NewGetCharactersCharacterIDOpportunitiesParamsWithContext

func NewGetCharactersCharacterIDOpportunitiesParamsWithContext(ctx context.Context) *GetCharactersCharacterIDOpportunitiesParams

NewGetCharactersCharacterIDOpportunitiesParamsWithContext creates a new GetCharactersCharacterIDOpportunitiesParams object with the ability to set a context for a request.

func NewGetCharactersCharacterIDOpportunitiesParamsWithHTTPClient

func NewGetCharactersCharacterIDOpportunitiesParamsWithHTTPClient(client *http.Client) *GetCharactersCharacterIDOpportunitiesParams

NewGetCharactersCharacterIDOpportunitiesParamsWithHTTPClient creates a new GetCharactersCharacterIDOpportunitiesParams object with the ability to set a custom HTTPClient for a request.

func NewGetCharactersCharacterIDOpportunitiesParamsWithTimeout

func NewGetCharactersCharacterIDOpportunitiesParamsWithTimeout(timeout time.Duration) *GetCharactersCharacterIDOpportunitiesParams

NewGetCharactersCharacterIDOpportunitiesParamsWithTimeout creates a new GetCharactersCharacterIDOpportunitiesParams object with the ability to set a timeout on a request.

func (*GetCharactersCharacterIDOpportunitiesParams) SetCharacterID

func (o *GetCharactersCharacterIDOpportunitiesParams) SetCharacterID(characterID int32)

SetCharacterID adds the characterId to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) SetContext

SetContext adds the context to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) SetDatasource

func (o *GetCharactersCharacterIDOpportunitiesParams) SetDatasource(datasource *string)

SetDatasource adds the datasource to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) SetDefaults added in v0.3.0

SetDefaults hydrates default values in the get characters character id opportunities params (not the query body).

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

func (*GetCharactersCharacterIDOpportunitiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) SetIfNoneMatch

func (o *GetCharactersCharacterIDOpportunitiesParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) SetTimeout

SetTimeout adds the timeout to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) SetToken

SetToken adds the token to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) WithCharacterID

WithCharacterID adds the characterID to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) WithContext

WithContext adds the context to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) WithDatasource

WithDatasource adds the datasource to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get characters character id opportunities params (not the query body).

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

func (*GetCharactersCharacterIDOpportunitiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) WithTimeout

WithTimeout adds the timeout to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) WithToken

WithToken adds the token to the get characters character id opportunities params

func (*GetCharactersCharacterIDOpportunitiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetCharactersCharacterIDOpportunitiesReader

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

GetCharactersCharacterIDOpportunitiesReader is a Reader for the GetCharactersCharacterIDOpportunities structure.

func (*GetCharactersCharacterIDOpportunitiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetCharactersCharacterIDOpportunitiesServiceUnavailable

type GetCharactersCharacterIDOpportunitiesServiceUnavailable struct {
	Payload *models.ServiceUnavailable
}
GetCharactersCharacterIDOpportunitiesServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable

func NewGetCharactersCharacterIDOpportunitiesServiceUnavailable

func NewGetCharactersCharacterIDOpportunitiesServiceUnavailable() *GetCharactersCharacterIDOpportunitiesServiceUnavailable

NewGetCharactersCharacterIDOpportunitiesServiceUnavailable creates a GetCharactersCharacterIDOpportunitiesServiceUnavailable with default headers values

func (*GetCharactersCharacterIDOpportunitiesServiceUnavailable) Error

func (*GetCharactersCharacterIDOpportunitiesServiceUnavailable) GetPayload

type GetCharactersCharacterIDOpportunitiesUnauthorized

type GetCharactersCharacterIDOpportunitiesUnauthorized struct {
	Payload *models.Unauthorized
}
GetCharactersCharacterIDOpportunitiesUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetCharactersCharacterIDOpportunitiesUnauthorized

func NewGetCharactersCharacterIDOpportunitiesUnauthorized() *GetCharactersCharacterIDOpportunitiesUnauthorized

NewGetCharactersCharacterIDOpportunitiesUnauthorized creates a GetCharactersCharacterIDOpportunitiesUnauthorized with default headers values

func (*GetCharactersCharacterIDOpportunitiesUnauthorized) Error

func (*GetCharactersCharacterIDOpportunitiesUnauthorized) GetPayload

type GetOpportunitiesGroupsBadRequest

type GetOpportunitiesGroupsBadRequest struct {
	Payload *models.BadRequest
}
GetOpportunitiesGroupsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetOpportunitiesGroupsBadRequest

func NewGetOpportunitiesGroupsBadRequest() *GetOpportunitiesGroupsBadRequest

NewGetOpportunitiesGroupsBadRequest creates a GetOpportunitiesGroupsBadRequest with default headers values

func (*GetOpportunitiesGroupsBadRequest) Error

func (*GetOpportunitiesGroupsBadRequest) GetPayload

type GetOpportunitiesGroupsEnhanceYourCalm

type GetOpportunitiesGroupsEnhanceYourCalm struct {
	Payload *models.ErrorLimited
}
GetOpportunitiesGroupsEnhanceYourCalm describes a response with status code 420, with default header values.

Error limited

func NewGetOpportunitiesGroupsEnhanceYourCalm

func NewGetOpportunitiesGroupsEnhanceYourCalm() *GetOpportunitiesGroupsEnhanceYourCalm

NewGetOpportunitiesGroupsEnhanceYourCalm creates a GetOpportunitiesGroupsEnhanceYourCalm with default headers values

func (*GetOpportunitiesGroupsEnhanceYourCalm) Error

func (*GetOpportunitiesGroupsEnhanceYourCalm) GetPayload

type GetOpportunitiesGroupsGatewayTimeout

type GetOpportunitiesGroupsGatewayTimeout struct {
	Payload *models.GatewayTimeout
}
GetOpportunitiesGroupsGatewayTimeout describes a response with status code 504, with default header values.

Gateway timeout

func NewGetOpportunitiesGroupsGatewayTimeout

func NewGetOpportunitiesGroupsGatewayTimeout() *GetOpportunitiesGroupsGatewayTimeout

NewGetOpportunitiesGroupsGatewayTimeout creates a GetOpportunitiesGroupsGatewayTimeout with default headers values

func (*GetOpportunitiesGroupsGatewayTimeout) Error

func (*GetOpportunitiesGroupsGatewayTimeout) GetPayload

type GetOpportunitiesGroupsGroupIDBadRequest

type GetOpportunitiesGroupsGroupIDBadRequest struct {
	Payload *models.BadRequest
}
GetOpportunitiesGroupsGroupIDBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetOpportunitiesGroupsGroupIDBadRequest

func NewGetOpportunitiesGroupsGroupIDBadRequest() *GetOpportunitiesGroupsGroupIDBadRequest

NewGetOpportunitiesGroupsGroupIDBadRequest creates a GetOpportunitiesGroupsGroupIDBadRequest with default headers values

func (*GetOpportunitiesGroupsGroupIDBadRequest) Error

func (*GetOpportunitiesGroupsGroupIDBadRequest) GetPayload

type GetOpportunitiesGroupsGroupIDEnhanceYourCalm

type GetOpportunitiesGroupsGroupIDEnhanceYourCalm struct {
	Payload *models.ErrorLimited
}
GetOpportunitiesGroupsGroupIDEnhanceYourCalm describes a response with status code 420, with default header values.

Error limited

func NewGetOpportunitiesGroupsGroupIDEnhanceYourCalm

func NewGetOpportunitiesGroupsGroupIDEnhanceYourCalm() *GetOpportunitiesGroupsGroupIDEnhanceYourCalm

NewGetOpportunitiesGroupsGroupIDEnhanceYourCalm creates a GetOpportunitiesGroupsGroupIDEnhanceYourCalm with default headers values

func (*GetOpportunitiesGroupsGroupIDEnhanceYourCalm) Error

func (*GetOpportunitiesGroupsGroupIDEnhanceYourCalm) GetPayload

type GetOpportunitiesGroupsGroupIDGatewayTimeout

type GetOpportunitiesGroupsGroupIDGatewayTimeout struct {
	Payload *models.GatewayTimeout
}
GetOpportunitiesGroupsGroupIDGatewayTimeout describes a response with status code 504, with default header values.

Gateway timeout

func NewGetOpportunitiesGroupsGroupIDGatewayTimeout

func NewGetOpportunitiesGroupsGroupIDGatewayTimeout() *GetOpportunitiesGroupsGroupIDGatewayTimeout

NewGetOpportunitiesGroupsGroupIDGatewayTimeout creates a GetOpportunitiesGroupsGroupIDGatewayTimeout with default headers values

func (*GetOpportunitiesGroupsGroupIDGatewayTimeout) Error

func (*GetOpportunitiesGroupsGroupIDGatewayTimeout) GetPayload

type GetOpportunitiesGroupsGroupIDInternalServerError

type GetOpportunitiesGroupsGroupIDInternalServerError struct {
	Payload *models.InternalServerError
}
GetOpportunitiesGroupsGroupIDInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetOpportunitiesGroupsGroupIDInternalServerError

func NewGetOpportunitiesGroupsGroupIDInternalServerError() *GetOpportunitiesGroupsGroupIDInternalServerError

NewGetOpportunitiesGroupsGroupIDInternalServerError creates a GetOpportunitiesGroupsGroupIDInternalServerError with default headers values

func (*GetOpportunitiesGroupsGroupIDInternalServerError) Error

func (*GetOpportunitiesGroupsGroupIDInternalServerError) GetPayload

type GetOpportunitiesGroupsGroupIDNotModified

type GetOpportunitiesGroupsGroupIDNotModified struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string
}
GetOpportunitiesGroupsGroupIDNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetOpportunitiesGroupsGroupIDNotModified

func NewGetOpportunitiesGroupsGroupIDNotModified() *GetOpportunitiesGroupsGroupIDNotModified

NewGetOpportunitiesGroupsGroupIDNotModified creates a GetOpportunitiesGroupsGroupIDNotModified with default headers values

func (*GetOpportunitiesGroupsGroupIDNotModified) Error

type GetOpportunitiesGroupsGroupIDOK

type GetOpportunitiesGroupsGroupIDOK struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* The language used in the response
	 */
	ContentLanguage string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload *GetOpportunitiesGroupsGroupIDOKBody
}
GetOpportunitiesGroupsGroupIDOK describes a response with status code 200, with default header values.

Details of an opportunities group

func NewGetOpportunitiesGroupsGroupIDOK

func NewGetOpportunitiesGroupsGroupIDOK() *GetOpportunitiesGroupsGroupIDOK

NewGetOpportunitiesGroupsGroupIDOK creates a GetOpportunitiesGroupsGroupIDOK with default headers values

func (*GetOpportunitiesGroupsGroupIDOK) Error

func (*GetOpportunitiesGroupsGroupIDOK) GetPayload

type GetOpportunitiesGroupsGroupIDOKBody

type GetOpportunitiesGroupsGroupIDOKBody struct {

	// get_opportunities_groups_group_id_connected_groups
	//
	// The groups that are connected to this group on the opportunities map
	// Required: true
	// Max Items: 50
	ConnectedGroups []int32 `json:"connected_groups"`

	// get_opportunities_groups_group_id_description
	//
	// description string
	// Required: true
	Description *string `json:"description"`

	// get_opportunities_groups_group_id_group_id
	//
	// group_id integer
	// Required: true
	GroupID *int32 `json:"group_id"`

	// get_opportunities_groups_group_id_name
	//
	// name string
	// Required: true
	Name *string `json:"name"`

	// get_opportunities_groups_group_id_notification
	//
	// notification string
	// Required: true
	Notification *string `json:"notification"`

	// get_opportunities_groups_group_id_required_tasks
	//
	// Tasks need to complete for this group
	// Required: true
	// Max Items: 100
	RequiredTasks []int32 `json:"required_tasks"`
}

GetOpportunitiesGroupsGroupIDOKBody get_opportunities_groups_group_id_ok // // 200 ok object swagger:model GetOpportunitiesGroupsGroupIDOKBody

func (*GetOpportunitiesGroupsGroupIDOKBody) ContextValidate added in v0.3.0

func (o *GetOpportunitiesGroupsGroupIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get opportunities groups group ID o k body based on context it is used

func (*GetOpportunitiesGroupsGroupIDOKBody) MarshalBinary

func (o *GetOpportunitiesGroupsGroupIDOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOpportunitiesGroupsGroupIDOKBody) UnmarshalBinary

func (o *GetOpportunitiesGroupsGroupIDOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOpportunitiesGroupsGroupIDOKBody) Validate

Validate validates this get opportunities groups group ID o k body

type GetOpportunitiesGroupsGroupIDParams

type GetOpportunitiesGroupsGroupIDParams struct {

	/* AcceptLanguage.

	   Language to use in the response

	   Default: "en"
	*/
	AcceptLanguage *string

	/* IfNoneMatch.

	   ETag from a previous request. A 304 will be returned if this matches the current ETag
	*/
	IfNoneMatch *string

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

	/* GroupID.

	   ID of an opportunities group

	   Format: int32
	*/
	GroupID int32

	/* Language.

	   Language to use in the response, takes precedence over Accept-Language

	   Default: "en"
	*/
	Language *string

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

GetOpportunitiesGroupsGroupIDParams contains all the parameters to send to the API endpoint

for the get opportunities groups group id operation.

Typically these are written to a http.Request.

func NewGetOpportunitiesGroupsGroupIDParams

func NewGetOpportunitiesGroupsGroupIDParams() *GetOpportunitiesGroupsGroupIDParams

NewGetOpportunitiesGroupsGroupIDParams creates a new GetOpportunitiesGroupsGroupIDParams 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 NewGetOpportunitiesGroupsGroupIDParamsWithContext

func NewGetOpportunitiesGroupsGroupIDParamsWithContext(ctx context.Context) *GetOpportunitiesGroupsGroupIDParams

NewGetOpportunitiesGroupsGroupIDParamsWithContext creates a new GetOpportunitiesGroupsGroupIDParams object with the ability to set a context for a request.

func NewGetOpportunitiesGroupsGroupIDParamsWithHTTPClient

func NewGetOpportunitiesGroupsGroupIDParamsWithHTTPClient(client *http.Client) *GetOpportunitiesGroupsGroupIDParams

NewGetOpportunitiesGroupsGroupIDParamsWithHTTPClient creates a new GetOpportunitiesGroupsGroupIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetOpportunitiesGroupsGroupIDParamsWithTimeout

func NewGetOpportunitiesGroupsGroupIDParamsWithTimeout(timeout time.Duration) *GetOpportunitiesGroupsGroupIDParams

NewGetOpportunitiesGroupsGroupIDParamsWithTimeout creates a new GetOpportunitiesGroupsGroupIDParams object with the ability to set a timeout on a request.

func (*GetOpportunitiesGroupsGroupIDParams) SetAcceptLanguage

func (o *GetOpportunitiesGroupsGroupIDParams) SetAcceptLanguage(acceptLanguage *string)

SetAcceptLanguage adds the acceptLanguage to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) SetContext

SetContext adds the context to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) SetDatasource

func (o *GetOpportunitiesGroupsGroupIDParams) SetDatasource(datasource *string)

SetDatasource adds the datasource to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) SetDefaults added in v0.3.0

func (o *GetOpportunitiesGroupsGroupIDParams) SetDefaults()

SetDefaults hydrates default values in the get opportunities groups group id params (not the query body).

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

func (*GetOpportunitiesGroupsGroupIDParams) SetGroupID

func (o *GetOpportunitiesGroupsGroupIDParams) SetGroupID(groupID int32)

SetGroupID adds the groupId to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) SetIfNoneMatch

func (o *GetOpportunitiesGroupsGroupIDParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) SetLanguage

func (o *GetOpportunitiesGroupsGroupIDParams) SetLanguage(language *string)

SetLanguage adds the language to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) SetTimeout

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

SetTimeout adds the timeout to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) WithAcceptLanguage

func (o *GetOpportunitiesGroupsGroupIDParams) WithAcceptLanguage(acceptLanguage *string) *GetOpportunitiesGroupsGroupIDParams

WithAcceptLanguage adds the acceptLanguage to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) WithContext

WithContext adds the context to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) WithDatasource

WithDatasource adds the datasource to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get opportunities groups group id params (not the query body).

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

func (*GetOpportunitiesGroupsGroupIDParams) WithGroupID

WithGroupID adds the groupID to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) WithLanguage

WithLanguage adds the language to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) WithTimeout

WithTimeout adds the timeout to the get opportunities groups group id params

func (*GetOpportunitiesGroupsGroupIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOpportunitiesGroupsGroupIDReader

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

GetOpportunitiesGroupsGroupIDReader is a Reader for the GetOpportunitiesGroupsGroupID structure.

func (*GetOpportunitiesGroupsGroupIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOpportunitiesGroupsGroupIDServiceUnavailable

type GetOpportunitiesGroupsGroupIDServiceUnavailable struct {
	Payload *models.ServiceUnavailable
}
GetOpportunitiesGroupsGroupIDServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable

func NewGetOpportunitiesGroupsGroupIDServiceUnavailable

func NewGetOpportunitiesGroupsGroupIDServiceUnavailable() *GetOpportunitiesGroupsGroupIDServiceUnavailable

NewGetOpportunitiesGroupsGroupIDServiceUnavailable creates a GetOpportunitiesGroupsGroupIDServiceUnavailable with default headers values

func (*GetOpportunitiesGroupsGroupIDServiceUnavailable) Error

func (*GetOpportunitiesGroupsGroupIDServiceUnavailable) GetPayload

type GetOpportunitiesGroupsInternalServerError

type GetOpportunitiesGroupsInternalServerError struct {
	Payload *models.InternalServerError
}
GetOpportunitiesGroupsInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetOpportunitiesGroupsInternalServerError

func NewGetOpportunitiesGroupsInternalServerError() *GetOpportunitiesGroupsInternalServerError

NewGetOpportunitiesGroupsInternalServerError creates a GetOpportunitiesGroupsInternalServerError with default headers values

func (*GetOpportunitiesGroupsInternalServerError) Error

func (*GetOpportunitiesGroupsInternalServerError) GetPayload

type GetOpportunitiesGroupsNotModified

type GetOpportunitiesGroupsNotModified struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string
}
GetOpportunitiesGroupsNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetOpportunitiesGroupsNotModified

func NewGetOpportunitiesGroupsNotModified() *GetOpportunitiesGroupsNotModified

NewGetOpportunitiesGroupsNotModified creates a GetOpportunitiesGroupsNotModified with default headers values

func (*GetOpportunitiesGroupsNotModified) Error

type GetOpportunitiesGroupsOK

type GetOpportunitiesGroupsOK struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload []int32
}
GetOpportunitiesGroupsOK describes a response with status code 200, with default header values.

A list of opportunities group ids

func NewGetOpportunitiesGroupsOK

func NewGetOpportunitiesGroupsOK() *GetOpportunitiesGroupsOK

NewGetOpportunitiesGroupsOK creates a GetOpportunitiesGroupsOK with default headers values

func (*GetOpportunitiesGroupsOK) Error

func (o *GetOpportunitiesGroupsOK) Error() string

func (*GetOpportunitiesGroupsOK) GetPayload

func (o *GetOpportunitiesGroupsOK) GetPayload() []int32

type GetOpportunitiesGroupsParams

type GetOpportunitiesGroupsParams struct {

	/* IfNoneMatch.

	   ETag from a previous request. A 304 will be returned if this matches the current ETag
	*/
	IfNoneMatch *string

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

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

GetOpportunitiesGroupsParams contains all the parameters to send to the API endpoint

for the get opportunities groups operation.

Typically these are written to a http.Request.

func NewGetOpportunitiesGroupsParams

func NewGetOpportunitiesGroupsParams() *GetOpportunitiesGroupsParams

NewGetOpportunitiesGroupsParams creates a new GetOpportunitiesGroupsParams 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 NewGetOpportunitiesGroupsParamsWithContext

func NewGetOpportunitiesGroupsParamsWithContext(ctx context.Context) *GetOpportunitiesGroupsParams

NewGetOpportunitiesGroupsParamsWithContext creates a new GetOpportunitiesGroupsParams object with the ability to set a context for a request.

func NewGetOpportunitiesGroupsParamsWithHTTPClient

func NewGetOpportunitiesGroupsParamsWithHTTPClient(client *http.Client) *GetOpportunitiesGroupsParams

NewGetOpportunitiesGroupsParamsWithHTTPClient creates a new GetOpportunitiesGroupsParams object with the ability to set a custom HTTPClient for a request.

func NewGetOpportunitiesGroupsParamsWithTimeout

func NewGetOpportunitiesGroupsParamsWithTimeout(timeout time.Duration) *GetOpportunitiesGroupsParams

NewGetOpportunitiesGroupsParamsWithTimeout creates a new GetOpportunitiesGroupsParams object with the ability to set a timeout on a request.

func (*GetOpportunitiesGroupsParams) SetContext

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

SetContext adds the context to the get opportunities groups params

func (*GetOpportunitiesGroupsParams) SetDatasource

func (o *GetOpportunitiesGroupsParams) SetDatasource(datasource *string)

SetDatasource adds the datasource to the get opportunities groups params

func (*GetOpportunitiesGroupsParams) SetDefaults added in v0.3.0

func (o *GetOpportunitiesGroupsParams) SetDefaults()

SetDefaults hydrates default values in the get opportunities groups params (not the query body).

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

func (*GetOpportunitiesGroupsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get opportunities groups params

func (*GetOpportunitiesGroupsParams) SetIfNoneMatch

func (o *GetOpportunitiesGroupsParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the get opportunities groups params

func (*GetOpportunitiesGroupsParams) SetTimeout

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

SetTimeout adds the timeout to the get opportunities groups params

func (*GetOpportunitiesGroupsParams) WithContext

WithContext adds the context to the get opportunities groups params

func (*GetOpportunitiesGroupsParams) WithDatasource

func (o *GetOpportunitiesGroupsParams) WithDatasource(datasource *string) *GetOpportunitiesGroupsParams

WithDatasource adds the datasource to the get opportunities groups params

func (*GetOpportunitiesGroupsParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get opportunities groups params (not the query body).

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

func (*GetOpportunitiesGroupsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get opportunities groups params

func (*GetOpportunitiesGroupsParams) WithIfNoneMatch

func (o *GetOpportunitiesGroupsParams) WithIfNoneMatch(ifNoneMatch *string) *GetOpportunitiesGroupsParams

WithIfNoneMatch adds the ifNoneMatch to the get opportunities groups params

func (*GetOpportunitiesGroupsParams) WithTimeout

WithTimeout adds the timeout to the get opportunities groups params

func (*GetOpportunitiesGroupsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOpportunitiesGroupsReader

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

GetOpportunitiesGroupsReader is a Reader for the GetOpportunitiesGroups structure.

func (*GetOpportunitiesGroupsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOpportunitiesGroupsServiceUnavailable

type GetOpportunitiesGroupsServiceUnavailable struct {
	Payload *models.ServiceUnavailable
}
GetOpportunitiesGroupsServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable

func NewGetOpportunitiesGroupsServiceUnavailable

func NewGetOpportunitiesGroupsServiceUnavailable() *GetOpportunitiesGroupsServiceUnavailable

NewGetOpportunitiesGroupsServiceUnavailable creates a GetOpportunitiesGroupsServiceUnavailable with default headers values

func (*GetOpportunitiesGroupsServiceUnavailable) Error

func (*GetOpportunitiesGroupsServiceUnavailable) GetPayload

type GetOpportunitiesTasksBadRequest

type GetOpportunitiesTasksBadRequest struct {
	Payload *models.BadRequest
}
GetOpportunitiesTasksBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetOpportunitiesTasksBadRequest

func NewGetOpportunitiesTasksBadRequest() *GetOpportunitiesTasksBadRequest

NewGetOpportunitiesTasksBadRequest creates a GetOpportunitiesTasksBadRequest with default headers values

func (*GetOpportunitiesTasksBadRequest) Error

func (*GetOpportunitiesTasksBadRequest) GetPayload

type GetOpportunitiesTasksEnhanceYourCalm

type GetOpportunitiesTasksEnhanceYourCalm struct {
	Payload *models.ErrorLimited
}
GetOpportunitiesTasksEnhanceYourCalm describes a response with status code 420, with default header values.

Error limited

func NewGetOpportunitiesTasksEnhanceYourCalm

func NewGetOpportunitiesTasksEnhanceYourCalm() *GetOpportunitiesTasksEnhanceYourCalm

NewGetOpportunitiesTasksEnhanceYourCalm creates a GetOpportunitiesTasksEnhanceYourCalm with default headers values

func (*GetOpportunitiesTasksEnhanceYourCalm) Error

func (*GetOpportunitiesTasksEnhanceYourCalm) GetPayload

type GetOpportunitiesTasksGatewayTimeout

type GetOpportunitiesTasksGatewayTimeout struct {
	Payload *models.GatewayTimeout
}
GetOpportunitiesTasksGatewayTimeout describes a response with status code 504, with default header values.

Gateway timeout

func NewGetOpportunitiesTasksGatewayTimeout

func NewGetOpportunitiesTasksGatewayTimeout() *GetOpportunitiesTasksGatewayTimeout

NewGetOpportunitiesTasksGatewayTimeout creates a GetOpportunitiesTasksGatewayTimeout with default headers values

func (*GetOpportunitiesTasksGatewayTimeout) Error

func (*GetOpportunitiesTasksGatewayTimeout) GetPayload

type GetOpportunitiesTasksInternalServerError

type GetOpportunitiesTasksInternalServerError struct {
	Payload *models.InternalServerError
}
GetOpportunitiesTasksInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetOpportunitiesTasksInternalServerError

func NewGetOpportunitiesTasksInternalServerError() *GetOpportunitiesTasksInternalServerError

NewGetOpportunitiesTasksInternalServerError creates a GetOpportunitiesTasksInternalServerError with default headers values

func (*GetOpportunitiesTasksInternalServerError) Error

func (*GetOpportunitiesTasksInternalServerError) GetPayload

type GetOpportunitiesTasksNotModified

type GetOpportunitiesTasksNotModified struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string
}
GetOpportunitiesTasksNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetOpportunitiesTasksNotModified

func NewGetOpportunitiesTasksNotModified() *GetOpportunitiesTasksNotModified

NewGetOpportunitiesTasksNotModified creates a GetOpportunitiesTasksNotModified with default headers values

func (*GetOpportunitiesTasksNotModified) Error

type GetOpportunitiesTasksOK

type GetOpportunitiesTasksOK struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload []int32
}
GetOpportunitiesTasksOK describes a response with status code 200, with default header values.

A list of opportunities task ids

func NewGetOpportunitiesTasksOK

func NewGetOpportunitiesTasksOK() *GetOpportunitiesTasksOK

NewGetOpportunitiesTasksOK creates a GetOpportunitiesTasksOK with default headers values

func (*GetOpportunitiesTasksOK) Error

func (o *GetOpportunitiesTasksOK) Error() string

func (*GetOpportunitiesTasksOK) GetPayload

func (o *GetOpportunitiesTasksOK) GetPayload() []int32

type GetOpportunitiesTasksParams

type GetOpportunitiesTasksParams struct {

	/* IfNoneMatch.

	   ETag from a previous request. A 304 will be returned if this matches the current ETag
	*/
	IfNoneMatch *string

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

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

GetOpportunitiesTasksParams contains all the parameters to send to the API endpoint

for the get opportunities tasks operation.

Typically these are written to a http.Request.

func NewGetOpportunitiesTasksParams

func NewGetOpportunitiesTasksParams() *GetOpportunitiesTasksParams

NewGetOpportunitiesTasksParams creates a new GetOpportunitiesTasksParams 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 NewGetOpportunitiesTasksParamsWithContext

func NewGetOpportunitiesTasksParamsWithContext(ctx context.Context) *GetOpportunitiesTasksParams

NewGetOpportunitiesTasksParamsWithContext creates a new GetOpportunitiesTasksParams object with the ability to set a context for a request.

func NewGetOpportunitiesTasksParamsWithHTTPClient

func NewGetOpportunitiesTasksParamsWithHTTPClient(client *http.Client) *GetOpportunitiesTasksParams

NewGetOpportunitiesTasksParamsWithHTTPClient creates a new GetOpportunitiesTasksParams object with the ability to set a custom HTTPClient for a request.

func NewGetOpportunitiesTasksParamsWithTimeout

func NewGetOpportunitiesTasksParamsWithTimeout(timeout time.Duration) *GetOpportunitiesTasksParams

NewGetOpportunitiesTasksParamsWithTimeout creates a new GetOpportunitiesTasksParams object with the ability to set a timeout on a request.

func (*GetOpportunitiesTasksParams) SetContext

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

SetContext adds the context to the get opportunities tasks params

func (*GetOpportunitiesTasksParams) SetDatasource

func (o *GetOpportunitiesTasksParams) SetDatasource(datasource *string)

SetDatasource adds the datasource to the get opportunities tasks params

func (*GetOpportunitiesTasksParams) SetDefaults added in v0.3.0

func (o *GetOpportunitiesTasksParams) SetDefaults()

SetDefaults hydrates default values in the get opportunities tasks params (not the query body).

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

func (*GetOpportunitiesTasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get opportunities tasks params

func (*GetOpportunitiesTasksParams) SetIfNoneMatch

func (o *GetOpportunitiesTasksParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the get opportunities tasks params

func (*GetOpportunitiesTasksParams) SetTimeout

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

SetTimeout adds the timeout to the get opportunities tasks params

func (*GetOpportunitiesTasksParams) WithContext

WithContext adds the context to the get opportunities tasks params

func (*GetOpportunitiesTasksParams) WithDatasource

func (o *GetOpportunitiesTasksParams) WithDatasource(datasource *string) *GetOpportunitiesTasksParams

WithDatasource adds the datasource to the get opportunities tasks params

func (*GetOpportunitiesTasksParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get opportunities tasks params (not the query body).

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

func (*GetOpportunitiesTasksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get opportunities tasks params

func (*GetOpportunitiesTasksParams) WithIfNoneMatch

func (o *GetOpportunitiesTasksParams) WithIfNoneMatch(ifNoneMatch *string) *GetOpportunitiesTasksParams

WithIfNoneMatch adds the ifNoneMatch to the get opportunities tasks params

func (*GetOpportunitiesTasksParams) WithTimeout

WithTimeout adds the timeout to the get opportunities tasks params

func (*GetOpportunitiesTasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOpportunitiesTasksReader

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

GetOpportunitiesTasksReader is a Reader for the GetOpportunitiesTasks structure.

func (*GetOpportunitiesTasksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOpportunitiesTasksServiceUnavailable

type GetOpportunitiesTasksServiceUnavailable struct {
	Payload *models.ServiceUnavailable
}
GetOpportunitiesTasksServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable

func NewGetOpportunitiesTasksServiceUnavailable

func NewGetOpportunitiesTasksServiceUnavailable() *GetOpportunitiesTasksServiceUnavailable

NewGetOpportunitiesTasksServiceUnavailable creates a GetOpportunitiesTasksServiceUnavailable with default headers values

func (*GetOpportunitiesTasksServiceUnavailable) Error

func (*GetOpportunitiesTasksServiceUnavailable) GetPayload

type GetOpportunitiesTasksTaskIDBadRequest

type GetOpportunitiesTasksTaskIDBadRequest struct {
	Payload *models.BadRequest
}
GetOpportunitiesTasksTaskIDBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetOpportunitiesTasksTaskIDBadRequest

func NewGetOpportunitiesTasksTaskIDBadRequest() *GetOpportunitiesTasksTaskIDBadRequest

NewGetOpportunitiesTasksTaskIDBadRequest creates a GetOpportunitiesTasksTaskIDBadRequest with default headers values

func (*GetOpportunitiesTasksTaskIDBadRequest) Error

func (*GetOpportunitiesTasksTaskIDBadRequest) GetPayload

type GetOpportunitiesTasksTaskIDEnhanceYourCalm

type GetOpportunitiesTasksTaskIDEnhanceYourCalm struct {
	Payload *models.ErrorLimited
}
GetOpportunitiesTasksTaskIDEnhanceYourCalm describes a response with status code 420, with default header values.

Error limited

func NewGetOpportunitiesTasksTaskIDEnhanceYourCalm

func NewGetOpportunitiesTasksTaskIDEnhanceYourCalm() *GetOpportunitiesTasksTaskIDEnhanceYourCalm

NewGetOpportunitiesTasksTaskIDEnhanceYourCalm creates a GetOpportunitiesTasksTaskIDEnhanceYourCalm with default headers values

func (*GetOpportunitiesTasksTaskIDEnhanceYourCalm) Error

func (*GetOpportunitiesTasksTaskIDEnhanceYourCalm) GetPayload

type GetOpportunitiesTasksTaskIDGatewayTimeout

type GetOpportunitiesTasksTaskIDGatewayTimeout struct {
	Payload *models.GatewayTimeout
}
GetOpportunitiesTasksTaskIDGatewayTimeout describes a response with status code 504, with default header values.

Gateway timeout

func NewGetOpportunitiesTasksTaskIDGatewayTimeout

func NewGetOpportunitiesTasksTaskIDGatewayTimeout() *GetOpportunitiesTasksTaskIDGatewayTimeout

NewGetOpportunitiesTasksTaskIDGatewayTimeout creates a GetOpportunitiesTasksTaskIDGatewayTimeout with default headers values

func (*GetOpportunitiesTasksTaskIDGatewayTimeout) Error

func (*GetOpportunitiesTasksTaskIDGatewayTimeout) GetPayload

type GetOpportunitiesTasksTaskIDInternalServerError

type GetOpportunitiesTasksTaskIDInternalServerError struct {
	Payload *models.InternalServerError
}
GetOpportunitiesTasksTaskIDInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetOpportunitiesTasksTaskIDInternalServerError

func NewGetOpportunitiesTasksTaskIDInternalServerError() *GetOpportunitiesTasksTaskIDInternalServerError

NewGetOpportunitiesTasksTaskIDInternalServerError creates a GetOpportunitiesTasksTaskIDInternalServerError with default headers values

func (*GetOpportunitiesTasksTaskIDInternalServerError) Error

func (*GetOpportunitiesTasksTaskIDInternalServerError) GetPayload

type GetOpportunitiesTasksTaskIDNotModified

type GetOpportunitiesTasksTaskIDNotModified struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string
}
GetOpportunitiesTasksTaskIDNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetOpportunitiesTasksTaskIDNotModified

func NewGetOpportunitiesTasksTaskIDNotModified() *GetOpportunitiesTasksTaskIDNotModified

NewGetOpportunitiesTasksTaskIDNotModified creates a GetOpportunitiesTasksTaskIDNotModified with default headers values

func (*GetOpportunitiesTasksTaskIDNotModified) Error

type GetOpportunitiesTasksTaskIDOK

type GetOpportunitiesTasksTaskIDOK struct {

	/* The caching mechanism used
	 */
	CacheControl string

	/* RFC7232 compliant entity tag
	 */
	ETag string

	/* RFC7231 formatted datetime string
	 */
	Expires string

	/* RFC7231 formatted datetime string
	 */
	LastModified string

	Payload *GetOpportunitiesTasksTaskIDOKBody
}
GetOpportunitiesTasksTaskIDOK describes a response with status code 200, with default header values.

Details of an opportunities task

func NewGetOpportunitiesTasksTaskIDOK

func NewGetOpportunitiesTasksTaskIDOK() *GetOpportunitiesTasksTaskIDOK

NewGetOpportunitiesTasksTaskIDOK creates a GetOpportunitiesTasksTaskIDOK with default headers values

func (*GetOpportunitiesTasksTaskIDOK) Error

func (*GetOpportunitiesTasksTaskIDOK) GetPayload

type GetOpportunitiesTasksTaskIDOKBody

type GetOpportunitiesTasksTaskIDOKBody struct {

	// get_opportunities_tasks_task_id_description
	//
	// description string
	// Required: true
	Description *string `json:"description"`

	// get_opportunities_tasks_task_id_name
	//
	// name string
	// Required: true
	Name *string `json:"name"`

	// get_opportunities_tasks_task_id_notification
	//
	// notification string
	// Required: true
	Notification *string `json:"notification"`

	// get_opportunities_tasks_task_id_task_id
	//
	// task_id integer
	// Required: true
	TaskID *int32 `json:"task_id"`
}

GetOpportunitiesTasksTaskIDOKBody get_opportunities_tasks_task_id_ok // // 200 ok object swagger:model GetOpportunitiesTasksTaskIDOKBody

func (*GetOpportunitiesTasksTaskIDOKBody) ContextValidate added in v0.3.0

func (o *GetOpportunitiesTasksTaskIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get opportunities tasks task ID o k body based on context it is used

func (*GetOpportunitiesTasksTaskIDOKBody) MarshalBinary

func (o *GetOpportunitiesTasksTaskIDOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOpportunitiesTasksTaskIDOKBody) UnmarshalBinary

func (o *GetOpportunitiesTasksTaskIDOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOpportunitiesTasksTaskIDOKBody) Validate

Validate validates this get opportunities tasks task ID o k body

type GetOpportunitiesTasksTaskIDParams

type GetOpportunitiesTasksTaskIDParams struct {

	/* IfNoneMatch.

	   ETag from a previous request. A 304 will be returned if this matches the current ETag
	*/
	IfNoneMatch *string

	/* Datasource.

	   The server name you would like data from

	   Default: "tranquility"
	*/
	Datasource *string

	/* TaskID.

	   ID of an opportunities task

	   Format: int32
	*/
	TaskID int32

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

GetOpportunitiesTasksTaskIDParams contains all the parameters to send to the API endpoint

for the get opportunities tasks task id operation.

Typically these are written to a http.Request.

func NewGetOpportunitiesTasksTaskIDParams

func NewGetOpportunitiesTasksTaskIDParams() *GetOpportunitiesTasksTaskIDParams

NewGetOpportunitiesTasksTaskIDParams creates a new GetOpportunitiesTasksTaskIDParams 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 NewGetOpportunitiesTasksTaskIDParamsWithContext

func NewGetOpportunitiesTasksTaskIDParamsWithContext(ctx context.Context) *GetOpportunitiesTasksTaskIDParams

NewGetOpportunitiesTasksTaskIDParamsWithContext creates a new GetOpportunitiesTasksTaskIDParams object with the ability to set a context for a request.

func NewGetOpportunitiesTasksTaskIDParamsWithHTTPClient

func NewGetOpportunitiesTasksTaskIDParamsWithHTTPClient(client *http.Client) *GetOpportunitiesTasksTaskIDParams

NewGetOpportunitiesTasksTaskIDParamsWithHTTPClient creates a new GetOpportunitiesTasksTaskIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetOpportunitiesTasksTaskIDParamsWithTimeout

func NewGetOpportunitiesTasksTaskIDParamsWithTimeout(timeout time.Duration) *GetOpportunitiesTasksTaskIDParams

NewGetOpportunitiesTasksTaskIDParamsWithTimeout creates a new GetOpportunitiesTasksTaskIDParams object with the ability to set a timeout on a request.

func (*GetOpportunitiesTasksTaskIDParams) SetContext

SetContext adds the context to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) SetDatasource

func (o *GetOpportunitiesTasksTaskIDParams) SetDatasource(datasource *string)

SetDatasource adds the datasource to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) SetDefaults added in v0.3.0

func (o *GetOpportunitiesTasksTaskIDParams) SetDefaults()

SetDefaults hydrates default values in the get opportunities tasks task id params (not the query body).

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

func (*GetOpportunitiesTasksTaskIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) SetIfNoneMatch

func (o *GetOpportunitiesTasksTaskIDParams) SetIfNoneMatch(ifNoneMatch *string)

SetIfNoneMatch adds the ifNoneMatch to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) SetTaskID

func (o *GetOpportunitiesTasksTaskIDParams) SetTaskID(taskID int32)

SetTaskID adds the taskId to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) SetTimeout

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

SetTimeout adds the timeout to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) WithContext

WithContext adds the context to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) WithDatasource

WithDatasource adds the datasource to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get opportunities tasks task id params (not the query body).

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

func (*GetOpportunitiesTasksTaskIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) WithIfNoneMatch

WithIfNoneMatch adds the ifNoneMatch to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) WithTaskID

WithTaskID adds the taskID to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) WithTimeout

WithTimeout adds the timeout to the get opportunities tasks task id params

func (*GetOpportunitiesTasksTaskIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOpportunitiesTasksTaskIDReader

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

GetOpportunitiesTasksTaskIDReader is a Reader for the GetOpportunitiesTasksTaskID structure.

func (*GetOpportunitiesTasksTaskIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOpportunitiesTasksTaskIDServiceUnavailable

type GetOpportunitiesTasksTaskIDServiceUnavailable struct {
	Payload *models.ServiceUnavailable
}
GetOpportunitiesTasksTaskIDServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable

func NewGetOpportunitiesTasksTaskIDServiceUnavailable

func NewGetOpportunitiesTasksTaskIDServiceUnavailable() *GetOpportunitiesTasksTaskIDServiceUnavailable

NewGetOpportunitiesTasksTaskIDServiceUnavailable creates a GetOpportunitiesTasksTaskIDServiceUnavailable with default headers values

func (*GetOpportunitiesTasksTaskIDServiceUnavailable) Error

func (*GetOpportunitiesTasksTaskIDServiceUnavailable) GetPayload

Jump to

Keyboard shortcuts

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