Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) GetSovereigntyCampaigns(params *GetSovereigntyCampaignsParams, opts ...ClientOption) (*GetSovereigntyCampaignsOK, error)
- func (a *Client) GetSovereigntyMap(params *GetSovereigntyMapParams, opts ...ClientOption) (*GetSovereigntyMapOK, error)
- func (a *Client) GetSovereigntyStructures(params *GetSovereigntyStructuresParams, opts ...ClientOption) (*GetSovereigntyStructuresOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetSovereigntyCampaignsBadRequest
- type GetSovereigntyCampaignsEnhanceYourCalm
- type GetSovereigntyCampaignsGatewayTimeout
- type GetSovereigntyCampaignsInternalServerError
- type GetSovereigntyCampaignsNotModified
- type GetSovereigntyCampaignsOK
- type GetSovereigntyCampaignsOKBodyItems0
- func (o *GetSovereigntyCampaignsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetSovereigntyCampaignsOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetSovereigntyCampaignsOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetSovereigntyCampaignsOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0
- func (o *GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) MarshalBinary() ([]byte, error)
- func (o *GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) UnmarshalBinary(b []byte) error
- func (o *GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) Validate(formats strfmt.Registry) error
- type GetSovereigntyCampaignsParams
- func NewGetSovereigntyCampaignsParams() *GetSovereigntyCampaignsParams
- func NewGetSovereigntyCampaignsParamsWithContext(ctx context.Context) *GetSovereigntyCampaignsParams
- func NewGetSovereigntyCampaignsParamsWithHTTPClient(client *http.Client) *GetSovereigntyCampaignsParams
- func NewGetSovereigntyCampaignsParamsWithTimeout(timeout time.Duration) *GetSovereigntyCampaignsParams
- func (o *GetSovereigntyCampaignsParams) SetContext(ctx context.Context)
- func (o *GetSovereigntyCampaignsParams) SetDatasource(datasource *string)
- func (o *GetSovereigntyCampaignsParams) SetDefaults()
- func (o *GetSovereigntyCampaignsParams) SetHTTPClient(client *http.Client)
- func (o *GetSovereigntyCampaignsParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetSovereigntyCampaignsParams) SetTimeout(timeout time.Duration)
- func (o *GetSovereigntyCampaignsParams) WithContext(ctx context.Context) *GetSovereigntyCampaignsParams
- func (o *GetSovereigntyCampaignsParams) WithDatasource(datasource *string) *GetSovereigntyCampaignsParams
- func (o *GetSovereigntyCampaignsParams) WithDefaults() *GetSovereigntyCampaignsParams
- func (o *GetSovereigntyCampaignsParams) WithHTTPClient(client *http.Client) *GetSovereigntyCampaignsParams
- func (o *GetSovereigntyCampaignsParams) WithIfNoneMatch(ifNoneMatch *string) *GetSovereigntyCampaignsParams
- func (o *GetSovereigntyCampaignsParams) WithTimeout(timeout time.Duration) *GetSovereigntyCampaignsParams
- func (o *GetSovereigntyCampaignsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSovereigntyCampaignsReader
- type GetSovereigntyCampaignsServiceUnavailable
- type GetSovereigntyMapBadRequest
- type GetSovereigntyMapEnhanceYourCalm
- type GetSovereigntyMapGatewayTimeout
- type GetSovereigntyMapInternalServerError
- type GetSovereigntyMapNotModified
- type GetSovereigntyMapOK
- type GetSovereigntyMapOKBodyItems0
- func (o *GetSovereigntyMapOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetSovereigntyMapOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetSovereigntyMapOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetSovereigntyMapOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetSovereigntyMapParams
- func NewGetSovereigntyMapParams() *GetSovereigntyMapParams
- func NewGetSovereigntyMapParamsWithContext(ctx context.Context) *GetSovereigntyMapParams
- func NewGetSovereigntyMapParamsWithHTTPClient(client *http.Client) *GetSovereigntyMapParams
- func NewGetSovereigntyMapParamsWithTimeout(timeout time.Duration) *GetSovereigntyMapParams
- func (o *GetSovereigntyMapParams) SetContext(ctx context.Context)
- func (o *GetSovereigntyMapParams) SetDatasource(datasource *string)
- func (o *GetSovereigntyMapParams) SetDefaults()
- func (o *GetSovereigntyMapParams) SetHTTPClient(client *http.Client)
- func (o *GetSovereigntyMapParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetSovereigntyMapParams) SetTimeout(timeout time.Duration)
- func (o *GetSovereigntyMapParams) WithContext(ctx context.Context) *GetSovereigntyMapParams
- func (o *GetSovereigntyMapParams) WithDatasource(datasource *string) *GetSovereigntyMapParams
- func (o *GetSovereigntyMapParams) WithDefaults() *GetSovereigntyMapParams
- func (o *GetSovereigntyMapParams) WithHTTPClient(client *http.Client) *GetSovereigntyMapParams
- func (o *GetSovereigntyMapParams) WithIfNoneMatch(ifNoneMatch *string) *GetSovereigntyMapParams
- func (o *GetSovereigntyMapParams) WithTimeout(timeout time.Duration) *GetSovereigntyMapParams
- func (o *GetSovereigntyMapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSovereigntyMapReader
- type GetSovereigntyMapServiceUnavailable
- type GetSovereigntyStructuresBadRequest
- type GetSovereigntyStructuresEnhanceYourCalm
- type GetSovereigntyStructuresGatewayTimeout
- type GetSovereigntyStructuresInternalServerError
- type GetSovereigntyStructuresNotModified
- type GetSovereigntyStructuresOK
- type GetSovereigntyStructuresOKBodyItems0
- func (o *GetSovereigntyStructuresOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetSovereigntyStructuresOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetSovereigntyStructuresOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetSovereigntyStructuresOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetSovereigntyStructuresParams
- func NewGetSovereigntyStructuresParams() *GetSovereigntyStructuresParams
- func NewGetSovereigntyStructuresParamsWithContext(ctx context.Context) *GetSovereigntyStructuresParams
- func NewGetSovereigntyStructuresParamsWithHTTPClient(client *http.Client) *GetSovereigntyStructuresParams
- func NewGetSovereigntyStructuresParamsWithTimeout(timeout time.Duration) *GetSovereigntyStructuresParams
- func (o *GetSovereigntyStructuresParams) SetContext(ctx context.Context)
- func (o *GetSovereigntyStructuresParams) SetDatasource(datasource *string)
- func (o *GetSovereigntyStructuresParams) SetDefaults()
- func (o *GetSovereigntyStructuresParams) SetHTTPClient(client *http.Client)
- func (o *GetSovereigntyStructuresParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetSovereigntyStructuresParams) SetTimeout(timeout time.Duration)
- func (o *GetSovereigntyStructuresParams) WithContext(ctx context.Context) *GetSovereigntyStructuresParams
- func (o *GetSovereigntyStructuresParams) WithDatasource(datasource *string) *GetSovereigntyStructuresParams
- func (o *GetSovereigntyStructuresParams) WithDefaults() *GetSovereigntyStructuresParams
- func (o *GetSovereigntyStructuresParams) WithHTTPClient(client *http.Client) *GetSovereigntyStructuresParams
- func (o *GetSovereigntyStructuresParams) WithIfNoneMatch(ifNoneMatch *string) *GetSovereigntyStructuresParams
- func (o *GetSovereigntyStructuresParams) WithTimeout(timeout time.Duration) *GetSovereigntyStructuresParams
- func (o *GetSovereigntyStructuresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSovereigntyStructuresReader
- type GetSovereigntyStructuresServiceUnavailable
Constants ¶
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) Error ¶
func (o *GetSovereigntyCampaignsBadRequest) Error() string
func (*GetSovereigntyCampaignsBadRequest) GetPayload ¶
func (o *GetSovereigntyCampaignsBadRequest) GetPayload() *models.BadRequest
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) Error ¶
func (o *GetSovereigntyCampaignsEnhanceYourCalm) Error() string
func (*GetSovereigntyCampaignsEnhanceYourCalm) GetPayload ¶
func (o *GetSovereigntyCampaignsEnhanceYourCalm) GetPayload() *models.ErrorLimited
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) Error ¶
func (o *GetSovereigntyCampaignsGatewayTimeout) Error() string
func (*GetSovereigntyCampaignsGatewayTimeout) GetPayload ¶
func (o *GetSovereigntyCampaignsGatewayTimeout) GetPayload() *models.GatewayTimeout
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) Error ¶
func (o *GetSovereigntyCampaignsInternalServerError) Error() string
func (*GetSovereigntyCampaignsInternalServerError) GetPayload ¶
func (o *GetSovereigntyCampaignsInternalServerError) GetPayload() *models.InternalServerError
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) Error ¶
func (o *GetSovereigntyCampaignsNotModified) Error() string
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) Error ¶
func (o *GetSovereigntyCampaignsOK) Error() string
func (*GetSovereigntyCampaignsOK) GetPayload ¶
func (o *GetSovereigntyCampaignsOK) GetPayload() []*GetSovereigntyCampaignsOKBodyItems0
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
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
func (o *GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get sovereignty campaigns o k body items0 participants items0 based on context it is used
func (*GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) MarshalBinary ¶
func (o *GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) UnmarshalBinary ¶
func (o *GetSovereigntyCampaignsOKBodyItems0ParticipantsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *GetSovereigntyCampaignsParams) WithContext(ctx context.Context) *GetSovereigntyCampaignsParams
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
func (o *GetSovereigntyCampaignsParams) WithDefaults() *GetSovereigntyCampaignsParams
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 ¶
func (o *GetSovereigntyCampaignsParams) WithHTTPClient(client *http.Client) *GetSovereigntyCampaignsParams
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 ¶
func (o *GetSovereigntyCampaignsParams) WithTimeout(timeout time.Duration) *GetSovereigntyCampaignsParams
WithTimeout adds the timeout to the get sovereignty campaigns params
func (*GetSovereigntyCampaignsParams) WriteToRequest ¶
func (o *GetSovereigntyCampaignsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *GetSovereigntyCampaignsServiceUnavailable) Error() string
func (*GetSovereigntyCampaignsServiceUnavailable) GetPayload ¶
func (o *GetSovereigntyCampaignsServiceUnavailable) GetPayload() *models.ServiceUnavailable
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) Error ¶
func (o *GetSovereigntyMapBadRequest) Error() string
func (*GetSovereigntyMapBadRequest) GetPayload ¶
func (o *GetSovereigntyMapBadRequest) GetPayload() *models.BadRequest
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) Error ¶
func (o *GetSovereigntyMapEnhanceYourCalm) Error() string
func (*GetSovereigntyMapEnhanceYourCalm) GetPayload ¶
func (o *GetSovereigntyMapEnhanceYourCalm) GetPayload() *models.ErrorLimited
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) Error ¶
func (o *GetSovereigntyMapGatewayTimeout) Error() string
func (*GetSovereigntyMapGatewayTimeout) GetPayload ¶
func (o *GetSovereigntyMapGatewayTimeout) GetPayload() *models.GatewayTimeout
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) Error ¶
func (o *GetSovereigntyMapInternalServerError) Error() string
func (*GetSovereigntyMapInternalServerError) GetPayload ¶
func (o *GetSovereigntyMapInternalServerError) GetPayload() *models.InternalServerError
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) Error ¶
func (o *GetSovereigntyMapNotModified) Error() string
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) Error ¶
func (o *GetSovereigntyMapOK) Error() string
func (*GetSovereigntyMapOK) GetPayload ¶
func (o *GetSovereigntyMapOK) GetPayload() []*GetSovereigntyMapOKBodyItems0
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
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 ¶
func (o *GetSovereigntyMapParams) WithContext(ctx context.Context) *GetSovereigntyMapParams
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
func (o *GetSovereigntyMapParams) WithDefaults() *GetSovereigntyMapParams
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 ¶
func (o *GetSovereigntyMapParams) WithTimeout(timeout time.Duration) *GetSovereigntyMapParams
WithTimeout adds the timeout to the get sovereignty map params
func (*GetSovereigntyMapParams) WriteToRequest ¶
func (o *GetSovereigntyMapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *GetSovereigntyMapServiceUnavailable) Error() string
func (*GetSovereigntyMapServiceUnavailable) GetPayload ¶
func (o *GetSovereigntyMapServiceUnavailable) GetPayload() *models.ServiceUnavailable
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) Error ¶
func (o *GetSovereigntyStructuresBadRequest) Error() string
func (*GetSovereigntyStructuresBadRequest) GetPayload ¶
func (o *GetSovereigntyStructuresBadRequest) GetPayload() *models.BadRequest
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) Error ¶
func (o *GetSovereigntyStructuresEnhanceYourCalm) Error() string
func (*GetSovereigntyStructuresEnhanceYourCalm) GetPayload ¶
func (o *GetSovereigntyStructuresEnhanceYourCalm) GetPayload() *models.ErrorLimited
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) Error ¶
func (o *GetSovereigntyStructuresGatewayTimeout) Error() string
func (*GetSovereigntyStructuresGatewayTimeout) GetPayload ¶
func (o *GetSovereigntyStructuresGatewayTimeout) GetPayload() *models.GatewayTimeout
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) Error ¶
func (o *GetSovereigntyStructuresInternalServerError) Error() string
func (*GetSovereigntyStructuresInternalServerError) GetPayload ¶
func (o *GetSovereigntyStructuresInternalServerError) GetPayload() *models.InternalServerError
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) Error ¶
func (o *GetSovereigntyStructuresNotModified) Error() string
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) Error ¶
func (o *GetSovereigntyStructuresOK) Error() string
func (*GetSovereigntyStructuresOK) GetPayload ¶
func (o *GetSovereigntyStructuresOK) GetPayload() []*GetSovereigntyStructuresOKBodyItems0
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
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 ¶
func (o *GetSovereigntyStructuresParams) WithContext(ctx context.Context) *GetSovereigntyStructuresParams
WithContext adds the context to the get sovereignty structures params
func (*GetSovereigntyStructuresParams) WithDatasource ¶
func (o *GetSovereigntyStructuresParams) WithDatasource(datasource *string) *GetSovereigntyStructuresParams
WithDatasource adds the datasource to the get sovereignty structures params
func (*GetSovereigntyStructuresParams) WithDefaults ¶ added in v0.3.0
func (o *GetSovereigntyStructuresParams) WithDefaults() *GetSovereigntyStructuresParams
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 ¶
func (o *GetSovereigntyStructuresParams) WithHTTPClient(client *http.Client) *GetSovereigntyStructuresParams
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 ¶
func (o *GetSovereigntyStructuresParams) WithTimeout(timeout time.Duration) *GetSovereigntyStructuresParams
WithTimeout adds the timeout to the get sovereignty structures params
func (*GetSovereigntyStructuresParams) WriteToRequest ¶
func (o *GetSovereigntyStructuresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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) Error ¶
func (o *GetSovereigntyStructuresServiceUnavailable) Error() string
func (*GetSovereigntyStructuresServiceUnavailable) GetPayload ¶
func (o *GetSovereigntyStructuresServiceUnavailable) GetPayload() *models.ServiceUnavailable