Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ARecord
- type AaaaRecordCreate
- type AaaaRecordReturn
- type AaaaRecordUpdate
- type AccountApiGetAccountCreateOpts
- type AccountApiPostAccountCreateOpts
- type AccountApiPutAccountCreateOpts
- type AccountApiService
- func (a *AccountApiService) GetAccountCreate(ctx context.Context, localVarOptionals *AccountApiGetAccountCreateOpts) ([]ControlledClientDump, *http.Response, error)
- func (a *AccountApiService) PostAccountCreate(ctx context.Context, payload CreateEnterpriseControlledClient, ...) (ClientCreateDump, *http.Response, error)
- func (a *AccountApiService) PutAccountCreate(ctx context.Context, payload DeactivateEnterpriseControlledClient, ...) (ControlledClientDump, *http.Response, error)
- type Bandwidth
- type BandwidthApiPostDeviceIdBandwidthImageResourceOpts
- type BandwidthApiPostDeviceIdBandwidthResourceOpts
- type BandwidthApiPostServiceIdBandwidthImageResourceOpts
- type BandwidthApiPostServiceIdBandwidthResourceOpts
- type BandwidthApiService
- func (a *BandwidthApiService) PostDeviceIdBandwidthImageResource(ctx context.Context, deviceId int32, period string, interface_ string, ...) ([]BandwidthImage, *http.Response, error)
- func (a *BandwidthApiService) PostDeviceIdBandwidthResource(ctx context.Context, deviceId int32, period string, interface_ string, ...) ([]Bandwidth, *http.Response, error)
- func (a *BandwidthApiService) PostServiceIdBandwidthImageResource(ctx context.Context, serviceId int32, period string, interface_ string, ...) ([]BandwidthImage, *http.Response, error)
- func (a *BandwidthApiService) PostServiceIdBandwidthResource(ctx context.Context, serviceId int32, period string, interface_ string, ...) ([]Bandwidth, *http.Response, error)
- type BandwidthImage
- type BareMetalDevice
- type BareMetalDeviceBatch
- type BareMetalDeviceBatchCreate
- type BareMetalDeviceCreate
- type BareMetalDeviceUpdate
- type BareMetalDevicesApiGetBareMetalDeviceIdResourceOpts
- type BareMetalDevicesApiGetBareMetalDeviceResourceOpts
- type BareMetalDevicesApiPostBareMetalDeviceBatchResourceOpts
- type BareMetalDevicesApiPostBareMetalDeviceResourceOpts
- type BareMetalDevicesApiPutBareMetalDeviceIdResourceOpts
- type BareMetalDevicesApiService
- func (a *BareMetalDevicesApiService) DeleteBareMetalDeviceIdResource(ctx context.Context, deviceId int32) (*http.Response, error)
- func (a *BareMetalDevicesApiService) GetBareMetalDeviceIdResource(ctx context.Context, deviceId int32, ...) (BareMetalDevice, *http.Response, error)
- func (a *BareMetalDevicesApiService) GetBareMetalDeviceResource(ctx context.Context, ...) ([]BareMetalDevice, *http.Response, error)
- func (a *BareMetalDevicesApiService) PostBareMetalDeviceBatchResource(ctx context.Context, payload BareMetalDeviceBatchCreate, ...) (BareMetalDeviceBatch, *http.Response, error)
- func (a *BareMetalDevicesApiService) PostBareMetalDeviceResource(ctx context.Context, payload BareMetalDeviceCreate, ...) (BareMetalDevice, *http.Response, error)
- func (a *BareMetalDevicesApiService) PutBareMetalDeviceIdResource(ctx context.Context, deviceId int32, payload BareMetalDeviceUpdate, ...) (BareMetalDevice, *http.Response, error)
- type BasicAuth
- type BasicProfileDump
- type BillingInfo
- type BillingInfoApiDeleteBillingInfoIdResourceOpts
- type BillingInfoApiGetBillingInfoIdResourceOpts
- type BillingInfoApiGetBillingInfoResourceOpts
- type BillingInfoApiGetPaymentMethodsEnableReadResourceOpts
- type BillingInfoApiPostBillingInfoBankAccountCreateResourceOpts
- type BillingInfoApiPostBillingInfoCreditCardCreateResourceOpts
- type BillingInfoApiPostBillingInfoResourceOpts
- type BillingInfoApiPutBillingInfoBankAccountUpdateResourceOpts
- type BillingInfoApiPutBillingInfoCreditCardUpdateResourceOpts
- type BillingInfoApiPutBillingInfoResourceOpts
- type BillingInfoApiService
- func (a *BillingInfoApiService) DeleteBillingInfoIdResource(ctx context.Context, billingInfoId int32, ...) (*http.Response, error)
- func (a *BillingInfoApiService) GetBillingInfoIdResource(ctx context.Context, billingInfoId int32, ...) (BillingInfo, *http.Response, error)
- func (a *BillingInfoApiService) GetBillingInfoResource(ctx context.Context, ...) ([]BillingInfo, *http.Response, error)
- func (a *BillingInfoApiService) GetPaymentMethodsEnableReadResource(ctx context.Context, ...) (PaymentMethodsEnabled, *http.Response, error)
- func (a *BillingInfoApiService) PostBillingInfoBankAccountCreateResource(ctx context.Context, payload BillingInfoCreateBankAccount, ...) (BillingInfo, *http.Response, error)
- func (a *BillingInfoApiService) PostBillingInfoCreditCardCreateResource(ctx context.Context, payload BillingInfoCreateCreditCard, ...) (BillingInfo, *http.Response, error)
- func (a *BillingInfoApiService) PostBillingInfoResource(ctx context.Context, payload BillingInfoVerification, ...) (BillingInfo, *http.Response, error)
- func (a *BillingInfoApiService) PutBillingInfoBankAccountUpdateResource(ctx context.Context, billingInfoId int32, payload BillingInfoCreateBankAccount, ...) (BillingInfo, *http.Response, error)
- func (a *BillingInfoApiService) PutBillingInfoCreditCardUpdateResource(ctx context.Context, billingInfoId int32, payload BillingInfoCreateCreditCard, ...) (BillingInfo, *http.Response, error)
- func (a *BillingInfoApiService) PutBillingInfoResource(ctx context.Context, payload BillingInfoVerification, ...) (Credit, *http.Response, error)
- type BillingInfoCreateBankAccount
- type BillingInfoCreateCreditCard
- type BillingInfoVerification
- type Cancellation
- type CancellationCreate
- type CancellationsApiGetCancellationDeviceResourceOpts
- type CancellationsApiGetCancellationResourceOpts
- type CancellationsApiGetCancellationServiceResourceOpts
- type CancellationsApiPostCancellationResourceOpts
- type CancellationsApiService
- func (a *CancellationsApiService) DeleteCancellationIdDeleteResource(ctx context.Context, cancellationId int32) (*http.Response, error)
- func (a *CancellationsApiService) GetCancellationDeviceResource(ctx context.Context, deviceId int32, ...) (Cancellation, *http.Response, error)
- func (a *CancellationsApiService) GetCancellationResource(ctx context.Context, ...) ([]Cancellation, *http.Response, error)
- func (a *CancellationsApiService) GetCancellationServiceResource(ctx context.Context, serviceId int32, ...) (Cancellation, *http.Response, error)
- func (a *CancellationsApiService) PostCancellationResource(ctx context.Context, payload CancellationCreate, ...) (Cancellation, *http.Response, error)
- type CartCoupon
- type CartCouponDump
- type CartCouponUsageStatisticsDump
- type CityStateCountry
- type Client
- type ClientCreateDump
- type ComputeDevicesApiGetBareMetalDeviceIdResourceOpts
- type ComputeDevicesApiGetBareMetalDeviceResourceOpts
- type ComputeDevicesApiPostBareMetalDeviceBatchResourceOpts
- type ComputeDevicesApiPostBareMetalDeviceResourceOpts
- type ComputeDevicesApiPutBareMetalDeviceIdResourceOpts
- type ComputeDevicesApiService
- func (a *ComputeDevicesApiService) DeleteBareMetalDeviceIdResource(ctx context.Context, deviceId int32) (*http.Response, error)
- func (a *ComputeDevicesApiService) GetBareMetalDeviceIdResource(ctx context.Context, deviceId int32, ...) (BareMetalDevice, *http.Response, error)
- func (a *ComputeDevicesApiService) GetBareMetalDeviceResource(ctx context.Context, ...) ([]BareMetalDevice, *http.Response, error)
- func (a *ComputeDevicesApiService) PostBareMetalDeviceBatchResource(ctx context.Context, payload BareMetalDeviceBatchCreate, ...) (BareMetalDeviceBatch, *http.Response, error)
- func (a *ComputeDevicesApiService) PostBareMetalDeviceResource(ctx context.Context, payload BareMetalDeviceCreate, ...) (BareMetalDevice, *http.Response, error)
- func (a *ComputeDevicesApiService) PutBareMetalDeviceIdResource(ctx context.Context, deviceId int32, payload BareMetalDeviceUpdate, ...) (BareMetalDevice, *http.Response, error)
- type Configuration
- type ContactApiGetContactIdResourceOpts
- type ContactApiGetContactResourceOpts
- type ContactApiPostContactResourceOpts
- type ContactApiPutContactIdResourceOpts
- type ContactApiService
- func (a *ContactApiService) DeleteContactIdResource(ctx context.Context, contactId int32) (*http.Response, error)
- func (a *ContactApiService) GetContactIdResource(ctx context.Context, contactId int32, ...) (ContactDump, *http.Response, error)
- func (a *ContactApiService) GetContactResource(ctx context.Context, localVarOptionals *ContactApiGetContactResourceOpts) ([]ContactDump, *http.Response, error)
- func (a *ContactApiService) PostContactResource(ctx context.Context, payload ContactCreate, ...) (ContactDump, *http.Response, error)
- func (a *ContactApiService) PostPasswordReset(ctx context.Context, payload PasswordRequest) (*http.Response, error)
- func (a *ContactApiService) PutContactIdResource(ctx context.Context, contactId int32, payload ContactUpdate, ...) (ContactDump, *http.Response, error)
- func (a *ContactApiService) PutPasswordReset(ctx context.Context, payload PasswordResponse) (*http.Response, error)
- func (a *ContactApiService) PutPasswordResource(ctx context.Context, contactId int32, payload Password) (*http.Response, error)
- type ContactCreate
- type ContactDump
- type ContactUpdate
- type ControlledClientDump
- type CreateCredit
- type CreateEnterpriseControlledClient
- type CreateIgnition
- type Credit
- type CreditApiGetCreditResourceOpts
- type CreditApiGetTotalActiveCreditResourceOpts
- type CreditApiPostCreditApplyCouponResourceOpts
- type CreditApiPostCreditResourceOpts
- type CreditApiPostCreditValidateCouponResourceOpts
- type CreditApiService
- func (a *CreditApiService) GetCreditResource(ctx context.Context, localVarOptionals *CreditApiGetCreditResourceOpts) ([]Credit, *http.Response, error)
- func (a *CreditApiService) GetTotalActiveCreditResource(ctx context.Context, ...) (TotalActiveCredit, *http.Response, error)
- func (a *CreditApiService) PostCreditApplyCouponResource(ctx context.Context, payload CartCoupon, ...) (Credit, *http.Response, error)
- func (a *CreditApiService) PostCreditResource(ctx context.Context, payload CreateCredit, ...) (Credit, *http.Response, error)
- func (a *CreditApiService) PostCreditValidateCouponResource(ctx context.Context, payload CartCoupon, ...) (ValidateCartCouponDump, *http.Response, error)
- type DeactivateEnterpriseControlledClient
- type DeleteApiTokenLoad
- type Deployment
- type DeploymentApiGetDeploymentIdResourceOpts
- type DeploymentApiGetDeploymentResourceOpts
- type DeploymentApiPostDeploymentResourceOpts
- type DeploymentApiPutDeploymentIdResourceOpts
- type DeploymentApiService
- func (a *DeploymentApiService) DeleteDeploymentIdResource(ctx context.Context, deploymentId int32) (*http.Response, error)
- func (a *DeploymentApiService) GetDeploymentIdResource(ctx context.Context, deploymentId int32, ...) (Deployment, *http.Response, error)
- func (a *DeploymentApiService) GetDeploymentResource(ctx context.Context, localVarOptionals *DeploymentApiGetDeploymentResourceOpts) ([]Deployment, *http.Response, error)
- func (a *DeploymentApiService) PostDeploymentIdResource(ctx context.Context, deploymentId int32, payload DeploymentStart) (*http.Response, error)
- func (a *DeploymentApiService) PostDeploymentResource(ctx context.Context, ...) (Deployment, *http.Response, error)
- func (a *DeploymentApiService) PutDeploymentIdResource(ctx context.Context, deploymentId int32, payload DeploymentCustomization, ...) (Deployment, *http.Response, error)
- type DeploymentCustomization
- type DeploymentStart
- type DeviceApiDeleteDeviceBondResourceOpts
- type DeviceApiGetAllDeviceTagOrderResourceOpts
- type DeviceApiGetClientDeviceTagOrderResourceOpts
- type DeviceApiGetClientDeviceTagResourceOpts
- type DeviceApiGetDeviceIdEventResourceOpts
- type DeviceApiGetDeviceIdResourceOpts
- type DeviceApiGetDeviceIdServiceResourceOpts
- type DeviceApiGetDeviceIpAssignmentsResourceOpts
- type DeviceApiGetDevicePaymentMethodLinkedResourceOpts
- type DeviceApiGetDevicePortResourceOpts
- type DeviceApiGetDeviceResourceOpts
- type DeviceApiGetDeviceTagIdResourceOpts
- type DeviceApiGetEffectiveIgnitionIdResourceOpts
- type DeviceApiGetInitialCredsIdResourceOpts
- type DeviceApiGetInitialPasswordIdResourceOpts
- type DeviceApiGetIpmiInfoIdResourceOpts
- type DeviceApiGetIpmiInfoLoginDataResourceOpts
- type DeviceApiGetIpmiThresholdsIdResourceOpts
- type DeviceApiGetIpmiValidLoginIdResourceOpts
- type DeviceApiGetPowerResourceOpts
- type DeviceApiPostDeviceBondResourceOpts
- type DeviceApiPostDevicePortIdClearResourceOpts
- type DeviceApiPostDeviceReloadResourceOpts
- type DeviceApiPostPowerResourceOpts
- type DeviceApiPostPreviewEffectiveIgnitionResourceOpts
- type DeviceApiPutClientDeviceTagOrderResourceOpts
- type DeviceApiPutDeviceIdResourceOpts
- type DeviceApiPutDevicePortResourceOpts
- type DeviceApiPutDeviceTagIdResourceOpts
- type DeviceApiPutIpmiDevicesThresholdsIdResourceOpts
- type DeviceApiPutIpmiThresholdsIdResourceOpts
- type DeviceApiService
- func (a *DeviceApiService) DeleteDeviceBondResource(ctx context.Context, deviceId int32, ...) (NetworkTaskDump, *http.Response, error)
- func (a *DeviceApiService) GetAllDeviceTagOrderResource(ctx context.Context, ...) (DeviceTag, *http.Response, error)
- func (a *DeviceApiService) GetClientDeviceTagOrderResource(ctx context.Context, ...) (DeviceTag, *http.Response, error)
- func (a *DeviceApiService) GetClientDeviceTagResource(ctx context.Context, ...) (DeviceTag, *http.Response, error)
- func (a *DeviceApiService) GetDeviceIdEventResource(ctx context.Context, deviceId string, ...) ([]DeviceEvent, *http.Response, error)
- func (a *DeviceApiService) GetDeviceIdResource(ctx context.Context, deviceId int32, ...) (DeviceDump, *http.Response, error)
- func (a *DeviceApiService) GetDeviceIdServiceResource(ctx context.Context, deviceId int32, ...) (Services, *http.Response, error)
- func (a *DeviceApiService) GetDeviceIpAssignmentsResource(ctx context.Context, deviceId int32, ...) ([]IpAssignment, *http.Response, error)
- func (a *DeviceApiService) GetDeviceIpminatRuleResource(ctx context.Context, deviceId int32) (*http.Response, error)
- func (a *DeviceApiService) GetDevicePaymentMethodLinkedResource(ctx context.Context, billingInfoId int32, ...) ([]DeviceDump, *http.Response, error)
- func (a *DeviceApiService) GetDevicePortResource(ctx context.Context, deviceId int32, ...) ([]DevicePort, *http.Response, error)
- func (a *DeviceApiService) GetDeviceResource(ctx context.Context, localVarOptionals *DeviceApiGetDeviceResourceOpts) ([]DeviceDump, *http.Response, error)
- func (a *DeviceApiService) GetDeviceTagIdResource(ctx context.Context, deviceId int32, ...) (DeviceTag, *http.Response, error)
- func (a *DeviceApiService) GetEffectiveIgnitionIdResource(ctx context.Context, deviceId int32, ...) (EffectiveIgnitionResponse, *http.Response, error)
- func (a *DeviceApiService) GetInitialCredsIdResource(ctx context.Context, deviceId int32, ...) (DeviceInitialCreds, *http.Response, error)
- func (a *DeviceApiService) GetInitialPasswordIdResource(ctx context.Context, deviceId int32, ...) (DevicePassword, *http.Response, error)
- func (a *DeviceApiService) GetIpmiInfoIdResource(ctx context.Context, deviceId int32, ...) (DeviceIpmiInfo, *http.Response, error)
- func (a *DeviceApiService) GetIpmiInfoLoginDataResource(ctx context.Context, deviceId int32, ...) (IpmiLoginData, *http.Response, error)
- func (a *DeviceApiService) GetIpmiThresholdsIdResource(ctx context.Context, deviceId int32, ...) (DeviceIpmiThresholds, *http.Response, error)
- func (a *DeviceApiService) GetIpmiValidLoginIdResource(ctx context.Context, deviceId int32, ...) (IpmiValidLogin, *http.Response, error)
- func (a *DeviceApiService) GetPowerResource(ctx context.Context, deviceId int32, ...) (DevicePower, *http.Response, error)
- func (a *DeviceApiService) PostDeviceBondResource(ctx context.Context, deviceId int32, ...) (NetworkTaskDump, *http.Response, error)
- func (a *DeviceApiService) PostDeviceIpmiWhitelistResource(ctx context.Context, deviceId int32, payload DeviceIpmiWhitelistIp) (*http.Response, error)
- func (a *DeviceApiService) PostDevicePortIdClearResource(ctx context.Context, deviceId int32, portId int32, ...) (NetworkTaskDump, *http.Response, error)
- func (a *DeviceApiService) PostDeviceReloadResource(ctx context.Context, deviceId int32, payload DeviceReload, ...) (ServiceOption, *http.Response, error)
- func (a *DeviceApiService) PostPowerResource(ctx context.Context, deviceId int32, action string, ...) (DevicePower, *http.Response, error)
- func (a *DeviceApiService) PostPreviewEffectiveIgnitionResource(ctx context.Context, payload PreviewEffectiveIgnition, ...) (PreviewEffectiveIgnitionResponse, *http.Response, error)
- func (a *DeviceApiService) PutClientDeviceTagOrderResource(ctx context.Context, payload DeviceTag, ...) (DeviceTag, *http.Response, error)
- func (a *DeviceApiService) PutDeviceIdResource(ctx context.Context, deviceId int32, payload DeviceUpdate, ...) (DeviceDump, *http.Response, error)
- func (a *DeviceApiService) PutDevicePortResource(ctx context.Context, deviceId int32, payload DevicePortsUpdate, ...) ([]NetworkTaskDump, *http.Response, error)
- func (a *DeviceApiService) PutDeviceTagIdResource(ctx context.Context, deviceId int32, payload DeviceTag, ...) (DeviceTag, *http.Response, error)
- func (a *DeviceApiService) PutIpmiDevicesThresholdsIdResource(ctx context.Context, payload UpdateDevicesIpmiThresholds, ...) (DevicesIpmiThresholds, *http.Response, error)
- func (a *DeviceApiService) PutIpmiThresholdsIdResource(ctx context.Context, deviceId int32, payload DeviceIpmiThresholds, ...) (DeviceIpmiThresholds, *http.Response, error)
- type DeviceDump
- type DeviceEvent
- type DeviceInitialCreds
- type DeviceIpmiInfo
- type DeviceIpmiThresholds
- type DeviceIpmiWhitelistIp
- type DevicePassword
- type DevicePort
- type DevicePortUpdate
- type DevicePortsUpdate
- type DevicePower
- type DeviceReload
- type DeviceTag
- type DeviceUpdate
- type DevicesIpmiThresholds
- type DomainCreate
- type DomainReturn
- type DomainsApiGetARecordIdResourceOpts
- type DomainsApiGetARecordResourceOpts
- type DomainsApiGetAaaaRecordIdResourceOpts
- type DomainsApiGetAaaaRecordResourceOpts
- type DomainsApiGetDomainIdResourceOpts
- type DomainsApiGetDomainResourceOpts
- type DomainsApiGetMxRecordIdResourceOpts
- type DomainsApiGetMxRecordResourceOpts
- type DomainsApiGetPtrRecordIdResourceOpts
- type DomainsApiGetPtrRecordResourceOpts
- type DomainsApiPostARecordResourceOpts
- type DomainsApiPostAaaaRecordResourceOpts
- type DomainsApiPostDomainResourceOpts
- type DomainsApiPostMxRecordResourceOpts
- type DomainsApiPutARecordIdResourceOpts
- type DomainsApiPutAaaaRecordIdResourceOpts
- type DomainsApiPutMxRecordIdResourceOpts
- type DomainsApiPutPtrRecordIdResourceOpts
- type DomainsApiService
- func (a *DomainsApiService) DeleteARecordIdResource(ctx context.Context, domain string, record string) (*http.Response, error)
- func (a *DomainsApiService) DeleteAaaaRecordIdResource(ctx context.Context, domainID int32, recordId int32) (*http.Response, error)
- func (a *DomainsApiService) DeleteDomainIdResource(ctx context.Context, domainId int32) (*http.Response, error)
- func (a *DomainsApiService) DeleteMxRecordIdResource(ctx context.Context, domainID int32, recordId int32) (*http.Response, error)
- func (a *DomainsApiService) GetARecordIdResource(ctx context.Context, domain string, record string, ...) (ARecord, *http.Response, error)
- func (a *DomainsApiService) GetARecordResource(ctx context.Context, domain string, ...) ([]ARecord, *http.Response, error)
- func (a *DomainsApiService) GetAaaaRecordIdResource(ctx context.Context, domainID int32, recordId int32, ...) (AaaaRecordReturn, *http.Response, error)
- func (a *DomainsApiService) GetAaaaRecordResource(ctx context.Context, domainID int32, ...) ([]AaaaRecordReturn, *http.Response, error)
- func (a *DomainsApiService) GetDomainIdResource(ctx context.Context, domainId int32, ...) (DomainReturn, *http.Response, error)
- func (a *DomainsApiService) GetDomainResource(ctx context.Context, localVarOptionals *DomainsApiGetDomainResourceOpts) ([]DomainReturn, *http.Response, error)
- func (a *DomainsApiService) GetMxRecordIdResource(ctx context.Context, domainID int32, recordId int32, ...) (MxRecordReturn, *http.Response, error)
- func (a *DomainsApiService) GetMxRecordResource(ctx context.Context, domainID int32, ...) ([]MxRecordReturn, *http.Response, error)
- func (a *DomainsApiService) GetPtrRecordIdResource(ctx context.Context, recordId int32, ...) (PtrRecordReturn, *http.Response, error)
- func (a *DomainsApiService) GetPtrRecordResource(ctx context.Context, localVarOptionals *DomainsApiGetPtrRecordResourceOpts) ([]PtrRecordReturn, *http.Response, error)
- func (a *DomainsApiService) PostARecordResource(ctx context.Context, domain string, payload ARecord, ...) (ARecord, *http.Response, error)
- func (a *DomainsApiService) PostAaaaRecordResource(ctx context.Context, domainID int32, payload AaaaRecordCreate, ...) (AaaaRecordReturn, *http.Response, error)
- func (a *DomainsApiService) PostDomainResource(ctx context.Context, payload DomainCreate, ...) (DomainReturn, *http.Response, error)
- func (a *DomainsApiService) PostMxRecordResource(ctx context.Context, domainID int32, payload MxRecordCreate, ...) (MxRecordReturn, *http.Response, error)
- func (a *DomainsApiService) PutARecordIdResource(ctx context.Context, domain string, record string, payload ARecord, ...) (ARecord, *http.Response, error)
- func (a *DomainsApiService) PutAaaaRecordIdResource(ctx context.Context, domainID int32, recordId int32, payload AaaaRecordUpdate, ...) (AaaaRecordReturn, *http.Response, error)
- func (a *DomainsApiService) PutMxRecordIdResource(ctx context.Context, domainID int32, recordId int32, payload MxRecordUpdate, ...) (MxRecordReturn, *http.Response, error)
- func (a *DomainsApiService) PutPtrRecordIdResource(ctx context.Context, recordId int32, payload PtrRecordUpdate, ...) (PtrRecordReturn, *http.Response, error)
- type EffectiveIgnitionResponse
- type FastServiceDump
- type GenericSwaggerError
- type IPAssignmentApiGetIpAssignmentIdResourceOpts
- type IPAssignmentApiGetIpAssignmentResourceOpts
- type IPAssignmentApiGetIpAssignmentSubnetResourceOpts
- type IPAssignmentApiPostIpAssignmentCombineResourceOpts
- type IPAssignmentApiPostIpAssignmentIdClearResourceOpts
- type IPAssignmentApiPostIpAssignmentSplitResourceOpts
- type IPAssignmentApiPutIpAssignmentIdResourceOpts
- type IPAssignmentApiService
- func (a *IPAssignmentApiService) DeleteIpAssignmentIdResource(ctx context.Context, ipAssignmentId int32) (*http.Response, error)
- func (a *IPAssignmentApiService) GetIpAssignmentIdResource(ctx context.Context, ipAssignmentId int32, ...) (IpAssignment, *http.Response, error)
- func (a *IPAssignmentApiService) GetIpAssignmentResource(ctx context.Context, ...) ([]IpAssignment, *http.Response, error)
- func (a *IPAssignmentApiService) GetIpAssignmentSubnetResource(ctx context.Context, ipAddress string, ...) (IpAssignment, *http.Response, error)
- func (a *IPAssignmentApiService) PostIpAssignmentCombineResource(ctx context.Context, payload IpAssignmentCombine, ...) (IpAssignment, *http.Response, error)
- func (a *IPAssignmentApiService) PostIpAssignmentIdClearResource(ctx context.Context, ipAssignmentId int32, ...) (NetworkTaskDump, *http.Response, error)
- func (a *IPAssignmentApiService) PostIpAssignmentResource(ctx context.Context, payload IpAssignmentRequest) (*http.Response, error)
- func (a *IPAssignmentApiService) PostIpAssignmentSplitResource(ctx context.Context, ipAssignmentId int32, ...) ([]IpAssignment, *http.Response, error)
- func (a *IPAssignmentApiService) PutIpAssignmentIdResource(ctx context.Context, ipAssignmentId int32, payload IpAssignmentPut, ...) (NetworkTaskDump, *http.Response, error)
- type IgnitionApiDeleteIgnitionResourceIdOpts
- type IgnitionApiGetIgnitionResourceIdOpts
- type IgnitionApiGetIgnitionResourceOpts
- type IgnitionApiPostIgnitionResourceOpts
- type IgnitionApiPutIgnitionResourceIdOpts
- type IgnitionApiService
- func (a *IgnitionApiService) DeleteIgnitionResourceId(ctx context.Context, ignitionId int32, ...) (*http.Response, error)
- func (a *IgnitionApiService) GetIgnitionResource(ctx context.Context, localVarOptionals *IgnitionApiGetIgnitionResourceOpts) ([]IgnitionResponse, *http.Response, error)
- func (a *IgnitionApiService) GetIgnitionResourceId(ctx context.Context, ignitionId int32, ...) (IgnitionResponse, *http.Response, error)
- func (a *IgnitionApiService) PostIgnitionResource(ctx context.Context, payload CreateIgnition, ...) (IgnitionResponse, *http.Response, error)
- func (a *IgnitionApiService) PutIgnitionResourceId(ctx context.Context, ignitionId int32, payload UpdateIgnition, ...) (IgnitionResponse, *http.Response, error)
- type IgnitionResponse
- type Inventory
- type InventoryApiGetLocationResourceOpts
- type InventoryApiGetStockByProductResourceOpts
- type InventoryApiGetStockResourceOpts
- type InventoryApiService
- func (a *InventoryApiService) GetLocationResource(ctx context.Context, localVarOptionals *InventoryApiGetLocationResourceOpts) ([]Location, *http.Response, error)
- func (a *InventoryApiService) GetStockByProductResource(ctx context.Context, productId int32, ...) (Stock, *http.Response, error)
- func (a *InventoryApiService) GetStockResource(ctx context.Context, localVarOptionals *InventoryApiGetStockResourceOpts) (Inventory, *http.Response, error)
- type Invoice
- type InvoiceApiGetInvoiceIdDetailsOpts
- type InvoiceApiGetInvoiceIdResourceOpts
- type InvoiceApiGetInvoicePdfResourceOpts
- type InvoiceApiGetInvoiceResourceOpts
- type InvoiceApiGetInvoiceSearchResourceOpts
- type InvoiceApiGetInvoiceUnpaidResourceOpts
- type InvoiceApiPostInvoiceIdApplyAccountCreditOpts
- type InvoiceApiService
- func (a *InvoiceApiService) GetInvoiceIdDetails(ctx context.Context, invoiceId int32, ...) (InvoiceDetails, *http.Response, error)
- func (a *InvoiceApiService) GetInvoiceIdResource(ctx context.Context, invoiceId int32, ...) (Invoice, *http.Response, error)
- func (a *InvoiceApiService) GetInvoicePdfResource(ctx context.Context, invoiceId int32, ...) (InvoicePdf, *http.Response, error)
- func (a *InvoiceApiService) GetInvoiceResource(ctx context.Context, localVarOptionals *InvoiceApiGetInvoiceResourceOpts) ([]Invoice, *http.Response, error)
- func (a *InvoiceApiService) GetInvoiceSearchResource(ctx context.Context, localVarOptionals *InvoiceApiGetInvoiceSearchResourceOpts) (InvoiceSeachResult, *http.Response, error)
- func (a *InvoiceApiService) GetInvoiceUnpaidResource(ctx context.Context, localVarOptionals *InvoiceApiGetInvoiceUnpaidResourceOpts) (InvoiceUnpaid, *http.Response, error)
- func (a *InvoiceApiService) PostInvoiceIdApplyAccountCredit(ctx context.Context, invoiceId int32, ...) (Invoice, *http.Response, error)
- type InvoiceDetails
- type InvoiceDetailsServiceItems
- type InvoicePdf
- type InvoiceSeachResult
- type InvoiceUnpaid
- type IpAssignment
- type IpAssignmentCombine
- type IpAssignmentPut
- type IpAssignmentRequest
- type IpmiInfo
- type IpmiLoginData
- type IpmiSensor
- type IpmiValidLogin
- type Location
- type LocationLocation
- type MaintenanceApiGetMaintenanceEventClientResourceOpts
- type MaintenanceApiGetMaintenanceEventIdClientResourceOpts
- type MaintenanceApiService
- type MaintenanceEvent
- type Modification
- type MxRecordCreate
- type MxRecordReturn
- type MxRecordUpdate
- type NetworkApiDeleteNullRoutesIdResourceOpts
- type NetworkApiGetDeviceNetworkPortResourceOpts
- type NetworkApiGetNetworkTaskClientResourceOpts
- type NetworkApiGetNetworkTaskIdResourceOpts
- type NetworkApiGetNullRoutesIdResourceOpts
- type NetworkApiGetNullRoutesResourceOpts
- type NetworkApiPostNullRoutesResourceOpts
- type NetworkApiService
- func (a *NetworkApiService) DeleteNullRoutesIdResource(ctx context.Context, ipAddress string, ...) (NetworkTaskDump, *http.Response, error)
- func (a *NetworkApiService) GetDeviceNetworkPortResource(ctx context.Context, ...) ([]DevicePort, *http.Response, error)
- func (a *NetworkApiService) GetNetworkTaskClientResource(ctx context.Context, ...) ([]NetworkTaskDump, *http.Response, error)
- func (a *NetworkApiService) GetNetworkTaskIdResource(ctx context.Context, id string, ...) (NetworkTaskDump, *http.Response, error)
- func (a *NetworkApiService) GetNullRoutesIdResource(ctx context.Context, ipAddress string, ...) (NullRoute, *http.Response, error)
- func (a *NetworkApiService) GetNullRoutesResource(ctx context.Context, localVarOptionals *NetworkApiGetNullRoutesResourceOpts) ([]NullRoute, *http.Response, error)
- func (a *NetworkApiService) PostNullRoutesResource(ctx context.Context, payload NullRouteRequest, ...) (NetworkTaskDump, *http.Response, error)
- type NetworkTaskDump
- type NullRoute
- type NullRouteRequest
- type OperatingSystem
- type OptionDump
- type Options
- type OrderApiGetOrderIdResourceOpts
- type OrderApiGetOrderInprogressResourceOpts
- type OrderApiGetOrderResourceOpts
- type OrderApiService
- func (a *OrderApiService) GetOrderIdResource(ctx context.Context, orderId int32, ...) (OrderDump, *http.Response, error)
- func (a *OrderApiService) GetOrderInprogressResource(ctx context.Context, localVarOptionals *OrderApiGetOrderInprogressResourceOpts) ([]OrderDump, *http.Response, error)
- func (a *OrderApiService) GetOrderResource(ctx context.Context, localVarOptionals *OrderApiGetOrderResourceOpts) ([]OrderDump, *http.Response, error)
- type OrderDump
- type OrderGroup
- type OrderGroupCreate
- type OrderGroupUpdate
- type OrderGroupsApiGetOrderGroupIdResourceOpts
- type OrderGroupsApiGetOrderGroupResourceOpts
- type OrderGroupsApiPostOrderGroupResourceOpts
- type OrderGroupsApiPutOrderGroupIdResourceOpts
- type OrderGroupsApiService
- func (a *OrderGroupsApiService) DeleteOrderGroupIdResource(ctx context.Context, orderGroupId int32) (*http.Response, error)
- func (a *OrderGroupsApiService) GetOrderGroupIdResource(ctx context.Context, orderGroupId int32, ...) (OrderGroup, *http.Response, error)
- func (a *OrderGroupsApiService) GetOrderGroupResource(ctx context.Context, ...) ([]OrderGroup, *http.Response, error)
- func (a *OrderGroupsApiService) PostOrderGroupResource(ctx context.Context, payload OrderGroupCreate, ...) (OrderGroup, *http.Response, error)
- func (a *OrderGroupsApiService) PutOrderGroupIdResource(ctx context.Context, orderGroupId int32, payload OrderGroupUpdate, ...) (OrderGroup, *http.Response, error)
- type Password
- type PasswordRequest
- type PasswordResponse
- type PaymentMethodsEnabled
- type Permission
- type PermissionApiPostPermissionAssignContactResourceOpts
- type PermissionApiService
- func (a *PermissionApiService) GetPermissionAllResource(ctx context.Context) (*http.Response, error)
- func (a *PermissionApiService) GetPermissionContactResource(ctx context.Context, contactId int32) (*http.Response, error)
- func (a *PermissionApiService) GetPermissionUserResource(ctx context.Context) (*http.Response, error)
- func (a *PermissionApiService) PostPermissionAssignContactResource(ctx context.Context, payload Permission, ...) ([]PermissionReturn, *http.Response, error)
- type PermissionReturn
- type PreviewEffectiveIgnition
- type PreviewEffectiveIgnitionResponse
- type PrimaryInterface
- type ProductApiGetProductOperatingSystemsResourceOpts
- type ProductApiGetProductOptionResourceOpts
- type ProductApiGetProductsAndOptionsResourceOpts
- type ProductApiService
- func (a *ProductApiService) GetProductOperatingSystemsResource(ctx context.Context, productId int32, ...) ([]OptionDump, *http.Response, error)
- func (a *ProductApiService) GetProductOptionResource(ctx context.Context, productId int32, ...) (Options, *http.Response, error)
- func (a *ProductApiService) GetProductsAndOptionsResource(ctx context.Context, ...) ([]ProductOption, *http.Response, error)
- type ProductOption
- type ProfileApiGetBasicProfileResourceOpts
- type ProfileApiGetProfileResourceOpts
- type ProfileApiPutProfileResourceOpts
- type ProfileApiService
- func (a *ProfileApiService) GetBasicProfileResource(ctx context.Context, localVarOptionals *ProfileApiGetBasicProfileResourceOpts) (BasicProfileDump, *http.Response, error)
- func (a *ProfileApiService) GetProfileResource(ctx context.Context, localVarOptionals *ProfileApiGetProfileResourceOpts) (ProfileDump, *http.Response, error)
- func (a *ProfileApiService) PutProfileResource(ctx context.Context, payload ProfileUpdate, ...) (ProfileDump, *http.Response, error)
- type ProfileDump
- type ProfileUpdate
- type PtrRecordReturn
- type PtrRecordUpdate
- type PublicApiHideTokenDump
- type PublicApiToken
- type PublicApiTokenIp
- type PublicApiTokenLoad
- type PublicApiTokenResponsePostDump
- type Service
- type ServiceApiGetServiceIdResourceOpts
- type ServiceApiGetServiceManageableResourceOpts
- type ServiceApiGetServiceManagedReqResourceOpts
- type ServiceApiGetServiceResourceOpts
- type ServiceApiGetServiceTypeResourceOpts
- type ServiceApiPostServiceIdValidateCouponResourceOpts
- type ServiceApiService
- func (a *ServiceApiService) GetServiceIdResource(ctx context.Context, serviceId int32, ...) (Service, *http.Response, error)
- func (a *ServiceApiService) GetServiceManageableResource(ctx context.Context, serviceId int32, ...) (ServiceManageable, *http.Response, error)
- func (a *ServiceApiService) GetServiceManagedReqResource(ctx context.Context, ...) (ServiceManagedReq, *http.Response, error)
- func (a *ServiceApiService) GetServiceResource(ctx context.Context, status string, ...) ([]FastServiceDump, *http.Response, error)
- func (a *ServiceApiService) GetServiceTypeResource(ctx context.Context, localVarOptionals *ServiceApiGetServiceTypeResourceOpts) ([]ServiceType, *http.Response, error)
- func (a *ServiceApiService) PostServiceIdApplyCouponResource(ctx context.Context, serviceId int32, payload CartCoupon) (*http.Response, error)
- func (a *ServiceApiService) PostServiceIdValidateCouponResource(ctx context.Context, serviceId int32, payload CartCoupon, ...) (ValidateCartCouponDump, *http.Response, error)
- type ServiceBandwidthBilling
- type ServiceManageable
- type ServiceManagedReq
- type ServiceOption
- type ServiceOptionData
- type ServiceType
- type Services
- type SshKey
- type SshKeyApiGetSshKeyIdResourceOpts
- type SshKeyApiGetSshKeyResourceOpts
- type SshKeyApiPostSshKeyResourceOpts
- type SshKeyApiPutSshKeyIdResourceOpts
- type SshKeyApiService
- func (a *SshKeyApiService) DeleteSshKeyIdResource(ctx context.Context, sshKeyId int32) (*http.Response, error)
- func (a *SshKeyApiService) GetSshKeyIdResource(ctx context.Context, sshKeyId int32, ...) (SshKeyResponse, *http.Response, error)
- func (a *SshKeyApiService) GetSshKeyResource(ctx context.Context, localVarOptionals *SshKeyApiGetSshKeyResourceOpts) ([]SshKeyResponse, *http.Response, error)
- func (a *SshKeyApiService) PostSshKeyResource(ctx context.Context, payload SshKey, ...) (SshKeyResponse, *http.Response, error)
- func (a *SshKeyApiService) PutSshKeyIdResource(ctx context.Context, sshKeyId int32, payload SshKeyUpdate, ...) (SshKeyResponse, *http.Response, error)
- type SshKeyResponse
- type SshKeyUpdate
- type Stock
- type Ticket
- type TicketApiGetTicketIdResourceOpts
- type TicketApiGetTicketReplyResourceOpts
- type TicketApiGetTicketResourceOpts
- type TicketApiGetTicketSearchResourceOpts
- type TicketApiPostTicketReplyResourceOpts
- type TicketApiPostTicketResourceOpts
- type TicketApiPutTicketIdResourceOpts
- type TicketApiService
- func (a *TicketApiService) GetTicketIdResource(ctx context.Context, ticketId int32, ...) (Ticket, *http.Response, error)
- func (a *TicketApiService) GetTicketReplyResource(ctx context.Context, ticketId int32, ...) ([]TicketPost, *http.Response, error)
- func (a *TicketApiService) GetTicketResource(ctx context.Context, localVarOptionals *TicketApiGetTicketResourceOpts) ([]Ticket, *http.Response, error)
- func (a *TicketApiService) GetTicketSearchResource(ctx context.Context, localVarOptionals *TicketApiGetTicketSearchResourceOpts) (TicketSeachResult, *http.Response, error)
- func (a *TicketApiService) PostTicketReplyResource(ctx context.Context, ticketId int32, payload TicketCreateReply, ...) (TicketPost, *http.Response, error)
- func (a *TicketApiService) PostTicketResource(ctx context.Context, payload TicketCreate, ...) (Ticket, *http.Response, error)
- func (a *TicketApiService) PutTicketIdResource(ctx context.Context, ticketId int32, payload TicketPut, ...) (Ticket, *http.Response, error)
- type TicketAttach
- type TicketCreate
- type TicketCreateReply
- type TicketPost
- type TicketPut
- type TicketSeachResult
- type TokenApiGetTokenResourceOpts
- type TokenApiPostTokenResourceOpts
- type TokenApiPutTokenResourceOpts
- type TokenApiService
- func (a *TokenApiService) DeleteTokenResource(ctx context.Context, payload DeleteApiTokenLoad) (*http.Response, error)
- func (a *TokenApiService) GetTokenResource(ctx context.Context, localVarOptionals *TokenApiGetTokenResourceOpts) ([]PublicApiHideTokenDump, *http.Response, error)
- func (a *TokenApiService) PostTokenResource(ctx context.Context, payload PublicApiToken, ...) (PublicApiTokenResponsePostDump, *http.Response, error)
- func (a *TokenApiService) PutTokenResource(ctx context.Context, payload PublicApiTokenLoad, ...) (PublicApiHideTokenDump, *http.Response, error)
- type TotalActiveCredit
- type UpdateDevicesIpmiThresholds
- type UpdateIgnition
- type VLANApiGetVlanIdResourceOpts
- type VLANApiGetVlanResourceOpts
- type VLANApiPostVlanIdClearResourceOpts
- type VLANApiPostVlanResourceOpts
- type VLANApiPutVlanIdResourceOpts
- type VLANApiService
- func (a *VLANApiService) DeleteVlanIdResource(ctx context.Context, vlanId int32) (*http.Response, error)
- func (a *VLANApiService) GetVlanIdResource(ctx context.Context, vlanId int32, ...) (Vlan, *http.Response, error)
- func (a *VLANApiService) GetVlanResource(ctx context.Context, localVarOptionals *VLANApiGetVlanResourceOpts) ([]Vlan, *http.Response, error)
- func (a *VLANApiService) PostVlanIdClearResource(ctx context.Context, vlanId int32, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VLANApiService) PostVlanResource(ctx context.Context, payload VlanCreate, ...) (Vlan, *http.Response, error)
- func (a *VLANApiService) PutVlanIdResource(ctx context.Context, vlanId int32, payload VlanUpdate, ...) (NetworkTaskDump, *http.Response, error)
- type VPSApiDeleteVpsIdNetworkRemoveResourceOpts
- type VPSApiDeleteVpsNetworkIdResourceOpts
- type VPSApiDeleteVpsSecondaryIpRemoveResourceOpts
- type VPSApiDeleteVpsSnapshotIdResourceOpts
- type VPSApiDeleteVpsSnapshotScheduleIdResourceOpts
- type VPSApiDeleteVpsVolumeIdResourceOpts
- type VPSApiDeleteVpsisoIdResourceOpts
- type VPSApiGetVpsAvailableNewVolumesResourceOpts
- type VPSApiGetVpsAvailableUpgradeSizesResourceOpts
- type VPSApiGetVpsIdEventsResourceOpts
- type VPSApiGetVpsIdResourceOpts
- type VPSApiGetVpsMetricsResourceOpts
- type VPSApiGetVpsNetworkIdResourceOpts
- type VPSApiGetVpsNetworkResourceOpts
- type VPSApiGetVpsResourceOpts
- type VPSApiGetVpsSecondaryIpAddResourceOpts
- type VPSApiGetVpsSnapshotIdResourceOpts
- type VPSApiGetVpsSnapshotResourceOpts
- type VPSApiGetVpsSnapshotScheduleIdResourceOpts
- type VPSApiGetVpsSnapshotScheduleResourceOpts
- type VPSApiGetVpsVolumeIdResourceOpts
- type VPSApiGetVpsVolumeResourceOpts
- type VPSApiGetVpsisoIdResourceOpts
- type VPSApiGetVpsisoResourceOpts
- type VPSApiPostVpsAttachIsoResourceOpts
- type VPSApiPostVpsAttachVolumeResourceOpts
- type VPSApiPostVpsConsoleAccessResourceOpts
- type VPSApiPostVpsDetachIsoResourceOpts
- type VPSApiPostVpsDetachVolumeResourceOpts
- type VPSApiPostVpsIdNetworkAddResourceOpts
- type VPSApiPostVpsNetworkResourceOpts
- type VPSApiPostVpsSecondaryIpAddResourceOpts
- type VPSApiPostVpsSnapshotIdResourceOpts
- type VPSApiPostVpsSnapshotResourceOpts
- type VPSApiPostVpsSnapshotScheduleResourceOpts
- type VPSApiPostVpsVolumeResourceOpts
- type VPSApiPostVpsisoResourceOpts
- type VPSApiPutVpsIdResourceOpts
- type VPSApiPutVpsNetworkIdResourceOpts
- type VPSApiPutVpsResetPasswordResourceOpts
- type VPSApiPutVpsVolumeIdResourceOpts
- type VPSApiService
- func (a *VPSApiService) DeleteVpsIdNetworkRemoveResource(ctx context.Context, deviceId int32, networkId string, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) DeleteVpsNetworkIdResource(ctx context.Context, networkId string, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) DeleteVpsSecondaryIpRemoveResource(ctx context.Context, deviceId int32, ipAssignmentId int32, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) DeleteVpsSnapshotIdResource(ctx context.Context, snapshotId string, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) DeleteVpsSnapshotScheduleIdResource(ctx context.Context, snapshotScheduleId string, ...) (*http.Response, error)
- func (a *VPSApiService) DeleteVpsVolumeIdResource(ctx context.Context, volumeId string, payload VpsVolumeDelete, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) DeleteVpsisoIdResource(ctx context.Context, isoId string, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) GetVpsAvailableNewVolumesResource(ctx context.Context, ...) (VpsAvailableNewVolumeSizes, *http.Response, error)
- func (a *VPSApiService) GetVpsAvailableUpgradeSizesResource(ctx context.Context, volumeId string, ...) (VpsAvailableUpgradeSizes, *http.Response, error)
- func (a *VPSApiService) GetVpsIdEventsResource(ctx context.Context, deviceId int32, ...) ([]VpsEvent, *http.Response, error)
- func (a *VPSApiService) GetVpsIdResource(ctx context.Context, deviceId int32, ...) (Vps, *http.Response, error)
- func (a *VPSApiService) GetVpsMetricsResource(ctx context.Context, deviceId int32, metricType string, ...) (VpsMetricsResponse, *http.Response, error)
- func (a *VPSApiService) GetVpsNetworkIdResource(ctx context.Context, networkId string, ...) (VpsNetwork, *http.Response, error)
- func (a *VPSApiService) GetVpsNetworkResource(ctx context.Context, localVarOptionals *VPSApiGetVpsNetworkResourceOpts) ([]VpsNetwork, *http.Response, error)
- func (a *VPSApiService) GetVpsResource(ctx context.Context, localVarOptionals *VPSApiGetVpsResourceOpts) ([]Vps, *http.Response, error)
- func (a *VPSApiService) GetVpsSecondaryIpAddResource(ctx context.Context, deviceId int32, ...) ([]IpAssignment, *http.Response, error)
- func (a *VPSApiService) GetVpsSelfMetadataResource(ctx context.Context) (*http.Response, error)
- func (a *VPSApiService) GetVpsSnapshotIdResource(ctx context.Context, snapshotId string, ...) (VpsSnapshot, *http.Response, error)
- func (a *VPSApiService) GetVpsSnapshotResource(ctx context.Context, localVarOptionals *VPSApiGetVpsSnapshotResourceOpts) ([]VpsSnapshot, *http.Response, error)
- func (a *VPSApiService) GetVpsSnapshotScheduleIdResource(ctx context.Context, snapshotScheduleId string, ...) (VpsSnapshotSchedule, *http.Response, error)
- func (a *VPSApiService) GetVpsSnapshotScheduleResource(ctx context.Context, ...) ([]VpsSnapshotSchedule, *http.Response, error)
- func (a *VPSApiService) GetVpsVolumeIdResource(ctx context.Context, volumeId string, ...) (VpsVolume, *http.Response, error)
- func (a *VPSApiService) GetVpsVolumeResource(ctx context.Context, localVarOptionals *VPSApiGetVpsVolumeResourceOpts) ([]VpsVolume, *http.Response, error)
- func (a *VPSApiService) GetVpsisoIdResource(ctx context.Context, isoId string, ...) (Vpsiso, *http.Response, error)
- func (a *VPSApiService) GetVpsisoResource(ctx context.Context, localVarOptionals *VPSApiGetVpsisoResourceOpts) ([]Vpsiso, *http.Response, error)
- func (a *VPSApiService) PostVpsAttachIsoResource(ctx context.Context, deviceId int32, payload VpsisoAttach, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PostVpsAttachVolumeResource(ctx context.Context, volumeId string, deviceId int32, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PostVpsConsoleAccessResource(ctx context.Context, deviceId int32, ...) (VpsConsoleAccess, *http.Response, error)
- func (a *VPSApiService) PostVpsDetachIsoResource(ctx context.Context, deviceId int32, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PostVpsDetachVolumeResource(ctx context.Context, volumeId string, deviceId int32, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PostVpsIdNetworkAddResource(ctx context.Context, deviceId int32, payload VpsInstanceNetworkAdd, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PostVpsNetworkResource(ctx context.Context, payload VpsNetworkCreate, ...) (VpsNetwork, *http.Response, error)
- func (a *VPSApiService) PostVpsResetPasswordResource(ctx context.Context, deviceId int32) (*http.Response, error)
- func (a *VPSApiService) PostVpsSecondaryIpAddResource(ctx context.Context, deviceId int32, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PostVpsSnapshotIdResource(ctx context.Context, snapshotId string, payload VpsSnapshotRestore, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PostVpsSnapshotResource(ctx context.Context, payload VpsSnapshotCreate, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PostVpsSnapshotScheduleResource(ctx context.Context, payload VpsSnapshotScheduleCreate, ...) (VpsSnapshotSchedule, *http.Response, error)
- func (a *VPSApiService) PostVpsVolumeResource(ctx context.Context, payload VpsVolumeCreate, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PostVpsisoResource(ctx context.Context, payload VpsisoCreate, ...) (Vpsiso, *http.Response, error)
- func (a *VPSApiService) PutVpsIdResource(ctx context.Context, deviceId int32, payload VpsUpdate, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PutVpsNetworkIdResource(ctx context.Context, networkId string, payload VpsNetworkUpdate, ...) (NetworkTaskDump, *http.Response, error)
- func (a *VPSApiService) PutVpsResetPasswordResource(ctx context.Context, deviceId int32, payload VpsResetRootPassword, ...) (*http.Response, error)
- func (a *VPSApiService) PutVpsVolumeIdResource(ctx context.Context, volumeId string, payload VpsVolumeUpdate, ...) (NetworkTaskDump, *http.Response, error)
- type ValidateCartCouponDump
- type ValidateCartCoupondumpCoupon
- type Vlan
- type VlanCreate
- type VlanUpdate
- type Vps
- type VpsAvailableNewVolumeSizes
- type VpsAvailableUpgradeSizes
- type VpsConsoleAccess
- type VpsEvent
- type VpsInstanceNetworkAdd
- type VpsMetricsResponse
- type VpsNetwork
- type VpsNetworkCreate
- type VpsNetworkInterface
- type VpsNetworkUpdate
- type VpsResetRootPassword
- type VpsSnapshot
- type VpsSnapshotCreate
- type VpsSnapshotRestore
- type VpsSnapshotSchedule
- type VpsSnapshotScheduleCreate
- type VpsUpdate
- type VpsVolume
- type VpsVolumeCreate
- type VpsVolumeDelete
- type VpsVolumeProduct
- type VpsVolumeUpdate
- type Vpsiso
- type VpsisoAttach
- type VpsisoCreate
- type Webhook
- type WebhookApiGetWebhookEventResourceOpts
- type WebhookApiGetWebhookIdResourceOpts
- type WebhookApiGetWebhookResourceOpts
- type WebhookApiPostEventScriptActionTriggerResourceOpts
- type WebhookApiPostWebhookResourceOpts
- type WebhookApiPutWebhookIdResourceOpts
- type WebhookApiService
- func (a *WebhookApiService) DeleteWebhookIdResource(ctx context.Context, webhookId int32) (*http.Response, error)
- func (a *WebhookApiService) GetWebhookEventResource(ctx context.Context, localVarOptionals *WebhookApiGetWebhookEventResourceOpts) ([]WebhookEvent, *http.Response, error)
- func (a *WebhookApiService) GetWebhookIdResource(ctx context.Context, webhookId int32, ...) (Webhook, *http.Response, error)
- func (a *WebhookApiService) GetWebhookResource(ctx context.Context, localVarOptionals *WebhookApiGetWebhookResourceOpts) ([]Webhook, *http.Response, error)
- func (a *WebhookApiService) PostEventScriptActionTriggerResource(ctx context.Context, ...) (*http.Response, error)
- func (a *WebhookApiService) PostWebhookResource(ctx context.Context, payload WebhookCreate, ...) (Webhook, *http.Response, error)
- func (a *WebhookApiService) PutWebhookIdResource(ctx context.Context, webhookId int32, payload WebhookUpdate, ...) (Webhook, *http.Response, error)
- type WebhookCreate
- type WebhookEvent
- type WebhookUpdate
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { AccountApi *AccountApiService BandwidthApi *BandwidthApiService BareMetalDevicesApi *BareMetalDevicesApiService BillingInfoApi *BillingInfoApiService CancellationsApi *CancellationsApiService ComputeDevicesApi *ComputeDevicesApiService ContactApi *ContactApiService CreditApi *CreditApiService DeploymentApi *DeploymentApiService DeviceApi *DeviceApiService DomainsApi *DomainsApiService IPAssignmentApi *IPAssignmentApiService IgnitionApi *IgnitionApiService InventoryApi *InventoryApiService InvoiceApi *InvoiceApiService MaintenanceApi *MaintenanceApiService NetworkApi *NetworkApiService OrderApi *OrderApiService OrderGroupsApi *OrderGroupsApiService PermissionApi *PermissionApiService ProductApi *ProductApiService ProfileApi *ProfileApiService ServiceApi *ServiceApiService SshKeyApi *SshKeyApiService TicketApi *TicketApiService TokenApi *TokenApiService VLANApi *VLANApiService VPSApi *VPSApiService WebhookApi *WebhookApiService // contains filtered or unexported fields }
APIClient manages communication with the Hivelocity API API v2.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AaaaRecordCreate ¶
type AaaaRecordReturn ¶
type AaaaRecordUpdate ¶
type AccountApiService ¶
type AccountApiService service
func (*AccountApiService) GetAccountCreate ¶
func (a *AccountApiService) GetAccountCreate(ctx context.Context, localVarOptionals *AccountApiGetAccountCreateOpts) ([]ControlledClientDump, *http.Response, error)
func (*AccountApiService) PostAccountCreate ¶
func (a *AccountApiService) PostAccountCreate(ctx context.Context, payload CreateEnterpriseControlledClient, localVarOptionals *AccountApiPostAccountCreateOpts) (ClientCreateDump, *http.Response, error)
func (*AccountApiService) PutAccountCreate ¶
func (a *AccountApiService) PutAccountCreate(ctx context.Context, payload DeactivateEnterpriseControlledClient, localVarOptionals *AccountApiPutAccountCreateOpts) (ControlledClientDump, *http.Response, error)
type Bandwidth ¶
type Bandwidth struct { // Returns metadata about the query including the 95th percentile values of the returned data, legend for returned data arrays, and query args passed to the query. Metadata interface{} `json:"metadata,omitempty"` // Returns an array where each item contains a dictionary of data and an identifier for each requested interface. The data itself is an array of arrays where each item is the measurementat the requested `step` and the index of each integer value corresponds with the legend returned in the `metadata`. BandwidthData [][]float32 `json:"bandwidthData,omitempty"` // The interface(s) displayed in the image. Interface_ string `json:"interface,omitempty"` // The unique ID of the switch where bandwidth data is measured. SwitchId string `json:"switchId,omitempty"` }
type BandwidthApiService ¶
type BandwidthApiService service
func (*BandwidthApiService) PostDeviceIdBandwidthImageResource ¶
func (a *BandwidthApiService) PostDeviceIdBandwidthImageResource(ctx context.Context, deviceId int32, period string, interface_ string, localVarOptionals *BandwidthApiPostDeviceIdBandwidthImageResourceOpts) ([]BandwidthImage, *http.Response, error)
func (*BandwidthApiService) PostDeviceIdBandwidthResource ¶
func (*BandwidthApiService) PostServiceIdBandwidthImageResource ¶
func (a *BandwidthApiService) PostServiceIdBandwidthImageResource(ctx context.Context, serviceId int32, period string, interface_ string, localVarOptionals *BandwidthApiPostServiceIdBandwidthImageResourceOpts) ([]BandwidthImage, *http.Response, error)
func (*BandwidthApiService) PostServiceIdBandwidthResource ¶
type BandwidthImage ¶
type BandwidthImage struct { // A PNG image of bandwidth usage. GraphImage string `json:"graphImage,omitempty"` // The interface(s) displayed in the image. Interface_ string `json:"interface,omitempty"` // The unique ID of the switch where bandwidth data is measured. SwitchId string `json:"switchId,omitempty"` }
type BareMetalDevice ¶
type BareMetalDevice struct { // A facility code. For example `NYC1`. LocationName string `json:"locationName,omitempty"` VlanId int32 `json:"vlanId,omitempty"` // The unique ID of the service associated with this device. ServiceId int32 `json:"serviceId,omitempty"` // The post-install/cloud-init script used during this device's last provisioning. Script string `json:"script,omitempty"` // The first assigned public IP for accessing this device. PrimaryIp string `json:"primaryIp,omitempty"` // The unique ID of the device. DeviceId int32 `json:"deviceId,omitempty"` // The unique ID of the order for this device. OrderId int32 `json:"orderId,omitempty"` // ON|OFF PowerStatus string `json:"powerStatus,omitempty"` // The name of the operating system currently installed on this device. Note: If you manually reload your own OS over IPMI this value may not reflect the OS currently on your device. OsName string `json:"osName,omitempty"` // The user specified hostname for the device. Note: If the hostname is changed in the portal or on the device itself this value may not reflect the actual hostname on the device. Hostname string `json:"hostname,omitempty"` // Contents of custom iPXE used to provision device CustomIPXEScriptContents string `json:"customIPXEScriptContents,omitempty"` // The name of the product associated with this device. ProductName string `json:"productName,omitempty"` // User specified values. Tags []string `json:"tags,omitempty"` // The unique ID of the product associated with this device. ProductId int32 `json:"productId,omitempty"` PublicSshKeyId int32 `json:"publicSshKeyId,omitempty"` // This device's service's billing period. Period string `json:"period,omitempty"` // URL of custom iPXE script used to provision device CustomIPXEScriptURL string `json:"customIPXEScriptURL,omitempty"` }
type BareMetalDeviceBatch ¶
type BareMetalDeviceBatch struct { // Unique ID of the group order. OrderGroupId int32 `json:"orderGroupId,omitempty"` // List of provisioned devices. Devices []BareMetalDevice `json:"devices,omitempty"` }
type BareMetalDeviceBatchCreate ¶
type BareMetalDeviceBatchCreate struct { // Unique ID to identify the group order. OrderGroupId int32 `json:"orderGroupId,omitempty"` // List of devices to provision. Devices []BareMetalDeviceCreate `json:"devices,omitempty"` }
type BareMetalDeviceCreate ¶
type BareMetalDeviceCreate struct { // A facility code. For example `NYC1`. LocationName string `json:"locationName"` VlanId int32 `json:"vlanId,omitempty"` // For users with reserved devices. The unique ID of the target device to provision. ForceDeviceId int32 `json:"forceDeviceId,omitempty"` // The name of the Operating System to provision on this device. Must match name of an operating system product option. OsName string `json:"osName"` // A FQDN for the device. For example: `example.hivelocity.net` Hostname string `json:"hostname"` // Contents of iPXE script if not supplying URL CustomIPXEScriptContents string `json:"customIPXEScriptContents,omitempty"` // hourly|monthly|quarterly|semi-annually|annually|biennial|triennial Period string `json:"period,omitempty"` // User specified values. Tags []string `json:"tags,omitempty"` // The unique ID of an Ignition File for FlatcarOS provisions. IgnitionId int32 `json:"ignitionId,omitempty"` // The unique ID of the desired product to provision. ProductId int32 `json:"productId"` PublicSshKeyId int32 `json:"publicSshKeyId,omitempty"` // A Cloud-Init script or a post-install script (Bash for Linux or Powershell for Windows). Script string `json:"script,omitempty"` // URL to download custom iPXE script if not supplying script in entirety CustomIPXEScriptURL string `json:"customIPXEScriptURL,omitempty"` // If true, ensures the provisioned device supports port bonding. If false, ensures no bonding support. BondingSupport bool `json:"bondingSupport,omitempty"` }
type BareMetalDeviceUpdate ¶
type BareMetalDeviceUpdate struct { // Whether to force a reload even if fields have not changed ForceReload bool `json:"forceReload,omitempty"` // The name of the Operating System to provision on this device. Must match name of an operating system product option. OsName string `json:"osName"` // A FQDN for the device. For example: `example.hivelocity.net` Hostname string `json:"hostname"` // Contents of iPXE script if not specifying URL. If both script URL and contents are not specified, the last iPXE script contents are used if OS selection requires an iPXE script. CustomIPXEScriptContents string `json:"customIPXEScriptContents,omitempty"` Tags []string `json:"tags,omitempty"` // The unique ID of an Ignition File for FlatcarOS provisions. IgnitionId int32 `json:"ignitionId,omitempty"` PublicSshKeyId int32 `json:"publicSshKeyId,omitempty"` // A Cloud-Init script or a post-install script (Bash for Linux or Powershell for Windows). Script string `json:"script,omitempty"` // URL to download custom iPXE script if not specifying contents in entirety. If both script URL and contents are not specified, the last iPXE script contents are used if OS selection requires an iPXE script. CustomIPXEScriptURL string `json:"customIPXEScriptURL,omitempty"` }
type BareMetalDevicesApiService ¶
type BareMetalDevicesApiService service
func (*BareMetalDevicesApiService) DeleteBareMetalDeviceIdResource ¶
func (a *BareMetalDevicesApiService) DeleteBareMetalDeviceIdResource(ctx context.Context, deviceId int32) (*http.Response, error)
BareMetalDevicesApiService Cancel/delete device
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deviceId
func (*BareMetalDevicesApiService) GetBareMetalDeviceIdResource ¶
func (a *BareMetalDevicesApiService) GetBareMetalDeviceIdResource(ctx context.Context, deviceId int32, localVarOptionals *BareMetalDevicesApiGetBareMetalDeviceIdResourceOpts) (BareMetalDevice, *http.Response, error)
func (*BareMetalDevicesApiService) GetBareMetalDeviceResource ¶
func (a *BareMetalDevicesApiService) GetBareMetalDeviceResource(ctx context.Context, localVarOptionals *BareMetalDevicesApiGetBareMetalDeviceResourceOpts) ([]BareMetalDevice, *http.Response, error)
func (*BareMetalDevicesApiService) PostBareMetalDeviceBatchResource ¶
func (a *BareMetalDevicesApiService) PostBareMetalDeviceBatchResource(ctx context.Context, payload BareMetalDeviceBatchCreate, localVarOptionals *BareMetalDevicesApiPostBareMetalDeviceBatchResourceOpts) (BareMetalDeviceBatch, *http.Response, error)
func (*BareMetalDevicesApiService) PostBareMetalDeviceResource ¶
func (a *BareMetalDevicesApiService) PostBareMetalDeviceResource(ctx context.Context, payload BareMetalDeviceCreate, localVarOptionals *BareMetalDevicesApiPostBareMetalDeviceResourceOpts) (BareMetalDevice, *http.Response, error)
func (*BareMetalDevicesApiService) PutBareMetalDeviceIdResource ¶
func (a *BareMetalDevicesApiService) PutBareMetalDeviceIdResource(ctx context.Context, deviceId int32, payload BareMetalDeviceUpdate, localVarOptionals *BareMetalDevicesApiPutBareMetalDeviceIdResourceOpts) (BareMetalDevice, *http.Response, error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BasicProfileDump ¶
type BasicProfileDump struct { Login string `json:"login,omitempty"` First string `json:"first,omitempty"` Id int32 `json:"id,omitempty"` State interface{} `json:"state,omitempty"` Zip interface{} `json:"zip,omitempty"` Email string `json:"email,omitempty"` Company interface{} `json:"company,omitempty"` Last string `json:"last,omitempty"` City interface{} `json:"city,omitempty"` MetaData interface{} `json:"metaData,omitempty"` FullName interface{} `json:"fullName,omitempty"` IsClient bool `json:"isClient,omitempty"` Country interface{} `json:"country,omitempty"` }
type BillingInfo ¶
type BillingInfo struct { // The first name of the individual associated with the billing ID First string `json:"first,omitempty"` // The bank account number AchAccount string `json:"achAccount,omitempty"` // The state associated with the billing ID State string `json:"state,omitempty"` // The zip/postal code associated with the billing ID Zip string `json:"zip,omitempty"` // The name of the bank associated with the billing ID AchBank string `json:"achBank,omitempty"` // The email address associated with the billing ID Email string `json:"email,omitempty"` // The company name associated with the billing ID Company string `json:"company,omitempty"` // The bank account type (Checking or Savings) AchType string `json:"achType,omitempty"` // The street address associated with the billing ID Address string `json:"address,omitempty"` // The verification status of the Credit Card in question IsCCVerified bool `json:"isCCVerified,omitempty"` // Yes or No for the Pending Verification status PendingVerification bool `json:"pendingVerification,omitempty"` // The unique Billing ID used to associate Billing Info Id int32 `json:"id,omitempty"` // The last name of the individual associated with the billing ID Last string `json:"last,omitempty"` // True if this is the default payment method for future orders Default_ bool `json:"default,omitempty"` // The country associated with the billing ID Country string `json:"country,omitempty"` // The expiration date for the credit card CcExpire string `json:"ccExpire,omitempty"` // The active status associated with the billing ID (0/1) Status int32 `json:"status,omitempty"` // The credit card network associated with the billing ID CcType string `json:"ccType,omitempty"` // The city associated with the billing ID in question City string `json:"city,omitempty"` // The credit card account number CcNum string `json:"ccNum,omitempty"` // The identification number for the client associated with the Billing info ID ClientId int32 `json:"clientId,omitempty"` // The bank routing number AchAba string `json:"achAba,omitempty"` // The type of payment associated with the billing ID ie: CC, ACH etc PaymentType string `json:"paymentType,omitempty"` // The phone number associated with the billing ID Phone string `json:"phone,omitempty"` }
type BillingInfoApiDeleteBillingInfoIdResourceOpts ¶ added in v0.2.0
type BillingInfoApiGetBillingInfoIdResourceOpts ¶ added in v0.2.0
type BillingInfoApiGetPaymentMethodsEnableReadResourceOpts ¶ added in v0.2.0
type BillingInfoApiPostBillingInfoBankAccountCreateResourceOpts ¶ added in v0.2.0
type BillingInfoApiPostBillingInfoCreditCardCreateResourceOpts ¶ added in v0.2.0
type BillingInfoApiPutBillingInfoBankAccountUpdateResourceOpts ¶ added in v0.2.0
type BillingInfoApiPutBillingInfoCreditCardUpdateResourceOpts ¶ added in v0.2.0
type BillingInfoApiService ¶
type BillingInfoApiService service
func (*BillingInfoApiService) DeleteBillingInfoIdResource ¶ added in v0.2.0
func (a *BillingInfoApiService) DeleteBillingInfoIdResource(ctx context.Context, billingInfoId int32, localVarOptionals *BillingInfoApiDeleteBillingInfoIdResourceOpts) (*http.Response, error)
func (*BillingInfoApiService) GetBillingInfoIdResource ¶ added in v0.2.0
func (a *BillingInfoApiService) GetBillingInfoIdResource(ctx context.Context, billingInfoId int32, localVarOptionals *BillingInfoApiGetBillingInfoIdResourceOpts) (BillingInfo, *http.Response, error)
func (*BillingInfoApiService) GetBillingInfoResource ¶
func (a *BillingInfoApiService) GetBillingInfoResource(ctx context.Context, localVarOptionals *BillingInfoApiGetBillingInfoResourceOpts) ([]BillingInfo, *http.Response, error)
func (*BillingInfoApiService) GetPaymentMethodsEnableReadResource ¶ added in v0.2.0
func (a *BillingInfoApiService) GetPaymentMethodsEnableReadResource(ctx context.Context, localVarOptionals *BillingInfoApiGetPaymentMethodsEnableReadResourceOpts) (PaymentMethodsEnabled, *http.Response, error)
func (*BillingInfoApiService) PostBillingInfoBankAccountCreateResource ¶ added in v0.2.0
func (a *BillingInfoApiService) PostBillingInfoBankAccountCreateResource(ctx context.Context, payload BillingInfoCreateBankAccount, localVarOptionals *BillingInfoApiPostBillingInfoBankAccountCreateResourceOpts) (BillingInfo, *http.Response, error)
func (*BillingInfoApiService) PostBillingInfoCreditCardCreateResource ¶ added in v0.2.0
func (a *BillingInfoApiService) PostBillingInfoCreditCardCreateResource(ctx context.Context, payload BillingInfoCreateCreditCard, localVarOptionals *BillingInfoApiPostBillingInfoCreditCardCreateResourceOpts) (BillingInfo, *http.Response, error)
func (*BillingInfoApiService) PostBillingInfoResource ¶
func (a *BillingInfoApiService) PostBillingInfoResource(ctx context.Context, payload BillingInfoVerification, localVarOptionals *BillingInfoApiPostBillingInfoResourceOpts) (BillingInfo, *http.Response, error)
func (*BillingInfoApiService) PutBillingInfoBankAccountUpdateResource ¶ added in v0.2.0
func (a *BillingInfoApiService) PutBillingInfoBankAccountUpdateResource(ctx context.Context, billingInfoId int32, payload BillingInfoCreateBankAccount, localVarOptionals *BillingInfoApiPutBillingInfoBankAccountUpdateResourceOpts) (BillingInfo, *http.Response, error)
func (*BillingInfoApiService) PutBillingInfoCreditCardUpdateResource ¶ added in v0.2.0
func (a *BillingInfoApiService) PutBillingInfoCreditCardUpdateResource(ctx context.Context, billingInfoId int32, payload BillingInfoCreateCreditCard, localVarOptionals *BillingInfoApiPutBillingInfoCreditCardUpdateResourceOpts) (BillingInfo, *http.Response, error)
func (*BillingInfoApiService) PutBillingInfoResource ¶
func (a *BillingInfoApiService) PutBillingInfoResource(ctx context.Context, payload BillingInfoVerification, localVarOptionals *BillingInfoApiPutBillingInfoResourceOpts) (Credit, *http.Response, error)
type BillingInfoCreateBankAccount ¶ added in v0.2.0
type BillingInfoCreateBankAccount struct { // The first name of the individual associated with the billing ID First string `json:"first"` // The street address associated with the billing ID Address string `json:"address"` // Make this the default payment method for future orders SetDefault bool `json:"setDefault,omitempty"` // Make this the default payment method for all services in the client's account DefaultAllServices bool `json:"defaultAllServices,omitempty"` // The bank account number AchAccount string `json:"achAccount"` // The state associated with the billing ID State string `json:"state"` // The zip/postal code associated with the billing ID Zip string `json:"zip"` // The name of the bank associated with the billing ID AchBank string `json:"achBank"` // The last name of the individual associated with the billing ID Last string `json:"last"` // The company name associated with the billing ID Company string `json:"company,omitempty"` // The email address associated with the billing ID Email string `json:"email"` // The city associated with the billing ID in question City string `json:"city"` // The identification number for the client associated with the Billing Info ID ClientId int32 `json:"clientId,omitempty"` // The bank routing number AchAba string `json:"achAba"` // The phone number associated with the billing ID Phone string `json:"phone"` // The 2 digit country code associated with the billing ID Country string `json:"country"` // The bank account type (`C` for Checking or `S` for Savings) AchType string `json:"achType"` }
type BillingInfoCreateCreditCard ¶ added in v0.2.0
type BillingInfoCreateCreditCard struct { // The first name of the individual associated with the billing ID First string `json:"first"` // The street address associated with the billing ID Address string `json:"address"` // Make this the default payment method for future orders SetDefault bool `json:"setDefault,omitempty"` // Make this the default payment method for all services in the client's account DefaultAllServices bool `json:"defaultAllServices,omitempty"` // The state associated with the billing ID State string `json:"state"` // The zip/postal code associated with the billing ID Zip string `json:"zip"` // The last name of the individual associated with the billing ID Last string `json:"last"` // The company name associated with the billing ID Company string `json:"company,omitempty"` // The email address associated with the billing ID Email string `json:"email"` // The credit card network associated with the billing ID: `visa`, `mastercard`, `discover`, `amex`, etc. CcType string `json:"ccType"` // The city associated with the billing ID in question City string `json:"city"` // The expiration month for the credit card CcExpireMonth string `json:"ccExpireMonth"` // The expiration year for the credit card with 2 digits CcExpireYear string `json:"ccExpireYear"` // The identification number for the client associated with the Billing Info ID ClientId int32 `json:"clientId,omitempty"` // The credit card account number CcNum string `json:"ccNum"` // The credit card verification number CcCvv2 string `json:"ccCvv2"` // The phone number associated with the billing ID Phone string `json:"phone"` // The 2 digit country code associated with the billing ID Country string `json:"country"` }
type BillingInfoVerification ¶
type BillingInfoVerification struct { // The unique Billing ID used to associate Billing Info Id int32 `json:"id"` // The order ID associated with this billing ID ProvisionOrderId int32 `json:"provisionOrderId,omitempty"` // The verification amount posted to the financial institution associated with the billing ID VerificationAmount float32 `json:"verificationAmount,omitempty"` }
type Cancellation ¶
type Cancellation struct { // Sales Rep ID. SalesRepId int32 `json:"salesRepId,omitempty"` // Unique ID of a service. ServiceId int32 `json:"serviceId,omitempty"` // Type of the coupon. CouponType string `json:"couponType,omitempty"` // Date of cancellation completion. DeletedAt time.Time `json:"deletedAt,omitempty"` // True if cancel completed. Cancelled bool `json:"cancelled,omitempty"` // Date of cancellation. CancelDate time.Time `json:"cancelDate,omitempty"` // Unique ID of a device. DeviceId int32 `json:"deviceId,omitempty"` // Date of cancel request submission. StartDate time.Time `json:"startDate,omitempty"` // Code of the coupon. CouponCode string `json:"couponCode,omitempty"` // Details why the device is being cancelled Comments string `json:"comments,omitempty"` // Name of the coupon used. CouponName string `json:"couponName,omitempty"` // The number of months the target device has been active. ActiveMonths int32 `json:"activeMonths,omitempty"` // Unique ID of the cancellation request. Id int32 `json:"id,omitempty"` // The monthly cost of the cancelled device. MonthlyPayment int32 `json:"monthlyPayment,omitempty"` // Name of user who submitted the request Name string `json:"name,omitempty"` // Deprecated. PlanId int32 `json:"planId,omitempty"` // The requested cancellation date, if specified. RequestDate time.Time `json:"requestDate,omitempty"` // Unique ID of a client. ClientId int32 `json:"clientId,omitempty"` // Value of the coupon. CouponValue int32 `json:"couponValue,omitempty"` // Reason Reason string `json:"reason,omitempty"` }
type CancellationCreate ¶
type CancellationCreate struct { // Unique ID of a device. Must be related to `service_id`. DeviceId int32 `json:"deviceId"` // Details why the device is being cancelled Comments string `json:"comments,omitempty"` // Unique ID of a service. Must be related to `device_id`. ServiceId int32 `json:"serviceId"` // My current service is being upgraded|Hardware/software/network or power issues|I think I have found a better deal|I have experienced tech support problems|I am consolidating my Hivelocity accounts|I am a reseller and my customer cancelled|I am moving to a different technology solution: Public Cloud|I am moving to a different technology solution: Managed Hosting Company|A product difference (Example: AWS) Reason string `json:"reason"` }
type CancellationsApiService ¶
type CancellationsApiService service
func (*CancellationsApiService) DeleteCancellationIdDeleteResource ¶ added in v0.2.0
func (a *CancellationsApiService) DeleteCancellationIdDeleteResource(ctx context.Context, cancellationId int32) (*http.Response, error)
CancellationsApiService Delete a Cancellation
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cancellationId
func (*CancellationsApiService) GetCancellationDeviceResource ¶
func (a *CancellationsApiService) GetCancellationDeviceResource(ctx context.Context, deviceId int32, localVarOptionals *CancellationsApiGetCancellationDeviceResourceOpts) (Cancellation, *http.Response, error)
func (*CancellationsApiService) GetCancellationResource ¶
func (a *CancellationsApiService) GetCancellationResource(ctx context.Context, localVarOptionals *CancellationsApiGetCancellationResourceOpts) ([]Cancellation, *http.Response, error)
func (*CancellationsApiService) GetCancellationServiceResource ¶
func (a *CancellationsApiService) GetCancellationServiceResource(ctx context.Context, serviceId int32, localVarOptionals *CancellationsApiGetCancellationServiceResourceOpts) (Cancellation, *http.Response, error)
func (*CancellationsApiService) PostCancellationResource ¶
func (a *CancellationsApiService) PostCancellationResource(ctx context.Context, payload CancellationCreate, localVarOptionals *CancellationsApiPostCancellationResourceOpts) (Cancellation, *http.Response, error)
type CartCoupon ¶
type CartCoupon struct { // Coupon code Code string `json:"code"` }
type CartCouponDump ¶
type CartCouponDump struct { // Can apply credit to cart CanApplyCreditToCart bool `json:"canApplyCreditToCart,omitempty"` // Coupon usage type limit max_total|one_per_user|one_per_user_in_24_hours UsageTypeLimit []string `json:"usageTypeLimit,omitempty"` // Set end date HasEndDate bool `json:"hasEndDate"` // Clients ids the coupon will be available ClientIds []int32 `json:"clientIds,omitempty"` Created time.Time `json:"created,omitempty"` // Coupon expire value ExpireValue int32 `json:"expireValue,omitempty"` UsageStatistics *CartCouponUsageStatisticsDump `json:"usageStatistics,omitempty"` // Account applicable credit AccountApplicableCredit bool `json:"accountApplicableCredit,omitempty"` // Minimum purchase requirement MinimumPurchaseAmount float32 `json:"minimumPurchaseAmount,omitempty"` // Coupon value Value float32 `json:"value"` // Maximum purchase requirement max MaximumPurchaseAmount float32 `json:"maximumPurchaseAmount,omitempty"` // Coupon type %|$|credit Type_ string `json:"type"` // Coupon service eligibility none|all ServiceEligibility string `json:"serviceEligibility,omitempty"` // Eligible client rules to use this coupon block_enterprise_client|block_reseller|block_partner|has_no_purchase|has_one_purchase|has_multiple_purchase|account_created_recently CustomerEligibilityRules []string `json:"customerEligibilityRules,omitempty"` // Coupon active Active bool `json:"active,omitempty"` // Max use same cart MaxUseSameCart int32 `json:"maxUseSameCart,omitempty"` // Coupon customer eligibility all|rules|specific CustomerEligibility string `json:"customerEligibility"` Id int32 `json:"id,omitempty"` // Coupon name Name string `json:"name"` // Allow other discounts AllowOtherDiscounts bool `json:"allowOtherDiscounts"` UserLoginRequired interface{} `json:"userLoginRequired,omitempty"` // Coupon max uses MaxUsageLimit int32 `json:"maxUsageLimit,omitempty"` // Coupon max use same cart use type first_item|highest_price MaxUseSameCartUseType string `json:"maxUseSameCartUseType,omitempty"` // Coupon code Code string `json:"code"` // Coupon end date End string `json:"end,omitempty"` // Products ids the coupon will be available ProductIds []int32 `json:"productIds,omitempty"` // Coupon expire type first_billing_period|number_of_days|never_expire ExpireType string `json:"expireType"` // Coupon start date Start string `json:"start"` }
type CartCouponUsageStatisticsDump ¶ added in v0.2.0
type CartCouponUsageStatisticsDump struct { // Total of the coupon applied to existing services TotalServices int32 `json:"totalServices,omitempty"` // Total of the coupon applied to accounts TotalAccountCredits int32 `json:"totalAccountCredits,omitempty"` // Total of completed carts with coupon TotalCompletedCarts int32 `json:"totalCompletedCarts,omitempty"` // Total of carts with coupon TotalCarts int32 `json:"totalCarts,omitempty"` // Coupon total remaining TotalRemaining int32 `json:"totalRemaining,omitempty"` // Coupon total abandoned carts TotalAbandonedCarts int32 `json:"totalAbandonedCarts,omitempty"` // Coupon total uses TotalUses int32 `json:"totalUses,omitempty"` }
type CityStateCountry ¶
type Client ¶
type Client struct { Login string `json:"login,omitempty"` First string `json:"first,omitempty"` MetaData interface{} `json:"metaData,omitempty"` Id float32 `json:"id,omitempty"` State string `json:"state,omitempty"` Zip string `json:"zip,omitempty"` Email string `json:"email,omitempty"` Last string `json:"last,omitempty"` FullName string `json:"fullName,omitempty"` Company string `json:"company,omitempty"` City string `json:"city,omitempty"` IsClient bool `json:"isClient,omitempty"` Country string `json:"country,omitempty"` }
type ClientCreateDump ¶
type ClientCreateDump struct { // The street address associated with the account Address string `json:"address,omitempty"` // The first name associated with the account First string `json:"first,omitempty"` // The ID of the client/contact account Id int32 `json:"id,omitempty"` // The fax number associated with the account Fax string `json:"fax,omitempty"` // The state associated with the account State string `json:"state,omitempty"` // The zip/postal code associated with the account Zip string `json:"zip,omitempty"` // The email address associated with the account Email string `json:"email,omitempty"` // The company name associated with the account Company string `json:"company,omitempty"` // The last name associated with the account Last string `json:"last,omitempty"` // The date/time the account was created Created int32 `json:"created,omitempty"` // The country associated with the account Country string `json:"country,omitempty"` Password string `json:"password,omitempty"` // The city associated with the account City string `json:"city,omitempty"` Active bool `json:"active,omitempty"` // The phone number associated with the account Phone string `json:"phone,omitempty"` }
type ComputeDevicesApiGetBareMetalDeviceIdResourceOpts ¶ added in v0.2.0
type ComputeDevicesApiGetBareMetalDeviceResourceOpts ¶ added in v0.2.0
type ComputeDevicesApiPostBareMetalDeviceBatchResourceOpts ¶ added in v0.2.0
type ComputeDevicesApiPostBareMetalDeviceResourceOpts ¶ added in v0.2.0
type ComputeDevicesApiPutBareMetalDeviceIdResourceOpts ¶ added in v0.2.0
type ComputeDevicesApiService ¶ added in v0.2.0
type ComputeDevicesApiService service
func (*ComputeDevicesApiService) DeleteBareMetalDeviceIdResource ¶ added in v0.2.0
func (a *ComputeDevicesApiService) DeleteBareMetalDeviceIdResource(ctx context.Context, deviceId int32) (*http.Response, error)
ComputeDevicesApiService Cancel/delete device
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deviceId
func (*ComputeDevicesApiService) GetBareMetalDeviceIdResource ¶ added in v0.2.0
func (a *ComputeDevicesApiService) GetBareMetalDeviceIdResource(ctx context.Context, deviceId int32, localVarOptionals *ComputeDevicesApiGetBareMetalDeviceIdResourceOpts) (BareMetalDevice, *http.Response, error)
func (*ComputeDevicesApiService) GetBareMetalDeviceResource ¶ added in v0.2.0
func (a *ComputeDevicesApiService) GetBareMetalDeviceResource(ctx context.Context, localVarOptionals *ComputeDevicesApiGetBareMetalDeviceResourceOpts) ([]BareMetalDevice, *http.Response, error)
func (*ComputeDevicesApiService) PostBareMetalDeviceBatchResource ¶ added in v0.2.0
func (a *ComputeDevicesApiService) PostBareMetalDeviceBatchResource(ctx context.Context, payload BareMetalDeviceBatchCreate, localVarOptionals *ComputeDevicesApiPostBareMetalDeviceBatchResourceOpts) (BareMetalDeviceBatch, *http.Response, error)
func (*ComputeDevicesApiService) PostBareMetalDeviceResource ¶ added in v0.2.0
func (a *ComputeDevicesApiService) PostBareMetalDeviceResource(ctx context.Context, payload BareMetalDeviceCreate, localVarOptionals *ComputeDevicesApiPostBareMetalDeviceResourceOpts) (BareMetalDevice, *http.Response, error)
func (*ComputeDevicesApiService) PutBareMetalDeviceIdResource ¶ added in v0.2.0
func (a *ComputeDevicesApiService) PutBareMetalDeviceIdResource(ctx context.Context, deviceId int32, payload BareMetalDeviceUpdate, localVarOptionals *ComputeDevicesApiPutBareMetalDeviceIdResourceOpts) (BareMetalDevice, *http.Response, error)
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type ContactApiService ¶
type ContactApiService service
func (*ContactApiService) DeleteContactIdResource ¶
func (a *ContactApiService) DeleteContactIdResource(ctx context.Context, contactId int32) (*http.Response, error)
ContactApiService Delete a Contact
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param contactId ID of Contact to View / Update
func (*ContactApiService) GetContactIdResource ¶
func (a *ContactApiService) GetContactIdResource(ctx context.Context, contactId int32, localVarOptionals *ContactApiGetContactIdResourceOpts) (ContactDump, *http.Response, error)
func (*ContactApiService) GetContactResource ¶
func (a *ContactApiService) GetContactResource(ctx context.Context, localVarOptionals *ContactApiGetContactResourceOpts) ([]ContactDump, *http.Response, error)
func (*ContactApiService) PostContactResource ¶
func (a *ContactApiService) PostContactResource(ctx context.Context, payload ContactCreate, localVarOptionals *ContactApiPostContactResourceOpts) (ContactDump, *http.Response, error)
func (*ContactApiService) PostPasswordReset ¶
func (a *ContactApiService) PostPasswordReset(ctx context.Context, payload PasswordRequest) (*http.Response, error)
ContactApiService Receive a request to reset password, and send a link by email with token
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param payload
func (*ContactApiService) PutContactIdResource ¶
func (a *ContactApiService) PutContactIdResource(ctx context.Context, contactId int32, payload ContactUpdate, localVarOptionals *ContactApiPutContactIdResourceOpts) (ContactDump, *http.Response, error)
func (*ContactApiService) PutPasswordReset ¶
func (a *ContactApiService) PutPasswordReset(ctx context.Context, payload PasswordResponse) (*http.Response, error)
ContactApiService Receive a token and password, verify the user and reset your password
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param payload
func (*ContactApiService) PutPasswordResource ¶
func (a *ContactApiService) PutPasswordResource(ctx context.Context, contactId int32, payload Password) (*http.Response, error)
ContactApiService Change password for a Contact
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param contactId \"ID of Contact to change password\"
- @param payload
type ContactCreate ¶
type ContactDump ¶
type ContactDump struct { Email string `json:"email"` FullName string `json:"fullName"` IsClient bool `json:"isClient,omitempty"` ClientId int32 `json:"clientId,omitempty"` ReferralCode string `json:"referralCode,omitempty"` Active int32 `json:"active"` Phone string `json:"phone,omitempty"` Description string `json:"description,omitempty"` ContactId int32 `json:"contactId,omitempty"` }
type ContactUpdate ¶
type ControlledClientDump ¶
type ControlledClientDump struct { // The street address associated with the account Address string `json:"address,omitempty"` // The first name associated with the account First string `json:"first,omitempty"` // The ID of the client/contact account Id int32 `json:"id,omitempty"` // The fax number associated with the account Fax string `json:"fax,omitempty"` // The state associated with the account State string `json:"state,omitempty"` // The zip/postal code associated with the account Zip string `json:"zip,omitempty"` // The email address associated with the account Email string `json:"email,omitempty"` // The company name associated with the account Company string `json:"company,omitempty"` // The last name associated with the account Last string `json:"last,omitempty"` // The date/time the account was created Created int32 `json:"created,omitempty"` // The country associated with the account Country string `json:"country,omitempty"` // The city associated with the account City string `json:"city,omitempty"` Active bool `json:"active,omitempty"` // The phone number associated with the account Phone string `json:"phone,omitempty"` }
type CreateCredit ¶
type CreateEnterpriseControlledClient ¶
type CreateEnterpriseControlledClient struct { // The client account password to be used Password string `json:"password,omitempty"` // The company to be asociated with the client account Company string `json:"company"` // The email to be associated with the client account Email string `json:"email"` }
type CreateIgnition ¶
type Credit ¶
type Credit struct { // The ID corresponding to a particular credit Id int32 `json:"id,omitempty"` // The amount of credit associated with the credit ID Amount float32 `json:"amount,omitempty"` // The amount of credit available for use associated with the credit ID Balance float32 `json:"balance,omitempty"` // The client ID associated with the credit ID ClientId int32 `json:"clientId,omitempty"` // The created date/time of the credit Created int32 `json:"created,omitempty"` // The order ID associated with the credit ID OrderId int32 `json:"orderId,omitempty"` // The reason code for the creation of the credit Reason string `json:"reason,omitempty"` // The status of the credit Status string `json:"status,omitempty"` // If credit is for hourly billing IsHourly bool `json:"isHourly,omitempty"` // The Billing Info ID used to purchase the credits on this account BillingInfoId int32 `json:"billingInfoId,omitempty"` // The list of service IDs associated with the credit ID ServiceIds []int32 `json:"serviceIds,omitempty"` // Whether credits are automatically being applied to new orders or invoices. [0 = Not Auto Apply, 1 = Auto Apply New Invoices, 2 = Auto Apply All Invoices] AutoApply int32 `json:"autoApply,omitempty"` // The expiration date of the credit ExpirationDate int32 `json:"expirationDate,omitempty"` }
type CreditApiService ¶
type CreditApiService service
func (*CreditApiService) GetCreditResource ¶
func (a *CreditApiService) GetCreditResource(ctx context.Context, localVarOptionals *CreditApiGetCreditResourceOpts) ([]Credit, *http.Response, error)
func (*CreditApiService) GetTotalActiveCreditResource ¶
func (a *CreditApiService) GetTotalActiveCreditResource(ctx context.Context, localVarOptionals *CreditApiGetTotalActiveCreditResourceOpts) (TotalActiveCredit, *http.Response, error)
func (*CreditApiService) PostCreditApplyCouponResource ¶
func (a *CreditApiService) PostCreditApplyCouponResource(ctx context.Context, payload CartCoupon, localVarOptionals *CreditApiPostCreditApplyCouponResourceOpts) (Credit, *http.Response, error)
func (*CreditApiService) PostCreditResource ¶
func (a *CreditApiService) PostCreditResource(ctx context.Context, payload CreateCredit, localVarOptionals *CreditApiPostCreditResourceOpts) (Credit, *http.Response, error)
func (*CreditApiService) PostCreditValidateCouponResource ¶
func (a *CreditApiService) PostCreditValidateCouponResource(ctx context.Context, payload CartCoupon, localVarOptionals *CreditApiPostCreditValidateCouponResourceOpts) (ValidateCartCouponDump, *http.Response, error)
type DeactivateEnterpriseControlledClient ¶
type DeactivateEnterpriseControlledClient struct { // ID of the controlled client account ClientId int32 `json:"clientId"` }
type DeleteApiTokenLoad ¶
type DeleteApiTokenLoad struct {
ApiTokenId string `json:"apiTokenId,omitempty"`
}
type Deployment ¶
type Deployment struct { DeploymentId int32 `json:"deploymentId,omitempty"` StartedProvisioning bool `json:"startedProvisioning,omitempty"` DeploymentName string `json:"deploymentName,omitempty"` Empty bool `json:"empty,omitempty"` Price float32 `json:"price,omitempty"` OrderNumber string `json:"orderNumber,omitempty"` DeploymentConfiguration []interface{} `json:"deploymentConfiguration,omitempty"` }
type DeploymentApiService ¶
type DeploymentApiService service
func (*DeploymentApiService) DeleteDeploymentIdResource ¶
func (a *DeploymentApiService) DeleteDeploymentIdResource(ctx context.Context, deploymentId int32) (*http.Response, error)
DeploymentApiService Delete the specified deployment
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deploymentId Id of the deployment to interact with
func (*DeploymentApiService) GetDeploymentIdResource ¶
func (a *DeploymentApiService) GetDeploymentIdResource(ctx context.Context, deploymentId int32, localVarOptionals *DeploymentApiGetDeploymentIdResourceOpts) (Deployment, *http.Response, error)
func (*DeploymentApiService) GetDeploymentResource ¶
func (a *DeploymentApiService) GetDeploymentResource(ctx context.Context, localVarOptionals *DeploymentApiGetDeploymentResourceOpts) ([]Deployment, *http.Response, error)
func (*DeploymentApiService) PostDeploymentIdResource ¶
func (a *DeploymentApiService) PostDeploymentIdResource(ctx context.Context, deploymentId int32, payload DeploymentStart) (*http.Response, error)
DeploymentApiService Input a billing info id and script to process and finish a deployment
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deploymentId Id of the deployment to interact with
- @param payload
func (*DeploymentApiService) PostDeploymentResource ¶
func (a *DeploymentApiService) PostDeploymentResource(ctx context.Context, localVarOptionals *DeploymentApiPostDeploymentResourceOpts) (Deployment, *http.Response, error)
func (*DeploymentApiService) PutDeploymentIdResource ¶
func (a *DeploymentApiService) PutDeploymentIdResource(ctx context.Context, deploymentId int32, payload DeploymentCustomization, localVarOptionals *DeploymentApiPutDeploymentIdResourceOpts) (Deployment, *http.Response, error)
type DeploymentCustomization ¶
type DeploymentCustomization struct { // must be one of ['monthly', 'quarterly', 'semi-annually', 'annually', 'biennial', 'triennial', 'hourly'] BillingPeriod string `json:"billingPeriod,omitempty"` // Operating System's Name or ID OperatingSystem string `json:"operatingSystem"` Options []int32 `json:"options,omitempty"` // Contents of iPXE script if not supplying URL CustomIPXEScriptContents string `json:"customIPXEScriptContents,omitempty"` // ID of SSH Key to use for deployment PublicSshKeyId int32 `json:"publicSshKeyId,omitempty"` LocationCode string `json:"locationCode,omitempty"` // Specify Ignition file ID for CoreOS/Flatcar provisions IgnitionIds []int32 `json:"ignitionIds,omitempty"` // URL to download custom iPXE script if not supplying script in entirety CustomIPXEScriptURL string `json:"customIPXEScriptURL,omitempty"` ProductId int32 `json:"productId"` // Either deploy these Device IDs or fail ForceDeviceIds []int32 `json:"forceDeviceIds,omitempty"` AdditionalNotes []string `json:"additionalNotes,omitempty"` Hostnames []string `json:"hostnames"` Quantity int32 `json:"quantity,omitempty"` }
type DeploymentStart ¶
type DeviceApiGetDevicePaymentMethodLinkedResourceOpts ¶ added in v0.2.0
type DeviceApiService ¶
type DeviceApiService service
func (*DeviceApiService) DeleteDeviceBondResource ¶
func (a *DeviceApiService) DeleteDeviceBondResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiDeleteDeviceBondResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*DeviceApiService) GetAllDeviceTagOrderResource ¶
func (a *DeviceApiService) GetAllDeviceTagOrderResource(ctx context.Context, localVarOptionals *DeviceApiGetAllDeviceTagOrderResourceOpts) (DeviceTag, *http.Response, error)
func (*DeviceApiService) GetClientDeviceTagOrderResource ¶
func (a *DeviceApiService) GetClientDeviceTagOrderResource(ctx context.Context, localVarOptionals *DeviceApiGetClientDeviceTagOrderResourceOpts) (DeviceTag, *http.Response, error)
func (*DeviceApiService) GetClientDeviceTagResource ¶
func (a *DeviceApiService) GetClientDeviceTagResource(ctx context.Context, localVarOptionals *DeviceApiGetClientDeviceTagResourceOpts) (DeviceTag, *http.Response, error)
func (*DeviceApiService) GetDeviceIdEventResource ¶
func (a *DeviceApiService) GetDeviceIdEventResource(ctx context.Context, deviceId string, localVarOptionals *DeviceApiGetDeviceIdEventResourceOpts) ([]DeviceEvent, *http.Response, error)
func (*DeviceApiService) GetDeviceIdResource ¶
func (a *DeviceApiService) GetDeviceIdResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetDeviceIdResourceOpts) (DeviceDump, *http.Response, error)
func (*DeviceApiService) GetDeviceIdServiceResource ¶
func (a *DeviceApiService) GetDeviceIdServiceResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetDeviceIdServiceResourceOpts) (Services, *http.Response, error)
func (*DeviceApiService) GetDeviceIpAssignmentsResource ¶
func (a *DeviceApiService) GetDeviceIpAssignmentsResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetDeviceIpAssignmentsResourceOpts) ([]IpAssignment, *http.Response, error)
func (*DeviceApiService) GetDeviceIpminatRuleResource ¶
func (a *DeviceApiService) GetDeviceIpminatRuleResource(ctx context.Context, deviceId int32) (*http.Response, error)
DeviceApiService Clear IPMI whitelist
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deviceId ID of a client Device
func (*DeviceApiService) GetDevicePaymentMethodLinkedResource ¶ added in v0.2.0
func (a *DeviceApiService) GetDevicePaymentMethodLinkedResource(ctx context.Context, billingInfoId int32, localVarOptionals *DeviceApiGetDevicePaymentMethodLinkedResourceOpts) ([]DeviceDump, *http.Response, error)
func (*DeviceApiService) GetDevicePortResource ¶
func (a *DeviceApiService) GetDevicePortResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetDevicePortResourceOpts) ([]DevicePort, *http.Response, error)
func (*DeviceApiService) GetDeviceResource ¶
func (a *DeviceApiService) GetDeviceResource(ctx context.Context, localVarOptionals *DeviceApiGetDeviceResourceOpts) ([]DeviceDump, *http.Response, error)
func (*DeviceApiService) GetDeviceTagIdResource ¶
func (a *DeviceApiService) GetDeviceTagIdResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetDeviceTagIdResourceOpts) (DeviceTag, *http.Response, error)
func (*DeviceApiService) GetEffectiveIgnitionIdResource ¶
func (a *DeviceApiService) GetEffectiveIgnitionIdResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetEffectiveIgnitionIdResourceOpts) (EffectiveIgnitionResponse, *http.Response, error)
func (*DeviceApiService) GetInitialCredsIdResource ¶
func (a *DeviceApiService) GetInitialCredsIdResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetInitialCredsIdResourceOpts) (DeviceInitialCreds, *http.Response, error)
func (*DeviceApiService) GetInitialPasswordIdResource ¶
func (a *DeviceApiService) GetInitialPasswordIdResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetInitialPasswordIdResourceOpts) (DevicePassword, *http.Response, error)
func (*DeviceApiService) GetIpmiInfoIdResource ¶
func (a *DeviceApiService) GetIpmiInfoIdResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetIpmiInfoIdResourceOpts) (DeviceIpmiInfo, *http.Response, error)
func (*DeviceApiService) GetIpmiInfoLoginDataResource ¶
func (a *DeviceApiService) GetIpmiInfoLoginDataResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetIpmiInfoLoginDataResourceOpts) (IpmiLoginData, *http.Response, error)
func (*DeviceApiService) GetIpmiThresholdsIdResource ¶
func (a *DeviceApiService) GetIpmiThresholdsIdResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetIpmiThresholdsIdResourceOpts) (DeviceIpmiThresholds, *http.Response, error)
func (*DeviceApiService) GetIpmiValidLoginIdResource ¶
func (a *DeviceApiService) GetIpmiValidLoginIdResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetIpmiValidLoginIdResourceOpts) (IpmiValidLogin, *http.Response, error)
func (*DeviceApiService) GetPowerResource ¶
func (a *DeviceApiService) GetPowerResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiGetPowerResourceOpts) (DevicePower, *http.Response, error)
func (*DeviceApiService) PostDeviceBondResource ¶
func (a *DeviceApiService) PostDeviceBondResource(ctx context.Context, deviceId int32, localVarOptionals *DeviceApiPostDeviceBondResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*DeviceApiService) PostDeviceIpmiWhitelistResource ¶
func (a *DeviceApiService) PostDeviceIpmiWhitelistResource(ctx context.Context, deviceId int32, payload DeviceIpmiWhitelistIp) (*http.Response, error)
DeviceApiService Whitelist IP for IPMI
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deviceId ID of the Device to put IP in Whitelist
- @param payload
func (*DeviceApiService) PostDevicePortIdClearResource ¶
func (a *DeviceApiService) PostDevicePortIdClearResource(ctx context.Context, deviceId int32, portId int32, localVarOptionals *DeviceApiPostDevicePortIdClearResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*DeviceApiService) PostDeviceReloadResource ¶
func (a *DeviceApiService) PostDeviceReloadResource(ctx context.Context, deviceId int32, payload DeviceReload, localVarOptionals *DeviceApiPostDeviceReloadResourceOpts) (ServiceOption, *http.Response, error)
func (*DeviceApiService) PostPowerResource ¶
func (a *DeviceApiService) PostPowerResource(ctx context.Context, deviceId int32, action string, localVarOptionals *DeviceApiPostPowerResourceOpts) (DevicePower, *http.Response, error)
func (*DeviceApiService) PostPreviewEffectiveIgnitionResource ¶
func (a *DeviceApiService) PostPreviewEffectiveIgnitionResource(ctx context.Context, payload PreviewEffectiveIgnition, localVarOptionals *DeviceApiPostPreviewEffectiveIgnitionResourceOpts) (PreviewEffectiveIgnitionResponse, *http.Response, error)
func (*DeviceApiService) PutClientDeviceTagOrderResource ¶
func (a *DeviceApiService) PutClientDeviceTagOrderResource(ctx context.Context, payload DeviceTag, localVarOptionals *DeviceApiPutClientDeviceTagOrderResourceOpts) (DeviceTag, *http.Response, error)
func (*DeviceApiService) PutDeviceIdResource ¶
func (a *DeviceApiService) PutDeviceIdResource(ctx context.Context, deviceId int32, payload DeviceUpdate, localVarOptionals *DeviceApiPutDeviceIdResourceOpts) (DeviceDump, *http.Response, error)
func (*DeviceApiService) PutDevicePortResource ¶
func (a *DeviceApiService) PutDevicePortResource(ctx context.Context, deviceId int32, payload DevicePortsUpdate, localVarOptionals *DeviceApiPutDevicePortResourceOpts) ([]NetworkTaskDump, *http.Response, error)
func (*DeviceApiService) PutDeviceTagIdResource ¶
func (a *DeviceApiService) PutDeviceTagIdResource(ctx context.Context, deviceId int32, payload DeviceTag, localVarOptionals *DeviceApiPutDeviceTagIdResourceOpts) (DeviceTag, *http.Response, error)
func (*DeviceApiService) PutIpmiDevicesThresholdsIdResource ¶
func (a *DeviceApiService) PutIpmiDevicesThresholdsIdResource(ctx context.Context, payload UpdateDevicesIpmiThresholds, localVarOptionals *DeviceApiPutIpmiDevicesThresholdsIdResourceOpts) (DevicesIpmiThresholds, *http.Response, error)
func (*DeviceApiService) PutIpmiThresholdsIdResource ¶
func (a *DeviceApiService) PutIpmiThresholdsIdResource(ctx context.Context, deviceId int32, payload DeviceIpmiThresholds, localVarOptionals *DeviceApiPutIpmiThresholdsIdResourceOpts) (DeviceIpmiThresholds, *http.Response, error)
type DeviceDump ¶
type DeviceDump struct { // The unique ID of the device. DeviceId int32 `json:"deviceId,omitempty"` // User given custom name. Name string `json:"name"` // active|inactive Status string `json:"status,omitempty"` // Generic description of device. Usually type and rack unit size. DeviceType string `json:"deviceType,omitempty"` // Generic group DeviceTypeGroup string `json:"deviceTypeGroup,omitempty"` // ON|OFF PowerStatus interface{} `json:"powerStatus,omitempty"` // True if device has active cancellation request. HasCancellation bool `json:"hasCancellation,omitempty"` // Device's service billing status. BillingStatus string `json:"billingStatus,omitempty"` // Device's service expected cancel date. BillingCancelDate int32 `json:"billingCancelDate,omitempty"` // True if device enrolled in managed services. IsManaged bool `json:"isManaged,omitempty"` // True if device currently reloading. IsReload bool `json:"isReload,omitempty"` // # of passing device monitors MonitorsUp int32 `json:"monitorsUp,omitempty"` // Total # device monitors MonitorsTotal int32 `json:"monitorsTotal,omitempty"` // # of managed service alerts. ManagedAlertsTotal int32 `json:"managedAlertsTotal,omitempty"` // Device Ports (Network Interfaces). Ports []interface{} `json:"ports,omitempty"` // a fqdn for the device. for example: `example.hivelocity.net`. Hostname string `json:"hostname,omitempty"` // True if device is accessible over IPMI by customer. IpmiEnabled bool `json:"ipmiEnabled,omitempty"` // List containing key/values of device info based on tag order. DisplayedTags []interface{} `json:"displayedTags,omitempty"` // List of all user set device tags. Tags []string `json:"tags,omitempty"` // Detailed information on the device location. Location interface{} `json:"location,omitempty"` // Network Automation status for device. NetworkAutomation interface{} `json:"networkAutomation,omitempty"` // The first assigned public IP for accessing this device. PrimaryIp string `json:"primaryIp,omitempty"` // IP address for IPMI connection. Requires you to whitelist your current IP or be on IPMI VPN. IpmiAddress interface{} `json:"ipmiAddress,omitempty"` ServiceMonitors []string `json:"serviceMonitors,omitempty"` // If set, detailed info on this device's billing method. Otherwise null. When null the accounts default billing info is used for payments. BillingInfo interface{} `json:"billingInfo,omitempty"` // The unique ID of the associated service. ServicePlan int32 `json:"servicePlan,omitempty"` // The unique ID of the last invoice for this device. LastInvoiceId int32 `json:"lastInvoiceId,omitempty"` // True if instant server. SelfProvisioning bool `json:"selfProvisioning,omitempty"` // Additional metadata. Metadata interface{} `json:"metadata,omitempty"` // BUILDING|IPMI_READY|PROVISIONABLE|RESERVED|WAIT_FOR_PXE|PROVISION_STARTED|PROVISION_WAIT_FOR_ADDONS|PROVISION_FINISHED|WAIT_TO_COMPLETE_ORDER|WAIT_TO_ASSIGN_SERVICE|WAIT_FOR_HARDWARE_SCAN|IN_USE|RELOADING|DEVICE_READY_TO_TEST|DEVICE_READY_TO_WIPE|DEVICE_READY_TO_UPGRADE_FIRMWARE|FAILED|CLEANUP_MOVE_TO_FAILED|IN_REVIEW|READY_FOR_MIGRATION SpsStatus string `json:"spsStatus,omitempty"` // The unique ID of the associated client. ClientId int32 `json:"clientId,omitempty"` }
type DeviceEvent ¶
type DeviceInitialCreds ¶
type DeviceInitialCreds struct { // Date password will expire from API. PasswordReturnsUntil int32 `json:"passwordReturnsUntil,omitempty"` // Password for initial ssh access. Will expire from api 7 days after initial provision. Password string `json:"password,omitempty"` // Port for initial ssh access. Port int32 `json:"port,omitempty"` // Link to encrypted locker containing password for initial ssh access. Locker contents be expired from api 7 days after initial provision. LockerUrl string `json:"lockerUrl,omitempty"` // User for initial ssh access. User string `json:"user,omitempty"` }
type DeviceIpmiInfo ¶
type DeviceIpmiInfo struct { Info *IpmiInfo `json:"info,omitempty"` Sensors []IpmiSensor `json:"sensors,omitempty"` }
type DeviceIpmiThresholds ¶
type DeviceIpmiThresholds struct {
// Alert thresholds for IPMI sensor values.
Thresholds interface{} `json:"thresholds"`
}
type DeviceIpmiWhitelistIp ¶
type DeviceIpmiWhitelistIp struct {
CustIp string `json:"custIp"`
}
type DevicePassword ¶
type DevicePassword struct { // Password for initial ssh access. Will be deleted from api 7 days after initial provision. Password string `json:"password"` }
type DevicePort ¶
type DevicePort struct { Private bool `json:"private"` // The unique ID of the port. PortId int32 `json:"portId,omitempty"` // The vlan tag of the port's native vlan, if applicable. NativeVlanTag int32 `json:"nativeVlanTag,omitempty"` // ENABLED|DISABLED|UNKOWN Status string `json:"status,omitempty"` // Indicates if is a bond interface. If not, indicates the Mbps rate of the port. Type_ string `json:"type,omitempty"` // The unique ID of the native VLAN, if applicable. NativeVlanId int32 `json:"nativeVlanId,omitempty"` Name string `json:"name,omitempty"` // Your client account's unique ID. ClientId int32 `json:"clientId,omitempty"` // The unique ID of the port's device. DeviceId int32 `json:"deviceId,omitempty"` // IPs applied to this port. Ips []IpAssignment `json:"ips,omitempty"` Mtu int32 `json:"mtu,omitempty"` }
type DevicePortUpdate ¶
type DevicePortUpdate struct { // The unique ID of the port. PortId int32 `json:"portId"` Enabled bool `json:"enabled,omitempty"` // IP Assignments IDs currently routed to this port. IpAssignments []int32 `json:"ipAssignments"` // The unique ID of the port's native vlan, if applicable. Send value `0` to remove the native vlan from this port. NativeVlanId int32 `json:"nativeVlanId,omitempty"` }
type DevicePortsUpdate ¶
type DevicePortsUpdate struct {
Ports []DevicePortUpdate `json:"ports,omitempty"`
}
type DevicePower ¶
type DevicePower struct { // ON|OFF PowerStatus string `json:"powerStatus"` }
type DeviceReload ¶
type DeviceReload struct { // The unique ID of the control panel product option to provision on this device. This is used only for custom devices. ControlPanelId int32 `json:"controlPanelId,omitempty"` // The unique ID of an Ignition File for FlatcarOS provisions. IgnitionId int32 `json:"ignitionId,omitempty"` // List of public ssh keys PublicSshKeyIds []int32 `json:"publicSshKeyIds,omitempty"` // Describe any special requests for custom devices. Body string `json:"body,omitempty"` // The unique ID of the operating system product option to provision on this device. OperatingSystemId int32 `json:"operatingSystemId"` // Custom IPXE script URL. If device was provisioned was one before and this field is omitted, the original custom iPXE script is used. Otherwise specifying the script will override. CustomIPXEScriptUrl string `json:"customIPXEScriptUrl,omitempty"` // A Cloud-Init script or a post-install script (Bash for Linux or Powershell for Windows). Script string `json:"script,omitempty"` }
type DeviceTag ¶
type DeviceTag struct { // List of user set device tags. Tags []string `json:"tags,omitempty"` }
type DeviceUpdate ¶
type DevicesIpmiThresholds ¶
type DevicesIpmiThresholds struct {
Devices interface{} `json:"devices"`
}
type DomainCreate ¶
type DomainCreate struct {
Name string `json:"name"`
}
type DomainReturn ¶
type DomainsApiService ¶
type DomainsApiService service
func (*DomainsApiService) DeleteARecordIdResource ¶
func (a *DomainsApiService) DeleteARecordIdResource(ctx context.Context, domain string, record string) (*http.Response, error)
DomainsApiService Delete a single A Record value for given zone
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param domain
- @param record
func (*DomainsApiService) DeleteAaaaRecordIdResource ¶
func (a *DomainsApiService) DeleteAaaaRecordIdResource(ctx context.Context, domainID int32, recordId int32) (*http.Response, error)
DomainsApiService Delete an AAAA Record for given zone
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param domainID
- @param recordId
func (*DomainsApiService) DeleteDomainIdResource ¶
func (a *DomainsApiService) DeleteDomainIdResource(ctx context.Context, domainId int32) (*http.Response, error)
DomainsApiService Delete domain for given id
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param domainId
func (*DomainsApiService) DeleteMxRecordIdResource ¶
func (a *DomainsApiService) DeleteMxRecordIdResource(ctx context.Context, domainID int32, recordId int32) (*http.Response, error)
DomainsApiService Delete an MX Record for given zone
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param domainID
- @param recordId
func (*DomainsApiService) GetARecordIdResource ¶
func (a *DomainsApiService) GetARecordIdResource(ctx context.Context, domain string, record string, localVarOptionals *DomainsApiGetARecordIdResourceOpts) (ARecord, *http.Response, error)
func (*DomainsApiService) GetARecordResource ¶
func (a *DomainsApiService) GetARecordResource(ctx context.Context, domain string, localVarOptionals *DomainsApiGetARecordResourceOpts) ([]ARecord, *http.Response, error)
func (*DomainsApiService) GetAaaaRecordIdResource ¶
func (a *DomainsApiService) GetAaaaRecordIdResource(ctx context.Context, domainID int32, recordId int32, localVarOptionals *DomainsApiGetAaaaRecordIdResourceOpts) (AaaaRecordReturn, *http.Response, error)
func (*DomainsApiService) GetAaaaRecordResource ¶
func (a *DomainsApiService) GetAaaaRecordResource(ctx context.Context, domainID int32, localVarOptionals *DomainsApiGetAaaaRecordResourceOpts) ([]AaaaRecordReturn, *http.Response, error)
func (*DomainsApiService) GetDomainIdResource ¶
func (a *DomainsApiService) GetDomainIdResource(ctx context.Context, domainId int32, localVarOptionals *DomainsApiGetDomainIdResourceOpts) (DomainReturn, *http.Response, error)
func (*DomainsApiService) GetDomainResource ¶
func (a *DomainsApiService) GetDomainResource(ctx context.Context, localVarOptionals *DomainsApiGetDomainResourceOpts) ([]DomainReturn, *http.Response, error)
func (*DomainsApiService) GetMxRecordIdResource ¶
func (a *DomainsApiService) GetMxRecordIdResource(ctx context.Context, domainID int32, recordId int32, localVarOptionals *DomainsApiGetMxRecordIdResourceOpts) (MxRecordReturn, *http.Response, error)
func (*DomainsApiService) GetMxRecordResource ¶
func (a *DomainsApiService) GetMxRecordResource(ctx context.Context, domainID int32, localVarOptionals *DomainsApiGetMxRecordResourceOpts) ([]MxRecordReturn, *http.Response, error)
func (*DomainsApiService) GetPtrRecordIdResource ¶
func (a *DomainsApiService) GetPtrRecordIdResource(ctx context.Context, recordId int32, localVarOptionals *DomainsApiGetPtrRecordIdResourceOpts) (PtrRecordReturn, *http.Response, error)
func (*DomainsApiService) GetPtrRecordResource ¶
func (a *DomainsApiService) GetPtrRecordResource(ctx context.Context, localVarOptionals *DomainsApiGetPtrRecordResourceOpts) ([]PtrRecordReturn, *http.Response, error)
func (*DomainsApiService) PostARecordResource ¶
func (a *DomainsApiService) PostARecordResource(ctx context.Context, domain string, payload ARecord, localVarOptionals *DomainsApiPostARecordResourceOpts) (ARecord, *http.Response, error)
func (*DomainsApiService) PostAaaaRecordResource ¶
func (a *DomainsApiService) PostAaaaRecordResource(ctx context.Context, domainID int32, payload AaaaRecordCreate, localVarOptionals *DomainsApiPostAaaaRecordResourceOpts) (AaaaRecordReturn, *http.Response, error)
func (*DomainsApiService) PostDomainResource ¶
func (a *DomainsApiService) PostDomainResource(ctx context.Context, payload DomainCreate, localVarOptionals *DomainsApiPostDomainResourceOpts) (DomainReturn, *http.Response, error)
func (*DomainsApiService) PostMxRecordResource ¶
func (a *DomainsApiService) PostMxRecordResource(ctx context.Context, domainID int32, payload MxRecordCreate, localVarOptionals *DomainsApiPostMxRecordResourceOpts) (MxRecordReturn, *http.Response, error)
func (*DomainsApiService) PutARecordIdResource ¶
func (*DomainsApiService) PutAaaaRecordIdResource ¶
func (a *DomainsApiService) PutAaaaRecordIdResource(ctx context.Context, domainID int32, recordId int32, payload AaaaRecordUpdate, localVarOptionals *DomainsApiPutAaaaRecordIdResourceOpts) (AaaaRecordReturn, *http.Response, error)
func (*DomainsApiService) PutMxRecordIdResource ¶
func (a *DomainsApiService) PutMxRecordIdResource(ctx context.Context, domainID int32, recordId int32, payload MxRecordUpdate, localVarOptionals *DomainsApiPutMxRecordIdResourceOpts) (MxRecordReturn, *http.Response, error)
func (*DomainsApiService) PutPtrRecordIdResource ¶
func (a *DomainsApiService) PutPtrRecordIdResource(ctx context.Context, recordId int32, payload PtrRecordUpdate, localVarOptionals *DomainsApiPutPtrRecordIdResourceOpts) (PtrRecordReturn, *http.Response, error)
type EffectiveIgnitionResponse ¶
type EffectiveIgnitionResponse struct {
Contents string `json:"contents"`
}
type FastServiceDump ¶
type FastServiceDump struct { ServiceId int32 `json:"serviceId,omitempty"` Created int32 `json:"created,omitempty"` BilledPrice float32 `json:"billedPrice,omitempty"` BilledPricePerPeriod float32 `json:"billedPricePerPeriod,omitempty"` ServiceCost float32 `json:"serviceCost,omitempty"` LastRenew int32 `json:"lastRenew,omitempty"` RenewDate int32 `json:"renewDate,omitempty"` Quantity float32 `json:"quantity,omitempty"` OrderId int32 `json:"orderId,omitempty"` Status string `json:"status,omitempty"` Period string `json:"period,omitempty"` Discount float32 `json:"discount,omitempty"` DiscountType string `json:"discountType,omitempty"` DiscountedCost float32 `json:"discountedCost,omitempty"` ServiceDiscount float32 `json:"serviceDiscount,omitempty"` ServiceDiscountPerPeriod float32 `json:"serviceDiscountPerPeriod,omitempty"` IpAddress string `json:"ipAddress,omitempty"` CancelAfter int32 `json:"cancelAfter,omitempty"` StartDate int32 `json:"startDate,omitempty"` EndDate int32 `json:"endDate,omitempty"` ServiceOptions []ServiceOptionData `json:"serviceOptions,omitempty"` Usage interface{} `json:"usage,omitempty"` ServiceDevices []interface{} `json:"serviceDevices,omitempty"` ChildServices []interface{} `json:"childServices,omitempty"` ProductId int32 `json:"productId,omitempty"` ProductName string `json:"productName,omitempty"` Reseller string `json:"reseller,omitempty"` ServiceType string `json:"serviceType,omitempty"` ContractTerm int32 `json:"contractTerm,omitempty"` BillingInfoId int32 `json:"billingInfoId,omitempty"` AutoBill bool `json:"autoBill,omitempty"` ColocationCharge float32 `json:"colocationCharge,omitempty"` ResellerBmaasCharge float32 `json:"resellerBmaasCharge,omitempty"` FacilityName string `json:"facilityName,omitempty"` // The service type code. The list of service types can be accessed on https://core.hivelocity.net/api/v2/service/types . TypeCode string `json:"typeCode,omitempty"` BandwidthBilling *ServiceBandwidthBilling `json:"bandwidthBilling,omitempty"` Acquisition string `json:"acquisition,omitempty"` }
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type IPAssignmentApiService ¶
type IPAssignmentApiService service
func (*IPAssignmentApiService) DeleteIpAssignmentIdResource ¶
func (a *IPAssignmentApiService) DeleteIpAssignmentIdResource(ctx context.Context, ipAssignmentId int32) (*http.Response, error)
IPAssignmentApiService Delete assignment
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param ipAssignmentId
func (*IPAssignmentApiService) GetIpAssignmentIdResource ¶
func (a *IPAssignmentApiService) GetIpAssignmentIdResource(ctx context.Context, ipAssignmentId int32, localVarOptionals *IPAssignmentApiGetIpAssignmentIdResourceOpts) (IpAssignment, *http.Response, error)
func (*IPAssignmentApiService) GetIpAssignmentResource ¶
func (a *IPAssignmentApiService) GetIpAssignmentResource(ctx context.Context, localVarOptionals *IPAssignmentApiGetIpAssignmentResourceOpts) ([]IpAssignment, *http.Response, error)
func (*IPAssignmentApiService) GetIpAssignmentSubnetResource ¶
func (a *IPAssignmentApiService) GetIpAssignmentSubnetResource(ctx context.Context, ipAddress string, localVarOptionals *IPAssignmentApiGetIpAssignmentSubnetResourceOpts) (IpAssignment, *http.Response, error)
func (*IPAssignmentApiService) PostIpAssignmentCombineResource ¶
func (a *IPAssignmentApiService) PostIpAssignmentCombineResource(ctx context.Context, payload IpAssignmentCombine, localVarOptionals *IPAssignmentApiPostIpAssignmentCombineResourceOpts) (IpAssignment, *http.Response, error)
func (*IPAssignmentApiService) PostIpAssignmentIdClearResource ¶
func (a *IPAssignmentApiService) PostIpAssignmentIdClearResource(ctx context.Context, ipAssignmentId int32, localVarOptionals *IPAssignmentApiPostIpAssignmentIdClearResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*IPAssignmentApiService) PostIpAssignmentResource ¶
func (a *IPAssignmentApiService) PostIpAssignmentResource(ctx context.Context, payload IpAssignmentRequest) (*http.Response, error)
IPAssignmentApiService Request new assignment This endpoint is used to request a new IP Assignment from MyV and the API itself. It will create a request on Zendesk for Networking support team.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param payload
func (*IPAssignmentApiService) PostIpAssignmentSplitResource ¶
func (a *IPAssignmentApiService) PostIpAssignmentSplitResource(ctx context.Context, ipAssignmentId int32, localVarOptionals *IPAssignmentApiPostIpAssignmentSplitResourceOpts) ([]IpAssignment, *http.Response, error)
func (*IPAssignmentApiService) PutIpAssignmentIdResource ¶
func (a *IPAssignmentApiService) PutIpAssignmentIdResource(ctx context.Context, ipAssignmentId int32, payload IpAssignmentPut, localVarOptionals *IPAssignmentApiPutIpAssignmentIdResourceOpts) (NetworkTaskDump, *http.Response, error)
type IgnitionApiService ¶
type IgnitionApiService service
func (*IgnitionApiService) DeleteIgnitionResourceId ¶
func (a *IgnitionApiService) DeleteIgnitionResourceId(ctx context.Context, ignitionId int32, localVarOptionals *IgnitionApiDeleteIgnitionResourceIdOpts) (*http.Response, error)
func (*IgnitionApiService) GetIgnitionResource ¶
func (a *IgnitionApiService) GetIgnitionResource(ctx context.Context, localVarOptionals *IgnitionApiGetIgnitionResourceOpts) ([]IgnitionResponse, *http.Response, error)
func (*IgnitionApiService) GetIgnitionResourceId ¶
func (a *IgnitionApiService) GetIgnitionResourceId(ctx context.Context, ignitionId int32, localVarOptionals *IgnitionApiGetIgnitionResourceIdOpts) (IgnitionResponse, *http.Response, error)
func (*IgnitionApiService) PostIgnitionResource ¶
func (a *IgnitionApiService) PostIgnitionResource(ctx context.Context, payload CreateIgnition, localVarOptionals *IgnitionApiPostIgnitionResourceOpts) (IgnitionResponse, *http.Response, error)
func (*IgnitionApiService) PutIgnitionResourceId ¶
func (a *IgnitionApiService) PutIgnitionResourceId(ctx context.Context, ignitionId int32, payload UpdateIgnition, localVarOptionals *IgnitionApiPutIgnitionResourceIdOpts) (IgnitionResponse, *http.Response, error)
type IgnitionResponse ¶
type InventoryApiService ¶
type InventoryApiService service
func (*InventoryApiService) GetLocationResource ¶
func (a *InventoryApiService) GetLocationResource(ctx context.Context, localVarOptionals *InventoryApiGetLocationResourceOpts) ([]Location, *http.Response, error)
func (*InventoryApiService) GetStockByProductResource ¶
func (a *InventoryApiService) GetStockByProductResource(ctx context.Context, productId int32, localVarOptionals *InventoryApiGetStockByProductResourceOpts) (Stock, *http.Response, error)
func (*InventoryApiService) GetStockResource ¶
func (a *InventoryApiService) GetStockResource(ctx context.Context, localVarOptionals *InventoryApiGetStockResourceOpts) (Inventory, *http.Response, error)
type Invoice ¶
type Invoice struct { Id int32 `json:"id,omitempty"` Amount float32 `json:"amount,omitempty"` AmountUnpaid float32 `json:"amountUnpaid,omitempty"` ClientId int32 `json:"clientId,omitempty"` Created int32 `json:"created,omitempty"` DatePaid int32 `json:"datePaid,omitempty"` Due int32 `json:"due,omitempty"` Sent int32 `json:"sent,omitempty"` Status string `json:"status,omitempty"` }
type InvoiceApiPostInvoiceIdApplyAccountCreditOpts ¶ added in v0.2.0
type InvoiceApiService ¶
type InvoiceApiService service
func (*InvoiceApiService) GetInvoiceIdDetails ¶
func (a *InvoiceApiService) GetInvoiceIdDetails(ctx context.Context, invoiceId int32, localVarOptionals *InvoiceApiGetInvoiceIdDetailsOpts) (InvoiceDetails, *http.Response, error)
func (*InvoiceApiService) GetInvoiceIdResource ¶
func (a *InvoiceApiService) GetInvoiceIdResource(ctx context.Context, invoiceId int32, localVarOptionals *InvoiceApiGetInvoiceIdResourceOpts) (Invoice, *http.Response, error)
func (*InvoiceApiService) GetInvoicePdfResource ¶
func (a *InvoiceApiService) GetInvoicePdfResource(ctx context.Context, invoiceId int32, localVarOptionals *InvoiceApiGetInvoicePdfResourceOpts) (InvoicePdf, *http.Response, error)
func (*InvoiceApiService) GetInvoiceResource ¶
func (a *InvoiceApiService) GetInvoiceResource(ctx context.Context, localVarOptionals *InvoiceApiGetInvoiceResourceOpts) ([]Invoice, *http.Response, error)
func (*InvoiceApiService) GetInvoiceSearchResource ¶
func (a *InvoiceApiService) GetInvoiceSearchResource(ctx context.Context, localVarOptionals *InvoiceApiGetInvoiceSearchResourceOpts) (InvoiceSeachResult, *http.Response, error)
func (*InvoiceApiService) GetInvoiceUnpaidResource ¶
func (a *InvoiceApiService) GetInvoiceUnpaidResource(ctx context.Context, localVarOptionals *InvoiceApiGetInvoiceUnpaidResourceOpts) (InvoiceUnpaid, *http.Response, error)
func (*InvoiceApiService) PostInvoiceIdApplyAccountCredit ¶ added in v0.2.0
func (a *InvoiceApiService) PostInvoiceIdApplyAccountCredit(ctx context.Context, invoiceId int32, localVarOptionals *InvoiceApiPostInvoiceIdApplyAccountCreditOpts) (Invoice, *http.Response, error)
type InvoiceDetails ¶
type InvoiceDetails struct { AccountBalance float32 `json:"accountBalance,omitempty"` ClientAddress string `json:"clientAddress,omitempty"` ClientName string `json:"clientName,omitempty"` CompanyName string `json:"companyName,omitempty"` InvoiceDate time.Time `json:"invoiceDate,omitempty"` InvoiceDue time.Time `json:"invoiceDue,omitempty"` InvoiceNumber string `json:"invoiceNumber,omitempty"` ServiceItems []InvoiceDetailsServiceItems `json:"serviceItems,omitempty"` TaxesValue float32 `json:"taxesValue,omitempty"` TotalDue float32 `json:"totalDue,omitempty"` PaymentHistory []interface{} `json:"paymentHistory,omitempty"` RefundHistory []interface{} `json:"refundHistory,omitempty"` TaxesList []interface{} `json:"taxesList,omitempty"` PriorBalance float32 `json:"priorBalance,omitempty"` PaymentsRefunds float32 `json:"paymentsRefunds,omitempty"` }
type InvoicePdf ¶
type InvoiceSeachResult ¶
type InvoiceSeachResult struct { Pages int32 `json:"pages,omitempty"` NextPage int32 `json:"nextPage,omitempty"` Items *Invoice `json:"items,omitempty"` Page int32 `json:"page,omitempty"` PrevPage int32 `json:"prevPage,omitempty"` HasNext bool `json:"hasNext,omitempty"` Total int32 `json:"total,omitempty"` PerPage int32 `json:"perPage,omitempty"` HasPrev bool `json:"hasPrev,omitempty"` }
type InvoiceUnpaid ¶
type InvoiceUnpaid struct {
AmountUnpaid float32 `json:"amountUnpaid,omitempty"`
}
type IpAssignment ¶
type IpAssignment struct { // IP version of this assignment (ipv4 or ipv6) Version int32 `json:"version"` // Unique ID of this assignment AssignmentId int32 `json:"assignmentId,omitempty"` // Unique ID of the assignment owner ClientId int32 `json:"clientId,omitempty"` // CIDR representation of this assignment. Subnet string `json:"subnet,omitempty"` // Netmask for this assignment. Netmask string `json:"netmask,omitempty"` // Broadcast address for this subnet. BroadcastIp string `json:"broadcastIp,omitempty"` // Gateway address for this subnet. GatewayIp string `json:"gatewayIp,omitempty"` // DNS resolvers for this subnet. Only applicable to VPS instances. DnsResolvers []string `json:"dnsResolvers,omitempty"` // First address available for use by Devices on this subnet. FirstUsableIp string `json:"firstUsableIp,omitempty"` // Last address available for use by Devices on this subnet. LastUsableIp string `json:"lastUsableIp,omitempty"` // A list of usable IP addresses on assignment. It is only filled for IPv4 subnets. UsableIps []string `json:"usableIps,omitempty"` // Facility code of this assignment. FacilityCode string `json:"facilityCode,omitempty"` // Description for this assignment. Description string `json:"description,omitempty"` // The device receiving traffic from the assignment. DeviceId int32 `json:"deviceId,omitempty"` // The port receiving traffic from the assignment. PortId int32 `json:"portId,omitempty"` // The VLAN receiving traffic from the assignment. VlanId int32 `json:"vlanId,omitempty"` // Next Hop IP address, if this assignment is statically routed. NextHopIp string `json:"nextHopIp,omitempty"` }
type IpAssignmentCombine ¶
type IpAssignmentCombine struct { // List of Unique assignment IDs. AssignmentIds []int32 `json:"assignmentIds,omitempty"` }
type IpAssignmentPut ¶
type IpAssignmentPut struct { // Route traffic from the IPs in the assignment to this IPv4 or IPv6 IP. NextHopIp string `json:"nextHopIp,omitempty"` }
type IpAssignmentRequest ¶
type IpmiInfo ¶
type IpmiInfo struct { ManufacturerName string `json:"manufacturerName,omitempty"` IpmbEventReceiver string `json:"ipmbEventReceiver,omitempty"` ProductId string `json:"productId,omitempty"` AuxFirmwareRevInfo string `json:"auxFirmwareRevInfo,omitempty"` DeviceSDRs string `json:"deviceSDRs,omitempty"` SensorDevice string `json:"sensorDevice,omitempty"` FruInventoryDevice string `json:"fruInventoryDevice,omitempty"` Bridge string `json:"bridge,omitempty"` DeviceRevision string `json:"deviceRevision,omitempty"` ChassisDevice string `json:"chassisDevice,omitempty"` DeviceAvailable string `json:"deviceAvailable,omitempty"` SelDevice string `json:"selDevice,omitempty"` ManufacturerId string `json:"manufacturerId,omitempty"` IpmiVersion string `json:"ipmiVersion,omitempty"` // The IPMI ID of the device. DeviceId string `json:"deviceId,omitempty"` IpmbEventGenerator string `json:"ipmbEventGenerator,omitempty"` FirmwareRevision string `json:"firmwareRevision,omitempty"` SdrRepositoryDevice string `json:"sdrRepositoryDevice,omitempty"` }
type IpmiLoginData ¶
type IpmiLoginData struct { // Password for IPMI console. Password string `json:"password,omitempty"` // IP for IPMI access. Requires your current IP to be whitelisted or the IPMI VPN. Host string `json:"host,omitempty"` // Username for IPMI console. Username string `json:"username,omitempty"` Drivertype string `json:"drivertype,omitempty"` }
type IpmiSensor ¶
type IpmiValidLogin ¶
type IpmiValidLogin struct {
Valid bool `json:"valid"`
}
type Location ¶
type Location struct { // The unique facility code. Code string `json:"code,omitempty"` Location *LocationLocation `json:"location,omitempty"` // true|false if core site. Core bool `json:"core,omitempty"` // The unique identifier for a facility Id int32 `json:"id,omitempty"` // The unique facility name. Title string `json:"title,omitempty"` // true|false if edge site. Edge bool `json:"edge,omitempty"` // Location option IDs of location LocationOptionIds []int32 `json:"location_option_ids,omitempty"` }
type MaintenanceApiGetMaintenanceEventClientResourceOpts ¶ added in v0.2.0
type MaintenanceApiGetMaintenanceEventIdClientResourceOpts ¶ added in v0.2.0
type MaintenanceApiService ¶ added in v0.2.0
type MaintenanceApiService service
func (*MaintenanceApiService) GetMaintenanceEventClientResource ¶ added in v0.2.0
func (a *MaintenanceApiService) GetMaintenanceEventClientResource(ctx context.Context, localVarOptionals *MaintenanceApiGetMaintenanceEventClientResourceOpts) ([]MaintenanceEvent, *http.Response, error)
func (*MaintenanceApiService) GetMaintenanceEventIdClientResource ¶ added in v0.2.0
func (a *MaintenanceApiService) GetMaintenanceEventIdClientResource(ctx context.Context, maintenanceEventId int32, localVarOptionals *MaintenanceApiGetMaintenanceEventIdClientResourceOpts) (MaintenanceEvent, *http.Response, error)
type MaintenanceEvent ¶ added in v0.2.0
type MaintenanceEvent struct { // Maintenance Event End (UTC) End time.Time `json:"end,omitempty"` // Device IDs affected by event DeviceIds []int32 `json:"device_ids,omitempty"` // Maintenance Event Title Title string `json:"title,omitempty"` // Maintenance Event ID MaintenanceEventId int32 `json:"maintenanceEventId,omitempty"` // Maintenance Event Start (UTC) Start time.Time `json:"start,omitempty"` // Maintenance Event Description Description string `json:"description,omitempty"` }
type Modification ¶
type MxRecordCreate ¶
type MxRecordReturn ¶
type MxRecordUpdate ¶
type NetworkApiService ¶
type NetworkApiService service
func (*NetworkApiService) DeleteNullRoutesIdResource ¶
func (a *NetworkApiService) DeleteNullRoutesIdResource(ctx context.Context, ipAddress string, localVarOptionals *NetworkApiDeleteNullRoutesIdResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*NetworkApiService) GetDeviceNetworkPortResource ¶
func (a *NetworkApiService) GetDeviceNetworkPortResource(ctx context.Context, localVarOptionals *NetworkApiGetDeviceNetworkPortResourceOpts) ([]DevicePort, *http.Response, error)
func (*NetworkApiService) GetNetworkTaskClientResource ¶
func (a *NetworkApiService) GetNetworkTaskClientResource(ctx context.Context, localVarOptionals *NetworkApiGetNetworkTaskClientResourceOpts) ([]NetworkTaskDump, *http.Response, error)
func (*NetworkApiService) GetNetworkTaskIdResource ¶
func (a *NetworkApiService) GetNetworkTaskIdResource(ctx context.Context, id string, localVarOptionals *NetworkApiGetNetworkTaskIdResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*NetworkApiService) GetNullRoutesIdResource ¶
func (a *NetworkApiService) GetNullRoutesIdResource(ctx context.Context, ipAddress string, localVarOptionals *NetworkApiGetNullRoutesIdResourceOpts) (NullRoute, *http.Response, error)
func (*NetworkApiService) GetNullRoutesResource ¶
func (a *NetworkApiService) GetNullRoutesResource(ctx context.Context, localVarOptionals *NetworkApiGetNullRoutesResourceOpts) ([]NullRoute, *http.Response, error)
func (*NetworkApiService) PostNullRoutesResource ¶
func (a *NetworkApiService) PostNullRoutesResource(ctx context.Context, payload NullRouteRequest, localVarOptionals *NetworkApiPostNullRoutesResourceOpts) (NetworkTaskDump, *http.Response, error)
type NetworkTaskDump ¶
type NetworkTaskDump struct { // Timestamp of task creation date. TaskCreated interface{} `json:"taskCreated,omitempty"` // Success|Pending|Failed. Null value also means Pending. Result string `json:"result,omitempty"` // Timestamp of most recent activity taken on the network task. This will update multiple times for multi-step tasks. TaskUpdated interface{} `json:"taskUpdated,omitempty"` // Unique ID of the network task. TaskId string `json:"taskId,omitempty"` // Unique ID of the client triggering the task. ClientId int32 `json:"clientId,omitempty"` // Unique ID of the target device. DeviceId int32 `json:"deviceId,omitempty"` // Key value arguments used to trigger the task. MetaData string `json:"metaData,omitempty"` }
type NullRoute ¶
type NullRoute struct { // Filled if IP was nulled by an admin user AdminId int32 `json:"adminId,omitempty"` // IP address Ip string `json:"ip,omitempty"` // Timestamp the null route was created Created time.Time `json:"created,omitempty"` // Client ID who owns the IP ClientId int32 `json:"clientId,omitempty"` // Comment of the null route Comment string `json:"comment,omitempty"` }
type NullRouteRequest ¶
type OperatingSystem ¶
type OptionDump ¶
type OptionDump struct { // Used with `tags` to determine option compatibility. See product docs. Expressions []string `json:"expressions,omitempty"` // USD|other Currency string `json:"currency,omitempty"` // Unique ID of the option. Stays the same across products. Id int32 `json:"id,omitempty"` // Unique option name. Name string `json:"name"` // Monthly price of the option. MonthlyPrice float32 `json:"monthlyPrice,omitempty"` // Used with `expressions` to determine option compatibility. See product docs. Tags []string `json:"tags,omitempty"` OperatingSystemFeatures *OperatingSystem `json:"operatingSystemFeatures,omitempty"` }
type OrderApiService ¶
type OrderApiService service
func (*OrderApiService) GetOrderIdResource ¶
func (a *OrderApiService) GetOrderIdResource(ctx context.Context, orderId int32, localVarOptionals *OrderApiGetOrderIdResourceOpts) (OrderDump, *http.Response, error)
func (*OrderApiService) GetOrderInprogressResource ¶
func (a *OrderApiService) GetOrderInprogressResource(ctx context.Context, localVarOptionals *OrderApiGetOrderInprogressResourceOpts) ([]OrderDump, *http.Response, error)
func (*OrderApiService) GetOrderResource ¶
func (a *OrderApiService) GetOrderResource(ctx context.Context, localVarOptionals *OrderApiGetOrderResourceOpts) ([]OrderDump, *http.Response, error)
type OrderGroup ¶
type OrderGroupCreate ¶
type OrderGroupUpdate ¶
type OrderGroupUpdate struct {
Name string `json:"name"`
}
type OrderGroupsApiService ¶
type OrderGroupsApiService service
func (*OrderGroupsApiService) DeleteOrderGroupIdResource ¶
func (a *OrderGroupsApiService) DeleteOrderGroupIdResource(ctx context.Context, orderGroupId int32) (*http.Response, error)
OrderGroupsApiService Delete the specified Order Group
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param orderGroupId Id of the order group to interact with
func (*OrderGroupsApiService) GetOrderGroupIdResource ¶
func (a *OrderGroupsApiService) GetOrderGroupIdResource(ctx context.Context, orderGroupId int32, localVarOptionals *OrderGroupsApiGetOrderGroupIdResourceOpts) (OrderGroup, *http.Response, error)
func (*OrderGroupsApiService) GetOrderGroupResource ¶
func (a *OrderGroupsApiService) GetOrderGroupResource(ctx context.Context, localVarOptionals *OrderGroupsApiGetOrderGroupResourceOpts) ([]OrderGroup, *http.Response, error)
func (*OrderGroupsApiService) PostOrderGroupResource ¶
func (a *OrderGroupsApiService) PostOrderGroupResource(ctx context.Context, payload OrderGroupCreate, localVarOptionals *OrderGroupsApiPostOrderGroupResourceOpts) (OrderGroup, *http.Response, error)
func (*OrderGroupsApiService) PutOrderGroupIdResource ¶
func (a *OrderGroupsApiService) PutOrderGroupIdResource(ctx context.Context, orderGroupId int32, payload OrderGroupUpdate, localVarOptionals *OrderGroupsApiPutOrderGroupIdResourceOpts) (OrderGroup, *http.Response, error)
type PasswordRequest ¶
type PasswordRequest struct {
Email string `json:"email"`
}
type PasswordResponse ¶
type PaymentMethodsEnabled ¶ added in v0.2.0
type Permission ¶
type PermissionApiService ¶
type PermissionApiService service
func (*PermissionApiService) GetPermissionAllResource ¶
func (a *PermissionApiService) GetPermissionAllResource(ctx context.Context) (*http.Response, error)
PermissionApiService Endpoint to get All Permissions
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*PermissionApiService) GetPermissionContactResource ¶
func (a *PermissionApiService) GetPermissionContactResource(ctx context.Context, contactId int32) (*http.Response, error)
PermissionApiService Endpoint to get Contact Permissions
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param contactId
func (*PermissionApiService) GetPermissionUserResource ¶
func (a *PermissionApiService) GetPermissionUserResource(ctx context.Context) (*http.Response, error)
PermissionApiService Endpoint to get User Permissions
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*PermissionApiService) PostPermissionAssignContactResource ¶
func (a *PermissionApiService) PostPermissionAssignContactResource(ctx context.Context, payload Permission, localVarOptionals *PermissionApiPostPermissionAssignContactResourceOpts) ([]PermissionReturn, *http.Response, error)
type PermissionReturn ¶
type PermissionReturn struct {
Name string `json:"name,omitempty"`
}
type PreviewEffectiveIgnition ¶
type PreviewEffectiveIgnition struct { Bonded bool `json:"bonded,omitempty"` Hostname string `json:"hostname,omitempty"` Password string `json:"password,omitempty"` PublicKeys []string `json:"publicKeys,omitempty"` PrimaryInterface *PrimaryInterface `json:"primaryInterface,omitempty"` Ignition interface{} `json:"ignition"` }
type PreviewEffectiveIgnitionResponse ¶
type PreviewEffectiveIgnitionResponse struct { Modifications []Modification `json:"modifications,omitempty"` Original interface{} `json:"original,omitempty"` Result interface{} `json:"result,omitempty"` }
type PrimaryInterface ¶
type ProductApiService ¶
type ProductApiService service
func (*ProductApiService) GetProductOperatingSystemsResource ¶
func (a *ProductApiService) GetProductOperatingSystemsResource(ctx context.Context, productId int32, localVarOptionals *ProductApiGetProductOperatingSystemsResourceOpts) ([]OptionDump, *http.Response, error)
func (*ProductApiService) GetProductOptionResource ¶
func (a *ProductApiService) GetProductOptionResource(ctx context.Context, productId int32, localVarOptionals *ProductApiGetProductOptionResourceOpts) (Options, *http.Response, error)
func (*ProductApiService) GetProductsAndOptionsResource ¶
func (a *ProductApiService) GetProductsAndOptionsResource(ctx context.Context, localVarOptionals *ProductApiGetProductsAndOptionsResourceOpts) ([]ProductOption, *http.Response, error)
type ProductOption ¶
type ProductOption struct { // Unique product id. ProductId int32 `json:"productId,omitempty"` // List of available options. Options interface{} `json:"options,omitempty"` // *DEPRECATED* Pricing interface{} `json:"pricing,omitempty"` }
type ProfileApiService ¶
type ProfileApiService service
func (*ProfileApiService) GetBasicProfileResource ¶
func (a *ProfileApiService) GetBasicProfileResource(ctx context.Context, localVarOptionals *ProfileApiGetBasicProfileResourceOpts) (BasicProfileDump, *http.Response, error)
func (*ProfileApiService) GetProfileResource ¶
func (a *ProfileApiService) GetProfileResource(ctx context.Context, localVarOptionals *ProfileApiGetProfileResourceOpts) (ProfileDump, *http.Response, error)
func (*ProfileApiService) PutProfileResource ¶
func (a *ProfileApiService) PutProfileResource(ctx context.Context, payload ProfileUpdate, localVarOptionals *ProfileApiPutProfileResourceOpts) (ProfileDump, *http.Response, error)
type ProfileDump ¶
type ProfileDump struct { Login string `json:"login,omitempty"` First string `json:"first,omitempty"` Address interface{} `json:"address,omitempty"` Phone string `json:"phone,omitempty"` Id int32 `json:"id,omitempty"` State interface{} `json:"state,omitempty"` Zip interface{} `json:"zip,omitempty"` Fax interface{} `json:"fax,omitempty"` Email string `json:"email,omitempty"` Company interface{} `json:"company,omitempty"` Last string `json:"last,omitempty"` City interface{} `json:"city,omitempty"` MetaData interface{} `json:"metaData,omitempty"` FullName interface{} `json:"fullName,omitempty"` Created interface{} `json:"created,omitempty"` IsClient bool `json:"isClient,omitempty"` Country interface{} `json:"country,omitempty"` }
type ProfileUpdate ¶
type ProfileUpdate struct { Address string `json:"address,omitempty"` First string `json:"first,omitempty"` DirectToZendesk string `json:"directToZendesk,omitempty"` State string `json:"state,omitempty"` Zip string `json:"zip,omitempty"` Email string `json:"email,omitempty"` Company string `json:"company,omitempty"` Last string `json:"last,omitempty"` Password string `json:"password,omitempty"` City string `json:"city,omitempty"` RequireOauthLogin string `json:"requireOauthLogin,omitempty"` FullName string `json:"fullName,omitempty"` RequirePayPalOauthLogin string `json:"requirePayPalOauthLogin,omitempty"` DisableInvoiceEmails bool `json:"disableInvoiceEmails,omitempty"` Phone string `json:"phone,omitempty"` Country string `json:"country,omitempty"` }
type PtrRecordReturn ¶
type PtrRecordUpdate ¶
type PublicApiHideTokenDump ¶
type PublicApiHideTokenDump struct { TimeCreated time.Time `json:"timeCreated,omitempty"` TimeUpdated time.Time `json:"timeUpdated,omitempty"` IpAddresses *PublicApiTokenIp `json:"ipAddresses,omitempty"` Name string `json:"name,omitempty"` // Token expiration datetime in UTC format. TimeExpiration time.Time `json:"timeExpiration"` Token string `json:"token"` ApiTokenId string `json:"apiTokenId,omitempty"` }
type PublicApiToken ¶
type PublicApiToken struct { Name string `json:"name,omitempty"` // Token expiration datetime in Unix time format. TimeExpiration time.Time `json:"timeExpiration,omitempty"` IpAddresses *PublicApiTokenIp `json:"ipAddresses,omitempty"` }
type PublicApiTokenIp ¶
type PublicApiTokenLoad ¶
type PublicApiTokenResponsePostDump ¶
type PublicApiTokenResponsePostDump struct { TimeCreated time.Time `json:"timeCreated,omitempty"` TimeUpdated time.Time `json:"timeUpdated,omitempty"` IpAddresses *PublicApiTokenIp `json:"ipAddresses,omitempty"` Name string `json:"name,omitempty"` // Token expiration datetime in UTC format. TimeExpiration time.Time `json:"timeExpiration"` Token string `json:"token"` ApiTokenId string `json:"apiTokenId,omitempty"` }
type Service ¶
type Service struct { ServiceId int32 `json:"serviceId,omitempty"` Created int32 `json:"created,omitempty"` BilledPrice float32 `json:"billedPrice,omitempty"` BilledPricePerPeriod float32 `json:"billedPricePerPeriod,omitempty"` ServiceCost float32 `json:"serviceCost,omitempty"` LastRenew int32 `json:"lastRenew,omitempty"` RenewDate int32 `json:"renewDate,omitempty"` Quantity float32 `json:"quantity,omitempty"` OrderId int32 `json:"orderId,omitempty"` Status string `json:"status,omitempty"` Period string `json:"period,omitempty"` Discount float32 `json:"discount,omitempty"` DiscountType string `json:"discountType,omitempty"` DiscountedCost float32 `json:"discountedCost,omitempty"` ServiceDiscount float32 `json:"serviceDiscount,omitempty"` ServiceDiscountPerPeriod float32 `json:"serviceDiscountPerPeriod,omitempty"` IpAddress string `json:"ipAddress,omitempty"` CancelAfter int32 `json:"cancelAfter,omitempty"` StartDate int32 `json:"startDate,omitempty"` EndDate int32 `json:"endDate,omitempty"` ServiceOptions []ServiceOption `json:"serviceOptions,omitempty"` Usage interface{} `json:"usage,omitempty"` ServiceDevices []interface{} `json:"serviceDevices,omitempty"` ChildServices []interface{} `json:"childServices,omitempty"` ProductId int32 `json:"productId,omitempty"` ProductName string `json:"productName,omitempty"` Reseller string `json:"reseller,omitempty"` ServiceType string `json:"serviceType,omitempty"` ContractTerm int32 `json:"contractTerm,omitempty"` BillingInfoId int32 `json:"billingInfoId,omitempty"` AutoBill bool `json:"autoBill,omitempty"` ColocationCharge float32 `json:"colocationCharge,omitempty"` ResellerBmaasCharge float32 `json:"resellerBmaasCharge,omitempty"` FacilityName string `json:"facilityName,omitempty"` // The service type code. The list of service types can be accessed on https://core.hivelocity.net/api/v2/service/types . TypeCode string `json:"typeCode,omitempty"` BandwidthBilling *ServiceBandwidthBilling `json:"bandwidthBilling,omitempty"` Acquisition string `json:"acquisition,omitempty"` }
type ServiceApiService ¶
type ServiceApiService service
func (*ServiceApiService) GetServiceIdResource ¶
func (a *ServiceApiService) GetServiceIdResource(ctx context.Context, serviceId int32, localVarOptionals *ServiceApiGetServiceIdResourceOpts) (Service, *http.Response, error)
func (*ServiceApiService) GetServiceManageableResource ¶
func (a *ServiceApiService) GetServiceManageableResource(ctx context.Context, serviceId int32, localVarOptionals *ServiceApiGetServiceManageableResourceOpts) (ServiceManageable, *http.Response, error)
func (*ServiceApiService) GetServiceManagedReqResource ¶
func (a *ServiceApiService) GetServiceManagedReqResource(ctx context.Context, localVarOptionals *ServiceApiGetServiceManagedReqResourceOpts) (ServiceManagedReq, *http.Response, error)
func (*ServiceApiService) GetServiceResource ¶
func (a *ServiceApiService) GetServiceResource(ctx context.Context, status string, localVarOptionals *ServiceApiGetServiceResourceOpts) ([]FastServiceDump, *http.Response, error)
func (*ServiceApiService) GetServiceTypeResource ¶
func (a *ServiceApiService) GetServiceTypeResource(ctx context.Context, localVarOptionals *ServiceApiGetServiceTypeResourceOpts) ([]ServiceType, *http.Response, error)
func (*ServiceApiService) PostServiceIdApplyCouponResource ¶
func (a *ServiceApiService) PostServiceIdApplyCouponResource(ctx context.Context, serviceId int32, payload CartCoupon) (*http.Response, error)
ServiceApiService Apply the coupon code for a service
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param serviceId
- @param payload
func (*ServiceApiService) PostServiceIdValidateCouponResource ¶
func (a *ServiceApiService) PostServiceIdValidateCouponResource(ctx context.Context, serviceId int32, payload CartCoupon, localVarOptionals *ServiceApiPostServiceIdValidateCouponResourceOpts) (ValidateCartCouponDump, *http.Response, error)
type ServiceBandwidthBilling ¶
type ServiceManageable ¶
type ServiceManagedReq ¶
type ServiceManagedReq struct { EligibleOs interface{} `json:"eligible_os,omitempty"` EligiblePanel interface{} `json:"eligible_panel,omitempty"` }
type ServiceOption ¶
type ServiceOption struct { // Upgrade ID of hardware option UpgradeId int32 `json:"upgradeId,omitempty"` // Upgrade name of hardware option UpgradeName string `json:"upgradeName,omitempty"` // Option name of hardware option OptionName string `json:"optionName,omitempty"` OptionId int32 `json:"optionId,omitempty"` }
type ServiceOptionData ¶
type ServiceOptionData struct { ServiceOptionId int32 `json:"serviceOptionId,omitempty"` Name string `json:"name,omitempty"` OptionId int32 `json:"optionId,omitempty"` UpgradeName string `json:"upgradeName,omitempty"` GroupName string `json:"groupName,omitempty"` InvoiceHide string `json:"invoiceHide,omitempty"` }
type ServiceType ¶
type SshKeyApiService ¶
type SshKeyApiService service
func (*SshKeyApiService) DeleteSshKeyIdResource ¶
func (a *SshKeyApiService) DeleteSshKeyIdResource(ctx context.Context, sshKeyId int32) (*http.Response, error)
SshKeyApiService Removes public ssh key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param sshKeyId
func (*SshKeyApiService) GetSshKeyIdResource ¶
func (a *SshKeyApiService) GetSshKeyIdResource(ctx context.Context, sshKeyId int32, localVarOptionals *SshKeyApiGetSshKeyIdResourceOpts) (SshKeyResponse, *http.Response, error)
func (*SshKeyApiService) GetSshKeyResource ¶
func (a *SshKeyApiService) GetSshKeyResource(ctx context.Context, localVarOptionals *SshKeyApiGetSshKeyResourceOpts) ([]SshKeyResponse, *http.Response, error)
func (*SshKeyApiService) PostSshKeyResource ¶
func (a *SshKeyApiService) PostSshKeyResource(ctx context.Context, payload SshKey, localVarOptionals *SshKeyApiPostSshKeyResourceOpts) (SshKeyResponse, *http.Response, error)
func (*SshKeyApiService) PutSshKeyIdResource ¶
func (a *SshKeyApiService) PutSshKeyIdResource(ctx context.Context, sshKeyId int32, payload SshKeyUpdate, localVarOptionals *SshKeyApiPutSshKeyIdResourceOpts) (SshKeyResponse, *http.Response, error)
type SshKeyResponse ¶
type SshKeyUpdate ¶
type Stock ¶
type Stock struct { // true|false. If product is SPS IsSps bool `json:"is_sps,omitempty"` // Price per hour. ProductHourlyPrice float32 `json:"product_hourly_price,omitempty"` // Human readable CPU core and thread info in HTML format. ProductCpuCores string `json:"product_cpu_cores,omitempty"` // Additional biennial fee for this `product_id` in this `data_center`. BiennialLocationPremium float32 `json:"biennial_location_premium,omitempty"` // Price per 3 year period (36 months). ProductTriennialPrice float32 `json:"product_triennial_price,omitempty"` // Additional triennial fee for this `product_id` in this `data_center`. TriennialLocationPremium float32 `json:"triennial_location_premium,omitempty"` // true|false. If SPS product is VPS type IsVps bool `json:"is_vps,omitempty"` // Additional annual fee for this `product_id` in this `data_center`. AnnuallyLocationPremium float32 `json:"annually_location_premium,omitempty"` // Additional semi-annual fee for this `product_id` in this `data_center`. SemiAnnuallyLocationPremium float32 `json:"semi_annually_location_premium,omitempty"` // Human readable GPU specs. ProductGpu string `json:"product_gpu,omitempty"` // true|false. Use with `product_original_price`. ProductOnSale bool `json:"product_on_sale,omitempty"` // Retail price of product. Use with `product_on_sale`. ProductOriginalPrice float32 `json:"product_original_price,omitempty"` // Price per half year (6 months). ProductSemiAnnuallyPrice float32 `json:"product_semi_annually_price,omitempty"` // Human readable networking specs in the format: Free Outbound Transfer / NIC Size ProductBandwidth string `json:"product_bandwidth,omitempty"` // Price per 2 year period (24 months). ProductBiennialPrice float32 `json:"product_biennial_price,omitempty"` // Price per year (12 months). ProductAnnuallyPrice float32 `json:"product_annually_price,omitempty"` // Price per month. ProductMonthlyPrice float32 `json:"product_monthly_price,omitempty"` // The unique name of this product. ProductName string `json:"product_name,omitempty"` // available|limited|unavailable. Limited denotes minimal stock. Stock string `json:"stock,omitempty"` // Orders for the periods in the array will fail. Possible values: hourly|monthly|quarterly|semi-annually|biennial|triennial ProductDisabledBillingPeriods []string `json:"product_disabled_billing_periods,omitempty"` // Price per quarter (3 months). ProductQuarterlyPrice float32 `json:"product_quarterly_price,omitempty"` // Human readable CPU specs. ProductCpu string `json:"product_cpu,omitempty"` // Additional hourly fee for this `product_id` in this `data_center`. HourlyLocationPremium float32 `json:"hourly_location_premium,omitempty"` // Location option ID for datacenter LocationOptionId int32 `json:"location_option_id,omitempty"` // The unique ID of this product. ProductId int32 `json:"product_id,omitempty"` // JSON CPU info for cores, threads, sockets, and vCPUs. ProcessorInfo interface{} `json:"processor_info,omitempty"` // *DEPRECATED*. ProductDisplayPrice float32 `json:"product_display_price,omitempty"` // Human readable drive specs. Can include multiple drives. ProductDrive string `json:"product_drive,omitempty"` // Human readable memory specs. ProductMemory string `json:"product_memory,omitempty"` // true|false if core site. Core bool `json:"core,omitempty"` // A facility code. For example `NYC1`. DataCenter string `json:"data_center,omitempty"` // Additional quarterly fee for this `product_id` in this `data_center`. QuarterlyLocationPremium float32 `json:"quarterly_location_premium,omitempty"` // Additional monthly fee for this `product_id` in this `data_center`. MonthlyLocationPremium float32 `json:"monthly_location_premium,omitempty"` // true|false if edge site. Edge bool `json:"edge,omitempty"` }
type Ticket ¶
type Ticket struct { Status string `json:"status,omitempty"` Subject string `json:"subject,omitempty"` Queue string `json:"queue,omitempty"` Updated float32 `json:"updated,omitempty"` Opened float32 `json:"opened,omitempty"` ServiceId float32 `json:"serviceId,omitempty"` Client *Client `json:"client,omitempty"` Priority string `json:"priority,omitempty"` Id float32 `json:"id,omitempty"` Posts float32 `json:"posts,omitempty"` Contact *ContactDump `json:"contact,omitempty"` Body string `json:"body,omitempty"` NewReply bool `json:"newReply,omitempty"` MetaData interface{} `json:"metaData,omitempty"` Replies []TicketPost `json:"replies,omitempty"` ClientId float32 `json:"clientId,omitempty"` ContactId float32 `json:"contactId,omitempty"` Duration float32 `json:"duration,omitempty"` InternalTicket float32 `json:"internalTicket,omitempty"` }
type TicketApiService ¶
type TicketApiService service
func (*TicketApiService) GetTicketIdResource ¶
func (a *TicketApiService) GetTicketIdResource(ctx context.Context, ticketId int32, localVarOptionals *TicketApiGetTicketIdResourceOpts) (Ticket, *http.Response, error)
func (*TicketApiService) GetTicketReplyResource ¶
func (a *TicketApiService) GetTicketReplyResource(ctx context.Context, ticketId int32, localVarOptionals *TicketApiGetTicketReplyResourceOpts) ([]TicketPost, *http.Response, error)
func (*TicketApiService) GetTicketResource ¶
func (a *TicketApiService) GetTicketResource(ctx context.Context, localVarOptionals *TicketApiGetTicketResourceOpts) ([]Ticket, *http.Response, error)
func (*TicketApiService) GetTicketSearchResource ¶
func (a *TicketApiService) GetTicketSearchResource(ctx context.Context, localVarOptionals *TicketApiGetTicketSearchResourceOpts) (TicketSeachResult, *http.Response, error)
func (*TicketApiService) PostTicketReplyResource ¶
func (a *TicketApiService) PostTicketReplyResource(ctx context.Context, ticketId int32, payload TicketCreateReply, localVarOptionals *TicketApiPostTicketReplyResourceOpts) (TicketPost, *http.Response, error)
func (*TicketApiService) PostTicketResource ¶
func (a *TicketApiService) PostTicketResource(ctx context.Context, payload TicketCreate, localVarOptionals *TicketApiPostTicketResourceOpts) (Ticket, *http.Response, error)
func (*TicketApiService) PutTicketIdResource ¶
func (a *TicketApiService) PutTicketIdResource(ctx context.Context, ticketId int32, payload TicketPut, localVarOptionals *TicketApiPutTicketIdResourceOpts) (Ticket, *http.Response, error)
type TicketAttach ¶
type TicketCreate ¶
type TicketCreateReply ¶
type TicketCreateReply struct { Body string `json:"body"` ReplyTo string `json:"replyTo,omitempty"` Date float32 `json:"date,omitempty"` Attachments []interface{} `json:"attachments,omitempty"` Hidden float32 `json:"hidden,omitempty"` Subject string `json:"subject,omitempty"` Type_ float32 `json:"type,omitempty"` Headers string `json:"headers,omitempty"` Cc string `json:"cc,omitempty"` Recipient string `json:"recipient,omitempty"` Encrypted string `json:"encrypted,omitempty"` ContactId float32 `json:"contactId,omitempty"` }
type TicketPost ¶
type TicketPost struct { AdminId float32 `json:"adminId,omitempty"` FromAdmin bool `json:"fromAdmin,omitempty"` Body string `json:"body,omitempty"` From interface{} `json:"from,omitempty"` Id float32 `json:"id,omitempty"` Attachments float32 `json:"attachments,omitempty"` Hidden float32 `json:"hidden,omitempty"` Subject string `json:"subject,omitempty"` UbersmithAttachedFiles []TicketAttach `json:"ubersmith_attached_files,omitempty"` TicketId float32 `json:"ticketId,omitempty"` ClientId float32 `json:"clientId,omitempty"` Date float32 `json:"date,omitempty"` ContactId float32 `json:"contactId,omitempty"` }
type TicketSeachResult ¶
type TicketSeachResult struct { Pages int32 `json:"pages,omitempty"` NextPage int32 `json:"nextPage,omitempty"` Items *TicketPost `json:"items,omitempty"` Page int32 `json:"page,omitempty"` PrevPage int32 `json:"prevPage,omitempty"` HasNext bool `json:"hasNext,omitempty"` Total int32 `json:"total,omitempty"` PerPage int32 `json:"perPage,omitempty"` HasPrev bool `json:"hasPrev,omitempty"` }
type TokenApiService ¶
type TokenApiService service
func (*TokenApiService) DeleteTokenResource ¶
func (a *TokenApiService) DeleteTokenResource(ctx context.Context, payload DeleteApiTokenLoad) (*http.Response, error)
TokenApiService Deletes the Public API Token with apiTokenId
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param payload
func (*TokenApiService) GetTokenResource ¶
func (a *TokenApiService) GetTokenResource(ctx context.Context, localVarOptionals *TokenApiGetTokenResourceOpts) ([]PublicApiHideTokenDump, *http.Response, error)
func (*TokenApiService) PostTokenResource ¶
func (a *TokenApiService) PostTokenResource(ctx context.Context, payload PublicApiToken, localVarOptionals *TokenApiPostTokenResourceOpts) (PublicApiTokenResponsePostDump, *http.Response, error)
func (*TokenApiService) PutTokenResource ¶
func (a *TokenApiService) PutTokenResource(ctx context.Context, payload PublicApiTokenLoad, localVarOptionals *TokenApiPutTokenResourceOpts) (PublicApiHideTokenDump, *http.Response, error)
type TotalActiveCredit ¶
type TotalActiveCredit struct { // Whether credits are automatically being applied to new orders AutoApply bool `json:"autoApply,omitempty"` // If a client has an incomplete order that is using credit, the \"total active\" will remain at 0 until the order is completed. HasCreditPendingOrder bool `json:"hasCreditPendingOrder,omitempty"` // The total active amount of credit available on the client account TotalActive float32 `json:"totalActive,omitempty"` }
type UpdateDevicesIpmiThresholds ¶
type UpdateDevicesIpmiThresholds struct { // List of unique device IDs. DeviceIds []int32 `json:"device_ids"` // Alert thresholds for IPMI sensor values. Thresholds interface{} `json:"thresholds"` }
type UpdateIgnition ¶
type UpdateIgnition struct {
Contents string `json:"contents"`
}
type VLANApiService ¶
type VLANApiService service
func (*VLANApiService) DeleteVlanIdResource ¶
func (a *VLANApiService) DeleteVlanIdResource(ctx context.Context, vlanId int32) (*http.Response, error)
VLANApiService Delete VLAN
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param vlanId Id of the VLAN to interact with
func (*VLANApiService) GetVlanIdResource ¶
func (a *VLANApiService) GetVlanIdResource(ctx context.Context, vlanId int32, localVarOptionals *VLANApiGetVlanIdResourceOpts) (Vlan, *http.Response, error)
func (*VLANApiService) GetVlanResource ¶
func (a *VLANApiService) GetVlanResource(ctx context.Context, localVarOptionals *VLANApiGetVlanResourceOpts) ([]Vlan, *http.Response, error)
func (*VLANApiService) PostVlanIdClearResource ¶
func (a *VLANApiService) PostVlanIdClearResource(ctx context.Context, vlanId int32, localVarOptionals *VLANApiPostVlanIdClearResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VLANApiService) PostVlanResource ¶
func (a *VLANApiService) PostVlanResource(ctx context.Context, payload VlanCreate, localVarOptionals *VLANApiPostVlanResourceOpts) (Vlan, *http.Response, error)
func (*VLANApiService) PutVlanIdResource ¶
func (a *VLANApiService) PutVlanIdResource(ctx context.Context, vlanId int32, payload VlanUpdate, localVarOptionals *VLANApiPutVlanIdResourceOpts) (NetworkTaskDump, *http.Response, error)
type VPSApiDeleteVpsIdNetworkRemoveResourceOpts ¶ added in v0.2.0
type VPSApiDeleteVpsNetworkIdResourceOpts ¶ added in v0.2.0
type VPSApiDeleteVpsSecondaryIpRemoveResourceOpts ¶ added in v0.2.0
type VPSApiGetVpsNetworkIdResourceOpts ¶ added in v0.2.0
type VPSApiGetVpsNetworkResourceOpts ¶ added in v0.2.0
type VPSApiGetVpsResourceOpts ¶ added in v0.2.0
type VPSApiGetVpsSecondaryIpAddResourceOpts ¶ added in v0.2.0
type VPSApiPostVpsAttachVolumeResourceOpts ¶ added in v0.2.0
type VPSApiPostVpsDetachVolumeResourceOpts ¶ added in v0.2.0
type VPSApiPostVpsIdNetworkAddResourceOpts ¶ added in v0.2.0
type VPSApiPostVpsNetworkResourceOpts ¶ added in v0.2.0
type VPSApiPostVpsSecondaryIpAddResourceOpts ¶ added in v0.2.0
type VPSApiPutVpsNetworkIdResourceOpts ¶ added in v0.2.0
type VPSApiPutVpsResetPasswordResourceOpts ¶ added in v0.2.0
type VPSApiService ¶
type VPSApiService service
func (*VPSApiService) DeleteVpsIdNetworkRemoveResource ¶ added in v0.2.0
func (a *VPSApiService) DeleteVpsIdNetworkRemoveResource(ctx context.Context, deviceId int32, networkId string, localVarOptionals *VPSApiDeleteVpsIdNetworkRemoveResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) DeleteVpsNetworkIdResource ¶ added in v0.2.0
func (a *VPSApiService) DeleteVpsNetworkIdResource(ctx context.Context, networkId string, localVarOptionals *VPSApiDeleteVpsNetworkIdResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) DeleteVpsSecondaryIpRemoveResource ¶ added in v0.2.0
func (a *VPSApiService) DeleteVpsSecondaryIpRemoveResource(ctx context.Context, deviceId int32, ipAssignmentId int32, localVarOptionals *VPSApiDeleteVpsSecondaryIpRemoveResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) DeleteVpsSnapshotIdResource ¶
func (a *VPSApiService) DeleteVpsSnapshotIdResource(ctx context.Context, snapshotId string, localVarOptionals *VPSApiDeleteVpsSnapshotIdResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) DeleteVpsSnapshotScheduleIdResource ¶
func (a *VPSApiService) DeleteVpsSnapshotScheduleIdResource(ctx context.Context, snapshotScheduleId string, localVarOptionals *VPSApiDeleteVpsSnapshotScheduleIdResourceOpts) (*http.Response, error)
func (*VPSApiService) DeleteVpsVolumeIdResource ¶
func (a *VPSApiService) DeleteVpsVolumeIdResource(ctx context.Context, volumeId string, payload VpsVolumeDelete, localVarOptionals *VPSApiDeleteVpsVolumeIdResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) DeleteVpsisoIdResource ¶
func (a *VPSApiService) DeleteVpsisoIdResource(ctx context.Context, isoId string, localVarOptionals *VPSApiDeleteVpsisoIdResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) GetVpsAvailableNewVolumesResource ¶
func (a *VPSApiService) GetVpsAvailableNewVolumesResource(ctx context.Context, localVarOptionals *VPSApiGetVpsAvailableNewVolumesResourceOpts) (VpsAvailableNewVolumeSizes, *http.Response, error)
func (*VPSApiService) GetVpsAvailableUpgradeSizesResource ¶
func (a *VPSApiService) GetVpsAvailableUpgradeSizesResource(ctx context.Context, volumeId string, localVarOptionals *VPSApiGetVpsAvailableUpgradeSizesResourceOpts) (VpsAvailableUpgradeSizes, *http.Response, error)
func (*VPSApiService) GetVpsIdEventsResource ¶
func (a *VPSApiService) GetVpsIdEventsResource(ctx context.Context, deviceId int32, localVarOptionals *VPSApiGetVpsIdEventsResourceOpts) ([]VpsEvent, *http.Response, error)
func (*VPSApiService) GetVpsIdResource ¶
func (a *VPSApiService) GetVpsIdResource(ctx context.Context, deviceId int32, localVarOptionals *VPSApiGetVpsIdResourceOpts) (Vps, *http.Response, error)
func (*VPSApiService) GetVpsMetricsResource ¶
func (a *VPSApiService) GetVpsMetricsResource(ctx context.Context, deviceId int32, metricType string, localVarOptionals *VPSApiGetVpsMetricsResourceOpts) (VpsMetricsResponse, *http.Response, error)
func (*VPSApiService) GetVpsNetworkIdResource ¶ added in v0.2.0
func (a *VPSApiService) GetVpsNetworkIdResource(ctx context.Context, networkId string, localVarOptionals *VPSApiGetVpsNetworkIdResourceOpts) (VpsNetwork, *http.Response, error)
func (*VPSApiService) GetVpsNetworkResource ¶ added in v0.2.0
func (a *VPSApiService) GetVpsNetworkResource(ctx context.Context, localVarOptionals *VPSApiGetVpsNetworkResourceOpts) ([]VpsNetwork, *http.Response, error)
func (*VPSApiService) GetVpsResource ¶ added in v0.2.0
func (a *VPSApiService) GetVpsResource(ctx context.Context, localVarOptionals *VPSApiGetVpsResourceOpts) ([]Vps, *http.Response, error)
func (*VPSApiService) GetVpsSecondaryIpAddResource ¶ added in v0.2.0
func (a *VPSApiService) GetVpsSecondaryIpAddResource(ctx context.Context, deviceId int32, localVarOptionals *VPSApiGetVpsSecondaryIpAddResourceOpts) ([]IpAssignment, *http.Response, error)
func (*VPSApiService) GetVpsSelfMetadataResource ¶
VPSApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*VPSApiService) GetVpsSnapshotIdResource ¶
func (a *VPSApiService) GetVpsSnapshotIdResource(ctx context.Context, snapshotId string, localVarOptionals *VPSApiGetVpsSnapshotIdResourceOpts) (VpsSnapshot, *http.Response, error)
func (*VPSApiService) GetVpsSnapshotResource ¶
func (a *VPSApiService) GetVpsSnapshotResource(ctx context.Context, localVarOptionals *VPSApiGetVpsSnapshotResourceOpts) ([]VpsSnapshot, *http.Response, error)
func (*VPSApiService) GetVpsSnapshotScheduleIdResource ¶
func (a *VPSApiService) GetVpsSnapshotScheduleIdResource(ctx context.Context, snapshotScheduleId string, localVarOptionals *VPSApiGetVpsSnapshotScheduleIdResourceOpts) (VpsSnapshotSchedule, *http.Response, error)
func (*VPSApiService) GetVpsSnapshotScheduleResource ¶
func (a *VPSApiService) GetVpsSnapshotScheduleResource(ctx context.Context, localVarOptionals *VPSApiGetVpsSnapshotScheduleResourceOpts) ([]VpsSnapshotSchedule, *http.Response, error)
func (*VPSApiService) GetVpsVolumeIdResource ¶
func (a *VPSApiService) GetVpsVolumeIdResource(ctx context.Context, volumeId string, localVarOptionals *VPSApiGetVpsVolumeIdResourceOpts) (VpsVolume, *http.Response, error)
func (*VPSApiService) GetVpsVolumeResource ¶
func (a *VPSApiService) GetVpsVolumeResource(ctx context.Context, localVarOptionals *VPSApiGetVpsVolumeResourceOpts) ([]VpsVolume, *http.Response, error)
func (*VPSApiService) GetVpsisoIdResource ¶
func (a *VPSApiService) GetVpsisoIdResource(ctx context.Context, isoId string, localVarOptionals *VPSApiGetVpsisoIdResourceOpts) (Vpsiso, *http.Response, error)
func (*VPSApiService) GetVpsisoResource ¶
func (a *VPSApiService) GetVpsisoResource(ctx context.Context, localVarOptionals *VPSApiGetVpsisoResourceOpts) ([]Vpsiso, *http.Response, error)
func (*VPSApiService) PostVpsAttachIsoResource ¶
func (a *VPSApiService) PostVpsAttachIsoResource(ctx context.Context, deviceId int32, payload VpsisoAttach, localVarOptionals *VPSApiPostVpsAttachIsoResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PostVpsAttachVolumeResource ¶ added in v0.2.0
func (a *VPSApiService) PostVpsAttachVolumeResource(ctx context.Context, volumeId string, deviceId int32, localVarOptionals *VPSApiPostVpsAttachVolumeResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PostVpsConsoleAccessResource ¶
func (a *VPSApiService) PostVpsConsoleAccessResource(ctx context.Context, deviceId int32, localVarOptionals *VPSApiPostVpsConsoleAccessResourceOpts) (VpsConsoleAccess, *http.Response, error)
func (*VPSApiService) PostVpsDetachIsoResource ¶
func (a *VPSApiService) PostVpsDetachIsoResource(ctx context.Context, deviceId int32, localVarOptionals *VPSApiPostVpsDetachIsoResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PostVpsDetachVolumeResource ¶ added in v0.2.0
func (a *VPSApiService) PostVpsDetachVolumeResource(ctx context.Context, volumeId string, deviceId int32, localVarOptionals *VPSApiPostVpsDetachVolumeResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PostVpsIdNetworkAddResource ¶ added in v0.2.0
func (a *VPSApiService) PostVpsIdNetworkAddResource(ctx context.Context, deviceId int32, payload VpsInstanceNetworkAdd, localVarOptionals *VPSApiPostVpsIdNetworkAddResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PostVpsNetworkResource ¶ added in v0.2.0
func (a *VPSApiService) PostVpsNetworkResource(ctx context.Context, payload VpsNetworkCreate, localVarOptionals *VPSApiPostVpsNetworkResourceOpts) (VpsNetwork, *http.Response, error)
func (*VPSApiService) PostVpsResetPasswordResource ¶ added in v0.2.0
func (a *VPSApiService) PostVpsResetPasswordResource(ctx context.Context, deviceId int32) (*http.Response, error)
VPSApiService Request token to reset root password for VPS
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param deviceId Device ID of VPS instance
func (*VPSApiService) PostVpsSecondaryIpAddResource ¶ added in v0.2.0
func (a *VPSApiService) PostVpsSecondaryIpAddResource(ctx context.Context, deviceId int32, localVarOptionals *VPSApiPostVpsSecondaryIpAddResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PostVpsSnapshotIdResource ¶
func (a *VPSApiService) PostVpsSnapshotIdResource(ctx context.Context, snapshotId string, payload VpsSnapshotRestore, localVarOptionals *VPSApiPostVpsSnapshotIdResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PostVpsSnapshotResource ¶
func (a *VPSApiService) PostVpsSnapshotResource(ctx context.Context, payload VpsSnapshotCreate, localVarOptionals *VPSApiPostVpsSnapshotResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PostVpsSnapshotScheduleResource ¶
func (a *VPSApiService) PostVpsSnapshotScheduleResource(ctx context.Context, payload VpsSnapshotScheduleCreate, localVarOptionals *VPSApiPostVpsSnapshotScheduleResourceOpts) (VpsSnapshotSchedule, *http.Response, error)
func (*VPSApiService) PostVpsVolumeResource ¶
func (a *VPSApiService) PostVpsVolumeResource(ctx context.Context, payload VpsVolumeCreate, localVarOptionals *VPSApiPostVpsVolumeResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PostVpsisoResource ¶
func (a *VPSApiService) PostVpsisoResource(ctx context.Context, payload VpsisoCreate, localVarOptionals *VPSApiPostVpsisoResourceOpts) (Vpsiso, *http.Response, error)
func (*VPSApiService) PutVpsIdResource ¶
func (a *VPSApiService) PutVpsIdResource(ctx context.Context, deviceId int32, payload VpsUpdate, localVarOptionals *VPSApiPutVpsIdResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PutVpsNetworkIdResource ¶ added in v0.2.0
func (a *VPSApiService) PutVpsNetworkIdResource(ctx context.Context, networkId string, payload VpsNetworkUpdate, localVarOptionals *VPSApiPutVpsNetworkIdResourceOpts) (NetworkTaskDump, *http.Response, error)
func (*VPSApiService) PutVpsResetPasswordResource ¶ added in v0.2.0
func (a *VPSApiService) PutVpsResetPasswordResource(ctx context.Context, deviceId int32, payload VpsResetRootPassword, localVarOptionals *VPSApiPutVpsResetPasswordResourceOpts) (*http.Response, error)
func (*VPSApiService) PutVpsVolumeIdResource ¶
func (a *VPSApiService) PutVpsVolumeIdResource(ctx context.Context, volumeId string, payload VpsVolumeUpdate, localVarOptionals *VPSApiPutVpsVolumeIdResourceOpts) (NetworkTaskDump, *http.Response, error)
type ValidateCartCouponDump ¶
type ValidateCartCouponDump struct { // The coupon code to validate. CouponCode string `json:"couponCode"` Coupon *ValidateCartCoupondumpCoupon `json:"coupon,omitempty"` // The unique client account ID. ClientId int32 `json:"clientId,omitempty"` // Error message if coupon is invalid. Error_ string `json:"error,omitempty"` // Whether the coupon is valid. IsValid bool `json:"isValid,omitempty"` }
type Vlan ¶
type Vlan struct { // Unique ID of the VLAN. VlanId int32 `json:"vlanId,omitempty"` // Unique IDs of IP Assignments. IpIds []int32 `json:"ipIds,omitempty"` // If true, VLAN can be automated via API. If false, contact support to enable automation. Automated bool `json:"automated,omitempty"` // If `public`, this VLAN can have IPs assigned to become reachable from the internet. If `private`, this VLAN can not have IPs assigned and will never be reachabled from the internet. All VLANs are subject to traffic billing and overages, with the exception of private VLAN traffic on unbonded Devices. Type_ string `json:"type,omitempty"` // The VLAN Tag id from the switch. Use this value when configuring your OS interfaces to use the VLAN. VlanTag int32 `json:"vlanTag,omitempty"` // If true, VLAN is configured in Q-in-Q Mode. Automation is not currently supported on Q-in-Q VLANs. QInQ bool `json:"qInQ,omitempty"` // Unique IDs of ports or bonds. PortIds []int32 `json:"portIds,omitempty"` // For example: `NYC1`. FacilityCode string `json:"facilityCode,omitempty"` }
type VlanCreate ¶
type VlanCreate struct { // The Facility where the VLAN will be created, for example: `NYC1`. Only Devices from the same Facility are allowed in the VLANs. FacilityCode string `json:"facilityCode"` // Choose `public` if you want to be able to assign IPs to the VLAN, making it reachable from the internet. Choose `private` if the VLAN should never be reachable from the internet. All VLANs are subject to traffic billing and overages, with the exception of private VLAN traffic on unbonded Devices. Type_ string `json:"type"` }
type VlanUpdate ¶
type Vps ¶
type Vps struct { // Number of vCPUs Vcpu int32 `json:"vcpu,omitempty"` // List of SSH Key IDs SshKeyIds []int32 `json:"sshKeyIds,omitempty"` // Cloud-init script CloudInit string `json:"cloudInit,omitempty"` // VPS Instance Status. Example: `Running` Status string `json:"status,omitempty"` // Memory in MB Memory int32 `json:"memory,omitempty"` // VPS Instance root password Password string `json:"password,omitempty"` // The unique ID of the VPS ISO. IsoId string `json:"isoId,omitempty"` Nics []interface{} `json:"nics,omitempty"` // Device ID DeviceId int32 `json:"deviceId,omitempty"` // Facility Code. Example: `LAX3` FacilityCode string `json:"facilityCode,omitempty"` // Template used for the install TemplateId string `json:"templateId,omitempty"` }
type VpsAvailableNewVolumeSizes ¶
type VpsAvailableNewVolumeSizes struct { // List volume products that can be created VolumeProducts []VpsVolumeProduct `json:"volumeProducts,omitempty"` }
type VpsAvailableUpgradeSizes ¶
type VpsAvailableUpgradeSizes struct { // List volume products to upgrade to for volume (in GiB) VolumeProducts []VpsVolumeProduct `json:"volumeProducts,omitempty"` }
type VpsConsoleAccess ¶
type VpsConsoleAccess struct { // URL for console access Url string `json:"url,omitempty"` }
type VpsEvent ¶
type VpsEvent struct { // The state of the event at the time of recording ie. Scheduled, Started or Completed. State string `json:"state,omitempty"` // The level of the event ie. INFO, ERROR or WARNING. Level string `json:"level,omitempty"` // The type of event being logged for the VPS instance. Type_ string `json:"type,omitempty"` // The created date/time of the VPS instance event. CreatedAt time.Time `json:"createdAt,omitempty"` // The unique ID corresponding to the event recorded. EventId string `json:"eventId,omitempty"` }
type VpsInstanceNetworkAdd ¶ added in v0.2.0
type VpsInstanceNetworkAdd struct { // The unique ID of the network to add to the VPS instance. NetworkId string `json:"networkId,omitempty"` }
type VpsMetricsResponse ¶
type VpsMetricsResponse struct { // Base64 encoded Image Data. ImageData string `json:"imageData,omitempty"` // The Metric Type requested. MetricType string `json:"metricType,omitempty"` // Actual Start Time for Chart Data. StartTime int32 `json:"startTime,omitempty"` // Actual End Time for Chart Data. EndTime int32 `json:"endTime,omitempty"` }
type VpsNetwork ¶ added in v0.2.0
type VpsNetwork struct { // The VLAN ID of the VPS Network. This will be returned for VLAN enabled networks. VlanId int32 `json:"vlanId,omitempty"` // The name of the VPS Network. Name string `json:"name,omitempty"` // The VLAN tag of the VPS Network. This will be returned for VLAN enabled networks. VlanTag int32 `json:"vlanTag,omitempty"` // The facility code associated with the VPS Network. For example: `TPA1`. FacilityCode string `json:"facilityCode,omitempty"` // The unique ID of the VPS Network. NetworkId string `json:"networkId,omitempty"` }
type VpsNetworkCreate ¶ added in v0.2.0
type VpsNetworkCreate struct { // The name of the VPS Network. Name string `json:"name,omitempty"` // The VLAN ID of the VPS Network. This will make the network bridgeble to dedicated servers. VlanId int32 `json:"vlanId,omitempty"` // The facility code where the VPS Network should be created. For example: `TPA1`. FacilityCode string `json:"facilityCode"` // The unique client account ID. ClientId int32 `json:"clientId,omitempty"` }
type VpsNetworkInterface ¶
type VpsNetworkInterface struct { // The unique ID of the VPS instance NIC. NicId string `json:"nicId,omitempty"` // The IPv6 address assigned to the VPS instance NIC. Ipv6Address string `json:"ipv6Address,omitempty"` // The VLAN ID of the VPS Network. This will be returned for VLAN enabled networks. VlanId int32 `json:"vlanId,omitempty"` // The IPv6 CIDR assigned to the VPS instance NIC. Ipv6Cidr string `json:"ipv6Cidr,omitempty"` // The netmask assigned to the VPS instance NIC. Netmask string `json:"netmask,omitempty"` // The name of the VPS instance NIC. NicName string `json:"nicName,omitempty"` // The name of the VPS Network. NetworkName string `json:"networkName,omitempty"` // The IPv6 gateway assigned to the VPS instance NIC. Ipv6Gateway string `json:"ipv6Gateway,omitempty"` // The IP address assigned to the VPS instance NIC. IpAddress string `json:"ipAddress,omitempty"` // The VLAN tag of the VPS Network. This will be returned for VLAN enabled networks. VlanTag int32 `json:"vlanTag,omitempty"` // The gateway assigned to the VPS instance NIC. Gateway string `json:"gateway,omitempty"` // The MAC address of the VPS instance NIC. MacAddress string `json:"macAddress,omitempty"` // The unique ID of the VPS Network. NetworkId string `json:"networkId,omitempty"` }
type VpsNetworkUpdate ¶ added in v0.2.0
type VpsNetworkUpdate struct { // The name of the VPS Network. Name string `json:"name"` }
type VpsResetRootPassword ¶ added in v0.2.0
type VpsResetRootPassword struct { // The token used to reset the root password for the VPS instance. Token string `json:"token"` }
type VpsSnapshot ¶
type VpsSnapshot struct { // The unique VPS instance volume ID the snapshot is taken of. VolumeId string `json:"volumeId,omitempty"` // The unique ID associated with the snapshot. SnapshotId string `json:"snapshotId,omitempty"` // The state of the snapshot ie. Scheduled, Started or Completed. State string `json:"state,omitempty"` // Snapshot size in bytes Size int32 `json:"size,omitempty"` // The name of the VPS instance snapshot. Name string `json:"name,omitempty"` // Snapshot interval options: HOURLY, DAILY, WEEKLY, MONTHLY. SnapshotType string `json:"snapshotType,omitempty"` // The created date/tie of the VPS instance snapshot. CreatedAt time.Time `json:"createdAt,omitempty"` }
type VpsSnapshotCreate ¶
type VpsSnapshotCreate struct { // The name of the VPS instance snapshot. Name string `json:"name"` // The unique client account ID. ClientId int32 `json:"clientId,omitempty"` // The unique VPS instance volume ID the snapshot is taken of. VolumeId string `json:"volumeId"` // The facility code associated with the VPS instance. For example:TPA1. FacilityCode string `json:"facilityCode"` }
type VpsSnapshotRestore ¶
type VpsSnapshotSchedule ¶
type VpsSnapshotSchedule struct { // The unique ID associated with the snapshot schedule. SnapshotScheduleId string `json:"snapshotScheduleId,omitempty"` // The minute of the hour to run the snapshot process (0-59). Minute int32 `json:"minute,omitempty"` // The unique ID of the VPS instance volume to take a snapshot of. VolumeId string `json:"volumeId,omitempty"` // The day of the month to run the snapshot process (1-28). Day int32 `json:"day,omitempty"` // The day of the week to run the snapshot process (1-7 with 1 being Monday). Weekday int32 `json:"weekday,omitempty"` // Snapshot interval options: HOURLY, DAILY, WEEKLY, MONTHLY. IntervalType string `json:"intervalType,omitempty"` // The maximum number of snapshots to take within the interval period. MaxSnapshots int32 `json:"maxSnapshots,omitempty"` // The hour of the day to run the snapshot process (0-23). Hour int32 `json:"hour,omitempty"` // The timezone to use for the snapshot schedule in IANA format. Example: America/New_York. Timezone string `json:"timezone,omitempty"` }
type VpsSnapshotScheduleCreate ¶
type VpsSnapshotScheduleCreate struct { // The minute of the hour to run the snapshot process (0-59). Minute int32 `json:"minute"` // The unique ID of the VPS instance volume to take a snapshot of. VolumeId string `json:"volumeId"` // The day of the month to run th snapshot process (1-28). This is required for Monthly. Day int32 `json:"day,omitempty"` // The day of the week to run the snapshot process (1-7 with 1 being Monday). This is required for Weekly. Weekday int32 `json:"weekday,omitempty"` // Options: `HOURLY`, `DAILY`, `WEEKLY`, `MONTHLY` IntervalType string `json:"intervalType"` // The maximum number of snapshots to retain at a time for this schedule. MaxSnapshots int32 `json:"maxSnapshots"` // The unique client account ID. ClientId int32 `json:"clientId,omitempty"` // The hour of the day to run the snapshot process (0-23). Hour int32 `json:"hour"` // The facility code associated witht he VPS instance. For example:TPA1. FacilityCode string `json:"facilityCode"` // Timezone in IANA format. Example: `America/New_York` Timezone string `json:"timezone"` }
type VpsVolume ¶
type VpsVolume struct { // The unique VPS instance volume ID. VolumeId string `json:"volumeId,omitempty"` // Disk type. Options are `ROOT` for root volumes and `DATADISK` for additional disks. Type_ string `json:"type,omitempty"` // Disk size in bytes Size int32 `json:"size,omitempty"` // The created date/time of the VPS instance volume. CreatedAt time.Time `json:"createdAt,omitempty"` // Device ID the disk is attached to DeviceId int32 `json:"deviceId,omitempty"` // The facility code associated with the VPS Volume. For example: `TPA1`. FacilityCode string `json:"facilityCode,omitempty"` }
type VpsVolumeCreate ¶
type VpsVolumeDelete ¶
type VpsVolumeDelete struct { // Device ID the disk is attached to DeviceId int32 `json:"deviceId,omitempty"` }
type VpsVolumeProduct ¶
type VpsVolumeUpdate ¶
type Vpsiso ¶
type Vpsiso struct { // Determines whether the VPS instance ISO is bootable or not. Bootable bool `json:"bootable,omitempty"` // The status of the VPS instance ISO. Status string `json:"status,omitempty"` // These are the device IDs with the ISO attached. DeviceIds []int32 `json:"deviceIds,omitempty"` // The size of the VPS instance ISO. Size int32 `json:"size,omitempty"` // The name of the VPS instance ISO. Name string `json:"name,omitempty"` // The ready state of the VPS instance ISO. Ready bool `json:"ready,omitempty"` // The unique ID of the VPS instance ISO. IsoId string `json:"isoId,omitempty"` // The URL to be directed to when downloading the VPS instance ISO. Url string `json:"url,omitempty"` // The description of the VPS instance ISO. Description string `json:"description,omitempty"` // The facility code associated with the ISO instance. For example:TPA1. FacilityCode string `json:"facilityCode,omitempty"` }
type VpsisoAttach ¶
type VpsisoAttach struct { // The unique ID of the VPS instance ISO. IsoId string `json:"isoId"` }
type VpsisoCreate ¶
type VpsisoCreate struct { // Determines whether the VPS instance ISO is bootable or not. Bootable bool `json:"bootable"` // The name of the VPS instance ISO. Name string `json:"name"` // The unique client account ID. ClientId int32 `json:"clientId,omitempty"` // The URL to be directed to when downloading the VPS instance ISO. Url string `json:"url"` // The description of the VPS instance ISO. Description string `json:"description"` // The facility code associated wth the VPS instance. For example:TPA1. FacilityCode string `json:"facilityCode"` }
type WebhookApiService ¶
type WebhookApiService service
func (*WebhookApiService) DeleteWebhookIdResource ¶
func (a *WebhookApiService) DeleteWebhookIdResource(ctx context.Context, webhookId int32) (*http.Response, error)
WebhookApiService Deletes a single webhook
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param webhookId ID of Webhook to View / Update
func (*WebhookApiService) GetWebhookEventResource ¶
func (a *WebhookApiService) GetWebhookEventResource(ctx context.Context, localVarOptionals *WebhookApiGetWebhookEventResourceOpts) ([]WebhookEvent, *http.Response, error)
func (*WebhookApiService) GetWebhookIdResource ¶
func (a *WebhookApiService) GetWebhookIdResource(ctx context.Context, webhookId int32, localVarOptionals *WebhookApiGetWebhookIdResourceOpts) (Webhook, *http.Response, error)
func (*WebhookApiService) GetWebhookResource ¶
func (a *WebhookApiService) GetWebhookResource(ctx context.Context, localVarOptionals *WebhookApiGetWebhookResourceOpts) ([]Webhook, *http.Response, error)
func (*WebhookApiService) PostEventScriptActionTriggerResource ¶
func (a *WebhookApiService) PostEventScriptActionTriggerResource(ctx context.Context, localVarOptionals *WebhookApiPostEventScriptActionTriggerResourceOpts) (*http.Response, error)
func (*WebhookApiService) PostWebhookResource ¶
func (a *WebhookApiService) PostWebhookResource(ctx context.Context, payload WebhookCreate, localVarOptionals *WebhookApiPostWebhookResourceOpts) (Webhook, *http.Response, error)
func (*WebhookApiService) PutWebhookIdResource ¶
func (a *WebhookApiService) PutWebhookIdResource(ctx context.Context, webhookId int32, payload WebhookUpdate, localVarOptionals *WebhookApiPutWebhookIdResourceOpts) (Webhook, *http.Response, error)
type WebhookCreate ¶
type WebhookEvent ¶
type WebhookUpdate ¶
Source Files ¶
- api_account.go
- api_bandwidth.go
- api_bare_metal_devices.go
- api_billing_info.go
- api_cancellations.go
- api_compute_devices.go
- api_contact.go
- api_credit.go
- api_deployment.go
- api_device.go
- api_domains.go
- api_ignition.go
- api_inventory.go
- api_invoice.go
- api_ip_assignment.go
- api_maintenance.go
- api_network.go
- api_order.go
- api_order_groups.go
- api_permission.go
- api_product.go
- api_profile.go
- api_service.go
- api_ssh_key.go
- api_ticket.go
- api_token.go
- api_vlan.go
- api_vps.go
- api_webhook.go
- client.go
- configuration.go
- model_a_record.go
- model_aaaa_record_create.go
- model_aaaa_record_return.go
- model_aaaa_record_update.go
- model_bandwidth.go
- model_bandwidth_image.go
- model_bare_metal_device.go
- model_bare_metal_device_batch.go
- model_bare_metal_device_batch_create.go
- model_bare_metal_device_create.go
- model_bare_metal_device_update.go
- model_basic_profile_dump.go
- model_billing_info.go
- model_billing_info_create_bank_account.go
- model_billing_info_create_credit_card.go
- model_billing_info_verification.go
- model_cancellation.go
- model_cancellation_create.go
- model_cart_coupon.go
- model_cart_coupon_dump.go
- model_cart_coupon_usage_statistics_dump.go
- model_city_state_country.go
- model_client.go
- model_client_create_dump.go
- model_contact_create.go
- model_contact_dump.go
- model_contact_update.go
- model_controlled_client_dump.go
- model_create_credit.go
- model_create_enterprise_controlled_client.go
- model_create_ignition.go
- model_credit.go
- model_deactivate_enterprise_controlled_client.go
- model_delete_api_token_load.go
- model_deployment.go
- model_deployment_customization.go
- model_deployment_start.go
- model_device_dump.go
- model_device_event.go
- model_device_initial_creds.go
- model_device_ipmi_info.go
- model_device_ipmi_thresholds.go
- model_device_ipmi_whitelist_ip.go
- model_device_password.go
- model_device_port.go
- model_device_port_update.go
- model_device_ports_update.go
- model_device_power.go
- model_device_reload.go
- model_device_tag.go
- model_device_update.go
- model_devices_ipmi_thresholds.go
- model_domain_create.go
- model_domain_return.go
- model_effective_ignition_response.go
- model_fast_service_dump.go
- model_ignition_response.go
- model_inventory.go
- model_invoice.go
- model_invoice_details.go
- model_invoice_details_service_items.go
- model_invoice_pdf.go
- model_invoice_seach_result.go
- model_invoice_unpaid.go
- model_ip_assignment.go
- model_ip_assignment_combine.go
- model_ip_assignment_put.go
- model_ip_assignment_request.go
- model_ipmi_info.go
- model_ipmi_login_data.go
- model_ipmi_sensor.go
- model_ipmi_valid_login.go
- model_location.go
- model_location_location.go
- model_maintenance_event.go
- model_modification.go
- model_mx_record_create.go
- model_mx_record_return.go
- model_mx_record_update.go
- model_network_task_dump.go
- model_null_route.go
- model_null_route_request.go
- model_operating_system.go
- model_option_dump.go
- model_options.go
- model_order_dump.go
- model_order_group.go
- model_order_group_create.go
- model_order_group_update.go
- model_password.go
- model_password_request.go
- model_password_response.go
- model_payment_methods_enabled.go
- model_permission.go
- model_permission_return.go
- model_preview_effective_ignition.go
- model_preview_effective_ignition_response.go
- model_primary_interface.go
- model_product_option.go
- model_profile_dump.go
- model_profile_update.go
- model_ptr_record_return.go
- model_ptr_record_update.go
- model_public_api_hide_token_dump.go
- model_public_api_token.go
- model_public_api_token_ip.go
- model_public_api_token_load.go
- model_public_api_token_response_post_dump.go
- model_service.go
- model_service_bandwidth_billing.go
- model_service_manageable.go
- model_service_managed_req.go
- model_service_option.go
- model_service_option_data.go
- model_service_type.go
- model_services.go
- model_ssh_key.go
- model_ssh_key_response.go
- model_ssh_key_update.go
- model_stock.go
- model_ticket.go
- model_ticket_attach.go
- model_ticket_create.go
- model_ticket_create_reply.go
- model_ticket_post.go
- model_ticket_put.go
- model_ticket_seach_result.go
- model_total_active_credit.go
- model_update_devices_ipmi_thresholds.go
- model_update_ignition.go
- model_validate_cart_coupon_dump.go
- model_validate_cart_coupondump_coupon.go
- model_vlan.go
- model_vlan_create.go
- model_vlan_update.go
- model_vps.go
- model_vps_available_new_volume_sizes.go
- model_vps_available_upgrade_sizes.go
- model_vps_console_access.go
- model_vps_event.go
- model_vps_instance_network_add.go
- model_vps_metrics_response.go
- model_vps_network.go
- model_vps_network_create.go
- model_vps_network_interface.go
- model_vps_network_update.go
- model_vps_reset_root_password.go
- model_vps_snapshot.go
- model_vps_snapshot_create.go
- model_vps_snapshot_restore.go
- model_vps_snapshot_schedule.go
- model_vps_snapshot_schedule_create.go
- model_vps_update.go
- model_vps_volume.go
- model_vps_volume_create.go
- model_vps_volume_delete.go
- model_vps_volume_product.go
- model_vps_volume_update.go
- model_vpsiso.go
- model_vpsiso_attach.go
- model_vpsiso_create.go
- model_webhook.go
- model_webhook_create.go
- model_webhook_event.go
- model_webhook_update.go
- response.go