rhsm

package
v0.0.0-...-00bf384 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package rhsm provides primitives to interact the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.

Index

Constants

View Source
const (
	BearerScopes = "Bearer.Scopes"
)

Variables

This section is empty.

Functions

func NewAddProviderAccountsRequest

func NewAddProviderAccountsRequest(server string, providerShortName string, body AddProviderAccountsJSONRequestBody) (*http.Request, error)

NewAddProviderAccountsRequest calls the generic AddProviderAccounts builder with application/json body

func NewAddProviderAccountsRequestWithBody

func NewAddProviderAccountsRequestWithBody(server string, providerShortName string, contentType string, body io.Reader) (*http.Request, error)

NewAddProviderAccountsRequestWithBody generates requests for AddProviderAccounts with any type of body

func NewAttachEntitlementAllocationRequest

func NewAttachEntitlementAllocationRequest(server string, allocationUUID string, params *AttachEntitlementAllocationParams) (*http.Request, error)

NewAttachEntitlementAllocationRequest generates requests for AttachEntitlementAllocation

func NewAttachEntitlementRequest

func NewAttachEntitlementRequest(server string, systemUUID string, params *AttachEntitlementParams) (*http.Request, error)

NewAttachEntitlementRequest generates requests for AttachEntitlement

func NewCreateSatelliteRequest

func NewCreateSatelliteRequest(server string, params *CreateSatelliteParams) (*http.Request, error)

NewCreateSatelliteRequest generates requests for CreateSatellite

func NewDownloadImageRequest

func NewDownloadImageRequest(server string, checksum string) (*http.Request, error)

NewDownloadImageRequest generates requests for DownloadImage

func NewDownloadPackageRequest

func NewDownloadPackageRequest(server string, checksum string) (*http.Request, error)

NewDownloadPackageRequest generates requests for DownloadPackage

func NewEnableGoldImagesRequest

func NewEnableGoldImagesRequest(server string, providerShortName string, body EnableGoldImagesJSONRequestBody) (*http.Request, error)

NewEnableGoldImagesRequest calls the generic EnableGoldImages builder with application/json body

func NewEnableGoldImagesRequestWithBody

func NewEnableGoldImagesRequestWithBody(server string, providerShortName string, contentType string, body io.Reader) (*http.Request, error)

NewEnableGoldImagesRequestWithBody generates requests for EnableGoldImages with any type of body

func NewExportAllocationRequest

func NewExportAllocationRequest(server string, allocationUUID string) (*http.Request, error)

NewExportAllocationRequest generates requests for ExportAllocation

func NewExportJobAllocationRequest

func NewExportJobAllocationRequest(server string, allocationUUID string, exportJobID string) (*http.Request, error)

NewExportJobAllocationRequest generates requests for ExportJobAllocation

func NewGetExportAllocationRequest

func NewGetExportAllocationRequest(server string, allocationUUID string, exportID string) (*http.Request, error)

NewGetExportAllocationRequest generates requests for GetExportAllocation

func NewListAllocationPoolsRequest

func NewListAllocationPoolsRequest(server string, allocationUUID string, params *ListAllocationPoolsParams) (*http.Request, error)

NewListAllocationPoolsRequest generates requests for ListAllocationPools

func NewListAllocationsRequest

func NewListAllocationsRequest(server string, params *ListAllocationsParams) (*http.Request, error)

NewListAllocationsRequest generates requests for ListAllocations

func NewListEnabledCloudAccessProvidersRequest

func NewListEnabledCloudAccessProvidersRequest(server string) (*http.Request, error)

NewListEnabledCloudAccessProvidersRequest generates requests for ListEnabledCloudAccessProviders

func NewListErrataByContentSetArchRequest

func NewListErrataByContentSetArchRequest(server string, contentSet string, arch string, params *ListErrataByContentSetArchParams) (*http.Request, error)

NewListErrataByContentSetArchRequest generates requests for ListErrataByContentSetArch

func NewListErrataRequest

func NewListErrataRequest(server string, params *ListErrataParams) (*http.Request, error)

NewListErrataRequest generates requests for ListErrata

func NewListErratumPackagesRequest

func NewListErratumPackagesRequest(server string, advisoryID string, params *ListErratumPackagesParams) (*http.Request, error)

NewListErratumPackagesRequest generates requests for ListErratumPackages

func NewListErratumSystemsRequest

func NewListErratumSystemsRequest(server string, advisoryID string, params *ListErratumSystemsParams) (*http.Request, error)

NewListErratumSystemsRequest generates requests for ListErratumSystems

func NewListImagesByContentSetRequest

func NewListImagesByContentSetRequest(server string, contentSet string, params *ListImagesByContentSetParams) (*http.Request, error)

NewListImagesByContentSetRequest generates requests for ListImagesByContentSet

func NewListPackagesByContentSetArchRequest

func NewListPackagesByContentSetArchRequest(server string, contentSet string, arch string, params *ListPackagesByContentSetArchParams) (*http.Request, error)

NewListPackagesByContentSetArchRequest generates requests for ListPackagesByContentSetArch

func NewListSubContentSetsRequest

func NewListSubContentSetsRequest(server string, subscriptionNumber string, params *ListSubContentSetsParams) (*http.Request, error)

NewListSubContentSetsRequest generates requests for ListSubContentSets

func NewListSubSystemsRequest

func NewListSubSystemsRequest(server string, subscriptionNumber string, params *ListSubSystemsParams) (*http.Request, error)

NewListSubSystemsRequest generates requests for ListSubSystems

func NewListSubscriptionsRequest

func NewListSubscriptionsRequest(server string, params *ListSubscriptionsParams) (*http.Request, error)

NewListSubscriptionsRequest generates requests for ListSubscriptions

func NewListSystemErrataRequest

func NewListSystemErrataRequest(server string, systemUUID string, params *ListSystemErrataParams) (*http.Request, error)

NewListSystemErrataRequest generates requests for ListSystemErrata

func NewListSystemPackagesRequest

func NewListSystemPackagesRequest(server string, systemUUID string, params *ListSystemPackagesParams) (*http.Request, error)

NewListSystemPackagesRequest generates requests for ListSystemPackages

func NewListSystemPoolsRequest

func NewListSystemPoolsRequest(server string, systemUUID string, params *ListSystemPoolsParams) (*http.Request, error)

NewListSystemPoolsRequest generates requests for ListSystemPools

func NewListSystemsRequest

func NewListSystemsRequest(server string, params *ListSystemsParams) (*http.Request, error)

NewListSystemsRequest generates requests for ListSystems

func NewRemoveAllocationEntitlementRequest

func NewRemoveAllocationEntitlementRequest(server string, allocationUUID string, entitlementID string) (*http.Request, error)

NewRemoveAllocationEntitlementRequest generates requests for RemoveAllocationEntitlement

func NewRemoveAllocationRequest

func NewRemoveAllocationRequest(server string, allocationUUID string, params *RemoveAllocationParams) (*http.Request, error)

NewRemoveAllocationRequest generates requests for RemoveAllocation

func NewRemoveProviderAccountRequest

func NewRemoveProviderAccountRequest(server string, providerShortName string, body RemoveProviderAccountJSONRequestBody) (*http.Request, error)

NewRemoveProviderAccountRequest calls the generic RemoveProviderAccount builder with application/json body

func NewRemoveProviderAccountRequestWithBody

func NewRemoveProviderAccountRequestWithBody(server string, providerShortName string, contentType string, body io.Reader) (*http.Request, error)

NewRemoveProviderAccountRequestWithBody generates requests for RemoveProviderAccount with any type of body

func NewRemoveSystemEntitlementRequest

func NewRemoveSystemEntitlementRequest(server string, systemUUID string, entitlementID string) (*http.Request, error)

NewRemoveSystemEntitlementRequest generates requests for RemoveSystemEntitlement

func NewRemoveSystemRequest

func NewRemoveSystemRequest(server string, systemUUID string) (*http.Request, error)

NewRemoveSystemRequest generates requests for RemoveSystem

func NewShowAllocationRequest

func NewShowAllocationRequest(server string, allocationUUID string, params *ShowAllocationParams) (*http.Request, error)

NewShowAllocationRequest generates requests for ShowAllocation

func NewShowErratumRequest

func NewShowErratumRequest(server string, advisoryID string) (*http.Request, error)

NewShowErratumRequest generates requests for ShowErratum

func NewShowPackageRequest

func NewShowPackageRequest(server string, checksum string) (*http.Request, error)

NewShowPackageRequest generates requests for ShowPackage

func NewShowSystemRequest

func NewShowSystemRequest(server string, systemUUID string, params *ShowSystemParams) (*http.Request, error)

NewShowSystemRequest generates requests for ShowSystem

func NewUpdateEntitlementAllocationRequest

func NewUpdateEntitlementAllocationRequest(server string, allocationUUID string, entitlementUUID string, params *UpdateEntitlementAllocationParams) (*http.Request, error)

NewUpdateEntitlementAllocationRequest generates requests for UpdateEntitlementAllocation

func NewUpdateProviderAccountRequest

func NewUpdateProviderAccountRequest(server string, providerShortName string, body UpdateProviderAccountJSONRequestBody) (*http.Request, error)

NewUpdateProviderAccountRequest calls the generic UpdateProviderAccount builder with application/json body

func NewUpdateProviderAccountRequestWithBody

