sovereignty

package
v0.0.0-...-b9aa217 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// GetSovereigntyCampaignsOKBodyItems0EventTypeTcuDefense captures enum value "tcu_defense"
	GetSovereigntyCampaignsOKBodyItems0EventTypeTcuDefense string = "tcu_defense"

	// GetSovereigntyCampaignsOKBodyItems0EventTypeIhubDefense captures enum value "ihub_defense"
	GetSovereigntyCampaignsOKBodyItems0EventTypeIhubDefense string = "ihub_defense"

	// GetSovereigntyCampaignsOKBodyItems0EventTypeStationDefense captures enum value "station_defense"
	GetSovereigntyCampaignsOKBodyItems0EventTypeStationDefense string = "station_defense"

	// GetSovereigntyCampaignsOKBodyItems0EventTypeStationFreeport captures enum value "station_freeport"
	GetSovereigntyCampaignsOKBodyItems0EventTypeStationFreeport string = "station_freeport"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for sovereignty API

func (*Client) GetSovereigntyCampaigns

func (a *Client) GetSovereigntyCampaigns(params *GetSovereigntyCampaignsParams, opts ...ClientOption) (*GetSovereigntyCampaignsOK, error)
GetSovereigntyCampaigns lists sovereignty campaigns

Shows sovereignty data for campaigns.

---

This route is cached for up to 5 seconds

func (*Client) GetSovereigntyMap

func (a *Client) GetSovereigntyMap(params *GetSovereigntyMapParams, opts ...ClientOption) (*GetSovereigntyMapOK, error)
GetSovereigntyMap lists sovereignty of systems

Shows sovereignty information for solar systems

---

This route is cached for up to 3600 seconds

func (*Client) GetSovereigntyStructures

func (a *Client) GetSovereigntyStructures(params *GetSovereigntyStructuresParams, opts ...ClientOption) (*GetSovereigntyStructuresOK, error)
GetSovereigntyStructures lists sovereignty structures

Shows sovereignty data for structures.

---

This route is cached for up to 120 seconds

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 {
	GetSovereigntyCampaigns(params *GetSovereigntyCampaignsParams, opts ...ClientOption) (*GetSovereigntyCampaignsOK, error)

	GetSovereigntyMap(params *GetSovereigntyMapParams, opts ...ClientOption) (*GetSovereigntyMapOK, error)

	GetSovereigntyStructures(params *GetSovereigntyStructuresParams, opts ...ClientOption) (*GetSovereigntyStructuresOK, 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 sovereignty API client.

type GetSovereigntyCampaignsBadRequest

type GetSovereigntyCampaignsBadRequest struct {
	Payload *models.BadRequest
}

GetSovereigntyCampaignsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetSovereigntyCampaignsBadRequest

func NewGetSovereigntyCampaignsBadRequest() *GetSovereigntyCampaignsBadRequest

NewGetSovereigntyCampaignsBadRequest creates a GetSovereigntyCampaignsBadRequest with default headers values

func (*GetSovereigntyCampaignsBadRequest) Code added in v0.5.29

Code gets the status code for the get sovereignty campaigns bad request response

func (*GetSovereigntyCampaignsBadRequest) Error

func (*GetSovereigntyCampaignsBadRequest) GetPayload

func (*GetSovereigntyCampaignsBadRequest) IsClientError added in v0.5.29

func (o *GetSovereigntyCampaignsBadRequest) IsClientError() bool

IsClientError returns true when this get sovereignty campaigns bad request response has a 4xx status code

func (*GetSovereigntyCampaignsBadRequest) IsCode added in v0.5.29

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

IsCode returns true when this get sovereignty campaigns bad request response a status code equal to that given

func (*GetSovereigntyCampaignsBadRequest) IsRedirect added in v0.5.29

func (o *GetSovereigntyCampaignsBadRequest) IsRedirect() bool

IsRedirect returns true when this get sovereignty campaigns bad request response has a 3xx status code

func (*GetSovereigntyCampaignsBadRequest) IsServerError added in v0.5.29

func (o *GetSovereigntyCampaignsBadRequest) IsServerError() bool

IsServerError returns true when this get sovereignty campaigns bad request response has a 5xx status code

func (*GetSovereigntyCampaignsBadRequest) IsSuccess added in v0.5.29

func (o *GetSovereigntyCampaignsBadRequest) IsSuccess() bool

IsSuccess returns true when this get sovereignty campaigns bad request response has a 2xx status code

func (*GetSovereigntyCampaignsBadRequest) String added in v0.5.29

type GetSovereigntyCampaignsEnhanceYourCalm

type GetSovereigntyCampaignsEnhanceYourCalm struct {
	Payload *models.ErrorLimited
}

GetSovereigntyCampaignsEnhanceYourCalm describes a response with status code 420, with default header values.

Error limited

func NewGetSovereigntyCampaignsEnhanceYourCalm

func NewGetSovereigntyCampaignsEnhanceYourCalm() *GetSovereigntyCampaignsEnhanceYourCalm

NewGetSovereigntyCampaignsEnhanceYourCalm creates a GetSovereigntyCampaignsEnhanceYourCalm with default headers values

func (*GetSovereigntyCampaignsEnhanceYourCalm) Code added in v0.5.29

Code gets the status code for the get sovereignty campaigns enhance your calm response

func (*GetSovereigntyCampaignsEnhanceYourCalm) Error

func (*GetSovereigntyCampaignsEnhanceYourCalm) GetPayload

func (*GetSovereigntyCampaignsEnhanceYourCalm) IsClientError added in v0.5.29

func (o *GetSovereigntyCampaignsEnhanceYourCalm) IsClientError() bool

IsClientError returns true when this get sovereignty campaigns enhance your calm response has a 4xx status code

func (*GetSovereigntyCampaignsEnhanceYourCalm) IsCode added in v0.5.29

IsCode returns true when this get sovereignty campaigns enhance your calm response a status code equal to that given

func (*GetSovereigntyCampaignsEnhanceYourCalm) IsRedirect added in v0.5.29

IsRedirect returns true when this get sovereignty campaigns enhance your calm response has a 3xx status code

func (*GetSovereigntyCampaignsEnhanceYourCalm) IsServerError added in v0.5.29

func (o *GetSovereigntyCampaignsEnhanceYourCalm) IsServerError() bool

IsServerError returns true when this get sovereignty campaigns enhance your calm response has a 5xx status code

func (*GetSovereigntyCampaignsEnhanceYourCalm) IsSuccess added in v0.5.29

IsSuccess returns true when this get sovereignty campaigns enhance your calm response has a 2xx status code

func (*GetSovereigntyCampaignsEnhanceYourCalm) String added in v0.5.29

type GetSovereigntyCampaignsGatewayTimeout

type GetSovereigntyCampaignsGatewayTimeout struct {
	Payload *models.GatewayTimeout
}

GetSovereigntyCampaignsGatewayTimeout describes a response with status code 504, with default header values.

Gateway timeout

func NewGetSovereigntyCampaignsGatewayTimeout

func NewGetSovereigntyCampaignsGatewayTimeout() *GetSovereigntyCampaignsGatewayTimeout

NewGetSovereigntyCampaignsGatewayTimeout creates a GetSovereigntyCampaignsGatewayTimeout with default headers values

func (*GetSovereigntyCampaignsGatewayTimeout) Code added in v0.5.29

Code gets the status code for the get sovereignty campaigns gateway timeout response

func (*GetSovereigntyCampaignsGatewayTimeout) Error

func (*GetSovereigntyCampaignsGatewayTimeout) GetPayload

func (*GetSovereigntyCampaignsGatewayTimeout) IsClientError added in v0.5.29

func (o *GetSovereigntyCampaignsGatewayTimeout) IsClientError() bool

IsClientError returns true when this get sovereignty campaigns gateway timeout response has a 4xx status code

func (*GetSovereigntyCampaignsGatewayTimeout) IsCode added in v0.5.29

IsCode returns true when this get sovereignty campaigns gateway timeout response a status code equal to that given

func (*GetSovereigntyCampaignsGatewayTimeout) IsRedirect added in v0.5.29

IsRedirect returns true when this get sovereignty campaigns gateway timeout response has a 3xx status code

func (*GetSovereigntyCampaignsGatewayTimeout) IsServerError added in v0.5.29

func (o *GetSovereigntyCampaignsGatewayTimeout) IsServerError() bool

IsServerError returns true when this get sovereignty campaigns gateway timeout response has a 5xx status code

func (*GetSovereigntyCampaignsGatewayTimeout) IsSuccess added in v0.5.29

IsSuccess returns true when this get sovereignty campaigns gateway timeout response has a 2xx status code

func (*GetSovereigntyCampaignsGatewayTimeout) String added in v0.5.29

type GetSovereigntyCampaignsInternalServerError

type GetSovereigntyCampaignsInternalServerError struct {
	Payload *models.InternalServerError
}

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

Internal server error

func NewGetSovereigntyCampaignsInternalServerError

func NewGetSovereigntyCampaignsInternalServerError() *GetSovereigntyCampaignsInternalServerError

NewGetSovereigntyCampaignsInternalServerError creates a GetSovereigntyCampaignsInternalServerError with default headers values

func (*GetSovereigntyCampaignsInternalServerError) Code added in v0.5.29

Code gets the status code for the get sovereignty campaigns internal server error response

func (*GetSovereigntyCampaignsInternalServerError) Error

func (*GetSovereigntyCampaignsInternalServerError) GetPayload

func (*GetSovereigntyCampaignsInternalServerError) IsClientError added in v0.5.29

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

func (*GetSovereigntyCampaignsInternalServerError) IsCode added in v0.5.29

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

func (*GetSovereigntyCampaignsInternalServerError) IsRedirect added in v0.5.29

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

func (*GetSovereigntyCampaignsInternalServerError) IsServerError added in v0.5.29

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

func (*GetSovereigntyCampaignsInternalServerError) IsSuccess added in v0.5.29

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

func (*GetSovereigntyCampaignsInternalServerError) String added in v0.5.29

type GetSovereigntyCampaignsNotModified

type GetSovereigntyCampaignsNotModified 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
}

GetSovereigntyCampaignsNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetSovereigntyCampaignsNotModified

func NewGetSovereigntyCampaignsNotModified() *GetSovereigntyCampaignsNotModified

NewGetSovereigntyCampaignsNotModified creates a GetSovereigntyCampaignsNotModified with default headers values

func (*GetSovereigntyCampaignsNotModified) Code added in v0.5.29

Code gets the status code for the get sovereignty campaigns not modified response

func (*GetSovereigntyCampaignsNotModified) Error

func (*GetSovereigntyCampaignsNotModified) IsClientError added in v0.5.29

func (o *GetSovereigntyCampaignsNotModified) IsClientError() bool

IsClientError returns true when this get sovereignty campaigns not modified response has a 4xx status code

func (*GetSovereigntyCampaignsNotModified) IsCode added in v0.5.29

IsCode returns true when this get sovereignty campaigns not modified response a status code equal to that given

func (*GetSovereigntyCampaignsNotModified) IsRedirect added in v0.5.29

func (o *GetSovereigntyCampaignsNotModified) IsRedirect() bool

IsRedirect returns true when this get sovereignty campaigns not modified response has a 3xx status code

func (*GetSovereigntyCampaignsNotModified) IsServerError added in v0.5.29

func (o *GetSovereigntyCampaignsNotModified) IsServerError() bool

IsServerError returns true when this get sovereignty campaigns not modified response has a 5xx status code

func (*GetSovereigntyCampaignsNotModified) IsSuccess added in v0.5.29

IsSuccess returns true when this get sovereignty campaigns not modified response has a 2xx status code

func (*GetSovereigntyCampaignsNotModified) String added in v0.5.29

type GetSovereigntyCampaignsOK

type GetSovereigntyCampaignsOK 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 []*GetSovereigntyCampaignsOKBodyItems0
}

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

