models

package
v0.0.0-...-f4869d1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// AbstractAPIRepositoryTypeHosted captures enum value "hosted"
	AbstractAPIRepositoryTypeHosted string = "hosted"

	// AbstractAPIRepositoryTypeProxy captures enum value "proxy"
	AbstractAPIRepositoryTypeProxy string = "proxy"

	// AbstractAPIRepositoryTypeGroup captures enum value "group"
	AbstractAPIRepositoryTypeGroup string = "group"
)
View Source
const (

	// APICreateUserStatusActive captures enum value "active"
	APICreateUserStatusActive string = "active"

	// APICreateUserStatusLocked captures enum value "locked"
	APICreateUserStatusLocked string = "locked"

	// APICreateUserStatusDisabled captures enum value "disabled"
	APICreateUserStatusDisabled string = "disabled"

	// APICreateUserStatusChangepassword captures enum value "changepassword"
	APICreateUserStatusChangepassword string = "changepassword"
)
View Source
const (

	// APIUserStatusActive captures enum value "active"
	APIUserStatusActive string = "active"

	// APIUserStatusLocked captures enum value "locked"
	APIUserStatusLocked string = "locked"

	// APIUserStatusDisabled captures enum value "disabled"
	APIUserStatusDisabled string = "disabled"

	// APIUserStatusChangepassword captures enum value "changepassword"
	APIUserStatusChangepassword string = "changepassword"
)
View Source
const (

	// AzureBlobStoreAPIAuthenticationAuthenticationMethodACCOUNTKEY captures enum value "ACCOUNTKEY"
	AzureBlobStoreAPIAuthenticationAuthenticationMethodACCOUNTKEY string = "ACCOUNTKEY"

	// AzureBlobStoreAPIAuthenticationAuthenticationMethodMANAGEDIDENTITY captures enum value "MANAGEDIDENTITY"
	AzureBlobStoreAPIAuthenticationAuthenticationMethodMANAGEDIDENTITY string = "MANAGEDIDENTITY"

	// AzureBlobStoreAPIAuthenticationAuthenticationMethodENVIRONMENTVARIABLE captures enum value "ENVIRONMENTVARIABLE"
	AzureBlobStoreAPIAuthenticationAuthenticationMethodENVIRONMENTVARIABLE string = "ENVIRONMENTVARIABLE"
)
View Source
const (

	// BlobStoreAPISoftQuotaTypeSpaceRemainingQuota captures enum value "spaceRemainingQuota"
	BlobStoreAPISoftQuotaTypeSpaceRemainingQuota string = "spaceRemainingQuota"

	// BlobStoreAPISoftQuotaTypeSpaceUsedQuota captures enum value "spaceUsedQuota"
	BlobStoreAPISoftQuotaTypeSpaceUsedQuota string = "spaceUsedQuota"
)
View Source
const (

	// ContentSelectorAPIResponseTypeCsel captures enum value "csel"
	ContentSelectorAPIResponseTypeCsel string = "csel"

	// ContentSelectorAPIResponseTypeJexl captures enum value "jexl"
	ContentSelectorAPIResponseTypeJexl string = "jexl"
)
View Source
const (

	// CreateLdapServerXoAuthSchemeNONE captures enum value "NONE"
	CreateLdapServerXoAuthSchemeNONE string = "NONE"

	// CreateLdapServerXoAuthSchemeSIMPLE captures enum value "SIMPLE"
	CreateLdapServerXoAuthSchemeSIMPLE string = "SIMPLE"

	// CreateLdapServerXoAuthSchemeDIGESTMD5 captures enum value "DIGEST_MD5"
	CreateLdapServerXoAuthSchemeDIGESTMD5 string = "DIGEST_MD5"

	// CreateLdapServerXoAuthSchemeCRAMMD5 captures enum value "CRAM_MD5"
	CreateLdapServerXoAuthSchemeCRAMMD5 string = "CRAM_MD5"
)
View Source
const (

	// CreateLdapServerXoGroupTypeStatic captures enum value "static"
	CreateLdapServerXoGroupTypeStatic string = "static"

	// CreateLdapServerXoGroupTypeDynamic captures enum value "dynamic"
	CreateLdapServerXoGroupTypeDynamic string = "dynamic"
)
View Source
const (

	// CreateLdapServerXoProtocolLdap captures enum value "ldap"
	CreateLdapServerXoProtocolLdap string = "ldap"

	// CreateLdapServerXoProtocolLdaps captures enum value "ldaps"
	CreateLdapServerXoProtocolLdaps string = "ldaps"
)
View Source
const (

	// DockerHostedStorageAttributesWritePolicyAllow captures enum value "allow"
	DockerHostedStorageAttributesWritePolicyAllow string = "allow"

	// DockerHostedStorageAttributesWritePolicyAllowOnce captures enum value "allow_once"
	DockerHostedStorageAttributesWritePolicyAllowOnce string = "allow_once"

	// DockerHostedStorageAttributesWritePolicyDeny captures enum value "deny"
	DockerHostedStorageAttributesWritePolicyDeny string = "deny"
)
View Source
const (

	// DockerProxyAttributesIndexTypeHUB captures enum value "HUB"
	DockerProxyAttributesIndexTypeHUB string = "HUB"

	// DockerProxyAttributesIndexTypeREGISTRY captures enum value "REGISTRY"
	DockerProxyAttributesIndexTypeREGISTRY string = "REGISTRY"

	// DockerProxyAttributesIndexTypeCUSTOM captures enum value "CUSTOM"
	DockerProxyAttributesIndexTypeCUSTOM string = "CUSTOM"
)
View Source
const (

	// HostedStorageAttributesWritePolicyAllow captures enum value "allow"
	HostedStorageAttributesWritePolicyAllow string = "allow"

	// HostedStorageAttributesWritePolicyAllowOnce captures enum value "allow_once"
	HostedStorageAttributesWritePolicyAllowOnce string = "allow_once"

	// HostedStorageAttributesWritePolicyDeny captures enum value "deny"
	HostedStorageAttributesWritePolicyDeny string = "deny"
)
View Source
const (

	// HTTPClientConnectionAuthenticationAttributesTypeUsername captures enum value "username"
	HTTPClientConnectionAuthenticationAttributesTypeUsername string = "username"

	// HTTPClientConnectionAuthenticationAttributesTypeNtlm captures enum value "ntlm"
	HTTPClientConnectionAuthenticationAttributesTypeNtlm string = "ntlm"
)
View Source
const (

	// HTTPClientConnectionAuthenticationAttributesWithPreemptiveTypeUsername captures enum value "username"
	HTTPClientConnectionAuthenticationAttributesWithPreemptiveTypeUsername string = "username"

	// HTTPClientConnectionAuthenticationAttributesWithPreemptiveTypeNtlm captures enum value "ntlm"
	HTTPClientConnectionAuthenticationAttributesWithPreemptiveTypeNtlm string = "ntlm"
)
View Source
const (

	// IqConnectionXoAuthenticationTypeUSER captures enum value "USER"
	IqConnectionXoAuthenticationTypeUSER string = "USER"

	// IqConnectionXoAuthenticationTypePKI captures enum value "PKI"
	IqConnectionXoAuthenticationTypePKI string = "PKI"
)
View Source
const (

	// MavenAttributesContentDispositionINLINE captures enum value "INLINE"
	MavenAttributesContentDispositionINLINE string = "INLINE"

	// MavenAttributesContentDispositionATTACHMENT captures enum value "ATTACHMENT"
	MavenAttributesContentDispositionATTACHMENT string = "ATTACHMENT"
)
View Source
const (

	// MavenAttributesLayoutPolicySTRICT captures enum value "STRICT"
	MavenAttributesLayoutPolicySTRICT string = "STRICT"

	// MavenAttributesLayoutPolicyPERMISSIVE captures enum value "PERMISSIVE"
	MavenAttributesLayoutPolicyPERMISSIVE string = "PERMISSIVE"
)
View Source
const (

	// MavenAttributesVersionPolicyRELEASE captures enum value "RELEASE"
	MavenAttributesVersionPolicyRELEASE string = "RELEASE"

	// MavenAttributesVersionPolicySNAPSHOT captures enum value "SNAPSHOT"
	MavenAttributesVersionPolicySNAPSHOT string = "SNAPSHOT"

	// MavenAttributesVersionPolicyMIXED captures enum value "MIXED"
	MavenAttributesVersionPolicyMIXED string = "MIXED"
)
View Source
const (

	// NugetAttributesNugetVersionV2 captures enum value "V2"
	NugetAttributesNugetVersionV2 string = "V2"

	// NugetAttributesNugetVersionV3 captures enum value "V3"
	NugetAttributesNugetVersionV3 string = "V3"
)
View Source
const (

	// RawAttributesContentDispositionINLINE captures enum value "INLINE"
	RawAttributesContentDispositionINLINE string = "INLINE"

	// RawAttributesContentDispositionATTACHMENT captures enum value "ATTACHMENT"
	RawAttributesContentDispositionATTACHMENT string = "ATTACHMENT"
)
View Source
const (

	// ReadLdapServerXoAuthSchemeNONE captures enum value "NONE"
	ReadLdapServerXoAuthSchemeNONE string = "NONE"

	// ReadLdapServerXoAuthSchemeSIMPLE captures enum value "SIMPLE"
	ReadLdapServerXoAuthSchemeSIMPLE string = "SIMPLE"

	// ReadLdapServerXoAuthSchemeDIGESTMD5 captures enum value "DIGEST_MD5"
	ReadLdapServerXoAuthSchemeDIGESTMD5 string = "DIGEST_MD5"

	// ReadLdapServerXoAuthSchemeCRAMMD5 captures enum value "CRAM_MD5"
	ReadLdapServerXoAuthSchemeCRAMMD5 string = "CRAM_MD5"
)
View Source
const (

	// ReadLdapServerXoGroupTypeStatic captures enum value "static"
	ReadLdapServerXoGroupTypeStatic string = "static"

	// ReadLdapServerXoGroupTypeDynamic captures enum value "dynamic"
	ReadLdapServerXoGroupTypeDynamic string = "dynamic"
)
View Source
const (

	// ReadLdapServerXoProtocolLdap captures enum value "ldap"
	ReadLdapServerXoProtocolLdap string = "ldap"

	// ReadLdapServerXoProtocolLdaps captures enum value "ldaps"
	ReadLdapServerXoProtocolLdaps string = "ldaps"
)
View Source
const (

	// RoutingRuleXOModeBLOCK captures enum value "BLOCK"
	RoutingRuleXOModeBLOCK string = "BLOCK"

	// RoutingRuleXOModeALLOW captures enum value "ALLOW"
	RoutingRuleXOModeALLOW string = "ALLOW"
)
View Source
const (

	// S3BlobStoreAPIEncryptionEncryptionTypeS3ManagedEncryption captures enum value "s3ManagedEncryption"
	S3BlobStoreAPIEncryptionEncryptionTypeS3ManagedEncryption string = "s3ManagedEncryption"

	// S3BlobStoreAPIEncryptionEncryptionTypeKmsManagedEncryption captures enum value "kmsManagedEncryption"
	S3BlobStoreAPIEncryptionEncryptionTypeKmsManagedEncryption string = "kmsManagedEncryption"
)
View Source
const (

	// UpdateLdapServerXoAuthSchemeNONE captures enum value "NONE"
	UpdateLdapServerXoAuthSchemeNONE string = "NONE"

	// UpdateLdapServerXoAuthSchemeSIMPLE captures enum value "SIMPLE"
	UpdateLdapServerXoAuthSchemeSIMPLE string = "SIMPLE"

	// UpdateLdapServerXoAuthSchemeDIGESTMD5 captures enum value "DIGEST_MD5"
	UpdateLdapServerXoAuthSchemeDIGESTMD5 string = "DIGEST_MD5"

	// UpdateLdapServerXoAuthSchemeCRAMMD5 captures enum value "CRAM_MD5"
	UpdateLdapServerXoAuthSchemeCRAMMD5 string = "CRAM_MD5"
)
View Source
const (

	// UpdateLdapServerXoGroupTypeStatic captures enum value "static"
	UpdateLdapServerXoGroupTypeStatic string = "static"

	// UpdateLdapServerXoGroupTypeDynamic captures enum value "dynamic"
	UpdateLdapServerXoGroupTypeDynamic string = "dynamic"
)
View Source
const (

	// UpdateLdapServerXoProtocolLdap captures enum value "ldap"
	UpdateLdapServerXoProtocolLdap string = "ldap"

	// UpdateLdapServerXoProtocolLdaps captures enum value "ldaps"
	UpdateLdapServerXoProtocolLdaps string = "ldaps"
)
View Source
const (

	// YumAttributesDeployPolicyPERMISSIVE captures enum value "PERMISSIVE"
	YumAttributesDeployPolicyPERMISSIVE string = "PERMISSIVE"

	// YumAttributesDeployPolicySTRICT captures enum value "STRICT"
	YumAttributesDeployPolicySTRICT string = "STRICT"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APICertificate

type APICertificate struct {

	// expires on
	ExpiresOn int64 `json:"expiresOn,omitempty"`

	// fingerprint
	Fingerprint string `json:"fingerprint,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// issued on
	IssuedOn int64 `json:"issuedOn,omitempty"`

	// issuer common name
	IssuerCommonName string `json:"issuerCommonName,omitempty"`

	// issuer organization
	IssuerOrganization string `json:"issuerOrganization,omitempty"`

	// issuer organizational unit
	IssuerOrganizationalUnit string `json:"issuerOrganizationalUnit,omitempty"`

	// pem
	Pem string `json:"pem,omitempty"`

	// serial number
	SerialNumber string `json:"serialNumber,omitempty"`

	// subject common name
	SubjectCommonName string `json:"subjectCommonName,omitempty"`

	// subject organization
	SubjectOrganization string `json:"subjectOrganization,omitempty"`

	// subject organizational unit
	SubjectOrganizationalUnit string `json:"subjectOrganizationalUnit,omitempty"`
}

APICertificate Api certificate

swagger:model ApiCertificate

func (*APICertificate) ContextValidate

func (m *APICertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api certificate based on context it is used

func (*APICertificate) MarshalBinary

func (m *APICertificate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APICertificate) UnmarshalBinary

func (m *APICertificate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APICertificate) Validate

func (m *APICertificate) Validate(formats strfmt.Registry) error

Validate validates this Api certificate

type APICreateUser

type APICreateUser struct {

	// The email address associated with the user.
	EmailAddress string `json:"emailAddress,omitempty"`

	// The first name of the user.
	FirstName string `json:"firstName,omitempty"`

	// The last name of the user.
	LastName string `json:"lastName,omitempty"`

	// The password for the new user.
	Password string `json:"password,omitempty"`

	// The roles which the user has been assigned within Nexus.
	// Unique: true
	Roles []string `json:"roles"`

	// The user's status, e.g. active or disabled.
	// Required: true
	// Enum: [active locked disabled changepassword]
	Status *string `json:"status"`

	// The userid which is required for login. This value cannot be changed.
	UserID string `json:"userId,omitempty"`
}

APICreateUser Api create user

swagger:model ApiCreateUser

func (*APICreateUser) ContextValidate

func (m *APICreateUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api create user based on context it is used

func (*APICreateUser) MarshalBinary

func (m *APICreateUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APICreateUser) UnmarshalBinary

func (m *APICreateUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APICreateUser) Validate

func (m *APICreateUser) Validate(formats strfmt.Registry) error

Validate validates this Api create user

type APIEmailConfiguration

type APIEmailConfiguration struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// from address
	// Example: [email protected]
	FromAddress string `json:"fromAddress,omitempty"`

	// host
	Host string `json:"host,omitempty"`

	// Use the Nexus Repository Manager's certificate truststore
	NexusTrustStoreEnabled bool `json:"nexusTrustStoreEnabled,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// port
	// Required: true
	Port *int32 `json:"port"`

	// Enable SSL/TLS Encryption upon Connection
	SslOnConnectEnabled bool `json:"sslOnConnectEnabled,omitempty"`

	// Verify the server certificate when using TLS or SSL
	SslServerIdentityCheckEnabled bool `json:"sslServerIdentityCheckEnabled,omitempty"`

	// Enable STARTTLS Support for Insecure Connections
	StartTLSEnabled bool `json:"startTlsEnabled,omitempty"`

	// Require STARTTLS Support
	StartTLSRequired bool `json:"startTlsRequired,omitempty"`

	// A prefix to add to all email subjects to aid in identifying automated emails
	SubjectPrefix string `json:"subjectPrefix,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

APIEmailConfiguration Api email configuration

swagger:model ApiEmailConfiguration

func (*APIEmailConfiguration) ContextValidate

func (m *APIEmailConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api email configuration based on context it is used

func (*APIEmailConfiguration) MarshalBinary

func (m *APIEmailConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIEmailConfiguration) UnmarshalBinary

func (m *APIEmailConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIEmailConfiguration) Validate

func (m *APIEmailConfiguration) Validate(formats strfmt.Registry) error

Validate validates this Api email configuration

type APIEmailValidation

type APIEmailValidation struct {

	// reason
	Reason string `json:"reason,omitempty"`

	// success
	Success bool `json:"success,omitempty"`
}

APIEmailValidation Api email validation

swagger:model ApiEmailValidation

func (*APIEmailValidation) ContextValidate

func (m *APIEmailValidation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api email validation based on context it is used

func (*APIEmailValidation) MarshalBinary

func (m *APIEmailValidation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIEmailValidation) UnmarshalBinary

func (m *APIEmailValidation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIEmailValidation) Validate

func (m *APIEmailValidation) Validate(formats strfmt.Registry) error

Validate validates this Api email validation

type APILicenseDetailsXO

type APILicenseDetailsXO struct {

	// contact company
	ContactCompany string `json:"contactCompany,omitempty"`

	// contact email
	ContactEmail string `json:"contactEmail,omitempty"`

	// contact name
	ContactName string `json:"contactName,omitempty"`

	// effective date
	// Format: date-time
	EffectiveDate strfmt.DateTime `json:"effectiveDate,omitempty"`

	// expiration date
	// Format: date-time
	ExpirationDate strfmt.DateTime `json:"expirationDate,omitempty"`

	// features
	Features string `json:"features,omitempty"`

	// fingerprint
	Fingerprint string `json:"fingerprint,omitempty"`

	// license type
	LicenseType string `json:"licenseType,omitempty"`

	// licensed users
	LicensedUsers string `json:"licensedUsers,omitempty"`
}

APILicenseDetailsXO Api license details x o

swagger:model ApiLicenseDetailsXO

func (*APILicenseDetailsXO) ContextValidate

func (m *APILicenseDetailsXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api license details x o based on context it is used

func (*APILicenseDetailsXO) MarshalBinary

func (m *APILicenseDetailsXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APILicenseDetailsXO) UnmarshalBinary

func (m *APILicenseDetailsXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APILicenseDetailsXO) Validate

func (m *APILicenseDetailsXO) Validate(formats strfmt.Registry) error

Validate validates this Api license details x o

type APIPrivilege

type APIPrivilege struct {

	// description
	Description string `json:"description,omitempty"`

	// The name of the privilege.  This value cannot be changed.
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// Indicates whether the privilege can be changed. External values supplied to this will be ignored by the system.
	ReadOnly bool `json:"readOnly,omitempty"`

	// The type of privilege, each type covers different portions of the system. External values supplied to this will be ignored by the system.
	Type string `json:"type,omitempty"`
}

APIPrivilege Api privilege

swagger:model ApiPrivilege

func (*APIPrivilege) ContextValidate

func (m *APIPrivilege) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api privilege based on context it is used

func (*APIPrivilege) MarshalBinary

func (m *APIPrivilege) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIPrivilege) UnmarshalBinary

func (m *APIPrivilege) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIPrivilege) Validate

func (m *APIPrivilege) Validate(formats strfmt.Registry) error

Validate validates this Api privilege

type APIPrivilegeApplicationRequest

type APIPrivilegeApplicationRequest struct {

	// A collection of actions to associate with the privilege, using BREAD syntax (browse,read,edit,add,delete,all) as well as 'run' for script privileges.
	Actions []string `json:"actions"`

	// description
	Description string `json:"description,omitempty"`

	// The domain (i.e. 'blobstores', 'capabilities' or even '*' for all) that this privilege is granting access to.  Note that creating new privileges with a domain is only necessary when using plugins that define their own domain(s).
	Domain string `json:"domain,omitempty"`

	// The name of the privilege.  This value cannot be changed.
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`
}

APIPrivilegeApplicationRequest Api privilege application request

swagger:model ApiPrivilegeApplicationRequest

func (*APIPrivilegeApplicationRequest) ContextValidate

func (m *APIPrivilegeApplicationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api privilege application request based on context it is used

func (*APIPrivilegeApplicationRequest) MarshalBinary

func (m *APIPrivilegeApplicationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIPrivilegeApplicationRequest) UnmarshalBinary

func (m *APIPrivilegeApplicationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIPrivilegeApplicationRequest) Validate

func (m *APIPrivilegeApplicationRequest) Validate(formats strfmt.Registry) error

Validate validates this Api privilege application request

type APIPrivilegeRepositoryAdminRequest

type APIPrivilegeRepositoryAdminRequest struct {

	// A collection of actions to associate with the privilege, using BREAD syntax (browse,read,edit,add,delete,all) as well as 'run' for script privileges.
	Actions []string `json:"actions"`

	// description
	Description string `json:"description,omitempty"`

	// The repository format (i.e 'nuget', 'npm') this privilege will grant access to (or * for all).
	Format string `json:"format,omitempty"`

	// The name of the privilege.  This value cannot be changed.
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// The name of the repository this privilege will grant access to (or * for all).
	Repository string `json:"repository,omitempty"`
}

APIPrivilegeRepositoryAdminRequest Api privilege repository admin request

swagger:model ApiPrivilegeRepositoryAdminRequest

func (*APIPrivilegeRepositoryAdminRequest) ContextValidate

func (m *APIPrivilegeRepositoryAdminRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api privilege repository admin request based on context it is used

func (*APIPrivilegeRepositoryAdminRequest) MarshalBinary

func (m *APIPrivilegeRepositoryAdminRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIPrivilegeRepositoryAdminRequest) UnmarshalBinary

func (m *APIPrivilegeRepositoryAdminRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIPrivilegeRepositoryAdminRequest) Validate

Validate validates this Api privilege repository admin request

type APIPrivilegeRepositoryContentSelectorRequest

type APIPrivilegeRepositoryContentSelectorRequest struct {

	// A collection of actions to associate with the privilege, using BREAD syntax (browse,read,edit,add,delete,all) as well as 'run' for script privileges.
	Actions []string `json:"actions"`

	// The name of a content selector that will be used to grant access to content via this privilege.
	ContentSelector string `json:"contentSelector,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// The repository format (i.e 'nuget', 'npm') this privilege will grant access to (or * for all).
	Format string `json:"format,omitempty"`

	// The name of the privilege.  This value cannot be changed.
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// The name of the repository this privilege will grant access to (or * for all).
	Repository string `json:"repository,omitempty"`
}

APIPrivilegeRepositoryContentSelectorRequest Api privilege repository content selector request

swagger:model ApiPrivilegeRepositoryContentSelectorRequest

func (*APIPrivilegeRepositoryContentSelectorRequest) ContextValidate

ContextValidate validates this Api privilege repository content selector request based on context it is used

func (*APIPrivilegeRepositoryContentSelectorRequest) MarshalBinary

MarshalBinary interface implementation

func (*APIPrivilegeRepositoryContentSelectorRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*APIPrivilegeRepositoryContentSelectorRequest) Validate

Validate validates this Api privilege repository content selector request

type APIPrivilegeRepositoryViewRequest

type APIPrivilegeRepositoryViewRequest struct {

	// A collection of actions to associate with the privilege, using BREAD syntax (browse,read,edit,add,delete,all) as well as 'run' for script privileges.
	Actions []string `json:"actions"`

	// description
	Description string `json:"description,omitempty"`

	// The repository format (i.e 'nuget', 'npm') this privilege will grant access to (or * for all).
	Format string `json:"format,omitempty"`

	// The name of the privilege.  This value cannot be changed.
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// The name of the repository this privilege will grant access to (or * for all).
	Repository string `json:"repository,omitempty"`
}

APIPrivilegeRepositoryViewRequest Api privilege repository view request

swagger:model ApiPrivilegeRepositoryViewRequest

func (*APIPrivilegeRepositoryViewRequest) ContextValidate

func (m *APIPrivilegeRepositoryViewRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api privilege repository view request based on context it is used

func (*APIPrivilegeRepositoryViewRequest) MarshalBinary

func (m *APIPrivilegeRepositoryViewRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIPrivilegeRepositoryViewRequest) UnmarshalBinary

func (m *APIPrivilegeRepositoryViewRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIPrivilegeRepositoryViewRequest) Validate

Validate validates this Api privilege repository view request

type APIPrivilegeScriptRequest

type APIPrivilegeScriptRequest struct {

	// A collection of actions to associate with the privilege, using BREAD syntax (browse,read,edit,add,delete,all) as well as 'run' for script privileges.
	Actions []string `json:"actions"`

	// description
	Description string `json:"description,omitempty"`

	// The name of the privilege.  This value cannot be changed.
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// The name of a script to give access to.
	ScriptName string `json:"scriptName,omitempty"`
}

APIPrivilegeScriptRequest Api privilege script request

swagger:model ApiPrivilegeScriptRequest

func (*APIPrivilegeScriptRequest) ContextValidate

func (m *APIPrivilegeScriptRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api privilege script request based on context it is used

func (*APIPrivilegeScriptRequest) MarshalBinary

func (m *APIPrivilegeScriptRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIPrivilegeScriptRequest) UnmarshalBinary

func (m *APIPrivilegeScriptRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIPrivilegeScriptRequest) Validate

func (m *APIPrivilegeScriptRequest) Validate(formats strfmt.Registry) error

Validate validates this Api privilege script request

type APIPrivilegeWildcardRequest

type APIPrivilegeWildcardRequest struct {

	// description
	Description string `json:"description,omitempty"`

	// The name of the privilege.  This value cannot be changed.
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// A colon separated list of parts that create a permission string.
	Pattern string `json:"pattern,omitempty"`
}

APIPrivilegeWildcardRequest Api privilege wildcard request

swagger:model ApiPrivilegeWildcardRequest

func (*APIPrivilegeWildcardRequest) ContextValidate

func (m *APIPrivilegeWildcardRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api privilege wildcard request based on context it is used

func (*APIPrivilegeWildcardRequest) MarshalBinary

func (m *APIPrivilegeWildcardRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIPrivilegeWildcardRequest) UnmarshalBinary

func (m *APIPrivilegeWildcardRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIPrivilegeWildcardRequest) Validate

func (m *APIPrivilegeWildcardRequest) Validate(formats strfmt.Registry) error

Validate validates this Api privilege wildcard request

type APIUser

type APIUser struct {

	// The email address associated with the user.
	EmailAddress string `json:"emailAddress,omitempty"`

	// The roles which the user has been assigned in an external source, e.g. LDAP group. These cannot be changed within the Nexus Repository Manager.
	// Unique: true
	ExternalRoles []string `json:"externalRoles"`

	// The first name of the user.
	FirstName string `json:"firstName,omitempty"`

	// The last name of the user.
	LastName string `json:"lastName,omitempty"`

	// Indicates whether the user's properties could be modified by the Nexus Repository Manager. When false only roles are considered during update.
	ReadOnly bool `json:"readOnly,omitempty"`

	// The roles which the user has been assigned within Nexus.
	// Unique: true
	Roles []string `json:"roles"`

	// The user source which is the origin of this user. This value cannot be changed.
	Source string `json:"source,omitempty"`

	// The user's status, e.g. active or disabled.
	// Required: true
	// Enum: [active locked disabled changepassword]
	Status *string `json:"status"`

	// The userid which is required for login. This value cannot be changed.
	UserID string `json:"userId,omitempty"`
}

APIUser Api user

swagger:model ApiUser

func (*APIUser) ContextValidate

func (m *APIUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api user based on context it is used

func (*APIUser) MarshalBinary

func (m *APIUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIUser) UnmarshalBinary

func (m *APIUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIUser) Validate

func (m *APIUser) Validate(formats strfmt.Registry) error

Validate validates this Api user

type APIUserSource

type APIUserSource struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

APIUserSource Api user source

swagger:model ApiUserSource

func (*APIUserSource) ContextValidate

func (m *APIUserSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api user source based on context it is used

func (*APIUserSource) MarshalBinary

func (m *APIUserSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIUserSource) UnmarshalBinary

func (m *APIUserSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIUserSource) Validate

func (m *APIUserSource) Validate(formats strfmt.Registry) error

Validate validates this Api user source

type AbstractAPIRepository

type AbstractAPIRepository struct {

	// Component format held in this repository
	// Example: npm
	Format string `json:"format,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// Controls if deployments of and updates to artifacts are allowed
	// Example: hosted
	// Enum: [hosted proxy group]
	Type string `json:"type,omitempty"`

	// URL to the repository
	URL string `json:"url,omitempty"`
}

AbstractAPIRepository abstract Api repository

swagger:model AbstractApiRepository

func (*AbstractAPIRepository) ContextValidate

func (m *AbstractAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this abstract Api repository based on context it is used

func (*AbstractAPIRepository) MarshalBinary

func (m *AbstractAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AbstractAPIRepository) UnmarshalBinary

func (m *AbstractAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AbstractAPIRepository) Validate

func (m *AbstractAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this abstract Api repository

type AnonymousAccessSettingsXO

type AnonymousAccessSettingsXO struct {

	// Whether or not Anonymous Access is enabled
	Enabled bool `json:"enabled,omitempty"`

	// The name of the authentication realm for the anonymous account
	RealmName string `json:"realmName,omitempty"`

	// The username of the anonymous account
	UserID string `json:"userId,omitempty"`
}

AnonymousAccessSettingsXO anonymous access settings x o

swagger:model AnonymousAccessSettingsXO

func (*AnonymousAccessSettingsXO) ContextValidate

func (m *AnonymousAccessSettingsXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this anonymous access settings x o based on context it is used

func (*AnonymousAccessSettingsXO) MarshalBinary

func (m *AnonymousAccessSettingsXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AnonymousAccessSettingsXO) UnmarshalBinary

func (m *AnonymousAccessSettingsXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AnonymousAccessSettingsXO) Validate

func (m *AnonymousAccessSettingsXO) Validate(formats strfmt.Registry) error

Validate validates this anonymous access settings x o

type AptHostedAPIRepository

type AptHostedAPIRepository struct {

	// apt
	// Required: true
	Apt *AptHostedRepositoriesAttributes `json:"apt"`

	// apt signing
	// Required: true
	AptSigning *AptSigningRepositoriesAttributes `json:"aptSigning"`

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

AptHostedAPIRepository apt hosted Api repository

swagger:model AptHostedApiRepository

func (*AptHostedAPIRepository) ContextValidate

func (m *AptHostedAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apt hosted Api repository based on the context it is used

func (*AptHostedAPIRepository) MarshalBinary

func (m *AptHostedAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AptHostedAPIRepository) UnmarshalBinary

func (m *AptHostedAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AptHostedAPIRepository) Validate

func (m *AptHostedAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this apt hosted Api repository

type AptHostedRepositoriesAttributes

type AptHostedRepositoriesAttributes struct {

	// Distribution to fetch
	// Example: bionic
	Distribution string `json:"distribution,omitempty"`
}

AptHostedRepositoriesAttributes apt hosted repositories attributes

swagger:model AptHostedRepositoriesAttributes

func (*AptHostedRepositoriesAttributes) ContextValidate

func (m *AptHostedRepositoriesAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this apt hosted repositories attributes based on context it is used

func (*AptHostedRepositoriesAttributes) MarshalBinary

func (m *AptHostedRepositoriesAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AptHostedRepositoriesAttributes) UnmarshalBinary

func (m *AptHostedRepositoriesAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AptHostedRepositoriesAttributes) Validate

Validate validates this apt hosted repositories attributes

type AptHostedRepositoryAPIRequest

type AptHostedRepositoryAPIRequest struct {

	// apt
	// Required: true
	Apt *AptHostedRepositoriesAttributes `json:"apt"`

	// apt signing
	// Required: true
	AptSigning *AptSigningRepositoriesAttributes `json:"aptSigning"`

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

AptHostedRepositoryAPIRequest apt hosted repository Api request

swagger:model AptHostedRepositoryApiRequest

func (*AptHostedRepositoryAPIRequest) ContextValidate

func (m *AptHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apt hosted repository Api request based on the context it is used

func (*AptHostedRepositoryAPIRequest) MarshalBinary

func (m *AptHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AptHostedRepositoryAPIRequest) UnmarshalBinary

func (m *AptHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AptHostedRepositoryAPIRequest) Validate

func (m *AptHostedRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this apt hosted repository Api request

type AptProxyAPIRepository

type AptProxyAPIRepository struct {

	// apt
	// Required: true
	Apt *AptProxyRepositoriesAttributes `json:"apt"`

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// The name of the routing rule assigned to this repository
	RoutingRuleName string `json:"routingRuleName,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

AptProxyAPIRepository apt proxy Api repository

swagger:model AptProxyApiRepository

func (*AptProxyAPIRepository) ContextValidate

func (m *AptProxyAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apt proxy Api repository based on the context it is used

func (*AptProxyAPIRepository) MarshalBinary

func (m *AptProxyAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AptProxyAPIRepository) UnmarshalBinary

func (m *AptProxyAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AptProxyAPIRepository) Validate

func (m *AptProxyAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this apt proxy Api repository

type AptProxyRepositoriesAttributes

type AptProxyRepositoriesAttributes struct {

	// Distribution to fetch
	// Example: bionic
	Distribution string `json:"distribution,omitempty"`

	// Whether this repository is flat
	// Example: false
	// Required: true
	Flat *bool `json:"flat"`
}

AptProxyRepositoriesAttributes apt proxy repositories attributes

swagger:model AptProxyRepositoriesAttributes

func (*AptProxyRepositoriesAttributes) ContextValidate

func (m *AptProxyRepositoriesAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this apt proxy repositories attributes based on context it is used

func (*AptProxyRepositoriesAttributes) MarshalBinary

func (m *AptProxyRepositoriesAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AptProxyRepositoriesAttributes) UnmarshalBinary

func (m *AptProxyRepositoriesAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AptProxyRepositoriesAttributes) Validate

func (m *AptProxyRepositoriesAttributes) Validate(formats strfmt.Registry) error

Validate validates this apt proxy repositories attributes

type AptProxyRepositoryAPIRequest

type AptProxyRepositoryAPIRequest struct {

	// apt
	// Required: true
	Apt *AptProxyRepositoriesAttributes `json:"apt"`

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

AptProxyRepositoryAPIRequest apt proxy repository Api request

swagger:model AptProxyRepositoryApiRequest

func (*AptProxyRepositoryAPIRequest) ContextValidate

func (m *AptProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apt proxy repository Api request based on the context it is used

func (*AptProxyRepositoryAPIRequest) MarshalBinary

func (m *AptProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AptProxyRepositoryAPIRequest) UnmarshalBinary

func (m *AptProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AptProxyRepositoryAPIRequest) Validate

func (m *AptProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this apt proxy repository Api request

type AptSigningRepositoriesAttributes

type AptSigningRepositoriesAttributes struct {

	// PGP signing key pair (armored private key e.g. gpg --export-secret-key --armor)
	Keypair string `json:"keypair,omitempty"`

	// Passphrase to access PGP signing key
	Passphrase string `json:"passphrase,omitempty"`
}

AptSigningRepositoriesAttributes apt signing repositories attributes

swagger:model AptSigningRepositoriesAttributes

func (*AptSigningRepositoriesAttributes) ContextValidate

func (m *AptSigningRepositoriesAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this apt signing repositories attributes based on context it is used

func (*AptSigningRepositoriesAttributes) MarshalBinary

func (m *AptSigningRepositoriesAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AptSigningRepositoriesAttributes) UnmarshalBinary

func (m *AptSigningRepositoriesAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AptSigningRepositoriesAttributes) Validate

Validate validates this apt signing repositories attributes

type AssetXO

type AssetXO struct {

	// checksum
	Checksum map[string]interface{} `json:"checksum,omitempty"`

	// content type
	ContentType string `json:"contentType,omitempty"`

	// download Url
	DownloadURL string `json:"downloadUrl,omitempty"`

	// file size
	FileSize int64 `json:"fileSize,omitempty"`

	// format
	Format string `json:"format,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last downloaded
	// Format: date-time
	LastDownloaded strfmt.DateTime `json:"lastDownloaded,omitempty"`

	// last modified
	// Format: date-time
	LastModified strfmt.DateTime `json:"lastModified,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// repository
	Repository string `json:"repository,omitempty"`

	// uploader
	Uploader string `json:"uploader,omitempty"`

	// uploader Ip
	UploaderIP string `json:"uploaderIp,omitempty"`
}

AssetXO asset x o

swagger:model AssetXO

func (*AssetXO) ContextValidate

func (m *AssetXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this asset x o based on context it is used

func (*AssetXO) MarshalBinary

func (m *AssetXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssetXO) UnmarshalBinary

func (m *AssetXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssetXO) Validate

func (m *AssetXO) Validate(formats strfmt.Registry) error

Validate validates this asset x o

type AzureBlobStoreAPIAuthentication

type AzureBlobStoreAPIAuthentication struct {

	// The account key.
	AccountKey string `json:"accountKey,omitempty"`

	// The type of Azure authentication to use.
	// Required: true
	// Enum: [ACCOUNTKEY MANAGEDIDENTITY ENVIRONMENTVARIABLE]
	AuthenticationMethod *string `json:"authenticationMethod"`
}

AzureBlobStoreAPIAuthentication azure blob store Api authentication

swagger:model AzureBlobStoreApiAuthentication

func (*AzureBlobStoreAPIAuthentication) ContextValidate

func (m *AzureBlobStoreAPIAuthentication) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure blob store Api authentication based on context it is used

func (*AzureBlobStoreAPIAuthentication) MarshalBinary

func (m *AzureBlobStoreAPIAuthentication) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureBlobStoreAPIAuthentication) UnmarshalBinary

func (m *AzureBlobStoreAPIAuthentication) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureBlobStoreAPIAuthentication) Validate

Validate validates this azure blob store Api authentication

type AzureBlobStoreAPIBucketConfiguration

type AzureBlobStoreAPIBucketConfiguration struct {

	// Account name found under Access keys for the storage account.
	// Required: true
	AccountName *string `json:"accountName"`

	// The Azure specific authentication details.
	// Required: true
	Authentication *AzureBlobStoreAPIAuthentication `json:"authentication"`

	// The name of an existing container to be used for storage.
	// Required: true
	// Pattern: ^[a-z0-9][a-z0-9-]{2,62}$
	ContainerName *string `json:"containerName"`
}

AzureBlobStoreAPIBucketConfiguration azure blob store Api bucket configuration

swagger:model AzureBlobStoreApiBucketConfiguration

func (*AzureBlobStoreAPIBucketConfiguration) ContextValidate

func (m *AzureBlobStoreAPIBucketConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this azure blob store Api bucket configuration based on the context it is used

func (*AzureBlobStoreAPIBucketConfiguration) MarshalBinary

func (m *AzureBlobStoreAPIBucketConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureBlobStoreAPIBucketConfiguration) UnmarshalBinary

func (m *AzureBlobStoreAPIBucketConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureBlobStoreAPIBucketConfiguration) Validate

Validate validates this azure blob store Api bucket configuration

type AzureBlobStoreAPIModel

type AzureBlobStoreAPIModel struct {

	// The Azure specific configuration details for the Azure object that'll contain the blob store.
	// Required: true
	BucketConfiguration *AzureBlobStoreAPIBucketConfiguration `json:"bucketConfiguration"`

	// The name of the Azure blob store.
	// Required: true
	Name *string `json:"name"`

	// Settings to control the soft quota.
	SoftQuota *BlobStoreAPISoftQuota `json:"softQuota,omitempty"`
}

AzureBlobStoreAPIModel azure blob store Api model

swagger:model AzureBlobStoreApiModel

func (*AzureBlobStoreAPIModel) ContextValidate

func (m *AzureBlobStoreAPIModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this azure blob store Api model based on the context it is used

func (*AzureBlobStoreAPIModel) MarshalBinary

func (m *AzureBlobStoreAPIModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureBlobStoreAPIModel) UnmarshalBinary

func (m *AzureBlobStoreAPIModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureBlobStoreAPIModel) Validate

func (m *AzureBlobStoreAPIModel) Validate(formats strfmt.Registry) error

Validate validates this azure blob store Api model

type AzureConnectionXO

type AzureConnectionXO struct {

	// account key
	AccountKey string `json:"accountKey,omitempty"`

	// account name
	AccountName string `json:"accountName,omitempty"`

	// authentication method
	AuthenticationMethod string `json:"authenticationMethod,omitempty"`

	// container name
	ContainerName string `json:"containerName,omitempty"`
}

AzureConnectionXO azure connection x o

swagger:model AzureConnectionXO

func (*AzureConnectionXO) ContextValidate

func (m *AzureConnectionXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure connection x o based on context it is used

func (*AzureConnectionXO) MarshalBinary

func (m *AzureConnectionXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureConnectionXO) UnmarshalBinary

func (m *AzureConnectionXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureConnectionXO) Validate

func (m *AzureConnectionXO) Validate(formats strfmt.Registry) error

Validate validates this azure connection x o

type BlobStoreAPISoftQuota

type BlobStoreAPISoftQuota struct {

	// The limit in MB.
	// Minimum: 0
	Limit *int64 `json:"limit,omitempty"`

	// The type to use such as spaceRemainingQuota, or spaceUsedQuota
	// Enum: [spaceRemainingQuota spaceUsedQuota]
	Type string `json:"type,omitempty"`
}

BlobStoreAPISoftQuota blob store Api soft quota

swagger:model BlobStoreApiSoftQuota

func (*BlobStoreAPISoftQuota) ContextValidate

func (m *BlobStoreAPISoftQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this blob store Api soft quota based on context it is used

func (*BlobStoreAPISoftQuota) MarshalBinary

func (m *BlobStoreAPISoftQuota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlobStoreAPISoftQuota) UnmarshalBinary

func (m *BlobStoreAPISoftQuota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlobStoreAPISoftQuota) Validate

func (m *BlobStoreAPISoftQuota) Validate(formats strfmt.Registry) error

Validate validates this blob store Api soft quota

type BlobStoreQuotaResultXO

type BlobStoreQuotaResultXO struct {

	// blob store name
	BlobStoreName string `json:"blobStoreName,omitempty"`

	// is violation
	IsViolation bool `json:"isViolation,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

BlobStoreQuotaResultXO blob store quota result x o

swagger:model BlobStoreQuotaResultXO

func (*BlobStoreQuotaResultXO) ContextValidate

func (m *BlobStoreQuotaResultXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this blob store quota result x o based on context it is used

func (*BlobStoreQuotaResultXO) MarshalBinary

func (m *BlobStoreQuotaResultXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlobStoreQuotaResultXO) UnmarshalBinary

func (m *BlobStoreQuotaResultXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlobStoreQuotaResultXO) Validate

func (m *BlobStoreQuotaResultXO) Validate(formats strfmt.Registry) error

Validate validates this blob store quota result x o

type BowerAttributes

type BowerAttributes struct {

	// Whether to force Bower to retrieve packages through this proxy repository
	// Example: true
	// Required: true
	RewritePackageUrls *bool `json:"rewritePackageUrls"`
}

BowerAttributes bower attributes

swagger:model BowerAttributes

func (*BowerAttributes) ContextValidate

func (m *BowerAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bower attributes based on context it is used

func (*BowerAttributes) MarshalBinary

func (m *BowerAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BowerAttributes) UnmarshalBinary

func (m *BowerAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BowerAttributes) Validate

func (m *BowerAttributes) Validate(formats strfmt.Registry) error

Validate validates this bower attributes

type BowerGroupRepositoryAPIRequest

type BowerGroupRepositoryAPIRequest struct {

	// group
	// Required: true
	Group *GroupAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

BowerGroupRepositoryAPIRequest bower group repository Api request

swagger:model BowerGroupRepositoryApiRequest

func (*BowerGroupRepositoryAPIRequest) ContextValidate

func (m *BowerGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bower group repository Api request based on the context it is used

func (*BowerGroupRepositoryAPIRequest) MarshalBinary

func (m *BowerGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BowerGroupRepositoryAPIRequest) UnmarshalBinary

func (m *BowerGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BowerGroupRepositoryAPIRequest) Validate

func (m *BowerGroupRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this bower group repository Api request

type BowerHostedRepositoryAPIRequest

type BowerHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

BowerHostedRepositoryAPIRequest bower hosted repository Api request

swagger:model BowerHostedRepositoryApiRequest

func (*BowerHostedRepositoryAPIRequest) ContextValidate

func (m *BowerHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bower hosted repository Api request based on the context it is used

func (*BowerHostedRepositoryAPIRequest) MarshalBinary

func (m *BowerHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BowerHostedRepositoryAPIRequest) UnmarshalBinary

func (m *BowerHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BowerHostedRepositoryAPIRequest) Validate

Validate validates this bower hosted repository Api request

type BowerProxyAPIRepository

type BowerProxyAPIRepository struct {

	// bower
	Bower *BowerAttributes `json:"bower,omitempty"`

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// The name of the routing rule assigned to this repository
	RoutingRuleName string `json:"routingRuleName,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

BowerProxyAPIRepository bower proxy Api repository

swagger:model BowerProxyApiRepository

func (*BowerProxyAPIRepository) ContextValidate

func (m *BowerProxyAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bower proxy Api repository based on the context it is used

func (*BowerProxyAPIRepository) MarshalBinary

func (m *BowerProxyAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BowerProxyAPIRepository) UnmarshalBinary

func (m *BowerProxyAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BowerProxyAPIRepository) Validate

func (m *BowerProxyAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this bower proxy Api repository

type BowerProxyRepositoryAPIRequest

type BowerProxyRepositoryAPIRequest struct {

	// bower
	Bower *BowerAttributes `json:"bower,omitempty"`

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

BowerProxyRepositoryAPIRequest bower proxy repository Api request

swagger:model BowerProxyRepositoryApiRequest

func (*BowerProxyRepositoryAPIRequest) ContextValidate

func (m *BowerProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bower proxy repository Api request based on the context it is used

func (*BowerProxyRepositoryAPIRequest) MarshalBinary

func (m *BowerProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BowerProxyRepositoryAPIRequest) UnmarshalBinary

func (m *BowerProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BowerProxyRepositoryAPIRequest) Validate

func (m *BowerProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this bower proxy repository Api request

type CleanupPolicyAttributes

type CleanupPolicyAttributes struct {

	// Components that match any of the applied policies will be deleted
	PolicyNames []string `json:"policyNames"`
}

CleanupPolicyAttributes cleanup policy attributes

swagger:model CleanupPolicyAttributes

func (*CleanupPolicyAttributes) ContextValidate

func (m *CleanupPolicyAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cleanup policy attributes based on context it is used

func (*CleanupPolicyAttributes) MarshalBinary

func (m *CleanupPolicyAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CleanupPolicyAttributes) UnmarshalBinary

func (m *CleanupPolicyAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CleanupPolicyAttributes) Validate

func (m *CleanupPolicyAttributes) Validate(formats strfmt.Registry) error

Validate validates this cleanup policy attributes

type CocoapodsProxyRepositoryAPIRequest

type CocoapodsProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

CocoapodsProxyRepositoryAPIRequest cocoapods proxy repository Api request

swagger:model CocoapodsProxyRepositoryApiRequest

func (*CocoapodsProxyRepositoryAPIRequest) ContextValidate

func (m *CocoapodsProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cocoapods proxy repository Api request based on the context it is used

func (*CocoapodsProxyRepositoryAPIRequest) MarshalBinary

func (m *CocoapodsProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CocoapodsProxyRepositoryAPIRequest) UnmarshalBinary

func (m *CocoapodsProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CocoapodsProxyRepositoryAPIRequest) Validate

Validate validates this cocoapods proxy repository Api request

type ComponentAttributes

type ComponentAttributes struct {

	// Components in this repository count as proprietary for namespace conflict attacks (requires Sonatype Nexus Firewall)
	ProprietaryComponents bool `json:"proprietaryComponents,omitempty"`
}

ComponentAttributes component attributes

swagger:model ComponentAttributes

func (*ComponentAttributes) ContextValidate

func (m *ComponentAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this component attributes based on context it is used

func (*ComponentAttributes) MarshalBinary

func (m *ComponentAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ComponentAttributes) UnmarshalBinary

func (m *ComponentAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ComponentAttributes) Validate

func (m *ComponentAttributes) Validate(formats strfmt.Registry) error

Validate validates this component attributes

type ComponentXO

type ComponentXO struct {

	// assets
	Assets []*AssetXO `json:"assets"`

	// format
	Format string `json:"format,omitempty"`

	// group
	Group string `json:"group,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// repository
	Repository string `json:"repository,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ComponentXO component x o

swagger:model ComponentXO

func (*ComponentXO) ContextValidate

func (m *ComponentXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this component x o based on the context it is used

func (*ComponentXO) MarshalBinary

func (m *ComponentXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ComponentXO) UnmarshalBinary

func (m *ComponentXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ComponentXO) Validate

func (m *ComponentXO) Validate(formats strfmt.Registry) error

Validate validates this component x o

type ConanProxyRepositoryAPIRequest

type ConanProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

ConanProxyRepositoryAPIRequest conan proxy repository Api request

swagger:model ConanProxyRepositoryApiRequest

func (*ConanProxyRepositoryAPIRequest) ContextValidate

func (m *ConanProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this conan proxy repository Api request based on the context it is used

func (*ConanProxyRepositoryAPIRequest) MarshalBinary

func (m *ConanProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConanProxyRepositoryAPIRequest) UnmarshalBinary

func (m *ConanProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConanProxyRepositoryAPIRequest) Validate

func (m *ConanProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this conan proxy repository Api request

type CondaProxyRepositoryAPIRequest

type CondaProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

CondaProxyRepositoryAPIRequest conda proxy repository Api request

swagger:model CondaProxyRepositoryApiRequest

func (*CondaProxyRepositoryAPIRequest) ContextValidate

func (m *CondaProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this conda proxy repository Api request based on the context it is used

func (*CondaProxyRepositoryAPIRequest) MarshalBinary

func (m *CondaProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CondaProxyRepositoryAPIRequest) UnmarshalBinary

func (m *CondaProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CondaProxyRepositoryAPIRequest) Validate

func (m *CondaProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this conda proxy repository Api request

type ContentSelectorAPICreateRequest

type ContentSelectorAPICreateRequest struct {

	// A human-readable description
	Description string `json:"description,omitempty"`

	// The expression used to identify content
	// Example: format == \"maven2\" and path =^ \"/org/sonatype/nexus\
	Expression string `json:"expression,omitempty"`

	// The content selector name cannot be changed after creation
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`
}

ContentSelectorAPICreateRequest content selector Api create request

swagger:model ContentSelectorApiCreateRequest

func (*ContentSelectorAPICreateRequest) ContextValidate

func (m *ContentSelectorAPICreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this content selector Api create request based on context it is used

func (*ContentSelectorAPICreateRequest) MarshalBinary

func (m *ContentSelectorAPICreateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentSelectorAPICreateRequest) UnmarshalBinary

func (m *ContentSelectorAPICreateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentSelectorAPICreateRequest) Validate

Validate validates this content selector Api create request

type ContentSelectorAPIResponse

type ContentSelectorAPIResponse struct {

	// A human-readable description
	Description string `json:"description,omitempty"`

	// The expression used to identify content
	// Example: format == \"maven2\" and path =^ \"/org/sonatype/nexus\
	Expression string `json:"expression,omitempty"`

	// The content selector name cannot be changed after creation
	Name string `json:"name,omitempty"`

	// The type of content selector the backend is using
	// Enum: [csel jexl]
	Type string `json:"type,omitempty"`
}

ContentSelectorAPIResponse content selector Api response

swagger:model ContentSelectorApiResponse

func (*ContentSelectorAPIResponse) ContextValidate

func (m *ContentSelectorAPIResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this content selector Api response based on context it is used

func (*ContentSelectorAPIResponse) MarshalBinary

func (m *ContentSelectorAPIResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentSelectorAPIResponse) UnmarshalBinary

func (m *ContentSelectorAPIResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentSelectorAPIResponse) Validate

func (m *ContentSelectorAPIResponse) Validate(formats strfmt.Registry) error

Validate validates this content selector Api response

type ContentSelectorAPIUpdateRequest

type ContentSelectorAPIUpdateRequest struct {

	// An optional description of this content selector
	Description string `json:"description,omitempty"`

	// The expression used to identify content
	// Example: format == \"maven2\" and path =^ \"/org/sonatype/nexus\
	Expression string `json:"expression,omitempty"`
}

ContentSelectorAPIUpdateRequest content selector Api update request

swagger:model ContentSelectorApiUpdateRequest

func (*ContentSelectorAPIUpdateRequest) ContextValidate

func (m *ContentSelectorAPIUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this content selector Api update request based on context it is used

func (*ContentSelectorAPIUpdateRequest) MarshalBinary

func (m *ContentSelectorAPIUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContentSelectorAPIUpdateRequest) UnmarshalBinary

func (m *ContentSelectorAPIUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContentSelectorAPIUpdateRequest) Validate

Validate validates this content selector Api update request

type CreateLdapServerXo

type CreateLdapServerXo struct {

	// The password to bind with. Required if authScheme other than none.
	// Required: true
	AuthPassword *string `json:"authPassword"`

	// The SASL realm to bind to. Required if authScheme is CRAM_MD5 or DIGEST_MD5
	// Example: example.com
	AuthRealm string `json:"authRealm,omitempty"`

	// Authentication scheme used for connecting to LDAP server
	// Required: true
	// Enum: [NONE SIMPLE DIGEST_MD5 CRAM_MD5]
	AuthScheme *string `json:"authScheme"`

	// This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
	AuthUsername string `json:"authUsername,omitempty"`

	// How long to wait before retrying
	// Required: true
	// Minimum: 0
	ConnectionRetryDelaySeconds *int32 `json:"connectionRetryDelaySeconds"`

	// How long to wait before timeout
	// Example: 1
	// Required: true
	// Maximum: 3600
	// Minimum: 1
	ConnectionTimeoutSeconds *int32 `json:"connectionTimeoutSeconds"`

	// The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
	// Example: ou=Group
	GroupBaseDn string `json:"groupBaseDn,omitempty"`

	// This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
	// Example: cn
	// Max Length: 0
	// Min Length: 0
	GroupIDAttribute *string `json:"groupIdAttribute,omitempty"`

	// LDAP attribute containing the usernames for the group. Required if groupType is static
	// Example: memberUid
	// Max Length: 0
	// Min Length: 0
	GroupMemberAttribute *string `json:"groupMemberAttribute,omitempty"`

	// The format of user ID stored in the group member attribute. Required if groupType is static
	// Example: uid=${username},ou=people,dc=example,dc=com
	// Max Length: 0
	// Min Length: 0
	GroupMemberFormat *string `json:"groupMemberFormat,omitempty"`

	// LDAP class for group objects. Required if groupType is static
	// Example: posixGroup
	// Max Length: 0
	// Min Length: 0
	GroupObjectClass *string `json:"groupObjectClass,omitempty"`

	// Are groups located in structures below the group base DN
	GroupSubtree bool `json:"groupSubtree,omitempty"`

	// Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
	// Required: true
	// Enum: [static dynamic]
	GroupType *string `json:"groupType"`

	// LDAP server connection hostname
	// Required: true
	Host *string `json:"host"`

	// Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
	LdapGroupsAsRoles bool `json:"ldapGroupsAsRoles,omitempty"`

	// How many retry attempts
	// Required: true
	// Minimum: 0
	MaxIncidentsCount *int32 `json:"maxIncidentsCount"`

	// LDAP server name
	// Required: true
	Name *string `json:"name"`

	// LDAP server connection port to use
	// Example: 636
	// Required: true
	Port *int32 `json:"port"`

	// LDAP server connection Protocol to use
	// Required: true
	// Enum: [ldap ldaps]
	Protocol *string `json:"protocol"`

	// LDAP location to be added to the connection URL
	// Example: dc=example,dc=com
	// Required: true
	SearchBase *string `json:"searchBase"`

	// Whether to use certificates stored in Nexus Repository Manager's truststore
	UseTrustStore bool `json:"useTrustStore,omitempty"`

	// The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
	// Example: ou=people
	UserBaseDn string `json:"userBaseDn,omitempty"`

	// This is used to find an email address given the user ID
	// Example: mail
	UserEmailAddressAttribute string `json:"userEmailAddressAttribute,omitempty"`

	// This is used to find a user given its user ID
	// Example: uid
	UserIDAttribute string `json:"userIdAttribute,omitempty"`

	// LDAP search filter to limit user search
	// Example: (|(mail=*@example.com)(uid=dom*))
	UserLdapFilter string `json:"userLdapFilter,omitempty"`

	// Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
	// Example: memberOf
	// Max Length: 0
	// Min Length: 0
	UserMemberOfAttribute *string `json:"userMemberOfAttribute,omitempty"`

	// LDAP class for user objects
	// Example: inetOrgPerson
	UserObjectClass string `json:"userObjectClass,omitempty"`

	// If this field is blank the user will be authenticated against a bind with the LDAP server
	UserPasswordAttribute string `json:"userPasswordAttribute,omitempty"`

	// This is used to find a real name given the user ID
	// Example: cn
	UserRealNameAttribute string `json:"userRealNameAttribute,omitempty"`

	// Are users located in structures below the user base DN?
	UserSubtree bool `json:"userSubtree,omitempty"`
}

CreateLdapServerXo create ldap server xo

swagger:model CreateLdapServerXo

func (*CreateLdapServerXo) ContextValidate

func (m *CreateLdapServerXo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create ldap server xo based on context it is used

func (*CreateLdapServerXo) MarshalBinary

func (m *CreateLdapServerXo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateLdapServerXo) UnmarshalBinary

func (m *CreateLdapServerXo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateLdapServerXo) Validate

func (m *CreateLdapServerXo) Validate(formats strfmt.Registry) error

Validate validates this create ldap server xo

type DockerAttributes

type DockerAttributes struct {

	// Whether to force authentication (Docker Bearer Token Realm required if false)
	// Example: true
	// Required: true
	ForceBasicAuth *bool `json:"forceBasicAuth"`

	// Create an HTTP connector at specified port
	// Example: 8082
	HTTPPort int32 `json:"httpPort,omitempty"`

	// Create an HTTPS connector at specified port
	// Example: 8083
	HTTPSPort int32 `json:"httpsPort,omitempty"`

	// Allows to use subdomain
	// Example: docker-a
	Subdomain string `json:"subdomain,omitempty"`

	// Whether to allow clients to use the V1 API to interact with this repository
	// Example: false
	// Required: true
	V1Enabled *bool `json:"v1Enabled"`
}

DockerAttributes docker attributes

swagger:model DockerAttributes

func (*DockerAttributes) ContextValidate

func (m *DockerAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this docker attributes based on context it is used

func (*DockerAttributes) MarshalBinary

func (m *DockerAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerAttributes) UnmarshalBinary

func (m *DockerAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerAttributes) Validate

func (m *DockerAttributes) Validate(formats strfmt.Registry) error

Validate validates this docker attributes

type DockerGroupAPIRepository

type DockerGroupAPIRepository struct {

	// docker
	// Required: true
	Docker *DockerAttributes `json:"docker"`

	// group
	// Required: true
	Group *GroupDeployAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

DockerGroupAPIRepository docker group Api repository

swagger:model DockerGroupApiRepository

func (*DockerGroupAPIRepository) ContextValidate

func (m *DockerGroupAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this docker group Api repository based on the context it is used

func (*DockerGroupAPIRepository) MarshalBinary

func (m *DockerGroupAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerGroupAPIRepository) UnmarshalBinary

func (m *DockerGroupAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerGroupAPIRepository) Validate

func (m *DockerGroupAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this docker group Api repository

type DockerGroupRepositoryAPIRequest

type DockerGroupRepositoryAPIRequest struct {

	// docker
	// Required: true
	Docker *DockerAttributes `json:"docker"`

	// group
	// Required: true
	Group *GroupDeployAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

DockerGroupRepositoryAPIRequest docker group repository Api request

swagger:model DockerGroupRepositoryApiRequest

func (*DockerGroupRepositoryAPIRequest) ContextValidate

func (m *DockerGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this docker group repository Api request based on the context it is used

func (*DockerGroupRepositoryAPIRequest) MarshalBinary

func (m *DockerGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerGroupRepositoryAPIRequest) UnmarshalBinary

func (m *DockerGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerGroupRepositoryAPIRequest) Validate

Validate validates this docker group repository Api request

type DockerHostedAPIRepository

type DockerHostedAPIRepository struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// docker
	// Required: true
	Docker *DockerAttributes `json:"docker"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

DockerHostedAPIRepository docker hosted Api repository

swagger:model DockerHostedApiRepository

func (*DockerHostedAPIRepository) ContextValidate

func (m *DockerHostedAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this docker hosted Api repository based on the context it is used

func (*DockerHostedAPIRepository) MarshalBinary

func (m *DockerHostedAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerHostedAPIRepository) UnmarshalBinary

func (m *DockerHostedAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerHostedAPIRepository) Validate

func (m *DockerHostedAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this docker hosted Api repository

type DockerHostedRepositoryAPIRequest

type DockerHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// docker
	// Required: true
	Docker *DockerAttributes `json:"docker"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *DockerHostedStorageAttributes `json:"storage"`
}

DockerHostedRepositoryAPIRequest docker hosted repository Api request

swagger:model DockerHostedRepositoryApiRequest

func (*DockerHostedRepositoryAPIRequest) ContextValidate

func (m *DockerHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this docker hosted repository Api request based on the context it is used

func (*DockerHostedRepositoryAPIRequest) MarshalBinary

func (m *DockerHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerHostedRepositoryAPIRequest) UnmarshalBinary

func (m *DockerHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerHostedRepositoryAPIRequest) Validate

Validate validates this docker hosted repository Api request

type DockerHostedStorageAttributes

type DockerHostedStorageAttributes struct {

	// Blob store used to store repository contents
	// Example: default
	BlobStoreName string `json:"blobStoreName,omitempty"`

	// Whether to allow redeploying the 'latest' tag but defer to the Deployment Policy for all other tags
	// Example: true
	LatestPolicy bool `json:"latestPolicy,omitempty"`

	// Whether to validate uploaded content's MIME type appropriate for the repository format
	// Example: true
	// Required: true
	StrictContentTypeValidation *bool `json:"strictContentTypeValidation"`

	// Controls if deployments of and updates to assets are allowed
	// Example: allow_once
	// Required: true
	// Enum: [allow allow_once deny]
	WritePolicy *string `json:"writePolicy"`
}

DockerHostedStorageAttributes docker hosted storage attributes

swagger:model DockerHostedStorageAttributes

func (*DockerHostedStorageAttributes) ContextValidate

func (m *DockerHostedStorageAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this docker hosted storage attributes based on context it is used

func (*DockerHostedStorageAttributes) MarshalBinary

func (m *DockerHostedStorageAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerHostedStorageAttributes) UnmarshalBinary

func (m *DockerHostedStorageAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerHostedStorageAttributes) Validate

func (m *DockerHostedStorageAttributes) Validate(formats strfmt.Registry) error

Validate validates this docker hosted storage attributes

type DockerProxyAPIRepository

type DockerProxyAPIRepository struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// docker
	// Required: true
	Docker *DockerAttributes `json:"docker"`

	// docker proxy
	// Required: true
	DockerProxy *DockerProxyAttributes `json:"dockerProxy"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// The name of the routing rule assigned to this repository
	RoutingRuleName string `json:"routingRuleName,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

DockerProxyAPIRepository docker proxy Api repository

swagger:model DockerProxyApiRepository

func (*DockerProxyAPIRepository) ContextValidate

func (m *DockerProxyAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this docker proxy Api repository based on the context it is used

func (*DockerProxyAPIRepository) MarshalBinary

func (m *DockerProxyAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerProxyAPIRepository) UnmarshalBinary

func (m *DockerProxyAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerProxyAPIRepository) Validate

func (m *DockerProxyAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this docker proxy Api repository

type DockerProxyAttributes

type DockerProxyAttributes struct {

	// Allow Nexus Repository Manager to download and cache foreign layers
	CacheForeignLayers bool `json:"cacheForeignLayers,omitempty"`

	// Regular expressions used to identify URLs that are allowed for foreign layer requests
	ForeignLayerURLWhitelist []string `json:"foreignLayerUrlWhitelist"`

	// Type of Docker Index
	// Example: HUB
	// Enum: [HUB REGISTRY CUSTOM]
	IndexType string `json:"indexType,omitempty"`

	// Url of Docker Index to use
	IndexURL string `json:"indexUrl,omitempty"`
}

DockerProxyAttributes docker proxy attributes

swagger:model DockerProxyAttributes

func (*DockerProxyAttributes) ContextValidate

func (m *DockerProxyAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this docker proxy attributes based on context it is used

func (*DockerProxyAttributes) MarshalBinary

func (m *DockerProxyAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerProxyAttributes) UnmarshalBinary

func (m *DockerProxyAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerProxyAttributes) Validate

func (m *DockerProxyAttributes) Validate(formats strfmt.Registry) error

Validate validates this docker proxy attributes

type DockerProxyRepositoryAPIRequest

type DockerProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// docker
	// Required: true
	Docker *DockerAttributes `json:"docker"`

	// docker proxy
	// Required: true
	DockerProxy *DockerProxyAttributes `json:"dockerProxy"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

DockerProxyRepositoryAPIRequest docker proxy repository Api request

swagger:model DockerProxyRepositoryApiRequest

func (*DockerProxyRepositoryAPIRequest) ContextValidate

func (m *DockerProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this docker proxy repository Api request based on the context it is used

func (*DockerProxyRepositoryAPIRequest) MarshalBinary

func (m *DockerProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DockerProxyRepositoryAPIRequest) UnmarshalBinary

func (m *DockerProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DockerProxyRepositoryAPIRequest) Validate

Validate validates this docker proxy repository Api request

type FileBlobStoreAPICreateRequest

type FileBlobStoreAPICreateRequest struct {

	// name
	Name string `json:"name,omitempty"`

	// The path to the blobstore contents. This can be an absolute path to anywhere on the system Nexus Repository Manager has access to or it can be a path relative to the sonatype-work directory.
	Path string `json:"path,omitempty"`

	// Settings to control the soft quota
	SoftQuota *BlobStoreAPISoftQuota `json:"softQuota,omitempty"`
}

FileBlobStoreAPICreateRequest file blob store Api create request

swagger:model FileBlobStoreApiCreateRequest

func (*FileBlobStoreAPICreateRequest) ContextValidate

func (m *FileBlobStoreAPICreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this file blob store Api create request based on the context it is used

func (*FileBlobStoreAPICreateRequest) MarshalBinary

func (m *FileBlobStoreAPICreateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FileBlobStoreAPICreateRequest) UnmarshalBinary

func (m *FileBlobStoreAPICreateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FileBlobStoreAPICreateRequest) Validate

func (m *FileBlobStoreAPICreateRequest) Validate(formats strfmt.Registry) error

Validate validates this file blob store Api create request

type FileBlobStoreAPIModel

type FileBlobStoreAPIModel struct {

	// The path to the blobstore contents. This can be an absolute path to anywhere on the system Nexus Repository Manager has access to or it can be a path relative to the sonatype-work directory.
	Path string `json:"path,omitempty"`

	// Settings to control the soft quota
	SoftQuota *BlobStoreAPISoftQuota `json:"softQuota,omitempty"`
}

FileBlobStoreAPIModel file blob store Api model

swagger:model FileBlobStoreApiModel

func (*FileBlobStoreAPIModel) ContextValidate

func (m *FileBlobStoreAPIModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this file blob store Api model based on the context it is used

func (*FileBlobStoreAPIModel) MarshalBinary

func (m *FileBlobStoreAPIModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FileBlobStoreAPIModel) UnmarshalBinary

func (m *FileBlobStoreAPIModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FileBlobStoreAPIModel) Validate

func (m *FileBlobStoreAPIModel) Validate(formats strfmt.Registry) error

Validate validates this file blob store Api model

type FileBlobStoreAPIUpdateRequest

type FileBlobStoreAPIUpdateRequest struct {

	// The path to the blobstore contents. This can be an absolute path to anywhere on the system Nexus Repository Manager has access to or it can be a path relative to the sonatype-work directory.
	Path string `json:"path,omitempty"`

	// Settings to control the soft quota
	SoftQuota *BlobStoreAPISoftQuota `json:"softQuota,omitempty"`
}

FileBlobStoreAPIUpdateRequest file blob store Api update request

swagger:model FileBlobStoreApiUpdateRequest

func (*FileBlobStoreAPIUpdateRequest) ContextValidate

func (m *FileBlobStoreAPIUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this file blob store Api update request based on the context it is used

func (*FileBlobStoreAPIUpdateRequest) MarshalBinary

func (m *FileBlobStoreAPIUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FileBlobStoreAPIUpdateRequest) UnmarshalBinary

func (m *FileBlobStoreAPIUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FileBlobStoreAPIUpdateRequest) Validate

func (m *FileBlobStoreAPIUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this file blob store Api update request

type GenericBlobStoreAPIResponse

type GenericBlobStoreAPIResponse struct {

	// available space in bytes
	AvailableSpaceInBytes int64 `json:"availableSpaceInBytes,omitempty"`

	// blob count
	BlobCount int64 `json:"blobCount,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// Settings to control the soft quota
	SoftQuota *BlobStoreAPISoftQuota `json:"softQuota,omitempty"`

	// total size in bytes
	TotalSizeInBytes int64 `json:"totalSizeInBytes,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// unavailable
	Unavailable bool `json:"unavailable,omitempty"`
}

GenericBlobStoreAPIResponse generic blob store Api response

swagger:model GenericBlobStoreApiResponse

func (*GenericBlobStoreAPIResponse) ContextValidate

func (m *GenericBlobStoreAPIResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this generic blob store Api response based on the context it is used

func (*GenericBlobStoreAPIResponse) MarshalBinary

func (m *GenericBlobStoreAPIResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GenericBlobStoreAPIResponse) UnmarshalBinary

func (m *GenericBlobStoreAPIResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GenericBlobStoreAPIResponse) Validate

func (m *GenericBlobStoreAPIResponse) Validate(formats strfmt.Registry) error

Validate validates this generic blob store Api response

type GitLfsHostedRepositoryAPIRequest

type GitLfsHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

GitLfsHostedRepositoryAPIRequest git lfs hosted repository Api request

swagger:model GitLfsHostedRepositoryApiRequest

func (*GitLfsHostedRepositoryAPIRequest) ContextValidate

func (m *GitLfsHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this git lfs hosted repository Api request based on the context it is used

func (*GitLfsHostedRepositoryAPIRequest) MarshalBinary

func (m *GitLfsHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GitLfsHostedRepositoryAPIRequest) UnmarshalBinary

func (m *GitLfsHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GitLfsHostedRepositoryAPIRequest) Validate

Validate validates this git lfs hosted repository Api request

type GolangGroupRepositoryAPIRequest

type GolangGroupRepositoryAPIRequest struct {

	// group
	// Required: true
	Group *GroupAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

GolangGroupRepositoryAPIRequest golang group repository Api request

swagger:model GolangGroupRepositoryApiRequest

func (*GolangGroupRepositoryAPIRequest) ContextValidate

func (m *GolangGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this golang group repository Api request based on the context it is used

func (*GolangGroupRepositoryAPIRequest) MarshalBinary

func (m *GolangGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GolangGroupRepositoryAPIRequest) UnmarshalBinary

func (m *GolangGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GolangGroupRepositoryAPIRequest) Validate

Validate validates this golang group repository Api request

type GolangProxyRepositoryAPIRequest

type GolangProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

GolangProxyRepositoryAPIRequest golang proxy repository Api request

swagger:model GolangProxyRepositoryApiRequest

func (*GolangProxyRepositoryAPIRequest) ContextValidate

func (m *GolangProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this golang proxy repository Api request based on the context it is used

func (*GolangProxyRepositoryAPIRequest) MarshalBinary

func (m *GolangProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GolangProxyRepositoryAPIRequest) UnmarshalBinary

func (m *GolangProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GolangProxyRepositoryAPIRequest) Validate

Validate validates this golang proxy repository Api request

type GroupAttributes

type GroupAttributes struct {

	// Member repositories' names
	MemberNames []string `json:"memberNames"`
}

GroupAttributes group attributes

swagger:model GroupAttributes

func (*GroupAttributes) ContextValidate

func (m *GroupAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this group attributes based on context it is used

func (*GroupAttributes) MarshalBinary

func (m *GroupAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GroupAttributes) UnmarshalBinary

func (m *GroupAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GroupAttributes) Validate

func (m *GroupAttributes) Validate(formats strfmt.Registry) error

Validate validates this group attributes

type GroupDeployAttributes

type GroupDeployAttributes struct {

	// Member repositories' names
	MemberNames []string `json:"memberNames"`

	// Pro-only: This field is for the Group Deployment feature available in NXRM Pro.
	WritableMember string `json:"writableMember,omitempty"`
}

GroupDeployAttributes group deploy attributes

swagger:model GroupDeployAttributes

func (*GroupDeployAttributes) ContextValidate

func (m *GroupDeployAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this group deploy attributes based on context it is used

func (*GroupDeployAttributes) MarshalBinary

func (m *GroupDeployAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GroupDeployAttributes) UnmarshalBinary

func (m *GroupDeployAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GroupDeployAttributes) Validate

func (m *GroupDeployAttributes) Validate(formats strfmt.Registry) error

Validate validates this group deploy attributes

type HTTPClientAttributes

type HTTPClientAttributes struct {

	// authentication
	Authentication *HTTPClientConnectionAuthenticationAttributes `json:"authentication,omitempty"`

	// Whether to auto-block outbound connections if remote peer is detected as unreachable/unresponsive
	// Example: true
	// Required: true
	AutoBlock *bool `json:"autoBlock"`

	// Whether to block outbound connections on the repository
	// Example: false
	// Required: true
	Blocked *bool `json:"blocked"`

	// connection
	Connection *HTTPClientConnectionAttributes `json:"connection,omitempty"`
}

HTTPClientAttributes Http client attributes

swagger:model HttpClientAttributes

func (*HTTPClientAttributes) ContextValidate

func (m *HTTPClientAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Http client attributes based on the context it is used

func (*HTTPClientAttributes) MarshalBinary

func (m *HTTPClientAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HTTPClientAttributes) UnmarshalBinary

func (m *HTTPClientAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HTTPClientAttributes) Validate

func (m *HTTPClientAttributes) Validate(formats strfmt.Registry) error

Validate validates this Http client attributes

type HTTPClientAttributesWithPreemptiveAuth

type HTTPClientAttributesWithPreemptiveAuth struct {

	// authentication
	Authentication *HTTPClientConnectionAuthenticationAttributesWithPreemptive `json:"authentication,omitempty"`

	// Whether to auto-block outbound connections if remote peer is detected as unreachable/unresponsive
	// Example: true
	// Required: true
	AutoBlock *bool `json:"autoBlock"`

	// Whether to block outbound connections on the repository
	// Example: false
	// Required: true
	Blocked *bool `json:"blocked"`

	// connection
	Connection *HTTPClientConnectionAttributes `json:"connection,omitempty"`
}

HTTPClientAttributesWithPreemptiveAuth Http client attributes with preemptive auth

swagger:model HttpClientAttributesWithPreemptiveAuth

func (*HTTPClientAttributesWithPreemptiveAuth) ContextValidate

ContextValidate validate this Http client attributes with preemptive auth based on the context it is used

func (*HTTPClientAttributesWithPreemptiveAuth) MarshalBinary

func (m *HTTPClientAttributesWithPreemptiveAuth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HTTPClientAttributesWithPreemptiveAuth) UnmarshalBinary

func (m *HTTPClientAttributesWithPreemptiveAuth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HTTPClientAttributesWithPreemptiveAuth) Validate

Validate validates this Http client attributes with preemptive auth

type HTTPClientConnectionAttributes

type HTTPClientConnectionAttributes struct {

	// Whether to enable redirects to the same location (may be required by some servers)
	// Example: false
	EnableCircularRedirects bool `json:"enableCircularRedirects,omitempty"`

	// Whether to allow cookies to be stored and used
	// Example: false
	EnableCookies bool `json:"enableCookies,omitempty"`

	// Total retries if the initial connection attempt suffers a timeout
	// Example: 0
	// Maximum: 10
	// Minimum: 0
	Retries *int32 `json:"retries,omitempty"`

	// Seconds to wait for activity before stopping and retrying the connection
	// Example: 60
	// Maximum: 3600
	// Minimum: 1
	Timeout int32 `json:"timeout,omitempty"`

	// Use certificates stored in the Nexus Repository Manager truststore to connect to external systems
	// Example: false
	UseTrustStore bool `json:"useTrustStore,omitempty"`

	// Custom fragment to append to User-Agent header in HTTP requests
	UserAgentSuffix string `json:"userAgentSuffix,omitempty"`
}

HTTPClientConnectionAttributes Http client connection attributes

swagger:model HttpClientConnectionAttributes

func (*HTTPClientConnectionAttributes) ContextValidate

func (m *HTTPClientConnectionAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Http client connection attributes based on context it is used

func (*HTTPClientConnectionAttributes) MarshalBinary

func (m *HTTPClientConnectionAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HTTPClientConnectionAttributes) UnmarshalBinary

func (m *HTTPClientConnectionAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HTTPClientConnectionAttributes) Validate

func (m *HTTPClientConnectionAttributes) Validate(formats strfmt.Registry) error

Validate validates this Http client connection attributes

type HTTPClientConnectionAuthenticationAttributes

type HTTPClientConnectionAuthenticationAttributes struct {

	// ntlm domain
	NtlmDomain string `json:"ntlmDomain,omitempty"`

	// ntlm host
	NtlmHost string `json:"ntlmHost,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// Authentication type
	// Enum: [username ntlm]
	Type string `json:"type,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

HTTPClientConnectionAuthenticationAttributes Http client connection authentication attributes

swagger:model HttpClientConnectionAuthenticationAttributes

func (*HTTPClientConnectionAuthenticationAttributes) ContextValidate

ContextValidate validates this Http client connection authentication attributes based on context it is used

func (*HTTPClientConnectionAuthenticationAttributes) MarshalBinary

MarshalBinary interface implementation

func (*HTTPClientConnectionAuthenticationAttributes) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HTTPClientConnectionAuthenticationAttributes) Validate

Validate validates this Http client connection authentication attributes

type HTTPClientConnectionAuthenticationAttributesWithPreemptive

type HTTPClientConnectionAuthenticationAttributesWithPreemptive struct {

	// ntlm domain
	NtlmDomain string `json:"ntlmDomain,omitempty"`

	// ntlm host
	NtlmHost string `json:"ntlmHost,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// Whether to use pre-emptive authentication. Use with caution. Defaults to false.
	// Example: false
	Preemptive bool `json:"preemptive,omitempty"`

	// Authentication type
	// Enum: [username ntlm]
	Type string `json:"type,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

HTTPClientConnectionAuthenticationAttributesWithPreemptive Http client connection authentication attributes with preemptive

swagger:model HttpClientConnectionAuthenticationAttributesWithPreemptive

func (*HTTPClientConnectionAuthenticationAttributesWithPreemptive) ContextValidate

ContextValidate validates this Http client connection authentication attributes with preemptive based on context it is used

func (*HTTPClientConnectionAuthenticationAttributesWithPreemptive) MarshalBinary

MarshalBinary interface implementation

func (*HTTPClientConnectionAuthenticationAttributesWithPreemptive) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HTTPClientConnectionAuthenticationAttributesWithPreemptive) Validate

Validate validates this Http client connection authentication attributes with preemptive

type HelmHostedRepositoryAPIRequest

type HelmHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

HelmHostedRepositoryAPIRequest helm hosted repository Api request

swagger:model HelmHostedRepositoryApiRequest

func (*HelmHostedRepositoryAPIRequest) ContextValidate

func (m *HelmHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this helm hosted repository Api request based on the context it is used

func (*HelmHostedRepositoryAPIRequest) MarshalBinary

func (m *HelmHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelmHostedRepositoryAPIRequest) UnmarshalBinary

func (m *HelmHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelmHostedRepositoryAPIRequest) Validate

func (m *HelmHostedRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this helm hosted repository Api request

type HelmProxyRepositoryAPIRequest

type HelmProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

HelmProxyRepositoryAPIRequest helm proxy repository Api request

swagger:model HelmProxyRepositoryApiRequest

func (*HelmProxyRepositoryAPIRequest) ContextValidate

func (m *HelmProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this helm proxy repository Api request based on the context it is used

func (*HelmProxyRepositoryAPIRequest) MarshalBinary

func (m *HelmProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelmProxyRepositoryAPIRequest) UnmarshalBinary

func (m *HelmProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelmProxyRepositoryAPIRequest) Validate

func (m *HelmProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this helm proxy repository Api request

type HostedStorageAttributes

type HostedStorageAttributes struct {

	// Blob store used to store repository contents
	// Example: default
	BlobStoreName string `json:"blobStoreName,omitempty"`

	// Whether to validate uploaded content's MIME type appropriate for the repository format
	// Example: true
	// Required: true
	StrictContentTypeValidation *bool `json:"strictContentTypeValidation"`

	// Controls if deployments of and updates to assets are allowed
	// Example: allow_once
	// Required: true
	// Enum: [allow allow_once deny]
	WritePolicy *string `json:"writePolicy"`
}

HostedStorageAttributes hosted storage attributes

swagger:model HostedStorageAttributes

func (*HostedStorageAttributes) ContextValidate

func (m *HostedStorageAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hosted storage attributes based on context it is used

func (*HostedStorageAttributes) MarshalBinary

func (m *HostedStorageAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HostedStorageAttributes) UnmarshalBinary

func (m *HostedStorageAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HostedStorageAttributes) Validate

func (m *HostedStorageAttributes) Validate(formats strfmt.Registry) error

Validate validates this hosted storage attributes

type InputStream

type InputStream interface{}

InputStream input stream

swagger:model InputStream

type IqConnectionVerificationXo

type IqConnectionVerificationXo struct {

	// reason
	Reason string `json:"reason,omitempty"`

	// success
	Success bool `json:"success,omitempty"`
}

IqConnectionVerificationXo iq connection verification xo

swagger:model IqConnectionVerificationXo

func (*IqConnectionVerificationXo) ContextValidate

func (m *IqConnectionVerificationXo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this iq connection verification xo based on context it is used

func (*IqConnectionVerificationXo) MarshalBinary

func (m *IqConnectionVerificationXo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IqConnectionVerificationXo) UnmarshalBinary

func (m *IqConnectionVerificationXo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IqConnectionVerificationXo) Validate

func (m *IqConnectionVerificationXo) Validate(formats strfmt.Registry) error

Validate validates this iq connection verification xo

type IqConnectionXo

type IqConnectionXo struct {

	// Authentication method
	// Required: true
	// Enum: [USER PKI]
	AuthenticationType *string `json:"authenticationType"`

	// Whether to use IQ Server
	Enabled bool `json:"enabled,omitempty"`

	// Credentials for the IQ Server User
	Password string `json:"password,omitempty"`

	// Additional properties to configure for IQ Server
	Properties string `json:"properties,omitempty"`

	// Show IQ Server link in Browse menu when server is enabled
	ShowLink bool `json:"showLink,omitempty"`

	// Seconds to wait for activity before stopping and retrying the connection. Leave blank to use the globally defined HTTP timeout.
	// Maximum: 3600
	// Minimum: 1
	TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`

	// The address of your IQ Server
	URL string `json:"url,omitempty"`

	// Use certificates stored in the Nexus Repository Manager truststore to connect to IQ Server
	UseTrustStoreForURL bool `json:"useTrustStoreForUrl,omitempty"`

	// User with access to IQ Server
	Username string `json:"username,omitempty"`
}

IqConnectionXo iq connection xo

swagger:model IqConnectionXo

func (*IqConnectionXo) ContextValidate

func (m *IqConnectionXo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this iq connection xo based on context it is used

func (*IqConnectionXo) MarshalBinary

func (m *IqConnectionXo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IqConnectionXo) UnmarshalBinary

func (m *IqConnectionXo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IqConnectionXo) Validate

func (m *IqConnectionXo) Validate(formats strfmt.Registry) error

Validate validates this iq connection xo

type MavenAttributes

type MavenAttributes struct {

	// Content Disposition
	// Example: ATTACHMENT
	// Enum: [INLINE ATTACHMENT]
	ContentDisposition string `json:"contentDisposition,omitempty"`

	// Validate that all paths are maven artifact or metadata paths
	// Example: STRICT
	// Enum: [STRICT PERMISSIVE]
	LayoutPolicy string `json:"layoutPolicy,omitempty"`

	// What type of artifacts does this repository store?
	// Example: MIXED
	// Enum: [RELEASE SNAPSHOT MIXED]
	VersionPolicy string `json:"versionPolicy,omitempty"`
}

MavenAttributes maven attributes

swagger:model MavenAttributes

func (*MavenAttributes) ContextValidate

func (m *MavenAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this maven attributes based on context it is used

func (*MavenAttributes) MarshalBinary

func (m *MavenAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MavenAttributes) UnmarshalBinary

func (m *MavenAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MavenAttributes) Validate

func (m *MavenAttributes) Validate(formats strfmt.Registry) error

Validate validates this maven attributes

type MavenGroupRepositoryAPIRequest

type MavenGroupRepositoryAPIRequest struct {

	// group
	// Required: true
	Group *GroupAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

MavenGroupRepositoryAPIRequest maven group repository Api request

swagger:model MavenGroupRepositoryApiRequest

func (*MavenGroupRepositoryAPIRequest) ContextValidate

func (m *MavenGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this maven group repository Api request based on the context it is used

func (*MavenGroupRepositoryAPIRequest) MarshalBinary

func (m *MavenGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MavenGroupRepositoryAPIRequest) UnmarshalBinary

func (m *MavenGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MavenGroupRepositoryAPIRequest) Validate

func (m *MavenGroupRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this maven group repository Api request

type MavenHostedAPIRepository

type MavenHostedAPIRepository struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// maven
	// Required: true
	Maven *MavenAttributes `json:"maven"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

MavenHostedAPIRepository maven hosted Api repository

swagger:model MavenHostedApiRepository

func (*MavenHostedAPIRepository) ContextValidate

func (m *MavenHostedAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this maven hosted Api repository based on the context it is used

func (*MavenHostedAPIRepository) MarshalBinary

func (m *MavenHostedAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MavenHostedAPIRepository) UnmarshalBinary

func (m *MavenHostedAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MavenHostedAPIRepository) Validate

func (m *MavenHostedAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this maven hosted Api repository

type MavenHostedRepositoryAPIRequest

type MavenHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// maven
	// Required: true
	Maven *MavenAttributes `json:"maven"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

MavenHostedRepositoryAPIRequest maven hosted repository Api request

swagger:model MavenHostedRepositoryApiRequest

func (*MavenHostedRepositoryAPIRequest) ContextValidate

func (m *MavenHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this maven hosted repository Api request based on the context it is used

func (*MavenHostedRepositoryAPIRequest) MarshalBinary

func (m *MavenHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MavenHostedRepositoryAPIRequest) UnmarshalBinary

func (m *MavenHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MavenHostedRepositoryAPIRequest) Validate

Validate validates this maven hosted repository Api request

type MavenProxyAPIRepository

type MavenProxyAPIRepository struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// maven
	// Required: true
	Maven *MavenAttributes `json:"maven"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// The name of the routing rule assigned to this repository
	RoutingRuleName string `json:"routingRuleName,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

MavenProxyAPIRepository maven proxy Api repository

swagger:model MavenProxyApiRepository

func (*MavenProxyAPIRepository) ContextValidate

func (m *MavenProxyAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this maven proxy Api repository based on the context it is used

func (*MavenProxyAPIRepository) MarshalBinary

func (m *MavenProxyAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MavenProxyAPIRepository) UnmarshalBinary

func (m *MavenProxyAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MavenProxyAPIRepository) Validate

func (m *MavenProxyAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this maven proxy Api repository

type MavenProxyRepositoryAPIRequest

type MavenProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributesWithPreemptiveAuth `json:"httpClient"`

	// maven
	// Required: true
	Maven *MavenAttributes `json:"maven"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

MavenProxyRepositoryAPIRequest maven proxy repository Api request

swagger:model MavenProxyRepositoryApiRequest

func (*MavenProxyRepositoryAPIRequest) ContextValidate

func (m *MavenProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this maven proxy repository Api request based on the context it is used

func (*MavenProxyRepositoryAPIRequest) MarshalBinary

func (m *MavenProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MavenProxyRepositoryAPIRequest) UnmarshalBinary

func (m *MavenProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MavenProxyRepositoryAPIRequest) Validate

func (m *MavenProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this maven proxy repository Api request

type NegativeCacheAttributes

type NegativeCacheAttributes struct {

	// Whether to cache responses for content not present in the proxied repository
	// Example: true
	// Required: true
	Enabled *bool `json:"enabled"`

	// How long to cache the fact that a file was not found in the repository (in minutes)
	// Example: 1440
	// Required: true
	TimeToLive *int32 `json:"timeToLive"`
}

NegativeCacheAttributes negative cache attributes

swagger:model NegativeCacheAttributes

func (*NegativeCacheAttributes) ContextValidate

func (m *NegativeCacheAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this negative cache attributes based on context it is used

func (*NegativeCacheAttributes) MarshalBinary

func (m *NegativeCacheAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NegativeCacheAttributes) UnmarshalBinary

func (m *NegativeCacheAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NegativeCacheAttributes) Validate

func (m *NegativeCacheAttributes) Validate(formats strfmt.Registry) error

Validate validates this negative cache attributes

type NpmAttributes

type NpmAttributes struct {

	// Remove Non-Cataloged Versions
	// Example: true
	// Required: true
	RemoveNonCataloged *bool `json:"removeNonCataloged"`

	// Remove Quarantined Versions
	// Example: true
	// Required: true
	RemoveQuarantined *bool `json:"removeQuarantined"`
}

NpmAttributes npm attributes

swagger:model NpmAttributes

func (*NpmAttributes) ContextValidate

func (m *NpmAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this npm attributes based on context it is used

func (*NpmAttributes) MarshalBinary

func (m *NpmAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NpmAttributes) UnmarshalBinary

func (m *NpmAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NpmAttributes) Validate

func (m *NpmAttributes) Validate(formats strfmt.Registry) error

Validate validates this npm attributes

type NpmGroupRepositoryAPIRequest

type NpmGroupRepositoryAPIRequest struct {

	// group
	// Required: true
	Group *GroupDeployAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

NpmGroupRepositoryAPIRequest npm group repository Api request

swagger:model NpmGroupRepositoryApiRequest

func (*NpmGroupRepositoryAPIRequest) ContextValidate

func (m *NpmGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this npm group repository Api request based on the context it is used

func (*NpmGroupRepositoryAPIRequest) MarshalBinary

func (m *NpmGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NpmGroupRepositoryAPIRequest) UnmarshalBinary

func (m *NpmGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NpmGroupRepositoryAPIRequest) Validate

func (m *NpmGroupRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this npm group repository Api request

type NpmHostedRepositoryAPIRequest

type NpmHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

NpmHostedRepositoryAPIRequest npm hosted repository Api request

swagger:model NpmHostedRepositoryApiRequest

func (*NpmHostedRepositoryAPIRequest) ContextValidate

func (m *NpmHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this npm hosted repository Api request based on the context it is used

func (*NpmHostedRepositoryAPIRequest) MarshalBinary

func (m *NpmHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NpmHostedRepositoryAPIRequest) UnmarshalBinary

func (m *NpmHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NpmHostedRepositoryAPIRequest) Validate

func (m *NpmHostedRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this npm hosted repository Api request

type NpmProxyAPIRepository

type NpmProxyAPIRepository struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// npm
	Npm *NpmAttributes `json:"npm,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// The name of the routing rule assigned to this repository
	RoutingRuleName string `json:"routingRuleName,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

NpmProxyAPIRepository npm proxy Api repository

swagger:model NpmProxyApiRepository

func (*NpmProxyAPIRepository) ContextValidate

func (m *NpmProxyAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this npm proxy Api repository based on the context it is used

func (*NpmProxyAPIRepository) MarshalBinary

func (m *NpmProxyAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NpmProxyAPIRepository) UnmarshalBinary

func (m *NpmProxyAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NpmProxyAPIRepository) Validate

func (m *NpmProxyAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this npm proxy Api repository

type NpmProxyRepositoryAPIRequest

type NpmProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// npm
	Npm *NpmAttributes `json:"npm,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

NpmProxyRepositoryAPIRequest npm proxy repository Api request

swagger:model NpmProxyRepositoryApiRequest

func (*NpmProxyRepositoryAPIRequest) ContextValidate

func (m *NpmProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this npm proxy repository Api request based on the context it is used

func (*NpmProxyRepositoryAPIRequest) MarshalBinary

func (m *NpmProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NpmProxyRepositoryAPIRequest) UnmarshalBinary

func (m *NpmProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NpmProxyRepositoryAPIRequest) Validate

func (m *NpmProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this npm proxy repository Api request

type NugetAttributes

type NugetAttributes struct {

	// Nuget protocol version
	// Example: V3
	// Enum: [V2 V3]
	NugetVersion string `json:"nugetVersion,omitempty"`

	// How long to cache query results from the proxied repository (in seconds)
	// Example: 3600
	QueryCacheItemMaxAge int32 `json:"queryCacheItemMaxAge,omitempty"`
}

NugetAttributes nuget attributes

swagger:model NugetAttributes

func (*NugetAttributes) ContextValidate

func (m *NugetAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nuget attributes based on context it is used

func (*NugetAttributes) MarshalBinary

func (m *NugetAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NugetAttributes) UnmarshalBinary

func (m *NugetAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NugetAttributes) Validate

func (m *NugetAttributes) Validate(formats strfmt.Registry) error

Validate validates this nuget attributes

type NugetGroupRepositoryAPIRequest

type NugetGroupRepositoryAPIRequest struct {

	// group
	// Required: true
	Group *GroupAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

NugetGroupRepositoryAPIRequest nuget group repository Api request

swagger:model NugetGroupRepositoryApiRequest

func (*NugetGroupRepositoryAPIRequest) ContextValidate

func (m *NugetGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nuget group repository Api request based on the context it is used

func (*NugetGroupRepositoryAPIRequest) MarshalBinary

func (m *NugetGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NugetGroupRepositoryAPIRequest) UnmarshalBinary

func (m *NugetGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NugetGroupRepositoryAPIRequest) Validate

func (m *NugetGroupRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this nuget group repository Api request

type NugetHostedRepositoryAPIRequest

type NugetHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

NugetHostedRepositoryAPIRequest nuget hosted repository Api request

swagger:model NugetHostedRepositoryApiRequest

func (*NugetHostedRepositoryAPIRequest) ContextValidate

func (m *NugetHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nuget hosted repository Api request based on the context it is used

func (*NugetHostedRepositoryAPIRequest) MarshalBinary

func (m *NugetHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NugetHostedRepositoryAPIRequest) UnmarshalBinary

func (m *NugetHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NugetHostedRepositoryAPIRequest) Validate

Validate validates this nuget hosted repository Api request

type NugetProxyAPIRepository

type NugetProxyAPIRepository struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// nuget proxy
	// Required: true
	NugetProxy *NugetAttributes `json:"nugetProxy"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// The name of the routing rule assigned to this repository
	RoutingRuleName string `json:"routingRuleName,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

NugetProxyAPIRepository nuget proxy Api repository

swagger:model NugetProxyApiRepository

func (*NugetProxyAPIRepository) ContextValidate

func (m *NugetProxyAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nuget proxy Api repository based on the context it is used

func (*NugetProxyAPIRepository) MarshalBinary

func (m *NugetProxyAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NugetProxyAPIRepository) UnmarshalBinary

func (m *NugetProxyAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NugetProxyAPIRepository) Validate

func (m *NugetProxyAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this nuget proxy Api repository

type NugetProxyRepositoryAPIRequest

type NugetProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// nuget proxy
	// Required: true
	NugetProxy *NugetAttributes `json:"nugetProxy"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

NugetProxyRepositoryAPIRequest nuget proxy repository Api request

swagger:model NugetProxyRepositoryApiRequest

func (*NugetProxyRepositoryAPIRequest) ContextValidate

func (m *NugetProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nuget proxy repository Api request based on the context it is used

func (*NugetProxyRepositoryAPIRequest) MarshalBinary

func (m *NugetProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NugetProxyRepositoryAPIRequest) UnmarshalBinary

func (m *NugetProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NugetProxyRepositoryAPIRequest) Validate

func (m *NugetProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this nuget proxy repository Api request

type P2ProxyRepositoryAPIRequest

type P2ProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

P2ProxyRepositoryAPIRequest p2 proxy repository Api request

swagger:model P2ProxyRepositoryApiRequest

func (*P2ProxyRepositoryAPIRequest) ContextValidate

func (m *P2ProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p2 proxy repository Api request based on the context it is used

func (*P2ProxyRepositoryAPIRequest) MarshalBinary

func (m *P2ProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*P2ProxyRepositoryAPIRequest) UnmarshalBinary

func (m *P2ProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*P2ProxyRepositoryAPIRequest) Validate

func (m *P2ProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this p2 proxy repository Api request

type Page

type Page struct {

	// continuation token
	ContinuationToken string `json:"continuationToken,omitempty"`

	// items
	Items []interface{} `json:"items"`
}

Page page

swagger:model Page

func (*Page) ContextValidate

func (m *Page) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this page based on context it is used

func (*Page) MarshalBinary

func (m *Page) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Page) UnmarshalBinary

func (m *Page) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Page) Validate

func (m *Page) Validate(formats strfmt.Registry) error

Validate validates this page

type PageAssetXO

type PageAssetXO struct {

	// continuation token
	ContinuationToken string `json:"continuationToken,omitempty"`

	// items
	Items []*AssetXO `json:"items"`
}

PageAssetXO page asset x o

swagger:model PageAssetXO

func (*PageAssetXO) ContextValidate

func (m *PageAssetXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page asset x o based on the context it is used

func (*PageAssetXO) MarshalBinary

func (m *PageAssetXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageAssetXO) UnmarshalBinary

func (m *PageAssetXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageAssetXO) Validate

func (m *PageAssetXO) Validate(formats strfmt.Registry) error

Validate validates this page asset x o

type PageComponentXO

type PageComponentXO struct {

	// continuation token
	ContinuationToken string `json:"continuationToken,omitempty"`

	// items
	Items []*ComponentXO `json:"items"`
}

PageComponentXO page component x o

swagger:model PageComponentXO

func (*PageComponentXO) ContextValidate

func (m *PageComponentXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page component x o based on the context it is used

func (*PageComponentXO) MarshalBinary

func (m *PageComponentXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageComponentXO) UnmarshalBinary

func (m *PageComponentXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageComponentXO) Validate

func (m *PageComponentXO) Validate(formats strfmt.Registry) error

Validate validates this page component x o

type PageTaskXO

type PageTaskXO struct {

	// continuation token
	ContinuationToken string `json:"continuationToken,omitempty"`

	// items
	Items []*TaskXO `json:"items"`
}

PageTaskXO page task x o

swagger:model PageTaskXO

func (*PageTaskXO) ContextValidate

func (m *PageTaskXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this page task x o based on the context it is used

func (*PageTaskXO) MarshalBinary

func (m *PageTaskXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PageTaskXO) UnmarshalBinary

func (m *PageTaskXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PageTaskXO) Validate

func (m *PageTaskXO) Validate(formats strfmt.Registry) error

Validate validates this page task x o

type ProxyAttributes

type ProxyAttributes struct {

	// How long to cache artifacts before rechecking the remote repository (in minutes)
	// Example: 1440
	// Required: true
	ContentMaxAge *int32 `json:"contentMaxAge"`

	// How long to cache metadata before rechecking the remote repository (in minutes)
	// Example: 1440
	// Required: true
	MetadataMaxAge *int32 `json:"metadataMaxAge"`

	// Location of the remote repository being proxied
	// Example: https://remote.repository.com
	RemoteURL string `json:"remoteUrl,omitempty"`
}

ProxyAttributes proxy attributes

swagger:model ProxyAttributes

func (*ProxyAttributes) ContextValidate

func (m *ProxyAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this proxy attributes based on context it is used

func (*ProxyAttributes) MarshalBinary

func (m *ProxyAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxyAttributes) UnmarshalBinary

func (m *ProxyAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxyAttributes) Validate

func (m *ProxyAttributes) Validate(formats strfmt.Registry) error

Validate validates this proxy attributes

type PypiGroupRepositoryAPIRequest

type PypiGroupRepositoryAPIRequest struct {

	// group
	// Required: true
	Group *GroupAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

PypiGroupRepositoryAPIRequest pypi group repository Api request

swagger:model PypiGroupRepositoryApiRequest

func (*PypiGroupRepositoryAPIRequest) ContextValidate

func (m *PypiGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pypi group repository Api request based on the context it is used

func (*PypiGroupRepositoryAPIRequest) MarshalBinary

func (m *PypiGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PypiGroupRepositoryAPIRequest) UnmarshalBinary

func (m *PypiGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PypiGroupRepositoryAPIRequest) Validate

func (m *PypiGroupRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this pypi group repository Api request

type PypiHostedRepositoryAPIRequest

type PypiHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

PypiHostedRepositoryAPIRequest pypi hosted repository Api request

swagger:model PypiHostedRepositoryApiRequest

func (*PypiHostedRepositoryAPIRequest) ContextValidate

func (m *PypiHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pypi hosted repository Api request based on the context it is used

func (*PypiHostedRepositoryAPIRequest) MarshalBinary

func (m *PypiHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PypiHostedRepositoryAPIRequest) UnmarshalBinary

func (m *PypiHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PypiHostedRepositoryAPIRequest) Validate

func (m *PypiHostedRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this pypi hosted repository Api request

type PypiProxyRepositoryAPIRequest

type PypiProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

PypiProxyRepositoryAPIRequest pypi proxy repository Api request

swagger:model PypiProxyRepositoryApiRequest

func (*PypiProxyRepositoryAPIRequest) ContextValidate

func (m *PypiProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pypi proxy repository Api request based on the context it is used

func (*PypiProxyRepositoryAPIRequest) MarshalBinary

func (m *PypiProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PypiProxyRepositoryAPIRequest) UnmarshalBinary

func (m *PypiProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PypiProxyRepositoryAPIRequest) Validate

func (m *PypiProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this pypi proxy repository Api request

type RGroupRepositoryAPIRequest

type RGroupRepositoryAPIRequest struct {

	// group
	// Required: true
	Group *GroupAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

RGroupRepositoryAPIRequest r group repository Api request

swagger:model RGroupRepositoryApiRequest

func (*RGroupRepositoryAPIRequest) ContextValidate

func (m *RGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this r group repository Api request based on the context it is used

func (*RGroupRepositoryAPIRequest) MarshalBinary

func (m *RGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RGroupRepositoryAPIRequest) UnmarshalBinary

func (m *RGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RGroupRepositoryAPIRequest) Validate

func (m *RGroupRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this r group repository Api request

type RHostedRepositoryAPIRequest

type RHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

RHostedRepositoryAPIRequest r hosted repository Api request

swagger:model RHostedRepositoryApiRequest

func (*RHostedRepositoryAPIRequest) ContextValidate

func (m *RHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this r hosted repository Api request based on the context it is used

func (*RHostedRepositoryAPIRequest) MarshalBinary

func (m *RHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RHostedRepositoryAPIRequest) UnmarshalBinary

func (m *RHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RHostedRepositoryAPIRequest) Validate

func (m *RHostedRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this r hosted repository Api request

type RProxyRepositoryAPIRequest

type RProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

RProxyRepositoryAPIRequest r proxy repository Api request

swagger:model RProxyRepositoryApiRequest

func (*RProxyRepositoryAPIRequest) ContextValidate

func (m *RProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this r proxy repository Api request based on the context it is used

func (*RProxyRepositoryAPIRequest) MarshalBinary

func (m *RProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RProxyRepositoryAPIRequest) UnmarshalBinary

func (m *RProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RProxyRepositoryAPIRequest) Validate

func (m *RProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this r proxy repository Api request

type RawAttributes

type RawAttributes struct {

	// Content Disposition
	// Example: ATTACHMENT
	// Enum: [INLINE ATTACHMENT]
	ContentDisposition string `json:"contentDisposition,omitempty"`
}

RawAttributes raw attributes

swagger:model RawAttributes

func (*RawAttributes) ContextValidate

func (m *RawAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this raw attributes based on context it is used

func (*RawAttributes) MarshalBinary

func (m *RawAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RawAttributes) UnmarshalBinary

func (m *RawAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RawAttributes) Validate

func (m *RawAttributes) Validate(formats strfmt.Registry) error

Validate validates this raw attributes

type RawGroupRepositoryAPIRequest

type RawGroupRepositoryAPIRequest struct {

	// group
	// Required: true
	Group *GroupAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// raw
	Raw *RawAttributes `json:"raw,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

RawGroupRepositoryAPIRequest raw group repository Api request

swagger:model RawGroupRepositoryApiRequest

func (*RawGroupRepositoryAPIRequest) ContextValidate

func (m *RawGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this raw group repository Api request based on the context it is used

func (*RawGroupRepositoryAPIRequest) MarshalBinary

func (m *RawGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RawGroupRepositoryAPIRequest) UnmarshalBinary

func (m *RawGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RawGroupRepositoryAPIRequest) Validate

func (m *RawGroupRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this raw group repository Api request

type RawHostedRepositoryAPIRequest

type RawHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// raw
	Raw *RawAttributes `json:"raw,omitempty"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

RawHostedRepositoryAPIRequest raw hosted repository Api request

swagger:model RawHostedRepositoryApiRequest

func (*RawHostedRepositoryAPIRequest) ContextValidate

func (m *RawHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this raw hosted repository Api request based on the context it is used

func (*RawHostedRepositoryAPIRequest) MarshalBinary

func (m *RawHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RawHostedRepositoryAPIRequest) UnmarshalBinary

func (m *RawHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RawHostedRepositoryAPIRequest) Validate

func (m *RawHostedRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this raw hosted repository Api request

type RawProxyRepositoryAPIRequest

type RawProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// raw
	Raw *RawAttributes `json:"raw,omitempty"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

RawProxyRepositoryAPIRequest raw proxy repository Api request

swagger:model RawProxyRepositoryApiRequest

func (*RawProxyRepositoryAPIRequest) ContextValidate

func (m *RawProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this raw proxy repository Api request based on the context it is used

func (*RawProxyRepositoryAPIRequest) MarshalBinary

func (m *RawProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RawProxyRepositoryAPIRequest) UnmarshalBinary

func (m *RawProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RawProxyRepositoryAPIRequest) Validate

func (m *RawProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this raw proxy repository Api request

type ReadLdapServerXo

type ReadLdapServerXo struct {

	// The SASL realm to bind to. Required if authScheme is CRAM_MD5 or DIGEST_MD5
	// Example: example.com
	AuthRealm string `json:"authRealm,omitempty"`

	// Authentication scheme used for connecting to LDAP server
	// Required: true
	// Enum: [NONE SIMPLE DIGEST_MD5 CRAM_MD5]
	AuthScheme *string `json:"authScheme"`

	// This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
	AuthUsername string `json:"authUsername,omitempty"`

	// How long to wait before retrying
	// Required: true
	// Minimum: 0
	ConnectionRetryDelaySeconds *int32 `json:"connectionRetryDelaySeconds"`

	// How long to wait before timeout
	// Example: 1
	// Required: true
	// Maximum: 3600
	// Minimum: 1
	ConnectionTimeoutSeconds *int32 `json:"connectionTimeoutSeconds"`

	// The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
	// Example: ou=Group
	GroupBaseDn string `json:"groupBaseDn,omitempty"`

	// This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
	// Example: cn
	// Max Length: 0
	// Min Length: 0
	GroupIDAttribute *string `json:"groupIdAttribute,omitempty"`

	// LDAP attribute containing the usernames for the group. Required if groupType is static
	// Example: memberUid
	// Max Length: 0
	// Min Length: 0
	GroupMemberAttribute *string `json:"groupMemberAttribute,omitempty"`

	// The format of user ID stored in the group member attribute. Required if groupType is static
	// Example: uid=${username},ou=people,dc=example,dc=com
	// Max Length: 0
	// Min Length: 0
	GroupMemberFormat *string `json:"groupMemberFormat,omitempty"`

	// LDAP class for group objects. Required if groupType is static
	// Example: posixGroup
	// Max Length: 0
	// Min Length: 0
	GroupObjectClass *string `json:"groupObjectClass,omitempty"`

	// Are groups located in structures below the group base DN
	GroupSubtree bool `json:"groupSubtree,omitempty"`

	// Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
	// Required: true
	// Enum: [static dynamic]
	GroupType *string `json:"groupType"`

	// LDAP server connection hostname
	// Required: true
	Host *string `json:"host"`

	// LDAP server ID
	ID string `json:"id,omitempty"`

	// Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
	LdapGroupsAsRoles bool `json:"ldapGroupsAsRoles,omitempty"`

	// How many retry attempts
	// Required: true
	// Minimum: 0
	MaxIncidentsCount *int32 `json:"maxIncidentsCount"`

	// LDAP server name
	// Required: true
	Name *string `json:"name"`

	// Order number in which the server is being used when looking for a user
	Order int32 `json:"order,omitempty"`

	// LDAP server connection port to use
	// Example: 636
	// Required: true
	Port *int32 `json:"port"`

	// LDAP server connection Protocol to use
	// Required: true
	// Enum: [ldap ldaps]
	Protocol *string `json:"protocol"`

	// LDAP location to be added to the connection URL
	// Example: dc=example,dc=com
	// Required: true
	SearchBase *string `json:"searchBase"`

	// Whether to use certificates stored in Nexus Repository Manager's truststore
	UseTrustStore bool `json:"useTrustStore,omitempty"`

	// The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
	// Example: ou=people
	UserBaseDn string `json:"userBaseDn,omitempty"`

	// This is used to find an email address given the user ID
	// Example: mail
	UserEmailAddressAttribute string `json:"userEmailAddressAttribute,omitempty"`

	// This is used to find a user given its user ID
	// Example: uid
	UserIDAttribute string `json:"userIdAttribute,omitempty"`

	// LDAP search filter to limit user search
	// Example: (|(mail=*@example.com)(uid=dom*))
	UserLdapFilter string `json:"userLdapFilter,omitempty"`

	// Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
	// Example: memberOf
	// Max Length: 0
	// Min Length: 0
	UserMemberOfAttribute *string `json:"userMemberOfAttribute,omitempty"`

	// LDAP class for user objects
	// Example: inetOrgPerson
	UserObjectClass string `json:"userObjectClass,omitempty"`

	// If this field is blank the user will be authenticated against a bind with the LDAP server
	UserPasswordAttribute string `json:"userPasswordAttribute,omitempty"`

	// This is used to find a real name given the user ID
	// Example: cn
	UserRealNameAttribute string `json:"userRealNameAttribute,omitempty"`

	// Are users located in structures below the user base DN?
	UserSubtree bool `json:"userSubtree,omitempty"`
}

ReadLdapServerXo read ldap server xo

swagger:model ReadLdapServerXo

func (*ReadLdapServerXo) ContextValidate

func (m *ReadLdapServerXo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this read ldap server xo based on context it is used

func (*ReadLdapServerXo) MarshalBinary

func (m *ReadLdapServerXo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReadLdapServerXo) UnmarshalBinary

func (m *ReadLdapServerXo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReadLdapServerXo) Validate

func (m *ReadLdapServerXo) Validate(formats strfmt.Registry) error

Validate validates this read ldap server xo

type ReadOnlyState

type ReadOnlyState struct {

	// frozen
	Frozen bool `json:"frozen,omitempty"`

	// summary reason
	SummaryReason string `json:"summaryReason,omitempty"`

	// system initiated
	SystemInitiated bool `json:"systemInitiated,omitempty"`
}

ReadOnlyState read only state

swagger:model ReadOnlyState

func (*ReadOnlyState) ContextValidate

func (m *ReadOnlyState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this read only state based on context it is used

func (*ReadOnlyState) MarshalBinary

func (m *ReadOnlyState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReadOnlyState) UnmarshalBinary

func (m *ReadOnlyState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReadOnlyState) Validate

func (m *ReadOnlyState) Validate(formats strfmt.Registry) error

Validate validates this read only state

type RealmAPIXO

type RealmAPIXO struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

RealmAPIXO realm Api x o

swagger:model RealmApiXO

func (*RealmAPIXO) ContextValidate

func (m *RealmAPIXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this realm Api x o based on context it is used

func (*RealmAPIXO) MarshalBinary

func (m *RealmAPIXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RealmAPIXO) UnmarshalBinary

func (m *RealmAPIXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RealmAPIXO) Validate

func (m *RealmAPIXO) Validate(formats strfmt.Registry) error

Validate validates this realm Api x o

type ReplicationAttributes

type ReplicationAttributes struct {

	// asset path regex
	// Read Only: true
	AssetPathRegex string `json:"assetPathRegex,omitempty"`

	// preemptive pull enabled
	// Required: true
	// Read Only: true
	PreemptivePullEnabled bool `json:"preemptivePullEnabled"`
}

ReplicationAttributes replication attributes

swagger:model ReplicationAttributes

func (*ReplicationAttributes) ContextValidate

func (m *ReplicationAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this replication attributes based on the context it is used

func (*ReplicationAttributes) MarshalBinary

func (m *ReplicationAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReplicationAttributes) UnmarshalBinary

func (m *ReplicationAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReplicationAttributes) Validate

func (m *ReplicationAttributes) Validate(formats strfmt.Registry) error

Validate validates this replication attributes

type RepositoryXO

type RepositoryXO struct {

	// attributes
	Attributes map[string]interface{} `json:"attributes,omitempty"`

	// format
	Format string `json:"format,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

RepositoryXO repository x o

swagger:model RepositoryXO

func (*RepositoryXO) ContextValidate

func (m *RepositoryXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this repository x o based on context it is used

func (*RepositoryXO) MarshalBinary

func (m *RepositoryXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RepositoryXO) UnmarshalBinary

func (m *RepositoryXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RepositoryXO) Validate

func (m *RepositoryXO) Validate(formats strfmt.Registry) error

Validate validates this repository x o

type Request

type Request struct {

	// audit log
	AuditLog bool `json:"auditLog,omitempty"`

	// configuration
	Configuration bool `json:"configuration,omitempty"`

	// jmx
	Jmx bool `json:"jmx,omitempty"`

	// limit file sizes
	LimitFileSizes bool `json:"limitFileSizes,omitempty"`

	// limit zip size
	LimitZipSize bool `json:"limitZipSize,omitempty"`

	// log
	Log bool `json:"log,omitempty"`

	// metrics
	Metrics bool `json:"metrics,omitempty"`

	// replication
	Replication bool `json:"replication,omitempty"`

	// security
	Security bool `json:"security,omitempty"`

	// system information
	SystemInformation bool `json:"systemInformation,omitempty"`

	// task log
	TaskLog bool `json:"taskLog,omitempty"`

	// thread dump
	ThreadDump bool `json:"threadDump,omitempty"`
}

Request request

swagger:model Request

func (*Request) ContextValidate

func (m *Request) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request based on context it is used

func (*Request) MarshalBinary

func (m *Request) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Request) UnmarshalBinary

func (m *Request) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Request) Validate

func (m *Request) Validate(formats strfmt.Registry) error

Validate validates this request

type Result

type Result struct {

	// details
	Details map[string]interface{} `json:"details,omitempty"`

	// duration
	Duration int64 `json:"duration,omitempty"`

	// error
	Error *Throwable `json:"error,omitempty"`

	// healthy
	Healthy bool `json:"healthy,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// time
	Time int64 `json:"time,omitempty"`

	// timestamp
	Timestamp string `json:"timestamp,omitempty"`
}

Result result

swagger:model Result

func (*Result) ContextValidate

func (m *Result) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this result based on the context it is used

func (*Result) MarshalBinary

func (m *Result) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Result) UnmarshalBinary

func (m *Result) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Result) Validate

func (m *Result) Validate(formats strfmt.Registry) error

Validate validates this result

type RoleXORequest

type RoleXORequest struct {

	// The description of this role.
	Description string `json:"description,omitempty"`

	// The id of the role.
	ID string `json:"id,omitempty"`

	// The name of the role.
	Name string `json:"name,omitempty"`

	// The list of privileges assigned to this role.
	// Unique: true
	Privileges []string `json:"privileges"`

	// The list of roles assigned to this role.
	// Unique: true
	Roles []string `json:"roles"`
}

RoleXORequest role x o request

swagger:model RoleXORequest

func (*RoleXORequest) ContextValidate

func (m *RoleXORequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this role x o request based on context it is used

func (*RoleXORequest) MarshalBinary

func (m *RoleXORequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleXORequest) UnmarshalBinary

func (m *RoleXORequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleXORequest) Validate

func (m *RoleXORequest) Validate(formats strfmt.Registry) error

Validate validates this role x o request

type RoleXOResponse

type RoleXOResponse struct {

	// The description of this role.
	Description string `json:"description,omitempty"`

	// The id of the role.
	ID string `json:"id,omitempty"`

	// The name of the role.
	Name string `json:"name,omitempty"`

	// The list of privileges assigned to this role.
	// Unique: true
	Privileges []string `json:"privileges"`

	// Indicates whether the role can be changed. The system will ignore any supplied external values.
	ReadOnly bool `json:"readOnly,omitempty"`

	// The list of roles assigned to this role.
	// Unique: true
	Roles []string `json:"roles"`

	// The user source which is the origin of this role.
	Source string `json:"source,omitempty"`
}

RoleXOResponse role x o response

swagger:model RoleXOResponse

func (*RoleXOResponse) ContextValidate

func (m *RoleXOResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this role x o response based on context it is used

func (*RoleXOResponse) MarshalBinary

func (m *RoleXOResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleXOResponse) UnmarshalBinary

func (m *RoleXOResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleXOResponse) Validate

func (m *RoleXOResponse) Validate(formats strfmt.Registry) error

Validate validates this role x o response

type RoutingRuleXO

type RoutingRuleXO struct {

	// description
	Description string `json:"description,omitempty"`

	// Regular expressions used to identify request paths that are allowed or blocked (depending on mode)
	Matchers []string `json:"matchers"`

	// Determines what should be done with requests when their path matches any of the matchers
	// Enum: [BLOCK ALLOW]
	Mode string `json:"mode,omitempty"`

	// name
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`
}

RoutingRuleXO routing rule x o

swagger:model RoutingRuleXO

func (*RoutingRuleXO) ContextValidate

func (m *RoutingRuleXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this routing rule x o based on context it is used

func (*RoutingRuleXO) MarshalBinary

func (m *RoutingRuleXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoutingRuleXO) UnmarshalBinary

func (m *RoutingRuleXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoutingRuleXO) Validate

func (m *RoutingRuleXO) Validate(formats strfmt.Registry) error

Validate validates this routing rule x o

type RubyGemsGroupRepositoryAPIRequest

type RubyGemsGroupRepositoryAPIRequest struct {

	// group
	// Required: true
	Group *GroupAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

RubyGemsGroupRepositoryAPIRequest ruby gems group repository Api request

swagger:model RubyGemsGroupRepositoryApiRequest

func (*RubyGemsGroupRepositoryAPIRequest) ContextValidate

func (m *RubyGemsGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ruby gems group repository Api request based on the context it is used

func (*RubyGemsGroupRepositoryAPIRequest) MarshalBinary

func (m *RubyGemsGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RubyGemsGroupRepositoryAPIRequest) UnmarshalBinary

func (m *RubyGemsGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RubyGemsGroupRepositoryAPIRequest) Validate

Validate validates this ruby gems group repository Api request

type RubyGemsHostedRepositoryAPIRequest

type RubyGemsHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

RubyGemsHostedRepositoryAPIRequest ruby gems hosted repository Api request

swagger:model RubyGemsHostedRepositoryApiRequest

func (*RubyGemsHostedRepositoryAPIRequest) ContextValidate

func (m *RubyGemsHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ruby gems hosted repository Api request based on the context it is used

func (*RubyGemsHostedRepositoryAPIRequest) MarshalBinary

func (m *RubyGemsHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RubyGemsHostedRepositoryAPIRequest) UnmarshalBinary

func (m *RubyGemsHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RubyGemsHostedRepositoryAPIRequest) Validate

Validate validates this ruby gems hosted repository Api request

type RubyGemsProxyRepositoryAPIRequest

type RubyGemsProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

RubyGemsProxyRepositoryAPIRequest ruby gems proxy repository Api request

swagger:model RubyGemsProxyRepositoryApiRequest

func (*RubyGemsProxyRepositoryAPIRequest) ContextValidate

func (m *RubyGemsProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ruby gems proxy repository Api request based on the context it is used

func (*RubyGemsProxyRepositoryAPIRequest) MarshalBinary

func (m *RubyGemsProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RubyGemsProxyRepositoryAPIRequest) UnmarshalBinary

func (m *RubyGemsProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RubyGemsProxyRepositoryAPIRequest) Validate

Validate validates this ruby gems proxy repository Api request

type S3BlobStoreAPIAdvancedBucketConnection

type S3BlobStoreAPIAdvancedBucketConnection struct {

	// A custom endpoint URL for third party object stores using the S3 API.
	Endpoint string `json:"endpoint,omitempty"`

	// Setting this flag will result in path-style access being used for all requests.
	ForcePathStyle bool `json:"forcePathStyle,omitempty"`

	// Setting this value will override the default connection pool size of Nexus of the s3 client for this blobstore.
	MaxConnectionPoolSize int32 `json:"maxConnectionPoolSize,omitempty"`

	// An API signature version which may be required for third party object stores using the S3 API.
	SignerType string `json:"signerType,omitempty"`
}

S3BlobStoreAPIAdvancedBucketConnection s3 blob store Api advanced bucket connection

swagger:model S3BlobStoreApiAdvancedBucketConnection

func (*S3BlobStoreAPIAdvancedBucketConnection) ContextValidate

ContextValidate validates this s3 blob store Api advanced bucket connection based on context it is used

func (*S3BlobStoreAPIAdvancedBucketConnection) MarshalBinary

func (m *S3BlobStoreAPIAdvancedBucketConnection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*S3BlobStoreAPIAdvancedBucketConnection) UnmarshalBinary

func (m *S3BlobStoreAPIAdvancedBucketConnection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*S3BlobStoreAPIAdvancedBucketConnection) Validate

Validate validates this s3 blob store Api advanced bucket connection

type S3BlobStoreAPIBucket

type S3BlobStoreAPIBucket struct {

	// How many days until deleted blobs are finally removed from the S3 bucket (-1 to disable)
	// Example: 3
	// Required: true
	Expiration *int32 `json:"expiration"`

	// The name of the S3 bucket
	// Required: true
	Name *string `json:"name"`

	// The S3 blob store (i.e S3 object) key prefix
	Prefix string `json:"prefix,omitempty"`

	// The AWS region to create a new S3 bucket in or an existing S3 bucket's region
	// Example: DEFAULT
	// Required: true
	Region *string `json:"region"`
}

S3BlobStoreAPIBucket s3 blob store Api bucket

swagger:model S3BlobStoreApiBucket

func (*S3BlobStoreAPIBucket) ContextValidate

func (m *S3BlobStoreAPIBucket) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s3 blob store Api bucket based on context it is used

func (*S3BlobStoreAPIBucket) MarshalBinary

func (m *S3BlobStoreAPIBucket) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*S3BlobStoreAPIBucket) UnmarshalBinary

func (m *S3BlobStoreAPIBucket) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*S3BlobStoreAPIBucket) Validate

func (m *S3BlobStoreAPIBucket) Validate(formats strfmt.Registry) error

Validate validates this s3 blob store Api bucket

type S3BlobStoreAPIBucketConfiguration

type S3BlobStoreAPIBucketConfiguration struct {

	// A custom endpoint URL, signer type and whether path style access is enabled
	AdvancedBucketConnection *S3BlobStoreAPIAdvancedBucketConnection `json:"advancedBucketConnection,omitempty"`

	// Details of the S3 bucket such as name and region
	// Required: true
	// Read Only: true
	Bucket *S3BlobStoreAPIBucket `json:"bucket"`

	// Security details for granting access the S3 API
	BucketSecurity *S3BlobStoreAPIBucketSecurity `json:"bucketSecurity,omitempty"`

	// The type of encryption to use if any
	// Read Only: true
	Encryption *S3BlobStoreAPIEncryption `json:"encryption,omitempty"`
}

S3BlobStoreAPIBucketConfiguration s3 blob store Api bucket configuration

swagger:model S3BlobStoreApiBucketConfiguration

func (*S3BlobStoreAPIBucketConfiguration) ContextValidate

func (m *S3BlobStoreAPIBucketConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s3 blob store Api bucket configuration based on the context it is used

func (*S3BlobStoreAPIBucketConfiguration) MarshalBinary

func (m *S3BlobStoreAPIBucketConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*S3BlobStoreAPIBucketConfiguration) UnmarshalBinary

func (m *S3BlobStoreAPIBucketConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*S3BlobStoreAPIBucketConfiguration) Validate

Validate validates this s3 blob store Api bucket configuration

type S3BlobStoreAPIBucketSecurity

type S3BlobStoreAPIBucketSecurity struct {

	// An IAM access key ID for granting access to the S3 bucket
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// An IAM role to assume in order to access the S3 bucket
	Role string `json:"role,omitempty"`

	// The secret access key associated with the specified IAM access key ID
	SecretAccessKey string `json:"secretAccessKey,omitempty"`

	// An AWS STS session token associated with temporary security credentials which grant access to the S3 bucket
	SessionToken string `json:"sessionToken,omitempty"`
}

S3BlobStoreAPIBucketSecurity s3 blob store Api bucket security

swagger:model S3BlobStoreApiBucketSecurity

func (*S3BlobStoreAPIBucketSecurity) ContextValidate

func (m *S3BlobStoreAPIBucketSecurity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s3 blob store Api bucket security based on context it is used

func (*S3BlobStoreAPIBucketSecurity) MarshalBinary

func (m *S3BlobStoreAPIBucketSecurity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*S3BlobStoreAPIBucketSecurity) UnmarshalBinary

func (m *S3BlobStoreAPIBucketSecurity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*S3BlobStoreAPIBucketSecurity) Validate

func (m *S3BlobStoreAPIBucketSecurity) Validate(formats strfmt.Registry) error

Validate validates this s3 blob store Api bucket security

type S3BlobStoreAPIEncryption

type S3BlobStoreAPIEncryption struct {

	// The encryption key.
	EncryptionKey string `json:"encryptionKey,omitempty"`

	// The type of S3 server side encryption to use.
	// Enum: [s3ManagedEncryption kmsManagedEncryption]
	EncryptionType string `json:"encryptionType,omitempty"`
}

S3BlobStoreAPIEncryption s3 blob store Api encryption

swagger:model S3BlobStoreApiEncryption

func (*S3BlobStoreAPIEncryption) ContextValidate

func (m *S3BlobStoreAPIEncryption) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s3 blob store Api encryption based on context it is used

func (*S3BlobStoreAPIEncryption) MarshalBinary

func (m *S3BlobStoreAPIEncryption) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*S3BlobStoreAPIEncryption) UnmarshalBinary

func (m *S3BlobStoreAPIEncryption) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*S3BlobStoreAPIEncryption) Validate

func (m *S3BlobStoreAPIEncryption) Validate(formats strfmt.Registry) error

Validate validates this s3 blob store Api encryption

type S3BlobStoreAPIModel

type S3BlobStoreAPIModel struct {

	// The S3 specific configuration details for the S3 object that'll contain the blob store.
	// Required: true
	BucketConfiguration *S3BlobStoreAPIBucketConfiguration `json:"bucketConfiguration"`

	// The name of the S3 blob store.
	// Example: s3
	// Required: true
	Name *string `json:"name"`

	// Settings to control the soft quota.
	SoftQuota *BlobStoreAPISoftQuota `json:"softQuota,omitempty"`

	// The blob store type.
	// Example: S3
	// Read Only: true
	Type string `json:"type,omitempty"`
}

S3BlobStoreAPIModel s3 blob store Api model

swagger:model S3BlobStoreApiModel

func (*S3BlobStoreAPIModel) ContextValidate

func (m *S3BlobStoreAPIModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s3 blob store Api model based on the context it is used

func (*S3BlobStoreAPIModel) MarshalBinary

func (m *S3BlobStoreAPIModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*S3BlobStoreAPIModel) UnmarshalBinary

func (m *S3BlobStoreAPIModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*S3BlobStoreAPIModel) Validate

func (m *S3BlobStoreAPIModel) Validate(formats strfmt.Registry) error

Validate validates this s3 blob store Api model

type ScriptResultXO

type ScriptResultXO struct {

	// name
	Name string `json:"name,omitempty"`

	// result
	Result string `json:"result,omitempty"`
}

ScriptResultXO script result x o

swagger:model ScriptResultXO

func (*ScriptResultXO) ContextValidate

func (m *ScriptResultXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this script result x o based on context it is used

func (*ScriptResultXO) MarshalBinary

func (m *ScriptResultXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScriptResultXO) UnmarshalBinary

func (m *ScriptResultXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptResultXO) Validate

func (m *ScriptResultXO) Validate(formats strfmt.Registry) error

Validate validates this script result x o

type ScriptXO

type ScriptXO struct {

	// content
	Content string `json:"content,omitempty"`

	// name
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

ScriptXO script x o

swagger:model ScriptXO

func (*ScriptXO) ContextValidate

func (m *ScriptXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this script x o based on context it is used

func (*ScriptXO) MarshalBinary

func (m *ScriptXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScriptXO) UnmarshalBinary

func (m *ScriptXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScriptXO) Validate

func (m *ScriptXO) Validate(formats strfmt.Registry) error

Validate validates this script x o

type SimpleAPIGroupDeployRepository

type SimpleAPIGroupDeployRepository struct {

	// group
	// Required: true
	// Read Only: true
	Group *GroupDeployAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Read Only: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	// Read Only: true
	Online bool `json:"online"`

	// storage
	// Required: true
	// Read Only: true
	Storage *StorageAttributes `json:"storage"`
}

SimpleAPIGroupDeployRepository simple Api group deploy repository

swagger:model SimpleApiGroupDeployRepository

func (*SimpleAPIGroupDeployRepository) ContextValidate

func (m *SimpleAPIGroupDeployRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this simple Api group deploy repository based on the context it is used

func (*SimpleAPIGroupDeployRepository) MarshalBinary

func (m *SimpleAPIGroupDeployRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SimpleAPIGroupDeployRepository) UnmarshalBinary

func (m *SimpleAPIGroupDeployRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SimpleAPIGroupDeployRepository) Validate

func (m *SimpleAPIGroupDeployRepository) Validate(formats strfmt.Registry) error

Validate validates this simple Api group deploy repository

type SimpleAPIGroupRepository

type SimpleAPIGroupRepository struct {

	// group
	// Required: true
	Group *GroupAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

SimpleAPIGroupRepository simple Api group repository

swagger:model SimpleApiGroupRepository

func (*SimpleAPIGroupRepository) ContextValidate

func (m *SimpleAPIGroupRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this simple Api group repository based on the context it is used

func (*SimpleAPIGroupRepository) MarshalBinary

func (m *SimpleAPIGroupRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SimpleAPIGroupRepository) UnmarshalBinary

func (m *SimpleAPIGroupRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SimpleAPIGroupRepository) Validate

func (m *SimpleAPIGroupRepository) Validate(formats strfmt.Registry) error

Validate validates this simple Api group repository

type SimpleAPIHostedRepository

type SimpleAPIHostedRepository struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`
}

SimpleAPIHostedRepository simple Api hosted repository

swagger:model SimpleApiHostedRepository

func (*SimpleAPIHostedRepository) ContextValidate

func (m *SimpleAPIHostedRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this simple Api hosted repository based on the context it is used

func (*SimpleAPIHostedRepository) MarshalBinary

func (m *SimpleAPIHostedRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SimpleAPIHostedRepository) UnmarshalBinary

func (m *SimpleAPIHostedRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SimpleAPIHostedRepository) Validate

func (m *SimpleAPIHostedRepository) Validate(formats strfmt.Registry) error

Validate validates this simple Api hosted repository

type SimpleAPIProxyRepository

type SimpleAPIProxyRepository struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// The name of the routing rule assigned to this repository
	RoutingRuleName string `json:"routingRuleName,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`
}

SimpleAPIProxyRepository simple Api proxy repository

swagger:model SimpleApiProxyRepository

func (*SimpleAPIProxyRepository) ContextValidate

func (m *SimpleAPIProxyRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this simple Api proxy repository based on the context it is used

func (*SimpleAPIProxyRepository) MarshalBinary

func (m *SimpleAPIProxyRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SimpleAPIProxyRepository) UnmarshalBinary

func (m *SimpleAPIProxyRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SimpleAPIProxyRepository) Validate

func (m *SimpleAPIProxyRepository) Validate(formats strfmt.Registry) error

Validate validates this simple Api proxy repository

type StackTraceElement

type StackTraceElement struct {

	// class name
	ClassName string `json:"className,omitempty"`

	// file name
	FileName string `json:"fileName,omitempty"`

	// line number
	LineNumber int32 `json:"lineNumber,omitempty"`

	// method name
	MethodName string `json:"methodName,omitempty"`

	// native method
	NativeMethod bool `json:"nativeMethod,omitempty"`
}

StackTraceElement stack trace element

swagger:model StackTraceElement

func (*StackTraceElement) ContextValidate

func (m *StackTraceElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stack trace element based on context it is used

func (*StackTraceElement) MarshalBinary

func (m *StackTraceElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackTraceElement) UnmarshalBinary

func (m *StackTraceElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackTraceElement) Validate

func (m *StackTraceElement) Validate(formats strfmt.Registry) error

Validate validates this stack trace element

type StorageAttributes

type StorageAttributes struct {

	// Blob store used to store repository contents
	// Example: default
	BlobStoreName string `json:"blobStoreName,omitempty"`

	// Whether to validate uploaded content's MIME type appropriate for the repository format
	// Example: true
	// Required: true
	StrictContentTypeValidation *bool `json:"strictContentTypeValidation"`
}

StorageAttributes storage attributes

swagger:model StorageAttributes

func (*StorageAttributes) ContextValidate

func (m *StorageAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage attributes based on context it is used

func (*StorageAttributes) MarshalBinary

func (m *StorageAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageAttributes) UnmarshalBinary

func (m *StorageAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageAttributes) Validate

func (m *StorageAttributes) Validate(formats strfmt.Registry) error

Validate validates this storage attributes

type SupportZipGeneratorRequest

type SupportZipGeneratorRequest struct {

	// audit log
	AuditLog bool `json:"auditLog,omitempty"`

	// configuration
	Configuration bool `json:"configuration,omitempty"`

	// hostname
	Hostname string `json:"hostname,omitempty"`

	// jmx
	Jmx bool `json:"jmx,omitempty"`

	// limit file sizes
	LimitFileSizes bool `json:"limitFileSizes,omitempty"`

	// limit zip size
	LimitZipSize bool `json:"limitZipSize,omitempty"`

	// log
	Log bool `json:"log,omitempty"`

	// metrics
	Metrics bool `json:"metrics,omitempty"`

	// replication
	Replication bool `json:"replication,omitempty"`

	// security
	Security bool `json:"security,omitempty"`

	// system information
	SystemInformation bool `json:"systemInformation,omitempty"`

	// task log
	TaskLog bool `json:"taskLog,omitempty"`

	// thread dump
	ThreadDump bool `json:"threadDump,omitempty"`
}

SupportZipGeneratorRequest support zip generator request

swagger:model SupportZipGeneratorRequest

func (*SupportZipGeneratorRequest) ContextValidate

func (m *SupportZipGeneratorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this support zip generator request based on context it is used

func (*SupportZipGeneratorRequest) MarshalBinary

func (m *SupportZipGeneratorRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SupportZipGeneratorRequest) UnmarshalBinary

func (m *SupportZipGeneratorRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SupportZipGeneratorRequest) Validate

func (m *SupportZipGeneratorRequest) Validate(formats strfmt.Registry) error

Validate validates this support zip generator request

type SupportZipXO

type SupportZipXO struct {

	// file
	File string `json:"file,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// size
	Size string `json:"size,omitempty"`

	// truncated
	Truncated bool `json:"truncated,omitempty"`
}

SupportZipXO support zip x o

swagger:model SupportZipXO

func (*SupportZipXO) ContextValidate

func (m *SupportZipXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this support zip x o based on context it is used

func (*SupportZipXO) MarshalBinary

func (m *SupportZipXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SupportZipXO) UnmarshalBinary

func (m *SupportZipXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SupportZipXO) Validate

func (m *SupportZipXO) Validate(formats strfmt.Registry) error

Validate validates this support zip x o

type TaskXO

type TaskXO struct {

	// current state
	CurrentState string `json:"currentState,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// last run
	// Format: date-time
	LastRun strfmt.DateTime `json:"lastRun,omitempty"`

	// last run result
	LastRunResult string `json:"lastRunResult,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// next run
	// Format: date-time
	NextRun strfmt.DateTime `json:"nextRun,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

TaskXO task x o

swagger:model TaskXO

func (*TaskXO) ContextValidate

func (m *TaskXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this task x o based on context it is used

func (*TaskXO) MarshalBinary

func (m *TaskXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskXO) UnmarshalBinary

func (m *TaskXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskXO) Validate

func (m *TaskXO) Validate(formats strfmt.Registry) error

Validate validates this task x o

type Throwable

type Throwable struct {

	// cause
	Cause *Throwable `json:"cause,omitempty"`

	// localized message
	LocalizedMessage string `json:"localizedMessage,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// stack trace
	StackTrace []*StackTraceElement `json:"stackTrace"`

	// suppressed
	Suppressed []*Throwable `json:"suppressed"`
}

Throwable throwable

swagger:model Throwable

func (*Throwable) ContextValidate

func (m *Throwable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this throwable based on the context it is used

func (*Throwable) MarshalBinary

func (m *Throwable) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Throwable) UnmarshalBinary

func (m *Throwable) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Throwable) Validate

func (m *Throwable) Validate(formats strfmt.Registry) error

Validate validates this throwable

type UpdateLdapServerXo

type UpdateLdapServerXo struct {

	// The password to bind with. Required if authScheme other than none.
	// Required: true
	AuthPassword *string `json:"authPassword"`

	// The SASL realm to bind to. Required if authScheme is CRAM_MD5 or DIGEST_MD5
	// Example: example.com
	AuthRealm string `json:"authRealm,omitempty"`

	// Authentication scheme used for connecting to LDAP server
	// Required: true
	// Enum: [NONE SIMPLE DIGEST_MD5 CRAM_MD5]
	AuthScheme *string `json:"authScheme"`

	// This must be a fully qualified username if simple authentication is used. Required if authScheme other than none.
	AuthUsername string `json:"authUsername,omitempty"`

	// How long to wait before retrying
	// Required: true
	// Minimum: 0
	ConnectionRetryDelaySeconds *int32 `json:"connectionRetryDelaySeconds"`

	// How long to wait before timeout
	// Example: 1
	// Required: true
	// Maximum: 3600
	// Minimum: 1
	ConnectionTimeoutSeconds *int32 `json:"connectionTimeoutSeconds"`

	// The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN.
	// Example: ou=Group
	GroupBaseDn string `json:"groupBaseDn,omitempty"`

	// This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static
	// Example: cn
	// Max Length: 0
	// Min Length: 0
	GroupIDAttribute *string `json:"groupIdAttribute,omitempty"`

	// LDAP attribute containing the usernames for the group. Required if groupType is static
	// Example: memberUid
	// Max Length: 0
	// Min Length: 0
	GroupMemberAttribute *string `json:"groupMemberAttribute,omitempty"`

	// The format of user ID stored in the group member attribute. Required if groupType is static
	// Example: uid=${username},ou=people,dc=example,dc=com
	// Max Length: 0
	// Min Length: 0
	GroupMemberFormat *string `json:"groupMemberFormat,omitempty"`

	// LDAP class for group objects. Required if groupType is static
	// Example: posixGroup
	// Max Length: 0
	// Min Length: 0
	GroupObjectClass *string `json:"groupObjectClass,omitempty"`

	// Are groups located in structures below the group base DN
	GroupSubtree bool `json:"groupSubtree,omitempty"`

	// Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true.
	// Required: true
	// Enum: [static dynamic]
	GroupType *string `json:"groupType"`

	// LDAP server connection hostname
	// Required: true
	Host *string `json:"host"`

	// LDAP server ID
	ID string `json:"id,omitempty"`

	// Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles
	LdapGroupsAsRoles bool `json:"ldapGroupsAsRoles,omitempty"`

	// How many retry attempts
	// Required: true
	// Minimum: 0
	MaxIncidentsCount *int32 `json:"maxIncidentsCount"`

	// LDAP server name
	// Required: true
	Name *string `json:"name"`

	// LDAP server connection port to use
	// Example: 636
	// Required: true
	Port *int32 `json:"port"`

	// LDAP server connection Protocol to use
	// Required: true
	// Enum: [ldap ldaps]
	Protocol *string `json:"protocol"`

	// LDAP location to be added to the connection URL
	// Example: dc=example,dc=com
	// Required: true
	SearchBase *string `json:"searchBase"`

	// Whether to use certificates stored in Nexus Repository Manager's truststore
	UseTrustStore bool `json:"useTrustStore,omitempty"`

	// The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN.
	// Example: ou=people
	UserBaseDn string `json:"userBaseDn,omitempty"`

	// This is used to find an email address given the user ID
	// Example: mail
	UserEmailAddressAttribute string `json:"userEmailAddressAttribute,omitempty"`

	// This is used to find a user given its user ID
	// Example: uid
	UserIDAttribute string `json:"userIdAttribute,omitempty"`

	// LDAP search filter to limit user search
	// Example: (|(mail=*@example.com)(uid=dom*))
	UserLdapFilter string `json:"userLdapFilter,omitempty"`

	// Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic
	// Example: memberOf
	// Max Length: 0
	// Min Length: 0
	UserMemberOfAttribute *string `json:"userMemberOfAttribute,omitempty"`

	// LDAP class for user objects
	// Example: inetOrgPerson
	UserObjectClass string `json:"userObjectClass,omitempty"`

	// If this field is blank the user will be authenticated against a bind with the LDAP server
	UserPasswordAttribute string `json:"userPasswordAttribute,omitempty"`

	// This is used to find a real name given the user ID
	// Example: cn
	UserRealNameAttribute string `json:"userRealNameAttribute,omitempty"`

	// Are users located in structures below the user base DN?
	UserSubtree bool `json:"userSubtree,omitempty"`
}

UpdateLdapServerXo update ldap server xo

swagger:model UpdateLdapServerXo

func (*UpdateLdapServerXo) ContextValidate

func (m *UpdateLdapServerXo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update ldap server xo based on context it is used

func (*UpdateLdapServerXo) MarshalBinary

func (m *UpdateLdapServerXo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateLdapServerXo) UnmarshalBinary

func (m *UpdateLdapServerXo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateLdapServerXo) Validate

func (m *UpdateLdapServerXo) Validate(formats strfmt.Registry) error

Validate validates this update ldap server xo

type UploadDefinitionXO

type UploadDefinitionXO struct {

	// asset fields
	AssetFields []*UploadFieldDefinitionXO `json:"assetFields"`

	// component fields
	ComponentFields []*UploadFieldDefinitionXO `json:"componentFields"`

	// format
	Format string `json:"format,omitempty"`

	// multiple upload
	MultipleUpload bool `json:"multipleUpload,omitempty"`
}

UploadDefinitionXO upload definition x o

swagger:model UploadDefinitionXO

func (*UploadDefinitionXO) ContextValidate

func (m *UploadDefinitionXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this upload definition x o based on the context it is used

func (*UploadDefinitionXO) MarshalBinary

func (m *UploadDefinitionXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UploadDefinitionXO) UnmarshalBinary

func (m *UploadDefinitionXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UploadDefinitionXO) Validate

func (m *UploadDefinitionXO) Validate(formats strfmt.Registry) error

Validate validates this upload definition x o

type UploadFieldDefinitionXO

type UploadFieldDefinitionXO struct {

	// description
	Description string `json:"description,omitempty"`

	// group
	Group string `json:"group,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// optional
	Optional bool `json:"optional,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

UploadFieldDefinitionXO upload field definition x o

swagger:model UploadFieldDefinitionXO

func (*UploadFieldDefinitionXO) ContextValidate

func (m *UploadFieldDefinitionXO) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this upload field definition x o based on context it is used

func (*UploadFieldDefinitionXO) MarshalBinary

func (m *UploadFieldDefinitionXO) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UploadFieldDefinitionXO) UnmarshalBinary

func (m *UploadFieldDefinitionXO) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UploadFieldDefinitionXO) Validate

func (m *UploadFieldDefinitionXO) Validate(formats strfmt.Registry) error

Validate validates this upload field definition x o

type YumAttributes

type YumAttributes struct {

	// Validate that all paths are RPMs or yum metadata
	// Example: STRICT
	// Enum: [PERMISSIVE STRICT]
	DeployPolicy string `json:"deployPolicy,omitempty"`

	// Specifies the repository depth where repodata folder(s) are created
	// Example: 5
	// Required: true
	// Maximum: 5
	// Minimum: 0
	RepodataDepth *int32 `json:"repodataDepth"`
}

YumAttributes yum attributes

swagger:model YumAttributes

func (*YumAttributes) ContextValidate

func (m *YumAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this yum attributes based on context it is used

func (*YumAttributes) MarshalBinary

func (m *YumAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*YumAttributes) UnmarshalBinary

func (m *YumAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*YumAttributes) Validate

func (m *YumAttributes) Validate(formats strfmt.Registry) error

Validate validates this yum attributes

type YumGroupRepositoryAPIRequest

type YumGroupRepositoryAPIRequest struct {

	// group
	// Required: true
	Group *GroupAttributes `json:"group"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`

	// yum signing
	YumSigning *YumSigningRepositoriesAttributes `json:"yumSigning,omitempty"`
}

YumGroupRepositoryAPIRequest yum group repository Api request

swagger:model YumGroupRepositoryApiRequest

func (*YumGroupRepositoryAPIRequest) ContextValidate

func (m *YumGroupRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this yum group repository Api request based on the context it is used

func (*YumGroupRepositoryAPIRequest) MarshalBinary

func (m *YumGroupRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*YumGroupRepositoryAPIRequest) UnmarshalBinary

func (m *YumGroupRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*YumGroupRepositoryAPIRequest) Validate

func (m *YumGroupRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this yum group repository Api request

type YumHostedAPIRepository

type YumHostedAPIRepository struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name string `json:"name,omitempty"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`

	// yum
	// Required: true
	Yum *YumAttributes `json:"yum"`
}

YumHostedAPIRepository yum hosted Api repository

swagger:model YumHostedApiRepository

func (*YumHostedAPIRepository) ContextValidate

func (m *YumHostedAPIRepository) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this yum hosted Api repository based on the context it is used

func (*YumHostedAPIRepository) MarshalBinary

func (m *YumHostedAPIRepository) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*YumHostedAPIRepository) UnmarshalBinary

func (m *YumHostedAPIRepository) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*YumHostedAPIRepository) Validate

func (m *YumHostedAPIRepository) Validate(formats strfmt.Registry) error

Validate validates this yum hosted Api repository

type YumHostedRepositoryAPIRequest

type YumHostedRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// component
	Component *ComponentAttributes `json:"component,omitempty"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// storage
	// Required: true
	Storage *HostedStorageAttributes `json:"storage"`

	// yum
	// Required: true
	Yum *YumAttributes `json:"yum"`
}

YumHostedRepositoryAPIRequest yum hosted repository Api request

swagger:model YumHostedRepositoryApiRequest

func (*YumHostedRepositoryAPIRequest) ContextValidate

func (m *YumHostedRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this yum hosted repository Api request based on the context it is used

func (*YumHostedRepositoryAPIRequest) MarshalBinary

func (m *YumHostedRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*YumHostedRepositoryAPIRequest) UnmarshalBinary

func (m *YumHostedRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*YumHostedRepositoryAPIRequest) Validate

func (m *YumHostedRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this yum hosted repository Api request

type YumProxyRepositoryAPIRequest

type YumProxyRepositoryAPIRequest struct {

	// cleanup
	Cleanup *CleanupPolicyAttributes `json:"cleanup,omitempty"`

	// http client
	// Required: true
	HTTPClient *HTTPClientAttributes `json:"httpClient"`

	// A unique identifier for this repository
	// Example: internal
	// Required: true
	// Pattern: ^[a-zA-Z0-9\-]{1}[a-zA-Z0-9_\-\.]*$
	Name *string `json:"name"`

	// negative cache
	// Required: true
	NegativeCache *NegativeCacheAttributes `json:"negativeCache"`

	// Whether this repository accepts incoming requests
	// Example: true
	// Required: true
	Online *bool `json:"online"`

	// proxy
	// Required: true
	Proxy *ProxyAttributes `json:"proxy"`

	// replication
	Replication *ReplicationAttributes `json:"replication,omitempty"`

	// routing rule
	RoutingRule string `json:"routingRule,omitempty"`

	// storage
	// Required: true
	Storage *StorageAttributes `json:"storage"`

	// yum signing
	YumSigning *YumSigningRepositoriesAttributes `json:"yumSigning,omitempty"`
}

YumProxyRepositoryAPIRequest yum proxy repository Api request

swagger:model YumProxyRepositoryApiRequest

func (*YumProxyRepositoryAPIRequest) ContextValidate

func (m *YumProxyRepositoryAPIRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this yum proxy repository Api request based on the context it is used

func (*YumProxyRepositoryAPIRequest) MarshalBinary

func (m *YumProxyRepositoryAPIRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*YumProxyRepositoryAPIRequest) UnmarshalBinary

func (m *YumProxyRepositoryAPIRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*YumProxyRepositoryAPIRequest) Validate

func (m *YumProxyRepositoryAPIRequest) Validate(formats strfmt.Registry) error

Validate validates this yum proxy repository Api request

type YumSigningRepositoriesAttributes

type YumSigningRepositoriesAttributes struct {

	// PGP signing key pair (armored private key e.g. gpg --export-secret-key --armor)
	Keypair string `json:"keypair,omitempty"`

	// Passphrase to access PGP signing key
	Passphrase string `json:"passphrase,omitempty"`
}

YumSigningRepositoriesAttributes yum signing repositories attributes

swagger:model YumSigningRepositoriesAttributes

func (*YumSigningRepositoriesAttributes) ContextValidate

func (m *YumSigningRepositoriesAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this yum signing repositories attributes based on context it is used

func (*YumSigningRepositoriesAttributes) MarshalBinary

func (m *YumSigningRepositoriesAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*YumSigningRepositoriesAttributes) UnmarshalBinary

func (m *YumSigningRepositoriesAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*YumSigningRepositoriesAttributes) Validate

Validate validates this yum signing repositories attributes

Source Files

Jump to

Keyboard shortcuts

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