func NewUpdateProviderAccountRequestWithBody(server string, providerShortName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateProviderAccountRequestWithBody generates requests for UpdateProviderAccount with any type of body

func NewVerifyProviderAccountRequest

func NewVerifyProviderAccountRequest(server string, providerShortName string, accountID string, body VerifyProviderAccountJSONRequestBody) (*http.Request, error)

NewVerifyProviderAccountRequest calls the generic VerifyProviderAccount builder with application/json body

func NewVerifyProviderAccountRequestWithBody

func NewVerifyProviderAccountRequestWithBody(server string, providerShortName string, accountID string, contentType string, body io.Reader) (*http.Request, error)

NewVerifyProviderAccountRequestWithBody generates requests for VerifyProviderAccount with any type of body

Types

type APIPageParam

type APIPageParam struct {
	Count  *int `json:"count,omitempty"`
	Limit  *int `json:"limit,omitempty"`
	Offset *int `json:"offset,omitempty"`
}

APIPageParam defines model for APIPageParam.

type AddProviderAccount

type AddProviderAccount struct {
	Id       *string `json:"id,omitempty"`
	Nickname *string `json:"nickname,omitempty"`
}

AddProviderAccount defines model for AddProviderAccount.

type AddProviderAccountsJSONBody

type AddProviderAccountsJSONBody []AddProviderAccount

AddProviderAccountsJSONBody defines parameters for AddProviderAccounts.

type AddProviderAccountsJSONRequestBody

type AddProviderAccountsJSONRequestBody AddProviderAccountsJSONBody

AddProviderAccountsJSONRequestBody defines body for AddProviderAccounts for application/json ContentType.

type AddProviderAccountsResponse

type AddProviderAccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseAddProviderAccountsResponse

func ParseAddProviderAccountsResponse(rsp *http.Response) (*AddProviderAccountsResponse, error)

ParseAddProviderAccountsResponse parses an HTTP response from a AddProviderAccountsWithResponse call

func (AddProviderAccountsResponse) Status

Status returns HTTPResponse.Status

func (AddProviderAccountsResponse) StatusCode

func (r AddProviderAccountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Allocation

type Allocation struct {
	EntitlementQuantity *int    `json:"entitlementQuantity,omitempty"`
	Name                *string `json:"name,omitempty"`
	Type                *string `json:"type,omitempty"`
	Url                 *string `json:"url,omitempty"`
	Uuid                *string `json:"uuid,omitempty"`
	Version             *string `json:"version,omitempty"`
}

Allocation defines model for Allocation.

type AllocationDetails

type AllocationDetails struct {
	ContentAccessMode *string `json:"contentAccessMode,omitempty"`
	CreatedBy         *string `json:"createdBy,omitempty"`

	// Date represents the date format used for API returns
	CreatedDate *Date `json:"createdDate,omitempty"`

	// EntitlementsAttachedResponse wraps data obtained for EntitlementsAttached and sends metadata about it using helpers.OptionalResult
	EntitlementsAttached         *EntitlementsAttachedResponse `json:"entitlementsAttached,omitempty"`
	EntitlementsAttachedQuantity *int                          `json:"entitlementsAttachedQuantity,omitempty"`

	// Date represents the date format used for API returns
	LastModified *Date   `json:"lastModified,omitempty"`
	Name         *string `json:"name,omitempty"`
	Type         *string `json:"type,omitempty"`
	Uuid         *string `json:"uuid,omitempty"`
	Version      *string `json:"version,omitempty"`
}

AllocationDetails defines model for AllocationDetails.

type AttachEntitlementAllocationParams

type AttachEntitlementAllocationParams struct {
	Pool string `json:"pool"`

	// quantity you want to attach
	Quantity *int `json:"quantity,omitempty"`
}

AttachEntitlementAllocationParams defines parameters for AttachEntitlementAllocation.

type AttachEntitlementAllocationResponse

type AttachEntitlementAllocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {

		// details of a subscription allocation
		Body *AllocationDetails `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseAttachEntitlementAllocationResponse

func ParseAttachEntitlementAllocationResponse(rsp *http.Response) (*AttachEntitlementAllocationResponse, error)

ParseAttachEntitlementAllocationResponse parses an HTTP response from a AttachEntitlementAllocationWithResponse call

func (AttachEntitlementAllocationResponse) Status

Status returns HTTPResponse.Status

func (AttachEntitlementAllocationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AttachEntitlementParams

type AttachEntitlementParams struct {
	Pool string `json:"pool"`

	// quantity you want to attach
	Quantity *int `json:"quantity,omitempty"`
}

AttachEntitlementParams defines parameters for AttachEntitlement.

type AttachEntitlementResponse

type AttachEntitlementResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *System `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseAttachEntitlementResponse

func ParseAttachEntitlementResponse(rsp *http.Response) (*AttachEntitlementResponse, error)

ParseAttachEntitlementResponse parses an HTTP response from a AttachEntitlementWithResponse call

func (AttachEntitlementResponse) Status

func (r AttachEntitlementResponse) Status() string

Status returns HTTPResponse.Status

func (AttachEntitlementResponse) StatusCode

func (r AttachEntitlementResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AddProviderAccounts

func (c *Client) AddProviderAccounts(ctx context.Context, providerShortName string, body AddProviderAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddProviderAccountsWithBody

func (c *Client) AddProviderAccountsWithBody(ctx context.Context, providerShortName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AttachEntitlement

func (c *Client) AttachEntitlement(ctx context.Context, systemUUID string, params *AttachEntitlementParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AttachEntitlementAllocation

func (c *Client) AttachEntitlementAllocation(ctx context.Context, allocationUUID string, params *AttachEntitlementAllocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSatellite

func (c *Client) CreateSatellite(ctx context.Context, params *CreateSatelliteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadImage

func (c *Client) DownloadImage(ctx context.Context, checksum string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadPackage

func (c *Client) DownloadPackage(ctx context.Context, checksum string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EnableGoldImages

func (c *Client) EnableGoldImages(ctx context.Context, providerShortName string, body EnableGoldImagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EnableGoldImagesWithBody

func (c *Client) EnableGoldImagesWithBody(ctx context.Context, providerShortName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportAllocation

func (c *Client) ExportAllocation(ctx context.Context, allocationUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExportJobAllocation

func (c *Client) ExportJobAllocation(ctx context.Context, allocationUUID string, exportJobID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetExportAllocation

func (c *Client) GetExportAllocation(ctx context.Context, allocationUUID string, exportID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAllocationPools

func (c *Client) ListAllocationPools(ctx context.Context, allocationUUID string, params *ListAllocationPoolsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAllocations

func (c *Client) ListAllocations(ctx context.Context, params *ListAllocationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListEnabledCloudAccessProviders

func (c *Client) ListEnabledCloudAccessProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListErrata

func (c *Client) ListErrata(ctx context.Context, params *ListErrataParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListErrataByContentSetArch

func (c *Client) ListErrataByContentSetArch(ctx context.Context, contentSet string, arch string, params *ListErrataByContentSetArchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListErratumPackages

func (c *Client) ListErratumPackages(ctx context.Context, advisoryID string, params *ListErratumPackagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListErratumSystems

func (c *Client) ListErratumSystems(ctx context.Context, advisoryID string, params *ListErratumSystemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListImagesByContentSet

func (c *Client) ListImagesByContentSet(ctx context.Context, contentSet string, params *ListImagesByContentSetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPackagesByContentSetArch

func (c *Client) ListPackagesByContentSetArch(ctx context.Context, contentSet string, arch string, params *ListPackagesByContentSetArchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSubContentSets

func (c *Client) ListSubContentSets(ctx context.Context, subscriptionNumber string, params *ListSubContentSetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSubSystems

func (c *Client) ListSubSystems(ctx context.Context, subscriptionNumber string, params *ListSubSystemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSubscriptions

func (c *Client) ListSubscriptions(ctx context.Context, params *ListSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSystemErrata

func (c *Client) ListSystemErrata(ctx context.Context, systemUUID string, params *ListSystemErrataParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSystemPackages

func (c *Client) ListSystemPackages(ctx context.Context, systemUUID string, params *ListSystemPackagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSystemPools

func (c *Client) ListSystemPools(ctx context.Context, systemUUID string, params *ListSystemPoolsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSystems

func (c *Client) ListSystems(ctx context.Context, params *ListSystemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveAllocation

func (c *Client) RemoveAllocation(ctx context.Context, allocationUUID string, params *RemoveAllocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveAllocationEntitlement

func (c *Client) RemoveAllocationEntitlement(ctx context.Context, allocationUUID string, entitlementID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveProviderAccount

func (c *Client) RemoveProviderAccount(ctx context.Context, providerShortName string, body RemoveProviderAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveProviderAccountWithBody

func (c *Client) RemoveProviderAccountWithBody(ctx context.Context, providerShortName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveSystem

func (c *Client) RemoveSystem(ctx context.Context, systemUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RemoveSystemEntitlement

func (c *Client) RemoveSystemEntitlement(ctx context.Context, systemUUID string, entitlementID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ShowAllocation

func (c *Client) ShowAllocation(ctx context.Context, allocationUUID string, params *ShowAllocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ShowErratum

func (c *Client) ShowErratum(ctx context.Context, advisoryID string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ShowPackage

func (c *Client) ShowPackage(ctx context.Context, checksum string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ShowSystem

func (c *Client) ShowSystem(ctx context.Context, systemUUID string, params *ShowSystemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEntitlementAllocation

func (c *Client) UpdateEntitlementAllocation(ctx context.Context, allocationUUID string, entitlementUUID string, params *UpdateEntitlementAllocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProviderAccount

func (c *Client) UpdateProviderAccount(ctx context.Context, providerShortName string, body UpdateProviderAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProviderAccountWithBody

func (c *Client) UpdateProviderAccountWithBody(ctx context.Context, providerShortName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VerifyProviderAccount

func (c *Client) VerifyProviderAccount(ctx context.Context, providerShortName string, accountID string, body VerifyProviderAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) VerifyProviderAccountWithBody

func (c *Client) VerifyProviderAccountWithBody(ctx context.Context, providerShortName string, accountID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListAllocations request
	ListAllocations(ctx context.Context, params *ListAllocationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSatellite request
	CreateSatellite(ctx context.Context, params *CreateSatelliteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveAllocation request
	RemoveAllocation(ctx context.Context, allocationUUID string, params *RemoveAllocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ShowAllocation request
	ShowAllocation(ctx context.Context, allocationUUID string, params *ShowAllocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AttachEntitlementAllocation request
	AttachEntitlementAllocation(ctx context.Context, allocationUUID string, params *AttachEntitlementAllocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateEntitlementAllocation request
	UpdateEntitlementAllocation(ctx context.Context, allocationUUID string, entitlementUUID string, params *UpdateEntitlementAllocationParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportAllocation request
	ExportAllocation(ctx context.Context, allocationUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetExportAllocation request
	GetExportAllocation(ctx context.Context, allocationUUID string, exportID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportJobAllocation request
	ExportJobAllocation(ctx context.Context, allocationUUID string, exportJobID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAllocationPools request
	ListAllocationPools(ctx context.Context, allocationUUID string, params *ListAllocationPoolsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveAllocationEntitlement request
	RemoveAllocationEntitlement(ctx context.Context, allocationUUID string, entitlementID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListEnabledCloudAccessProviders request
	ListEnabledCloudAccessProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProviderAccount request  with any body
	UpdateProviderAccountWithBody(ctx context.Context, providerShortName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateProviderAccount(ctx context.Context, providerShortName string, body UpdateProviderAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveProviderAccount request  with any body
	RemoveProviderAccountWithBody(ctx context.Context, providerShortName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RemoveProviderAccount(ctx context.Context, providerShortName string, body RemoveProviderAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddProviderAccounts request  with any body
	AddProviderAccountsWithBody(ctx context.Context, providerShortName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AddProviderAccounts(ctx context.Context, providerShortName string, body AddProviderAccountsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyProviderAccount request  with any body
	VerifyProviderAccountWithBody(ctx context.Context, providerShortName string, accountID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	VerifyProviderAccount(ctx context.Context, providerShortName string, accountID string, body VerifyProviderAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnableGoldImages request  with any body
	EnableGoldImagesWithBody(ctx context.Context, providerShortName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EnableGoldImages(ctx context.Context, providerShortName string, body EnableGoldImagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListErrata request
	ListErrata(ctx context.Context, params *ListErrataParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListErrataByContentSetArch request
	ListErrataByContentSetArch(ctx context.Context, contentSet string, arch string, params *ListErrataByContentSetArchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ShowErratum request
	ShowErratum(ctx context.Context, advisoryID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListErratumPackages request
	ListErratumPackages(ctx context.Context, advisoryID string, params *ListErratumPackagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListErratumSystems request
	ListErratumSystems(ctx context.Context, advisoryID string, params *ListErratumSystemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListImagesByContentSet request
	ListImagesByContentSet(ctx context.Context, contentSet string, params *ListImagesByContentSetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadImage request
	DownloadImage(ctx context.Context, checksum string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPackagesByContentSetArch request
	ListPackagesByContentSetArch(ctx context.Context, contentSet string, arch string, params *ListPackagesByContentSetArchParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ShowPackage request
	ShowPackage(ctx context.Context, checksum string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadPackage request
	DownloadPackage(ctx context.Context, checksum string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSubscriptions request
	ListSubscriptions(ctx context.Context, params *ListSubscriptionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSubContentSets request
	ListSubContentSets(ctx context.Context, subscriptionNumber string, params *ListSubContentSetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSubSystems request
	ListSubSystems(ctx context.Context, subscriptionNumber string, params *ListSubSystemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSystems request
	ListSystems(ctx context.Context, params *ListSystemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveSystem request
	RemoveSystem(ctx context.Context, systemUUID string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ShowSystem request
	ShowSystem(ctx context.Context, systemUUID string, params *ShowSystemParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AttachEntitlement request
	AttachEntitlement(ctx context.Context, systemUUID string, params *AttachEntitlementParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSystemErrata request
	ListSystemErrata(ctx context.Context, systemUUID string, params *ListSystemErrataParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSystemPackages request
	ListSystemPackages(ctx context.Context, systemUUID string, params *ListSystemPackagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSystemPools request
	ListSystemPools(ctx context.Context, systemUUID string, params *ListSystemPoolsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveSystemEntitlement request
	RemoveSystemEntitlement(ctx context.Context, systemUUID string, entitlementID string, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AddProviderAccountsWithBodyWithResponse

func (c *ClientWithResponses) AddProviderAccountsWithBodyWithResponse(ctx context.Context, providerShortName string, contentType string, body io.Reader) (*AddProviderAccountsResponse, error)

AddProviderAccountsWithBodyWithResponse request with arbitrary body returning *AddProviderAccountsResponse

func (*ClientWithResponses) AddProviderAccountsWithResponse

func (c *ClientWithResponses) AddProviderAccountsWithResponse(ctx context.Context, providerShortName string, body AddProviderAccountsJSONRequestBody) (*AddProviderAccountsResponse, error)

func (*ClientWithResponses) AttachEntitlementAllocationWithResponse

func (c *ClientWithResponses) AttachEntitlementAllocationWithResponse(ctx context.Context, allocationUUID string, params *AttachEntitlementAllocationParams) (*AttachEntitlementAllocationResponse, error)

AttachEntitlementAllocationWithResponse request returning *AttachEntitlementAllocationResponse

func (*ClientWithResponses) AttachEntitlementWithResponse

func (c *ClientWithResponses) AttachEntitlementWithResponse(ctx context.Context, systemUUID string, params *AttachEntitlementParams) (*AttachEntitlementResponse, error)

AttachEntitlementWithResponse request returning *AttachEntitlementResponse

func (*ClientWithResponses) CreateSatelliteWithResponse

func (c *ClientWithResponses) CreateSatelliteWithResponse(ctx context.Context, params *CreateSatelliteParams) (*CreateSatelliteResponse, error)

CreateSatelliteWithResponse request returning *CreateSatelliteResponse

func (*ClientWithResponses) DownloadImageWithResponse

func (c *ClientWithResponses) DownloadImageWithResponse(ctx context.Context, checksum string) (*DownloadImageResponse, error)

DownloadImageWithResponse request returning *DownloadImageResponse

func (*ClientWithResponses) DownloadPackageWithResponse

func (c *ClientWithResponses) DownloadPackageWithResponse(ctx context.Context, checksum string) (*DownloadPackageResponse, error)

DownloadPackageWithResponse request returning *DownloadPackageResponse

func (*ClientWithResponses) EnableGoldImagesWithBodyWithResponse

func (c *ClientWithResponses) EnableGoldImagesWithBodyWithResponse(ctx context.Context, providerShortName string, contentType string, body io.Reader) (*EnableGoldImagesResponse, error)

EnableGoldImagesWithBodyWithResponse request with arbitrary body returning *EnableGoldImagesResponse

func (*ClientWithResponses) EnableGoldImagesWithResponse

func (c *ClientWithResponses) EnableGoldImagesWithResponse(ctx context.Context, providerShortName string, body EnableGoldImagesJSONRequestBody) (*EnableGoldImagesResponse, error)

func (*ClientWithResponses) ExportAllocationWithResponse

func (c *ClientWithResponses) ExportAllocationWithResponse(ctx context.Context, allocationUUID string) (*ExportAllocationResponse, error)

ExportAllocationWithResponse request returning *ExportAllocationResponse

func (*ClientWithResponses) ExportJobAllocationWithResponse

func (c *ClientWithResponses) ExportJobAllocationWithResponse(ctx context.Context, allocationUUID string, exportJobID string) (*ExportJobAllocationResponse, error)

ExportJobAllocationWithResponse request returning *ExportJobAllocationResponse

func (*ClientWithResponses) GetExportAllocationWithResponse

func (c *ClientWithResponses) GetExportAllocationWithResponse(ctx context.Context, allocationUUID string, exportID string) (*GetExportAllocationResponse, error)

GetExportAllocationWithResponse request returning *GetExportAllocationResponse

func (*ClientWithResponses) ListAllocationPoolsWithResponse

func (c *ClientWithResponses) ListAllocationPoolsWithResponse(ctx context.Context, allocationUUID string, params *ListAllocationPoolsParams) (*ListAllocationPoolsResponse, error)

ListAllocationPoolsWithResponse request returning *ListAllocationPoolsResponse

func (*ClientWithResponses) ListAllocationsWithResponse

func (c *ClientWithResponses) ListAllocationsWithResponse(ctx context.Context, params *ListAllocationsParams) (*ListAllocationsResponse, error)

ListAllocationsWithResponse request returning *ListAllocationsResponse

func (*ClientWithResponses) ListEnabledCloudAccessProvidersWithResponse

func (c *ClientWithResponses) ListEnabledCloudAccessProvidersWithResponse(ctx context.Context) (*ListEnabledCloudAccessProvidersResponse, error)

ListEnabledCloudAccessProvidersWithResponse request returning *ListEnabledCloudAccessProvidersResponse

func (*ClientWithResponses) ListErrataByContentSetArchWithResponse

func (c *ClientWithResponses) ListErrataByContentSetArchWithResponse(ctx context.Context, contentSet string, arch string, params *ListErrataByContentSetArchParams) (*ListErrataByContentSetArchResponse, error)

ListErrataByContentSetArchWithResponse request returning *ListErrataByContentSetArchResponse

func (*ClientWithResponses) ListErrataWithResponse

func (c *ClientWithResponses) ListErrataWithResponse(ctx context.Context, params *ListErrataParams) (*ListErrataResponse, error)

ListErrataWithResponse request returning *ListErrataResponse

func (*ClientWithResponses) ListErratumPackagesWithResponse

func (c *ClientWithResponses) ListErratumPackagesWithResponse(ctx context.Context, advisoryID string, params *ListErratumPackagesParams) (*ListErratumPackagesResponse, error)

ListErratumPackagesWithResponse request returning *ListErratumPackagesResponse

func (*ClientWithResponses) ListErratumSystemsWithResponse

func (c *ClientWithResponses) ListErratumSystemsWithResponse(ctx context.Context, advisoryID string, params *ListErratumSystemsParams) (*ListErratumSystemsResponse, error)

ListErratumSystemsWithResponse request returning *ListErratumSystemsResponse

func (*ClientWithResponses) ListImagesByContentSetWithResponse

func (c *ClientWithResponses) ListImagesByContentSetWithResponse(ctx context.Context, contentSet string, params *ListImagesByContentSetParams) (*ListImagesByContentSetResponse, error)

ListImagesByContentSetWithResponse request returning *ListImagesByContentSetResponse

func (*ClientWithResponses) ListPackagesByContentSetArchWithResponse

func (c *ClientWithResponses) ListPackagesByContentSetArchWithResponse(ctx context.Context, contentSet string, arch string, params *ListPackagesByContentSetArchParams) (*ListPackagesByContentSetArchResponse, error)

ListPackagesByContentSetArchWithResponse request returning *ListPackagesByContentSetArchResponse

func (*ClientWithResponses) ListSubContentSetsWithResponse

func (c *ClientWithResponses) ListSubContentSetsWithResponse(ctx context.Context, subscriptionNumber string, params *ListSubContentSetsParams) (*ListSubContentSetsResponse, error)

ListSubContentSetsWithResponse request returning *ListSubContentSetsResponse

func (*ClientWithResponses) ListSubSystemsWithResponse

func (c *ClientWithResponses) ListSubSystemsWithResponse(ctx context.Context, subscriptionNumber string, params *ListSubSystemsParams) (*ListSubSystemsResponse, error)

ListSubSystemsWithResponse request returning *ListSubSystemsResponse

func (*ClientWithResponses) ListSubscriptionsWithResponse

func (c *ClientWithResponses) ListSubscriptionsWithResponse(ctx context.Context, params *ListSubscriptionsParams) (*ListSubscriptionsResponse, error)

ListSubscriptionsWithResponse request returning *ListSubscriptionsResponse

func (*ClientWithResponses) ListSystemErrataWithResponse

func (c *ClientWithResponses) ListSystemErrataWithResponse(ctx context.Context, systemUUID string, params *ListSystemErrataParams) (*ListSystemErrataResponse, error)

ListSystemErrataWithResponse request returning *ListSystemErrataResponse

func (*ClientWithResponses) ListSystemPackagesWithResponse

func (c *ClientWithResponses) ListSystemPackagesWithResponse(ctx context.Context, systemUUID string, params *ListSystemPackagesParams) (*ListSystemPackagesResponse, error)

ListSystemPackagesWithResponse request returning *ListSystemPackagesResponse

func (*ClientWithResponses) ListSystemPoolsWithResponse

func (c *ClientWithResponses) ListSystemPoolsWithResponse(ctx context.Context, systemUUID string, params *ListSystemPoolsParams) (*ListSystemPoolsResponse, error)

ListSystemPoolsWithResponse request returning *ListSystemPoolsResponse

func (*ClientWithResponses) ListSystemsWithResponse

func (c *ClientWithResponses) ListSystemsWithResponse(ctx context.Context, params *ListSystemsParams) (*ListSystemsResponse, error)

ListSystemsWithResponse request returning *ListSystemsResponse

func (*ClientWithResponses) RemoveAllocationEntitlementWithResponse

func (c *ClientWithResponses) RemoveAllocationEntitlementWithResponse(ctx context.Context, allocationUUID string, entitlementID string) (*RemoveAllocationEntitlementResponse, error)

RemoveAllocationEntitlementWithResponse request returning *RemoveAllocationEntitlementResponse

func (*ClientWithResponses) RemoveAllocationWithResponse

func (c *ClientWithResponses) RemoveAllocationWithResponse(ctx context.Context, allocationUUID string, params *RemoveAllocationParams) (*RemoveAllocationResponse, error)

RemoveAllocationWithResponse request returning *RemoveAllocationResponse

func (*ClientWithResponses) RemoveProviderAccountWithBodyWithResponse

func (c *ClientWithResponses) RemoveProviderAccountWithBodyWithResponse(ctx context.Context, providerShortName string, contentType string, body io.Reader) (*RemoveProviderAccountResponse, error)

RemoveProviderAccountWithBodyWithResponse request with arbitrary body returning *RemoveProviderAccountResponse

func (*ClientWithResponses) RemoveProviderAccountWithResponse

func (c *ClientWithResponses) RemoveProviderAccountWithResponse(ctx context.Context, providerShortName string, body RemoveProviderAccountJSONRequestBody) (*RemoveProviderAccountResponse, error)

func (*ClientWithResponses) RemoveSystemEntitlementWithResponse

func (c *ClientWithResponses) RemoveSystemEntitlementWithResponse(ctx context.Context, systemUUID string, entitlementID string) (*RemoveSystemEntitlementResponse, error)

RemoveSystemEntitlementWithResponse request returning *RemoveSystemEntitlementResponse

func (*ClientWithResponses) RemoveSystemWithResponse

func (c *ClientWithResponses) RemoveSystemWithResponse(ctx context.Context, systemUUID string) (*RemoveSystemResponse, error)

RemoveSystemWithResponse request returning *RemoveSystemResponse

func (*ClientWithResponses) ShowAllocationWithResponse

func (c *ClientWithResponses) ShowAllocationWithResponse(ctx context.Context, allocationUUID string, params *ShowAllocationParams) (*ShowAllocationResponse, error)

ShowAllocationWithResponse request returning *ShowAllocationResponse

func (*ClientWithResponses) ShowErratumWithResponse

func (c *ClientWithResponses) ShowErratumWithResponse(ctx context.Context, advisoryID string) (*ShowErratumResponse, error)

ShowErratumWithResponse request returning *ShowErratumResponse

func (*ClientWithResponses) ShowPackageWithResponse

func (c *ClientWithResponses) ShowPackageWithResponse(ctx context.Context, checksum string) (*ShowPackageResponse, error)

ShowPackageWithResponse request returning *ShowPackageResponse

func (*ClientWithResponses) ShowSystemWithResponse

func (c *ClientWithResponses) ShowSystemWithResponse(ctx context.Context, systemUUID string, params *ShowSystemParams) (*ShowSystemResponse, error)

ShowSystemWithResponse request returning *ShowSystemResponse

func (*ClientWithResponses) UpdateEntitlementAllocationWithResponse

func (c *ClientWithResponses) UpdateEntitlementAllocationWithResponse(ctx context.Context, allocationUUID string, entitlementUUID string, params *UpdateEntitlementAllocationParams) (*UpdateEntitlementAllocationResponse, error)

UpdateEntitlementAllocationWithResponse request returning *UpdateEntitlementAllocationResponse

func (*ClientWithResponses) UpdateProviderAccountWithBodyWithResponse

func (c *ClientWithResponses) UpdateProviderAccountWithBodyWithResponse(ctx context.Context, providerShortName string, contentType string, body io.Reader) (*UpdateProviderAccountResponse, error)

UpdateProviderAccountWithBodyWithResponse request with arbitrary body returning *UpdateProviderAccountResponse

func (*ClientWithResponses) UpdateProviderAccountWithResponse

func (c *ClientWithResponses) UpdateProviderAccountWithResponse(ctx context.Context, providerShortName string, body UpdateProviderAccountJSONRequestBody) (*UpdateProviderAccountResponse, error)

func (*ClientWithResponses) VerifyProviderAccountWithBodyWithResponse

func (c *ClientWithResponses) VerifyProviderAccountWithBodyWithResponse(ctx context.Context, providerShortName string, accountID string, contentType string, body io.Reader) (*VerifyProviderAccountResponse, error)

VerifyProviderAccountWithBodyWithResponse request with arbitrary body returning *VerifyProviderAccountResponse

func (*ClientWithResponses) VerifyProviderAccountWithResponse

func (c *ClientWithResponses) VerifyProviderAccountWithResponse(ctx context.Context, providerShortName string, accountID string, body VerifyProviderAccountJSONRequestBody) (*VerifyProviderAccountResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListAllocations request
	ListAllocationsWithResponse(ctx context.Context, params *ListAllocationsParams) (*ListAllocationsResponse, error)

	// CreateSatellite request
	CreateSatelliteWithResponse(ctx context.Context, params *CreateSatelliteParams) (*CreateSatelliteResponse, error)

	// RemoveAllocation request
	RemoveAllocationWithResponse(ctx context.Context, allocationUUID string, params *RemoveAllocationParams) (*RemoveAllocationResponse, error)

	// ShowAllocation request
	ShowAllocationWithResponse(ctx context.Context, allocationUUID string, params *ShowAllocationParams) (*ShowAllocationResponse, error)

	// AttachEntitlementAllocation request
	AttachEntitlementAllocationWithResponse(ctx context.Context, allocationUUID string, params *AttachEntitlementAllocationParams) (*AttachEntitlementAllocationResponse, error)

	// UpdateEntitlementAllocation request
	UpdateEntitlementAllocationWithResponse(ctx context.Context, allocationUUID string, entitlementUUID string, params *UpdateEntitlementAllocationParams) (*UpdateEntitlementAllocationResponse, error)

	// ExportAllocation request
	ExportAllocationWithResponse(ctx context.Context, allocationUUID string) (*ExportAllocationResponse, error)

	// GetExportAllocation request
	GetExportAllocationWithResponse(ctx context.Context, allocationUUID string, exportID string) (*GetExportAllocationResponse, error)

	// ExportJobAllocation request
	ExportJobAllocationWithResponse(ctx context.Context, allocationUUID string, exportJobID string) (*ExportJobAllocationResponse, error)

	// ListAllocationPools request
	ListAllocationPoolsWithResponse(ctx context.Context, allocationUUID string, params *ListAllocationPoolsParams) (*ListAllocationPoolsResponse, error)

	// RemoveAllocationEntitlement request
	RemoveAllocationEntitlementWithResponse(ctx context.Context, allocationUUID string, entitlementID string) (*RemoveAllocationEntitlementResponse, error)

	// ListEnabledCloudAccessProviders request
	ListEnabledCloudAccessProvidersWithResponse(ctx context.Context) (*ListEnabledCloudAccessProvidersResponse, error)

	// UpdateProviderAccount request  with any body
	UpdateProviderAccountWithBodyWithResponse(ctx context.Context, providerShortName string, contentType string, body io.Reader) (*UpdateProviderAccountResponse, error)

	UpdateProviderAccountWithResponse(ctx context.Context, providerShortName string, body UpdateProviderAccountJSONRequestBody) (*UpdateProviderAccountResponse, error)

	// RemoveProviderAccount request  with any body
	RemoveProviderAccountWithBodyWithResponse(ctx context.Context, providerShortName string, contentType string, body io.Reader) (*RemoveProviderAccountResponse, error)

	RemoveProviderAccountWithResponse(ctx context.Context, providerShortName string, body RemoveProviderAccountJSONRequestBody) (*RemoveProviderAccountResponse, error)

	// AddProviderAccounts request  with any body
	AddProviderAccountsWithBodyWithResponse(ctx context.Context, providerShortName string, contentType string, body io.Reader) (*AddProviderAccountsResponse, error)

	AddProviderAccountsWithResponse(ctx context.Context, providerShortName string, body AddProviderAccountsJSONRequestBody) (*AddProviderAccountsResponse, error)

	// VerifyProviderAccount request  with any body
	VerifyProviderAccountWithBodyWithResponse(ctx context.Context, providerShortName string, accountID string, contentType string, body io.Reader) (*VerifyProviderAccountResponse, error)

	VerifyProviderAccountWithResponse(ctx context.Context, providerShortName string, accountID string, body VerifyProviderAccountJSONRequestBody) (*VerifyProviderAccountResponse, error)

	// EnableGoldImages request  with any body
	EnableGoldImagesWithBodyWithResponse(ctx context.Context, providerShortName string, contentType string, body io.Reader) (*EnableGoldImagesResponse, error)

	EnableGoldImagesWithResponse(ctx context.Context, providerShortName string, body EnableGoldImagesJSONRequestBody) (*EnableGoldImagesResponse, error)

	// ListErrata request
	ListErrataWithResponse(ctx context.Context, params *ListErrataParams) (*ListErrataResponse, error)

	// ListErrataByContentSetArch request
	ListErrataByContentSetArchWithResponse(ctx context.Context, contentSet string, arch string, params *ListErrataByContentSetArchParams) (*ListErrataByContentSetArchResponse, error)

	// ShowErratum request
	ShowErratumWithResponse(ctx context.Context, advisoryID string) (*ShowErratumResponse, error)

	// ListErratumPackages request
	ListErratumPackagesWithResponse(ctx context.Context, advisoryID string, params *ListErratumPackagesParams) (*ListErratumPackagesResponse, error)

	// ListErratumSystems request
	ListErratumSystemsWithResponse(ctx context.Context, advisoryID string, params *ListErratumSystemsParams) (*ListErratumSystemsResponse, error)

	// ListImagesByContentSet request
	ListImagesByContentSetWithResponse(ctx context.Context, contentSet string, params *ListImagesByContentSetParams) (*ListImagesByContentSetResponse, error)

	// DownloadImage request
	DownloadImageWithResponse(ctx context.Context, checksum string) (*DownloadImageResponse, error)

	// ListPackagesByContentSetArch request
	ListPackagesByContentSetArchWithResponse(ctx context.Context, contentSet string, arch string, params *ListPackagesByContentSetArchParams) (*ListPackagesByContentSetArchResponse, error)

	// ShowPackage request
	ShowPackageWithResponse(ctx context.Context, checksum string) (*ShowPackageResponse, error)

	// DownloadPackage request
	DownloadPackageWithResponse(ctx context.Context, checksum string) (*DownloadPackageResponse, error)

	// ListSubscriptions request
	ListSubscriptionsWithResponse(ctx context.Context, params *ListSubscriptionsParams) (*ListSubscriptionsResponse, error)

	// ListSubContentSets request
	ListSubContentSetsWithResponse(ctx context.Context, subscriptionNumber string, params *ListSubContentSetsParams) (*ListSubContentSetsResponse, error)

	// ListSubSystems request
	ListSubSystemsWithResponse(ctx context.Context, subscriptionNumber string, params *ListSubSystemsParams) (*ListSubSystemsResponse, error)

	// ListSystems request
	ListSystemsWithResponse(ctx context.Context, params *ListSystemsParams) (*ListSystemsResponse, error)

	// RemoveSystem request
	RemoveSystemWithResponse(ctx context.Context, systemUUID string) (*RemoveSystemResponse, error)

	// ShowSystem request
	ShowSystemWithResponse(ctx context.Context, systemUUID string, params *ShowSystemParams) (*ShowSystemResponse, error)

	// AttachEntitlement request
	AttachEntitlementWithResponse(ctx context.Context, systemUUID string, params *AttachEntitlementParams) (*AttachEntitlementResponse, error)

	// ListSystemErrata request
	ListSystemErrataWithResponse(ctx context.Context, systemUUID string, params *ListSystemErrataParams) (*ListSystemErrataResponse, error)

	// ListSystemPackages request
	ListSystemPackagesWithResponse(ctx context.Context, systemUUID string, params *ListSystemPackagesParams) (*ListSystemPackagesResponse, error)

	// ListSystemPools request
	ListSystemPoolsWithResponse(ctx context.Context, systemUUID string, params *ListSystemPoolsParams) (*ListSystemPoolsResponse, error)

	// RemoveSystemEntitlement request
	RemoveSystemEntitlementWithResponse(ctx context.Context, systemUUID string, entitlementID string) (*RemoveSystemEntitlementResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ContentSet

type ContentSet struct {
	Arch    *string `json:"arch,omitempty"`
	Enabled *bool   `json:"enabled,omitempty"`
	Label   *string `json:"label,omitempty"`
	Name    *string `json:"name,omitempty"`
	Type    *string `json:"type,omitempty"`
}

ContentSet defines model for ContentSet.

type ContentSetArchMock

type ContentSetArchMock struct {
	Body *[]ErratumInContentSet `json:"body,omitempty"`

	// APIPageParam details the pagination parameters in APIResponse
	Pagination *APIPageParam `json:"pagination,omitempty"`
}

ContentSetArchMock defines model for contentSetArchMock.

type CreateSatelliteParams

type CreateSatelliteParams struct {

	// must be less than 100 characters and use only numbers, letters, underscores, hyphens, and periods
	Name string `json:"Name"`
}

CreateSatelliteParams defines parameters for CreateSatellite.

type CreateSatelliteResponse

type CreateSatelliteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {

		// details of a subscription allocation
		Body *AllocationDetails `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseCreateSatelliteResponse

func ParseCreateSatelliteResponse(rsp *http.Response) (*CreateSatelliteResponse, error)

ParseCreateSatelliteResponse parses an HTTP response from a CreateSatelliteWithResponse call

func (CreateSatelliteResponse) Status

func (r CreateSatelliteResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSatelliteResponse) StatusCode

func (r CreateSatelliteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Date

type Date string

Date defines model for Date.

type DetailResponse

type DetailResponse struct {
	ContractNumber *string `json:"contractNumber,omitempty"`

	// Date represents the date format used for API returns
	EndDate  *Date   `json:"endDate,omitempty"`
	Pools    *[]Pool `json:"pools,omitempty"`
	Quantity *string `json:"quantity,omitempty"`
	Sku      *string `json:"sku,omitempty"`

	// Date represents the date format used for API returns
	StartDate          *Date   `json:"startDate,omitempty"`
	Status             *string `json:"status,omitempty"`
	SubscriptionName   *string `json:"subscriptionName,omitempty"`
	SubscriptionNumber *string `json:"subscriptionNumber,omitempty"`
}

DetailResponse defines model for DetailResponse.

type DownloadImageResponse

type DownloadImageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON307      *struct {
		Body *DownloadLink `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseDownloadImageResponse

func ParseDownloadImageResponse(rsp *http.Response) (*DownloadImageResponse, error)

ParseDownloadImageResponse parses an HTTP response from a DownloadImageWithResponse call

func (DownloadImageResponse) Status

func (r DownloadImageResponse) Status() string

Status returns HTTPResponse.Status

func (DownloadImageResponse) StatusCode

func (r DownloadImageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadLink struct {

	// time at which the download link expires (in UTC)
	Expiration *string `json:"expiration,omitempty"`

	// filename of the file on the download link
	Filename *string `json:"filename,omitempty"`

	// URL to obtain the image
	Href *string `json:"href,omitempty"`
}

DownloadLink defines model for DownloadLink.

type DownloadPackageResponse

type DownloadPackageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON307      *struct {
		Body *DownloadLink `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseDownloadPackageResponse

func ParseDownloadPackageResponse(rsp *http.Response) (*DownloadPackageResponse, error)

ParseDownloadPackageResponse parses an HTTP response from a DownloadPackageWithResponse call

func (DownloadPackageResponse) Status

func (r DownloadPackageResponse) Status() string

Status returns HTTPResponse.Status

func (DownloadPackageResponse) StatusCode

func (r DownloadPackageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EnableGoldImagesJSONBody

type EnableGoldImagesJSONBody struct {
	Accounts []string `json:"accounts"`
	Images   []string `json:"images"`
}

EnableGoldImagesJSONBody defines parameters for EnableGoldImages.

type EnableGoldImagesJSONRequestBody

type EnableGoldImagesJSONRequestBody EnableGoldImagesJSONBody

EnableGoldImagesJSONRequestBody defines body for EnableGoldImages for application/json ContentType.

type EnableGoldImagesResponse

type EnableGoldImagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseEnableGoldImagesResponse

func ParseEnableGoldImagesResponse(rsp *http.Response) (*EnableGoldImagesResponse, error)

ParseEnableGoldImagesResponse parses an HTTP response from a EnableGoldImagesWithResponse call

func (EnableGoldImagesResponse) Status

func (r EnableGoldImagesResponse) Status() string

Status returns HTTPResponse.Status

func (EnableGoldImagesResponse) StatusCode

func (r EnableGoldImagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EnabledCloudAccessProvider

type EnabledCloudAccessProvider struct {
	Accounts  *[]EnabledProviderAccount `json:"accounts,omitempty"`
	Name      *string                   `json:"name,omitempty"`
	Products  *[]EnabledProduct         `json:"products,omitempty"`
	ShortName *string                   `json:"shortName,omitempty"`
}

EnabledCloudAccessProvider defines model for EnabledCloudAccessProvider.

type EnabledProduct

type EnabledProduct struct {
	EnabledQuantity *int      `json:"enabledQuantity,omitempty"`
	ImageGroups     *[]string `json:"imageGroups,omitempty"`
	Name            *string   `json:"name,omitempty"`

	// ShortDate represents the short date format used for API returns where time precision is not needed
	NextRenewal   *ShortDate `json:"nextRenewal,omitempty"`
	Sku           *string    `json:"sku,omitempty"`
	TotalQuantity *int       `json:"totalQuantity,omitempty"`
}

EnabledProduct defines model for EnabledProduct.

type EnabledProviderAccount

type EnabledProviderAccount struct {

	// Date represents the date format used for API returns
	DateAdded       Date               `json:"dateAdded"`
	GoldImageStatus *[]GoldImageStatus `json:"goldImageStatus,omitempty"`
	Id              string             `json:"id"`
	Nickname        string             `json:"nickname"`

	// verification status for RHSM Auto Registration (only displayed for supported cloud providers)
	Verified *bool `json:"verified,omitempty"`
}

EnabledProviderAccount defines model for EnabledProviderAccount.

type EntitlementsAttachedResponse

type EntitlementsAttachedResponse struct {
	Reason *string                              `json:"reason,omitempty"`
	Valid  *bool                                `json:"valid,omitempty"`
	Value  *[]EntitlementsAttachedResponseValue `json:"value,omitempty"`
}

EntitlementsAttachedResponse defines model for EntitlementsAttachedResponse.

type EntitlementsAttachedResponseValue

type EntitlementsAttachedResponseValue struct {
	ContractNumber      *string `json:"contractNumber,omitempty"`
	EntitlementQuantity *int    `json:"entitlementQuantity,omitempty"`
	Id                  *string `json:"id,omitempty"`
	Sku                 *string `json:"sku,omitempty"`
}

EntitlementsAttachedResponseValue defines model for EntitlementsAttachedResponseValue.

type ErrataCount

type ErrataCount struct {
	BugfixCount      *int `json:"bugfixCount,omitempty"`
	EnhancementCount *int `json:"enhancementCount,omitempty"`
	SecurityCount    *int `json:"securityCount,omitempty"`
}

ErrataCount defines model for ErrataCount.

type ErratumDetails

type ErratumDetails struct {
	AffectedProducts *[]string    `json:"affectedProducts,omitempty"`
	Bugzillas        *[]Reference `json:"bugzillas,omitempty"`
	CopyrightYear    *string      `json:"copyrightYear,omitempty"`
	Cves             *string      `json:"cves,omitempty"`
	Description      *string      `json:"description,omitempty"`
	Id               *string      `json:"id,omitempty"`

	// Date represents the date format used for API returns
	Issued *Date `json:"issued,omitempty"`

	// Date represents the date format used for API returns
	LastUpdated  *Date        `json:"lastUpdated,omitempty"`
	References   *[]Reference `json:"references,omitempty"`
	Severity     *string      `json:"severity,omitempty"`
	Solution     *string      `json:"solution,omitempty"`
	Summary      *string      `json:"summary,omitempty"`
	Synopsis     *string      `json:"synopsis,omitempty"`
	Type         *string      `json:"type,omitempty"`
	TypeSeverity *string      `json:"typeSeverity,omitempty"`
}

ErratumDetails defines model for ErratumDetails.

type ErratumForSystem

type ErratumForSystem struct {
	Href *string `json:"href,omitempty"`
	Id   *string `json:"id,omitempty"`

	// Date represents the date format used for API returns
	Published *Date   `json:"published,omitempty"`
	Severity  *string `json:"severity,omitempty"`
	Synopsis  *string `json:"synopsis,omitempty"`
	Type      *string `json:"type,omitempty"`
}

ErratumForSystem defines model for ErratumForSystem.

type ErratumInContentSet

type ErratumInContentSet struct {
	AdvisoryId *string `json:"advisoryId,omitempty"`
	Href       *string `json:"href,omitempty"`

	// Date represents the date format used for API returns
	PublishDate *Date   `json:"publishDate,omitempty"`
	Severity    *string `json:"severity,omitempty"`
	Synopsis    *string `json:"synopsis,omitempty"`
	Type        *string `json:"type,omitempty"`
}

ErratumInContentSet defines model for ErratumInContentSet.

type ErrorDetails

type ErrorDetails struct {
	Code    *int    `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

ErrorDetails defines model for ErrorDetails.

type ExportAllocationResponse

type ExportAllocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *ExportResponse `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseExportAllocationResponse

func ParseExportAllocationResponse(rsp *http.Response) (*ExportAllocationResponse, error)

ParseExportAllocationResponse parses an HTTP response from a ExportAllocationWithResponse call

func (ExportAllocationResponse) Status

func (r ExportAllocationResponse) Status() string

Status returns HTTPResponse.Status

func (ExportAllocationResponse) StatusCode

func (r ExportAllocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportJobAllocationResponse

type ExportJobAllocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *ExportJobResponse `json:"body,omitempty"`
	}
	JSON202 *struct {
		Body *OngoingExportJobResponse `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON406 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseExportJobAllocationResponse

func ParseExportJobAllocationResponse(rsp *http.Response) (*ExportJobAllocationResponse, error)

ParseExportJobAllocationResponse parses an HTTP response from a ExportJobAllocationWithResponse call

func (ExportJobAllocationResponse) Status

Status returns HTTPResponse.Status

func (ExportJobAllocationResponse) StatusCode

func (r ExportJobAllocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportJobResponse

type ExportJobResponse struct {
	ExportID *string `json:"exportID,omitempty"`
	Href     *string `json:"href,omitempty"`
}

ExportJobResponse defines model for exportJobResponse.

type ExportResponse

type ExportResponse struct {
	ExportJobID *string `json:"exportJobID,omitempty"`
	Href        *string `json:"href,omitempty"`
}

ExportResponse defines model for exportResponse.

type GetExportAllocationResponse

type GetExportAllocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetExportAllocationResponse

func ParseGetExportAllocationResponse(rsp *http.Response) (*GetExportAllocationResponse, error)

ParseGetExportAllocationResponse parses an HTTP response from a GetExportAllocationWithResponse call

func (GetExportAllocationResponse) Status

Status returns HTTPResponse.Status

func (GetExportAllocationResponse) StatusCode

func (r GetExportAllocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GoldImageStatus

type GoldImageStatus struct {

	// Description of the provider image group
	Description *string `json:"description,omitempty"`

	// Name of the requested provider image group
	Name *string `json:"name,omitempty"`

	// Status of Gold Image Request
	Status *string `json:"status,omitempty"`
}

GoldImageStatus defines model for GoldImageStatus.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ImageInContentSet

type ImageInContentSet struct {
	Arch     *string `json:"arch,omitempty"`
	Checksum *string `json:"checksum,omitempty"`

	// Date represents the date format used for API returns
	DatePublished *Date   `json:"datePublished,omitempty"`
	DownloadHref  *string `json:"downloadHref,omitempty"`
	Filename      *string `json:"filename,omitempty"`
	ImageName     *string `json:"imageName,omitempty"`
}

ImageInContentSet defines model for ImageInContentSet.

type ListAllocationPoolsParams

type ListAllocationPoolsParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`

	// include future dated pools for satellite 6.3 or higher
	Future *bool `json:"future,omitempty"`
}

ListAllocationPoolsParams defines parameters for ListAllocationPools.

type ListAllocationPoolsResponse

type ListAllocationPoolsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PoolsListMock
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListAllocationPoolsResponse

func ParseListAllocationPoolsResponse(rsp *http.Response) (*ListAllocationPoolsResponse, error)

ParseListAllocationPoolsResponse parses an HTTP response from a ListAllocationPoolsWithResponse call

func (ListAllocationPoolsResponse) Status

Status returns HTTPResponse.Status

func (ListAllocationPoolsResponse) StatusCode

func (r ListAllocationPoolsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAllocationsParams

type ListAllocationsParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListAllocationsParams defines parameters for ListAllocations.

type ListAllocationsResponse

type ListAllocationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *[]Allocation `json:"body,omitempty"`

		// APIPageParam details the pagination parameters in APIResponse
		Pagination *APIPageParam `json:"pagination,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListAllocationsResponse

func ParseListAllocationsResponse(rsp *http.Response) (*ListAllocationsResponse, error)

ParseListAllocationsResponse parses an HTTP response from a ListAllocationsWithResponse call

func (ListAllocationsResponse) Status

func (r ListAllocationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAllocationsResponse) StatusCode

func (r ListAllocationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEnabledCloudAccessProvidersResponse

type ListEnabledCloudAccessProvidersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *[]EnabledCloudAccessProvider `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListEnabledCloudAccessProvidersResponse

func ParseListEnabledCloudAccessProvidersResponse(rsp *http.Response) (*ListEnabledCloudAccessProvidersResponse, error)

ParseListEnabledCloudAccessProvidersResponse parses an HTTP response from a ListEnabledCloudAccessProvidersWithResponse call

func (ListEnabledCloudAccessProvidersResponse) Status

Status returns HTTPResponse.Status

func (ListEnabledCloudAccessProvidersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListErrataByContentSetArchParams

type ListErrataByContentSetArchParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListErrataByContentSetArchParams defines parameters for ListErrataByContentSetArch.

type ListErrataByContentSetArchResponse

type ListErrataByContentSetArchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ContentSetArchMock
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListErrataByContentSetArchResponse

func ParseListErrataByContentSetArchResponse(rsp *http.Response) (*ListErrataByContentSetArchResponse, error)

ParseListErrataByContentSetArchResponse parses an HTTP response from a ListErrataByContentSetArchWithResponse call

func (ListErrataByContentSetArchResponse) Status

Status returns HTTPResponse.Status

func (ListErrataByContentSetArchResponse) StatusCode

func (r ListErrataByContentSetArchResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListErrataParams

type ListErrataParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListErrataParams defines parameters for ListErrata.

type ListErrataResponse

type ListErrataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MyErrataListMock
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListErrataResponse

func ParseListErrataResponse(rsp *http.Response) (*ListErrataResponse, error)

ParseListErrataResponse parses an HTTP response from a ListErrataWithResponse call

func (ListErrataResponse) Status

func (r ListErrataResponse) Status() string

Status returns HTTPResponse.Status

func (ListErrataResponse) StatusCode

func (r ListErrataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListErratumPackagesParams

type ListErratumPackagesParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListErratumPackagesParams defines parameters for ListErratumPackages.

type ListErratumPackagesResponse

type ListErratumPackagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PkgListMock
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListErratumPackagesResponse

func ParseListErratumPackagesResponse(rsp *http.Response) (*ListErratumPackagesResponse, error)

ParseListErratumPackagesResponse parses an HTTP response from a ListErratumPackagesWithResponse call

func (ListErratumPackagesResponse) Status

Status returns HTTPResponse.Status

func (ListErratumPackagesResponse) StatusCode

func (r ListErratumPackagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListErratumSystemsParams

type ListErratumSystemsParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListErratumSystemsParams defines parameters for ListErratumSystems.

type ListErratumSystemsResponse

type ListErratumSystemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SystemListMock
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListErratumSystemsResponse

func ParseListErratumSystemsResponse(rsp *http.Response) (*ListErratumSystemsResponse, error)

ParseListErratumSystemsResponse parses an HTTP response from a ListErratumSystemsWithResponse call

func (ListErratumSystemsResponse) Status

Status returns HTTPResponse.Status

func (ListErratumSystemsResponse) StatusCode

func (r ListErratumSystemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListImagesByContentSetParams

type ListImagesByContentSetParams struct {

	// maximum number of list items in a page
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListImagesByContentSetParams defines parameters for ListImagesByContentSet.

type ListImagesByContentSetResponse

type ListImagesByContentSetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *[]ImageInContentSet `json:"body,omitempty"`

		// APIPageParam details the pagination parameters in APIResponse
		Pagination *APIPageParam `json:"pagination,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListImagesByContentSetResponse

func ParseListImagesByContentSetResponse(rsp *http.Response) (*ListImagesByContentSetResponse, error)

ParseListImagesByContentSetResponse parses an HTTP response from a ListImagesByContentSetWithResponse call

func (ListImagesByContentSetResponse) Status

Status returns HTTPResponse.Status

func (ListImagesByContentSetResponse) StatusCode

func (r ListImagesByContentSetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPackagesByContentSetArchParams

type ListPackagesByContentSetArchParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int      `json:"offset,omitempty"`
	Filter *[]string `json:"filter,omitempty"`
}

ListPackagesByContentSetArchParams defines parameters for ListPackagesByContentSetArch.

type ListPackagesByContentSetArchResponse

type ListPackagesByContentSetArchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *[]PkgContentSetArch `json:"body,omitempty"`

		// APIPageParam details the pagination parameters in APIResponse
		Pagination *APIPageParam `json:"pagination,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListPackagesByContentSetArchResponse

func ParseListPackagesByContentSetArchResponse(rsp *http.Response) (*ListPackagesByContentSetArchResponse, error)

ParseListPackagesByContentSetArchResponse parses an HTTP response from a ListPackagesByContentSetArchWithResponse call

func (ListPackagesByContentSetArchResponse) Status

Status returns HTTPResponse.Status

func (ListPackagesByContentSetArchResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListResponse

type ListResponse []DetailResponse

ListResponse defines model for ListResponse.

type ListSubContentSetsParams

type ListSubContentSetsParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListSubContentSetsParams defines parameters for ListSubContentSets.

type ListSubContentSetsResponse

type ListSubContentSetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *[]ContentSet `json:"body,omitempty"`

		// APIPageParam details the pagination parameters in APIResponse
		Pagination *APIPageParam `json:"pagination,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListSubContentSetsResponse

func ParseListSubContentSetsResponse(rsp *http.Response) (*ListSubContentSetsResponse, error)

ParseListSubContentSetsResponse parses an HTTP response from a ListSubContentSetsWithResponse call

func (ListSubContentSetsResponse) Status

Status returns HTTPResponse.Status

func (ListSubContentSetsResponse) StatusCode

func (r ListSubContentSetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSubSystemsParams

type ListSubSystemsParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListSubSystemsParams defines parameters for ListSubSystems.

type ListSubSystemsResponse

type ListSubSystemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *[]SystemListSystem `json:"body,omitempty"`

		// APIPageParam details the pagination parameters in APIResponse
		Pagination *APIPageParam `json:"pagination,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListSubSystemsResponse

func ParseListSubSystemsResponse(rsp *http.Response) (*ListSubSystemsResponse, error)

ParseListSubSystemsResponse parses an HTTP response from a ListSubSystemsWithResponse call

func (ListSubSystemsResponse) Status

func (r ListSubSystemsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSubSystemsResponse) StatusCode

func (r ListSubSystemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSubscriptionsParams

type ListSubscriptionsParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListSubscriptionsParams defines parameters for ListSubscriptions.

type ListSubscriptionsResponse

type ListSubscriptionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {

		// ListResponse is the actual collection of subscription details that gets
		// rendered
		Body *ListResponse `json:"body,omitempty"`

		// APIPageParam details the pagination parameters in APIResponse
		Pagination *APIPageParam `json:"pagination,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListSubscriptionsResponse

func ParseListSubscriptionsResponse(rsp *http.Response) (*ListSubscriptionsResponse, error)

ParseListSubscriptionsResponse parses an HTTP response from a ListSubscriptionsWithResponse call

func (ListSubscriptionsResponse) Status

func (r ListSubscriptionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSubscriptionsResponse) StatusCode

func (r ListSubscriptionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSystemErrataParams

type ListSystemErrataParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListSystemErrataParams defines parameters for ListSystemErrata.

type ListSystemErrataResponse

type ListSystemErrataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *[]ErratumForSystem `json:"body,omitempty"`

		// APIPageParam details the pagination parameters in APIResponse
		Pagination *APIPageParam `json:"pagination,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListSystemErrataResponse

func ParseListSystemErrataResponse(rsp *http.Response) (*ListSystemErrataResponse, error)

ParseListSystemErrataResponse parses an HTTP response from a ListSystemErrataWithResponse call

func (ListSystemErrataResponse) Status

func (r ListSystemErrataResponse) Status() string

Status returns HTTPResponse.Status

func (ListSystemErrataResponse) StatusCode

func (r ListSystemErrataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSystemPackagesParams

type ListSystemPackagesParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`

	// Show errata details for packages
	ErrataDetail *bool `json:"errata_detail,omitempty"`

	// Show upgradable packages only. Also accepts 'upgradable' as valid query.
	Upgradeable *bool `json:"upgradeable,omitempty"`

	// Filter packages
	Filter *string `json:"filter,omitempty"`
}

ListSystemPackagesParams defines parameters for ListSystemPackages.

type ListSystemPackagesResponse

type ListSystemPackagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *[]PackageForSystem `json:"body,omitempty"`

		// APIPageParam details the pagination parameters in APIResponse
		Pagination *APIPageParam `json:"pagination,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListSystemPackagesResponse

func ParseListSystemPackagesResponse(rsp *http.Response) (*ListSystemPackagesResponse, error)

ParseListSystemPackagesResponse parses an HTTP response from a ListSystemPackagesWithResponse call

func (ListSystemPackagesResponse) Status

Status returns HTTPResponse.Status

func (ListSystemPackagesResponse) StatusCode

func (r ListSystemPackagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSystemPoolsParams

type ListSystemPoolsParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`
}

ListSystemPoolsParams defines parameters for ListSystemPools.

type ListSystemPoolsResponse

type ListSystemPoolsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PoolsListMock
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListSystemPoolsResponse

func ParseListSystemPoolsResponse(rsp *http.Response) (*ListSystemPoolsResponse, error)

ParseListSystemPoolsResponse parses an HTTP response from a ListSystemPoolsWithResponse call

func (ListSystemPoolsResponse) Status

func (r ListSystemPoolsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSystemPoolsResponse) StatusCode

func (r ListSystemPoolsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSystemsParams

type ListSystemsParams struct {

	// max number of results you want
	Limit *int `json:"limit,omitempty"`

	// index from which you want next items
	Offset *int `json:"offset,omitempty"`

	// Filter Systems by System Name
	Filter *string `json:"filter,omitempty"`

	// Filter Systems by a valid User Name, where User Name is the system owner and wildcard characters are not allowed
	Username *string `json:"username,omitempty"`
}

ListSystemsParams defines parameters for ListSystems.

type ListSystemsResponse

type ListSystemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {

		// systemList is a System Slice
		Body *SystemList `json:"body,omitempty"`

		// APIPageParam details the pagination parameters in APIResponse
		Pagination *APIPageParam `json:"pagination,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseListSystemsResponse

func ParseListSystemsResponse(rsp *http.Response) (*ListSystemsResponse, error)

ParseListSystemsResponse parses an HTTP response from a ListSystemsWithResponse call

func (ListSystemsResponse) Status

func (r ListSystemsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSystemsResponse) StatusCode

func (r ListSystemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MyErrataListMock

type MyErrataListMock struct {
	Body *[]MyErratum `json:"body,omitempty"`

	// APIPageParam details the pagination parameters in APIResponse
	Pagination *APIPageParam `json:"pagination,omitempty"`
}

MyErrataListMock defines model for myErrataListMock.

type MyErratum

type MyErratum struct {
	AdvisoryId          *string `json:"advisoryId,omitempty"`
	AffectedSystemCount *int    `json:"affectedSystemCount,omitempty"`
	Details             *string `json:"details,omitempty"`

	// Date represents the date format used for API returns
	PublishDate *Date   `json:"publishDate,omitempty"`
	Synopsis    *string `json:"synopsis,omitempty"`
	Systems     *string `json:"systems,omitempty"`
	Type        *string `json:"type,omitempty"`
}

MyErratum defines model for MyErratum.

type OngoingExportJobResponse

type OngoingExportJobResponse struct {
	Message *string `json:"message,omitempty"`
}

OngoingExportJobResponse defines model for ongoingExportJobResponse.

type PackageDetail

type PackageDetail struct {
	Arch        *string   `json:"arch,omitempty"`
	Checksum    *string   `json:"checksum,omitempty"`
	ContentSets *[]string `json:"contentSets,omitempty"`
	DetailsUrl  *string   `json:"details_url,omitempty"`
	Epoch       *int      `json:"epoch,omitempty"`
	Filename    *string   `json:"filename,omitempty"`
	Name        *string   `json:"name,omitempty"`
	Release     *string   `json:"release,omitempty"`
	RepoTags    *[]string `json:"repoTags,omitempty"`
	Summary     *string   `json:"summary,omitempty"`
	Version     *string   `json:"version,omitempty"`
}

PackageDetail defines model for PackageDetail.

type PackageForSystem

type PackageForSystem struct {
	Advisories *[]struct {
		Advisory *string `json:"advisory,omitempty"`
		Url      *string `json:"url,omitempty"`
	} `json:"advisories,omitempty"`
	Arch        *string `json:"arch,omitempty"`
	Epoch       *int    `json:"epoch,omitempty"`
	ErrataCount *int    `json:"errataCount,omitempty"`
	Name        *string `json:"name,omitempty"`
	Release     *string `json:"release,omitempty"`
	Version     *string `json:"version,omitempty"`
}

PackageForSystem defines model for PackageForSystem.

type PkgContentSetArch

type PkgContentSetArch struct {
	Arch *string `json:"arch,omitempty"`

	// Date represents the date format used for API returns
	BuildDate    *Date     `json:"buildDate,omitempty"`
	BuildHost    *string   `json:"buildHost,omitempty"`
	Checksum     *string   `json:"checksum,omitempty"`
	ContentSets  *[]string `json:"contentSets,omitempty"`
	Description  *string   `json:"description,omitempty"`
	DownloadHref *string   `json:"downloadHref,omitempty"`
	Epoch        *string   `json:"epoch,omitempty"`
	Group        *string   `json:"group,omitempty"`
	Href         *string   `json:"href,omitempty"`
	License      *string   `json:"license,omitempty"`
	Name         *string   `json:"name,omitempty"`
	Release      *string   `json:"release,omitempty"`
	Size         *int      `json:"size,omitempty"`
	Summary      *string   `json:"summary,omitempty"`
	Version      *string   `json:"version,omitempty"`
}

PkgContentSetArch defines model for pkgContentSetArch.

type PkgDetails

type PkgDetails struct {
	Arch *string `json:"arch,omitempty"`

	// Date represents the date format used for API returns
	BuildDate   *Date     `json:"buildDate,omitempty"`
	BuildHost   *string   `json:"buildHost,omitempty"`
	Checksum    *string   `json:"checksum,omitempty"`
	ContentSets *[]string `json:"contentSets,omitempty"`
	Description *string   `json:"description,omitempty"`
	Epoch       *string   `json:"epoch,omitempty"`
	Group       *string   `json:"group,omitempty"`
	Href        *string   `json:"href,omitempty"`
	License     *string   `json:"license,omitempty"`
	Name        *string   `json:"name,omitempty"`
	Release     *string   `json:"release,omitempty"`
	Size        *int      `json:"size,omitempty"`
	Summary     *string   `json:"summary,omitempty"`
	Version     *string   `json:"version,omitempty"`
}

PkgDetails defines model for pkgDetails.

type PkgListMock

type PkgListMock struct {
	Body *[]PackageDetail `json:"body,omitempty"`

	// APIPageParam details the pagination parameters in APIResponse
	Pagination *APIPageParam `json:"pagination,omitempty"`
}

PkgListMock defines model for pkgListMock.

type Pool

type Pool struct {
	Consumed *int    `json:"consumed,omitempty"`
	Id       *string `json:"id,omitempty"`
	Quantity *int    `json:"quantity,omitempty"`
	Type     *string `json:"type,omitempty"`
}

Pool defines model for Pool.

type PoolDetail

type PoolDetail struct {
	ContractNumber *string `json:"contractNumber,omitempty"`

	// Date represents the date format used for API returns
	EndDate               *Date   `json:"endDate,omitempty"`
	EntitlementsAvailable *int    `json:"entitlementsAvailable,omitempty"`
	Id                    *string `json:"id,omitempty"`
	ServiceLevel          *string `json:"serviceLevel,omitempty"`
	Sku                   *string `json:"sku,omitempty"`

	// Date represents the date format used for API returns
	StartDate          *Date   `json:"startDate,omitempty"`
	SubscriptionName   *string `json:"subscriptionName,omitempty"`
	SubscriptionNumber *string `json:"subscriptionNumber,omitempty"`
}

PoolDetail defines model for PoolDetail.

type PoolsListMock

type PoolsListMock struct {
	Body *[]PoolDetail `json:"body,omitempty"`

	// APIPageParam details the pagination parameters in APIResponse
	Pagination *APIPageParam `json:"pagination,omitempty"`
}

PoolsListMock defines model for poolsListMock.

type Reference

type Reference struct {
	Href  *string `json:"href,omitempty"`
	Id    *string `json:"id,omitempty"`
	Title *string `json:"title,omitempty"`
	Type  *string `json:"type,omitempty"`
}

Reference defines model for Reference.

type RemoveAllocationEntitlementResponse

type RemoveAllocationEntitlementResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseRemoveAllocationEntitlementResponse

func ParseRemoveAllocationEntitlementResponse(rsp *http.Response) (*RemoveAllocationEntitlementResponse, error)

ParseRemoveAllocationEntitlementResponse parses an HTTP response from a RemoveAllocationEntitlementWithResponse call

func (RemoveAllocationEntitlementResponse) Status

Status returns HTTPResponse.Status

func (RemoveAllocationEntitlementResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RemoveAllocationParams

type RemoveAllocationParams struct {

	// Deleting a subscription allocation can have significant impacts on your hosts and activation keys.
	// We require a force parameter to make sure the delete operation is intentional.
	Force bool `json:"force"`
}

RemoveAllocationParams defines parameters for RemoveAllocation.

type RemoveAllocationResponse

type RemoveAllocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON504 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseRemoveAllocationResponse

func ParseRemoveAllocationResponse(rsp *http.Response) (*RemoveAllocationResponse, error)

ParseRemoveAllocationResponse parses an HTTP response from a RemoveAllocationWithResponse call

func (RemoveAllocationResponse) Status

func (r RemoveAllocationResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveAllocationResponse) StatusCode

func (r RemoveAllocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveProviderAccountJSONBody

type RemoveProviderAccountJSONBody struct {
	Id string `json:"id"`
}

RemoveProviderAccountJSONBody defines parameters for RemoveProviderAccount.

type RemoveProviderAccountJSONRequestBody

type RemoveProviderAccountJSONRequestBody RemoveProviderAccountJSONBody

RemoveProviderAccountJSONRequestBody defines body for RemoveProviderAccount for application/json ContentType.

type RemoveProviderAccountResponse

type RemoveProviderAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseRemoveProviderAccountResponse

func ParseRemoveProviderAccountResponse(rsp *http.Response) (*RemoveProviderAccountResponse, error)

ParseRemoveProviderAccountResponse parses an HTTP response from a RemoveProviderAccountWithResponse call

func (RemoveProviderAccountResponse) Status

Status returns HTTPResponse.Status

func (RemoveProviderAccountResponse) StatusCode

func (r RemoveProviderAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveSystemEntitlementResponse

type RemoveSystemEntitlementResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseRemoveSystemEntitlementResponse

func ParseRemoveSystemEntitlementResponse(rsp *http.Response) (*RemoveSystemEntitlementResponse, error)

ParseRemoveSystemEntitlementResponse parses an HTTP response from a RemoveSystemEntitlementWithResponse call

func (RemoveSystemEntitlementResponse) Status

Status returns HTTPResponse.Status

func (RemoveSystemEntitlementResponse) StatusCode

func (r RemoveSystemEntitlementResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveSystemResponse

type RemoveSystemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON504 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseRemoveSystemResponse

func ParseRemoveSystemResponse(rsp *http.Response) (*RemoveSystemResponse, error)

ParseRemoveSystemResponse parses an HTTP response from a RemoveSystemWithResponse call

func (RemoveSystemResponse) Status

func (r RemoveSystemResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveSystemResponse) StatusCode

func (r RemoveSystemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ShortDate

type ShortDate string

ShortDate defines model for ShortDate.

type ShowAllocationParams

type ShowAllocationParams struct {

	// Show more details about a allocation
	Include *string `json:"include,omitempty"`
}

ShowAllocationParams defines parameters for ShowAllocation.

type ShowAllocationResponse

type ShowAllocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {

		// details of a subscription allocation
		Body *AllocationDetails `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseShowAllocationResponse

func ParseShowAllocationResponse(rsp *http.Response) (*ShowAllocationResponse, error)

ParseShowAllocationResponse parses an HTTP response from a ShowAllocationWithResponse call

func (ShowAllocationResponse) Status

func (r ShowAllocationResponse) Status() string

Status returns HTTPResponse.Status

func (ShowAllocationResponse) StatusCode

func (r ShowAllocationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ShowErratumResponse

type ShowErratumResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *ErratumDetails `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseShowErratumResponse

func ParseShowErratumResponse(rsp *http.Response) (*ShowErratumResponse, error)

ParseShowErratumResponse parses an HTTP response from a ShowErratumWithResponse call

func (ShowErratumResponse) Status

func (r ShowErratumResponse) Status() string

Status returns HTTPResponse.Status

func (ShowErratumResponse) StatusCode

func (r ShowErratumResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ShowPackageResponse

type ShowPackageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *PkgDetails `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseShowPackageResponse

func ParseShowPackageResponse(rsp *http.Response) (*ShowPackageResponse, error)

ParseShowPackageResponse parses an HTTP response from a ShowPackageWithResponse call

func (ShowPackageResponse) Status

func (r ShowPackageResponse) Status() string

Status returns HTTPResponse.Status

func (ShowPackageResponse) StatusCode

func (r ShowPackageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ShowSystemParams

type ShowSystemParams struct {

	// Show more details about a system
	Include *[]string `json:"include,omitempty"`
}

ShowSystemParams defines parameters for ShowSystem.

type ShowSystemResponse

type ShowSystemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Body *System `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseShowSystemResponse

func ParseShowSystemResponse(rsp *http.Response) (*ShowSystemResponse, error)

ParseShowSystemResponse parses an HTTP response from a ShowSystemWithResponse call

func (ShowSystemResponse) Status

func (r ShowSystemResponse) Status() string

Status returns HTTPResponse.Status

func (ShowSystemResponse) StatusCode

func (r ShowSystemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type System

type System struct {
	EntitlementCount  *int    `json:"entitlementCount,omitempty"`
	EntitlementStatus *string `json:"entitlementStatus,omitempty"`

	// ErrataCount is the errata information for a System
	ErrataCounts *ErrataCount `json:"errataCounts,omitempty"`
	Hostname     *string      `json:"hostname,omitempty"`
	Href         *string      `json:"href,omitempty"`

	// Date represents the date format used for API returns
	LastCheckin *Date   `json:"lastCheckin,omitempty"`
	Name        *string `json:"name,omitempty"`
	Type        *string `json:"type,omitempty"`
	Username    *string `json:"username,omitempty"`
	Uuid        *string `json:"uuid,omitempty"`
}

System defines model for System.

type SystemList

type SystemList []System

SystemList defines model for systemList.

type SystemListMock

type SystemListMock struct {
	Body *[]System `json:"body,omitempty"`

	// APIPageParam details the pagination parameters in APIResponse
	Pagination *APIPageParam `json:"pagination,omitempty"`
}

SystemListMock defines model for systemListMock.

type SystemListSystem

type SystemListSystem struct {
	ComplianceStatus    *string `json:"complianceStatus,omitempty"`
	Details             *string `json:"details,omitempty"`
	EntitlementQuantity *int    `json:"entitlementQuantity,omitempty"`

	// Date represents the date format used for API returns
	LastCheckin              *Date   `json:"lastCheckin,omitempty"`
	SystemName               *string `json:"systemName,omitempty"`
	TotalEntitlementQuantity *int    `json:"totalEntitlementQuantity,omitempty"`
	Type                     *string `json:"type,omitempty"`
	Uuid                     *string `json:"uuid,omitempty"`
}

SystemListSystem defines model for SystemList.

type UpdateEntitlementAllocationParams

type UpdateEntitlementAllocationParams struct {

	// maxItem: quantity must be less than or equal to the maximum number of allowed entitlements in the entitlement pool
	// minItem: 1
	Quantity *int `json:"quantity,omitempty"`
}

UpdateEntitlementAllocationParams defines parameters for UpdateEntitlementAllocation.

type UpdateEntitlementAllocationResponse

type UpdateEntitlementAllocationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {

		// details of a subscription allocation
		Body *AllocationDetails `json:"body,omitempty"`
	}
	JSON400 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseUpdateEntitlementAllocationResponse

func ParseUpdateEntitlementAllocationResponse(rsp *http.Response) (*UpdateEntitlementAllocationResponse, error)

ParseUpdateEntitlementAllocationResponse parses an HTTP response from a UpdateEntitlementAllocationWithResponse call

func (UpdateEntitlementAllocationResponse) Status

Status returns HTTPResponse.Status

func (UpdateEntitlementAllocationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateProviderAccountJSONBody

type UpdateProviderAccountJSONBody struct {
	Id          string  `json:"id"`
	NewID       *string `json:"newID,omitempty"`
	NewNickname *string `json:"newNickname,omitempty"`
}

UpdateProviderAccountJSONBody defines parameters for UpdateProviderAccount.

type UpdateProviderAccountJSONRequestBody

type UpdateProviderAccountJSONRequestBody UpdateProviderAccountJSONBody

UpdateProviderAccountJSONRequestBody defines body for UpdateProviderAccount for application/json ContentType.

type UpdateProviderAccountResponse

type UpdateProviderAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseUpdateProviderAccountResponse

func ParseUpdateProviderAccountResponse(rsp *http.Response) (*UpdateProviderAccountResponse, error)

ParseUpdateProviderAccountResponse parses an HTTP response from a UpdateProviderAccountWithResponse call

func (UpdateProviderAccountResponse) Status

Status returns HTTPResponse.Status

func (UpdateProviderAccountResponse) StatusCode

func (r UpdateProviderAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VerifyProviderAccountJSONBody

type VerifyProviderAccountJSONBody struct {

	// base64-encoded cloud instance metadata
	Identity string `json:"identity"`

	// base64-encoded cloud instance metadata signature
	Signature string `json:"signature"`
}

VerifyProviderAccountJSONBody defines parameters for VerifyProviderAccount.

type VerifyProviderAccountJSONRequestBody

type VerifyProviderAccountJSONRequestBody VerifyProviderAccountJSONBody

VerifyProviderAccountJSONRequestBody defines body for VerifyProviderAccount for application/json ContentType.

type VerifyProviderAccountResponse

type VerifyProviderAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON401 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON403 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON404 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
	JSON500 *struct {

		// ErrorDetails details the Error in ErrorResponse
		Error *ErrorDetails `json:"error,omitempty"`
	}
}

func ParseVerifyProviderAccountResponse

func ParseVerifyProviderAccountResponse(rsp *http.Response) (*VerifyProviderAccountResponse, error)

ParseVerifyProviderAccountResponse parses an HTTP response from a VerifyProviderAccountWithResponse call

func (VerifyProviderAccountResponse) Status

Status returns HTTPResponse.Status

func (VerifyProviderAccountResponse) StatusCode

func (r VerifyProviderAccountResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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