A list of sovereignty campaigns

func NewGetSovereigntyCampaignsOK

func NewGetSovereigntyCampaignsOK() *GetSovereigntyCampaignsOK

NewGetSovereigntyCampaignsOK creates a GetSovereigntyCampaignsOK with default headers values

func (*GetSovereigntyCampaignsOK) Code added in v0.5.29

func (o *GetSovereigntyCampaignsOK) Code() int

Code gets the status code for the get sovereignty campaigns o k response

func (*GetSovereigntyCampaignsOK) Error

func (o *GetSovereigntyCampaignsOK) Error() string

func (*GetSovereigntyCampaignsOK) GetPayload

func (*GetSovereigntyCampaignsOK) IsClientError added in v0.5.29

func (o *GetSovereigntyCampaignsOK) IsClientError() bool

IsClientError returns true when this get sovereignty campaigns o k response has a 4xx status code

func (*GetSovereigntyCampaignsOK) IsCode added in v0.5.29

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

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

func (*GetSovereigntyCampaignsOK) IsRedirect added in v0.5.29

func (o *GetSovereigntyCampaignsOK) IsRedirect() bool

IsRedirect returns true when this get sovereignty campaigns o k response has a 3xx status code

func (*GetSovereigntyCampaignsOK) IsServerError added in v0.5.29

func (o *GetSovereigntyCampaignsOK) IsServerError() bool

IsServerError returns true when this get sovereignty campaigns o k response has a 5xx status code

func (*GetSovereigntyCampaignsOK) IsSuccess added in v0.5.29

func (o *GetSovereigntyCampaignsOK) IsSuccess() bool

IsSuccess returns true when this get sovereignty campaigns o k response has a 2xx status code

func (*GetSovereigntyCampaignsOK) String added in v0.5.29

func (o *GetSovereigntyCampaignsOK) String() string

type GetSovereigntyCampaignsOKBodyItems0

