mqcloudv1

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Overview

Package mqcloudv1 : Operations and models for the MqcloudV1 service

Index

Constants

View Source
const (
	ConfigurationOptions_Sizes_Large  = "large"
	ConfigurationOptions_Sizes_Lite   = "lite"
	ConfigurationOptions_Sizes_Medium = "medium"
	ConfigurationOptions_Sizes_Small  = "small"
	ConfigurationOptions_Sizes_Xsmall = "xsmall"
)

Constants associated with the ConfigurationOptions.Sizes property. The queue manager sizes of deployment available. Deployment of lite queue managers for aws_us_east_1 and aws_eu_west_1 locations is not available.

View Source
const (
	CreateQueueManagerOptions_Size_Large  = "large"
	CreateQueueManagerOptions_Size_Lite   = "lite"
	CreateQueueManagerOptions_Size_Medium = "medium"
	CreateQueueManagerOptions_Size_Small  = "small"
	CreateQueueManagerOptions_Size_Xsmall = "xsmall"
)

Constants associated with the CreateQueueManagerOptions.Size property. The queue manager sizes of deployment available. Deployment of lite queue managers for aws_us_east_1 and aws_eu_west_1 locations is not available.

View Source
const (
	QueueManagerDetails_Size_Large  = "large"
	QueueManagerDetails_Size_Lite   = "lite"
	QueueManagerDetails_Size_Medium = "medium"
	QueueManagerDetails_Size_Small  = "small"
	QueueManagerDetails_Size_Xsmall = "xsmall"
)

Constants associated with the QueueManagerDetails.Size property. The queue manager sizes of deployment available. Deployment of lite queue managers for aws_us_east_1 and aws_eu_west_1 locations is not available.

View Source
const (
	QueueManagerStatus_Status_Deleting              = "deleting"
	QueueManagerStatus_Status_Deploying             = "deploying"
	QueueManagerStatus_Status_Failed                = "failed"
	QueueManagerStatus_Status_InitializationFailed  = "initialization_failed"
	QueueManagerStatus_Status_Initializing          = "initializing"
	QueueManagerStatus_Status_RestoreFailed         = "restore_failed"
	QueueManagerStatus_Status_RestoringConfig       = "restoring_config"
	QueueManagerStatus_Status_RestoringQueueManager = "restoring_queue_manager"
	QueueManagerStatus_Status_Resumable             = "resumable"
	QueueManagerStatus_Status_Running               = "running"
	QueueManagerStatus_Status_Starting              = "starting"
	QueueManagerStatus_Status_StatusNotAvailable    = "status_not_available"
	QueueManagerStatus_Status_Stopped               = "stopped"
	QueueManagerStatus_Status_Stopping              = "stopping"
	QueueManagerStatus_Status_Suspended             = "suspended"
	QueueManagerStatus_Status_UpdatingRevision      = "updating_revision"
	QueueManagerStatus_Status_UpgradingVersion      = "upgrading_version"
)

Constants associated with the QueueManagerStatus.Status property. The deploying and failed states are not queue manager states, they are states which can occur when the request to deploy has been fired, or with that request has failed without producing a queue manager to have any state. The other states map to the queue manager states. State "ending" is either quiesing or ending immediately. State "ended" is either ended normally or endedimmediately. The others map one to one with queue manager states.

View Source
const (
	SetCertificateAmsChannelsOptions_UpdateStrategy_Append  = "append"
	SetCertificateAmsChannelsOptions_UpdateStrategy_Replace = "replace"
)

Constants associated with the SetCertificateAmsChannelsOptions.UpdateStrategy property. Strategy for how the supplied channels should be applied.

View Source
const DefaultServiceName = "mqcloud"

DefaultServiceName is the default key used to find external configuration information.

View Source
const DefaultServiceURL = "https://api.private.eu-de.mq2.cloud.ibm.com"

DefaultServiceURL is the default URL to make service requests to.

View Source
const (
	KeyStoreCertificateDetails_CertificateType_KeyStore = "key_store"
)

Constants associated with the KeyStoreCertificateDetails.CertificateType property. The type of certificate.

View Source
const ParameterizedServiceURL = "https://api.private.{region}.mq2.cloud.ibm.com"
View Source
const (
	TrustStoreCertificateDetails_CertificateType_TrustStore = "trust_store"
)

Constants associated with the TrustStoreCertificateDetails.CertificateType property. The type of certificate.

Variables

This section is empty.

Functions

func ConstructServiceURL

func ConstructServiceURL(providedUrlVariables map[string]string) (string, error)

ConstructServiceURL constructs a service URL from the parameterized URL.

func GetServiceURLForRegion

func GetServiceURLForRegion(region string) (string, error)

GetServiceURLForRegion returns the service URL to be used for the specified region

func UnmarshalApplicationAPIKeyCreated

