Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiExportTransportPackageRequest
- type ApiImportTransportPackageRequest
- type ApiTransportPackageStatusRequest
- type BasicAuth
- type Configuration
- type ExportTransportPackageRequest
- func (o *ExportTransportPackageRequest) GetBusinessjustification() string
- func (o *ExportTransportPackageRequest) GetBusinessjustificationOk() (*string, bool)
- func (o *ExportTransportPackageRequest) GetEnvironmentname() string
- func (o *ExportTransportPackageRequest) GetEnvironmentnameOk() (*string, bool)
- func (o *ExportTransportPackageRequest) GetExportonline() string
- func (o *ExportTransportPackageRequest) GetExportonlineOk() (*string, bool)
- func (o *ExportTransportPackageRequest) GetExportpath() string
- func (o *ExportTransportPackageRequest) GetExportpathOk() (*string, bool)
- func (o *ExportTransportPackageRequest) GetObjectstoexport() ObjectsToExport
- func (o *ExportTransportPackageRequest) GetObjectstoexportOk() (*ObjectsToExport, bool)
- func (o *ExportTransportPackageRequest) GetTransportmembers() string
- func (o *ExportTransportPackageRequest) GetTransportmembersOk() (*string, bool)
- func (o *ExportTransportPackageRequest) GetTransportowner() string
- func (o *ExportTransportPackageRequest) GetTransportownerOk() (*string, bool)
- func (o *ExportTransportPackageRequest) GetUpdateuser() string
- func (o *ExportTransportPackageRequest) GetUpdateuserOk() (*string, bool)
- func (o *ExportTransportPackageRequest) HasBusinessjustification() bool
- func (o *ExportTransportPackageRequest) HasEnvironmentname() bool
- func (o *ExportTransportPackageRequest) HasExportpath() bool
- func (o *ExportTransportPackageRequest) HasTransportmembers() bool
- func (o *ExportTransportPackageRequest) HasTransportowner() bool
- func (o *ExportTransportPackageRequest) HasUpdateuser() bool
- func (o ExportTransportPackageRequest) MarshalJSON() ([]byte, error)
- func (o *ExportTransportPackageRequest) SetBusinessjustification(v string)
- func (o *ExportTransportPackageRequest) SetEnvironmentname(v string)
- func (o *ExportTransportPackageRequest) SetExportonline(v string)
- func (o *ExportTransportPackageRequest) SetExportpath(v string)
- func (o *ExportTransportPackageRequest) SetObjectstoexport(v ObjectsToExport)
- func (o *ExportTransportPackageRequest) SetTransportmembers(v string)
- func (o *ExportTransportPackageRequest) SetTransportowner(v string)
- func (o *ExportTransportPackageRequest) SetUpdateuser(v string)
- func (o ExportTransportPackageRequest) ToMap() (map[string]interface{}, error)
- func (o *ExportTransportPackageRequest) UnmarshalJSON(data []byte) (err error)
- type ExportTransportPackageResponse
- func (o *ExportTransportPackageResponse) GetErrorcode() int32
- func (o *ExportTransportPackageResponse) GetErrorcodeOk() (*int32, bool)
- func (o *ExportTransportPackageResponse) GetFileName() string
- func (o *ExportTransportPackageResponse) GetFileNameOk() (*string, bool)
- func (o *ExportTransportPackageResponse) GetMsg() string
- func (o *ExportTransportPackageResponse) GetMsgDescription() string
- func (o *ExportTransportPackageResponse) GetMsgDescriptionOk() (*string, bool)
- func (o *ExportTransportPackageResponse) GetMsgOk() (*string, bool)
- func (o ExportTransportPackageResponse) MarshalJSON() ([]byte, error)
- func (o *ExportTransportPackageResponse) SetErrorcode(v int32)
- func (o *ExportTransportPackageResponse) SetFileName(v string)
- func (o *ExportTransportPackageResponse) SetMsg(v string)
- func (o *ExportTransportPackageResponse) SetMsgDescription(v string)
- func (o ExportTransportPackageResponse) ToMap() (map[string]interface{}, error)
- func (o *ExportTransportPackageResponse) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type ImportTransportPackageRequest
- func (o *ImportTransportPackageRequest) GetBusinessjustification() string
- func (o *ImportTransportPackageRequest) GetBusinessjustificationOk() (*string, bool)
- func (o *ImportTransportPackageRequest) GetPackagetoimport() string
- func (o *ImportTransportPackageRequest) GetPackagetoimportOk() (*string, bool)
- func (o *ImportTransportPackageRequest) GetUpdateuser() string
- func (o *ImportTransportPackageRequest) GetUpdateuserOk() (*string, bool)
- func (o *ImportTransportPackageRequest) HasBusinessjustification() bool
- func (o *ImportTransportPackageRequest) HasUpdateuser() bool
- func (o ImportTransportPackageRequest) MarshalJSON() ([]byte, error)
- func (o *ImportTransportPackageRequest) SetBusinessjustification(v string)
- func (o *ImportTransportPackageRequest) SetPackagetoimport(v string)
- func (o *ImportTransportPackageRequest) SetUpdateuser(v string)
- func (o ImportTransportPackageRequest) ToMap() (map[string]interface{}, error)
- func (o *ImportTransportPackageRequest) UnmarshalJSON(data []byte) (err error)
- type ImportTransportPackageResponse
- func (o *ImportTransportPackageResponse) GetErrorcode() int32
- func (o *ImportTransportPackageResponse) GetErrorcodeOk() (*int32, bool)
- func (o *ImportTransportPackageResponse) GetMsg() string
- func (o *ImportTransportPackageResponse) GetMsgDescription() string
- func (o *ImportTransportPackageResponse) GetMsgDescriptionOk() (*string, bool)
- func (o *ImportTransportPackageResponse) GetMsgOk() (*string, bool)
- func (o *ImportTransportPackageResponse) GetRequestId() string
- func (o *ImportTransportPackageResponse) GetRequestIdOk() (*string, bool)
- func (o *ImportTransportPackageResponse) HasErrorcode() bool
- func (o *ImportTransportPackageResponse) HasMsg() bool
- func (o *ImportTransportPackageResponse) HasMsgDescription() bool
- func (o *ImportTransportPackageResponse) HasRequestId() bool
- func (o ImportTransportPackageResponse) MarshalJSON() ([]byte, error)
- func (o *ImportTransportPackageResponse) SetErrorcode(v int32)
- func (o *ImportTransportPackageResponse) SetMsg(v string)
- func (o *ImportTransportPackageResponse) SetMsgDescription(v string)
- func (o *ImportTransportPackageResponse) SetRequestId(v string)
- func (o ImportTransportPackageResponse) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableBool
- type NullableExportTransportPackageRequest
- func (v NullableExportTransportPackageRequest) Get() *ExportTransportPackageRequest
- func (v NullableExportTransportPackageRequest) IsSet() bool
- func (v NullableExportTransportPackageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableExportTransportPackageRequest) Set(val *ExportTransportPackageRequest)
- func (v *NullableExportTransportPackageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableExportTransportPackageRequest) Unset()
- type NullableExportTransportPackageResponse
- func (v NullableExportTransportPackageResponse) Get() *ExportTransportPackageResponse
- func (v NullableExportTransportPackageResponse) IsSet() bool
- func (v NullableExportTransportPackageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableExportTransportPackageResponse) Set(val *ExportTransportPackageResponse)
- func (v *NullableExportTransportPackageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableExportTransportPackageResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableImportTransportPackageRequest
- func (v NullableImportTransportPackageRequest) Get() *ImportTransportPackageRequest
- func (v NullableImportTransportPackageRequest) IsSet() bool
- func (v NullableImportTransportPackageRequest) MarshalJSON() ([]byte, error)
- func (v *NullableImportTransportPackageRequest) Set(val *ImportTransportPackageRequest)
- func (v *NullableImportTransportPackageRequest) UnmarshalJSON(src []byte) error
- func (v *NullableImportTransportPackageRequest) Unset()
- type NullableImportTransportPackageResponse
- func (v NullableImportTransportPackageResponse) Get() *ImportTransportPackageResponse
- func (v NullableImportTransportPackageResponse) IsSet() bool
- func (v NullableImportTransportPackageResponse) MarshalJSON() ([]byte, error)
- func (v *NullableImportTransportPackageResponse) Set(val *ImportTransportPackageResponse)
- func (v *NullableImportTransportPackageResponse) UnmarshalJSON(src []byte) error
- func (v *NullableImportTransportPackageResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableObjectsToExport
- func (v NullableObjectsToExport) Get() *ObjectsToExport
- func (v NullableObjectsToExport) IsSet() bool
- func (v NullableObjectsToExport) MarshalJSON() ([]byte, error)
- func (v *NullableObjectsToExport) Set(val *ObjectsToExport)
- func (v *NullableObjectsToExport) UnmarshalJSON(src []byte) error
- func (v *NullableObjectsToExport) Unset()
- type NullableString
- type NullableTime
- type NullableTransportPackageStatusRequest
- func (v NullableTransportPackageStatusRequest) Get() *TransportPackageStatusRequest
- func (v NullableTransportPackageStatusRequest) IsSet() bool
- func (v NullableTransportPackageStatusRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTransportPackageStatusRequest) Set(val *TransportPackageStatusRequest)
- func (v *NullableTransportPackageStatusRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTransportPackageStatusRequest) Unset()
- type NullableTransportPackageStatusResponse
- func (v NullableTransportPackageStatusResponse) Get() *TransportPackageStatusResponse
- func (v NullableTransportPackageStatusResponse) IsSet() bool
- func (v NullableTransportPackageStatusResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTransportPackageStatusResponse) Set(val *TransportPackageStatusResponse)
- func (v *NullableTransportPackageStatusResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTransportPackageStatusResponse) Unset()
- type ObjectsToExport
- func (o *ObjectsToExport) GetEmailTemplate() []string
- func (o *ObjectsToExport) GetEmailTemplateOk() ([]string, bool)
- func (o *ObjectsToExport) GetSavRoles() []string
- func (o *ObjectsToExport) GetSavRolesOk() ([]string, bool)
- func (o *ObjectsToExport) HasEmailTemplate() bool
- func (o *ObjectsToExport) HasSavRoles() bool
- func (o ObjectsToExport) MarshalJSON() ([]byte, error)
- func (o *ObjectsToExport) SetEmailTemplate(v []string)
- func (o *ObjectsToExport) SetSavRoles(v []string)
- func (o ObjectsToExport) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TransportAPIService
- func (a *TransportAPIService) ExportTransportPackage(ctx context.Context) ApiExportTransportPackageRequest
- func (a *TransportAPIService) ExportTransportPackageExecute(r ApiExportTransportPackageRequest) (*ExportTransportPackageResponse, *http.Response, error)
- func (a *TransportAPIService) ImportTransportPackage(ctx context.Context) ApiImportTransportPackageRequest
- func (a *TransportAPIService) ImportTransportPackageExecute(r ApiImportTransportPackageRequest) (*ImportTransportPackageResponse, *http.Response, error)
- func (a *TransportAPIService) TransportPackageStatus(ctx context.Context) ApiTransportPackageStatusRequest
- func (a *TransportAPIService) TransportPackageStatusExecute(r ApiTransportPackageStatusRequest) (*TransportPackageStatusResponse, *http.Response, error)
- type TransportPackageStatusRequest
- func (o *TransportPackageStatusRequest) GetFilename() string
- func (o *TransportPackageStatusRequest) GetFilenameOk() (*string, bool)
- func (o *TransportPackageStatusRequest) GetOperation() string
- func (o *TransportPackageStatusRequest) GetOperationOk() (*string, bool)
- func (o *TransportPackageStatusRequest) GetRequestid() string
- func (o *TransportPackageStatusRequest) GetRequestidOk() (*string, bool)
- func (o *TransportPackageStatusRequest) HasRequestid() bool
- func (o TransportPackageStatusRequest) MarshalJSON() ([]byte, error)
- func (o *TransportPackageStatusRequest) SetFilename(v string)
- func (o *TransportPackageStatusRequest) SetOperation(v string)
- func (o *TransportPackageStatusRequest) SetRequestid(v string)
- func (o TransportPackageStatusRequest) ToMap() (map[string]interface{}, error)
- func (o *TransportPackageStatusRequest) UnmarshalJSON(data []byte) (err error)
- type TransportPackageStatusResponse
- func (o *TransportPackageStatusResponse) GetErrorCode() int32
- func (o *TransportPackageStatusResponse) GetErrorCodeOk() (*int32, bool)
- func (o *TransportPackageStatusResponse) GetMsg() string
- func (o *TransportPackageStatusResponse) GetMsgDescription() string
- func (o *TransportPackageStatusResponse) GetMsgDescriptionOk() (*string, bool)
- func (o *TransportPackageStatusResponse) GetMsgOk() (*string, bool)
- func (o TransportPackageStatusResponse) MarshalJSON() ([]byte, error)
- func (o *TransportPackageStatusResponse) SetErrorCode(v int32)
- func (o *TransportPackageStatusResponse) SetMsg(v string)
- func (o *TransportPackageStatusResponse) SetMsgDescription(v string)
- func (o TransportPackageStatusResponse) ToMap() (map[string]interface{}, error)
- func (o *TransportPackageStatusResponse) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { TransportAPI *TransportAPIService // contains filtered or unexported fields }
APIClient manages communication with the Saviynt Transport API API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiExportTransportPackageRequest ¶
type ApiExportTransportPackageRequest struct { ApiService *TransportAPIService // contains filtered or unexported fields }
func (ApiExportTransportPackageRequest) Execute ¶
func (r ApiExportTransportPackageRequest) Execute() (*ExportTransportPackageResponse, *http.Response, error)
func (ApiExportTransportPackageRequest) ExportTransportPackageRequest ¶
func (r ApiExportTransportPackageRequest) ExportTransportPackageRequest(exportTransportPackageRequest ExportTransportPackageRequest) ApiExportTransportPackageRequest
type ApiImportTransportPackageRequest ¶
type ApiImportTransportPackageRequest struct { ApiService *TransportAPIService // contains filtered or unexported fields }
func (ApiImportTransportPackageRequest) Execute ¶
func (r ApiImportTransportPackageRequest) Execute() (*ImportTransportPackageResponse, *http.Response, error)
func (ApiImportTransportPackageRequest) ImportTransportPackageRequest ¶
func (r ApiImportTransportPackageRequest) ImportTransportPackageRequest(importTransportPackageRequest ImportTransportPackageRequest) ApiImportTransportPackageRequest
type ApiTransportPackageStatusRequest ¶
type ApiTransportPackageStatusRequest struct { ApiService *TransportAPIService // contains filtered or unexported fields }
func (ApiTransportPackageStatusRequest) Execute ¶
func (r ApiTransportPackageStatusRequest) Execute() (*TransportPackageStatusResponse, *http.Response, error)
func (ApiTransportPackageStatusRequest) TransportPackageStatusRequest ¶
func (r ApiTransportPackageStatusRequest) TransportPackageStatusRequest(transportPackageStatusRequest TransportPackageStatusRequest) ApiTransportPackageStatusRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ExportTransportPackageRequest ¶
type ExportTransportPackageRequest struct { // username of the user exporting the package Updateuser *string `json:"updateuser,omitempty"` // (can be true or false) - option to transport owners for selected objects Transportowner *string `json:"transportowner,omitempty"` // can be true or false) - option to transport members for selected objects such as SAV role Transportmembers *string `json:"transportmembers,omitempty"` // (can be true or false) - Determines if package needs to be exported online Exportonline string `json:"exportonline"` // (if exportonline is false) - Local path where export package will be generated Exportpath *string `json:"exportpath,omitempty"` // (if exportonline is true) - Name of the environment which can be created at the following path : Admin -> Global Configurations -> Misc -> Transport -> Add New Transport Environmentname *string `json:"environmentname,omitempty"` Businessjustification *string `json:"businessjustification,omitempty"` // Supported objects : savRoles, emailTemplate, roles, analyticsV1, analyticsV2, globalConfig, workflows, connection, appOnboarding, userGroups, scanRules, organizations, securitySystems Objectstoexport ObjectsToExport `json:"objectstoexport"` }
ExportTransportPackageRequest
func NewExportTransportPackageRequest ¶
func NewExportTransportPackageRequest(exportonline string, objectstoexport ObjectsToExport) *ExportTransportPackageRequest
NewExportTransportPackageRequest instantiates a new ExportTransportPackageRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExportTransportPackageRequestWithDefaults ¶
func NewExportTransportPackageRequestWithDefaults() *ExportTransportPackageRequest
NewExportTransportPackageRequestWithDefaults instantiates a new ExportTransportPackageRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExportTransportPackageRequest) GetBusinessjustification ¶
func (o *ExportTransportPackageRequest) GetBusinessjustification() string
GetBusinessjustification returns the Businessjustification field value if set, zero value otherwise.
func (*ExportTransportPackageRequest) GetBusinessjustificationOk ¶
func (o *ExportTransportPackageRequest) GetBusinessjustificationOk() (*string, bool)
GetBusinessjustificationOk returns a tuple with the Businessjustification field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExportTransportPackageRequest) GetEnvironmentname ¶
func (o *ExportTransportPackageRequest) GetEnvironmentname() string
GetEnvironmentname returns the Environmentname field value if set, zero value otherwise.
func (*ExportTransportPackageRequest) GetEnvironmentnameOk ¶
func (o *ExportTransportPackageRequest) GetEnvironmentnameOk() (*string, bool)
GetEnvironmentnameOk returns a tuple with the Environmentname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExportTransportPackageRequest) GetExportonline ¶
func (o *ExportTransportPackageRequest) GetExportonline() string
GetExportonline returns the Exportonline field value
func (*ExportTransportPackageRequest) GetExportonlineOk ¶
func (o *ExportTransportPackageRequest) GetExportonlineOk() (*string, bool)
GetExportonlineOk returns a tuple with the Exportonline field value and a boolean to check if the value has been set.
func (*ExportTransportPackageRequest) GetExportpath ¶
func (o *ExportTransportPackageRequest) GetExportpath() string
GetExportpath returns the Exportpath field value if set, zero value otherwise.
func (*ExportTransportPackageRequest) GetExportpathOk ¶
func (o *ExportTransportPackageRequest) GetExportpathOk() (*string, bool)
GetExportpathOk returns a tuple with the Exportpath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExportTransportPackageRequest) GetObjectstoexport ¶
func (o *ExportTransportPackageRequest) GetObjectstoexport() ObjectsToExport
GetObjectstoexport returns the Objectstoexport field value
func (*ExportTransportPackageRequest) GetObjectstoexportOk ¶
func (o *ExportTransportPackageRequest) GetObjectstoexportOk() (*ObjectsToExport, bool)
GetObjectstoexportOk returns a tuple with the Objectstoexport field value and a boolean to check if the value has been set.
func (*ExportTransportPackageRequest) GetTransportmembers ¶
func (o *ExportTransportPackageRequest) GetTransportmembers() string
GetTransportmembers returns the Transportmembers field value if set, zero value otherwise.
func (*ExportTransportPackageRequest) GetTransportmembersOk ¶
func (o *ExportTransportPackageRequest) GetTransportmembersOk() (*string, bool)
GetTransportmembersOk returns a tuple with the Transportmembers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExportTransportPackageRequest) GetTransportowner ¶
func (o *ExportTransportPackageRequest) GetTransportowner() string
GetTransportowner returns the Transportowner field value if set, zero value otherwise.
func (*ExportTransportPackageRequest) GetTransportownerOk ¶
func (o *ExportTransportPackageRequest) GetTransportownerOk() (*string, bool)
GetTransportownerOk returns a tuple with the Transportowner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExportTransportPackageRequest) GetUpdateuser ¶
func (o *ExportTransportPackageRequest) GetUpdateuser() string
GetUpdateuser returns the Updateuser field value if set, zero value otherwise.
func (*ExportTransportPackageRequest) GetUpdateuserOk ¶
func (o *ExportTransportPackageRequest) GetUpdateuserOk() (*string, bool)
GetUpdateuserOk returns a tuple with the Updateuser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExportTransportPackageRequest) HasBusinessjustification ¶
func (o *ExportTransportPackageRequest) HasBusinessjustification() bool
HasBusinessjustification returns a boolean if a field has been set.
func (*ExportTransportPackageRequest) HasEnvironmentname ¶
func (o *ExportTransportPackageRequest) HasEnvironmentname() bool
HasEnvironmentname returns a boolean if a field has been set.
func (*ExportTransportPackageRequest) HasExportpath ¶
func (o *ExportTransportPackageRequest) HasExportpath() bool
HasExportpath returns a boolean if a field has been set.
func (*ExportTransportPackageRequest) HasTransportmembers ¶
func (o *ExportTransportPackageRequest) HasTransportmembers() bool
HasTransportmembers returns a boolean if a field has been set.
func (*ExportTransportPackageRequest) HasTransportowner ¶
func (o *ExportTransportPackageRequest) HasTransportowner() bool
HasTransportowner returns a boolean if a field has been set.
func (*ExportTransportPackageRequest) HasUpdateuser ¶
func (o *ExportTransportPackageRequest) HasUpdateuser() bool
HasUpdateuser returns a boolean if a field has been set.
func (ExportTransportPackageRequest) MarshalJSON ¶
func (o ExportTransportPackageRequest) MarshalJSON() ([]byte, error)
func (*ExportTransportPackageRequest) SetBusinessjustification ¶
func (o *ExportTransportPackageRequest) SetBusinessjustification(v string)
SetBusinessjustification gets a reference to the given string and assigns it to the Businessjustification field.
func (*ExportTransportPackageRequest) SetEnvironmentname ¶
func (o *ExportTransportPackageRequest) SetEnvironmentname(v string)
SetEnvironmentname gets a reference to the given string and assigns it to the Environmentname field.
func (*ExportTransportPackageRequest) SetExportonline ¶
func (o *ExportTransportPackageRequest) SetExportonline(v string)
SetExportonline sets field value
func (*ExportTransportPackageRequest) SetExportpath ¶
func (o *ExportTransportPackageRequest) SetExportpath(v string)
SetExportpath gets a reference to the given string and assigns it to the Exportpath field.
func (*ExportTransportPackageRequest) SetObjectstoexport ¶
func (o *ExportTransportPackageRequest) SetObjectstoexport(v ObjectsToExport)
SetObjectstoexport sets field value
func (*ExportTransportPackageRequest) SetTransportmembers ¶
func (o *ExportTransportPackageRequest) SetTransportmembers(v string)
SetTransportmembers gets a reference to the given string and assigns it to the Transportmembers field.
func (*ExportTransportPackageRequest) SetTransportowner ¶
func (o *ExportTransportPackageRequest) SetTransportowner(v string)
SetTransportowner gets a reference to the given string and assigns it to the Transportowner field.
func (*ExportTransportPackageRequest) SetUpdateuser ¶
func (o *ExportTransportPackageRequest) SetUpdateuser(v string)
SetUpdateuser gets a reference to the given string and assigns it to the Updateuser field.
func (ExportTransportPackageRequest) ToMap ¶
func (o ExportTransportPackageRequest) ToMap() (map[string]interface{}, error)
func (*ExportTransportPackageRequest) UnmarshalJSON ¶
func (o *ExportTransportPackageRequest) UnmarshalJSON(data []byte) (err error)
type ExportTransportPackageResponse ¶
type ExportTransportPackageResponse struct { Msg string `json:"msg"` FileName string `json:"fileName"` MsgDescription string `json:"msgDescription"` Errorcode int32 `json:"errorcode"` }
ExportTransportPackageResponse struct for ExportTransportPackageResponse
func NewExportTransportPackageResponse ¶
func NewExportTransportPackageResponse(msg string, fileName string, msgDescription string, errorcode int32) *ExportTransportPackageResponse
NewExportTransportPackageResponse instantiates a new ExportTransportPackageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExportTransportPackageResponseWithDefaults ¶
func NewExportTransportPackageResponseWithDefaults() *ExportTransportPackageResponse
NewExportTransportPackageResponseWithDefaults instantiates a new ExportTransportPackageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExportTransportPackageResponse) GetErrorcode ¶
func (o *ExportTransportPackageResponse) GetErrorcode() int32
GetErrorcode returns the Errorcode field value
func (*ExportTransportPackageResponse) GetErrorcodeOk ¶
func (o *ExportTransportPackageResponse) GetErrorcodeOk() (*int32, bool)
GetErrorcodeOk returns a tuple with the Errorcode field value and a boolean to check if the value has been set.
func (*ExportTransportPackageResponse) GetFileName ¶
func (o *ExportTransportPackageResponse) GetFileName() string
GetFileName returns the FileName field value
func (*ExportTransportPackageResponse) GetFileNameOk ¶
func (o *ExportTransportPackageResponse) GetFileNameOk() (*string, bool)
GetFileNameOk returns a tuple with the FileName field value and a boolean to check if the value has been set.
func (*ExportTransportPackageResponse) GetMsg ¶
func (o *ExportTransportPackageResponse) GetMsg() string
GetMsg returns the Msg field value
func (*ExportTransportPackageResponse) GetMsgDescription ¶
func (o *ExportTransportPackageResponse) GetMsgDescription() string
GetMsgDescription returns the MsgDescription field value
func (*ExportTransportPackageResponse) GetMsgDescriptionOk ¶
func (o *ExportTransportPackageResponse) GetMsgDescriptionOk() (*string, bool)
GetMsgDescriptionOk returns a tuple with the MsgDescription field value and a boolean to check if the value has been set.
func (*ExportTransportPackageResponse) GetMsgOk ¶
func (o *ExportTransportPackageResponse) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (ExportTransportPackageResponse) MarshalJSON ¶
func (o ExportTransportPackageResponse) MarshalJSON() ([]byte, error)
func (*ExportTransportPackageResponse) SetErrorcode ¶
func (o *ExportTransportPackageResponse) SetErrorcode(v int32)
SetErrorcode sets field value
func (*ExportTransportPackageResponse) SetFileName ¶
func (o *ExportTransportPackageResponse) SetFileName(v string)
SetFileName sets field value
func (*ExportTransportPackageResponse) SetMsg ¶
func (o *ExportTransportPackageResponse) SetMsg(v string)
SetMsg sets field value
func (*ExportTransportPackageResponse) SetMsgDescription ¶
func (o *ExportTransportPackageResponse) SetMsgDescription(v string)
SetMsgDescription sets field value
func (ExportTransportPackageResponse) ToMap ¶
func (o ExportTransportPackageResponse) ToMap() (map[string]interface{}, error)
func (*ExportTransportPackageResponse) UnmarshalJSON ¶ added in v0.3.0
func (o *ExportTransportPackageResponse) UnmarshalJSON(data []byte) (err error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type ImportTransportPackageRequest ¶
type ImportTransportPackageRequest struct { // Complete path of the package that needs to be imported Packagetoimport string `json:"packagetoimport"` // username of the user importing the package Updateuser *string `json:"updateuser,omitempty"` Businessjustification *string `json:"businessjustification,omitempty"` }
ImportTransportPackageRequest struct for ImportTransportPackageRequest
func NewImportTransportPackageRequest ¶
func NewImportTransportPackageRequest(packagetoimport string) *ImportTransportPackageRequest
NewImportTransportPackageRequest instantiates a new ImportTransportPackageRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImportTransportPackageRequestWithDefaults ¶
func NewImportTransportPackageRequestWithDefaults() *ImportTransportPackageRequest
NewImportTransportPackageRequestWithDefaults instantiates a new ImportTransportPackageRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImportTransportPackageRequest) GetBusinessjustification ¶
func (o *ImportTransportPackageRequest) GetBusinessjustification() string
GetBusinessjustification returns the Businessjustification field value if set, zero value otherwise.
func (*ImportTransportPackageRequest) GetBusinessjustificationOk ¶
func (o *ImportTransportPackageRequest) GetBusinessjustificationOk() (*string, bool)
GetBusinessjustificationOk returns a tuple with the Businessjustification field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImportTransportPackageRequest) GetPackagetoimport ¶
func (o *ImportTransportPackageRequest) GetPackagetoimport() string
GetPackagetoimport returns the Packagetoimport field value
func (*ImportTransportPackageRequest) GetPackagetoimportOk ¶
func (o *ImportTransportPackageRequest) GetPackagetoimportOk() (*string, bool)
GetPackagetoimportOk returns a tuple with the Packagetoimport field value and a boolean to check if the value has been set.
func (*ImportTransportPackageRequest) GetUpdateuser ¶
func (o *ImportTransportPackageRequest) GetUpdateuser() string
GetUpdateuser returns the Updateuser field value if set, zero value otherwise.
func (*ImportTransportPackageRequest) GetUpdateuserOk ¶
func (o *ImportTransportPackageRequest) GetUpdateuserOk() (*string, bool)
GetUpdateuserOk returns a tuple with the Updateuser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImportTransportPackageRequest) HasBusinessjustification ¶
func (o *ImportTransportPackageRequest) HasBusinessjustification() bool
HasBusinessjustification returns a boolean if a field has been set.
func (*ImportTransportPackageRequest) HasUpdateuser ¶
func (o *ImportTransportPackageRequest) HasUpdateuser() bool
HasUpdateuser returns a boolean if a field has been set.
func (ImportTransportPackageRequest) MarshalJSON ¶
func (o ImportTransportPackageRequest) MarshalJSON() ([]byte, error)
func (*ImportTransportPackageRequest) SetBusinessjustification ¶
func (o *ImportTransportPackageRequest) SetBusinessjustification(v string)
SetBusinessjustification gets a reference to the given string and assigns it to the Businessjustification field.
func (*ImportTransportPackageRequest) SetPackagetoimport ¶
func (o *ImportTransportPackageRequest) SetPackagetoimport(v string)
SetPackagetoimport sets field value
func (*ImportTransportPackageRequest) SetUpdateuser ¶
func (o *ImportTransportPackageRequest) SetUpdateuser(v string)
SetUpdateuser gets a reference to the given string and assigns it to the Updateuser field.
func (ImportTransportPackageRequest) ToMap ¶
func (o ImportTransportPackageRequest) ToMap() (map[string]interface{}, error)
func (*ImportTransportPackageRequest) UnmarshalJSON ¶
func (o *ImportTransportPackageRequest) UnmarshalJSON(data []byte) (err error)
type ImportTransportPackageResponse ¶
type ImportTransportPackageResponse struct { Msg *string `json:"msg,omitempty"` RequestId *string `json:"requestId,omitempty"` MsgDescription *string `json:"msgDescription,omitempty"` Errorcode *int32 `json:"errorcode,omitempty"` }
ImportTransportPackageResponse struct for ImportTransportPackageResponse
func NewImportTransportPackageResponse ¶
func NewImportTransportPackageResponse() *ImportTransportPackageResponse
NewImportTransportPackageResponse instantiates a new ImportTransportPackageResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewImportTransportPackageResponseWithDefaults ¶
func NewImportTransportPackageResponseWithDefaults() *ImportTransportPackageResponse
NewImportTransportPackageResponseWithDefaults instantiates a new ImportTransportPackageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ImportTransportPackageResponse) GetErrorcode ¶
func (o *ImportTransportPackageResponse) GetErrorcode() int32
GetErrorcode returns the Errorcode field value if set, zero value otherwise.
func (*ImportTransportPackageResponse) GetErrorcodeOk ¶
func (o *ImportTransportPackageResponse) GetErrorcodeOk() (*int32, bool)
GetErrorcodeOk returns a tuple with the Errorcode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImportTransportPackageResponse) GetMsg ¶
func (o *ImportTransportPackageResponse) GetMsg() string
GetMsg returns the Msg field value if set, zero value otherwise.
func (*ImportTransportPackageResponse) GetMsgDescription ¶
func (o *ImportTransportPackageResponse) GetMsgDescription() string
GetMsgDescription returns the MsgDescription field value if set, zero value otherwise.
func (*ImportTransportPackageResponse) GetMsgDescriptionOk ¶
func (o *ImportTransportPackageResponse) GetMsgDescriptionOk() (*string, bool)
GetMsgDescriptionOk returns a tuple with the MsgDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImportTransportPackageResponse) GetMsgOk ¶
func (o *ImportTransportPackageResponse) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImportTransportPackageResponse) GetRequestId ¶
func (o *ImportTransportPackageResponse) GetRequestId() string
GetRequestId returns the RequestId field value if set, zero value otherwise.
func (*ImportTransportPackageResponse) GetRequestIdOk ¶
func (o *ImportTransportPackageResponse) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImportTransportPackageResponse) HasErrorcode ¶
func (o *ImportTransportPackageResponse) HasErrorcode() bool
HasErrorcode returns a boolean if a field has been set.
func (*ImportTransportPackageResponse) HasMsg ¶
func (o *ImportTransportPackageResponse) HasMsg() bool
HasMsg returns a boolean if a field has been set.
func (*ImportTransportPackageResponse) HasMsgDescription ¶
func (o *ImportTransportPackageResponse) HasMsgDescription() bool
HasMsgDescription returns a boolean if a field has been set.
func (*ImportTransportPackageResponse) HasRequestId ¶
func (o *ImportTransportPackageResponse) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
func (ImportTransportPackageResponse) MarshalJSON ¶
func (o ImportTransportPackageResponse) MarshalJSON() ([]byte, error)
func (*ImportTransportPackageResponse) SetErrorcode ¶
func (o *ImportTransportPackageResponse) SetErrorcode(v int32)
SetErrorcode gets a reference to the given int32 and assigns it to the Errorcode field.
func (*ImportTransportPackageResponse) SetMsg ¶
func (o *ImportTransportPackageResponse) SetMsg(v string)
SetMsg gets a reference to the given string and assigns it to the Msg field.
func (*ImportTransportPackageResponse) SetMsgDescription ¶
func (o *ImportTransportPackageResponse) SetMsgDescription(v string)
SetMsgDescription gets a reference to the given string and assigns it to the MsgDescription field.
func (*ImportTransportPackageResponse) SetRequestId ¶
func (o *ImportTransportPackageResponse) SetRequestId(v string)
SetRequestId gets a reference to the given string and assigns it to the RequestId field.
func (ImportTransportPackageResponse) ToMap ¶
func (o ImportTransportPackageResponse) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableExportTransportPackageRequest ¶
type NullableExportTransportPackageRequest struct {
// contains filtered or unexported fields
}
func NewNullableExportTransportPackageRequest ¶
func NewNullableExportTransportPackageRequest(val *ExportTransportPackageRequest) *NullableExportTransportPackageRequest
func (NullableExportTransportPackageRequest) Get ¶
func (v NullableExportTransportPackageRequest) Get() *ExportTransportPackageRequest
func (NullableExportTransportPackageRequest) IsSet ¶
func (v NullableExportTransportPackageRequest) IsSet() bool
func (NullableExportTransportPackageRequest) MarshalJSON ¶
func (v NullableExportTransportPackageRequest) MarshalJSON() ([]byte, error)
func (*NullableExportTransportPackageRequest) Set ¶
func (v *NullableExportTransportPackageRequest) Set(val *ExportTransportPackageRequest)
func (*NullableExportTransportPackageRequest) UnmarshalJSON ¶
func (v *NullableExportTransportPackageRequest) UnmarshalJSON(src []byte) error
func (*NullableExportTransportPackageRequest) Unset ¶
func (v *NullableExportTransportPackageRequest) Unset()
type NullableExportTransportPackageResponse ¶
type NullableExportTransportPackageResponse struct {
// contains filtered or unexported fields
}
func NewNullableExportTransportPackageResponse ¶
func NewNullableExportTransportPackageResponse(val *ExportTransportPackageResponse) *NullableExportTransportPackageResponse
func (NullableExportTransportPackageResponse) Get ¶
func (v NullableExportTransportPackageResponse) Get() *ExportTransportPackageResponse
func (NullableExportTransportPackageResponse) IsSet ¶
func (v NullableExportTransportPackageResponse) IsSet() bool
func (NullableExportTransportPackageResponse) MarshalJSON ¶
func (v NullableExportTransportPackageResponse) MarshalJSON() ([]byte, error)
func (*NullableExportTransportPackageResponse) Set ¶
func (v *NullableExportTransportPackageResponse) Set(val *ExportTransportPackageResponse)
func (*NullableExportTransportPackageResponse) UnmarshalJSON ¶
func (v *NullableExportTransportPackageResponse) UnmarshalJSON(src []byte) error
func (*NullableExportTransportPackageResponse) Unset ¶
func (v *NullableExportTransportPackageResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableImportTransportPackageRequest ¶
type NullableImportTransportPackageRequest struct {
// contains filtered or unexported fields
}
func NewNullableImportTransportPackageRequest ¶
func NewNullableImportTransportPackageRequest(val *ImportTransportPackageRequest) *NullableImportTransportPackageRequest
func (NullableImportTransportPackageRequest) Get ¶
func (v NullableImportTransportPackageRequest) Get() *ImportTransportPackageRequest
func (NullableImportTransportPackageRequest) IsSet ¶
func (v NullableImportTransportPackageRequest) IsSet() bool
func (NullableImportTransportPackageRequest) MarshalJSON ¶
func (v NullableImportTransportPackageRequest) MarshalJSON() ([]byte, error)
func (*NullableImportTransportPackageRequest) Set ¶
func (v *NullableImportTransportPackageRequest) Set(val *ImportTransportPackageRequest)
func (*NullableImportTransportPackageRequest) UnmarshalJSON ¶
func (v *NullableImportTransportPackageRequest) UnmarshalJSON(src []byte) error
func (*NullableImportTransportPackageRequest) Unset ¶
func (v *NullableImportTransportPackageRequest) Unset()
type NullableImportTransportPackageResponse ¶
type NullableImportTransportPackageResponse struct {
// contains filtered or unexported fields
}
func NewNullableImportTransportPackageResponse ¶
func NewNullableImportTransportPackageResponse(val *ImportTransportPackageResponse) *NullableImportTransportPackageResponse
func (NullableImportTransportPackageResponse) Get ¶
func (v NullableImportTransportPackageResponse) Get() *ImportTransportPackageResponse
func (NullableImportTransportPackageResponse) IsSet ¶
func (v NullableImportTransportPackageResponse) IsSet() bool
func (NullableImportTransportPackageResponse) MarshalJSON ¶
func (v NullableImportTransportPackageResponse) MarshalJSON() ([]byte, error)
func (*NullableImportTransportPackageResponse) Set ¶
func (v *NullableImportTransportPackageResponse) Set(val *ImportTransportPackageResponse)
func (*NullableImportTransportPackageResponse) UnmarshalJSON ¶
func (v *NullableImportTransportPackageResponse) UnmarshalJSON(src []byte) error
func (*NullableImportTransportPackageResponse) Unset ¶
func (v *NullableImportTransportPackageResponse) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableObjectsToExport ¶
type NullableObjectsToExport struct {
// contains filtered or unexported fields
}
func NewNullableObjectsToExport ¶
func NewNullableObjectsToExport(val *ObjectsToExport) *NullableObjectsToExport
func (NullableObjectsToExport) Get ¶
func (v NullableObjectsToExport) Get() *ObjectsToExport
func (NullableObjectsToExport) IsSet ¶
func (v NullableObjectsToExport) IsSet() bool
func (NullableObjectsToExport) MarshalJSON ¶
func (v NullableObjectsToExport) MarshalJSON() ([]byte, error)
func (*NullableObjectsToExport) Set ¶
func (v *NullableObjectsToExport) Set(val *ObjectsToExport)
func (*NullableObjectsToExport) UnmarshalJSON ¶
func (v *NullableObjectsToExport) UnmarshalJSON(src []byte) error
func (*NullableObjectsToExport) Unset ¶
func (v *NullableObjectsToExport) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTransportPackageStatusRequest ¶
type NullableTransportPackageStatusRequest struct {
// contains filtered or unexported fields
}
func NewNullableTransportPackageStatusRequest ¶
func NewNullableTransportPackageStatusRequest(val *TransportPackageStatusRequest) *NullableTransportPackageStatusRequest
func (NullableTransportPackageStatusRequest) Get ¶
func (v NullableTransportPackageStatusRequest) Get() *TransportPackageStatusRequest
func (NullableTransportPackageStatusRequest) IsSet ¶
func (v NullableTransportPackageStatusRequest) IsSet() bool
func (NullableTransportPackageStatusRequest) MarshalJSON ¶
func (v NullableTransportPackageStatusRequest) MarshalJSON() ([]byte, error)
func (*NullableTransportPackageStatusRequest) Set ¶
func (v *NullableTransportPackageStatusRequest) Set(val *TransportPackageStatusRequest)
func (*NullableTransportPackageStatusRequest) UnmarshalJSON ¶
func (v *NullableTransportPackageStatusRequest) UnmarshalJSON(src []byte) error
func (*NullableTransportPackageStatusRequest) Unset ¶
func (v *NullableTransportPackageStatusRequest) Unset()
type NullableTransportPackageStatusResponse ¶
type NullableTransportPackageStatusResponse struct {
// contains filtered or unexported fields
}
func NewNullableTransportPackageStatusResponse ¶
func NewNullableTransportPackageStatusResponse(val *TransportPackageStatusResponse) *NullableTransportPackageStatusResponse
func (NullableTransportPackageStatusResponse) Get ¶
func (v NullableTransportPackageStatusResponse) Get() *TransportPackageStatusResponse
func (NullableTransportPackageStatusResponse) IsSet ¶
func (v NullableTransportPackageStatusResponse) IsSet() bool
func (NullableTransportPackageStatusResponse) MarshalJSON ¶
func (v NullableTransportPackageStatusResponse) MarshalJSON() ([]byte, error)
func (*NullableTransportPackageStatusResponse) Set ¶
func (v *NullableTransportPackageStatusResponse) Set(val *TransportPackageStatusResponse)
func (*NullableTransportPackageStatusResponse) UnmarshalJSON ¶
func (v *NullableTransportPackageStatusResponse) UnmarshalJSON(src []byte) error
func (*NullableTransportPackageStatusResponse) Unset ¶
func (v *NullableTransportPackageStatusResponse) Unset()
type ObjectsToExport ¶
type ObjectsToExport struct { SavRoles []string `json:"savRoles,omitempty"` EmailTemplate []string `json:"emailTemplate,omitempty"` }
ObjectsToExport struct for ObjectsToExport
func NewObjectsToExport ¶
func NewObjectsToExport() *ObjectsToExport
NewObjectsToExport instantiates a new ObjectsToExport object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectsToExportWithDefaults ¶
func NewObjectsToExportWithDefaults() *ObjectsToExport
NewObjectsToExportWithDefaults instantiates a new ObjectsToExport object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ObjectsToExport) GetEmailTemplate ¶
func (o *ObjectsToExport) GetEmailTemplate() []string
GetEmailTemplate returns the EmailTemplate field value if set, zero value otherwise.
func (*ObjectsToExport) GetEmailTemplateOk ¶
func (o *ObjectsToExport) GetEmailTemplateOk() ([]string, bool)
GetEmailTemplateOk returns a tuple with the EmailTemplate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectsToExport) GetSavRoles ¶
func (o *ObjectsToExport) GetSavRoles() []string
GetSavRoles returns the SavRoles field value if set, zero value otherwise.
func (*ObjectsToExport) GetSavRolesOk ¶
func (o *ObjectsToExport) GetSavRolesOk() ([]string, bool)
GetSavRolesOk returns a tuple with the SavRoles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ObjectsToExport) HasEmailTemplate ¶
func (o *ObjectsToExport) HasEmailTemplate() bool
HasEmailTemplate returns a boolean if a field has been set.
func (*ObjectsToExport) HasSavRoles ¶
func (o *ObjectsToExport) HasSavRoles() bool
HasSavRoles returns a boolean if a field has been set.
func (ObjectsToExport) MarshalJSON ¶
func (o ObjectsToExport) MarshalJSON() ([]byte, error)
func (*ObjectsToExport) SetEmailTemplate ¶
func (o *ObjectsToExport) SetEmailTemplate(v []string)
SetEmailTemplate gets a reference to the given []string and assigns it to the EmailTemplate field.
func (*ObjectsToExport) SetSavRoles ¶
func (o *ObjectsToExport) SetSavRoles(v []string)
SetSavRoles gets a reference to the given []string and assigns it to the SavRoles field.
func (ObjectsToExport) ToMap ¶
func (o ObjectsToExport) ToMap() (map[string]interface{}, error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TransportAPIService ¶
type TransportAPIService service
TransportAPIService TransportAPI service
func (*TransportAPIService) ExportTransportPackage ¶
func (a *TransportAPIService) ExportTransportPackage(ctx context.Context) ApiExportTransportPackageRequest
ExportTransportPackage Export Transport Package
This API creates a compressed file containing objects specified for T2P migration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiExportTransportPackageRequest
func (*TransportAPIService) ExportTransportPackageExecute ¶
func (a *TransportAPIService) ExportTransportPackageExecute(r ApiExportTransportPackageRequest) (*ExportTransportPackageResponse, *http.Response, error)
Execute executes the request
@return ExportTransportPackageResponse
func (*TransportAPIService) ImportTransportPackage ¶
func (a *TransportAPIService) ImportTransportPackage(ctx context.Context) ApiImportTransportPackageRequest
ImportTransportPackage Import Transport Package
This API imports a compressed file containing objects specified for T2P migration.
Supported objects:
savRoles, emailTemplate, roles, analyticsV1, analyticsV2, globalConfig, workflows, connection, appOnboarding, userGroups, scanRules, organizations, securitySystems
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiImportTransportPackageRequest
func (*TransportAPIService) ImportTransportPackageExecute ¶
func (a *TransportAPIService) ImportTransportPackageExecute(r ApiImportTransportPackageRequest) (*ImportTransportPackageResponse, *http.Response, error)
Execute executes the request
@return ImportTransportPackageResponse
func (*TransportAPIService) TransportPackageStatus ¶
func (a *TransportAPIService) TransportPackageStatus(ctx context.Context) ApiTransportPackageStatusRequest
TransportPackageStatus Transport Package Status
This API obtains the status of the transport request (import, export, or transfer), and helps in confirming whether the transport was completed successfully or failed.
Note: This API returns the status of only those requests that have been processed using the Enhanced Transport feature.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiTransportPackageStatusRequest
func (*TransportAPIService) TransportPackageStatusExecute ¶
func (a *TransportAPIService) TransportPackageStatusExecute(r ApiTransportPackageStatusRequest) (*TransportPackageStatusResponse, *http.Response, error)
Execute executes the request
@return TransportPackageStatusResponse
type TransportPackageStatusRequest ¶
type TransportPackageStatusRequest struct { // enter the type of transport request (export, import, or transfer) Operation string `json:"operation"` // enter the transport package zip file name in full (including the .zip extension) Filename string `json:"filename"` // (required only if the operation is import) - enter the request ID generated during the submission of the import request Requestid *string `json:"requestid,omitempty"` }
TransportPackageStatusRequest struct for TransportPackageStatusRequest
func NewTransportPackageStatusRequest ¶
func NewTransportPackageStatusRequest(operation string, filename string) *TransportPackageStatusRequest
NewTransportPackageStatusRequest instantiates a new TransportPackageStatusRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransportPackageStatusRequestWithDefaults ¶
func NewTransportPackageStatusRequestWithDefaults() *TransportPackageStatusRequest
NewTransportPackageStatusRequestWithDefaults instantiates a new TransportPackageStatusRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransportPackageStatusRequest) GetFilename ¶
func (o *TransportPackageStatusRequest) GetFilename() string
GetFilename returns the Filename field value
func (*TransportPackageStatusRequest) GetFilenameOk ¶
func (o *TransportPackageStatusRequest) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value and a boolean to check if the value has been set.
func (*TransportPackageStatusRequest) GetOperation ¶
func (o *TransportPackageStatusRequest) GetOperation() string
GetOperation returns the Operation field value
func (*TransportPackageStatusRequest) GetOperationOk ¶
func (o *TransportPackageStatusRequest) GetOperationOk() (*string, bool)
GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.
func (*TransportPackageStatusRequest) GetRequestid ¶
func (o *TransportPackageStatusRequest) GetRequestid() string
GetRequestid returns the Requestid field value if set, zero value otherwise.
func (*TransportPackageStatusRequest) GetRequestidOk ¶
func (o *TransportPackageStatusRequest) GetRequestidOk() (*string, bool)
GetRequestidOk returns a tuple with the Requestid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransportPackageStatusRequest) HasRequestid ¶
func (o *TransportPackageStatusRequest) HasRequestid() bool
HasRequestid returns a boolean if a field has been set.
func (TransportPackageStatusRequest) MarshalJSON ¶
func (o TransportPackageStatusRequest) MarshalJSON() ([]byte, error)
func (*TransportPackageStatusRequest) SetFilename ¶
func (o *TransportPackageStatusRequest) SetFilename(v string)
SetFilename sets field value
func (*TransportPackageStatusRequest) SetOperation ¶
func (o *TransportPackageStatusRequest) SetOperation(v string)
SetOperation sets field value
func (*TransportPackageStatusRequest) SetRequestid ¶
func (o *TransportPackageStatusRequest) SetRequestid(v string)
SetRequestid gets a reference to the given string and assigns it to the Requestid field.
func (TransportPackageStatusRequest) ToMap ¶
func (o TransportPackageStatusRequest) ToMap() (map[string]interface{}, error)
func (*TransportPackageStatusRequest) UnmarshalJSON ¶
func (o *TransportPackageStatusRequest) UnmarshalJSON(data []byte) (err error)
type TransportPackageStatusResponse ¶
type TransportPackageStatusResponse struct { Msg string `json:"msg"` MsgDescription string `json:"msgDescription"` ErrorCode int32 `json:"errorCode"` }
TransportPackageStatusResponse struct for TransportPackageStatusResponse
func NewTransportPackageStatusResponse ¶
func NewTransportPackageStatusResponse(msg string, msgDescription string, errorCode int32) *TransportPackageStatusResponse
NewTransportPackageStatusResponse instantiates a new TransportPackageStatusResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransportPackageStatusResponseWithDefaults ¶
func NewTransportPackageStatusResponseWithDefaults() *TransportPackageStatusResponse
NewTransportPackageStatusResponseWithDefaults instantiates a new TransportPackageStatusResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransportPackageStatusResponse) GetErrorCode ¶
func (o *TransportPackageStatusResponse) GetErrorCode() int32
GetErrorCode returns the ErrorCode field value
func (*TransportPackageStatusResponse) GetErrorCodeOk ¶
func (o *TransportPackageStatusResponse) GetErrorCodeOk() (*int32, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value and a boolean to check if the value has been set.
func (*TransportPackageStatusResponse) GetMsg ¶
func (o *TransportPackageStatusResponse) GetMsg() string
GetMsg returns the Msg field value
func (*TransportPackageStatusResponse) GetMsgDescription ¶
func (o *TransportPackageStatusResponse) GetMsgDescription() string
GetMsgDescription returns the MsgDescription field value
func (*TransportPackageStatusResponse) GetMsgDescriptionOk ¶
func (o *TransportPackageStatusResponse) GetMsgDescriptionOk() (*string, bool)
GetMsgDescriptionOk returns a tuple with the MsgDescription field value and a boolean to check if the value has been set.
func (*TransportPackageStatusResponse) GetMsgOk ¶
func (o *TransportPackageStatusResponse) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (TransportPackageStatusResponse) MarshalJSON ¶
func (o TransportPackageStatusResponse) MarshalJSON() ([]byte, error)
func (*TransportPackageStatusResponse) SetErrorCode ¶
func (o *TransportPackageStatusResponse) SetErrorCode(v int32)
SetErrorCode sets field value
func (*TransportPackageStatusResponse) SetMsg ¶
func (o *TransportPackageStatusResponse) SetMsg(v string)
SetMsg sets field value
func (*TransportPackageStatusResponse) SetMsgDescription ¶
func (o *TransportPackageStatusResponse) SetMsgDescription(v string)
SetMsgDescription sets field value
func (TransportPackageStatusResponse) ToMap ¶
func (o TransportPackageStatusResponse) ToMap() (map[string]interface{}, error)
func (*TransportPackageStatusResponse) UnmarshalJSON ¶ added in v0.3.0
func (o *TransportPackageStatusResponse) UnmarshalJSON(data []byte) (err error)
Source Files ¶
- api_transport.go
- client.go
- configuration.go
- model_export_transport_package_request.go
- model_export_transport_package_response.go
- model_import_transport_package_request.go
- model_import_transport_package_response.go
- model_objects_to_export.go
- model_transport_package_status_request.go
- model_transport_package_status_response.go
- response.go
- utils.go