type GetSovereigntyCampaignsOKBodyItems0 struct {

	// get_sovereignty_campaigns_attackers_score
	//
	// Score for all attacking parties, only present in Defense Events.
	//
	AttackersScore float32 `json:"attackers_score,omitempty"`

	// get_sovereignty_campaigns_campaign_id
	//
	// Unique ID for this campaign.
	// Required: true
	CampaignID *int32 `json:"campaign_id"`

	// get_sovereignty_campaigns_constellation_id
	//
	// The constellation in which the campaign will take place.
	//
	// Required: true
	ConstellationID *int32 `json:"constellation_id"`

	// get_sovereignty_campaigns_defender_id
	//
	// Defending alliance, only present in Defense Events
	//
	DefenderID int32 `json:"defender_id,omitempty"`

	// get_sovereignty_campaigns_defender_score
	//
	// Score for the defending alliance, only present in Defense Events.
	//
	DefenderScore float32 `json:"defender_score,omitempty"`

	// get_sovereignty_campaigns_event_type
	//
	// Type of event this campaign is for. tcu_defense, ihub_defense and station_defense are referred to as "Defense Events", station_freeport as "Freeport Events".
	//
	// Required: true
	// Enum: [tcu_defense ihub_defense station_defense station_freeport]
	EventType *string `json:"event_type"`

	// get_sovereignty_campaigns_participants
	//
	// Alliance participating and their respective scores, only present in Freeport Events.
	//
	// Max Items: 5000
	Participants []*GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0 `json:"participants"`

	// get_sovereignty_campaigns_solar_system_id
	//
	// The solar system the structure is located in.
	//
	// Required: true
	SolarSystemID *int32 `json:"solar_system_id"`

	// get_sovereignty_campaigns_start_time
	//
	// Time the event is scheduled to start.
	//
	// Required: true
	// Format: date-time
	StartTime *strfmt.DateTime `json:"start_time"`

	// get_sovereignty_campaigns_structure_id
	//
	// The structure item ID that is related to this campaign.
	//
	// Required: true
	StructureID *int64 `json:"structure_id"`
}

GetSovereigntyCampaignsOKBodyItems0 get_sovereignty_campaigns_200_ok // // 200 ok object swagger:model GetSovereigntyCampaignsOKBodyItems0

func (*GetSovereigntyCampaignsOKBodyItems0) ContextValidate added in v0.3.0

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

ContextValidate validate this get sovereignty campaigns o k body items0 based on the context it is used

func (*GetSovereigntyCampaignsOKBodyItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSovereigntyCampaignsOKBodyItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSovereigntyCampaignsOKBodyItems0) Validate

Validate validates this get sovereignty campaigns o k body items0

type GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0

type GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0 struct {

	// get_sovereignty_campaigns_alliance_id
	//
	// alliance_id integer
	// Required: true
	AllianceID *int32 `json:"alliance_id"`

	// get_sovereignty_campaigns_score
	//
	// score number
	// Required: true
	Score *float32 `json:"score"`
}

GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0 get_sovereignty_campaigns_participant // // participant object swagger:model GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0

func (*GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) ContextValidate added in v0.3.0

ContextValidate validates this get sovereignty campaigns o k body items0 participants items0 based on context it is used

func (*GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) Validate

Validate validates this get sovereignty campaigns o k body items0 participants items0

type GetSovereigntyCampaignsParams

type GetSovereigntyCampaignsParams 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
}

GetSovereigntyCampaignsParams contains all the parameters to send to the API endpoint

for the get sovereignty campaigns operation.

Typically these are written to a http.Request.

func NewGetSovereigntyCampaignsParams

func NewGetSovereigntyCampaignsParams() *GetSovereigntyCampaignsParams

NewGetSovereigntyCampaignsParams creates a new GetSovereigntyCampaignsParams 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 NewGetSovereigntyCampaignsParamsWithContext

func NewGetSovereigntyCampaignsParamsWithContext(ctx context.Context) *GetSovereigntyCampaignsParams

NewGetSovereigntyCampaignsParamsWithContext creates a new GetSovereigntyCampaignsParams object with the ability to set a context for a request.

func NewGetSovereigntyCampaignsParamsWithHTTPClient

func NewGetSovereigntyCampaignsParamsWithHTTPClient(client *http.Client) *GetSovereigntyCampaignsParams

NewGetSovereigntyCampaignsParamsWithHTTPClient creates a new GetSovereigntyCampaignsParams object with the ability to set a custom HTTPClient for a request.

func NewGetSovereigntyCampaignsParamsWithTimeout

func NewGetSovereigntyCampaignsParamsWithTimeout(timeout time.Duration) *GetSovereigntyCampaignsParams

NewGetSovereigntyCampaignsParamsWithTimeout creates a new GetSovereigntyCampaignsParams object with the ability to set a timeout on a request.

func (*GetSovereigntyCampaignsParams) SetContext

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

SetContext adds the context to the get sovereignty campaigns params

func (*GetSovereigntyCampaignsParams) SetDatasource

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

SetDatasource adds the datasource to the get sovereignty campaigns params

func (*GetSovereigntyCampaignsParams) SetDefaults added in v0.3.0

func (o *GetSovereigntyCampaignsParams) SetDefaults()

SetDefaults hydrates default values in the get sovereignty campaigns params (not the query body).

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

func (*GetSovereigntyCampaignsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get sovereignty campaigns params

func (*GetSovereigntyCampaignsParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the get sovereignty campaigns params

func (*GetSovereigntyCampaignsParams) SetTimeout

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

SetTimeout adds the timeout to the get sovereignty campaigns params

func (*GetSovereigntyCampaignsParams) WithContext

WithContext adds the context to the get sovereignty campaigns params

func (*GetSovereigntyCampaignsParams) WithDatasource

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

WithDatasource adds the datasource to the get sovereignty campaigns params

func (*GetSovereigntyCampaignsParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get sovereignty campaigns params (not the query body).

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

func (*GetSovereigntyCampaignsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get sovereignty campaigns params

func (*GetSovereigntyCampaignsParams) WithIfNoneMatch

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

WithIfNoneMatch adds the ifNoneMatch to the get sovereignty campaigns params

func (*GetSovereigntyCampaignsParams) WithTimeout

WithTimeout adds the timeout to the get sovereignty campaigns params

func (*GetSovereigntyCampaignsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSovereigntyCampaignsReader

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

GetSovereigntyCampaignsReader is a Reader for the GetSovereigntyCampaigns structure.

func (*GetSovereigntyCampaignsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSovereigntyCampaignsServiceUnavailable

type GetSovereigntyCampaignsServiceUnavailable struct {
	Payload *models.ServiceUnavailable
}

GetSovereigntyCampaignsServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable

func NewGetSovereigntyCampaignsServiceUnavailable

func NewGetSovereigntyCampaignsServiceUnavailable() *GetSovereigntyCampaignsServiceUnavailable

NewGetSovereigntyCampaignsServiceUnavailable creates a GetSovereigntyCampaignsServiceUnavailable with default headers values

func (*GetSovereigntyCampaignsServiceUnavailable) Code added in v0.5.29

Code gets the status code for the get sovereignty campaigns service unavailable response

func (*GetSovereigntyCampaignsServiceUnavailable) Error

func (*GetSovereigntyCampaignsServiceUnavailable) GetPayload

func (*GetSovereigntyCampaignsServiceUnavailable) IsClientError added in v0.5.29

IsClientError returns true when this get sovereignty campaigns service unavailable response has a 4xx status code

func (*GetSovereigntyCampaignsServiceUnavailable) IsCode added in v0.5.29

IsCode returns true when this get sovereignty campaigns service unavailable response a status code equal to that given

func (*GetSovereigntyCampaignsServiceUnavailable) IsRedirect added in v0.5.29

IsRedirect returns true when this get sovereignty campaigns service unavailable response has a 3xx status code

func (*GetSovereigntyCampaignsServiceUnavailable) IsServerError added in v0.5.29

IsServerError returns true when this get sovereignty campaigns service unavailable response has a 5xx status code

func (*GetSovereigntyCampaignsServiceUnavailable) IsSuccess added in v0.5.29

IsSuccess returns true when this get sovereignty campaigns service unavailable response has a 2xx status code

func (*GetSovereigntyCampaignsServiceUnavailable) String added in v0.5.29

type GetSovereigntyMapBadRequest

type GetSovereigntyMapBadRequest struct {
	Payload *models.BadRequest
}

GetSovereigntyMapBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetSovereigntyMapBadRequest

func NewGetSovereigntyMapBadRequest() *GetSovereigntyMapBadRequest

NewGetSovereigntyMapBadRequest creates a GetSovereigntyMapBadRequest with default headers values

func (*GetSovereigntyMapBadRequest) Code added in v0.5.29

func (o *GetSovereigntyMapBadRequest) Code() int

Code gets the status code for the get sovereignty map bad request response

func (*GetSovereigntyMapBadRequest) Error

func (*GetSovereigntyMapBadRequest) GetPayload

func (*GetSovereigntyMapBadRequest) IsClientError added in v0.5.29

func (o *GetSovereigntyMapBadRequest) IsClientError() bool

IsClientError returns true when this get sovereignty map bad request response has a 4xx status code

func (*GetSovereigntyMapBadRequest) IsCode added in v0.5.29

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

IsCode returns true when this get sovereignty map bad request response a status code equal to that given

func (*GetSovereigntyMapBadRequest) IsRedirect added in v0.5.29

func (o *GetSovereigntyMapBadRequest) IsRedirect() bool

IsRedirect returns true when this get sovereignty map bad request response has a 3xx status code

func (*GetSovereigntyMapBadRequest) IsServerError added in v0.5.29

func (o *GetSovereigntyMapBadRequest) IsServerError() bool

IsServerError returns true when this get sovereignty map bad request response has a 5xx status code

func (*GetSovereigntyMapBadRequest) IsSuccess added in v0.5.29

func (o *GetSovereigntyMapBadRequest) IsSuccess() bool

IsSuccess returns true when this get sovereignty map bad request response has a 2xx status code

func (*GetSovereigntyMapBadRequest) String added in v0.5.29

func (o *GetSovereigntyMapBadRequest) String() string

type GetSovereigntyMapEnhanceYourCalm

type GetSovereigntyMapEnhanceYourCalm struct {
	Payload *models.ErrorLimited
}

GetSovereigntyMapEnhanceYourCalm describes a response with status code 420, with default header values.

Error limited

func NewGetSovereigntyMapEnhanceYourCalm

func NewGetSovereigntyMapEnhanceYourCalm() *GetSovereigntyMapEnhanceYourCalm

NewGetSovereigntyMapEnhanceYourCalm creates a GetSovereigntyMapEnhanceYourCalm with default headers values

func (*GetSovereigntyMapEnhanceYourCalm) Code added in v0.5.29

Code gets the status code for the get sovereignty map enhance your calm response

func (*GetSovereigntyMapEnhanceYourCalm) Error

func (*GetSovereigntyMapEnhanceYourCalm) GetPayload

func (*GetSovereigntyMapEnhanceYourCalm) IsClientError added in v0.5.29

func (o *GetSovereigntyMapEnhanceYourCalm) IsClientError() bool

IsClientError returns true when this get sovereignty map enhance your calm response has a 4xx status code

func (*GetSovereigntyMapEnhanceYourCalm) IsCode added in v0.5.29

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

IsCode returns true when this get sovereignty map enhance your calm response a status code equal to that given

func (*GetSovereigntyMapEnhanceYourCalm) IsRedirect added in v0.5.29

func (o *GetSovereigntyMapEnhanceYourCalm) IsRedirect() bool

IsRedirect returns true when this get sovereignty map enhance your calm response has a 3xx status code

func (*GetSovereigntyMapEnhanceYourCalm) IsServerError added in v0.5.29

func (o *GetSovereigntyMapEnhanceYourCalm) IsServerError() bool

IsServerError returns true when this get sovereignty map enhance your calm response has a 5xx status code

func (*GetSovereigntyMapEnhanceYourCalm) IsSuccess added in v0.5.29

func (o *GetSovereigntyMapEnhanceYourCalm) IsSuccess() bool

IsSuccess returns true when this get sovereignty map enhance your calm response has a 2xx status code

func (*GetSovereigntyMapEnhanceYourCalm) String added in v0.5.29

type GetSovereigntyMapGatewayTimeout

type GetSovereigntyMapGatewayTimeout struct {
	Payload *models.GatewayTimeout
}

GetSovereigntyMapGatewayTimeout describes a response with status code 504, with default header values.

Gateway timeout

func NewGetSovereigntyMapGatewayTimeout

func NewGetSovereigntyMapGatewayTimeout() *GetSovereigntyMapGatewayTimeout

NewGetSovereigntyMapGatewayTimeout creates a GetSovereigntyMapGatewayTimeout with default headers values

func (*GetSovereigntyMapGatewayTimeout) Code added in v0.5.29

Code gets the status code for the get sovereignty map gateway timeout response

func (*GetSovereigntyMapGatewayTimeout) Error

func (*GetSovereigntyMapGatewayTimeout) GetPayload

func (*GetSovereigntyMapGatewayTimeout) IsClientError added in v0.5.29

func (o *GetSovereigntyMapGatewayTimeout) IsClientError() bool

IsClientError returns true when this get sovereignty map gateway timeout response has a 4xx status code

func (*GetSovereigntyMapGatewayTimeout) IsCode added in v0.5.29

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

IsCode returns true when this get sovereignty map gateway timeout response a status code equal to that given

func (*GetSovereigntyMapGatewayTimeout) IsRedirect added in v0.5.29

func (o *GetSovereigntyMapGatewayTimeout) IsRedirect() bool

IsRedirect returns true when this get sovereignty map gateway timeout response has a 3xx status code

func (*GetSovereigntyMapGatewayTimeout) IsServerError added in v0.5.29

func (o *GetSovereigntyMapGatewayTimeout) IsServerError() bool

IsServerError returns true when this get sovereignty map gateway timeout response has a 5xx status code

func (*GetSovereigntyMapGatewayTimeout) IsSuccess added in v0.5.29

func (o *GetSovereigntyMapGatewayTimeout) IsSuccess() bool

IsSuccess returns true when this get sovereignty map gateway timeout response has a 2xx status code

func (*GetSovereigntyMapGatewayTimeout) String added in v0.5.29

type GetSovereigntyMapInternalServerError

type GetSovereigntyMapInternalServerError struct {
	Payload *models.InternalServerError
}

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

Internal server error

func NewGetSovereigntyMapInternalServerError

func NewGetSovereigntyMapInternalServerError() *GetSovereigntyMapInternalServerError

NewGetSovereigntyMapInternalServerError creates a GetSovereigntyMapInternalServerError with default headers values

func (*GetSovereigntyMapInternalServerError) Code added in v0.5.29

Code gets the status code for the get sovereignty map internal server error response

func (*GetSovereigntyMapInternalServerError) Error

func (*GetSovereigntyMapInternalServerError) GetPayload

func (*GetSovereigntyMapInternalServerError) IsClientError added in v0.5.29

func (o *GetSovereigntyMapInternalServerError) IsClientError() bool

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

func (*GetSovereigntyMapInternalServerError) IsCode added in v0.5.29

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

func (*GetSovereigntyMapInternalServerError) IsRedirect added in v0.5.29

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

func (*GetSovereigntyMapInternalServerError) IsServerError added in v0.5.29

func (o *GetSovereigntyMapInternalServerError) IsServerError() bool

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

func (*GetSovereigntyMapInternalServerError) IsSuccess added in v0.5.29

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

func (*GetSovereigntyMapInternalServerError) String added in v0.5.29

type GetSovereigntyMapNotModified

type GetSovereigntyMapNotModified 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
}

GetSovereigntyMapNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetSovereigntyMapNotModified

func NewGetSovereigntyMapNotModified() *GetSovereigntyMapNotModified

NewGetSovereigntyMapNotModified creates a GetSovereigntyMapNotModified with default headers values

func (*GetSovereigntyMapNotModified) Code added in v0.5.29

Code gets the status code for the get sovereignty map not modified response

func (*GetSovereigntyMapNotModified) Error

func (*GetSovereigntyMapNotModified) IsClientError added in v0.5.29

func (o *GetSovereigntyMapNotModified) IsClientError() bool

IsClientError returns true when this get sovereignty map not modified response has a 4xx status code

func (*GetSovereigntyMapNotModified) IsCode added in v0.5.29

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

IsCode returns true when this get sovereignty map not modified response a status code equal to that given

func (*GetSovereigntyMapNotModified) IsRedirect added in v0.5.29

func (o *GetSovereigntyMapNotModified) IsRedirect() bool

IsRedirect returns true when this get sovereignty map not modified response has a 3xx status code

func (*GetSovereigntyMapNotModified) IsServerError added in v0.5.29

func (o *GetSovereigntyMapNotModified) IsServerError() bool

IsServerError returns true when this get sovereignty map not modified response has a 5xx status code

func (*GetSovereigntyMapNotModified) IsSuccess added in v0.5.29

func (o *GetSovereigntyMapNotModified) IsSuccess() bool

IsSuccess returns true when this get sovereignty map not modified response has a 2xx status code

func (*GetSovereigntyMapNotModified) String added in v0.5.29

type GetSovereigntyMapOK

type GetSovereigntyMapOK 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 []*GetSovereigntyMapOKBodyItems0
}

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

A list of sovereignty information for solar systems in New Eden

func NewGetSovereigntyMapOK

func NewGetSovereigntyMapOK() *GetSovereigntyMapOK

NewGetSovereigntyMapOK creates a GetSovereigntyMapOK with default headers values

func (*GetSovereigntyMapOK) Code added in v0.5.29

func (o *GetSovereigntyMapOK) Code() int

Code gets the status code for the get sovereignty map o k response

func (*GetSovereigntyMapOK) Error

func (o *GetSovereigntyMapOK) Error() string

func (*GetSovereigntyMapOK) GetPayload

func (*GetSovereigntyMapOK) IsClientError added in v0.5.29

func (o *GetSovereigntyMapOK) IsClientError() bool

IsClientError returns true when this get sovereignty map o k response has a 4xx status code

func (*GetSovereigntyMapOK) IsCode added in v0.5.29

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

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

func (*GetSovereigntyMapOK) IsRedirect added in v0.5.29

func (o *GetSovereigntyMapOK) IsRedirect() bool

IsRedirect returns true when this get sovereignty map o k response has a 3xx status code

func (*GetSovereigntyMapOK) IsServerError added in v0.5.29

func (o *GetSovereigntyMapOK) IsServerError() bool

IsServerError returns true when this get sovereignty map o k response has a 5xx status code

func (*GetSovereigntyMapOK) IsSuccess added in v0.5.29

func (o *GetSovereigntyMapOK) IsSuccess() bool

IsSuccess returns true when this get sovereignty map o k response has a 2xx status code

func (*GetSovereigntyMapOK) String added in v0.5.29

func (o *GetSovereigntyMapOK) String() string

type GetSovereigntyMapOKBodyItems0

type GetSovereigntyMapOKBodyItems0 struct {

	// get_sovereignty_map_alliance_id
	//
	// alliance_id integer
	AllianceID int32 `json:"alliance_id,omitempty"`

	// get_sovereignty_map_corporation_id
	//
	// corporation_id integer
	CorporationID int32 `json:"corporation_id,omitempty"`

	// get_sovereignty_map_faction_id
	//
	// faction_id integer
	FactionID int32 `json:"faction_id,omitempty"`

	// get_sovereignty_map_system_id
	//
	// system_id integer
	// Required: true
	SystemID *int32 `json:"system_id"`
}

GetSovereigntyMapOKBodyItems0 get_sovereignty_map_200_ok // // 200 ok object swagger:model GetSovereigntyMapOKBodyItems0

func (*GetSovereigntyMapOKBodyItems0) ContextValidate added in v0.3.0

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

ContextValidate validates this get sovereignty map o k body items0 based on context it is used

func (*GetSovereigntyMapOKBodyItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSovereigntyMapOKBodyItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSovereigntyMapOKBodyItems0) Validate

func (o *GetSovereigntyMapOKBodyItems0) Validate(formats strfmt.Registry) error

Validate validates this get sovereignty map o k body items0

type GetSovereigntyMapParams

type GetSovereigntyMapParams 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
}

GetSovereigntyMapParams contains all the parameters to send to the API endpoint

for the get sovereignty map operation.

Typically these are written to a http.Request.

func NewGetSovereigntyMapParams

func NewGetSovereigntyMapParams() *GetSovereigntyMapParams

NewGetSovereigntyMapParams creates a new GetSovereigntyMapParams 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 NewGetSovereigntyMapParamsWithContext

func NewGetSovereigntyMapParamsWithContext(ctx context.Context) *GetSovereigntyMapParams

NewGetSovereigntyMapParamsWithContext creates a new GetSovereigntyMapParams object with the ability to set a context for a request.

func NewGetSovereigntyMapParamsWithHTTPClient

func NewGetSovereigntyMapParamsWithHTTPClient(client *http.Client) *GetSovereigntyMapParams

NewGetSovereigntyMapParamsWithHTTPClient creates a new GetSovereigntyMapParams object with the ability to set a custom HTTPClient for a request.

func NewGetSovereigntyMapParamsWithTimeout

func NewGetSovereigntyMapParamsWithTimeout(timeout time.Duration) *GetSovereigntyMapParams

NewGetSovereigntyMapParamsWithTimeout creates a new GetSovereigntyMapParams object with the ability to set a timeout on a request.

func (*GetSovereigntyMapParams) SetContext

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

SetContext adds the context to the get sovereignty map params

func (*GetSovereigntyMapParams) SetDatasource

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

SetDatasource adds the datasource to the get sovereignty map params

func (*GetSovereigntyMapParams) SetDefaults added in v0.3.0

func (o *GetSovereigntyMapParams) SetDefaults()

SetDefaults hydrates default values in the get sovereignty map params (not the query body).

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

func (*GetSovereigntyMapParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get sovereignty map params

func (*GetSovereigntyMapParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the get sovereignty map params

func (*GetSovereigntyMapParams) SetTimeout

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

SetTimeout adds the timeout to the get sovereignty map params

func (*GetSovereigntyMapParams) WithContext

WithContext adds the context to the get sovereignty map params

func (*GetSovereigntyMapParams) WithDatasource

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

WithDatasource adds the datasource to the get sovereignty map params

func (*GetSovereigntyMapParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get sovereignty map params (not the query body).

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

func (*GetSovereigntyMapParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get sovereignty map params

func (*GetSovereigntyMapParams) WithIfNoneMatch

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

WithIfNoneMatch adds the ifNoneMatch to the get sovereignty map params

func (*GetSovereigntyMapParams) WithTimeout

WithTimeout adds the timeout to the get sovereignty map params

func (*GetSovereigntyMapParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSovereigntyMapReader

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

GetSovereigntyMapReader is a Reader for the GetSovereigntyMap structure.

func (*GetSovereigntyMapReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSovereigntyMapServiceUnavailable

type GetSovereigntyMapServiceUnavailable struct {
	Payload *models.ServiceUnavailable
}

GetSovereigntyMapServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable

func NewGetSovereigntyMapServiceUnavailable

func NewGetSovereigntyMapServiceUnavailable() *GetSovereigntyMapServiceUnavailable

NewGetSovereigntyMapServiceUnavailable creates a GetSovereigntyMapServiceUnavailable with default headers values

func (*GetSovereigntyMapServiceUnavailable) Code added in v0.5.29

Code gets the status code for the get sovereignty map service unavailable response

func (*GetSovereigntyMapServiceUnavailable) Error

func (*GetSovereigntyMapServiceUnavailable) GetPayload

func (*GetSovereigntyMapServiceUnavailable) IsClientError added in v0.5.29

func (o *GetSovereigntyMapServiceUnavailable) IsClientError() bool

IsClientError returns true when this get sovereignty map service unavailable response has a 4xx status code

func (*GetSovereigntyMapServiceUnavailable) IsCode added in v0.5.29

IsCode returns true when this get sovereignty map service unavailable response a status code equal to that given

func (*GetSovereigntyMapServiceUnavailable) IsRedirect added in v0.5.29

func (o *GetSovereigntyMapServiceUnavailable) IsRedirect() bool

IsRedirect returns true when this get sovereignty map service unavailable response has a 3xx status code

func (*GetSovereigntyMapServiceUnavailable) IsServerError added in v0.5.29

func (o *GetSovereigntyMapServiceUnavailable) IsServerError() bool

IsServerError returns true when this get sovereignty map service unavailable response has a 5xx status code

func (*GetSovereigntyMapServiceUnavailable) IsSuccess added in v0.5.29

IsSuccess returns true when this get sovereignty map service unavailable response has a 2xx status code

func (*GetSovereigntyMapServiceUnavailable) String added in v0.5.29

type GetSovereigntyStructuresBadRequest

type GetSovereigntyStructuresBadRequest struct {
	Payload *models.BadRequest
}

GetSovereigntyStructuresBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetSovereigntyStructuresBadRequest

func NewGetSovereigntyStructuresBadRequest() *GetSovereigntyStructuresBadRequest

NewGetSovereigntyStructuresBadRequest creates a GetSovereigntyStructuresBadRequest with default headers values

func (*GetSovereigntyStructuresBadRequest) Code added in v0.5.29

Code gets the status code for the get sovereignty structures bad request response

func (*GetSovereigntyStructuresBadRequest) Error

func (*GetSovereigntyStructuresBadRequest) GetPayload

func (*GetSovereigntyStructuresBadRequest) IsClientError added in v0.5.29

func (o *GetSovereigntyStructuresBadRequest) IsClientError() bool

IsClientError returns true when this get sovereignty structures bad request response has a 4xx status code

func (*GetSovereigntyStructuresBadRequest) IsCode added in v0.5.29

IsCode returns true when this get sovereignty structures bad request response a status code equal to that given

func (*GetSovereigntyStructuresBadRequest) IsRedirect added in v0.5.29

func (o *GetSovereigntyStructuresBadRequest) IsRedirect() bool

IsRedirect returns true when this get sovereignty structures bad request response has a 3xx status code

func (*GetSovereigntyStructuresBadRequest) IsServerError added in v0.5.29

func (o *GetSovereigntyStructuresBadRequest) IsServerError() bool

IsServerError returns true when this get sovereignty structures bad request response has a 5xx status code

func (*GetSovereigntyStructuresBadRequest) IsSuccess added in v0.5.29

IsSuccess returns true when this get sovereignty structures bad request response has a 2xx status code

func (*GetSovereigntyStructuresBadRequest) String added in v0.5.29

type GetSovereigntyStructuresEnhanceYourCalm

type GetSovereigntyStructuresEnhanceYourCalm struct {
	Payload *models.ErrorLimited
}

GetSovereigntyStructuresEnhanceYourCalm describes a response with status code 420, with default header values.

Error limited

func NewGetSovereigntyStructuresEnhanceYourCalm

func NewGetSovereigntyStructuresEnhanceYourCalm() *GetSovereigntyStructuresEnhanceYourCalm

NewGetSovereigntyStructuresEnhanceYourCalm creates a GetSovereigntyStructuresEnhanceYourCalm with default headers values

func (*GetSovereigntyStructuresEnhanceYourCalm) Code added in v0.5.29

Code gets the status code for the get sovereignty structures enhance your calm response

func (*GetSovereigntyStructuresEnhanceYourCalm) Error

func (*GetSovereigntyStructuresEnhanceYourCalm) GetPayload

func (*GetSovereigntyStructuresEnhanceYourCalm) IsClientError added in v0.5.29

func (o *GetSovereigntyStructuresEnhanceYourCalm) IsClientError() bool

IsClientError returns true when this get sovereignty structures enhance your calm response has a 4xx status code

func (*GetSovereigntyStructuresEnhanceYourCalm) IsCode added in v0.5.29

IsCode returns true when this get sovereignty structures enhance your calm response a status code equal to that given

func (*GetSovereigntyStructuresEnhanceYourCalm) IsRedirect added in v0.5.29

IsRedirect returns true when this get sovereignty structures enhance your calm response has a 3xx status code

func (*GetSovereigntyStructuresEnhanceYourCalm) IsServerError added in v0.5.29

func (o *GetSovereigntyStructuresEnhanceYourCalm) IsServerError() bool

IsServerError returns true when this get sovereignty structures enhance your calm response has a 5xx status code

func (*GetSovereigntyStructuresEnhanceYourCalm) IsSuccess added in v0.5.29

IsSuccess returns true when this get sovereignty structures enhance your calm response has a 2xx status code

func (*GetSovereigntyStructuresEnhanceYourCalm) String added in v0.5.29

type GetSovereigntyStructuresGatewayTimeout

type GetSovereigntyStructuresGatewayTimeout struct {
	Payload *models.GatewayTimeout
}

GetSovereigntyStructuresGatewayTimeout describes a response with status code 504, with default header values.

Gateway timeout

func NewGetSovereigntyStructuresGatewayTimeout

func NewGetSovereigntyStructuresGatewayTimeout() *GetSovereigntyStructuresGatewayTimeout

NewGetSovereigntyStructuresGatewayTimeout creates a GetSovereigntyStructuresGatewayTimeout with default headers values

func (*GetSovereigntyStructuresGatewayTimeout) Code added in v0.5.29

Code gets the status code for the get sovereignty structures gateway timeout response

func (*GetSovereigntyStructuresGatewayTimeout) Error

func (*GetSovereigntyStructuresGatewayTimeout) GetPayload

func (*GetSovereigntyStructuresGatewayTimeout) IsClientError added in v0.5.29

func (o *GetSovereigntyStructuresGatewayTimeout) IsClientError() bool

IsClientError returns true when this get sovereignty structures gateway timeout response has a 4xx status code

func (*GetSovereigntyStructuresGatewayTimeout) IsCode added in v0.5.29

IsCode returns true when this get sovereignty structures gateway timeout response a status code equal to that given

func (*GetSovereigntyStructuresGatewayTimeout) IsRedirect added in v0.5.29

IsRedirect returns true when this get sovereignty structures gateway timeout response has a 3xx status code

func (*GetSovereigntyStructuresGatewayTimeout) IsServerError added in v0.5.29

func (o *GetSovereigntyStructuresGatewayTimeout) IsServerError() bool

IsServerError returns true when this get sovereignty structures gateway timeout response has a 5xx status code

func (*GetSovereigntyStructuresGatewayTimeout) IsSuccess added in v0.5.29

IsSuccess returns true when this get sovereignty structures gateway timeout response has a 2xx status code

func (*GetSovereigntyStructuresGatewayTimeout) String added in v0.5.29

type GetSovereigntyStructuresInternalServerError

type GetSovereigntyStructuresInternalServerError struct {
	Payload *models.InternalServerError
}

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

Internal server error

func NewGetSovereigntyStructuresInternalServerError

func NewGetSovereigntyStructuresInternalServerError() *GetSovereigntyStructuresInternalServerError

NewGetSovereigntyStructuresInternalServerError creates a GetSovereigntyStructuresInternalServerError with default headers values

func (*GetSovereigntyStructuresInternalServerError) Code added in v0.5.29

Code gets the status code for the get sovereignty structures internal server error response

func (*GetSovereigntyStructuresInternalServerError) Error

func (*GetSovereigntyStructuresInternalServerError) GetPayload

func (*GetSovereigntyStructuresInternalServerError) IsClientError added in v0.5.29

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

func (*GetSovereigntyStructuresInternalServerError) IsCode added in v0.5.29

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

func (*GetSovereigntyStructuresInternalServerError) IsRedirect added in v0.5.29

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

func (*GetSovereigntyStructuresInternalServerError) IsServerError added in v0.5.29

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

func (*GetSovereigntyStructuresInternalServerError) IsSuccess added in v0.5.29

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

func (*GetSovereigntyStructuresInternalServerError) String added in v0.5.29

type GetSovereigntyStructuresNotModified

type GetSovereigntyStructuresNotModified 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
}

GetSovereigntyStructuresNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetSovereigntyStructuresNotModified

func NewGetSovereigntyStructuresNotModified() *GetSovereigntyStructuresNotModified

NewGetSovereigntyStructuresNotModified creates a GetSovereigntyStructuresNotModified with default headers values

func (*GetSovereigntyStructuresNotModified) Code added in v0.5.29

Code gets the status code for the get sovereignty structures not modified response

func (*GetSovereigntyStructuresNotModified) Error

func (*GetSovereigntyStructuresNotModified) IsClientError added in v0.5.29

func (o *GetSovereigntyStructuresNotModified) IsClientError() bool

IsClientError returns true when this get sovereignty structures not modified response has a 4xx status code

func (*GetSovereigntyStructuresNotModified) IsCode added in v0.5.29

IsCode returns true when this get sovereignty structures not modified response a status code equal to that given

func (*GetSovereigntyStructuresNotModified) IsRedirect added in v0.5.29

func (o *GetSovereigntyStructuresNotModified) IsRedirect() bool

IsRedirect returns true when this get sovereignty structures not modified response has a 3xx status code

func (*GetSovereigntyStructuresNotModified) IsServerError added in v0.5.29

func (o *GetSovereigntyStructuresNotModified) IsServerError() bool

IsServerError returns true when this get sovereignty structures not modified response has a 5xx status code

func (*GetSovereigntyStructuresNotModified) IsSuccess added in v0.5.29

IsSuccess returns true when this get sovereignty structures not modified response has a 2xx status code

func (*GetSovereigntyStructuresNotModified) String added in v0.5.29

type GetSovereigntyStructuresOK

type GetSovereigntyStructuresOK 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 []*GetSovereigntyStructuresOKBodyItems0
}

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

A list of sovereignty structures

func NewGetSovereigntyStructuresOK

func NewGetSovereigntyStructuresOK() *GetSovereigntyStructuresOK

NewGetSovereigntyStructuresOK creates a GetSovereigntyStructuresOK with default headers values

func (*GetSovereigntyStructuresOK) Code added in v0.5.29

func (o *GetSovereigntyStructuresOK) Code() int

Code gets the status code for the get sovereignty structures o k response

func (*GetSovereigntyStructuresOK) Error

func (*GetSovereigntyStructuresOK) GetPayload

func (*GetSovereigntyStructuresOK) IsClientError added in v0.5.29

func (o *GetSovereigntyStructuresOK) IsClientError() bool

IsClientError returns true when this get sovereignty structures o k response has a 4xx status code

func (*GetSovereigntyStructuresOK) IsCode added in v0.5.29

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

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

func (*GetSovereigntyStructuresOK) IsRedirect added in v0.5.29

func (o *GetSovereigntyStructuresOK) IsRedirect() bool

IsRedirect returns true when this get sovereignty structures o k response has a 3xx status code

func (*GetSovereigntyStructuresOK) IsServerError added in v0.5.29

func (o *GetSovereigntyStructuresOK) IsServerError() bool

IsServerError returns true when this get sovereignty structures o k response has a 5xx status code

func (*GetSovereigntyStructuresOK) IsSuccess added in v0.5.29

func (o *GetSovereigntyStructuresOK) IsSuccess() bool

IsSuccess returns true when this get sovereignty structures o k response has a 2xx status code

func (*GetSovereigntyStructuresOK) String added in v0.5.29

func (o *GetSovereigntyStructuresOK) String() string

type GetSovereigntyStructuresOKBodyItems0

type GetSovereigntyStructuresOKBodyItems0 struct {

	// get_sovereignty_structures_alliance_id
	//
	// The alliance that owns the structure.
	//
	// Required: true
	AllianceID *int32 `json:"alliance_id"`

	// get_sovereignty_structures_solar_system_id
	//
	// Solar system in which the structure is located.
	//
	// Required: true
	SolarSystemID *int32 `json:"solar_system_id"`

	// get_sovereignty_structures_structure_id
	//
	// Unique item ID for this structure.
	// Required: true
	StructureID *int64 `json:"structure_id"`

	// get_sovereignty_structures_structure_type_id
	//
	// A reference to the type of structure this is.
	//
	// Required: true
	StructureTypeID *int32 `json:"structure_type_id"`

	// get_sovereignty_structures_vulnerability_occupancy_level
	//
	// The occupancy level for the next or current vulnerability window. This takes into account all development indexes and capital system bonuses. Also known as Activity Defense Multiplier from in the client. It increases the time that attackers must spend using their entosis links on the structure.
	//
	VulnerabilityOccupancyLevel float32 `json:"vulnerability_occupancy_level,omitempty"`

	// get_sovereignty_structures_vulnerable_end_time
	//
	// The time at which the next or current vulnerability window ends. At the end of a vulnerability window the next window is recalculated and locked in along with the vulnerabilityOccupancyLevel. If the structure is not in 100% entosis control of the defender, it will go in to 'overtime' and stay vulnerable for as long as that situation persists. Only once the defenders have 100% entosis control and has the vulnerableEndTime passed does the vulnerability interval expire and a new one is calculated.
	//
	// Format: date-time
	VulnerableEndTime strfmt.DateTime `json:"vulnerable_end_time,omitempty"`

	// get_sovereignty_structures_vulnerable_start_time
	//
	// The next time at which the structure will become vulnerable. Or the start time of the current window if current time is between this and vulnerableEndTime.
	//
	// Format: date-time
	VulnerableStartTime strfmt.DateTime `json:"vulnerable_start_time,omitempty"`
}

GetSovereigntyStructuresOKBodyItems0 get_sovereignty_structures_200_ok // // 200 ok object swagger:model GetSovereigntyStructuresOKBodyItems0

func (*GetSovereigntyStructuresOKBodyItems0) ContextValidate added in v0.3.0

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

ContextValidate validates this get sovereignty structures o k body items0 based on context it is used

func (*GetSovereigntyStructuresOKBodyItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSovereigntyStructuresOKBodyItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSovereigntyStructuresOKBodyItems0) Validate

Validate validates this get sovereignty structures o k body items0

type GetSovereigntyStructuresParams

type GetSovereigntyStructuresParams 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
}

GetSovereigntyStructuresParams contains all the parameters to send to the API endpoint

for the get sovereignty structures operation.

Typically these are written to a http.Request.

func NewGetSovereigntyStructuresParams

func NewGetSovereigntyStructuresParams() *GetSovereigntyStructuresParams

NewGetSovereigntyStructuresParams creates a new GetSovereigntyStructuresParams 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 NewGetSovereigntyStructuresParamsWithContext

func NewGetSovereigntyStructuresParamsWithContext(ctx context.Context) *GetSovereigntyStructuresParams

NewGetSovereigntyStructuresParamsWithContext creates a new GetSovereigntyStructuresParams object with the ability to set a context for a request.

func NewGetSovereigntyStructuresParamsWithHTTPClient

func NewGetSovereigntyStructuresParamsWithHTTPClient(client *http.Client) *GetSovereigntyStructuresParams

NewGetSovereigntyStructuresParamsWithHTTPClient creates a new GetSovereigntyStructuresParams object with the ability to set a custom HTTPClient for a request.

func NewGetSovereigntyStructuresParamsWithTimeout

func NewGetSovereigntyStructuresParamsWithTimeout(timeout time.Duration) *GetSovereigntyStructuresParams

NewGetSovereigntyStructuresParamsWithTimeout creates a new GetSovereigntyStructuresParams object with the ability to set a timeout on a request.

func (*GetSovereigntyStructuresParams) SetContext

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

SetContext adds the context to the get sovereignty structures params

func (*GetSovereigntyStructuresParams) SetDatasource

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

SetDatasource adds the datasource to the get sovereignty structures params

func (*GetSovereigntyStructuresParams) SetDefaults added in v0.3.0

func (o *GetSovereigntyStructuresParams) SetDefaults()

SetDefaults hydrates default values in the get sovereignty structures params (not the query body).

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

func (*GetSovereigntyStructuresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get sovereignty structures params

func (*GetSovereigntyStructuresParams) SetIfNoneMatch

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

SetIfNoneMatch adds the ifNoneMatch to the get sovereignty structures params

func (*GetSovereigntyStructuresParams) SetTimeout

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

SetTimeout adds the timeout to the get sovereignty structures params

func (*GetSovereigntyStructuresParams) WithContext

WithContext adds the context to the get sovereignty structures params

func (*GetSovereigntyStructuresParams) WithDatasource

WithDatasource adds the datasource to the get sovereignty structures params

func (*GetSovereigntyStructuresParams) WithDefaults added in v0.3.0

WithDefaults hydrates default values in the get sovereignty structures params (not the query body).

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

func (*GetSovereigntyStructuresParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get sovereignty structures params

func (*GetSovereigntyStructuresParams) WithIfNoneMatch

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

WithIfNoneMatch adds the ifNoneMatch to the get sovereignty structures params

func (*GetSovereigntyStructuresParams) WithTimeout

WithTimeout adds the timeout to the get sovereignty structures params

func (*GetSovereigntyStructuresParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSovereigntyStructuresReader

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

GetSovereigntyStructuresReader is a Reader for the GetSovereigntyStructures structure.

func (*GetSovereigntyStructuresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSovereigntyStructuresServiceUnavailable

type GetSovereigntyStructuresServiceUnavailable struct {
	Payload *models.ServiceUnavailable
}

GetSovereigntyStructuresServiceUnavailable describes a response with status code 503, with default header values.

Service unavailable

func NewGetSovereigntyStructuresServiceUnavailable

func NewGetSovereigntyStructuresServiceUnavailable() *GetSovereigntyStructuresServiceUnavailable

NewGetSovereigntyStructuresServiceUnavailable creates a GetSovereigntyStructuresServiceUnavailable with default headers values

func (*GetSovereigntyStructuresServiceUnavailable) Code added in v0.5.29

Code gets the status code for the get sovereignty structures service unavailable response

func (*GetSovereigntyStructuresServiceUnavailable) Error

func (*GetSovereigntyStructuresServiceUnavailable) GetPayload

func (*GetSovereigntyStructuresServiceUnavailable) IsClientError added in v0.5.29

IsClientError returns true when this get sovereignty structures service unavailable response has a 4xx status code

func (*GetSovereigntyStructuresServiceUnavailable) IsCode added in v0.5.29

IsCode returns true when this get sovereignty structures service unavailable response a status code equal to that given

func (*GetSovereigntyStructuresServiceUnavailable) IsRedirect added in v0.5.29

IsRedirect returns true when this get sovereignty structures service unavailable response has a 3xx status code

func (*GetSovereigntyStructuresServiceUnavailable) IsServerError added in v0.5.29

IsServerError returns true when this get sovereignty structures service unavailable response has a 5xx status code

func (*GetSovereigntyStructuresServiceUnavailable) IsSuccess added in v0.5.29

IsSuccess returns true when this get sovereignty structures service unavailable response has a 2xx status code

func (*GetSovereigntyStructuresServiceUnavailable) String added in v0.5.29

Jump to

Keyboard shortcuts

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