func UnmarshalApplicationAPIKeyCreated(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalApplicationAPIKeyCreated unmarshals an instance of ApplicationAPIKeyCreated from the specified map of raw messages.

func UnmarshalApplicationCreated

func UnmarshalApplicationCreated(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalApplicationCreated unmarshals an instance of ApplicationCreated from the specified map of raw messages.

func UnmarshalApplicationDetails

func UnmarshalApplicationDetails(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalApplicationDetails unmarshals an instance of ApplicationDetails from the specified map of raw messages.

func UnmarshalApplicationDetailsCollection

func UnmarshalApplicationDetailsCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalApplicationDetailsCollection unmarshals an instance of ApplicationDetailsCollection from the specified map of raw messages.

func UnmarshalChannelDetails

func UnmarshalChannelDetails(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalChannelDetails unmarshals an instance of ChannelDetails from the specified map of raw messages.

func UnmarshalChannelsDetails

func UnmarshalChannelsDetails(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalChannelsDetails unmarshals an instance of ChannelsDetails from the specified map of raw messages.

func UnmarshalClientConnection

func UnmarshalClientConnection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalClientConnection unmarshals an instance of ClientConnection from the specified map of raw messages.

func UnmarshalConfigurationOptions

func UnmarshalConfigurationOptions(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalConfigurationOptions unmarshals an instance of ConfigurationOptions from the specified map of raw messages.

func UnmarshalConnectionDetails

func UnmarshalConnectionDetails(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalConnectionDetails unmarshals an instance of ConnectionDetails from the specified map of raw messages.

func UnmarshalConnectionInfo

func UnmarshalConnectionInfo(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalConnectionInfo unmarshals an instance of ConnectionInfo from the specified map of raw messages.

func UnmarshalConnectionInfoChannel

func UnmarshalConnectionInfoChannel(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalConnectionInfoChannel unmarshals an instance of ConnectionInfoChannel from the specified map of raw messages.

func UnmarshalFirst

func UnmarshalFirst(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalFirst unmarshals an instance of First from the specified map of raw messages.

func UnmarshalKeyStoreCertificateDetails

func UnmarshalKeyStoreCertificateDetails(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyStoreCertificateDetails unmarshals an instance of KeyStoreCertificateDetails from the specified map of raw messages.

func UnmarshalKeyStoreCertificateDetailsCollection

func UnmarshalKeyStoreCertificateDetailsCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalKeyStoreCertificateDetailsCollection unmarshals an instance of KeyStoreCertificateDetailsCollection from the specified map of raw messages.

func UnmarshalNext

func UnmarshalNext(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalNext unmarshals an instance of Next from the specified map of raw messages.

func UnmarshalPrevious

func UnmarshalPrevious(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPrevious unmarshals an instance of Previous from the specified map of raw messages.

func UnmarshalQueueManagerDetails

func UnmarshalQueueManagerDetails(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalQueueManagerDetails unmarshals an instance of QueueManagerDetails from the specified map of raw messages.

func UnmarshalQueueManagerDetailsCollection

func UnmarshalQueueManagerDetailsCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalQueueManagerDetailsCollection unmarshals an instance of QueueManagerDetailsCollection from the specified map of raw messages.

func UnmarshalQueueManagerStatus

func UnmarshalQueueManagerStatus(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalQueueManagerStatus unmarshals an instance of QueueManagerStatus from the specified map of raw messages.

func UnmarshalQueueManagerTaskStatus

func UnmarshalQueueManagerTaskStatus(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalQueueManagerTaskStatus unmarshals an instance of QueueManagerTaskStatus from the specified map of raw messages.

func UnmarshalQueueManagerVersionUpgrade

func UnmarshalQueueManagerVersionUpgrade(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalQueueManagerVersionUpgrade unmarshals an instance of QueueManagerVersionUpgrade from the specified map of raw messages.

func UnmarshalQueueManagerVersionUpgrades

func UnmarshalQueueManagerVersionUpgrades(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalQueueManagerVersionUpgrades unmarshals an instance of QueueManagerVersionUpgrades from the specified map of raw messages.

func UnmarshalTransmissionSecurity

func UnmarshalTransmissionSecurity(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTransmissionSecurity unmarshals an instance of TransmissionSecurity from the specified map of raw messages.

func UnmarshalTrustStoreCertificateDetails

func UnmarshalTrustStoreCertificateDetails(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTrustStoreCertificateDetails unmarshals an instance of TrustStoreCertificateDetails from the specified map of raw messages.

func UnmarshalTrustStoreCertificateDetailsCollection

func UnmarshalTrustStoreCertificateDetailsCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTrustStoreCertificateDetailsCollection unmarshals an instance of TrustStoreCertificateDetailsCollection from the specified map of raw messages.

func UnmarshalUsage

func UnmarshalUsage(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUsage unmarshals an instance of Usage from the specified map of raw messages.

func UnmarshalUserDetails

func UnmarshalUserDetails(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUserDetails unmarshals an instance of UserDetails from the specified map of raw messages.

func UnmarshalUserDetailsCollection

func UnmarshalUserDetailsCollection(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUserDetailsCollection unmarshals an instance of UserDetailsCollection from the specified map of raw messages.

Types

type ApplicationAPIKeyCreated

type ApplicationAPIKeyCreated struct {
	// The name of the api key.
	ApiKeyName *string `json:"api_key_name,omitempty"`

	// The id of the api key.
	ApiKeyID *string `json:"api_key_id" validate:"required"`

	// The api key created.
	ApiKey *string `json:"api_key" validate:"required"`
}

ApplicationAPIKeyCreated : A response to creating a new api key, giving the only chance to collect the new apikey.

type ApplicationCreated

type ApplicationCreated struct {
	// The ID of the application which was allocated on creation, and can be used for delete calls.
	ID *string `json:"id" validate:"required"`

	// The name of the application - conforming to MQ rules.
	Name *string `json:"name" validate:"required"`

	// The URI to create a new apikey for the application.
	CreateApiKeyURI *string `json:"create_api_key_uri" validate:"required"`

	// The URL for this application.
	Href *string `json:"href" validate:"required"`

	// The name of the api key.
	ApiKeyName *string `json:"api_key_name,omitempty"`

	// The id of the api key.
	ApiKeyID *string `json:"api_key_id,omitempty"`

	// The api key created.
	ApiKey *string `json:"api_key" validate:"required"`
}

ApplicationCreated : A response to creating an application, giving the only chance to collect the apikey.

type ApplicationDetails

type ApplicationDetails struct {
	// The ID of the application which was allocated on creation, and can be used for delete calls.
	ID *string `json:"id" validate:"required"`

	// The name of the application - conforming to MQ rules.
	Name *string `json:"name" validate:"required"`

	// The URI to create a new apikey for the application.
	CreateApiKeyURI *string `json:"create_api_key_uri" validate:"required"`

	// The URL for this application.
	Href *string `json:"href" validate:"required"`
}

ApplicationDetails : A summary of the application for use in a list of applications.

type ApplicationDetailsCollection

type ApplicationDetailsCollection struct {
	// Pagination offset.
	Offset *int64 `json:"offset" validate:"required"`

	// Results per page, same for all collections.
	Limit *int64 `json:"limit" validate:"required"`

	// Link to first page of results.
	First *First `json:"first" validate:"required"`

	// Link to next page of results.
	Next *Next `json:"next,omitempty"`

	// Link to previous page of results.
	Previous *Previous `json:"previous,omitempty"`

	// List of applications.
	Applications []ApplicationDetails `json:"applications" validate:"required"`
}

ApplicationDetailsCollection : A list of application summaries.

func (*ApplicationDetailsCollection) GetNextOffset

func (resp *ApplicationDetailsCollection) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type ApplicationsPager

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

ApplicationsPager can be used to simplify the use of the "ListApplications" method.

func (*ApplicationsPager) GetAll

func (pager *ApplicationsPager) GetAll() (allItems []ApplicationDetails, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*ApplicationsPager) GetAllWithContext

func (pager *ApplicationsPager) GetAllWithContext(ctx context.Context) (allItems []ApplicationDetails, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*ApplicationsPager) GetNext

func (pager *ApplicationsPager) GetNext() (page []ApplicationDetails, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*ApplicationsPager) GetNextWithContext

func (pager *ApplicationsPager) GetNextWithContext(ctx context.Context) (page []ApplicationDetails, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*ApplicationsPager) HasNext

func (pager *ApplicationsPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type ChannelDetails

type ChannelDetails struct {
	// The name of the channel.
	Name *string `json:"name,omitempty"`
}

ChannelDetails : A channel's information that is configured with this certificate.

type ChannelsDetails

type ChannelsDetails struct {
	// A list of channels that are configured with this certificate.
	Channels []ChannelDetails `json:"channels" validate:"required"`
}

ChannelsDetails : A list of channels that are configured with this certificate.

type ClientConnection

type ClientConnection struct {
	// A collection of objects with attributes that define a channel connection.
	Connection []ConnectionDetails `json:"connection,omitempty"`

	// the name of the queue_manager.
	QueueManager *string `json:"queueManager,omitempty"`
}

ClientConnection : Details for a client connection.

type ConfigurationOptions

type ConfigurationOptions struct {
	// List of deployment locations.
	Locations []string `json:"locations,omitempty"`

	// List of queue manager sizes.
	Sizes []string `json:"sizes,omitempty"`

	// List of queue manager versions.
	Versions []string `json:"versions,omitempty"`
}

ConfigurationOptions : Configuration options (eg, available deployment locations, queue manager sizes).

type ConnectionDetails

type ConnectionDetails struct {
	// Specifies the host that this channel connects to.
	Host *string `json:"host,omitempty"`

	// Specifies the port that this channel uses on this host.
	Port *int64 `json:"port,omitempty"`
}

ConnectionDetails : Attributes that define a channel connection.

type ConnectionInfo

type ConnectionInfo struct {
	// A collection of channel connection details.
	Channel []ConnectionInfoChannel `json:"channel" validate:"required"`
}

ConnectionInfo : Responds with JSON CCDT of the connection information for the queue manager.

type ConnectionInfoChannel

type ConnectionInfoChannel struct {
	// Specifies the name of the channel.
	Name *string `json:"name" validate:"required"`

	// Details for a client connection.
	ClientConnection *ClientConnection `json:"clientConnection" validate:"required"`

	// An object that contains attributes that are related to security for message transmission.
	TransmissionSecurity *TransmissionSecurity `json:"transmissionSecurity" validate:"required"`

	// Specifies the type of the channel.
	Type *string `json:"type" validate:"required"`
}

ConnectionInfoChannel : A subsection for channels as part of a JSON CCDT of the connection information for the queue manager.

type CreateApplicationApikeyOptions

type CreateApplicationApikeyOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the application.
	ApplicationID *string `json:"application_id" validate:"required,ne="`

	// The short name of the application api key - conforming to MQ rules.
	Name *string `json:"name" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateApplicationApikeyOptions : The CreateApplicationApikey options.

func (*CreateApplicationApikeyOptions) SetApplicationID

func (_options *CreateApplicationApikeyOptions) SetApplicationID(applicationID string) *CreateApplicationApikeyOptions

SetApplicationID : Allow user to set ApplicationID

func (*CreateApplicationApikeyOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateApplicationApikeyOptions) SetName

SetName : Allow user to set Name

func (*CreateApplicationApikeyOptions) SetServiceInstanceGuid

func (_options *CreateApplicationApikeyOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *CreateApplicationApikeyOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type CreateApplicationOptions

type CreateApplicationOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The name of the application - conforming to MQ rules.
	Name *string `json:"name" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateApplicationOptions : The CreateApplication options.

func (*CreateApplicationOptions) SetHeaders

func (options *CreateApplicationOptions) SetHeaders(param map[string]string) *CreateApplicationOptions

SetHeaders : Allow user to set Headers

func (*CreateApplicationOptions) SetName

func (_options *CreateApplicationOptions) SetName(name string) *CreateApplicationOptions

SetName : Allow user to set Name

func (*CreateApplicationOptions) SetServiceInstanceGuid

func (_options *CreateApplicationOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *CreateApplicationOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type CreateKeyStorePemCertificateOptions

type CreateKeyStorePemCertificateOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The label to use for the certificate to be uploaded.
	Label *string `json:"label" validate:"required"`

	// The filename and path of the certificate to be uploaded.
	CertificateFile io.ReadCloser `json:"certificate_file" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateKeyStorePemCertificateOptions : The CreateKeyStorePemCertificate options.

func (*CreateKeyStorePemCertificateOptions) SetCertificateFile

func (_options *CreateKeyStorePemCertificateOptions) SetCertificateFile(certificateFile io.ReadCloser) *CreateKeyStorePemCertificateOptions

SetCertificateFile : Allow user to set CertificateFile

func (*CreateKeyStorePemCertificateOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateKeyStorePemCertificateOptions) SetLabel

SetLabel : Allow user to set Label

func (*CreateKeyStorePemCertificateOptions) SetQueueManagerID

func (_options *CreateKeyStorePemCertificateOptions) SetQueueManagerID(queueManagerID string) *CreateKeyStorePemCertificateOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*CreateKeyStorePemCertificateOptions) SetServiceInstanceGuid

func (_options *CreateKeyStorePemCertificateOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *CreateKeyStorePemCertificateOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type CreateQueueManagerOptions

type CreateQueueManagerOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The name of the queue manager - conforming to MQ rules.
	Name *string `json:"name" validate:"required"`

	// The locations in which the queue manager could be deployed.
	Location *string `json:"location" validate:"required"`

	// The queue manager sizes of deployment available. Deployment of lite queue managers for aws_us_east_1 and
	// aws_eu_west_1 locations is not available.
	Size *string `json:"size" validate:"required"`

	// A displayable name for the queue manager - limited only in length.
	DisplayName *string `json:"display_name,omitempty"`

	// The IBM MQ version of the Queue Manager to deploy if not supplied the latest version will be deployed.
	Version *string `json:"version,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateQueueManagerOptions : The CreateQueueManager options.

func (*CreateQueueManagerOptions) SetDisplayName

func (_options *CreateQueueManagerOptions) SetDisplayName(displayName string) *CreateQueueManagerOptions

SetDisplayName : Allow user to set DisplayName

func (*CreateQueueManagerOptions) SetHeaders

func (options *CreateQueueManagerOptions) SetHeaders(param map[string]string) *CreateQueueManagerOptions

SetHeaders : Allow user to set Headers

func (*CreateQueueManagerOptions) SetLocation

func (_options *CreateQueueManagerOptions) SetLocation(location string) *CreateQueueManagerOptions

SetLocation : Allow user to set Location

func (*CreateQueueManagerOptions) SetName

SetName : Allow user to set Name

func (*CreateQueueManagerOptions) SetServiceInstanceGuid

func (_options *CreateQueueManagerOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *CreateQueueManagerOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

func (*CreateQueueManagerOptions) SetSize

SetSize : Allow user to set Size

func (*CreateQueueManagerOptions) SetVersion

func (_options *CreateQueueManagerOptions) SetVersion(version string) *CreateQueueManagerOptions

SetVersion : Allow user to set Version

type CreateTrustStorePemCertificateOptions

type CreateTrustStorePemCertificateOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The label to use for the certificate to be uploaded.
	Label *string `json:"label" validate:"required"`

	// The filename and path of the certificate to be uploaded.
	CertificateFile io.ReadCloser `json:"certificate_file" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateTrustStorePemCertificateOptions : The CreateTrustStorePemCertificate options.

func (*CreateTrustStorePemCertificateOptions) SetCertificateFile

func (_options *CreateTrustStorePemCertificateOptions) SetCertificateFile(certificateFile io.ReadCloser) *CreateTrustStorePemCertificateOptions

SetCertificateFile : Allow user to set CertificateFile

func (*CreateTrustStorePemCertificateOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateTrustStorePemCertificateOptions) SetLabel

SetLabel : Allow user to set Label

func (*CreateTrustStorePemCertificateOptions) SetQueueManagerID

func (_options *CreateTrustStorePemCertificateOptions) SetQueueManagerID(queueManagerID string) *CreateTrustStorePemCertificateOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*CreateTrustStorePemCertificateOptions) SetServiceInstanceGuid

func (_options *CreateTrustStorePemCertificateOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *CreateTrustStorePemCertificateOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type CreateUserOptions

type CreateUserOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The email of the user to be created.
	Email *string `json:"email" validate:"required"`

	// The shortname of the user to be created.
	Name *string `json:"name" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateUserOptions : The CreateUser options.

func (*CreateUserOptions) SetEmail

func (_options *CreateUserOptions) SetEmail(email string) *CreateUserOptions

SetEmail : Allow user to set Email

func (*CreateUserOptions) SetHeaders

func (options *CreateUserOptions) SetHeaders(param map[string]string) *CreateUserOptions

SetHeaders : Allow user to set Headers

func (*CreateUserOptions) SetName

func (_options *CreateUserOptions) SetName(name string) *CreateUserOptions

SetName : Allow user to set Name

func (*CreateUserOptions) SetServiceInstanceGuid

func (_options *CreateUserOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *CreateUserOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type DeleteApplicationOptions

type DeleteApplicationOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the application.
	ApplicationID *string `json:"application_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteApplicationOptions : The DeleteApplication options.

func (*DeleteApplicationOptions) SetApplicationID

func (_options *DeleteApplicationOptions) SetApplicationID(applicationID string) *DeleteApplicationOptions

SetApplicationID : Allow user to set ApplicationID

func (*DeleteApplicationOptions) SetHeaders

func (options *DeleteApplicationOptions) SetHeaders(param map[string]string) *DeleteApplicationOptions

SetHeaders : Allow user to set Headers

func (*DeleteApplicationOptions) SetServiceInstanceGuid

func (_options *DeleteApplicationOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *DeleteApplicationOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type DeleteKeyStoreCertificateOptions

type DeleteKeyStoreCertificateOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The id of the certificate.
	CertificateID *string `json:"certificate_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteKeyStoreCertificateOptions : The DeleteKeyStoreCertificate options.

func (*DeleteKeyStoreCertificateOptions) SetCertificateID

func (_options *DeleteKeyStoreCertificateOptions) SetCertificateID(certificateID string) *DeleteKeyStoreCertificateOptions

SetCertificateID : Allow user to set CertificateID

func (*DeleteKeyStoreCertificateOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteKeyStoreCertificateOptions) SetQueueManagerID

func (_options *DeleteKeyStoreCertificateOptions) SetQueueManagerID(queueManagerID string) *DeleteKeyStoreCertificateOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*DeleteKeyStoreCertificateOptions) SetServiceInstanceGuid

func (_options *DeleteKeyStoreCertificateOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *DeleteKeyStoreCertificateOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type DeleteQueueManagerOptions

type DeleteQueueManagerOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteQueueManagerOptions : The DeleteQueueManager options.

func (*DeleteQueueManagerOptions) SetHeaders

func (options *DeleteQueueManagerOptions) SetHeaders(param map[string]string) *DeleteQueueManagerOptions

SetHeaders : Allow user to set Headers

func (*DeleteQueueManagerOptions) SetQueueManagerID

func (_options *DeleteQueueManagerOptions) SetQueueManagerID(queueManagerID string) *DeleteQueueManagerOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*DeleteQueueManagerOptions) SetServiceInstanceGuid

func (_options *DeleteQueueManagerOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *DeleteQueueManagerOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type DeleteTrustStoreCertificateOptions

type DeleteTrustStoreCertificateOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The id of the certificate.
	CertificateID *string `json:"certificate_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteTrustStoreCertificateOptions : The DeleteTrustStoreCertificate options.

func (*DeleteTrustStoreCertificateOptions) SetCertificateID

func (_options *DeleteTrustStoreCertificateOptions) SetCertificateID(certificateID string) *DeleteTrustStoreCertificateOptions

SetCertificateID : Allow user to set CertificateID

func (*DeleteTrustStoreCertificateOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteTrustStoreCertificateOptions) SetQueueManagerID

func (_options *DeleteTrustStoreCertificateOptions) SetQueueManagerID(queueManagerID string) *DeleteTrustStoreCertificateOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*DeleteTrustStoreCertificateOptions) SetServiceInstanceGuid

func (_options *DeleteTrustStoreCertificateOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *DeleteTrustStoreCertificateOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type DeleteUserOptions

type DeleteUserOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the user.
	UserID *string `json:"user_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteUserOptions : The DeleteUser options.

func (*DeleteUserOptions) SetHeaders

func (options *DeleteUserOptions) SetHeaders(param map[string]string) *DeleteUserOptions

SetHeaders : Allow user to set Headers

func (*DeleteUserOptions) SetServiceInstanceGuid

func (_options *DeleteUserOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *DeleteUserOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

func (*DeleteUserOptions) SetUserID

func (_options *DeleteUserOptions) SetUserID(userID string) *DeleteUserOptions

SetUserID : Allow user to set UserID

type DownloadKeyStoreCertificateOptions

type DownloadKeyStoreCertificateOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The id of the certificate.
	CertificateID *string `json:"certificate_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DownloadKeyStoreCertificateOptions : The DownloadKeyStoreCertificate options.

func (*DownloadKeyStoreCertificateOptions) SetCertificateID

func (_options *DownloadKeyStoreCertificateOptions) SetCertificateID(certificateID string) *DownloadKeyStoreCertificateOptions

SetCertificateID : Allow user to set CertificateID

func (*DownloadKeyStoreCertificateOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DownloadKeyStoreCertificateOptions) SetQueueManagerID

func (_options *DownloadKeyStoreCertificateOptions) SetQueueManagerID(queueManagerID string) *DownloadKeyStoreCertificateOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*DownloadKeyStoreCertificateOptions) SetServiceInstanceGuid

func (_options *DownloadKeyStoreCertificateOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *DownloadKeyStoreCertificateOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type DownloadTrustStoreCertificateOptions

type DownloadTrustStoreCertificateOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The id of the certificate.
	CertificateID *string `json:"certificate_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DownloadTrustStoreCertificateOptions : The DownloadTrustStoreCertificate options.

func (*DownloadTrustStoreCertificateOptions) SetCertificateID

func (_options *DownloadTrustStoreCertificateOptions) SetCertificateID(certificateID string) *DownloadTrustStoreCertificateOptions

SetCertificateID : Allow user to set CertificateID

func (*DownloadTrustStoreCertificateOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DownloadTrustStoreCertificateOptions) SetQueueManagerID

func (_options *DownloadTrustStoreCertificateOptions) SetQueueManagerID(queueManagerID string) *DownloadTrustStoreCertificateOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*DownloadTrustStoreCertificateOptions) SetServiceInstanceGuid

func (_options *DownloadTrustStoreCertificateOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *DownloadTrustStoreCertificateOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type First

type First struct {
	// The URL of the page the link goes to.
	Href *string `json:"href,omitempty"`
}

First : Link to first page of results.

type GetApplicationOptions

type GetApplicationOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the application.
	ApplicationID *string `json:"application_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetApplicationOptions : The GetApplication options.

func (*GetApplicationOptions) SetApplicationID

func (_options *GetApplicationOptions) SetApplicationID(applicationID string) *GetApplicationOptions

SetApplicationID : Allow user to set ApplicationID

func (*GetApplicationOptions) SetHeaders

func (options *GetApplicationOptions) SetHeaders(param map[string]string) *GetApplicationOptions

SetHeaders : Allow user to set Headers

func (*GetApplicationOptions) SetServiceInstanceGuid

func (_options *GetApplicationOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetApplicationOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type GetCertificateAmsChannelsOptions

type GetCertificateAmsChannelsOptions struct {
	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The id of the certificate.
	CertificateID *string `json:"certificate_id" validate:"required,ne="`

	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetCertificateAmsChannelsOptions : The GetCertificateAmsChannels options.

func (*GetCertificateAmsChannelsOptions) SetCertificateID

func (_options *GetCertificateAmsChannelsOptions) SetCertificateID(certificateID string) *GetCertificateAmsChannelsOptions

SetCertificateID : Allow user to set CertificateID

func (*GetCertificateAmsChannelsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetCertificateAmsChannelsOptions) SetQueueManagerID

func (_options *GetCertificateAmsChannelsOptions) SetQueueManagerID(queueManagerID string) *GetCertificateAmsChannelsOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*GetCertificateAmsChannelsOptions) SetServiceInstanceGuid

func (_options *GetCertificateAmsChannelsOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetCertificateAmsChannelsOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type GetKeyStoreCertificateOptions

type GetKeyStoreCertificateOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The id of the certificate.
	CertificateID *string `json:"certificate_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetKeyStoreCertificateOptions : The GetKeyStoreCertificate options.

func (*GetKeyStoreCertificateOptions) SetCertificateID

func (_options *GetKeyStoreCertificateOptions) SetCertificateID(certificateID string) *GetKeyStoreCertificateOptions

SetCertificateID : Allow user to set CertificateID

func (*GetKeyStoreCertificateOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetKeyStoreCertificateOptions) SetQueueManagerID

func (_options *GetKeyStoreCertificateOptions) SetQueueManagerID(queueManagerID string) *GetKeyStoreCertificateOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*GetKeyStoreCertificateOptions) SetServiceInstanceGuid

func (_options *GetKeyStoreCertificateOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetKeyStoreCertificateOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type GetOptionsOptions

type GetOptionsOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetOptionsOptions : The GetOptions options.

func (*GetOptionsOptions) SetHeaders

func (options *GetOptionsOptions) SetHeaders(param map[string]string) *GetOptionsOptions

SetHeaders : Allow user to set Headers

func (*GetOptionsOptions) SetServiceInstanceGuid

func (_options *GetOptionsOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetOptionsOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type GetQueueManagerAvailableUpgradeVersionsOptions

type GetQueueManagerAvailableUpgradeVersionsOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetQueueManagerAvailableUpgradeVersionsOptions : The GetQueueManagerAvailableUpgradeVersions options.

func (*GetQueueManagerAvailableUpgradeVersionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetQueueManagerAvailableUpgradeVersionsOptions) SetQueueManagerID

SetQueueManagerID : Allow user to set QueueManagerID

func (*GetQueueManagerAvailableUpgradeVersionsOptions) SetServiceInstanceGuid

func (_options *GetQueueManagerAvailableUpgradeVersionsOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetQueueManagerAvailableUpgradeVersionsOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type GetQueueManagerConnectionInfoOptions

type GetQueueManagerConnectionInfoOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetQueueManagerConnectionInfoOptions : The GetQueueManagerConnectionInfo options.

func (*GetQueueManagerConnectionInfoOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetQueueManagerConnectionInfoOptions) SetQueueManagerID

func (_options *GetQueueManagerConnectionInfoOptions) SetQueueManagerID(queueManagerID string) *GetQueueManagerConnectionInfoOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*GetQueueManagerConnectionInfoOptions) SetServiceInstanceGuid

func (_options *GetQueueManagerConnectionInfoOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetQueueManagerConnectionInfoOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type GetQueueManagerOptions

type GetQueueManagerOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetQueueManagerOptions : The GetQueueManager options.

func (*GetQueueManagerOptions) SetHeaders

func (options *GetQueueManagerOptions) SetHeaders(param map[string]string) *GetQueueManagerOptions

SetHeaders : Allow user to set Headers

func (*GetQueueManagerOptions) SetQueueManagerID

func (_options *GetQueueManagerOptions) SetQueueManagerID(queueManagerID string) *GetQueueManagerOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*GetQueueManagerOptions) SetServiceInstanceGuid

func (_options *GetQueueManagerOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetQueueManagerOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type GetQueueManagerStatusOptions

type GetQueueManagerStatusOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetQueueManagerStatusOptions : The GetQueueManagerStatus options.

func (*GetQueueManagerStatusOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetQueueManagerStatusOptions) SetQueueManagerID

func (_options *GetQueueManagerStatusOptions) SetQueueManagerID(queueManagerID string) *GetQueueManagerStatusOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*GetQueueManagerStatusOptions) SetServiceInstanceGuid

func (_options *GetQueueManagerStatusOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetQueueManagerStatusOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type GetTrustStoreCertificateOptions

type GetTrustStoreCertificateOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The id of the certificate.
	CertificateID *string `json:"certificate_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetTrustStoreCertificateOptions : The GetTrustStoreCertificate options.

func (*GetTrustStoreCertificateOptions) SetCertificateID

func (_options *GetTrustStoreCertificateOptions) SetCertificateID(certificateID string) *GetTrustStoreCertificateOptions

SetCertificateID : Allow user to set CertificateID

func (*GetTrustStoreCertificateOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetTrustStoreCertificateOptions) SetQueueManagerID

func (_options *GetTrustStoreCertificateOptions) SetQueueManagerID(queueManagerID string) *GetTrustStoreCertificateOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*GetTrustStoreCertificateOptions) SetServiceInstanceGuid

func (_options *GetTrustStoreCertificateOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetTrustStoreCertificateOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type GetUsageDetailsOptions

type GetUsageDetailsOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetUsageDetailsOptions : The GetUsageDetails options.

func (*GetUsageDetailsOptions) SetHeaders

func (options *GetUsageDetailsOptions) SetHeaders(param map[string]string) *GetUsageDetailsOptions

SetHeaders : Allow user to set Headers

func (*GetUsageDetailsOptions) SetServiceInstanceGuid

func (_options *GetUsageDetailsOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetUsageDetailsOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type GetUserOptions

type GetUserOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the user.
	UserID *string `json:"user_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetUserOptions : The GetUser options.

func (*GetUserOptions) SetHeaders

func (options *GetUserOptions) SetHeaders(param map[string]string) *GetUserOptions

SetHeaders : Allow user to set Headers

func (*GetUserOptions) SetServiceInstanceGuid

func (_options *GetUserOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *GetUserOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

func (*GetUserOptions) SetUserID

func (_options *GetUserOptions) SetUserID(userID string) *GetUserOptions

SetUserID : Allow user to set UserID

type KeyStoreCertificateDetails

type KeyStoreCertificateDetails struct {
	// ID of the certificate.
	ID *string `json:"id" validate:"required"`

	// Certificate label in queue manager store.
	Label *string `json:"label" validate:"required"`

	// The type of certificate.
	CertificateType *string `json:"certificate_type" validate:"required"`

	// Fingerprint SHA256.
	FingerprintSha256 *string `json:"fingerprint_sha256" validate:"required"`

	// Subject's Distinguished Name.
	SubjectDn *string `json:"subject_dn" validate:"required"`

	// Subject's Common Name.
	SubjectCn *string `json:"subject_cn" validate:"required"`

	// Issuer's Distinguished Name.
	IssuerDn *string `json:"issuer_dn" validate:"required"`

	// Issuer's Common Name.
	IssuerCn *string `json:"issuer_cn" validate:"required"`

	// Date certificate was issued.
	Issued *strfmt.DateTime `json:"issued" validate:"required"`

	// Expiry date for the certificate.
	Expiry *strfmt.DateTime `json:"expiry" validate:"required"`

	// Indicates whether it is the queue manager's default certificate.
	IsDefault *bool `json:"is_default" validate:"required"`

	// The total count of dns names.
	DnsNamesTotalCount *int64 `json:"dns_names_total_count" validate:"required"`

	// The list of DNS names.
	DnsNames []string `json:"dns_names" validate:"required"`

	// The URL for this key store certificate.
	Href *string `json:"href" validate:"required"`
}

KeyStoreCertificateDetails : The details of a key store certificate in a queue manager certificate key store.

type KeyStoreCertificateDetailsCollection

type KeyStoreCertificateDetailsCollection struct {
	// The total count of key store certificates.
	TotalCount *int64 `json:"total_count,omitempty"`

	// The list of key store certificates.
	KeyStore []KeyStoreCertificateDetails `json:"key_store,omitempty"`
}

KeyStoreCertificateDetailsCollection : A list of certificates in a queue manager's certificate key store.

type ListApplicationsOptions

type ListApplicationsOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// Pagination offset.
	Offset *int64 `json:"offset,omitempty"`

	// The numbers of resources to return.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListApplicationsOptions : The ListApplications options.

func (*ListApplicationsOptions) SetHeaders

func (options *ListApplicationsOptions) SetHeaders(param map[string]string) *ListApplicationsOptions

SetHeaders : Allow user to set Headers

func (*ListApplicationsOptions) SetLimit

func (_options *ListApplicationsOptions) SetLimit(limit int64) *ListApplicationsOptions

SetLimit : Allow user to set Limit

func (*ListApplicationsOptions) SetOffset

func (_options *ListApplicationsOptions) SetOffset(offset int64) *ListApplicationsOptions

SetOffset : Allow user to set Offset

func (*ListApplicationsOptions) SetServiceInstanceGuid

func (_options *ListApplicationsOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *ListApplicationsOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type ListKeyStoreCertificatesOptions

type ListKeyStoreCertificatesOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListKeyStoreCertificatesOptions : The ListKeyStoreCertificates options.

func (*ListKeyStoreCertificatesOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListKeyStoreCertificatesOptions) SetQueueManagerID

func (_options *ListKeyStoreCertificatesOptions) SetQueueManagerID(queueManagerID string) *ListKeyStoreCertificatesOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*ListKeyStoreCertificatesOptions) SetServiceInstanceGuid

func (_options *ListKeyStoreCertificatesOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *ListKeyStoreCertificatesOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type ListQueueManagersOptions

type ListQueueManagersOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// Pagination offset.
	Offset *int64 `json:"offset,omitempty"`

	// The numbers of resources to return.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListQueueManagersOptions : The ListQueueManagers options.

func (*ListQueueManagersOptions) SetHeaders

func (options *ListQueueManagersOptions) SetHeaders(param map[string]string) *ListQueueManagersOptions

SetHeaders : Allow user to set Headers

func (*ListQueueManagersOptions) SetLimit

func (_options *ListQueueManagersOptions) SetLimit(limit int64) *ListQueueManagersOptions

SetLimit : Allow user to set Limit

func (*ListQueueManagersOptions) SetOffset

func (_options *ListQueueManagersOptions) SetOffset(offset int64) *ListQueueManagersOptions

SetOffset : Allow user to set Offset

func (*ListQueueManagersOptions) SetServiceInstanceGuid

func (_options *ListQueueManagersOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *ListQueueManagersOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type ListTrustStoreCertificatesOptions

type ListTrustStoreCertificatesOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListTrustStoreCertificatesOptions : The ListTrustStoreCertificates options.

func (*ListTrustStoreCertificatesOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*ListTrustStoreCertificatesOptions) SetQueueManagerID

func (_options *ListTrustStoreCertificatesOptions) SetQueueManagerID(queueManagerID string) *ListTrustStoreCertificatesOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*ListTrustStoreCertificatesOptions) SetServiceInstanceGuid

func (_options *ListTrustStoreCertificatesOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *ListTrustStoreCertificatesOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type ListUsersOptions

type ListUsersOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// Pagination offset.
	Offset *int64 `json:"offset,omitempty"`

	// The numbers of resources to return.
	Limit *int64 `json:"limit,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListUsersOptions : The ListUsers options.

func (*ListUsersOptions) SetHeaders

func (options *ListUsersOptions) SetHeaders(param map[string]string) *ListUsersOptions

SetHeaders : Allow user to set Headers

func (*ListUsersOptions) SetLimit

func (_options *ListUsersOptions) SetLimit(limit int64) *ListUsersOptions

SetLimit : Allow user to set Limit

func (*ListUsersOptions) SetOffset

func (_options *ListUsersOptions) SetOffset(offset int64) *ListUsersOptions

SetOffset : Allow user to set Offset

func (*ListUsersOptions) SetServiceInstanceGuid

func (_options *ListUsersOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *ListUsersOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

type MqcloudV1

type MqcloudV1 struct {
	Service *core.BaseService

	// The acceptable list of languages supported in the client.
	AcceptLanguage *string
}

MqcloudV1 : The MQ on Cloud API defines a REST API interface to work with MQ on Cloud service in IBM Cloud.

API Version: 1.0.0

func NewMqcloudV1

func NewMqcloudV1(options *MqcloudV1Options) (service *MqcloudV1, err error)

NewMqcloudV1 : constructs an instance of MqcloudV1 with passed in options.

func NewMqcloudV1UsingExternalConfig

func NewMqcloudV1UsingExternalConfig(options *MqcloudV1Options) (mqcloud *MqcloudV1, err error)

NewMqcloudV1UsingExternalConfig : constructs an instance of MqcloudV1 with passed in options and external configuration.

func (*MqcloudV1) Clone

func (mqcloud *MqcloudV1) Clone() *MqcloudV1

Clone makes a copy of "mqcloud" suitable for processing requests.

func (*MqcloudV1) CreateApplication

func (mqcloud *MqcloudV1) CreateApplication(createApplicationOptions *CreateApplicationOptions) (result *ApplicationCreated, response *core.DetailedResponse, err error)

CreateApplication : Add an application to an instance Add an application to an instance.

func (*MqcloudV1) CreateApplicationApikey

func (mqcloud *MqcloudV1) CreateApplicationApikey(createApplicationApikeyOptions *CreateApplicationApikeyOptions) (result *ApplicationAPIKeyCreated, response *core.DetailedResponse, err error)

CreateApplicationApikey : Create a new apikey for an application Create a new apikey for an application.

func (*MqcloudV1) CreateApplicationApikeyWithContext

func (mqcloud *MqcloudV1) CreateApplicationApikeyWithContext(ctx context.Context, createApplicationApikeyOptions *CreateApplicationApikeyOptions) (result *ApplicationAPIKeyCreated, response *core.DetailedResponse, err error)

CreateApplicationApikeyWithContext is an alternate form of the CreateApplicationApikey method which supports a Context parameter

func (*MqcloudV1) CreateApplicationWithContext

func (mqcloud *MqcloudV1) CreateApplicationWithContext(ctx context.Context, createApplicationOptions *CreateApplicationOptions) (result *ApplicationCreated, response *core.DetailedResponse, err error)

CreateApplicationWithContext is an alternate form of the CreateApplication method which supports a Context parameter

func (*MqcloudV1) CreateKeyStorePemCertificate

func (mqcloud *MqcloudV1) CreateKeyStorePemCertificate(createKeyStorePemCertificateOptions *CreateKeyStorePemCertificateOptions) (result *KeyStoreCertificateDetails, response *core.DetailedResponse, err error)

CreateKeyStorePemCertificate : Upload a certificate Import TLS certificate from a single self-contained PEM file into the queue manager's key store.

func (*MqcloudV1) CreateKeyStorePemCertificateWithContext

func (mqcloud *MqcloudV1) CreateKeyStorePemCertificateWithContext(ctx context.Context, createKeyStorePemCertificateOptions *CreateKeyStorePemCertificateOptions) (result *KeyStoreCertificateDetails, response *core.DetailedResponse, err error)

CreateKeyStorePemCertificateWithContext is an alternate form of the CreateKeyStorePemCertificate method which supports a Context parameter

func (*MqcloudV1) CreateQueueManager

func (mqcloud *MqcloudV1) CreateQueueManager(createQueueManagerOptions *CreateQueueManagerOptions) (result *QueueManagerTaskStatus, response *core.DetailedResponse, err error)

CreateQueueManager : Create a new queue manager Create a new queue manager.

func (*MqcloudV1) CreateQueueManagerWithContext

func (mqcloud *MqcloudV1) CreateQueueManagerWithContext(ctx context.Context, createQueueManagerOptions *CreateQueueManagerOptions) (result *QueueManagerTaskStatus, response *core.DetailedResponse, err error)

CreateQueueManagerWithContext is an alternate form of the CreateQueueManager method which supports a Context parameter

func (*MqcloudV1) CreateTrustStorePemCertificate

func (mqcloud *MqcloudV1) CreateTrustStorePemCertificate(createTrustStorePemCertificateOptions *CreateTrustStorePemCertificateOptions) (result *TrustStoreCertificateDetails, response *core.DetailedResponse, err error)

CreateTrustStorePemCertificate : Upload a certificate Import TLS certificate from a single self-contained PEM file to the truststore.

func (*MqcloudV1) CreateTrustStorePemCertificateWithContext

func (mqcloud *MqcloudV1) CreateTrustStorePemCertificateWithContext(ctx context.Context, createTrustStorePemCertificateOptions *CreateTrustStorePemCertificateOptions) (result *TrustStoreCertificateDetails, response *core.DetailedResponse, err error)

CreateTrustStorePemCertificateWithContext is an alternate form of the CreateTrustStorePemCertificate method which supports a Context parameter

func (*MqcloudV1) CreateUser

func (mqcloud *MqcloudV1) CreateUser(createUserOptions *CreateUserOptions) (result *UserDetails, response *core.DetailedResponse, err error)

CreateUser : Add a user to an instance Add a user to an instance.

func (*MqcloudV1) CreateUserWithContext

func (mqcloud *MqcloudV1) CreateUserWithContext(ctx context.Context, createUserOptions *CreateUserOptions) (result *UserDetails, response *core.DetailedResponse, err error)

CreateUserWithContext is an alternate form of the CreateUser method which supports a Context parameter

func (*MqcloudV1) DeleteApplication

func (mqcloud *MqcloudV1) DeleteApplication(deleteApplicationOptions *DeleteApplicationOptions) (response *core.DetailedResponse, err error)

DeleteApplication : Delete an application from an instance Delete an application from an instance.

func (*MqcloudV1) DeleteApplicationWithContext

func (mqcloud *MqcloudV1) DeleteApplicationWithContext(ctx context.Context, deleteApplicationOptions *DeleteApplicationOptions) (response *core.DetailedResponse, err error)

DeleteApplicationWithContext is an alternate form of the DeleteApplication method which supports a Context parameter

func (*MqcloudV1) DeleteKeyStoreCertificate

func (mqcloud *MqcloudV1) DeleteKeyStoreCertificate(deleteKeyStoreCertificateOptions *DeleteKeyStoreCertificateOptions) (response *core.DetailedResponse, err error)

DeleteKeyStoreCertificate : Delete a queue manager's key store certificate Delete a queue manager's key store certificate.

func (*MqcloudV1) DeleteKeyStoreCertificateWithContext

func (mqcloud *MqcloudV1) DeleteKeyStoreCertificateWithContext(ctx context.Context, deleteKeyStoreCertificateOptions *DeleteKeyStoreCertificateOptions) (response *core.DetailedResponse, err error)

DeleteKeyStoreCertificateWithContext is an alternate form of the DeleteKeyStoreCertificate method which supports a Context parameter

func (*MqcloudV1) DeleteQueueManager

func (mqcloud *MqcloudV1) DeleteQueueManager(deleteQueueManagerOptions *DeleteQueueManagerOptions) (result *QueueManagerTaskStatus, response *core.DetailedResponse, err error)

DeleteQueueManager : Delete a queue manager Delete a queue manager.

func (*MqcloudV1) DeleteQueueManagerWithContext

func (mqcloud *MqcloudV1) DeleteQueueManagerWithContext(ctx context.Context, deleteQueueManagerOptions *DeleteQueueManagerOptions) (result *QueueManagerTaskStatus, response *core.DetailedResponse, err error)

DeleteQueueManagerWithContext is an alternate form of the DeleteQueueManager method which supports a Context parameter

func (*MqcloudV1) DeleteTrustStoreCertificate

func (mqcloud *MqcloudV1) DeleteTrustStoreCertificate(deleteTrustStoreCertificateOptions *DeleteTrustStoreCertificateOptions) (response *core.DetailedResponse, err error)

DeleteTrustStoreCertificate : Delete a trust store certificate Delete a trust store certificate.

func (*MqcloudV1) DeleteTrustStoreCertificateWithContext

func (mqcloud *MqcloudV1) DeleteTrustStoreCertificateWithContext(ctx context.Context, deleteTrustStoreCertificateOptions *DeleteTrustStoreCertificateOptions) (response *core.DetailedResponse, err error)

DeleteTrustStoreCertificateWithContext is an alternate form of the DeleteTrustStoreCertificate method which supports a Context parameter

func (*MqcloudV1) DeleteUser

func (mqcloud *MqcloudV1) DeleteUser(deleteUserOptions *DeleteUserOptions) (response *core.DetailedResponse, err error)

DeleteUser : Delete a user for an instance Delete a user for an instance.

func (*MqcloudV1) DeleteUserWithContext

func (mqcloud *MqcloudV1) DeleteUserWithContext(ctx context.Context, deleteUserOptions *DeleteUserOptions) (response *core.DetailedResponse, err error)

DeleteUserWithContext is an alternate form of the DeleteUser method which supports a Context parameter

func (*MqcloudV1) DisableRetries

func (mqcloud *MqcloudV1) DisableRetries()

DisableRetries disables automatic retries for requests invoked for this service instance.

func (*MqcloudV1) DownloadKeyStoreCertificate

func (mqcloud *MqcloudV1) DownloadKeyStoreCertificate(downloadKeyStoreCertificateOptions *DownloadKeyStoreCertificateOptions) (result io.ReadCloser, response *core.DetailedResponse, err error)

DownloadKeyStoreCertificate : Download a queue manager's certificate from its key store Download the specified key store certificate PEM file from the queue manager.

func (*MqcloudV1) DownloadKeyStoreCertificateWithContext

func (mqcloud *MqcloudV1) DownloadKeyStoreCertificateWithContext(ctx context.Context, downloadKeyStoreCertificateOptions *DownloadKeyStoreCertificateOptions) (result io.ReadCloser, response *core.DetailedResponse, err error)

DownloadKeyStoreCertificateWithContext is an alternate form of the DownloadKeyStoreCertificate method which supports a Context parameter

func (*MqcloudV1) DownloadTrustStoreCertificate

func (mqcloud *MqcloudV1) DownloadTrustStoreCertificate(downloadTrustStoreCertificateOptions *DownloadTrustStoreCertificateOptions) (result io.ReadCloser, response *core.DetailedResponse, err error)

DownloadTrustStoreCertificate : Download a queue manager's certificate from its trust store Download the specified trust store certificate PEM file from the queue manager.

func (*MqcloudV1) DownloadTrustStoreCertificateWithContext

func (mqcloud *MqcloudV1) DownloadTrustStoreCertificateWithContext(ctx context.Context, downloadTrustStoreCertificateOptions *DownloadTrustStoreCertificateOptions) (result io.ReadCloser, response *core.DetailedResponse, err error)

DownloadTrustStoreCertificateWithContext is an alternate form of the DownloadTrustStoreCertificate method which supports a Context parameter

func (*MqcloudV1) EnableRetries

func (mqcloud *MqcloudV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)

EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.

func (*MqcloudV1) GetApplication

func (mqcloud *MqcloudV1) GetApplication(getApplicationOptions *GetApplicationOptions) (result *ApplicationDetails, response *core.DetailedResponse, err error)

GetApplication : Get an application for an instance Get an application for an instance.

func (*MqcloudV1) GetApplicationWithContext

func (mqcloud *MqcloudV1) GetApplicationWithContext(ctx context.Context, getApplicationOptions *GetApplicationOptions) (result *ApplicationDetails, response *core.DetailedResponse, err error)

GetApplicationWithContext is an alternate form of the GetApplication method which supports a Context parameter

func (*MqcloudV1) GetCertificateAmsChannels

func (mqcloud *MqcloudV1) GetCertificateAmsChannels(getCertificateAmsChannelsOptions *GetCertificateAmsChannelsOptions) (result *ChannelsDetails, response *core.DetailedResponse, err error)

GetCertificateAmsChannels : Get the AMS channels that are configured with this key store certificate Get the AMS channels that are configured with this key store certificate.

func (*MqcloudV1) GetCertificateAmsChannelsWithContext

func (mqcloud *MqcloudV1) GetCertificateAmsChannelsWithContext(ctx context.Context, getCertificateAmsChannelsOptions *GetCertificateAmsChannelsOptions) (result *ChannelsDetails, response *core.DetailedResponse, err error)

GetCertificateAmsChannelsWithContext is an alternate form of the GetCertificateAmsChannels method which supports a Context parameter

func (*MqcloudV1) GetEnableGzipCompression

func (mqcloud *MqcloudV1) GetEnableGzipCompression() bool

GetEnableGzipCompression returns the service's EnableGzipCompression field

func (*MqcloudV1) GetKeyStoreCertificate

func (mqcloud *MqcloudV1) GetKeyStoreCertificate(getKeyStoreCertificateOptions *GetKeyStoreCertificateOptions) (result *KeyStoreCertificateDetails, response *core.DetailedResponse, err error)

GetKeyStoreCertificate : Get a key store certificate for queue manager Get a key store certificate for queue manager.

func (*MqcloudV1) GetKeyStoreCertificateWithContext

func (mqcloud *MqcloudV1) GetKeyStoreCertificateWithContext(ctx context.Context, getKeyStoreCertificateOptions *GetKeyStoreCertificateOptions) (result *KeyStoreCertificateDetails, response *core.DetailedResponse, err error)

GetKeyStoreCertificateWithContext is an alternate form of the GetKeyStoreCertificate method which supports a Context parameter

func (*MqcloudV1) GetOptions

func (mqcloud *MqcloudV1) GetOptions(getOptionsOptions *GetOptionsOptions) (result *ConfigurationOptions, response *core.DetailedResponse, err error)

GetOptions : Return configuration options (eg, available deployment locations, queue manager sizes) Return configuration options (eg, available deployment locations, queue manager sizes).

func (*MqcloudV1) GetOptionsWithContext

func (mqcloud *MqcloudV1) GetOptionsWithContext(ctx context.Context, getOptionsOptions *GetOptionsOptions) (result *ConfigurationOptions, response *core.DetailedResponse, err error)

GetOptionsWithContext is an alternate form of the GetOptions method which supports a Context parameter

func (*MqcloudV1) GetQueueManager

func (mqcloud *MqcloudV1) GetQueueManager(getQueueManagerOptions *GetQueueManagerOptions) (result *QueueManagerDetails, response *core.DetailedResponse, err error)

GetQueueManager : Get details of a queue manager Get the details of a given queue manager.

func (*MqcloudV1) GetQueueManagerAvailableUpgradeVersions

func (mqcloud *MqcloudV1) GetQueueManagerAvailableUpgradeVersions(getQueueManagerAvailableUpgradeVersionsOptions *GetQueueManagerAvailableUpgradeVersionsOptions) (result *QueueManagerVersionUpgrades, response *core.DetailedResponse, err error)

GetQueueManagerAvailableUpgradeVersions : Get the list of available versions that this queue manager can be upgraded to Get the list of available versions that this queue manager can be upgraded to.

func (*MqcloudV1) GetQueueManagerAvailableUpgradeVersionsWithContext

func (mqcloud *MqcloudV1) GetQueueManagerAvailableUpgradeVersionsWithContext(ctx context.Context, getQueueManagerAvailableUpgradeVersionsOptions *GetQueueManagerAvailableUpgradeVersionsOptions) (result *QueueManagerVersionUpgrades, response *core.DetailedResponse, err error)

GetQueueManagerAvailableUpgradeVersionsWithContext is an alternate form of the GetQueueManagerAvailableUpgradeVersions method which supports a Context parameter

func (*MqcloudV1) GetQueueManagerConnectionInfo

func (mqcloud *MqcloudV1) GetQueueManagerConnectionInfo(getQueueManagerConnectionInfoOptions *GetQueueManagerConnectionInfoOptions) (result *ConnectionInfo, response *core.DetailedResponse, err error)

GetQueueManagerConnectionInfo : Get connection information for a queue manager Get connection information for a queue manager.

func (*MqcloudV1) GetQueueManagerConnectionInfoWithContext

func (mqcloud *MqcloudV1) GetQueueManagerConnectionInfoWithContext(ctx context.Context, getQueueManagerConnectionInfoOptions *GetQueueManagerConnectionInfoOptions) (result *ConnectionInfo, response *core.DetailedResponse, err error)

GetQueueManagerConnectionInfoWithContext is an alternate form of the GetQueueManagerConnectionInfo method which supports a Context parameter

func (*MqcloudV1) GetQueueManagerStatus

func (mqcloud *MqcloudV1) GetQueueManagerStatus(getQueueManagerStatusOptions *GetQueueManagerStatusOptions) (result *QueueManagerStatus, response *core.DetailedResponse, err error)

GetQueueManagerStatus : Get the status of the queue manager Get the status of the queue manager instance.

func (*MqcloudV1) GetQueueManagerStatusWithContext

func (mqcloud *MqcloudV1) GetQueueManagerStatusWithContext(ctx context.Context, getQueueManagerStatusOptions *GetQueueManagerStatusOptions) (result *QueueManagerStatus, response *core.DetailedResponse, err error)

GetQueueManagerStatusWithContext is an alternate form of the GetQueueManagerStatus method which supports a Context parameter

func (*MqcloudV1) GetQueueManagerWithContext

func (mqcloud *MqcloudV1) GetQueueManagerWithContext(ctx context.Context, getQueueManagerOptions *GetQueueManagerOptions) (result *QueueManagerDetails, response *core.DetailedResponse, err error)

GetQueueManagerWithContext is an alternate form of the GetQueueManager method which supports a Context parameter

func (*MqcloudV1) GetServiceURL

func (mqcloud *MqcloudV1) GetServiceURL() string

GetServiceURL returns the service URL

func (*MqcloudV1) GetTrustStoreCertificate

func (mqcloud *MqcloudV1) GetTrustStoreCertificate(getTrustStoreCertificateOptions *GetTrustStoreCertificateOptions) (result *TrustStoreCertificateDetails, response *core.DetailedResponse, err error)

GetTrustStoreCertificate : Get a trust store certificate Get a trust store certificate from a queue manager.

func (*MqcloudV1) GetTrustStoreCertificateWithContext

func (mqcloud *MqcloudV1) GetTrustStoreCertificateWithContext(ctx context.Context, getTrustStoreCertificateOptions *GetTrustStoreCertificateOptions) (result *TrustStoreCertificateDetails, response *core.DetailedResponse, err error)

GetTrustStoreCertificateWithContext is an alternate form of the GetTrustStoreCertificate method which supports a Context parameter

func (*MqcloudV1) GetUsageDetails

func (mqcloud *MqcloudV1) GetUsageDetails(getUsageDetailsOptions *GetUsageDetailsOptions) (result *Usage, response *core.DetailedResponse, err error)

GetUsageDetails : Get the usage details Get the usage details.

func (*MqcloudV1) GetUsageDetailsWithContext

func (mqcloud *MqcloudV1) GetUsageDetailsWithContext(ctx context.Context, getUsageDetailsOptions *GetUsageDetailsOptions) (result *Usage, response *core.DetailedResponse, err error)

GetUsageDetailsWithContext is an alternate form of the GetUsageDetails method which supports a Context parameter

func (*MqcloudV1) GetUser

func (mqcloud *MqcloudV1) GetUser(getUserOptions *GetUserOptions) (result *UserDetails, response *core.DetailedResponse, err error)

GetUser : Get a user for an instance Get a user for an instance.

func (*MqcloudV1) GetUserWithContext

func (mqcloud *MqcloudV1) GetUserWithContext(ctx context.Context, getUserOptions *GetUserOptions) (result *UserDetails, response *core.DetailedResponse, err error)

GetUserWithContext is an alternate form of the GetUser method which supports a Context parameter

func (*MqcloudV1) ListApplications

func (mqcloud *MqcloudV1) ListApplications(listApplicationsOptions *ListApplicationsOptions) (result *ApplicationDetailsCollection, response *core.DetailedResponse, err error)

ListApplications : Get a list of applications for an instance Get a list of applications for an instance.

func (*MqcloudV1) ListApplicationsWithContext

func (mqcloud *MqcloudV1) ListApplicationsWithContext(ctx context.Context, listApplicationsOptions *ListApplicationsOptions) (result *ApplicationDetailsCollection, response *core.DetailedResponse, err error)

ListApplicationsWithContext is an alternate form of the ListApplications method which supports a Context parameter

func (*MqcloudV1) ListKeyStoreCertificates

func (mqcloud *MqcloudV1) ListKeyStoreCertificates(listKeyStoreCertificatesOptions *ListKeyStoreCertificatesOptions) (result *KeyStoreCertificateDetailsCollection, response *core.DetailedResponse, err error)

ListKeyStoreCertificates : List certificates Get a list of certificates in the queue manager's certificate key store.

func (*MqcloudV1) ListKeyStoreCertificatesWithContext

func (mqcloud *MqcloudV1) ListKeyStoreCertificatesWithContext(ctx context.Context, listKeyStoreCertificatesOptions *ListKeyStoreCertificatesOptions) (result *KeyStoreCertificateDetailsCollection, response *core.DetailedResponse, err error)

ListKeyStoreCertificatesWithContext is an alternate form of the ListKeyStoreCertificates method which supports a Context parameter

func (*MqcloudV1) ListQueueManagers

func (mqcloud *MqcloudV1) ListQueueManagers(listQueueManagersOptions *ListQueueManagersOptions) (result *QueueManagerDetailsCollection, response *core.DetailedResponse, err error)

ListQueueManagers : Get list of queue managers Get a list of the queue manager summaries which exist in this service instance.

func (*MqcloudV1) ListQueueManagersWithContext

func (mqcloud *MqcloudV1) ListQueueManagersWithContext(ctx context.Context, listQueueManagersOptions *ListQueueManagersOptions) (result *QueueManagerDetailsCollection, response *core.DetailedResponse, err error)

ListQueueManagersWithContext is an alternate form of the ListQueueManagers method which supports a Context parameter

func (*MqcloudV1) ListTrustStoreCertificates

func (mqcloud *MqcloudV1) ListTrustStoreCertificates(listTrustStoreCertificatesOptions *ListTrustStoreCertificatesOptions) (result *TrustStoreCertificateDetailsCollection, response *core.DetailedResponse, err error)

ListTrustStoreCertificates : List certificates Get the list of certificates in the queue manager's certificate trust store.

func (*MqcloudV1) ListTrustStoreCertificatesWithContext

func (mqcloud *MqcloudV1) ListTrustStoreCertificatesWithContext(ctx context.Context, listTrustStoreCertificatesOptions *ListTrustStoreCertificatesOptions) (result *TrustStoreCertificateDetailsCollection, response *core.DetailedResponse, err error)

ListTrustStoreCertificatesWithContext is an alternate form of the ListTrustStoreCertificates method which supports a Context parameter

func (*MqcloudV1) ListUsers

func (mqcloud *MqcloudV1) ListUsers(listUsersOptions *ListUsersOptions) (result *UserDetailsCollection, response *core.DetailedResponse, err error)

ListUsers : Get a list of users for an instance Get a list of users for an instance.

func (*MqcloudV1) ListUsersWithContext

func (mqcloud *MqcloudV1) ListUsersWithContext(ctx context.Context, listUsersOptions *ListUsersOptions) (result *UserDetailsCollection, response *core.DetailedResponse, err error)

ListUsersWithContext is an alternate form of the ListUsers method which supports a Context parameter

func (*MqcloudV1) NewApplicationsPager

func (mqcloud *MqcloudV1) NewApplicationsPager(options *ListApplicationsOptions) (pager *ApplicationsPager, err error)

NewApplicationsPager returns a new ApplicationsPager instance.

func (*MqcloudV1) NewCreateApplicationApikeyOptions

func (*MqcloudV1) NewCreateApplicationApikeyOptions(serviceInstanceGuid string, applicationID string, name string) *CreateApplicationApikeyOptions

NewCreateApplicationApikeyOptions : Instantiate CreateApplicationApikeyOptions

func (*MqcloudV1) NewCreateApplicationOptions

func (*MqcloudV1) NewCreateApplicationOptions(serviceInstanceGuid string, name string) *CreateApplicationOptions

NewCreateApplicationOptions : Instantiate CreateApplicationOptions

func (*MqcloudV1) NewCreateKeyStorePemCertificateOptions

func (*MqcloudV1) NewCreateKeyStorePemCertificateOptions(serviceInstanceGuid string, queueManagerID string, label string, certificateFile io.ReadCloser) *CreateKeyStorePemCertificateOptions

NewCreateKeyStorePemCertificateOptions : Instantiate CreateKeyStorePemCertificateOptions

func (*MqcloudV1) NewCreateQueueManagerOptions

func (*MqcloudV1) NewCreateQueueManagerOptions(serviceInstanceGuid string, name string, location string, size string) *CreateQueueManagerOptions

NewCreateQueueManagerOptions : Instantiate CreateQueueManagerOptions

func (*MqcloudV1) NewCreateTrustStorePemCertificateOptions

func (*MqcloudV1) NewCreateTrustStorePemCertificateOptions(serviceInstanceGuid string, queueManagerID string, label string, certificateFile io.ReadCloser) *CreateTrustStorePemCertificateOptions

NewCreateTrustStorePemCertificateOptions : Instantiate CreateTrustStorePemCertificateOptions

func (*MqcloudV1) NewCreateUserOptions

func (*MqcloudV1) NewCreateUserOptions(serviceInstanceGuid string, email string, name string) *CreateUserOptions

NewCreateUserOptions : Instantiate CreateUserOptions

func (*MqcloudV1) NewDeleteApplicationOptions

func (*MqcloudV1) NewDeleteApplicationOptions(serviceInstanceGuid string, applicationID string) *DeleteApplicationOptions

NewDeleteApplicationOptions : Instantiate DeleteApplicationOptions

func (*MqcloudV1) NewDeleteKeyStoreCertificateOptions

func (*MqcloudV1) NewDeleteKeyStoreCertificateOptions(serviceInstanceGuid string, queueManagerID string, certificateID string) *DeleteKeyStoreCertificateOptions

NewDeleteKeyStoreCertificateOptions : Instantiate DeleteKeyStoreCertificateOptions

func (*MqcloudV1) NewDeleteQueueManagerOptions

func (*MqcloudV1) NewDeleteQueueManagerOptions(serviceInstanceGuid string, queueManagerID string) *DeleteQueueManagerOptions

NewDeleteQueueManagerOptions : Instantiate DeleteQueueManagerOptions

func (*MqcloudV1) NewDeleteTrustStoreCertificateOptions

func (*MqcloudV1) NewDeleteTrustStoreCertificateOptions(serviceInstanceGuid string, queueManagerID string, certificateID string) *DeleteTrustStoreCertificateOptions

NewDeleteTrustStoreCertificateOptions : Instantiate DeleteTrustStoreCertificateOptions

func (*MqcloudV1) NewDeleteUserOptions

func (*MqcloudV1) NewDeleteUserOptions(serviceInstanceGuid string, userID string) *DeleteUserOptions

NewDeleteUserOptions : Instantiate DeleteUserOptions

func (*MqcloudV1) NewDownloadKeyStoreCertificateOptions

func (*MqcloudV1) NewDownloadKeyStoreCertificateOptions(serviceInstanceGuid string, queueManagerID string, certificateID string) *DownloadKeyStoreCertificateOptions

NewDownloadKeyStoreCertificateOptions : Instantiate DownloadKeyStoreCertificateOptions

func (*MqcloudV1) NewDownloadTrustStoreCertificateOptions

func (*MqcloudV1) NewDownloadTrustStoreCertificateOptions(serviceInstanceGuid string, queueManagerID string, certificateID string) *DownloadTrustStoreCertificateOptions

NewDownloadTrustStoreCertificateOptions : Instantiate DownloadTrustStoreCertificateOptions

func (*MqcloudV1) NewGetApplicationOptions

func (*MqcloudV1) NewGetApplicationOptions(serviceInstanceGuid string, applicationID string) *GetApplicationOptions

NewGetApplicationOptions : Instantiate GetApplicationOptions

func (*MqcloudV1) NewGetCertificateAmsChannelsOptions

func (*MqcloudV1) NewGetCertificateAmsChannelsOptions(queueManagerID string, certificateID string, serviceInstanceGuid string) *GetCertificateAmsChannelsOptions

NewGetCertificateAmsChannelsOptions : Instantiate GetCertificateAmsChannelsOptions

func (*MqcloudV1) NewGetKeyStoreCertificateOptions

func (*MqcloudV1) NewGetKeyStoreCertificateOptions(serviceInstanceGuid string, queueManagerID string, certificateID string) *GetKeyStoreCertificateOptions

NewGetKeyStoreCertificateOptions : Instantiate GetKeyStoreCertificateOptions

func (*MqcloudV1) NewGetOptionsOptions

func (*MqcloudV1) NewGetOptionsOptions(serviceInstanceGuid string) *GetOptionsOptions

NewGetOptionsOptions : Instantiate GetOptionsOptions

func (*MqcloudV1) NewGetQueueManagerAvailableUpgradeVersionsOptions

func (*MqcloudV1) NewGetQueueManagerAvailableUpgradeVersionsOptions(serviceInstanceGuid string, queueManagerID string) *GetQueueManagerAvailableUpgradeVersionsOptions

NewGetQueueManagerAvailableUpgradeVersionsOptions : Instantiate GetQueueManagerAvailableUpgradeVersionsOptions

func (*MqcloudV1) NewGetQueueManagerConnectionInfoOptions

func (*MqcloudV1) NewGetQueueManagerConnectionInfoOptions(serviceInstanceGuid string, queueManagerID string) *GetQueueManagerConnectionInfoOptions

NewGetQueueManagerConnectionInfoOptions : Instantiate GetQueueManagerConnectionInfoOptions

func (*MqcloudV1) NewGetQueueManagerOptions

func (*MqcloudV1) NewGetQueueManagerOptions(serviceInstanceGuid string, queueManagerID string) *GetQueueManagerOptions

NewGetQueueManagerOptions : Instantiate GetQueueManagerOptions

func (*MqcloudV1) NewGetQueueManagerStatusOptions

func (*MqcloudV1) NewGetQueueManagerStatusOptions(serviceInstanceGuid string, queueManagerID string) *GetQueueManagerStatusOptions

NewGetQueueManagerStatusOptions : Instantiate GetQueueManagerStatusOptions

func (*MqcloudV1) NewGetTrustStoreCertificateOptions

func (*MqcloudV1) NewGetTrustStoreCertificateOptions(serviceInstanceGuid string, queueManagerID string, certificateID string) *GetTrustStoreCertificateOptions

NewGetTrustStoreCertificateOptions : Instantiate GetTrustStoreCertificateOptions

func (*MqcloudV1) NewGetUsageDetailsOptions

func (*MqcloudV1) NewGetUsageDetailsOptions(serviceInstanceGuid string) *GetUsageDetailsOptions

NewGetUsageDetailsOptions : Instantiate GetUsageDetailsOptions

func (*MqcloudV1) NewGetUserOptions

func (*MqcloudV1) NewGetUserOptions(serviceInstanceGuid string, userID string) *GetUserOptions

NewGetUserOptions : Instantiate GetUserOptions

func (*MqcloudV1) NewListApplicationsOptions

func (*MqcloudV1) NewListApplicationsOptions(serviceInstanceGuid string) *ListApplicationsOptions

NewListApplicationsOptions : Instantiate ListApplicationsOptions

func (*MqcloudV1) NewListKeyStoreCertificatesOptions

func (*MqcloudV1) NewListKeyStoreCertificatesOptions(serviceInstanceGuid string, queueManagerID string) *ListKeyStoreCertificatesOptions

NewListKeyStoreCertificatesOptions : Instantiate ListKeyStoreCertificatesOptions

func (*MqcloudV1) NewListQueueManagersOptions

func (*MqcloudV1) NewListQueueManagersOptions(serviceInstanceGuid string) *ListQueueManagersOptions

NewListQueueManagersOptions : Instantiate ListQueueManagersOptions

func (*MqcloudV1) NewListTrustStoreCertificatesOptions

func (*MqcloudV1) NewListTrustStoreCertificatesOptions(serviceInstanceGuid string, queueManagerID string) *ListTrustStoreCertificatesOptions

NewListTrustStoreCertificatesOptions : Instantiate ListTrustStoreCertificatesOptions

func (*MqcloudV1) NewListUsersOptions

func (*MqcloudV1) NewListUsersOptions(serviceInstanceGuid string) *ListUsersOptions

NewListUsersOptions : Instantiate ListUsersOptions

func (*MqcloudV1) NewQueueManagersPager

func (mqcloud *MqcloudV1) NewQueueManagersPager(options *ListQueueManagersOptions) (pager *QueueManagersPager, err error)

NewQueueManagersPager returns a new QueueManagersPager instance.

func (*MqcloudV1) NewSetCertificateAmsChannelsOptions

func (*MqcloudV1) NewSetCertificateAmsChannelsOptions(queueManagerID string, certificateID string, serviceInstanceGuid string, channels []ChannelDetails) *SetCertificateAmsChannelsOptions

NewSetCertificateAmsChannelsOptions : Instantiate SetCertificateAmsChannelsOptions

func (*MqcloudV1) NewSetQueueManagerVersionOptions

func (*MqcloudV1) NewSetQueueManagerVersionOptions(serviceInstanceGuid string, queueManagerID string, version string) *SetQueueManagerVersionOptions

NewSetQueueManagerVersionOptions : Instantiate SetQueueManagerVersionOptions

func (*MqcloudV1) NewUsersPager

func (mqcloud *MqcloudV1) NewUsersPager(options *ListUsersOptions) (pager *UsersPager, err error)

NewUsersPager returns a new UsersPager instance.

func (*MqcloudV1) SetCertificateAmsChannels

func (mqcloud *MqcloudV1) SetCertificateAmsChannels(setCertificateAmsChannelsOptions *SetCertificateAmsChannelsOptions) (result *ChannelsDetails, response *core.DetailedResponse, err error)

SetCertificateAmsChannels : Update the AMS channels that are configured with this key store certificate Update the AMS channels that are configured with this key store certificate.

func (*MqcloudV1) SetCertificateAmsChannelsWithContext

func (mqcloud *MqcloudV1) SetCertificateAmsChannelsWithContext(ctx context.Context, setCertificateAmsChannelsOptions *SetCertificateAmsChannelsOptions) (result *ChannelsDetails, response *core.DetailedResponse, err error)

SetCertificateAmsChannelsWithContext is an alternate form of the SetCertificateAmsChannels method which supports a Context parameter

func (*MqcloudV1) SetDefaultHeaders

func (mqcloud *MqcloudV1) SetDefaultHeaders(headers http.Header)

SetDefaultHeaders sets HTTP headers to be sent in every request

func (*MqcloudV1) SetEnableGzipCompression

func (mqcloud *MqcloudV1) SetEnableGzipCompression(enableGzip bool)

SetEnableGzipCompression sets the service's EnableGzipCompression field

func (*MqcloudV1) SetQueueManagerVersion

func (mqcloud *MqcloudV1) SetQueueManagerVersion(setQueueManagerVersionOptions *SetQueueManagerVersionOptions) (result *QueueManagerTaskStatus, response *core.DetailedResponse, err error)

SetQueueManagerVersion : Upgrade a queue manager Upgrade a queue manager.

func (*MqcloudV1) SetQueueManagerVersionWithContext

func (mqcloud *MqcloudV1) SetQueueManagerVersionWithContext(ctx context.Context, setQueueManagerVersionOptions *SetQueueManagerVersionOptions) (result *QueueManagerTaskStatus, response *core.DetailedResponse, err error)

SetQueueManagerVersionWithContext is an alternate form of the SetQueueManagerVersion method which supports a Context parameter

func (*MqcloudV1) SetServiceURL

func (mqcloud *MqcloudV1) SetServiceURL(url string) error

SetServiceURL sets the service URL

type MqcloudV1Options

type MqcloudV1Options struct {
	ServiceName   string
	URL           string
	Authenticator core.Authenticator

	// The acceptable list of languages supported in the client.
	AcceptLanguage *string
}

MqcloudV1Options : Service options

type Next

type Next struct {
	// The URL of the page the link goes to.
	Href *string `json:"href,omitempty"`
}

Next : Link to next page of results.

type Previous

type Previous struct {
	// The URL of the page the link goes to.
	Href *string `json:"href,omitempty"`
}

Previous : Link to previous page of results.

type QueueManagerDetails

type QueueManagerDetails struct {
	// The ID of the queue manager which was allocated on creation, and can be used for delete calls.
	ID *string `json:"id" validate:"required"`

	// A queue manager name conforming to MQ restrictions.
	Name *string `json:"name" validate:"required"`

	// A displayable name for the queue manager - limited only in length.
	DisplayName *string `json:"display_name" validate:"required"`

	// The locations in which the queue manager could be deployed.
	Location *string `json:"location" validate:"required"`

	// The queue manager sizes of deployment available. Deployment of lite queue managers for aws_us_east_1 and
	// aws_eu_west_1 locations is not available.
	Size *string `json:"size" validate:"required"`

	// A reference uri to get deployment status of the queue manager.
	StatusURI *string `json:"status_uri" validate:"required"`

	// The MQ version of the queue manager.
	Version *string `json:"version" validate:"required"`

	// The url through which to access the web console for this queue manager.
	WebConsoleURL *string `json:"web_console_url" validate:"required"`

	// The url through which to access REST APIs for this queue manager.
	RestApiEndpointURL *string `json:"rest_api_endpoint_url" validate:"required"`

	// The url through which to access the Admin REST APIs for this queue manager.
	AdministratorApiEndpointURL *string `json:"administrator_api_endpoint_url" validate:"required"`

	// The uri through which the CDDT for this queue manager can be obtained.
	ConnectionInfoURI *string `json:"connection_info_uri" validate:"required"`

	// RFC3339 formatted UTC date for when the queue manager was created.
	DateCreated *strfmt.DateTime `json:"date_created" validate:"required"`

	// Describes whether an upgrade is available for this queue manager.
	UpgradeAvailable *bool `json:"upgrade_available" validate:"required"`

	// The uri through which the available versions to upgrade to can be found for this queue manager.
	AvailableUpgradeVersionsURI *string `json:"available_upgrade_versions_uri" validate:"required"`

	// The URL for this queue manager.
	Href *string `json:"href" validate:"required"`
}

QueueManagerDetails : The details of the queue manager.

type QueueManagerDetailsCollection

type QueueManagerDetailsCollection struct {
	// Pagination offset.
	Offset *int64 `json:"offset" validate:"required"`

	// Results per page, same for all collections.
	Limit *int64 `json:"limit" validate:"required"`

	// Link to first page of results.
	First *First `json:"first" validate:"required"`

	// Link to next page of results.
	Next *Next `json:"next,omitempty"`

	// Link to previous page of results.
	Previous *Previous `json:"previous,omitempty"`

	// List of queue managers.
	QueueManagers []QueueManagerDetails `json:"queue_managers" validate:"required"`
}

QueueManagerDetailsCollection : A list of queue manager summaries.

func (*QueueManagerDetailsCollection) GetNextOffset

func (resp *QueueManagerDetailsCollection) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type QueueManagerStatus

type QueueManagerStatus struct {
	// The deploying and failed states are not queue manager states, they are states which can occur when the request to
	// deploy has been fired, or with that request has failed without producing a queue manager to have any state. The
	// other states map to the queue manager states. State "ending" is either quiesing or ending immediately. State "ended"
	// is either ended normally or endedimmediately. The others map one to one with queue manager states.
	Status *string `json:"status" validate:"required"`
}

QueueManagerStatus : Queue manager status.

type QueueManagerTaskStatus

type QueueManagerTaskStatus struct {
	// Uri for the details of the queue manager.
	QueueManagerURI *string `json:"queue_manager_uri" validate:"required"`

	// Uri for the status of the queue manager.
	QueueManagerStatusURI *string `json:"queue_manager_status_uri" validate:"required"`

	// The queue manager id.
	QueueManagerID *string `json:"queue_manager_id" validate:"required"`
}

QueueManagerTaskStatus : A URI for status that can be queried periodically to get the status of the queue manager.

type QueueManagerVersionUpgrade

type QueueManagerVersionUpgrade struct {
	// The target version of the queue manager upgrade.
	Version *string `json:"version" validate:"required"`

	// RFC3339 formatted UTC date for when the queue manager will automatically be updated.
	TargetDate *strfmt.DateTime `json:"target_date" validate:"required"`
}

QueueManagerVersionUpgrade : An available upgrade for a queue manager.

type QueueManagerVersionUpgrades

type QueueManagerVersionUpgrades struct {
	// Total count of versions available.
	TotalCount *int64 `json:"total_count" validate:"required"`

	// The list of available versions that this queue manger can upgrade to.
	Versions []QueueManagerVersionUpgrade `json:"versions" validate:"required"`
}

QueueManagerVersionUpgrades : The list of available versions that this queue manger can upgrade to.

type QueueManagersPager

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

QueueManagersPager can be used to simplify the use of the "ListQueueManagers" method.

func (*QueueManagersPager) GetAll

func (pager *QueueManagersPager) GetAll() (allItems []QueueManagerDetails, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*QueueManagersPager) GetAllWithContext

func (pager *QueueManagersPager) GetAllWithContext(ctx context.Context) (allItems []QueueManagerDetails, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*QueueManagersPager) GetNext

func (pager *QueueManagersPager) GetNext() (page []QueueManagerDetails, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*QueueManagersPager) GetNextWithContext

func (pager *QueueManagersPager) GetNextWithContext(ctx context.Context) (page []QueueManagerDetails, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*QueueManagersPager) HasNext

func (pager *QueueManagersPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

type SetCertificateAmsChannelsOptions

type SetCertificateAmsChannelsOptions struct {
	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The id of the certificate.
	CertificateID *string `json:"certificate_id" validate:"required,ne="`

	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The list of AMS channels that are using this certificate.
	Channels []ChannelDetails `json:"channels" validate:"required"`

	// Strategy for how the supplied channels should be applied.
	UpdateStrategy *string `json:"update_strategy,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

SetCertificateAmsChannelsOptions : The SetCertificateAmsChannels options.

func (*SetCertificateAmsChannelsOptions) SetCertificateID

func (_options *SetCertificateAmsChannelsOptions) SetCertificateID(certificateID string) *SetCertificateAmsChannelsOptions

SetCertificateID : Allow user to set CertificateID

func (*SetCertificateAmsChannelsOptions) SetChannels

SetChannels : Allow user to set Channels

func (*SetCertificateAmsChannelsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*SetCertificateAmsChannelsOptions) SetQueueManagerID

func (_options *SetCertificateAmsChannelsOptions) SetQueueManagerID(queueManagerID string) *SetCertificateAmsChannelsOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*SetCertificateAmsChannelsOptions) SetServiceInstanceGuid

func (_options *SetCertificateAmsChannelsOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *SetCertificateAmsChannelsOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

func (*SetCertificateAmsChannelsOptions) SetUpdateStrategy

func (_options *SetCertificateAmsChannelsOptions) SetUpdateStrategy(updateStrategy string) *SetCertificateAmsChannelsOptions

SetUpdateStrategy : Allow user to set UpdateStrategy

type SetQueueManagerVersionOptions

type SetQueueManagerVersionOptions struct {
	// The GUID that uniquely identifies the MQ on Cloud service instance.
	ServiceInstanceGuid *string `json:"service_instance_guid" validate:"required,ne="`

	// The id of the queue manager to retrieve its full details.
	QueueManagerID *string `json:"queue_manager_id" validate:"required,ne="`

	// The version upgrade to apply to the queue manager.
	Version *string `json:"version" validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

SetQueueManagerVersionOptions : The SetQueueManagerVersion options.

func (*SetQueueManagerVersionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*SetQueueManagerVersionOptions) SetQueueManagerID

func (_options *SetQueueManagerVersionOptions) SetQueueManagerID(queueManagerID string) *SetQueueManagerVersionOptions

SetQueueManagerID : Allow user to set QueueManagerID

func (*SetQueueManagerVersionOptions) SetServiceInstanceGuid

func (_options *SetQueueManagerVersionOptions) SetServiceInstanceGuid(serviceInstanceGuid string) *SetQueueManagerVersionOptions

SetServiceInstanceGuid : Allow user to set ServiceInstanceGuid

func (*SetQueueManagerVersionOptions) SetVersion

SetVersion : Allow user to set Version

type TransmissionSecurity

type TransmissionSecurity struct {
	// Specifies the name of the CipherSpec for the channel to use.
	CipherSpecification *string `json:"cipherSpecification,omitempty"`
}

TransmissionSecurity : An object that contains attributes that are related to security for message transmission.

type TrustStoreCertificateDetails

type TrustStoreCertificateDetails struct {
	// Id of the certificate.
	ID *string `json:"id" validate:"required"`

	// Certificate label in queue manager store.
	Label *string `json:"label" validate:"required"`

	// The type of certificate.
	CertificateType *string `json:"certificate_type" validate:"required"`

	// Fingerprint SHA256.
	FingerprintSha256 *string `json:"fingerprint_sha256" validate:"required"`

	// Subject's Distinguished Name.
	SubjectDn *string `json:"subject_dn" validate:"required"`

	// Subject's Common Name.
	SubjectCn *string `json:"subject_cn" validate:"required"`

	// Issuer's Distinguished Name.
	IssuerDn *string `json:"issuer_dn" validate:"required"`

	// Issuer's Common Name.
	IssuerCn *string `json:"issuer_cn" validate:"required"`

	// The Date the certificate was issued.
	Issued *strfmt.DateTime `json:"issued" validate:"required"`

	// Expiry date for the certificate.
	Expiry *strfmt.DateTime `json:"expiry" validate:"required"`

	// Indicates whether a certificate is trusted.
	Trusted *bool `json:"trusted" validate:"required"`

	// The URL for this trust store certificate.
	Href *string `json:"href" validate:"required"`
}

TrustStoreCertificateDetails : The details of a trust store certificate in a queue manager certificate trust store.

type TrustStoreCertificateDetailsCollection

type TrustStoreCertificateDetailsCollection struct {
	// The total count of trust store certificates.
	TotalCount *int64 `json:"total_count,omitempty"`

	// The list of trust store certificates.
	TrustStore []TrustStoreCertificateDetails `json:"trust_store,omitempty"`
}

TrustStoreCertificateDetailsCollection : A list of certificates in a queue manager's certificate trust store.

type Usage

type Usage struct {
	// VPC entitlement.
	VpcEntitlement *float32 `json:"vpc_entitlement,omitempty"`

	// VPC usage.
	VpcUsage *float32 `json:"vpc_usage,omitempty"`
}

Usage : Usage details.

type UserDetails

type UserDetails struct {
	// The ID of the user which was allocated on creation, and can be used for delete calls.
	ID *string `json:"id" validate:"required"`

	// The shortname of the user that will be used as the IBM MQ administrator in interactions with a queue manager for
	// this service instance.
	Name *string `json:"name" validate:"required"`

	// The email of the user.
	Email *string `json:"email" validate:"required"`

	// The URL for the user details.
	Href *string `json:"href" validate:"required"`
}

UserDetails : A summary of the user for use in a list of users.

type UserDetailsCollection

type UserDetailsCollection struct {
	// Pagination offset.
	Offset *int64 `json:"offset" validate:"required"`

	// Results per page, same for all collections.
	Limit *int64 `json:"limit" validate:"required"`

	// Link to first page of results.
	First *First `json:"first" validate:"required"`

	// Link to next page of results.
	Next *Next `json:"next,omitempty"`

	// Link to previous page of results.
	Previous *Previous `json:"previous,omitempty"`

	// List of users.
	Users []UserDetails `json:"users" validate:"required"`
}

UserDetailsCollection : A list of user summaries.

func (*UserDetailsCollection) GetNextOffset

func (resp *UserDetailsCollection) GetNextOffset() (*int64, error)

Retrieve the value to be passed to a request to access the next page of results

type UsersPager

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

UsersPager can be used to simplify the use of the "ListUsers" method.

func (*UsersPager) GetAll

func (pager *UsersPager) GetAll() (allItems []UserDetails, err error)

GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.

func (*UsersPager) GetAllWithContext

func (pager *UsersPager) GetAllWithContext(ctx context.Context) (allItems []UserDetails, err error)

GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.

func (*UsersPager) GetNext

func (pager *UsersPager) GetNext() (page []UserDetails, err error)

GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.

func (*UsersPager) GetNextWithContext

func (pager *UsersPager) GetNextWithContext(ctx context.Context) (page []UserDetails, err error)

GetNextWithContext returns the next page of results using the specified Context.

func (*UsersPager) HasNext

func (pager *UsersPager) HasNext() bool

HasNext returns true if there are potentially more results to be retrieved.

Jump to

Keyboard shortcuts

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