From bf1424f6cbc8ae1321d094f535c39f65a01075da Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Thu, 1 Feb 2024 14:45:07 +0100 Subject: [PATCH 01/12] ff --- .github/workflows/release.yml | 23 +- .releaserc.json | 41 ++ Makefile | 5 +- equinix_metal/.openapi-generator/FILES | 576 +++++++++--------- equinix_metal/.travis.yml | 2 +- equinix_metal/README.md | 18 +- .../ActivateHardwareReservationRequest.md | 2 +- equinix_metal/docs/Address.md | 2 +- equinix_metal/docs/Attribute.md | 2 +- equinix_metal/docs/AttributeData.md | 2 +- equinix_metal/docs/AuthToken.md | 2 +- equinix_metal/docs/AuthTokenInput.md | 2 +- equinix_metal/docs/AuthTokenList.md | 2 +- equinix_metal/docs/AuthTokenProject.md | 2 +- equinix_metal/docs/AuthTokenUser.md | 2 +- equinix_metal/docs/AuthenticationApi.md | 78 +-- equinix_metal/docs/BGPApi.md | 84 +-- equinix_metal/docs/BGPSessionInput.md | 2 +- equinix_metal/docs/Batch.md | 2 +- equinix_metal/docs/BatchesApi.md | 52 +- equinix_metal/docs/BatchesList.md | 2 +- equinix_metal/docs/BgpConfig.md | 2 +- equinix_metal/docs/BgpConfigRequestInput.md | 2 +- equinix_metal/docs/BgpDynamicNeighbor.md | 2 +- .../docs/BgpDynamicNeighborCreateInput.md | 2 +- equinix_metal/docs/BgpDynamicNeighborList.md | 2 +- equinix_metal/docs/BgpNeighborData.md | 2 +- equinix_metal/docs/BgpRoute.md | 2 +- equinix_metal/docs/BgpSession.md | 2 +- equinix_metal/docs/BgpSessionList.md | 2 +- equinix_metal/docs/BgpSessionNeighbors.md | 2 +- equinix_metal/docs/BondPortData.md | 2 +- equinix_metal/docs/CapacityApi.md | 82 +-- .../docs/CapacityCheckPerFacilityInfo.md | 2 +- .../docs/CapacityCheckPerFacilityList.md | 2 +- .../docs/CapacityCheckPerMetroInfo.md | 2 +- .../docs/CapacityCheckPerMetroList.md | 2 +- equinix_metal/docs/CapacityInput.md | 2 +- .../docs/CapacityLevelPerBaremetal.md | 2 +- equinix_metal/docs/CapacityList.md | 2 +- equinix_metal/docs/Component.md | 2 +- equinix_metal/docs/ConsoleLogDetailsApi.md | 12 +- equinix_metal/docs/Coordinates.md | 2 +- equinix_metal/docs/CreateDeviceRequest.md | 2 +- equinix_metal/docs/CreateEmailInput.md | 2 +- .../docs/CreateMetalGatewayRequest.md | 2 +- ...reateOrganizationInterconnectionRequest.md | 2 +- .../CreateSelfServiceReservationRequest.md | 2 +- ...eateSelfServiceReservationRequestPeriod.md | 2 +- .../docs/DedicatedPortCreateInput.md | 2 +- equinix_metal/docs/Device.md | 2 +- equinix_metal/docs/DeviceActionInput.md | 2 +- equinix_metal/docs/DeviceActionsInner.md | 2 +- .../docs/DeviceCreateInFacilityInput.md | 2 +- .../docs/DeviceCreateInMetroInput.md | 2 +- equinix_metal/docs/DeviceCreateInput.md | 2 +- equinix_metal/docs/DeviceCreatedBy.md | 2 +- equinix_metal/docs/DeviceHealthRollup.md | 2 +- equinix_metal/docs/DeviceList.md | 2 +- equinix_metal/docs/DeviceMetro.md | 2 +- equinix_metal/docs/DeviceProjectLite.md | 2 +- equinix_metal/docs/DeviceUpdateInput.md | 2 +- equinix_metal/docs/DeviceUsage.md | 2 +- equinix_metal/docs/DeviceUsageList.md | 2 +- equinix_metal/docs/DevicesApi.md | 254 ++++---- equinix_metal/docs/Disk.md | 2 +- equinix_metal/docs/Email.md | 2 +- equinix_metal/docs/EmailInput.md | 2 +- equinix_metal/docs/EmailsApi.md | 56 +- equinix_metal/docs/Entitlement.md | 2 +- equinix_metal/docs/Error.md | 2 +- equinix_metal/docs/Event.md | 2 +- equinix_metal/docs/EventList.md | 2 +- equinix_metal/docs/EventsApi.md | 110 ++-- equinix_metal/docs/FabricServiceToken.md | 2 +- equinix_metal/docs/FacilitiesApi.md | 38 +- equinix_metal/docs/Facility.md | 2 +- equinix_metal/docs/FacilityInput.md | 2 +- equinix_metal/docs/FacilityInputFacility.md | 2 +- equinix_metal/docs/FacilityList.md | 2 +- equinix_metal/docs/Filesystem.md | 2 +- .../docs/FindIPAddressById200Response.md | 2 +- .../docs/FindMetalGatewayById200Response.md | 2 +- .../docs/FindTrafficTimeframeParameter.md | 2 +- equinix_metal/docs/FirmwareSet.md | 2 +- equinix_metal/docs/FirmwareSetListResponse.md | 2 +- equinix_metal/docs/FirmwareSetResponse.md | 2 +- equinix_metal/docs/FirmwareSetsApi.md | 26 +- equinix_metal/docs/GlobalBgpRange.md | 2 +- equinix_metal/docs/GlobalBgpRangeList.md | 2 +- equinix_metal/docs/HardwareReservation.md | 2 +- equinix_metal/docs/HardwareReservationList.md | 2 +- equinix_metal/docs/HardwareReservationsApi.md | 58 +- equinix_metal/docs/Href.md | 2 +- equinix_metal/docs/IPAddress.md | 2 +- equinix_metal/docs/IPAddressesApi.md | 90 +-- equinix_metal/docs/IPAssignment.md | 2 +- equinix_metal/docs/IPAssignmentInput.md | 2 +- equinix_metal/docs/IPAssignmentList.md | 2 +- equinix_metal/docs/IPAssignmentMetro.md | 2 +- equinix_metal/docs/IPAssignmentUpdateInput.md | 2 +- equinix_metal/docs/IPAvailabilitiesList.md | 2 +- equinix_metal/docs/IPReservation.md | 2 +- equinix_metal/docs/IPReservationFacility.md | 2 +- equinix_metal/docs/IPReservationList.md | 2 +- .../docs/IPReservationListIpAddressesInner.md | 2 +- equinix_metal/docs/IPReservationMetro.md | 2 +- .../docs/IPReservationRequestInput.md | 2 +- equinix_metal/docs/IncidentsApi.md | 12 +- .../docs/InstancesBatchCreateInput.md | 2 +- .../InstancesBatchCreateInputBatchesInner.md | 2 +- equinix_metal/docs/Interconnection.md | 2 +- equinix_metal/docs/InterconnectionList.md | 2 +- equinix_metal/docs/InterconnectionPort.md | 2 +- equinix_metal/docs/InterconnectionPortList.md | 2 +- .../docs/InterconnectionUpdateInput.md | 2 +- equinix_metal/docs/InterconnectionsApi.md | 202 +++--- equinix_metal/docs/Invitation.md | 2 +- equinix_metal/docs/InvitationInput.md | 2 +- equinix_metal/docs/InvitationList.md | 2 +- equinix_metal/docs/InvitationsApi.md | 36 +- equinix_metal/docs/Invoice.md | 2 +- equinix_metal/docs/InvoiceList.md | 2 +- equinix_metal/docs/InvoicesApi.md | 26 +- equinix_metal/docs/License.md | 2 +- equinix_metal/docs/LicenseCreateInput.md | 2 +- equinix_metal/docs/LicenseList.md | 2 +- equinix_metal/docs/LicenseUpdateInput.md | 2 +- equinix_metal/docs/LicensesApi.md | 68 +-- equinix_metal/docs/LineItem.md | 2 +- equinix_metal/docs/Membership.md | 2 +- equinix_metal/docs/MembershipInput.md | 2 +- equinix_metal/docs/MembershipList.md | 2 +- equinix_metal/docs/MembershipsApi.md | 40 +- equinix_metal/docs/Meta.md | 2 +- equinix_metal/docs/Metadata.md | 2 +- equinix_metal/docs/MetadataNetwork.md | 2 +- equinix_metal/docs/MetadataNetworkNetwork.md | 2 +- .../docs/MetadataNetworkNetworkBonding.md | 2 +- equinix_metal/docs/MetalGateway.md | 2 +- equinix_metal/docs/MetalGatewayCreateInput.md | 2 +- .../docs/MetalGatewayElasticIpCreateInput.md | 2 +- equinix_metal/docs/MetalGatewayList.md | 2 +- .../MetalGatewayListMetalGatewaysInner.md | 2 +- equinix_metal/docs/MetalGatewayLite.md | 2 +- equinix_metal/docs/MetalGatewaysApi.md | 82 +-- equinix_metal/docs/Metro.md | 2 +- equinix_metal/docs/MetroInput.md | 2 +- equinix_metal/docs/MetroList.md | 2 +- equinix_metal/docs/MetrosApi.md | 26 +- equinix_metal/docs/Mount.md | 2 +- .../docs/MoveHardwareReservationRequest.md | 2 +- equinix_metal/docs/NewPassword.md | 2 +- equinix_metal/docs/OTPsApi.md | 46 +- equinix_metal/docs/OperatingSystem.md | 2 +- equinix_metal/docs/OperatingSystemList.md | 2 +- equinix_metal/docs/OperatingSystemsApi.md | 26 +- equinix_metal/docs/Organization.md | 2 +- equinix_metal/docs/OrganizationInput.md | 2 +- equinix_metal/docs/OrganizationList.md | 2 +- equinix_metal/docs/OrganizationsApi.md | 198 +++--- equinix_metal/docs/ParentBlock.md | 2 +- equinix_metal/docs/Partition.md | 2 +- equinix_metal/docs/PasswordResetTokensApi.md | 24 +- equinix_metal/docs/PaymentMethod.md | 2 +- .../docs/PaymentMethodBillingAddress.md | 2 +- .../docs/PaymentMethodCreateInput.md | 2 +- equinix_metal/docs/PaymentMethodList.md | 2 +- .../docs/PaymentMethodUpdateInput.md | 2 +- equinix_metal/docs/PaymentMethodsApi.md | 40 +- equinix_metal/docs/Plan.md | 2 +- equinix_metal/docs/PlanAvailableInInner.md | 2 +- .../docs/PlanAvailableInInnerPrice.md | 2 +- .../docs/PlanAvailableInMetrosInner.md | 2 +- equinix_metal/docs/PlanList.md | 2 +- equinix_metal/docs/PlanSpecs.md | 2 +- equinix_metal/docs/PlanSpecsCpusInner.md | 2 +- equinix_metal/docs/PlanSpecsDrivesInner.md | 2 +- equinix_metal/docs/PlanSpecsFeatures.md | 2 +- equinix_metal/docs/PlanSpecsMemory.md | 2 +- equinix_metal/docs/PlanSpecsNicsInner.md | 2 +- equinix_metal/docs/PlansApi.md | 26 +- equinix_metal/docs/Port.md | 2 +- equinix_metal/docs/PortAssignInput.md | 2 +- equinix_metal/docs/PortConvertLayer3Input.md | 2 +- .../PortConvertLayer3InputRequestIpsInner.md | 2 +- equinix_metal/docs/PortData.md | 2 +- equinix_metal/docs/PortVlanAssignment.md | 2 +- equinix_metal/docs/PortVlanAssignmentBatch.md | 2 +- .../PortVlanAssignmentBatchCreateInput.md | 2 +- ...entBatchCreateInputVlanAssignmentsInner.md | 2 +- .../docs/PortVlanAssignmentBatchList.md | 2 +- ...VlanAssignmentBatchVlanAssignmentsInner.md | 2 +- equinix_metal/docs/PortVlanAssignmentList.md | 2 +- equinix_metal/docs/PortsApi.md | 190 +++--- equinix_metal/docs/Project.md | 2 +- .../docs/ProjectCreateFromRootInput.md | 2 +- equinix_metal/docs/ProjectCreateInput.md | 2 +- equinix_metal/docs/ProjectIdName.md | 2 +- equinix_metal/docs/ProjectList.md | 2 +- equinix_metal/docs/ProjectUpdateInput.md | 2 +- equinix_metal/docs/ProjectUsage.md | 2 +- equinix_metal/docs/ProjectUsageList.md | 2 +- equinix_metal/docs/ProjectsApi.md | 144 ++--- equinix_metal/docs/Raid.md | 2 +- equinix_metal/docs/RecoveryCodeList.md | 2 +- .../docs/RequestIPReservation201Response.md | 2 +- .../docs/RequestIPReservationRequest.md | 2 +- equinix_metal/docs/SSHKey.md | 2 +- equinix_metal/docs/SSHKeyCreateInput.md | 2 +- equinix_metal/docs/SSHKeyInput.md | 2 +- equinix_metal/docs/SSHKeyList.md | 2 +- equinix_metal/docs/SSHKeysApi.md | 108 ++-- .../docs/SelfServiceReservationItemRequest.md | 2 +- .../SelfServiceReservationItemResponse.md | 2 +- .../docs/SelfServiceReservationList.md | 2 +- .../docs/SelfServiceReservationResponse.md | 2 +- .../docs/SelfServiceReservationsApi.md | 42 +- equinix_metal/docs/ServerInfo.md | 2 +- equinix_metal/docs/SpotMarketApi.md | 88 +-- equinix_metal/docs/SpotMarketPricesList.md | 2 +- .../docs/SpotMarketPricesPerMetroList.md | 2 +- .../docs/SpotMarketPricesPerMetroReport.md | 2 +- equinix_metal/docs/SpotMarketRequest.md | 2 +- .../docs/SpotMarketRequestCreateInput.md | 2 +- ...ketRequestCreateInputInstanceParameters.md | 2 +- equinix_metal/docs/SpotMarketRequestList.md | 2 +- equinix_metal/docs/SpotMarketRequestMetro.md | 2 +- equinix_metal/docs/SpotPricesDatapoints.md | 2 +- equinix_metal/docs/SpotPricesHistoryReport.md | 2 +- equinix_metal/docs/SpotPricesPerBaremetal.md | 2 +- equinix_metal/docs/SpotPricesPerFacility.md | 2 +- .../docs/SpotPricesPerNewFacility.md | 2 +- equinix_metal/docs/SpotPricesReport.md | 2 +- equinix_metal/docs/Storage.md | 2 +- equinix_metal/docs/SupportRequestApi.md | 16 +- equinix_metal/docs/SupportRequestInput.md | 2 +- equinix_metal/docs/TransferRequest.md | 2 +- equinix_metal/docs/TransferRequestInput.md | 2 +- equinix_metal/docs/TransferRequestList.md | 2 +- equinix_metal/docs/TransferRequestsApi.md | 34 +- equinix_metal/docs/TwoFactorAuthApi.md | 42 +- equinix_metal/docs/UpdateEmailInput.md | 2 +- equinix_metal/docs/UsagesApi.md | 26 +- equinix_metal/docs/User.md | 2 +- equinix_metal/docs/UserCreateInput.md | 2 +- equinix_metal/docs/UserLimited.md | 2 +- equinix_metal/docs/UserList.md | 2 +- equinix_metal/docs/UserLite.md | 2 +- equinix_metal/docs/UserUpdateInput.md | 2 +- .../docs/UserVerificationTokensApi.md | 26 +- equinix_metal/docs/Userdata.md | 2 +- equinix_metal/docs/UserdataApi.md | 12 +- equinix_metal/docs/UsersApi.md | 92 +-- equinix_metal/docs/VLANsApi.md | 54 +- equinix_metal/docs/VRFsApi.md | 212 +++---- equinix_metal/docs/VerifyEmail.md | 2 +- equinix_metal/docs/VirtualCircuit.md | 2 +- .../docs/VirtualCircuitCreateInput.md | 2 +- equinix_metal/docs/VirtualCircuitList.md | 2 +- .../docs/VirtualCircuitUpdateInput.md | 2 +- equinix_metal/docs/VirtualNetwork.md | 2 +- .../docs/VirtualNetworkCreateInput.md | 2 +- equinix_metal/docs/VirtualNetworkList.md | 2 +- equinix_metal/docs/VlanFabricVcCreateInput.md | 2 +- equinix_metal/docs/VlanVirtualCircuit.md | 2 +- .../docs/VlanVirtualCircuitCreateInput.md | 2 +- .../docs/VlanVirtualCircuitUpdateInput.md | 2 +- equinix_metal/docs/Vrf.md | 2 +- equinix_metal/docs/VrfCreateInput.md | 2 +- equinix_metal/docs/VrfFabricVcCreateInput.md | 2 +- equinix_metal/docs/VrfIpReservation.md | 2 +- .../docs/VrfIpReservationCreateInput.md | 2 +- equinix_metal/docs/VrfIpReservationList.md | 2 +- equinix_metal/docs/VrfList.md | 2 +- equinix_metal/docs/VrfMetalGateway.md | 2 +- .../docs/VrfMetalGatewayCreateInput.md | 2 +- equinix_metal/docs/VrfRoute.md | 2 +- equinix_metal/docs/VrfRouteCreateInput.md | 2 +- equinix_metal/docs/VrfRouteList.md | 2 +- equinix_metal/docs/VrfRouteUpdateInput.md | 2 +- equinix_metal/docs/VrfUpdateInput.md | 2 +- equinix_metal/docs/VrfVirtualCircuit.md | 2 +- .../docs/VrfVirtualCircuitCreateInput.md | 2 +- .../docs/VrfVirtualCircuitUpdateInput.md | 2 +- equinix_metal/equinix_metal/__init__.py | 312 ---------- equinix_metal/equinix_metal/api/__init__.py | 44 -- .../equinix_metal/models/__init__.py | 256 -------- equinix_metal/equinix_metal_t0mk/__init__.py | 312 ++++++++++ .../equinix_metal_t0mk/api/__init__.py | 44 ++ .../api/authentication_api.py | 12 +- .../api/batches_api.py | 12 +- .../api/bgp_api.py | 18 +- .../api/capacity_api.py | 16 +- .../api/console_log_details_api.py | 6 +- .../api/devices_api.py | 42 +- .../api/emails_api.py | 12 +- .../api/events_api.py | 10 +- .../api/facilities_api.py | 8 +- .../api/firmware_sets_api.py | 8 +- .../api/hardware_reservations_api.py | 16 +- .../api/incidents_api.py | 6 +- .../api/interconnections_api.py | 28 +- .../api/invitations_api.py | 10 +- .../api/invoices_api.py | 10 +- .../api/ip_addresses_api.py | 20 +- .../api/licenses_api.py | 16 +- .../api/memberships_api.py | 10 +- .../api/metal_gateways_api.py | 20 +- .../api/metros_api.py | 10 +- .../api/operating_systems_api.py | 8 +- .../api/organizations_api.py | 38 +- .../api/otps_api.py | 8 +- .../api/password_reset_tokens_api.py | 8 +- .../api/payment_methods_api.py | 10 +- .../api/plans_api.py | 8 +- .../api/ports_api.py | 24 +- .../api/projects_api.py | 28 +- .../api/self_service_reservations_api.py | 12 +- .../api/spot_market_api.py | 20 +- .../api/ssh_keys_api.py | 16 +- .../api/support_request_api.py | 8 +- .../api/transfer_requests_api.py | 8 +- .../api/two_factor_auth_api.py | 6 +- .../api/usages_api.py | 10 +- .../api/user_verification_tokens_api.py | 8 +- .../api/userdata_api.py | 6 +- .../api/users_api.py | 18 +- .../api/vlans_api.py | 12 +- .../api/vrfs_api.py | 34 +- .../api_client.py | 12 +- .../api_response.py | 0 .../configuration.py | 6 +- .../exceptions.py | 0 .../equinix_metal_t0mk/models/__init__.py | 256 ++++++++ .../activate_hardware_reservation_request.py | 0 .../models/address.py | 2 +- .../models/attribute.py | 2 +- .../models/attribute_data.py | 0 .../models/auth_token.py | 4 +- .../models/auth_token_input.py | 0 .../models/auth_token_list.py | 2 +- .../models/auth_token_project.py | 2 +- .../models/auth_token_user.py | 2 +- .../models/batch.py | 2 +- .../models/batches_list.py | 2 +- .../models/bgp_config.py | 6 +- .../models/bgp_config_request_input.py | 0 .../models/bgp_dynamic_neighbor.py | 4 +- .../bgp_dynamic_neighbor_create_input.py | 0 .../models/bgp_dynamic_neighbor_list.py | 4 +- .../models/bgp_neighbor_data.py | 2 +- .../models/bgp_route.py | 0 .../models/bgp_session.py | 2 +- .../models/bgp_session_input.py | 0 .../models/bgp_session_list.py | 2 +- .../models/bgp_session_neighbors.py | 2 +- .../models/bond_port_data.py | 0 .../capacity_check_per_facility_info.py | 0 .../capacity_check_per_facility_list.py | 2 +- .../models/capacity_check_per_metro_info.py | 0 .../models/capacity_check_per_metro_list.py | 2 +- .../models/capacity_input.py | 2 +- .../models/capacity_level_per_baremetal.py | 0 .../models/capacity_list.py | 2 +- .../models/component.py | 0 .../models/coordinates.py | 0 .../models/create_device_request.py | 4 +- .../models/create_email_input.py | 0 .../models/create_metal_gateway_request.py | 4 +- ...te_organization_interconnection_request.py | 6 +- ...create_self_service_reservation_request.py | 4 +- ...self_service_reservation_request_period.py | 0 .../models/dedicated_port_create_input.py | 0 .../models/device.py | 28 +- .../models/device_action_input.py | 0 .../models/device_actions_inner.py | 0 .../models/device_create_in_facility_input.py | 8 +- .../models/device_create_in_metro_input.py | 6 +- .../models/device_create_input.py | 6 +- .../models/device_created_by.py | 0 .../models/device_health_rollup.py | 0 .../models/device_list.py | 4 +- .../models/device_metro.py | 0 .../models/device_project_lite.py | 0 .../models/device_update_input.py | 0 .../models/device_usage.py | 0 .../models/device_usage_list.py | 2 +- .../models/disk.py | 2 +- .../models/email.py | 0 .../models/email_input.py | 0 .../models/entitlement.py | 0 .../models/error.py | 0 .../models/event.py | 2 +- .../models/event_list.py | 4 +- .../models/fabric_service_token.py | 0 .../models/facility.py | 4 +- .../models/facility_input.py | 2 +- .../models/facility_input_facility.py | 0 .../models/facility_list.py | 2 +- .../models/filesystem.py | 2 +- .../find_ip_address_by_id200_response.py | 6 +- .../find_metal_gateway_by_id200_response.py | 4 +- .../find_traffic_timeframe_parameter.py | 0 .../models/firmware_set.py | 4 +- .../models/firmware_set_list_response.py | 2 +- .../models/firmware_set_response.py | 2 +- .../models/global_bgp_range.py | 2 +- .../models/global_bgp_range_list.py | 2 +- .../models/hardware_reservation.py | 8 +- .../models/hardware_reservation_list.py | 4 +- .../models/href.py | 0 .../models/instances_batch_create_input.py | 2 +- ...tances_batch_create_input_batches_inner.py | 8 +- .../models/interconnection.py | 8 +- .../models/interconnection_list.py | 4 +- .../models/interconnection_port.py | 4 +- .../models/interconnection_port_list.py | 2 +- .../models/interconnection_update_input.py | 0 .../models/invitation.py | 2 +- .../models/invitation_input.py | 0 .../models/invitation_list.py | 2 +- .../models/invoice.py | 4 +- .../models/invoice_list.py | 2 +- .../models/ip_address.py | 0 .../models/ip_assignment.py | 6 +- .../models/ip_assignment_input.py | 0 .../models/ip_assignment_list.py | 2 +- .../models/ip_assignment_metro.py | 0 .../models/ip_assignment_update_input.py | 0 .../models/ip_availabilities_list.py | 0 .../models/ip_reservation.py | 10 +- .../models/ip_reservation_facility.py | 4 +- .../models/ip_reservation_list.py | 4 +- .../ip_reservation_list_ip_addresses_inner.py | 4 +- .../models/ip_reservation_metro.py | 0 .../models/ip_reservation_request_input.py | 0 .../models/license.py | 2 +- .../models/license_create_input.py | 0 .../models/license_list.py | 2 +- .../models/license_update_input.py | 0 .../models/line_item.py | 2 +- .../models/membership.py | 2 +- .../models/membership_input.py | 0 .../models/membership_list.py | 2 +- .../models/meta.py | 2 +- .../models/metadata.py | 2 +- .../models/metadata_network.py | 2 +- .../models/metadata_network_network.py | 2 +- .../metadata_network_network_bonding.py | 0 .../models/metal_gateway.py | 8 +- .../models/metal_gateway_create_input.py | 0 .../metal_gateway_elastic_ip_create_input.py | 0 .../models/metal_gateway_list.py | 4 +- ...metal_gateway_list_metal_gateways_inner.py | 4 +- .../models/metal_gateway_lite.py | 0 .../models/metro.py | 0 .../models/metro_input.py | 0 .../models/metro_list.py | 2 +- .../models/mount.py | 0 .../move_hardware_reservation_request.py | 0 .../models/new_password.py | 0 .../models/operating_system.py | 0 .../models/operating_system_list.py | 2 +- .../models/organization.py | 4 +- .../models/organization_input.py | 2 +- .../models/organization_list.py | 4 +- .../models/parent_block.py | 0 .../models/partition.py | 0 .../models/payment_method.py | 4 +- .../models/payment_method_billing_address.py | 0 .../models/payment_method_create_input.py | 0 .../models/payment_method_list.py | 2 +- .../models/payment_method_update_input.py | 0 .../models/plan.py | 6 +- .../models/plan_available_in_inner.py | 2 +- .../models/plan_available_in_inner_price.py | 0 .../models/plan_available_in_metros_inner.py | 2 +- .../models/plan_list.py | 2 +- .../models/plan_specs.py | 10 +- .../models/plan_specs_cpus_inner.py | 0 .../models/plan_specs_drives_inner.py | 0 .../models/plan_specs_features.py | 0 .../models/plan_specs_memory.py | 0 .../models/plan_specs_nics_inner.py | 0 .../models/port.py | 8 +- .../models/port_assign_input.py | 0 .../models/port_convert_layer3_input.py | 2 +- ..._convert_layer3_input_request_ips_inner.py | 0 .../models/port_data.py | 0 .../models/port_vlan_assignment.py | 2 +- .../models/port_vlan_assignment_batch.py | 6 +- ...port_vlan_assignment_batch_create_input.py | 2 +- ...tch_create_input_vlan_assignments_inner.py | 0 .../models/port_vlan_assignment_batch_list.py | 2 +- ...assignment_batch_vlan_assignments_inner.py | 0 .../models/port_vlan_assignment_list.py | 2 +- .../models/project.py | 2 +- .../models/project_create_from_root_input.py | 0 .../models/project_create_input.py | 0 .../models/project_id_name.py | 0 .../models/project_list.py | 4 +- .../models/project_update_input.py | 0 .../models/project_usage.py | 0 .../models/project_usage_list.py | 2 +- .../models/raid.py | 0 .../models/recovery_code_list.py | 0 .../request_ip_reservation201_response.py | 4 +- .../models/request_ip_reservation_request.py | 4 +- .../self_service_reservation_item_request.py | 0 .../self_service_reservation_item_response.py | 0 .../models/self_service_reservation_list.py | 2 +- .../self_service_reservation_response.py | 4 +- .../models/server_info.py | 0 .../models/spot_market_prices_list.py | 2 +- .../spot_market_prices_per_metro_list.py | 2 +- .../spot_market_prices_per_metro_report.py | 2 +- .../models/spot_market_request.py | 4 +- .../spot_market_request_create_input.py | 2 +- ...equest_create_input_instance_parameters.py | 0 .../models/spot_market_request_list.py | 2 +- .../models/spot_market_request_metro.py | 0 .../models/spot_prices_datapoints.py | 0 .../models/spot_prices_history_report.py | 2 +- .../models/spot_prices_per_baremetal.py | 0 .../models/spot_prices_per_facility.py | 2 +- .../models/spot_prices_per_new_facility.py | 2 +- .../models/spot_prices_report.py | 4 +- .../models/ssh_key.py | 2 +- .../models/ssh_key_create_input.py | 0 .../models/ssh_key_input.py | 0 .../models/ssh_key_list.py | 2 +- .../models/storage.py | 6 +- .../models/support_request_input.py | 0 .../models/transfer_request.py | 2 +- .../models/transfer_request_input.py | 0 .../models/transfer_request_list.py | 2 +- .../models/update_email_input.py | 0 .../models/user.py | 2 +- .../models/user_create_input.py | 2 +- .../models/user_limited.py | 0 .../models/user_list.py | 4 +- .../models/user_lite.py | 0 .../models/user_update_input.py | 0 .../models/userdata.py | 0 .../models/verify_email.py | 0 .../models/virtual_circuit.py | 4 +- .../models/virtual_circuit_create_input.py | 4 +- .../models/virtual_circuit_list.py | 2 +- .../models/virtual_circuit_update_input.py | 4 +- .../models/virtual_network.py | 4 +- .../models/virtual_network_create_input.py | 0 .../models/virtual_network_list.py | 2 +- .../models/vlan_fabric_vc_create_input.py | 0 .../models/vlan_virtual_circuit.py | 2 +- .../vlan_virtual_circuit_create_input.py | 0 .../vlan_virtual_circuit_update_input.py | 0 .../models/vrf.py | 8 +- .../models/vrf_create_input.py | 0 .../models/vrf_fabric_vc_create_input.py | 0 .../models/vrf_ip_reservation.py | 10 +- .../models/vrf_ip_reservation_create_input.py | 0 .../models/vrf_ip_reservation_list.py | 2 +- .../models/vrf_list.py | 2 +- .../models/vrf_metal_gateway.py | 10 +- .../models/vrf_metal_gateway_create_input.py | 0 .../models/vrf_route.py | 6 +- .../models/vrf_route_create_input.py | 0 .../models/vrf_route_list.py | 4 +- .../models/vrf_route_update_input.py | 0 .../models/vrf_update_input.py | 0 .../models/vrf_virtual_circuit.py | 4 +- .../vrf_virtual_circuit_create_input.py | 0 .../vrf_virtual_circuit_update_input.py | 0 .../py.typed | 0 .../rest.py | 2 +- equinix_metal/pyproject.toml | 4 +- equinix_metal/setup.py | 4 +- ...t_activate_hardware_reservation_request.py | 8 +- equinix_metal/test/test_address.py | 10 +- equinix_metal/test/test_attribute.py | 10 +- equinix_metal/test/test_attribute_data.py | 8 +- equinix_metal/test/test_auth_token.py | 8 +- equinix_metal/test/test_auth_token_input.py | 8 +- equinix_metal/test/test_auth_token_list.py | 10 +- equinix_metal/test/test_auth_token_project.py | 32 +- equinix_metal/test/test_auth_token_user.py | 12 +- equinix_metal/test/test_authentication_api.py | 8 +- equinix_metal/test/test_batch.py | 12 +- equinix_metal/test/test_batches_api.py | 8 +- equinix_metal/test/test_batches_list.py | 14 +- equinix_metal/test/test_bgp_api.py | 8 +- equinix_metal/test/test_bgp_config.py | 18 +- .../test/test_bgp_config_request_input.py | 8 +- .../test/test_bgp_dynamic_neighbor.py | 50 +- .../test_bgp_dynamic_neighbor_create_input.py | 8 +- .../test/test_bgp_dynamic_neighbor_list.py | 56 +- equinix_metal/test/test_bgp_neighbor_data.py | 8 +- equinix_metal/test/test_bgp_route.py | 8 +- equinix_metal/test/test_bgp_session.py | 10 +- equinix_metal/test/test_bgp_session_input.py | 8 +- equinix_metal/test/test_bgp_session_list.py | 12 +- .../test/test_bgp_session_neighbors.py | 10 +- equinix_metal/test/test_bond_port_data.py | 8 +- equinix_metal/test/test_capacity_api.py | 8 +- .../test_capacity_check_per_facility_info.py | 8 +- .../test_capacity_check_per_facility_list.py | 10 +- .../test_capacity_check_per_metro_info.py | 8 +- .../test_capacity_check_per_metro_list.py | 10 +- equinix_metal/test/test_capacity_input.py | 10 +- .../test/test_capacity_level_per_baremetal.py | 8 +- equinix_metal/test/test_capacity_list.py | 10 +- equinix_metal/test/test_component.py | 8 +- .../test/test_console_log_details_api.py | 8 +- equinix_metal/test/test_coordinates.py | 8 +- .../test/test_create_device_request.py | 24 +- equinix_metal/test/test_create_email_input.py | 8 +- .../test/test_create_metal_gateway_request.py | 8 +- ...te_organization_interconnection_request.py | 8 +- ...create_self_service_reservation_request.py | 12 +- ...self_service_reservation_request_period.py | 8 +- .../test/test_dedicated_port_create_input.py | 8 +- equinix_metal/test/test_device.py | 188 +++--- .../test/test_device_action_input.py | 8 +- .../test/test_device_actions_inner.py | 8 +- .../test_device_create_in_facility_input.py | 24 +- .../test/test_device_create_in_metro_input.py | 24 +- .../test/test_device_create_input.py | 24 +- equinix_metal/test/test_device_created_by.py | 8 +- .../test/test_device_health_rollup.py | 8 +- equinix_metal/test/test_device_list.py | 118 ++-- equinix_metal/test/test_device_metro.py | 8 +- .../test/test_device_project_lite.py | 8 +- .../test/test_device_update_input.py | 8 +- equinix_metal/test/test_device_usage.py | 8 +- equinix_metal/test/test_device_usage_list.py | 10 +- equinix_metal/test/test_devices_api.py | 8 +- equinix_metal/test/test_disk.py | 10 +- equinix_metal/test/test_email.py | 8 +- equinix_metal/test/test_email_input.py | 8 +- equinix_metal/test/test_emails_api.py | 8 +- equinix_metal/test/test_entitlement.py | 8 +- equinix_metal/test/test_error.py | 8 +- equinix_metal/test/test_event.py | 12 +- equinix_metal/test/test_event_list.py | 20 +- equinix_metal/test/test_events_api.py | 8 +- .../test/test_fabric_service_token.py | 8 +- equinix_metal/test/test_facilities_api.py | 8 +- equinix_metal/test/test_facility.py | 12 +- equinix_metal/test/test_facility_input.py | 8 +- .../test/test_facility_input_facility.py | 8 +- equinix_metal/test/test_facility_list.py | 14 +- equinix_metal/test/test_filesystem.py | 10 +- .../test_find_ip_address_by_id200_response.py | 98 +-- ...st_find_metal_gateway_by_id200_response.py | 88 +-- .../test_find_traffic_timeframe_parameter.py | 8 +- equinix_metal/test/test_firmware_set.py | 14 +- .../test/test_firmware_set_list_response.py | 16 +- .../test/test_firmware_set_response.py | 16 +- equinix_metal/test/test_firmware_sets_api.py | 8 +- equinix_metal/test/test_global_bgp_range.py | 10 +- .../test/test_global_bgp_range_list.py | 12 +- .../test/test_hardware_reservation.py | 136 ++--- .../test/test_hardware_reservation_list.py | 106 ++-- .../test/test_hardware_reservations_api.py | 8 +- equinix_metal/test/test_href.py | 8 +- equinix_metal/test/test_incidents_api.py | 8 +- .../test/test_instances_batch_create_input.py | 8 +- ...tances_batch_create_input_batches_inner.py | 24 +- equinix_metal/test/test_interconnection.py | 22 +- .../test/test_interconnection_list.py | 24 +- .../test/test_interconnection_port.py | 10 +- .../test/test_interconnection_port_list.py | 12 +- .../test/test_interconnection_update_input.py | 8 +- .../test/test_interconnections_api.py | 8 +- equinix_metal/test/test_invitation.py | 16 +- equinix_metal/test/test_invitation_input.py | 8 +- equinix_metal/test/test_invitation_list.py | 14 +- equinix_metal/test/test_invitations_api.py | 8 +- equinix_metal/test/test_invoice.py | 34 +- equinix_metal/test/test_invoice_list.py | 36 +- equinix_metal/test/test_invoices_api.py | 8 +- equinix_metal/test/test_ip_address.py | 8 +- equinix_metal/test/test_ip_addresses_api.py | 8 +- equinix_metal/test/test_ip_assignment.py | 14 +- .../test/test_ip_assignment_input.py | 8 +- equinix_metal/test/test_ip_assignment_list.py | 14 +- .../test/test_ip_assignment_metro.py | 8 +- .../test/test_ip_assignment_update_input.py | 8 +- .../test/test_ip_availabilities_list.py | 8 +- equinix_metal/test/test_ip_reservation.py | 28 +- .../test/test_ip_reservation_facility.py | 12 +- .../test/test_ip_reservation_list.py | 14 +- ..._ip_reservation_list_ip_addresses_inner.py | 92 +-- .../test/test_ip_reservation_metro.py | 8 +- .../test/test_ip_reservation_request_input.py | 8 +- equinix_metal/test/test_license.py | 12 +- .../test/test_license_create_input.py | 8 +- equinix_metal/test/test_license_list.py | 14 +- .../test/test_license_update_input.py | 8 +- equinix_metal/test/test_licenses_api.py | 8 +- equinix_metal/test/test_line_item.py | 30 +- equinix_metal/test/test_membership.py | 12 +- equinix_metal/test/test_membership_input.py | 8 +- equinix_metal/test/test_membership_list.py | 14 +- equinix_metal/test/test_memberships_api.py | 8 +- equinix_metal/test/test_meta.py | 18 +- equinix_metal/test/test_metadata.py | 14 +- equinix_metal/test/test_metadata_network.py | 12 +- .../test/test_metadata_network_network.py | 10 +- .../test_metadata_network_network_bonding.py | 8 +- equinix_metal/test/test_metal_gateway.py | 48 +- .../test/test_metal_gateway_create_input.py | 8 +- ...t_metal_gateway_elastic_ip_create_input.py | 8 +- equinix_metal/test/test_metal_gateway_list.py | 14 +- ...metal_gateway_list_metal_gateways_inner.py | 88 +-- equinix_metal/test/test_metal_gateway_lite.py | 8 +- equinix_metal/test/test_metal_gateways_api.py | 8 +- equinix_metal/test/test_metro.py | 8 +- equinix_metal/test/test_metro_input.py | 8 +- equinix_metal/test/test_metro_list.py | 10 +- equinix_metal/test/test_metros_api.py | 8 +- equinix_metal/test/test_mount.py | 8 +- .../test_move_hardware_reservation_request.py | 8 +- equinix_metal/test/test_new_password.py | 8 +- equinix_metal/test/test_operating_system.py | 10 +- .../test/test_operating_system_list.py | 12 +- .../test/test_operating_systems_api.py | 8 +- equinix_metal/test/test_organization.py | 22 +- equinix_metal/test/test_organization_input.py | 16 +- equinix_metal/test/test_organization_list.py | 28 +- equinix_metal/test/test_organizations_api.py | 8 +- equinix_metal/test/test_otps_api.py | 8 +- equinix_metal/test/test_parent_block.py | 8 +- equinix_metal/test/test_partition.py | 8 +- .../test/test_password_reset_tokens_api.py | 8 +- equinix_metal/test/test_payment_method.py | 16 +- .../test_payment_method_billing_address.py | 8 +- .../test/test_payment_method_create_input.py | 8 +- .../test/test_payment_method_list.py | 16 +- .../test/test_payment_method_update_input.py | 8 +- .../test/test_payment_methods_api.py | 8 +- equinix_metal/test/test_plan.py | 30 +- .../test/test_plan_available_in_inner.py | 10 +- .../test_plan_available_in_inner_price.py | 8 +- .../test_plan_available_in_metros_inner.py | 10 +- equinix_metal/test/test_plan_list.py | 30 +- equinix_metal/test/test_plan_specs.py | 18 +- .../test/test_plan_specs_cpus_inner.py | 8 +- .../test/test_plan_specs_drives_inner.py | 8 +- .../test/test_plan_specs_features.py | 8 +- equinix_metal/test/test_plan_specs_memory.py | 8 +- .../test/test_plan_specs_nics_inner.py | 8 +- equinix_metal/test/test_plans_api.py | 8 +- equinix_metal/test/test_port.py | 22 +- equinix_metal/test/test_port_assign_input.py | 8 +- .../test/test_port_convert_layer3_input.py | 10 +- ..._convert_layer3_input_request_ips_inner.py | 8 +- equinix_metal/test/test_port_data.py | 8 +- .../test/test_port_vlan_assignment.py | 12 +- .../test/test_port_vlan_assignment_batch.py | 26 +- ...port_vlan_assignment_batch_create_input.py | 10 +- ...tch_create_input_vlan_assignments_inner.py | 8 +- .../test_port_vlan_assignment_batch_list.py | 26 +- ...assignment_batch_vlan_assignments_inner.py | 8 +- .../test/test_port_vlan_assignment_list.py | 14 +- equinix_metal/test/test_ports_api.py | 8 +- equinix_metal/test/test_project.py | 32 +- .../test_project_create_from_root_input.py | 8 +- .../test/test_project_create_input.py | 8 +- equinix_metal/test/test_project_id_name.py | 8 +- equinix_metal/test/test_project_list.py | 26 +- .../test/test_project_update_input.py | 8 +- equinix_metal/test/test_project_usage.py | 8 +- equinix_metal/test/test_project_usage_list.py | 10 +- equinix_metal/test/test_projects_api.py | 8 +- equinix_metal/test/test_raid.py | 8 +- equinix_metal/test/test_recovery_code_list.py | 8 +- ...test_request_ip_reservation201_response.py | 92 +-- .../test_request_ip_reservation_request.py | 10 +- ...t_self_service_reservation_item_request.py | 8 +- ..._self_service_reservation_item_response.py | 8 +- .../test_self_service_reservation_list.py | 14 +- .../test_self_service_reservation_response.py | 12 +- .../test_self_service_reservations_api.py | 8 +- equinix_metal/test/test_server_info.py | 8 +- equinix_metal/test/test_spot_market_api.py | 8 +- .../test/test_spot_market_prices_list.py | 22 +- .../test_spot_market_prices_per_metro_list.py | 18 +- ...est_spot_market_prices_per_metro_report.py | 50 +- .../test/test_spot_market_request.py | 14 +- .../test_spot_market_request_create_input.py | 12 +- ...equest_create_input_instance_parameters.py | 10 +- .../test/test_spot_market_request_list.py | 14 +- .../test/test_spot_market_request_metro.py | 8 +- .../test/test_spot_prices_datapoints.py | 8 +- .../test/test_spot_prices_history_report.py | 10 +- .../test/test_spot_prices_per_baremetal.py | 8 +- .../test/test_spot_prices_per_facility.py | 26 +- .../test/test_spot_prices_per_new_facility.py | 10 +- equinix_metal/test/test_spot_prices_report.py | 72 +-- equinix_metal/test/test_ssh_key.py | 10 +- .../test/test_ssh_key_create_input.py | 8 +- equinix_metal/test/test_ssh_key_input.py | 8 +- equinix_metal/test/test_ssh_key_list.py | 12 +- equinix_metal/test/test_ssh_keys_api.py | 8 +- equinix_metal/test/test_storage.py | 18 +- .../test/test_support_request_api.py | 8 +- .../test/test_support_request_input.py | 8 +- equinix_metal/test/test_transfer_request.py | 12 +- .../test/test_transfer_request_input.py | 8 +- .../test/test_transfer_request_list.py | 14 +- .../test/test_transfer_requests_api.py | 8 +- .../test/test_two_factor_auth_api.py | 8 +- equinix_metal/test/test_update_email_input.py | 8 +- equinix_metal/test/test_usages_api.py | 8 +- equinix_metal/test/test_user.py | 12 +- equinix_metal/test/test_user_create_input.py | 12 +- equinix_metal/test/test_user_limited.py | 8 +- equinix_metal/test/test_user_list.py | 20 +- equinix_metal/test/test_user_lite.py | 8 +- equinix_metal/test/test_user_update_input.py | 8 +- .../test/test_user_verification_tokens_api.py | 8 +- equinix_metal/test/test_userdata.py | 8 +- equinix_metal/test/test_userdata_api.py | 8 +- equinix_metal/test/test_users_api.py | 8 +- equinix_metal/test/test_verify_email.py | 8 +- equinix_metal/test/test_virtual_circuit.py | 62 +- .../test/test_virtual_circuit_create_input.py | 8 +- .../test/test_virtual_circuit_list.py | 8 +- .../test/test_virtual_circuit_update_input.py | 8 +- equinix_metal/test/test_virtual_network.py | 18 +- .../test/test_virtual_network_create_input.py | 8 +- .../test/test_virtual_network_list.py | 16 +- .../test/test_vlan_fabric_vc_create_input.py | 8 +- .../test/test_vlan_virtual_circuit.py | 14 +- .../test_vlan_virtual_circuit_create_input.py | 8 +- .../test_vlan_virtual_circuit_update_input.py | 8 +- equinix_metal/test/test_vlans_api.py | 8 +- equinix_metal/test/test_vrf.py | 42 +- equinix_metal/test/test_vrf_create_input.py | 8 +- .../test/test_vrf_fabric_vc_create_input.py | 8 +- equinix_metal/test/test_vrf_ip_reservation.py | 88 +-- .../test_vrf_ip_reservation_create_input.py | 8 +- .../test/test_vrf_ip_reservation_list.py | 42 +- equinix_metal/test/test_vrf_list.py | 32 +- equinix_metal/test/test_vrf_metal_gateway.py | 88 +-- .../test_vrf_metal_gateway_create_input.py | 8 +- equinix_metal/test/test_vrf_route.py | 80 +-- .../test/test_vrf_route_create_input.py | 8 +- equinix_metal/test/test_vrf_route_list.py | 56 +- .../test/test_vrf_route_update_input.py | 8 +- equinix_metal/test/test_vrf_update_input.py | 8 +- .../test/test_vrf_virtual_circuit.py | 60 +- .../test_vrf_virtual_circuit_create_input.py | 8 +- .../test_vrf_virtual_circuit_update_input.py | 8 +- equinix_metal/test/test_vrfs_api.py | 8 +- equinix_metal/tox.ini | 2 +- version | 1 + 859 files changed, 5540 insertions(+), 5480 deletions(-) create mode 100644 .releaserc.json delete mode 100644 equinix_metal/equinix_metal/__init__.py delete mode 100644 equinix_metal/equinix_metal/api/__init__.py delete mode 100644 equinix_metal/equinix_metal/models/__init__.py create mode 100644 equinix_metal/equinix_metal_t0mk/__init__.py create mode 100644 equinix_metal/equinix_metal_t0mk/api/__init__.py rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/authentication_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/batches_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/bgp_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/capacity_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/console_log_details_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/devices_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/emails_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/events_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/facilities_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/firmware_sets_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/hardware_reservations_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/incidents_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/interconnections_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/invitations_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/invoices_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/ip_addresses_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/licenses_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/memberships_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/metal_gateways_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/metros_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/operating_systems_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/organizations_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/otps_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/password_reset_tokens_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/payment_methods_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/plans_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/ports_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/projects_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/self_service_reservations_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/spot_market_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/ssh_keys_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/support_request_api.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/transfer_requests_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/two_factor_auth_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/usages_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/user_verification_tokens_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/userdata_api.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/users_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/vlans_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api/vrfs_api.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api_client.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/api_response.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/configuration.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/exceptions.py (100%) create mode 100644 equinix_metal/equinix_metal_t0mk/models/__init__.py rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/activate_hardware_reservation_request.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/address.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/attribute.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/attribute_data.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/auth_token.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/auth_token_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/auth_token_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/auth_token_project.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/auth_token_user.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/batch.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/batches_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_config.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_config_request_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_dynamic_neighbor.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_dynamic_neighbor_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_dynamic_neighbor_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_neighbor_data.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_route.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_session.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_session_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_session_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bgp_session_neighbors.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/bond_port_data.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/capacity_check_per_facility_info.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/capacity_check_per_facility_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/capacity_check_per_metro_info.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/capacity_check_per_metro_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/capacity_input.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/capacity_level_per_baremetal.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/capacity_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/component.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/coordinates.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/create_device_request.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/create_email_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/create_metal_gateway_request.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/create_organization_interconnection_request.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/create_self_service_reservation_request.py (96%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/create_self_service_reservation_request_period.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/dedicated_port_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device.py (95%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_action_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_actions_inner.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_create_in_facility_input.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_create_in_metro_input.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_create_input.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_created_by.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_health_rollup.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_metro.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_project_lite.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_usage.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/device_usage_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/disk.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/email.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/email_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/entitlement.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/error.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/event.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/event_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/fabric_service_token.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/facility.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/facility_input.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/facility_input_facility.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/facility_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/filesystem.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/find_ip_address_by_id200_response.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/find_metal_gateway_by_id200_response.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/find_traffic_timeframe_parameter.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/firmware_set.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/firmware_set_list_response.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/firmware_set_response.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/global_bgp_range.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/global_bgp_range_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/hardware_reservation.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/hardware_reservation_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/href.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/instances_batch_create_input.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/instances_batch_create_input_batches_inner.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/interconnection.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/interconnection_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/interconnection_port.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/interconnection_port_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/interconnection_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/invitation.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/invitation_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/invitation_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/invoice.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/invoice_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_address.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_assignment.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_assignment_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_assignment_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_assignment_metro.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_assignment_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_availabilities_list.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_reservation.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_reservation_facility.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_reservation_list.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_reservation_list_ip_addresses_inner.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_reservation_metro.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ip_reservation_request_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/license.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/license_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/license_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/license_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/line_item.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/membership.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/membership_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/membership_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/meta.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metadata.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metadata_network.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metadata_network_network.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metadata_network_network_bonding.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metal_gateway.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metal_gateway_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metal_gateway_elastic_ip_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metal_gateway_list.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metal_gateway_list_metal_gateways_inner.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metal_gateway_lite.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metro.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metro_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/metro_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/mount.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/move_hardware_reservation_request.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/new_password.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/operating_system.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/operating_system_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/organization.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/organization_input.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/organization_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/parent_block.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/partition.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/payment_method.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/payment_method_billing_address.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/payment_method_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/payment_method_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/payment_method_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan_available_in_inner.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan_available_in_inner_price.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan_available_in_metros_inner.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan_specs.py (95%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan_specs_cpus_inner.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan_specs_drives_inner.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan_specs_features.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan_specs_memory.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/plan_specs_nics_inner.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_assign_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_convert_layer3_input.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_convert_layer3_input_request_ips_inner.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_data.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_vlan_assignment.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_vlan_assignment_batch.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_vlan_assignment_batch_create_input.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_vlan_assignment_batch_create_input_vlan_assignments_inner.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_vlan_assignment_batch_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_vlan_assignment_batch_vlan_assignments_inner.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/port_vlan_assignment_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/project.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/project_create_from_root_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/project_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/project_id_name.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/project_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/project_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/project_usage.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/project_usage_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/raid.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/recovery_code_list.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/request_ip_reservation201_response.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/request_ip_reservation_request.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/self_service_reservation_item_request.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/self_service_reservation_item_response.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/self_service_reservation_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/self_service_reservation_response.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/server_info.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_market_prices_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_market_prices_per_metro_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_market_prices_per_metro_report.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_market_request.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_market_request_create_input.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_market_request_create_input_instance_parameters.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_market_request_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_market_request_metro.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_prices_datapoints.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_prices_history_report.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_prices_per_baremetal.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_prices_per_facility.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_prices_per_new_facility.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/spot_prices_report.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ssh_key.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ssh_key_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ssh_key_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/ssh_key_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/storage.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/support_request_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/transfer_request.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/transfer_request_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/transfer_request_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/update_email_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/user.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/user_create_input.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/user_limited.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/user_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/user_lite.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/user_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/userdata.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/verify_email.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/virtual_circuit.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/virtual_circuit_create_input.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/virtual_circuit_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/virtual_circuit_update_input.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/virtual_network.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/virtual_network_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/virtual_network_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vlan_fabric_vc_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vlan_virtual_circuit.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vlan_virtual_circuit_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vlan_virtual_circuit_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_fabric_vc_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_ip_reservation.py (97%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_ip_reservation_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_ip_reservation_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_list.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_metal_gateway.py (96%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_metal_gateway_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_route.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_route_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_route_list.py (98%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_route_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_virtual_circuit.py (99%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_virtual_circuit_create_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/models/vrf_virtual_circuit_update_input.py (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/py.typed (100%) rename equinix_metal/{equinix_metal => equinix_metal_t0mk}/rest.py (98%) create mode 100644 version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8201e12..d914cb25 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ -name: Release Package to PyPI +name: Do GitHub release and publish to PyPI on: - release: - types: [published] + workflow_dispatch: + env: PACKAGE_DIR: equinix_metal DIST_DIR: equinix_metal/dist @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5 @@ -37,4 +39,19 @@ jobs: password: ${{ secrets.PYPI_API_TOKEN }} packages-dir: ${{ env.DIST_DIR }} + - name: Do GitHub release + uses: cycjimmy/semantic-release-action@v4 + with: + semantic_version: 19.0.5 + extra_plugins: | + @semantic-release/exec@6.0.3 + @semantic-release/git@10.0.0 + conventional-changelog-conventionalcommits@4.6.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GIT_AUTHOR_NAME: equinix-labs@auto-commit-workflow + GIT_AUTHOR_EMAIL: bot@equinix.noreply.github.com + GIT_COMMITTER_NAME: equinix-labs@auto-commit-workflow + GIT_COMMITTER_EMAIL: bot@equinix.noreply.github.com + diff --git a/.releaserc.json b/.releaserc.json new file mode 100644 index 00000000..788ab22e --- /dev/null +++ b/.releaserc.json @@ -0,0 +1,41 @@ +{ + "branches": [ + "main" + ], + "ci": false, + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "preset": "conventionalcommits" + } + ], + [ + "@semantic-release/release-notes-generator", + { + "preset": "conventionalcommits" + } + ], + [ + "@semantic-release/github", + { + "successComment": "This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:", + "labels": false, + "releasedLabels": false + } + ], + [ + "@semantic-release/exec", + { + "prepareCmd": "echo -n '${nextRelease.version}' > version && make generate" + } + ], + [ + "@semantic-release/git", + { + "message": "ci: regenerate code for version ${nextRelease.version} triggered by ${process.env.RELEASE_REQUESTER}", + "assets": ["."] + } + ] + ] + } diff --git a/Makefile b/Makefile index b8a61f1d..46fdeb69 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -PACKAGE_VERSION=0.6.0 +VERSION_FILE=version +PACKAGE_VERSION := $(shell cat ${VERSION_FILE}) SPEC_PATCHED_FILE=./metal_openapi.fixed.yaml OPENAPI_CODEGEN_TAG=v7.0.0 @@ -50,6 +51,6 @@ generate: clean patch-spec --git-repo-id ${GIT_REPO} \ --git-user-id ${GIT_ORG} \ --http-user-agent ${USER_AGENT} \ - --additional-properties=packageName=${PACKAGE_NAME},packageVersion=${PACKAGE_VERSION} + --additional-properties=packageName=equinix_metal_t0mk,packageVersion=${PACKAGE_VERSION} rm -rf equinix_metal/.github rm -rf equinix_metal/.gitlab-ci.yml diff --git a/equinix_metal/.openapi-generator/FILES b/equinix_metal/.openapi-generator/FILES index ea9b017f..38d47996 100644 --- a/equinix_metal/.openapi-generator/FILES +++ b/equinix_metal/.openapi-generator/FILES @@ -283,294 +283,294 @@ docs/VrfUpdateInput.md docs/VrfVirtualCircuit.md docs/VrfVirtualCircuitCreateInput.md docs/VrfVirtualCircuitUpdateInput.md -equinix_metal/__init__.py -equinix_metal/api/__init__.py -equinix_metal/api/authentication_api.py -equinix_metal/api/batches_api.py -equinix_metal/api/bgp_api.py -equinix_metal/api/capacity_api.py -equinix_metal/api/console_log_details_api.py -equinix_metal/api/devices_api.py -equinix_metal/api/emails_api.py -equinix_metal/api/events_api.py -equinix_metal/api/facilities_api.py -equinix_metal/api/firmware_sets_api.py -equinix_metal/api/hardware_reservations_api.py -equinix_metal/api/incidents_api.py -equinix_metal/api/interconnections_api.py -equinix_metal/api/invitations_api.py -equinix_metal/api/invoices_api.py -equinix_metal/api/ip_addresses_api.py -equinix_metal/api/licenses_api.py -equinix_metal/api/memberships_api.py -equinix_metal/api/metal_gateways_api.py -equinix_metal/api/metros_api.py -equinix_metal/api/operating_systems_api.py -equinix_metal/api/organizations_api.py -equinix_metal/api/otps_api.py -equinix_metal/api/password_reset_tokens_api.py -equinix_metal/api/payment_methods_api.py -equinix_metal/api/plans_api.py -equinix_metal/api/ports_api.py -equinix_metal/api/projects_api.py -equinix_metal/api/self_service_reservations_api.py -equinix_metal/api/spot_market_api.py -equinix_metal/api/ssh_keys_api.py -equinix_metal/api/support_request_api.py -equinix_metal/api/transfer_requests_api.py -equinix_metal/api/two_factor_auth_api.py -equinix_metal/api/usages_api.py -equinix_metal/api/user_verification_tokens_api.py -equinix_metal/api/userdata_api.py -equinix_metal/api/users_api.py -equinix_metal/api/vlans_api.py -equinix_metal/api/vrfs_api.py -equinix_metal/api_client.py -equinix_metal/api_response.py -equinix_metal/configuration.py -equinix_metal/exceptions.py -equinix_metal/models/__init__.py -equinix_metal/models/activate_hardware_reservation_request.py -equinix_metal/models/address.py -equinix_metal/models/attribute.py -equinix_metal/models/attribute_data.py -equinix_metal/models/auth_token.py -equinix_metal/models/auth_token_input.py -equinix_metal/models/auth_token_list.py -equinix_metal/models/auth_token_project.py -equinix_metal/models/auth_token_user.py -equinix_metal/models/batch.py -equinix_metal/models/batches_list.py -equinix_metal/models/bgp_config.py -equinix_metal/models/bgp_config_request_input.py -equinix_metal/models/bgp_dynamic_neighbor.py -equinix_metal/models/bgp_dynamic_neighbor_create_input.py -equinix_metal/models/bgp_dynamic_neighbor_list.py -equinix_metal/models/bgp_neighbor_data.py -equinix_metal/models/bgp_route.py -equinix_metal/models/bgp_session.py -equinix_metal/models/bgp_session_input.py -equinix_metal/models/bgp_session_list.py -equinix_metal/models/bgp_session_neighbors.py -equinix_metal/models/bond_port_data.py -equinix_metal/models/capacity_check_per_facility_info.py -equinix_metal/models/capacity_check_per_facility_list.py -equinix_metal/models/capacity_check_per_metro_info.py -equinix_metal/models/capacity_check_per_metro_list.py -equinix_metal/models/capacity_input.py -equinix_metal/models/capacity_level_per_baremetal.py -equinix_metal/models/capacity_list.py -equinix_metal/models/component.py -equinix_metal/models/coordinates.py -equinix_metal/models/create_device_request.py -equinix_metal/models/create_email_input.py -equinix_metal/models/create_metal_gateway_request.py -equinix_metal/models/create_organization_interconnection_request.py -equinix_metal/models/create_self_service_reservation_request.py -equinix_metal/models/create_self_service_reservation_request_period.py -equinix_metal/models/dedicated_port_create_input.py -equinix_metal/models/device.py -equinix_metal/models/device_action_input.py -equinix_metal/models/device_actions_inner.py -equinix_metal/models/device_create_in_facility_input.py -equinix_metal/models/device_create_in_metro_input.py -equinix_metal/models/device_create_input.py -equinix_metal/models/device_created_by.py -equinix_metal/models/device_health_rollup.py -equinix_metal/models/device_list.py -equinix_metal/models/device_metro.py -equinix_metal/models/device_project_lite.py -equinix_metal/models/device_update_input.py -equinix_metal/models/device_usage.py -equinix_metal/models/device_usage_list.py -equinix_metal/models/disk.py -equinix_metal/models/email.py -equinix_metal/models/email_input.py -equinix_metal/models/entitlement.py -equinix_metal/models/error.py -equinix_metal/models/event.py -equinix_metal/models/event_list.py -equinix_metal/models/fabric_service_token.py -equinix_metal/models/facility.py -equinix_metal/models/facility_input.py -equinix_metal/models/facility_input_facility.py -equinix_metal/models/facility_list.py -equinix_metal/models/filesystem.py -equinix_metal/models/find_ip_address_by_id200_response.py -equinix_metal/models/find_metal_gateway_by_id200_response.py -equinix_metal/models/find_traffic_timeframe_parameter.py -equinix_metal/models/firmware_set.py -equinix_metal/models/firmware_set_list_response.py -equinix_metal/models/firmware_set_response.py -equinix_metal/models/global_bgp_range.py -equinix_metal/models/global_bgp_range_list.py -equinix_metal/models/hardware_reservation.py -equinix_metal/models/hardware_reservation_list.py -equinix_metal/models/href.py -equinix_metal/models/instances_batch_create_input.py -equinix_metal/models/instances_batch_create_input_batches_inner.py -equinix_metal/models/interconnection.py -equinix_metal/models/interconnection_list.py -equinix_metal/models/interconnection_port.py -equinix_metal/models/interconnection_port_list.py -equinix_metal/models/interconnection_update_input.py -equinix_metal/models/invitation.py -equinix_metal/models/invitation_input.py -equinix_metal/models/invitation_list.py -equinix_metal/models/invoice.py -equinix_metal/models/invoice_list.py -equinix_metal/models/ip_address.py -equinix_metal/models/ip_assignment.py -equinix_metal/models/ip_assignment_input.py -equinix_metal/models/ip_assignment_list.py -equinix_metal/models/ip_assignment_metro.py -equinix_metal/models/ip_assignment_update_input.py -equinix_metal/models/ip_availabilities_list.py -equinix_metal/models/ip_reservation.py -equinix_metal/models/ip_reservation_facility.py -equinix_metal/models/ip_reservation_list.py -equinix_metal/models/ip_reservation_list_ip_addresses_inner.py -equinix_metal/models/ip_reservation_metro.py -equinix_metal/models/ip_reservation_request_input.py -equinix_metal/models/license.py -equinix_metal/models/license_create_input.py -equinix_metal/models/license_list.py -equinix_metal/models/license_update_input.py -equinix_metal/models/line_item.py -equinix_metal/models/membership.py -equinix_metal/models/membership_input.py -equinix_metal/models/membership_list.py -equinix_metal/models/meta.py -equinix_metal/models/metadata.py -equinix_metal/models/metadata_network.py -equinix_metal/models/metadata_network_network.py -equinix_metal/models/metadata_network_network_bonding.py -equinix_metal/models/metal_gateway.py -equinix_metal/models/metal_gateway_create_input.py -equinix_metal/models/metal_gateway_elastic_ip_create_input.py -equinix_metal/models/metal_gateway_list.py -equinix_metal/models/metal_gateway_list_metal_gateways_inner.py -equinix_metal/models/metal_gateway_lite.py -equinix_metal/models/metro.py -equinix_metal/models/metro_input.py -equinix_metal/models/metro_list.py -equinix_metal/models/mount.py -equinix_metal/models/move_hardware_reservation_request.py -equinix_metal/models/new_password.py -equinix_metal/models/operating_system.py -equinix_metal/models/operating_system_list.py -equinix_metal/models/organization.py -equinix_metal/models/organization_input.py -equinix_metal/models/organization_list.py -equinix_metal/models/parent_block.py -equinix_metal/models/partition.py -equinix_metal/models/payment_method.py -equinix_metal/models/payment_method_billing_address.py -equinix_metal/models/payment_method_create_input.py -equinix_metal/models/payment_method_list.py -equinix_metal/models/payment_method_update_input.py -equinix_metal/models/plan.py -equinix_metal/models/plan_available_in_inner.py -equinix_metal/models/plan_available_in_inner_price.py -equinix_metal/models/plan_available_in_metros_inner.py -equinix_metal/models/plan_list.py -equinix_metal/models/plan_specs.py -equinix_metal/models/plan_specs_cpus_inner.py -equinix_metal/models/plan_specs_drives_inner.py -equinix_metal/models/plan_specs_features.py -equinix_metal/models/plan_specs_memory.py -equinix_metal/models/plan_specs_nics_inner.py -equinix_metal/models/port.py -equinix_metal/models/port_assign_input.py -equinix_metal/models/port_convert_layer3_input.py -equinix_metal/models/port_convert_layer3_input_request_ips_inner.py -equinix_metal/models/port_data.py -equinix_metal/models/port_vlan_assignment.py -equinix_metal/models/port_vlan_assignment_batch.py -equinix_metal/models/port_vlan_assignment_batch_create_input.py -equinix_metal/models/port_vlan_assignment_batch_create_input_vlan_assignments_inner.py -equinix_metal/models/port_vlan_assignment_batch_list.py -equinix_metal/models/port_vlan_assignment_batch_vlan_assignments_inner.py -equinix_metal/models/port_vlan_assignment_list.py -equinix_metal/models/project.py -equinix_metal/models/project_create_from_root_input.py -equinix_metal/models/project_create_input.py -equinix_metal/models/project_id_name.py -equinix_metal/models/project_list.py -equinix_metal/models/project_update_input.py -equinix_metal/models/project_usage.py -equinix_metal/models/project_usage_list.py -equinix_metal/models/raid.py -equinix_metal/models/recovery_code_list.py -equinix_metal/models/request_ip_reservation201_response.py -equinix_metal/models/request_ip_reservation_request.py -equinix_metal/models/self_service_reservation_item_request.py -equinix_metal/models/self_service_reservation_item_response.py -equinix_metal/models/self_service_reservation_list.py -equinix_metal/models/self_service_reservation_response.py -equinix_metal/models/server_info.py -equinix_metal/models/spot_market_prices_list.py -equinix_metal/models/spot_market_prices_per_metro_list.py -equinix_metal/models/spot_market_prices_per_metro_report.py -equinix_metal/models/spot_market_request.py -equinix_metal/models/spot_market_request_create_input.py -equinix_metal/models/spot_market_request_create_input_instance_parameters.py -equinix_metal/models/spot_market_request_list.py -equinix_metal/models/spot_market_request_metro.py -equinix_metal/models/spot_prices_datapoints.py -equinix_metal/models/spot_prices_history_report.py -equinix_metal/models/spot_prices_per_baremetal.py -equinix_metal/models/spot_prices_per_facility.py -equinix_metal/models/spot_prices_per_new_facility.py -equinix_metal/models/spot_prices_report.py -equinix_metal/models/ssh_key.py -equinix_metal/models/ssh_key_create_input.py -equinix_metal/models/ssh_key_input.py -equinix_metal/models/ssh_key_list.py -equinix_metal/models/storage.py -equinix_metal/models/support_request_input.py -equinix_metal/models/transfer_request.py -equinix_metal/models/transfer_request_input.py -equinix_metal/models/transfer_request_list.py -equinix_metal/models/update_email_input.py -equinix_metal/models/user.py -equinix_metal/models/user_create_input.py -equinix_metal/models/user_limited.py -equinix_metal/models/user_list.py -equinix_metal/models/user_lite.py -equinix_metal/models/user_update_input.py -equinix_metal/models/userdata.py -equinix_metal/models/verify_email.py -equinix_metal/models/virtual_circuit.py -equinix_metal/models/virtual_circuit_create_input.py -equinix_metal/models/virtual_circuit_list.py -equinix_metal/models/virtual_circuit_update_input.py -equinix_metal/models/virtual_network.py -equinix_metal/models/virtual_network_create_input.py -equinix_metal/models/virtual_network_list.py -equinix_metal/models/vlan_fabric_vc_create_input.py -equinix_metal/models/vlan_virtual_circuit.py -equinix_metal/models/vlan_virtual_circuit_create_input.py -equinix_metal/models/vlan_virtual_circuit_update_input.py -equinix_metal/models/vrf.py -equinix_metal/models/vrf_create_input.py -equinix_metal/models/vrf_fabric_vc_create_input.py -equinix_metal/models/vrf_ip_reservation.py -equinix_metal/models/vrf_ip_reservation_create_input.py -equinix_metal/models/vrf_ip_reservation_list.py -equinix_metal/models/vrf_list.py -equinix_metal/models/vrf_metal_gateway.py -equinix_metal/models/vrf_metal_gateway_create_input.py -equinix_metal/models/vrf_route.py -equinix_metal/models/vrf_route_create_input.py -equinix_metal/models/vrf_route_list.py -equinix_metal/models/vrf_route_update_input.py -equinix_metal/models/vrf_update_input.py -equinix_metal/models/vrf_virtual_circuit.py -equinix_metal/models/vrf_virtual_circuit_create_input.py -equinix_metal/models/vrf_virtual_circuit_update_input.py -equinix_metal/py.typed -equinix_metal/rest.py +equinix_metal_t0mk/__init__.py +equinix_metal_t0mk/api/__init__.py +equinix_metal_t0mk/api/authentication_api.py +equinix_metal_t0mk/api/batches_api.py +equinix_metal_t0mk/api/bgp_api.py +equinix_metal_t0mk/api/capacity_api.py +equinix_metal_t0mk/api/console_log_details_api.py +equinix_metal_t0mk/api/devices_api.py +equinix_metal_t0mk/api/emails_api.py +equinix_metal_t0mk/api/events_api.py +equinix_metal_t0mk/api/facilities_api.py +equinix_metal_t0mk/api/firmware_sets_api.py +equinix_metal_t0mk/api/hardware_reservations_api.py +equinix_metal_t0mk/api/incidents_api.py +equinix_metal_t0mk/api/interconnections_api.py +equinix_metal_t0mk/api/invitations_api.py +equinix_metal_t0mk/api/invoices_api.py +equinix_metal_t0mk/api/ip_addresses_api.py +equinix_metal_t0mk/api/licenses_api.py +equinix_metal_t0mk/api/memberships_api.py +equinix_metal_t0mk/api/metal_gateways_api.py +equinix_metal_t0mk/api/metros_api.py +equinix_metal_t0mk/api/operating_systems_api.py +equinix_metal_t0mk/api/organizations_api.py +equinix_metal_t0mk/api/otps_api.py +equinix_metal_t0mk/api/password_reset_tokens_api.py +equinix_metal_t0mk/api/payment_methods_api.py +equinix_metal_t0mk/api/plans_api.py +equinix_metal_t0mk/api/ports_api.py +equinix_metal_t0mk/api/projects_api.py +equinix_metal_t0mk/api/self_service_reservations_api.py +equinix_metal_t0mk/api/spot_market_api.py +equinix_metal_t0mk/api/ssh_keys_api.py +equinix_metal_t0mk/api/support_request_api.py +equinix_metal_t0mk/api/transfer_requests_api.py +equinix_metal_t0mk/api/two_factor_auth_api.py +equinix_metal_t0mk/api/usages_api.py +equinix_metal_t0mk/api/user_verification_tokens_api.py +equinix_metal_t0mk/api/userdata_api.py +equinix_metal_t0mk/api/users_api.py +equinix_metal_t0mk/api/vlans_api.py +equinix_metal_t0mk/api/vrfs_api.py +equinix_metal_t0mk/api_client.py +equinix_metal_t0mk/api_response.py +equinix_metal_t0mk/configuration.py +equinix_metal_t0mk/exceptions.py +equinix_metal_t0mk/models/__init__.py +equinix_metal_t0mk/models/activate_hardware_reservation_request.py +equinix_metal_t0mk/models/address.py +equinix_metal_t0mk/models/attribute.py +equinix_metal_t0mk/models/attribute_data.py +equinix_metal_t0mk/models/auth_token.py +equinix_metal_t0mk/models/auth_token_input.py +equinix_metal_t0mk/models/auth_token_list.py +equinix_metal_t0mk/models/auth_token_project.py +equinix_metal_t0mk/models/auth_token_user.py +equinix_metal_t0mk/models/batch.py +equinix_metal_t0mk/models/batches_list.py +equinix_metal_t0mk/models/bgp_config.py +equinix_metal_t0mk/models/bgp_config_request_input.py +equinix_metal_t0mk/models/bgp_dynamic_neighbor.py +equinix_metal_t0mk/models/bgp_dynamic_neighbor_create_input.py +equinix_metal_t0mk/models/bgp_dynamic_neighbor_list.py +equinix_metal_t0mk/models/bgp_neighbor_data.py +equinix_metal_t0mk/models/bgp_route.py +equinix_metal_t0mk/models/bgp_session.py +equinix_metal_t0mk/models/bgp_session_input.py +equinix_metal_t0mk/models/bgp_session_list.py +equinix_metal_t0mk/models/bgp_session_neighbors.py +equinix_metal_t0mk/models/bond_port_data.py +equinix_metal_t0mk/models/capacity_check_per_facility_info.py +equinix_metal_t0mk/models/capacity_check_per_facility_list.py +equinix_metal_t0mk/models/capacity_check_per_metro_info.py +equinix_metal_t0mk/models/capacity_check_per_metro_list.py +equinix_metal_t0mk/models/capacity_input.py +equinix_metal_t0mk/models/capacity_level_per_baremetal.py +equinix_metal_t0mk/models/capacity_list.py +equinix_metal_t0mk/models/component.py +equinix_metal_t0mk/models/coordinates.py +equinix_metal_t0mk/models/create_device_request.py +equinix_metal_t0mk/models/create_email_input.py +equinix_metal_t0mk/models/create_metal_gateway_request.py +equinix_metal_t0mk/models/create_organization_interconnection_request.py +equinix_metal_t0mk/models/create_self_service_reservation_request.py +equinix_metal_t0mk/models/create_self_service_reservation_request_period.py +equinix_metal_t0mk/models/dedicated_port_create_input.py +equinix_metal_t0mk/models/device.py +equinix_metal_t0mk/models/device_action_input.py +equinix_metal_t0mk/models/device_actions_inner.py +equinix_metal_t0mk/models/device_create_in_facility_input.py +equinix_metal_t0mk/models/device_create_in_metro_input.py +equinix_metal_t0mk/models/device_create_input.py +equinix_metal_t0mk/models/device_created_by.py +equinix_metal_t0mk/models/device_health_rollup.py +equinix_metal_t0mk/models/device_list.py +equinix_metal_t0mk/models/device_metro.py +equinix_metal_t0mk/models/device_project_lite.py +equinix_metal_t0mk/models/device_update_input.py +equinix_metal_t0mk/models/device_usage.py +equinix_metal_t0mk/models/device_usage_list.py +equinix_metal_t0mk/models/disk.py +equinix_metal_t0mk/models/email.py +equinix_metal_t0mk/models/email_input.py +equinix_metal_t0mk/models/entitlement.py +equinix_metal_t0mk/models/error.py +equinix_metal_t0mk/models/event.py +equinix_metal_t0mk/models/event_list.py +equinix_metal_t0mk/models/fabric_service_token.py +equinix_metal_t0mk/models/facility.py +equinix_metal_t0mk/models/facility_input.py +equinix_metal_t0mk/models/facility_input_facility.py +equinix_metal_t0mk/models/facility_list.py +equinix_metal_t0mk/models/filesystem.py +equinix_metal_t0mk/models/find_ip_address_by_id200_response.py +equinix_metal_t0mk/models/find_metal_gateway_by_id200_response.py +equinix_metal_t0mk/models/find_traffic_timeframe_parameter.py +equinix_metal_t0mk/models/firmware_set.py +equinix_metal_t0mk/models/firmware_set_list_response.py +equinix_metal_t0mk/models/firmware_set_response.py +equinix_metal_t0mk/models/global_bgp_range.py +equinix_metal_t0mk/models/global_bgp_range_list.py +equinix_metal_t0mk/models/hardware_reservation.py +equinix_metal_t0mk/models/hardware_reservation_list.py +equinix_metal_t0mk/models/href.py +equinix_metal_t0mk/models/instances_batch_create_input.py +equinix_metal_t0mk/models/instances_batch_create_input_batches_inner.py +equinix_metal_t0mk/models/interconnection.py +equinix_metal_t0mk/models/interconnection_list.py +equinix_metal_t0mk/models/interconnection_port.py +equinix_metal_t0mk/models/interconnection_port_list.py +equinix_metal_t0mk/models/interconnection_update_input.py +equinix_metal_t0mk/models/invitation.py +equinix_metal_t0mk/models/invitation_input.py +equinix_metal_t0mk/models/invitation_list.py +equinix_metal_t0mk/models/invoice.py +equinix_metal_t0mk/models/invoice_list.py +equinix_metal_t0mk/models/ip_address.py +equinix_metal_t0mk/models/ip_assignment.py +equinix_metal_t0mk/models/ip_assignment_input.py +equinix_metal_t0mk/models/ip_assignment_list.py +equinix_metal_t0mk/models/ip_assignment_metro.py +equinix_metal_t0mk/models/ip_assignment_update_input.py +equinix_metal_t0mk/models/ip_availabilities_list.py +equinix_metal_t0mk/models/ip_reservation.py +equinix_metal_t0mk/models/ip_reservation_facility.py +equinix_metal_t0mk/models/ip_reservation_list.py +equinix_metal_t0mk/models/ip_reservation_list_ip_addresses_inner.py +equinix_metal_t0mk/models/ip_reservation_metro.py +equinix_metal_t0mk/models/ip_reservation_request_input.py +equinix_metal_t0mk/models/license.py +equinix_metal_t0mk/models/license_create_input.py +equinix_metal_t0mk/models/license_list.py +equinix_metal_t0mk/models/license_update_input.py +equinix_metal_t0mk/models/line_item.py +equinix_metal_t0mk/models/membership.py +equinix_metal_t0mk/models/membership_input.py +equinix_metal_t0mk/models/membership_list.py +equinix_metal_t0mk/models/meta.py +equinix_metal_t0mk/models/metadata.py +equinix_metal_t0mk/models/metadata_network.py +equinix_metal_t0mk/models/metadata_network_network.py +equinix_metal_t0mk/models/metadata_network_network_bonding.py +equinix_metal_t0mk/models/metal_gateway.py +equinix_metal_t0mk/models/metal_gateway_create_input.py +equinix_metal_t0mk/models/metal_gateway_elastic_ip_create_input.py +equinix_metal_t0mk/models/metal_gateway_list.py +equinix_metal_t0mk/models/metal_gateway_list_metal_gateways_inner.py +equinix_metal_t0mk/models/metal_gateway_lite.py +equinix_metal_t0mk/models/metro.py +equinix_metal_t0mk/models/metro_input.py +equinix_metal_t0mk/models/metro_list.py +equinix_metal_t0mk/models/mount.py +equinix_metal_t0mk/models/move_hardware_reservation_request.py +equinix_metal_t0mk/models/new_password.py +equinix_metal_t0mk/models/operating_system.py +equinix_metal_t0mk/models/operating_system_list.py +equinix_metal_t0mk/models/organization.py +equinix_metal_t0mk/models/organization_input.py +equinix_metal_t0mk/models/organization_list.py +equinix_metal_t0mk/models/parent_block.py +equinix_metal_t0mk/models/partition.py +equinix_metal_t0mk/models/payment_method.py +equinix_metal_t0mk/models/payment_method_billing_address.py +equinix_metal_t0mk/models/payment_method_create_input.py +equinix_metal_t0mk/models/payment_method_list.py +equinix_metal_t0mk/models/payment_method_update_input.py +equinix_metal_t0mk/models/plan.py +equinix_metal_t0mk/models/plan_available_in_inner.py +equinix_metal_t0mk/models/plan_available_in_inner_price.py +equinix_metal_t0mk/models/plan_available_in_metros_inner.py +equinix_metal_t0mk/models/plan_list.py +equinix_metal_t0mk/models/plan_specs.py +equinix_metal_t0mk/models/plan_specs_cpus_inner.py +equinix_metal_t0mk/models/plan_specs_drives_inner.py +equinix_metal_t0mk/models/plan_specs_features.py +equinix_metal_t0mk/models/plan_specs_memory.py +equinix_metal_t0mk/models/plan_specs_nics_inner.py +equinix_metal_t0mk/models/port.py +equinix_metal_t0mk/models/port_assign_input.py +equinix_metal_t0mk/models/port_convert_layer3_input.py +equinix_metal_t0mk/models/port_convert_layer3_input_request_ips_inner.py +equinix_metal_t0mk/models/port_data.py +equinix_metal_t0mk/models/port_vlan_assignment.py +equinix_metal_t0mk/models/port_vlan_assignment_batch.py +equinix_metal_t0mk/models/port_vlan_assignment_batch_create_input.py +equinix_metal_t0mk/models/port_vlan_assignment_batch_create_input_vlan_assignments_inner.py +equinix_metal_t0mk/models/port_vlan_assignment_batch_list.py +equinix_metal_t0mk/models/port_vlan_assignment_batch_vlan_assignments_inner.py +equinix_metal_t0mk/models/port_vlan_assignment_list.py +equinix_metal_t0mk/models/project.py +equinix_metal_t0mk/models/project_create_from_root_input.py +equinix_metal_t0mk/models/project_create_input.py +equinix_metal_t0mk/models/project_id_name.py +equinix_metal_t0mk/models/project_list.py +equinix_metal_t0mk/models/project_update_input.py +equinix_metal_t0mk/models/project_usage.py +equinix_metal_t0mk/models/project_usage_list.py +equinix_metal_t0mk/models/raid.py +equinix_metal_t0mk/models/recovery_code_list.py +equinix_metal_t0mk/models/request_ip_reservation201_response.py +equinix_metal_t0mk/models/request_ip_reservation_request.py +equinix_metal_t0mk/models/self_service_reservation_item_request.py +equinix_metal_t0mk/models/self_service_reservation_item_response.py +equinix_metal_t0mk/models/self_service_reservation_list.py +equinix_metal_t0mk/models/self_service_reservation_response.py +equinix_metal_t0mk/models/server_info.py +equinix_metal_t0mk/models/spot_market_prices_list.py +equinix_metal_t0mk/models/spot_market_prices_per_metro_list.py +equinix_metal_t0mk/models/spot_market_prices_per_metro_report.py +equinix_metal_t0mk/models/spot_market_request.py +equinix_metal_t0mk/models/spot_market_request_create_input.py +equinix_metal_t0mk/models/spot_market_request_create_input_instance_parameters.py +equinix_metal_t0mk/models/spot_market_request_list.py +equinix_metal_t0mk/models/spot_market_request_metro.py +equinix_metal_t0mk/models/spot_prices_datapoints.py +equinix_metal_t0mk/models/spot_prices_history_report.py +equinix_metal_t0mk/models/spot_prices_per_baremetal.py +equinix_metal_t0mk/models/spot_prices_per_facility.py +equinix_metal_t0mk/models/spot_prices_per_new_facility.py +equinix_metal_t0mk/models/spot_prices_report.py +equinix_metal_t0mk/models/ssh_key.py +equinix_metal_t0mk/models/ssh_key_create_input.py +equinix_metal_t0mk/models/ssh_key_input.py +equinix_metal_t0mk/models/ssh_key_list.py +equinix_metal_t0mk/models/storage.py +equinix_metal_t0mk/models/support_request_input.py +equinix_metal_t0mk/models/transfer_request.py +equinix_metal_t0mk/models/transfer_request_input.py +equinix_metal_t0mk/models/transfer_request_list.py +equinix_metal_t0mk/models/update_email_input.py +equinix_metal_t0mk/models/user.py +equinix_metal_t0mk/models/user_create_input.py +equinix_metal_t0mk/models/user_limited.py +equinix_metal_t0mk/models/user_list.py +equinix_metal_t0mk/models/user_lite.py +equinix_metal_t0mk/models/user_update_input.py +equinix_metal_t0mk/models/userdata.py +equinix_metal_t0mk/models/verify_email.py +equinix_metal_t0mk/models/virtual_circuit.py +equinix_metal_t0mk/models/virtual_circuit_create_input.py +equinix_metal_t0mk/models/virtual_circuit_list.py +equinix_metal_t0mk/models/virtual_circuit_update_input.py +equinix_metal_t0mk/models/virtual_network.py +equinix_metal_t0mk/models/virtual_network_create_input.py +equinix_metal_t0mk/models/virtual_network_list.py +equinix_metal_t0mk/models/vlan_fabric_vc_create_input.py +equinix_metal_t0mk/models/vlan_virtual_circuit.py +equinix_metal_t0mk/models/vlan_virtual_circuit_create_input.py +equinix_metal_t0mk/models/vlan_virtual_circuit_update_input.py +equinix_metal_t0mk/models/vrf.py +equinix_metal_t0mk/models/vrf_create_input.py +equinix_metal_t0mk/models/vrf_fabric_vc_create_input.py +equinix_metal_t0mk/models/vrf_ip_reservation.py +equinix_metal_t0mk/models/vrf_ip_reservation_create_input.py +equinix_metal_t0mk/models/vrf_ip_reservation_list.py +equinix_metal_t0mk/models/vrf_list.py +equinix_metal_t0mk/models/vrf_metal_gateway.py +equinix_metal_t0mk/models/vrf_metal_gateway_create_input.py +equinix_metal_t0mk/models/vrf_route.py +equinix_metal_t0mk/models/vrf_route_create_input.py +equinix_metal_t0mk/models/vrf_route_list.py +equinix_metal_t0mk/models/vrf_route_update_input.py +equinix_metal_t0mk/models/vrf_update_input.py +equinix_metal_t0mk/models/vrf_virtual_circuit.py +equinix_metal_t0mk/models/vrf_virtual_circuit_create_input.py +equinix_metal_t0mk/models/vrf_virtual_circuit_update_input.py +equinix_metal_t0mk/py.typed +equinix_metal_t0mk/rest.py git_push.sh pyproject.toml requirements.txt diff --git a/equinix_metal/.travis.yml b/equinix_metal/.travis.yml index 44124d18..22a87d8a 100644 --- a/equinix_metal/.travis.yml +++ b/equinix_metal/.travis.yml @@ -14,4 +14,4 @@ install: - "pip install -r requirements.txt" - "pip install -r test-requirements.txt" # command to run tests -script: pytest --cov=equinix_metal +script: pytest --cov=equinix_metal_t0mk diff --git a/equinix_metal/README.md b/equinix_metal/README.md index 78c32f7b..25d4de82 100644 --- a/equinix_metal/README.md +++ b/equinix_metal/README.md @@ -1,4 +1,4 @@ -# equinix-metal +# equinix-metal-t0mk # Introduction Equinix Metal provides a RESTful HTTP API which can be reached at . This document describes the API and how to use it. @@ -104,7 +104,7 @@ pip install git+https://github.com/equinix-labs/metal-python.git Then import the package: ```python -import equinix_metal +import equinix_metal_t0mk ``` ### Setuptools @@ -118,7 +118,7 @@ python setup.py install --user Then import the package: ```python -import equinix_metal +import equinix_metal_t0mk ``` ### Tests @@ -132,13 +132,13 @@ Please follow the [installation procedure](#installation--usage) and then run th ```python import time -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -155,10 +155,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.AuthenticationApi(api_client) - auth_token_input = equinix_metal.AuthTokenInput() # AuthTokenInput | API key to create + api_instance = equinix_metal_t0mk.AuthenticationApi(api_client) + auth_token_input = equinix_metal_t0mk.AuthTokenInput() # AuthTokenInput | API key to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: diff --git a/equinix_metal/docs/ActivateHardwareReservationRequest.md b/equinix_metal/docs/ActivateHardwareReservationRequest.md index 63c89e8d..cff2b660 100644 --- a/equinix_metal/docs/ActivateHardwareReservationRequest.md +++ b/equinix_metal/docs/ActivateHardwareReservationRequest.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest +from equinix_metal_t0mk.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Address.md b/equinix_metal/docs/Address.md index 3c67a5c6..32973b51 100644 --- a/equinix_metal/docs/Address.md +++ b/equinix_metal/docs/Address.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.address import Address +from equinix_metal_t0mk.models.address import Address # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Attribute.md b/equinix_metal/docs/Attribute.md index 6c1483db..6aff01af 100644 --- a/equinix_metal/docs/Attribute.md +++ b/equinix_metal/docs/Attribute.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.attribute import Attribute +from equinix_metal_t0mk.models.attribute import Attribute # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/AttributeData.md b/equinix_metal/docs/AttributeData.md index 4cf08db7..fe196f3b 100644 --- a/equinix_metal/docs/AttributeData.md +++ b/equinix_metal/docs/AttributeData.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.attribute_data import AttributeData +from equinix_metal_t0mk.models.attribute_data import AttributeData # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/AuthToken.md b/equinix_metal/docs/AuthToken.md index 89ef527d..8326b20c 100644 --- a/equinix_metal/docs/AuthToken.md +++ b/equinix_metal/docs/AuthToken.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.auth_token import AuthToken +from equinix_metal_t0mk.models.auth_token import AuthToken # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/AuthTokenInput.md b/equinix_metal/docs/AuthTokenInput.md index 257b2154..2496414c 100644 --- a/equinix_metal/docs/AuthTokenInput.md +++ b/equinix_metal/docs/AuthTokenInput.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.auth_token_input import AuthTokenInput +from equinix_metal_t0mk.models.auth_token_input import AuthTokenInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/AuthTokenList.md b/equinix_metal/docs/AuthTokenList.md index 35645697..436c1afb 100644 --- a/equinix_metal/docs/AuthTokenList.md +++ b/equinix_metal/docs/AuthTokenList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.auth_token_list import AuthTokenList +from equinix_metal_t0mk.models.auth_token_list import AuthTokenList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/AuthTokenProject.md b/equinix_metal/docs/AuthTokenProject.md index 2fdd0453..365b0860 100644 --- a/equinix_metal/docs/AuthTokenProject.md +++ b/equinix_metal/docs/AuthTokenProject.md @@ -28,7 +28,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.auth_token_project import AuthTokenProject +from equinix_metal_t0mk.models.auth_token_project import AuthTokenProject # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/AuthTokenUser.md b/equinix_metal/docs/AuthTokenUser.md index 147b6229..bae5f171 100644 --- a/equinix_metal/docs/AuthTokenUser.md +++ b/equinix_metal/docs/AuthTokenUser.md @@ -30,7 +30,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.auth_token_user import AuthTokenUser +from equinix_metal_t0mk.models.auth_token_user import AuthTokenUser # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/AuthenticationApi.md b/equinix_metal/docs/AuthenticationApi.md index 8cfeb790..86cb206d 100644 --- a/equinix_metal/docs/AuthenticationApi.md +++ b/equinix_metal/docs/AuthenticationApi.md @@ -1,4 +1,4 @@ -# equinix_metal.AuthenticationApi +# equinix_metal_t0mk.AuthenticationApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -25,15 +25,15 @@ Creates a API key for the current user. ```python import time import os -import equinix_metal -from equinix_metal.models.auth_token import AuthToken -from equinix_metal.models.auth_token_input import AuthTokenInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.auth_token import AuthToken +from equinix_metal_t0mk.models.auth_token_input import AuthTokenInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -49,10 +49,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.AuthenticationApi(api_client) - auth_token_input = equinix_metal.AuthTokenInput() # AuthTokenInput | API key to create + api_instance = equinix_metal_t0mk.AuthenticationApi(api_client) + auth_token_input = equinix_metal_t0mk.AuthTokenInput() # AuthTokenInput | API key to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -109,15 +109,15 @@ Creates an API key for a project. ```python import time import os -import equinix_metal -from equinix_metal.models.auth_token import AuthToken -from equinix_metal.models.auth_token_input import AuthTokenInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.auth_token import AuthToken +from equinix_metal_t0mk.models.auth_token_input import AuthTokenInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -133,11 +133,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.AuthenticationApi(api_client) + api_instance = equinix_metal_t0mk.AuthenticationApi(api_client) id = 'id_example' # str | Project UUID - auth_token_input = equinix_metal.AuthTokenInput() # AuthTokenInput | API Key to create + auth_token_input = equinix_metal_t0mk.AuthTokenInput() # AuthTokenInput | API Key to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -195,13 +195,13 @@ Deletes the API key. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -217,9 +217,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.AuthenticationApi(api_client) + api_instance = equinix_metal_t0mk.AuthenticationApi(api_client) id = 'id_example' # str | API Key UUID try: @@ -272,13 +272,13 @@ Deletes the current user API key. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -294,9 +294,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.AuthenticationApi(api_client) + api_instance = equinix_metal_t0mk.AuthenticationApi(api_client) id = 'id_example' # str | API Key UUID try: @@ -349,14 +349,14 @@ Returns all API keys for the current user. ```python import time import os -import equinix_metal -from equinix_metal.models.auth_token_list import AuthTokenList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.auth_token_list import AuthTokenList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -372,9 +372,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.AuthenticationApi(api_client) + api_instance = equinix_metal_t0mk.AuthenticationApi(api_client) search = 'search_example' # str | Search by description (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -431,14 +431,14 @@ Returns all API keys for a specific project. ```python import time import os -import equinix_metal -from equinix_metal.models.auth_token_list import AuthTokenList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.auth_token_list import AuthTokenList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -454,9 +454,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.AuthenticationApi(api_client) + api_instance = equinix_metal_t0mk.AuthenticationApi(api_client) id = 'id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) diff --git a/equinix_metal/docs/BGPApi.md b/equinix_metal/docs/BGPApi.md index 01f3f9ab..cd72c300 100644 --- a/equinix_metal/docs/BGPApi.md +++ b/equinix_metal/docs/BGPApi.md @@ -1,4 +1,4 @@ -# equinix_metal.BGPApi +# equinix_metal_t0mk.BGPApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -26,13 +26,13 @@ Deletes the BGP session. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -48,9 +48,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BGPApi(api_client) + api_instance = equinix_metal_t0mk.BGPApi(api_client) id = 'id_example' # str | BGP session UUID try: @@ -104,14 +104,14 @@ Returns a bgp config ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_config import BgpConfig -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_config import BgpConfig +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -127,9 +127,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BGPApi(api_client) + api_instance = equinix_metal_t0mk.BGPApi(api_client) id = 'id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -187,14 +187,14 @@ Returns a BGP session ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_session import BgpSession -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_session import BgpSession +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -210,9 +210,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BGPApi(api_client) + api_instance = equinix_metal_t0mk.BGPApi(api_client) id = 'id_example' # str | BGP session UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -270,14 +270,14 @@ Returns all global bgp ranges for a project ```python import time import os -import equinix_metal -from equinix_metal.models.global_bgp_range_list import GlobalBgpRangeList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.global_bgp_range_list import GlobalBgpRangeList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -293,9 +293,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BGPApi(api_client) + api_instance = equinix_metal_t0mk.BGPApi(api_client) id = 'id_example' # str | Project UUID try: @@ -351,14 +351,14 @@ Provides a listing of available BGP sessions for the project. ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_session_list import BgpSessionList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_session_list import BgpSessionList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -374,9 +374,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BGPApi(api_client) + api_instance = equinix_metal_t0mk.BGPApi(api_client) id = 'id_example' # str | Project UUID try: @@ -431,14 +431,14 @@ Requests to enable bgp configuration for a project. ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_config_request_input import BgpConfigRequestInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_config_request_input import BgpConfigRequestInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -454,11 +454,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BGPApi(api_client) + api_instance = equinix_metal_t0mk.BGPApi(api_client) id = 'id_example' # str | Project UUID - bgp_config_request_input = equinix_metal.BgpConfigRequestInput() # BgpConfigRequestInput | BGP config Request to create + bgp_config_request_input = equinix_metal_t0mk.BgpConfigRequestInput() # BgpConfigRequestInput | BGP config Request to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -515,13 +515,13 @@ Updates the BGP session by either enabling or disabling the default route functi ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -537,9 +537,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BGPApi(api_client) + api_instance = equinix_metal_t0mk.BGPApi(api_client) id = 'id_example' # str | BGP session UUID body = True # bool | Default route diff --git a/equinix_metal/docs/BGPSessionInput.md b/equinix_metal/docs/BGPSessionInput.md index 8b977d39..22f59a8b 100644 --- a/equinix_metal/docs/BGPSessionInput.md +++ b/equinix_metal/docs/BGPSessionInput.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_session_input import BGPSessionInput +from equinix_metal_t0mk.models.bgp_session_input import BGPSessionInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Batch.md b/equinix_metal/docs/Batch.md index 53bda501..f93e51ee 100644 --- a/equinix_metal/docs/Batch.md +++ b/equinix_metal/docs/Batch.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.batch import Batch +from equinix_metal_t0mk.models.batch import Batch # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BatchesApi.md b/equinix_metal/docs/BatchesApi.md index 5c30dbba..4eff6b88 100644 --- a/equinix_metal/docs/BatchesApi.md +++ b/equinix_metal/docs/BatchesApi.md @@ -1,4 +1,4 @@ -# equinix_metal.BatchesApi +# equinix_metal_t0mk.BatchesApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -23,15 +23,15 @@ Creates new devices in batch and provisions them in our datacenter. ```python import time import os -import equinix_metal -from equinix_metal.models.batches_list import BatchesList -from equinix_metal.models.instances_batch_create_input import InstancesBatchCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.batches_list import BatchesList +from equinix_metal_t0mk.models.instances_batch_create_input import InstancesBatchCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -47,11 +47,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BatchesApi(api_client) + api_instance = equinix_metal_t0mk.BatchesApi(api_client) id = 'id_example' # str | Project UUID - instances_batch_create_input = equinix_metal.InstancesBatchCreateInput() # InstancesBatchCreateInput | Batches to create + instances_batch_create_input = equinix_metal_t0mk.InstancesBatchCreateInput() # InstancesBatchCreateInput | Batches to create try: # Create a devices batch @@ -108,13 +108,13 @@ Deletes the Batch. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -130,9 +130,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BatchesApi(api_client) + api_instance = equinix_metal_t0mk.BatchesApi(api_client) id = 'id_example' # str | Batch UUID remove_associated_instances = False # bool | Delete all instances created from this batch (optional) (default to False) @@ -187,14 +187,14 @@ Returns a Batch ```python import time import os -import equinix_metal -from equinix_metal.models.batch import Batch -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.batch import Batch +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -210,9 +210,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BatchesApi(api_client) + api_instance = equinix_metal_t0mk.BatchesApi(api_client) id = 'id_example' # str | Batch UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -269,14 +269,14 @@ Returns all batches for the given project ```python import time import os -import equinix_metal -from equinix_metal.models.batches_list import BatchesList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.batches_list import BatchesList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -292,9 +292,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.BatchesApi(api_client) + api_instance = equinix_metal_t0mk.BatchesApi(api_client) id = 'id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) diff --git a/equinix_metal/docs/BatchesList.md b/equinix_metal/docs/BatchesList.md index 1ece9cc9..9da29db2 100644 --- a/equinix_metal/docs/BatchesList.md +++ b/equinix_metal/docs/BatchesList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.batches_list import BatchesList +from equinix_metal_t0mk.models.batches_list import BatchesList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BgpConfig.md b/equinix_metal/docs/BgpConfig.md index 2c23a135..ae92b8e3 100644 --- a/equinix_metal/docs/BgpConfig.md +++ b/equinix_metal/docs/BgpConfig.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_config import BgpConfig +from equinix_metal_t0mk.models.bgp_config import BgpConfig # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BgpConfigRequestInput.md b/equinix_metal/docs/BgpConfigRequestInput.md index 16301236..de56db2f 100644 --- a/equinix_metal/docs/BgpConfigRequestInput.md +++ b/equinix_metal/docs/BgpConfigRequestInput.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_config_request_input import BgpConfigRequestInput +from equinix_metal_t0mk.models.bgp_config_request_input import BgpConfigRequestInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BgpDynamicNeighbor.md b/equinix_metal/docs/BgpDynamicNeighbor.md index 1c418919..77ab3df0 100644 --- a/equinix_metal/docs/BgpDynamicNeighbor.md +++ b/equinix_metal/docs/BgpDynamicNeighbor.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_dynamic_neighbor import BgpDynamicNeighbor +from equinix_metal_t0mk.models.bgp_dynamic_neighbor import BgpDynamicNeighbor # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BgpDynamicNeighborCreateInput.md b/equinix_metal/docs/BgpDynamicNeighborCreateInput.md index d451c3d0..9da5bcd0 100644 --- a/equinix_metal/docs/BgpDynamicNeighborCreateInput.md +++ b/equinix_metal/docs/BgpDynamicNeighborCreateInput.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BgpDynamicNeighborList.md b/equinix_metal/docs/BgpDynamicNeighborList.md index 382531a5..ce086b1d 100644 --- a/equinix_metal/docs/BgpDynamicNeighborList.md +++ b/equinix_metal/docs/BgpDynamicNeighborList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BgpNeighborData.md b/equinix_metal/docs/BgpNeighborData.md index 8e33166c..447c34bd 100644 --- a/equinix_metal/docs/BgpNeighborData.md +++ b/equinix_metal/docs/BgpNeighborData.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_neighbor_data import BgpNeighborData +from equinix_metal_t0mk.models.bgp_neighbor_data import BgpNeighborData # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BgpRoute.md b/equinix_metal/docs/BgpRoute.md index e08ad749..18df69e5 100644 --- a/equinix_metal/docs/BgpRoute.md +++ b/equinix_metal/docs/BgpRoute.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_route import BgpRoute +from equinix_metal_t0mk.models.bgp_route import BgpRoute # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BgpSession.md b/equinix_metal/docs/BgpSession.md index 0cd57b64..bbd00d6a 100644 --- a/equinix_metal/docs/BgpSession.md +++ b/equinix_metal/docs/BgpSession.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_session import BgpSession +from equinix_metal_t0mk.models.bgp_session import BgpSession # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BgpSessionList.md b/equinix_metal/docs/BgpSessionList.md index 4f835ab4..91298c72 100644 --- a/equinix_metal/docs/BgpSessionList.md +++ b/equinix_metal/docs/BgpSessionList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_session_list import BgpSessionList +from equinix_metal_t0mk.models.bgp_session_list import BgpSessionList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BgpSessionNeighbors.md b/equinix_metal/docs/BgpSessionNeighbors.md index b3ed7a1a..7abd5f3c 100644 --- a/equinix_metal/docs/BgpSessionNeighbors.md +++ b/equinix_metal/docs/BgpSessionNeighbors.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bgp_session_neighbors import BgpSessionNeighbors +from equinix_metal_t0mk.models.bgp_session_neighbors import BgpSessionNeighbors # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/BondPortData.md b/equinix_metal/docs/BondPortData.md index 4730f9d8..3f413b47 100644 --- a/equinix_metal/docs/BondPortData.md +++ b/equinix_metal/docs/BondPortData.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.bond_port_data import BondPortData +from equinix_metal_t0mk.models.bond_port_data import BondPortData # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CapacityApi.md b/equinix_metal/docs/CapacityApi.md index 137a5615..f991463e 100644 --- a/equinix_metal/docs/CapacityApi.md +++ b/equinix_metal/docs/CapacityApi.md @@ -1,4 +1,4 @@ -# equinix_metal.CapacityApi +# equinix_metal_t0mk.CapacityApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -25,15 +25,15 @@ Validates if a deploy can be fulfilled. ```python import time import os -import equinix_metal -from equinix_metal.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList -from equinix_metal.models.capacity_input import CapacityInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList +from equinix_metal_t0mk.models.capacity_input import CapacityInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -49,10 +49,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.CapacityApi(api_client) - capacity_input = equinix_metal.CapacityInput() # CapacityInput | Facility to check capacity in + api_instance = equinix_metal_t0mk.CapacityApi(api_client) + capacity_input = equinix_metal_t0mk.CapacityInput() # CapacityInput | Facility to check capacity in try: # Check capacity @@ -106,15 +106,15 @@ Validates if a deploy can be fulfilled in a metro. ```python import time import os -import equinix_metal -from equinix_metal.models.capacity_check_per_metro_list import CapacityCheckPerMetroList -from equinix_metal.models.capacity_input import CapacityInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_check_per_metro_list import CapacityCheckPerMetroList +from equinix_metal_t0mk.models.capacity_input import CapacityInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -130,10 +130,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.CapacityApi(api_client) - capacity_input = equinix_metal.CapacityInput() # CapacityInput | Metro to check capacity in + api_instance = equinix_metal_t0mk.CapacityApi(api_client) + capacity_input = equinix_metal_t0mk.CapacityInput() # CapacityInput | Metro to check capacity in try: # Check capacity for a metro @@ -187,14 +187,14 @@ Returns a list of facilities and plans with their current capacity. ```python import time import os -import equinix_metal -from equinix_metal.models.capacity_list import CapacityList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_list import CapacityList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -210,9 +210,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.CapacityApi(api_client) + api_instance = equinix_metal_t0mk.CapacityApi(api_client) try: # View capacity @@ -262,14 +262,14 @@ Returns a list of metros and plans with their current capacity. ```python import time import os -import equinix_metal -from equinix_metal.models.capacity_list import CapacityList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_list import CapacityList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -285,9 +285,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.CapacityApi(api_client) + api_instance = equinix_metal_t0mk.CapacityApi(api_client) try: # View capacity for metros @@ -337,14 +337,14 @@ Returns a list of facilities and plans with their current capacity. ```python import time import os -import equinix_metal -from equinix_metal.models.capacity_list import CapacityList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_list import CapacityList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -360,9 +360,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.CapacityApi(api_client) + api_instance = equinix_metal_t0mk.CapacityApi(api_client) id = 'id_example' # str | Organization UUID try: @@ -417,14 +417,14 @@ Returns a list of metros and plans with their current capacity. ```python import time import os -import equinix_metal -from equinix_metal.models.capacity_list import CapacityList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_list import CapacityList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -440,9 +440,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.CapacityApi(api_client) + api_instance = equinix_metal_t0mk.CapacityApi(api_client) id = 'id_example' # str | Organization UUID try: diff --git a/equinix_metal/docs/CapacityCheckPerFacilityInfo.md b/equinix_metal/docs/CapacityCheckPerFacilityInfo.md index 21f73830..95704995 100644 --- a/equinix_metal/docs/CapacityCheckPerFacilityInfo.md +++ b/equinix_metal/docs/CapacityCheckPerFacilityInfo.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.capacity_check_per_facility_info import CapacityCheckPerFacilityInfo +from equinix_metal_t0mk.models.capacity_check_per_facility_info import CapacityCheckPerFacilityInfo # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CapacityCheckPerFacilityList.md b/equinix_metal/docs/CapacityCheckPerFacilityList.md index 7cb4e74e..6cf6cd59 100644 --- a/equinix_metal/docs/CapacityCheckPerFacilityList.md +++ b/equinix_metal/docs/CapacityCheckPerFacilityList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList +from equinix_metal_t0mk.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CapacityCheckPerMetroInfo.md b/equinix_metal/docs/CapacityCheckPerMetroInfo.md index b3975307..5cd0f848 100644 --- a/equinix_metal/docs/CapacityCheckPerMetroInfo.md +++ b/equinix_metal/docs/CapacityCheckPerMetroInfo.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.capacity_check_per_metro_info import CapacityCheckPerMetroInfo +from equinix_metal_t0mk.models.capacity_check_per_metro_info import CapacityCheckPerMetroInfo # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CapacityCheckPerMetroList.md b/equinix_metal/docs/CapacityCheckPerMetroList.md index 077d12ae..4d872cf9 100644 --- a/equinix_metal/docs/CapacityCheckPerMetroList.md +++ b/equinix_metal/docs/CapacityCheckPerMetroList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.capacity_check_per_metro_list import CapacityCheckPerMetroList +from equinix_metal_t0mk.models.capacity_check_per_metro_list import CapacityCheckPerMetroList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CapacityInput.md b/equinix_metal/docs/CapacityInput.md index 7715cc6a..c6d6347f 100644 --- a/equinix_metal/docs/CapacityInput.md +++ b/equinix_metal/docs/CapacityInput.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.capacity_input import CapacityInput +from equinix_metal_t0mk.models.capacity_input import CapacityInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CapacityLevelPerBaremetal.md b/equinix_metal/docs/CapacityLevelPerBaremetal.md index 1db67345..72da63c5 100644 --- a/equinix_metal/docs/CapacityLevelPerBaremetal.md +++ b/equinix_metal/docs/CapacityLevelPerBaremetal.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.capacity_level_per_baremetal import CapacityLevelPerBaremetal +from equinix_metal_t0mk.models.capacity_level_per_baremetal import CapacityLevelPerBaremetal # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CapacityList.md b/equinix_metal/docs/CapacityList.md index c6d14cc8..25d3f570 100644 --- a/equinix_metal/docs/CapacityList.md +++ b/equinix_metal/docs/CapacityList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.capacity_list import CapacityList +from equinix_metal_t0mk.models.capacity_list import CapacityList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Component.md b/equinix_metal/docs/Component.md index 2d615cd8..857acfab 100644 --- a/equinix_metal/docs/Component.md +++ b/equinix_metal/docs/Component.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.component import Component +from equinix_metal_t0mk.models.component import Component # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/ConsoleLogDetailsApi.md b/equinix_metal/docs/ConsoleLogDetailsApi.md index b1c2f285..f8c8f58e 100644 --- a/equinix_metal/docs/ConsoleLogDetailsApi.md +++ b/equinix_metal/docs/ConsoleLogDetailsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.ConsoleLogDetailsApi +# equinix_metal_t0mk.ConsoleLogDetailsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -20,13 +20,13 @@ Capture a screenshot from the device, if supported, via the BMC. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -42,9 +42,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ConsoleLogDetailsApi(api_client) + api_instance = equinix_metal_t0mk.ConsoleLogDetailsApi(api_client) id = 'id_example' # str | Device UUID try: diff --git a/equinix_metal/docs/Coordinates.md b/equinix_metal/docs/Coordinates.md index 2e5110cf..a2f83dfb 100644 --- a/equinix_metal/docs/Coordinates.md +++ b/equinix_metal/docs/Coordinates.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.coordinates import Coordinates +from equinix_metal_t0mk.models.coordinates import Coordinates # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CreateDeviceRequest.md b/equinix_metal/docs/CreateDeviceRequest.md index 2898be94..163885ff 100644 --- a/equinix_metal/docs/CreateDeviceRequest.md +++ b/equinix_metal/docs/CreateDeviceRequest.md @@ -36,7 +36,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.create_device_request import CreateDeviceRequest +from equinix_metal_t0mk.models.create_device_request import CreateDeviceRequest # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CreateEmailInput.md b/equinix_metal/docs/CreateEmailInput.md index 721e55c4..45129252 100644 --- a/equinix_metal/docs/CreateEmailInput.md +++ b/equinix_metal/docs/CreateEmailInput.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.create_email_input import CreateEmailInput +from equinix_metal_t0mk.models.create_email_input import CreateEmailInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CreateMetalGatewayRequest.md b/equinix_metal/docs/CreateMetalGatewayRequest.md index 9f384ff9..92f98a90 100644 --- a/equinix_metal/docs/CreateMetalGatewayRequest.md +++ b/equinix_metal/docs/CreateMetalGatewayRequest.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.create_metal_gateway_request import CreateMetalGatewayRequest +from equinix_metal_t0mk.models.create_metal_gateway_request import CreateMetalGatewayRequest # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CreateOrganizationInterconnectionRequest.md b/equinix_metal/docs/CreateOrganizationInterconnectionRequest.md index b7f2e4fb..466358d8 100644 --- a/equinix_metal/docs/CreateOrganizationInterconnectionRequest.md +++ b/equinix_metal/docs/CreateOrganizationInterconnectionRequest.md @@ -24,7 +24,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest +from equinix_metal_t0mk.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CreateSelfServiceReservationRequest.md b/equinix_metal/docs/CreateSelfServiceReservationRequest.md index 9af081a8..0b06d983 100644 --- a/equinix_metal/docs/CreateSelfServiceReservationRequest.md +++ b/equinix_metal/docs/CreateSelfServiceReservationRequest.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest +from equinix_metal_t0mk.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/CreateSelfServiceReservationRequestPeriod.md b/equinix_metal/docs/CreateSelfServiceReservationRequestPeriod.md index a01668ca..4d150682 100644 --- a/equinix_metal/docs/CreateSelfServiceReservationRequestPeriod.md +++ b/equinix_metal/docs/CreateSelfServiceReservationRequestPeriod.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod +from equinix_metal_t0mk.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DedicatedPortCreateInput.md b/equinix_metal/docs/DedicatedPortCreateInput.md index 3662053c..f7931b0f 100644 --- a/equinix_metal/docs/DedicatedPortCreateInput.md +++ b/equinix_metal/docs/DedicatedPortCreateInput.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.dedicated_port_create_input import DedicatedPortCreateInput +from equinix_metal_t0mk.models.dedicated_port_create_input import DedicatedPortCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Device.md b/equinix_metal/docs/Device.md index 2d50ceab..01e39b4b 100644 --- a/equinix_metal/docs/Device.md +++ b/equinix_metal/docs/Device.md @@ -51,7 +51,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device import Device +from equinix_metal_t0mk.models.device import Device # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceActionInput.md b/equinix_metal/docs/DeviceActionInput.md index 41615744..81333085 100644 --- a/equinix_metal/docs/DeviceActionInput.md +++ b/equinix_metal/docs/DeviceActionInput.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_action_input import DeviceActionInput +from equinix_metal_t0mk.models.device_action_input import DeviceActionInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceActionsInner.md b/equinix_metal/docs/DeviceActionsInner.md index fbb7786b..6188906f 100644 --- a/equinix_metal/docs/DeviceActionsInner.md +++ b/equinix_metal/docs/DeviceActionsInner.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_actions_inner import DeviceActionsInner +from equinix_metal_t0mk.models.device_actions_inner import DeviceActionsInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceCreateInFacilityInput.md b/equinix_metal/docs/DeviceCreateInFacilityInput.md index 15f567e3..86e0d85e 100644 --- a/equinix_metal/docs/DeviceCreateInFacilityInput.md +++ b/equinix_metal/docs/DeviceCreateInFacilityInput.md @@ -35,7 +35,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_create_in_facility_input import DeviceCreateInFacilityInput +from equinix_metal_t0mk.models.device_create_in_facility_input import DeviceCreateInFacilityInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceCreateInMetroInput.md b/equinix_metal/docs/DeviceCreateInMetroInput.md index 85f0500f..684f0531 100644 --- a/equinix_metal/docs/DeviceCreateInMetroInput.md +++ b/equinix_metal/docs/DeviceCreateInMetroInput.md @@ -35,7 +35,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_create_in_metro_input import DeviceCreateInMetroInput +from equinix_metal_t0mk.models.device_create_in_metro_input import DeviceCreateInMetroInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceCreateInput.md b/equinix_metal/docs/DeviceCreateInput.md index 3fc27999..f75d9c2b 100644 --- a/equinix_metal/docs/DeviceCreateInput.md +++ b/equinix_metal/docs/DeviceCreateInput.md @@ -34,7 +34,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_create_input import DeviceCreateInput +from equinix_metal_t0mk.models.device_create_input import DeviceCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceCreatedBy.md b/equinix_metal/docs/DeviceCreatedBy.md index a6308e2d..7ff2c3cd 100644 --- a/equinix_metal/docs/DeviceCreatedBy.md +++ b/equinix_metal/docs/DeviceCreatedBy.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_created_by import DeviceCreatedBy +from equinix_metal_t0mk.models.device_created_by import DeviceCreatedBy # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceHealthRollup.md b/equinix_metal/docs/DeviceHealthRollup.md index 1916e2c2..4e19c74e 100644 --- a/equinix_metal/docs/DeviceHealthRollup.md +++ b/equinix_metal/docs/DeviceHealthRollup.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_health_rollup import DeviceHealthRollup +from equinix_metal_t0mk.models.device_health_rollup import DeviceHealthRollup # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceList.md b/equinix_metal/docs/DeviceList.md index 300c0691..6c40bf64 100644 --- a/equinix_metal/docs/DeviceList.md +++ b/equinix_metal/docs/DeviceList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_list import DeviceList +from equinix_metal_t0mk.models.device_list import DeviceList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceMetro.md b/equinix_metal/docs/DeviceMetro.md index 51920206..394e582f 100644 --- a/equinix_metal/docs/DeviceMetro.md +++ b/equinix_metal/docs/DeviceMetro.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_metro import DeviceMetro +from equinix_metal_t0mk.models.device_metro import DeviceMetro # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceProjectLite.md b/equinix_metal/docs/DeviceProjectLite.md index 154667da..302b0abc 100644 --- a/equinix_metal/docs/DeviceProjectLite.md +++ b/equinix_metal/docs/DeviceProjectLite.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_project_lite import DeviceProjectLite +from equinix_metal_t0mk.models.device_project_lite import DeviceProjectLite # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceUpdateInput.md b/equinix_metal/docs/DeviceUpdateInput.md index f2cd28f2..c40b4f26 100644 --- a/equinix_metal/docs/DeviceUpdateInput.md +++ b/equinix_metal/docs/DeviceUpdateInput.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_update_input import DeviceUpdateInput +from equinix_metal_t0mk.models.device_update_input import DeviceUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceUsage.md b/equinix_metal/docs/DeviceUsage.md index 35f280b0..406988c2 100644 --- a/equinix_metal/docs/DeviceUsage.md +++ b/equinix_metal/docs/DeviceUsage.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_usage import DeviceUsage +from equinix_metal_t0mk.models.device_usage import DeviceUsage # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DeviceUsageList.md b/equinix_metal/docs/DeviceUsageList.md index 41040108..616425b3 100644 --- a/equinix_metal/docs/DeviceUsageList.md +++ b/equinix_metal/docs/DeviceUsageList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.device_usage_list import DeviceUsageList +from equinix_metal_t0mk.models.device_usage_list import DeviceUsageList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/DevicesApi.md b/equinix_metal/docs/DevicesApi.md index e7dd4157..23cc9597 100644 --- a/equinix_metal/docs/DevicesApi.md +++ b/equinix_metal/docs/DevicesApi.md @@ -1,4 +1,4 @@ -# equinix_metal.DevicesApi +# equinix_metal_t0mk.DevicesApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -41,15 +41,15 @@ Creates a BGP session. ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_session_input import BGPSessionInput -from equinix_metal.models.bgp_session import BgpSession -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_session_input import BGPSessionInput +from equinix_metal_t0mk.models.bgp_session import BgpSession +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -65,11 +65,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID - bgp_session_input = equinix_metal.BGPSessionInput() # BGPSessionInput | BGP session to create + bgp_session_input = equinix_metal_t0mk.BGPSessionInput() # BGPSessionInput | BGP session to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -127,15 +127,15 @@ Creates a new device and provisions it in the specified location. Device type-s ```python import time import os -import equinix_metal -from equinix_metal.models.create_device_request import CreateDeviceRequest -from equinix_metal.models.device import Device -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_device_request import CreateDeviceRequest +from equinix_metal_t0mk.models.device import Device +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -151,11 +151,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Project UUID - create_device_request = equinix_metal.CreateDeviceRequest() # CreateDeviceRequest | Device to create + create_device_request = equinix_metal_t0mk.CreateDeviceRequest() # CreateDeviceRequest | Device to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -216,15 +216,15 @@ Creates an ip assignment for a device. ```python import time import os -import equinix_metal -from equinix_metal.models.ip_assignment import IPAssignment -from equinix_metal.models.ip_assignment_input import IPAssignmentInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_assignment import IPAssignment +from equinix_metal_t0mk.models.ip_assignment_input import IPAssignmentInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -240,11 +240,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID - ip_assignment_input = equinix_metal.IPAssignmentInput() # IPAssignmentInput | IPAssignment to create + ip_assignment_input = equinix_metal_t0mk.IPAssignmentInput() # IPAssignmentInput | IPAssignment to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -304,13 +304,13 @@ Deletes a device and deprovisions it in our datacenter. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -326,9 +326,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID force_delete = True # bool | Force the deletion of the device, by detaching any storage volume still active. (optional) @@ -385,14 +385,14 @@ Provides a listing of available BGP sessions for the device. ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_session_list import BgpSessionList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_session_list import BgpSessionList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -408,9 +408,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -467,14 +467,14 @@ Type-specific options (such as facility for baremetal devices) will be included ```python import time import os -import equinix_metal -from equinix_metal.models.device import Device -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device import Device +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -490,9 +490,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -552,13 +552,13 @@ Provides the custom metadata stored for this instance in json format ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -574,9 +574,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Instance UUID try: @@ -630,14 +630,14 @@ Retrieve device metadata ```python import time import os -import equinix_metal -from equinix_metal.models.metadata import Metadata -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metadata import Metadata +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -653,9 +653,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID try: @@ -711,14 +711,14 @@ Retrieve device userdata ```python import time import os -import equinix_metal -from equinix_metal.models.userdata import Userdata -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.userdata import Userdata +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -734,9 +734,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID try: @@ -792,13 +792,13 @@ Retrieve an instance bandwidth for a given period of time. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -814,9 +814,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID var_from = 'var_from_example' # str | Timestamp from range until = 'until_example' # str | Timestamp to range @@ -873,13 +873,13 @@ Provides the custom metadata stored for this IP Assignment in json format ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -895,9 +895,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) instance_id = 'instance_id_example' # str | Instance UUID id = 'id_example' # str | Ip Assignment UUID @@ -953,14 +953,14 @@ Returns all ip assignments for a device. ```python import time import os -import equinix_metal -from equinix_metal.models.ip_assignment_list import IPAssignmentList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_assignment_list import IPAssignmentList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -976,9 +976,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -1037,14 +1037,14 @@ Provides a collection of devices for a given organization. ```python import time import os -import equinix_metal -from equinix_metal.models.device_list import DeviceList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_list import DeviceList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1060,9 +1060,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Organization UUID search = 'search_example' # str | Search by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. (optional) categories = ['categories_example'] # List[str] | Filter by plan category (optional) @@ -1149,14 +1149,14 @@ Provides a collection of devices for a given project. ```python import time import os -import equinix_metal -from equinix_metal.models.device_list import DeviceList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_list import DeviceList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1172,9 +1172,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Project UUID search = 'search_example' # str | Search by hostname, description, short_id, reservation short_id, tags, plan name, plan slug, facility code, facility name, operating system name, operating system slug, IP addresses. (optional) categories = ['categories_example'] # List[str] | Filter by plan category (optional) @@ -1263,14 +1263,14 @@ Returns traffic for a specific device. ```python import time import os -import equinix_metal -from equinix_metal.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1286,14 +1286,14 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID direction = 'direction_example' # str | Traffic direction interval = 'interval_example' # str | Traffic interval (optional) bucket = 'bucket_example' # str | Traffic bucket (optional) - timeframe = equinix_metal.FindTrafficTimeframeParameter() # FindTrafficTimeframeParameter | (optional) + timeframe = equinix_metal_t0mk.FindTrafficTimeframeParameter() # FindTrafficTimeframeParameter | (optional) try: # Retrieve device traffic @@ -1350,14 +1350,14 @@ Provides a summary of the BGP neighbor data associated to the BGP sessions for t ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_session_neighbors import BgpSessionNeighbors -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_session_neighbors import BgpSessionNeighbors +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1373,9 +1373,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -1433,14 +1433,14 @@ Returns the firmware set associated with the device. If a custom firmware set is ```python import time import os -import equinix_metal -from equinix_metal.models.firmware_set_response import FirmwareSetResponse -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.firmware_set_response import FirmwareSetResponse +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1456,9 +1456,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID try: @@ -1514,14 +1514,14 @@ Returns the health rollup status of the device. ```python import time import os -import equinix_metal -from equinix_metal.models.device_health_rollup import DeviceHealthRollup -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_health_rollup import DeviceHealthRollup +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1537,9 +1537,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID try: @@ -1595,14 +1595,14 @@ Performs an action for the given device. Possible actions include: power_on, po ```python import time import os -import equinix_metal -from equinix_metal.models.device_action_input import DeviceActionInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_action_input import DeviceActionInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1618,11 +1618,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID - device_action_input = equinix_metal.DeviceActionInput() # DeviceActionInput | Action to perform + device_action_input = equinix_metal_t0mk.DeviceActionInput() # DeviceActionInput | Action to perform try: # Perform an action @@ -1676,15 +1676,15 @@ Updates the device. ```python import time import os -import equinix_metal -from equinix_metal.models.device import Device -from equinix_metal.models.device_update_input import DeviceUpdateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device import Device +from equinix_metal_t0mk.models.device_update_input import DeviceUpdateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1700,11 +1700,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.DevicesApi(api_client) + api_instance = equinix_metal_t0mk.DevicesApi(api_client) id = 'id_example' # str | Device UUID - device_update_input = equinix_metal.DeviceUpdateInput() # DeviceUpdateInput | Device to update + device_update_input = equinix_metal_t0mk.DeviceUpdateInput() # DeviceUpdateInput | Device to update include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/Disk.md b/equinix_metal/docs/Disk.md index e25dc91a..ef9f7534 100644 --- a/equinix_metal/docs/Disk.md +++ b/equinix_metal/docs/Disk.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.disk import Disk +from equinix_metal_t0mk.models.disk import Disk # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Email.md b/equinix_metal/docs/Email.md index 5d938c2e..6d6800dc 100644 --- a/equinix_metal/docs/Email.md +++ b/equinix_metal/docs/Email.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.email import Email +from equinix_metal_t0mk.models.email import Email # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/EmailInput.md b/equinix_metal/docs/EmailInput.md index 7e9ebc20..be788f27 100644 --- a/equinix_metal/docs/EmailInput.md +++ b/equinix_metal/docs/EmailInput.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.email_input import EmailInput +from equinix_metal_t0mk.models.email_input import EmailInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/EmailsApi.md b/equinix_metal/docs/EmailsApi.md index c6ce9481..2eabe222 100644 --- a/equinix_metal/docs/EmailsApi.md +++ b/equinix_metal/docs/EmailsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.EmailsApi +# equinix_metal_t0mk.EmailsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -23,15 +23,15 @@ Add a new email address to the current user. ```python import time import os -import equinix_metal -from equinix_metal.models.create_email_input import CreateEmailInput -from equinix_metal.models.email import Email -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_email_input import CreateEmailInput +from equinix_metal_t0mk.models.email import Email +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -47,10 +47,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EmailsApi(api_client) - create_email_input = equinix_metal.CreateEmailInput() # CreateEmailInput | Email to create + api_instance = equinix_metal_t0mk.EmailsApi(api_client) + create_email_input = equinix_metal_t0mk.CreateEmailInput() # CreateEmailInput | Email to create try: # Create an email @@ -104,13 +104,13 @@ Deletes the email. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -126,9 +126,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EmailsApi(api_client) + api_instance = equinix_metal_t0mk.EmailsApi(api_client) id = 'id_example' # str | Email UUID try: @@ -182,14 +182,14 @@ Provides one of the user’s emails. ```python import time import os -import equinix_metal -from equinix_metal.models.email import Email -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.email import Email +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -205,9 +205,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EmailsApi(api_client) + api_instance = equinix_metal_t0mk.EmailsApi(api_client) id = 'id_example' # str | Email UUID try: @@ -263,15 +263,15 @@ Updates the email. ```python import time import os -import equinix_metal -from equinix_metal.models.email import Email -from equinix_metal.models.update_email_input import UpdateEmailInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.email import Email +from equinix_metal_t0mk.models.update_email_input import UpdateEmailInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -287,11 +287,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EmailsApi(api_client) + api_instance = equinix_metal_t0mk.EmailsApi(api_client) id = 'id_example' # str | Email UUID - update_email_input = equinix_metal.UpdateEmailInput() # UpdateEmailInput | email to update + update_email_input = equinix_metal_t0mk.UpdateEmailInput() # UpdateEmailInput | email to update try: # Update the email diff --git a/equinix_metal/docs/Entitlement.md b/equinix_metal/docs/Entitlement.md index 421a4506..9689eb8e 100644 --- a/equinix_metal/docs/Entitlement.md +++ b/equinix_metal/docs/Entitlement.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.entitlement import Entitlement +from equinix_metal_t0mk.models.entitlement import Entitlement # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Error.md b/equinix_metal/docs/Error.md index 787e339a..8993c718 100644 --- a/equinix_metal/docs/Error.md +++ b/equinix_metal/docs/Error.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.error import Error +from equinix_metal_t0mk.models.error import Error # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Event.md b/equinix_metal/docs/Event.md index b588a096..3ff39a9e 100644 --- a/equinix_metal/docs/Event.md +++ b/equinix_metal/docs/Event.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.event import Event +from equinix_metal_t0mk.models.event import Event # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/EventList.md b/equinix_metal/docs/EventList.md index c8b19129..c69573aa 100644 --- a/equinix_metal/docs/EventList.md +++ b/equinix_metal/docs/EventList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.event_list import EventList +from equinix_metal_t0mk.models.event_list import EventList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/EventsApi.md b/equinix_metal/docs/EventsApi.md index f51d0a34..39ba0fd3 100644 --- a/equinix_metal/docs/EventsApi.md +++ b/equinix_metal/docs/EventsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.EventsApi +# equinix_metal_t0mk.EventsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -33,14 +33,14 @@ Returns a list of events pertaining to a specific device ```python import time import os -import equinix_metal -from equinix_metal.models.event_list import EventList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event_list import EventList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -56,9 +56,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EventsApi(api_client) + api_instance = equinix_metal_t0mk.EventsApi(api_client) id = 'id_example' # str | Device UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -127,14 +127,14 @@ Returns a single event if the user has access ```python import time import os -import equinix_metal -from equinix_metal.models.event import Event -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event import Event +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -150,9 +150,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EventsApi(api_client) + api_instance = equinix_metal_t0mk.EventsApi(api_client) id = 'id_example' # str | Event UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -212,14 +212,14 @@ Returns a list of the current user’s events ```python import time import os -import equinix_metal -from equinix_metal.models.event_list import EventList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event_list import EventList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -235,9 +235,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EventsApi(api_client) + api_instance = equinix_metal_t0mk.EventsApi(api_client) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) page = 1 # int | Page to return (optional) (default to 1) @@ -302,14 +302,14 @@ Returns a list of the interconnection events ```python import time import os -import equinix_metal -from equinix_metal.models.event_list import EventList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event_list import EventList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -325,9 +325,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EventsApi(api_client) + api_instance = equinix_metal_t0mk.EventsApi(api_client) connection_id = 'connection_id_example' # str | Interconnection UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -396,14 +396,14 @@ Returns a list of the interconnection port events ```python import time import os -import equinix_metal -from equinix_metal.models.event import Event -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event import Event +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -419,9 +419,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EventsApi(api_client) + api_instance = equinix_metal_t0mk.EventsApi(api_client) connection_id = 'connection_id_example' # str | Interconnection UUID id = 'id_example' # str | Interconnection Port UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -487,14 +487,14 @@ Returns a list of events for a single organization ```python import time import os -import equinix_metal -from equinix_metal.models.event_list import EventList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event_list import EventList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -510,9 +510,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EventsApi(api_client) + api_instance = equinix_metal_t0mk.EventsApi(api_client) id = 'id_example' # str | Organization UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -581,14 +581,14 @@ Returns a list of events for a single project ```python import time import os -import equinix_metal -from equinix_metal.models.event_list import EventList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event_list import EventList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -604,9 +604,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EventsApi(api_client) + api_instance = equinix_metal_t0mk.EventsApi(api_client) id = 'id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -675,14 +675,14 @@ Returns a list of the virtual circuit events ```python import time import os -import equinix_metal -from equinix_metal.models.event import Event -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event import Event +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -698,9 +698,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EventsApi(api_client) + api_instance = equinix_metal_t0mk.EventsApi(api_client) id = 'id_example' # str | Virtual Circuit UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -764,14 +764,14 @@ Returns a list of the VRF route events ```python import time import os -import equinix_metal -from equinix_metal.models.event import Event -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event import Event +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -787,9 +787,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.EventsApi(api_client) + api_instance = equinix_metal_t0mk.EventsApi(api_client) id = 'id_example' # str | VRF Route UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/FabricServiceToken.md b/equinix_metal/docs/FabricServiceToken.md index d89cf3ed..70f22fef 100644 --- a/equinix_metal/docs/FabricServiceToken.md +++ b/equinix_metal/docs/FabricServiceToken.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.fabric_service_token import FabricServiceToken +from equinix_metal_t0mk.models.fabric_service_token import FabricServiceToken # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FacilitiesApi.md b/equinix_metal/docs/FacilitiesApi.md index cf3b439f..15d20a14 100644 --- a/equinix_metal/docs/FacilitiesApi.md +++ b/equinix_metal/docs/FacilitiesApi.md @@ -1,4 +1,4 @@ -# equinix_metal.FacilitiesApi +# equinix_metal_t0mk.FacilitiesApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -22,14 +22,14 @@ Provides a listing of available datacenters where you can provision Packet devic ```python import time import os -import equinix_metal -from equinix_metal.models.facility_list import FacilityList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.facility_list import FacilityList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -45,9 +45,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.FacilitiesApi(api_client) + api_instance = equinix_metal_t0mk.FacilitiesApi(api_client) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ["address"] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) (default to ["address"]) @@ -103,14 +103,14 @@ Returns a listing of available datacenters for the given organization ```python import time import os -import equinix_metal -from equinix_metal.models.facility_list import FacilityList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.facility_list import FacilityList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -126,9 +126,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.FacilitiesApi(api_client) + api_instance = equinix_metal_t0mk.FacilitiesApi(api_client) id = 'id_example' # str | Organization UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -188,14 +188,14 @@ Returns a listing of available datacenters for the given project ```python import time import os -import equinix_metal -from equinix_metal.models.facility_list import FacilityList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.facility_list import FacilityList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -211,9 +211,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.FacilitiesApi(api_client) + api_instance = equinix_metal_t0mk.FacilitiesApi(api_client) id = 'id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/Facility.md b/equinix_metal/docs/Facility.md index ee88f5a3..e373963e 100644 --- a/equinix_metal/docs/Facility.md +++ b/equinix_metal/docs/Facility.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.facility import Facility +from equinix_metal_t0mk.models.facility import Facility # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FacilityInput.md b/equinix_metal/docs/FacilityInput.md index 05e389f5..46611899 100644 --- a/equinix_metal/docs/FacilityInput.md +++ b/equinix_metal/docs/FacilityInput.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.facility_input import FacilityInput +from equinix_metal_t0mk.models.facility_input import FacilityInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FacilityInputFacility.md b/equinix_metal/docs/FacilityInputFacility.md index 9a6b14b1..b10db211 100644 --- a/equinix_metal/docs/FacilityInputFacility.md +++ b/equinix_metal/docs/FacilityInputFacility.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.facility_input_facility import FacilityInputFacility +from equinix_metal_t0mk.models.facility_input_facility import FacilityInputFacility # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FacilityList.md b/equinix_metal/docs/FacilityList.md index 3d40305c..0d9681f7 100644 --- a/equinix_metal/docs/FacilityList.md +++ b/equinix_metal/docs/FacilityList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.facility_list import FacilityList +from equinix_metal_t0mk.models.facility_list import FacilityList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Filesystem.md b/equinix_metal/docs/Filesystem.md index ffde3bdf..be0825f7 100644 --- a/equinix_metal/docs/Filesystem.md +++ b/equinix_metal/docs/Filesystem.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.filesystem import Filesystem +from equinix_metal_t0mk.models.filesystem import Filesystem # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FindIPAddressById200Response.md b/equinix_metal/docs/FindIPAddressById200Response.md index 5e9dcb3b..48f14683 100644 --- a/equinix_metal/docs/FindIPAddressById200Response.md +++ b/equinix_metal/docs/FindIPAddressById200Response.md @@ -42,7 +42,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.find_ip_address_by_id200_response import FindIPAddressById200Response +from equinix_metal_t0mk.models.find_ip_address_by_id200_response import FindIPAddressById200Response # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FindMetalGatewayById200Response.md b/equinix_metal/docs/FindMetalGatewayById200Response.md index e40e5b5e..e9bd3a57 100644 --- a/equinix_metal/docs/FindMetalGatewayById200Response.md +++ b/equinix_metal/docs/FindMetalGatewayById200Response.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response +from equinix_metal_t0mk.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FindTrafficTimeframeParameter.md b/equinix_metal/docs/FindTrafficTimeframeParameter.md index d8fc744e..f198e23b 100644 --- a/equinix_metal/docs/FindTrafficTimeframeParameter.md +++ b/equinix_metal/docs/FindTrafficTimeframeParameter.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter +from equinix_metal_t0mk.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FirmwareSet.md b/equinix_metal/docs/FirmwareSet.md index 3cdcfe0f..9e5d6613 100644 --- a/equinix_metal/docs/FirmwareSet.md +++ b/equinix_metal/docs/FirmwareSet.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.firmware_set import FirmwareSet +from equinix_metal_t0mk.models.firmware_set import FirmwareSet # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FirmwareSetListResponse.md b/equinix_metal/docs/FirmwareSetListResponse.md index 8e1c8ceb..5d55376c 100644 --- a/equinix_metal/docs/FirmwareSetListResponse.md +++ b/equinix_metal/docs/FirmwareSetListResponse.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.firmware_set_list_response import FirmwareSetListResponse +from equinix_metal_t0mk.models.firmware_set_list_response import FirmwareSetListResponse # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FirmwareSetResponse.md b/equinix_metal/docs/FirmwareSetResponse.md index 9a9ed08a..492a1a24 100644 --- a/equinix_metal/docs/FirmwareSetResponse.md +++ b/equinix_metal/docs/FirmwareSetResponse.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.firmware_set_response import FirmwareSetResponse +from equinix_metal_t0mk.models.firmware_set_response import FirmwareSetResponse # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/FirmwareSetsApi.md b/equinix_metal/docs/FirmwareSetsApi.md index cb522820..c20889db 100644 --- a/equinix_metal/docs/FirmwareSetsApi.md +++ b/equinix_metal/docs/FirmwareSetsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.FirmwareSetsApi +# equinix_metal_t0mk.FirmwareSetsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -21,14 +21,14 @@ Returns all firmware sets associated with the organization. ```python import time import os -import equinix_metal -from equinix_metal.models.firmware_set_list_response import FirmwareSetListResponse -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.firmware_set_list_response import FirmwareSetListResponse +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -44,9 +44,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.FirmwareSetsApi(api_client) + api_instance = equinix_metal_t0mk.FirmwareSetsApi(api_client) id = 'id_example' # str | Organization UUID page = 56 # int | page number to return (optional) per_page = 56 # int | items returned per page. (optional) @@ -106,14 +106,14 @@ Returns all firmware sets associated with the project or organization. ```python import time import os -import equinix_metal -from equinix_metal.models.firmware_set_list_response import FirmwareSetListResponse -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.firmware_set_list_response import FirmwareSetListResponse +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -129,9 +129,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.FirmwareSetsApi(api_client) + api_instance = equinix_metal_t0mk.FirmwareSetsApi(api_client) id = 'id_example' # str | Project UUID page = 56 # int | page number to return (optional) per_page = 56 # int | items returned per page. (optional) diff --git a/equinix_metal/docs/GlobalBgpRange.md b/equinix_metal/docs/GlobalBgpRange.md index 80e0dfab..c8f05aa6 100644 --- a/equinix_metal/docs/GlobalBgpRange.md +++ b/equinix_metal/docs/GlobalBgpRange.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.global_bgp_range import GlobalBgpRange +from equinix_metal_t0mk.models.global_bgp_range import GlobalBgpRange # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/GlobalBgpRangeList.md b/equinix_metal/docs/GlobalBgpRangeList.md index 39bf6700..3a66adec 100644 --- a/equinix_metal/docs/GlobalBgpRangeList.md +++ b/equinix_metal/docs/GlobalBgpRangeList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.global_bgp_range_list import GlobalBgpRangeList +from equinix_metal_t0mk.models.global_bgp_range_list import GlobalBgpRangeList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/HardwareReservation.md b/equinix_metal/docs/HardwareReservation.md index d8b11682..43e6d454 100644 --- a/equinix_metal/docs/HardwareReservation.md +++ b/equinix_metal/docs/HardwareReservation.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.hardware_reservation import HardwareReservation +from equinix_metal_t0mk.models.hardware_reservation import HardwareReservation # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/HardwareReservationList.md b/equinix_metal/docs/HardwareReservationList.md index 71268786..df8482b9 100644 --- a/equinix_metal/docs/HardwareReservationList.md +++ b/equinix_metal/docs/HardwareReservationList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.hardware_reservation_list import HardwareReservationList +from equinix_metal_t0mk.models.hardware_reservation_list import HardwareReservationList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/HardwareReservationsApi.md b/equinix_metal/docs/HardwareReservationsApi.md index d5b0b04e..78369b82 100644 --- a/equinix_metal/docs/HardwareReservationsApi.md +++ b/equinix_metal/docs/HardwareReservationsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.HardwareReservationsApi +# equinix_metal_t0mk.HardwareReservationsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -24,15 +24,15 @@ Activate a spare hardware reservation ```python import time import os -import equinix_metal -from equinix_metal.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest -from equinix_metal.models.hardware_reservation import HardwareReservation -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest +from equinix_metal_t0mk.models.hardware_reservation import HardwareReservation +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -48,13 +48,13 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.HardwareReservationsApi(api_client) + api_instance = equinix_metal_t0mk.HardwareReservationsApi(api_client) id = 'id_example' # str | Hardware Reservation UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) - activate_hardware_reservation_request = equinix_metal.ActivateHardwareReservationRequest() # ActivateHardwareReservationRequest | Note to attach to the reservation (optional) + activate_hardware_reservation_request = equinix_metal_t0mk.ActivateHardwareReservationRequest() # ActivateHardwareReservationRequest | Note to attach to the reservation (optional) try: # Activate a spare hardware reservation @@ -112,14 +112,14 @@ Returns a single hardware reservation ```python import time import os -import equinix_metal -from equinix_metal.models.hardware_reservation import HardwareReservation -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.hardware_reservation import HardwareReservation +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -135,9 +135,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.HardwareReservationsApi(api_client) + api_instance = equinix_metal_t0mk.HardwareReservationsApi(api_client) id = 'id_example' # str | HardwareReservation UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -197,14 +197,14 @@ Provides a collection of hardware reservations for a given project. ```python import time import os -import equinix_metal -from equinix_metal.models.hardware_reservation_list import HardwareReservationList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.hardware_reservation_list import HardwareReservationList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -220,9 +220,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.HardwareReservationsApi(api_client) + api_instance = equinix_metal_t0mk.HardwareReservationsApi(api_client) id = 'id_example' # str | Project UUID query = 'query_example' # str | Search by facility code, plan name, project name, reservation short ID or device hostname (optional) state = 'state_example' # str | Filter by hardware reservation state (optional) @@ -297,15 +297,15 @@ Move a hardware reservation to another project ```python import time import os -import equinix_metal -from equinix_metal.models.hardware_reservation import HardwareReservation -from equinix_metal.models.move_hardware_reservation_request import MoveHardwareReservationRequest -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.hardware_reservation import HardwareReservation +from equinix_metal_t0mk.models.move_hardware_reservation_request import MoveHardwareReservationRequest +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -321,11 +321,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.HardwareReservationsApi(api_client) + api_instance = equinix_metal_t0mk.HardwareReservationsApi(api_client) id = 'id_example' # str | Hardware Reservation UUID - move_hardware_reservation_request = equinix_metal.MoveHardwareReservationRequest() # MoveHardwareReservationRequest | Destination Project UUID + move_hardware_reservation_request = equinix_metal_t0mk.MoveHardwareReservationRequest() # MoveHardwareReservationRequest | Destination Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/Href.md b/equinix_metal/docs/Href.md index f06be6b8..6f3a8447 100644 --- a/equinix_metal/docs/Href.md +++ b/equinix_metal/docs/Href.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPAddress.md b/equinix_metal/docs/IPAddress.md index 5a309c74..d196bff1 100644 --- a/equinix_metal/docs/IPAddress.md +++ b/equinix_metal/docs/IPAddress.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_address import IPAddress +from equinix_metal_t0mk.models.ip_address import IPAddress # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPAddressesApi.md b/equinix_metal/docs/IPAddressesApi.md index b7d29a4b..a305ca12 100644 --- a/equinix_metal/docs/IPAddressesApi.md +++ b/equinix_metal/docs/IPAddressesApi.md @@ -1,4 +1,4 @@ -# equinix_metal.IPAddressesApi +# equinix_metal_t0mk.IPAddressesApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -26,13 +26,13 @@ This call can be used to un-assign an IP assignment or delete an IP reservation. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -48,9 +48,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.IPAddressesApi(api_client) + api_instance = equinix_metal_t0mk.IPAddressesApi(api_client) id = 'id_example' # str | IP Address UUID try: @@ -104,14 +104,14 @@ Returns a single ip address if the user has access. ```python import time import os -import equinix_metal -from equinix_metal.models.find_ip_address_by_id200_response import FindIPAddressById200Response -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.find_ip_address_by_id200_response import FindIPAddressById200Response +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -127,9 +127,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.IPAddressesApi(api_client) + api_instance = equinix_metal_t0mk.IPAddressesApi(api_client) id = 'id_example' # str | IP Address UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -189,13 +189,13 @@ Provides the custom metadata stored for this IP Reservation or IP Assignment in ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -211,9 +211,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.IPAddressesApi(api_client) + api_instance = equinix_metal_t0mk.IPAddressesApi(api_client) id = 'id_example' # str | Ip Reservation UUID try: @@ -267,14 +267,14 @@ Provides a list of IP resevations for a single project. ```python import time import os -import equinix_metal -from equinix_metal.models.ip_availabilities_list import IPAvailabilitiesList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_availabilities_list import IPAvailabilitiesList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -290,9 +290,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.IPAddressesApi(api_client) + api_instance = equinix_metal_t0mk.IPAddressesApi(api_client) id = 'id_example' # str | IP Reservation UUID cidr = 'cidr_example' # str | Size of subnets in bits @@ -350,14 +350,14 @@ Provides a paginated list of IP reservations for a single project. ```python import time import os -import equinix_metal -from equinix_metal.models.ip_reservation_list import IPReservationList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_reservation_list import IPReservationList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -373,9 +373,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.IPAddressesApi(api_client) + api_instance = equinix_metal_t0mk.IPAddressesApi(api_client) id = 'id_example' # str | Project UUID types = ['types_example'] # List[str] | Filter project IP reservations by reservation type (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -439,15 +439,15 @@ Request more IP space for a project in order to have additional IP addresses to ```python import time import os -import equinix_metal -from equinix_metal.models.request_ip_reservation201_response import RequestIPReservation201Response -from equinix_metal.models.request_ip_reservation_request import RequestIPReservationRequest -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.request_ip_reservation201_response import RequestIPReservation201Response +from equinix_metal_t0mk.models.request_ip_reservation_request import RequestIPReservationRequest +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -463,11 +463,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.IPAddressesApi(api_client) + api_instance = equinix_metal_t0mk.IPAddressesApi(api_client) id = 'id_example' # str | Project UUID - request_ip_reservation_request = equinix_metal.RequestIPReservationRequest() # RequestIPReservationRequest | IP Reservation Request to create + request_ip_reservation_request = equinix_metal_t0mk.RequestIPReservationRequest() # RequestIPReservationRequest | IP Reservation Request to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -528,15 +528,15 @@ Update details about an ip address ```python import time import os -import equinix_metal -from equinix_metal.models.find_ip_address_by_id200_response import FindIPAddressById200Response -from equinix_metal.models.ip_assignment_update_input import IPAssignmentUpdateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.find_ip_address_by_id200_response import FindIPAddressById200Response +from equinix_metal_t0mk.models.ip_assignment_update_input import IPAssignmentUpdateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -552,13 +552,13 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.IPAddressesApi(api_client) + api_instance = equinix_metal_t0mk.IPAddressesApi(api_client) id = 'id_example' # str | IP Address UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) - ip_assignment_update_input = equinix_metal.IPAssignmentUpdateInput() # IPAssignmentUpdateInput | (optional) + ip_assignment_update_input = equinix_metal_t0mk.IPAssignmentUpdateInput() # IPAssignmentUpdateInput | (optional) try: # Update an ip address diff --git a/equinix_metal/docs/IPAssignment.md b/equinix_metal/docs/IPAssignment.md index 73d57117..0abf9392 100644 --- a/equinix_metal/docs/IPAssignment.md +++ b/equinix_metal/docs/IPAssignment.md @@ -27,7 +27,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_assignment import IPAssignment +from equinix_metal_t0mk.models.ip_assignment import IPAssignment # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPAssignmentInput.md b/equinix_metal/docs/IPAssignmentInput.md index 66921cb4..5d98c2ef 100644 --- a/equinix_metal/docs/IPAssignmentInput.md +++ b/equinix_metal/docs/IPAssignmentInput.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_assignment_input import IPAssignmentInput +from equinix_metal_t0mk.models.ip_assignment_input import IPAssignmentInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPAssignmentList.md b/equinix_metal/docs/IPAssignmentList.md index 8e377256..3bd1c940 100644 --- a/equinix_metal/docs/IPAssignmentList.md +++ b/equinix_metal/docs/IPAssignmentList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_assignment_list import IPAssignmentList +from equinix_metal_t0mk.models.ip_assignment_list import IPAssignmentList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPAssignmentMetro.md b/equinix_metal/docs/IPAssignmentMetro.md index 4d970e36..d29ca731 100644 --- a/equinix_metal/docs/IPAssignmentMetro.md +++ b/equinix_metal/docs/IPAssignmentMetro.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_assignment_metro import IPAssignmentMetro +from equinix_metal_t0mk.models.ip_assignment_metro import IPAssignmentMetro # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPAssignmentUpdateInput.md b/equinix_metal/docs/IPAssignmentUpdateInput.md index f7ae190a..3bc7793a 100644 --- a/equinix_metal/docs/IPAssignmentUpdateInput.md +++ b/equinix_metal/docs/IPAssignmentUpdateInput.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_assignment_update_input import IPAssignmentUpdateInput +from equinix_metal_t0mk.models.ip_assignment_update_input import IPAssignmentUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPAvailabilitiesList.md b/equinix_metal/docs/IPAvailabilitiesList.md index 52588e5e..de32d5ce 100644 --- a/equinix_metal/docs/IPAvailabilitiesList.md +++ b/equinix_metal/docs/IPAvailabilitiesList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_availabilities_list import IPAvailabilitiesList +from equinix_metal_t0mk.models.ip_availabilities_list import IPAvailabilitiesList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPReservation.md b/equinix_metal/docs/IPReservation.md index 1a2cd261..a74b84cf 100644 --- a/equinix_metal/docs/IPReservation.md +++ b/equinix_metal/docs/IPReservation.md @@ -37,7 +37,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_reservation import IPReservation +from equinix_metal_t0mk.models.ip_reservation import IPReservation # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPReservationFacility.md b/equinix_metal/docs/IPReservationFacility.md index 7d3d938f..683304b7 100644 --- a/equinix_metal/docs/IPReservationFacility.md +++ b/equinix_metal/docs/IPReservationFacility.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_reservation_facility import IPReservationFacility +from equinix_metal_t0mk.models.ip_reservation_facility import IPReservationFacility # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPReservationList.md b/equinix_metal/docs/IPReservationList.md index 46adcfd9..8b33253e 100644 --- a/equinix_metal/docs/IPReservationList.md +++ b/equinix_metal/docs/IPReservationList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_reservation_list import IPReservationList +from equinix_metal_t0mk.models.ip_reservation_list import IPReservationList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPReservationListIpAddressesInner.md b/equinix_metal/docs/IPReservationListIpAddressesInner.md index 0b7be896..d8f4889a 100644 --- a/equinix_metal/docs/IPReservationListIpAddressesInner.md +++ b/equinix_metal/docs/IPReservationListIpAddressesInner.md @@ -39,7 +39,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_reservation_list_ip_addresses_inner import IPReservationListIpAddressesInner +from equinix_metal_t0mk.models.ip_reservation_list_ip_addresses_inner import IPReservationListIpAddressesInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPReservationMetro.md b/equinix_metal/docs/IPReservationMetro.md index 28498ab0..0fd1ecc6 100644 --- a/equinix_metal/docs/IPReservationMetro.md +++ b/equinix_metal/docs/IPReservationMetro.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_reservation_metro import IPReservationMetro +from equinix_metal_t0mk.models.ip_reservation_metro import IPReservationMetro # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IPReservationRequestInput.md b/equinix_metal/docs/IPReservationRequestInput.md index 9334ae18..2e232229 100644 --- a/equinix_metal/docs/IPReservationRequestInput.md +++ b/equinix_metal/docs/IPReservationRequestInput.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ip_reservation_request_input import IPReservationRequestInput +from equinix_metal_t0mk.models.ip_reservation_request_input import IPReservationRequestInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/IncidentsApi.md b/equinix_metal/docs/IncidentsApi.md index ac468494..feac9f33 100644 --- a/equinix_metal/docs/IncidentsApi.md +++ b/equinix_metal/docs/IncidentsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.IncidentsApi +# equinix_metal_t0mk.IncidentsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -20,13 +20,13 @@ Retrieve the number of incidents. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -42,9 +42,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.IncidentsApi(api_client) + api_instance = equinix_metal_t0mk.IncidentsApi(api_client) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/InstancesBatchCreateInput.md b/equinix_metal/docs/InstancesBatchCreateInput.md index 9c40f24a..06638642 100644 --- a/equinix_metal/docs/InstancesBatchCreateInput.md +++ b/equinix_metal/docs/InstancesBatchCreateInput.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.instances_batch_create_input import InstancesBatchCreateInput +from equinix_metal_t0mk.models.instances_batch_create_input import InstancesBatchCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InstancesBatchCreateInputBatchesInner.md b/equinix_metal/docs/InstancesBatchCreateInputBatchesInner.md index 9203bd1a..f89118b6 100644 --- a/equinix_metal/docs/InstancesBatchCreateInputBatchesInner.md +++ b/equinix_metal/docs/InstancesBatchCreateInputBatchesInner.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.instances_batch_create_input_batches_inner import InstancesBatchCreateInputBatchesInner +from equinix_metal_t0mk.models.instances_batch_create_input_batches_inner import InstancesBatchCreateInputBatchesInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Interconnection.md b/equinix_metal/docs/Interconnection.md index adc78197..3cadd3b9 100644 --- a/equinix_metal/docs/Interconnection.md +++ b/equinix_metal/docs/Interconnection.md @@ -28,7 +28,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.interconnection import Interconnection +from equinix_metal_t0mk.models.interconnection import Interconnection # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InterconnectionList.md b/equinix_metal/docs/InterconnectionList.md index 1edcff57..d7f7dae4 100644 --- a/equinix_metal/docs/InterconnectionList.md +++ b/equinix_metal/docs/InterconnectionList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.interconnection_list import InterconnectionList +from equinix_metal_t0mk.models.interconnection_list import InterconnectionList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InterconnectionPort.md b/equinix_metal/docs/InterconnectionPort.md index 86de4769..9ade20ed 100644 --- a/equinix_metal/docs/InterconnectionPort.md +++ b/equinix_metal/docs/InterconnectionPort.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.interconnection_port import InterconnectionPort +from equinix_metal_t0mk.models.interconnection_port import InterconnectionPort # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InterconnectionPortList.md b/equinix_metal/docs/InterconnectionPortList.md index 2fcd3a94..4c5b8532 100644 --- a/equinix_metal/docs/InterconnectionPortList.md +++ b/equinix_metal/docs/InterconnectionPortList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.interconnection_port_list import InterconnectionPortList +from equinix_metal_t0mk.models.interconnection_port_list import InterconnectionPortList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InterconnectionUpdateInput.md b/equinix_metal/docs/InterconnectionUpdateInput.md index 66aba220..2d27f7d6 100644 --- a/equinix_metal/docs/InterconnectionUpdateInput.md +++ b/equinix_metal/docs/InterconnectionUpdateInput.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.interconnection_update_input import InterconnectionUpdateInput +from equinix_metal_t0mk.models.interconnection_update_input import InterconnectionUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InterconnectionsApi.md b/equinix_metal/docs/InterconnectionsApi.md index d0dcca18..f9601918 100644 --- a/equinix_metal/docs/InterconnectionsApi.md +++ b/equinix_metal/docs/InterconnectionsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.InterconnectionsApi +# equinix_metal_t0mk.InterconnectionsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -35,15 +35,15 @@ Create a new Virtual Circuit on a Dedicated Port. To create a regular Virtual Ci ```python import time import os -import equinix_metal -from equinix_metal.models.virtual_circuit import VirtualCircuit -from equinix_metal.models.virtual_circuit_create_input import VirtualCircuitCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit +from equinix_metal_t0mk.models.virtual_circuit_create_input import VirtualCircuitCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -59,12 +59,12 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) connection_id = 'connection_id_example' # str | UUID of the interconnection port_id = 'port_id_example' # str | UUID of the interconnection port - virtual_circuit_create_input = equinix_metal.VirtualCircuitCreateInput() # VirtualCircuitCreateInput | Virtual Circuit details + virtual_circuit_create_input = equinix_metal_t0mk.VirtualCircuitCreateInput() # VirtualCircuitCreateInput | Virtual Circuit details try: # Create a new Virtual Circuit @@ -120,15 +120,15 @@ Creates a new interconnection request. A Project ID must be specified in the req ```python import time import os -import equinix_metal -from equinix_metal.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest -from equinix_metal.models.interconnection import Interconnection -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest +from equinix_metal_t0mk.models.interconnection import Interconnection +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -144,11 +144,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) organization_id = 'organization_id_example' # str | UUID of the organization - create_organization_interconnection_request = equinix_metal.CreateOrganizationInterconnectionRequest() # CreateOrganizationInterconnectionRequest | Dedicated port or shared interconnection (also known as Fabric VC) creation request + create_organization_interconnection_request = equinix_metal_t0mk.CreateOrganizationInterconnectionRequest() # CreateOrganizationInterconnectionRequest | Dedicated port or shared interconnection (also known as Fabric VC) creation request include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -208,15 +208,15 @@ Creates a new interconnection request ```python import time import os -import equinix_metal -from equinix_metal.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest -from equinix_metal.models.interconnection import Interconnection -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest +from equinix_metal_t0mk.models.interconnection import Interconnection +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -232,11 +232,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) project_id = 'project_id_example' # str | UUID of the project - create_organization_interconnection_request = equinix_metal.CreateOrganizationInterconnectionRequest() # CreateOrganizationInterconnectionRequest | Dedicated port or shared interconnection (also known as Fabric VC) creation request + create_organization_interconnection_request = equinix_metal_t0mk.CreateOrganizationInterconnectionRequest() # CreateOrganizationInterconnectionRequest | Dedicated port or shared interconnection (also known as Fabric VC) creation request include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -295,14 +295,14 @@ Delete a interconnection, its associated ports and virtual circuits. ```python import time import os -import equinix_metal -from equinix_metal.models.interconnection import Interconnection -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection import Interconnection +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -318,9 +318,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) connection_id = 'connection_id_example' # str | Interconnection UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -379,14 +379,14 @@ Delete a virtual circuit from a Dedicated Port. ```python import time import os -import equinix_metal -from equinix_metal.models.virtual_circuit import VirtualCircuit -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -402,9 +402,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) id = 'id_example' # str | Virtual Circuit UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -463,14 +463,14 @@ Get the details of a interconnection ```python import time import os -import equinix_metal -from equinix_metal.models.interconnection import Interconnection -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection import Interconnection +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -486,9 +486,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) connection_id = 'connection_id_example' # str | Interconnection UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -547,14 +547,14 @@ Get the details of an interconnection port. ```python import time import os -import equinix_metal -from equinix_metal.models.interconnection_port import InterconnectionPort -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection_port import InterconnectionPort +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -570,9 +570,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) connection_id = 'connection_id_example' # str | UUID of the interconnection id = 'id_example' # str | Port UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -633,14 +633,14 @@ Get the details of a virtual circuit ```python import time import os -import equinix_metal -from equinix_metal.models.virtual_circuit import VirtualCircuit -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -656,9 +656,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) id = 'id_example' # str | Virtual Circuit UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -717,14 +717,14 @@ List the virtual circuit record(s) associatiated with a particular interconnecti ```python import time import os -import equinix_metal -from equinix_metal.models.virtual_circuit_list import VirtualCircuitList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_circuit_list import VirtualCircuitList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -740,9 +740,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) connection_id = 'connection_id_example' # str | UUID of the interconnection port_id = 'port_id_example' # str | UUID of the interconnection port include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -803,14 +803,14 @@ List the ports associated to an interconnection. ```python import time import os -import equinix_metal -from equinix_metal.models.interconnection_port_list import InterconnectionPortList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection_port_list import InterconnectionPortList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -826,9 +826,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) connection_id = 'connection_id_example' # str | UUID of the interconnection try: @@ -883,14 +883,14 @@ List the virtual circuit record(s) associated with a particular interconnection ```python import time import os -import equinix_metal -from equinix_metal.models.virtual_circuit_list import VirtualCircuitList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_circuit_list import VirtualCircuitList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -906,9 +906,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) connection_id = 'connection_id_example' # str | UUID of the interconnection try: @@ -963,14 +963,14 @@ List the connections belonging to the organization ```python import time import os -import equinix_metal -from equinix_metal.models.interconnection_list import InterconnectionList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection_list import InterconnectionList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -986,9 +986,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) organization_id = 'organization_id_example' # str | UUID of the organization include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -1047,14 +1047,14 @@ List the connections belonging to the project ```python import time import os -import equinix_metal -from equinix_metal.models.interconnection_list import InterconnectionList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection_list import InterconnectionList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1070,9 +1070,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) project_id = 'project_id_example' # str | UUID of the project include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -1140,15 +1140,15 @@ Update the details of a interconnection ```python import time import os -import equinix_metal -from equinix_metal.models.interconnection import Interconnection -from equinix_metal.models.interconnection_update_input import InterconnectionUpdateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection import Interconnection +from equinix_metal_t0mk.models.interconnection_update_input import InterconnectionUpdateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1164,11 +1164,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) connection_id = 'connection_id_example' # str | Interconnection UUID - interconnection_update_input = equinix_metal.InterconnectionUpdateInput() # InterconnectionUpdateInput | Updated interconnection details + interconnection_update_input = equinix_metal_t0mk.InterconnectionUpdateInput() # InterconnectionUpdateInput | Updated interconnection details include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -1227,15 +1227,15 @@ Update the details of a virtual circuit. ```python import time import os -import equinix_metal -from equinix_metal.models.virtual_circuit import VirtualCircuit -from equinix_metal.models.virtual_circuit_update_input import VirtualCircuitUpdateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit +from equinix_metal_t0mk.models.virtual_circuit_update_input import VirtualCircuitUpdateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1251,11 +1251,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InterconnectionsApi(api_client) + api_instance = equinix_metal_t0mk.InterconnectionsApi(api_client) id = 'id_example' # str | Virtual Circuit UUID - virtual_circuit_update_input = equinix_metal.VirtualCircuitUpdateInput() # VirtualCircuitUpdateInput | Updated Virtual Circuit details + virtual_circuit_update_input = equinix_metal_t0mk.VirtualCircuitUpdateInput() # VirtualCircuitUpdateInput | Updated Virtual Circuit details include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/Invitation.md b/equinix_metal/docs/Invitation.md index 0b1ae674..b904aea8 100644 --- a/equinix_metal/docs/Invitation.md +++ b/equinix_metal/docs/Invitation.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.invitation import Invitation +from equinix_metal_t0mk.models.invitation import Invitation # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InvitationInput.md b/equinix_metal/docs/InvitationInput.md index c9893bb6..c4e6d733 100644 --- a/equinix_metal/docs/InvitationInput.md +++ b/equinix_metal/docs/InvitationInput.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.invitation_input import InvitationInput +from equinix_metal_t0mk.models.invitation_input import InvitationInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InvitationList.md b/equinix_metal/docs/InvitationList.md index 7c6634fc..219045c3 100644 --- a/equinix_metal/docs/InvitationList.md +++ b/equinix_metal/docs/InvitationList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.invitation_list import InvitationList +from equinix_metal_t0mk.models.invitation_list import InvitationList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InvitationsApi.md b/equinix_metal/docs/InvitationsApi.md index 6c4e8c27..63260f93 100644 --- a/equinix_metal/docs/InvitationsApi.md +++ b/equinix_metal/docs/InvitationsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.InvitationsApi +# equinix_metal_t0mk.InvitationsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -22,14 +22,14 @@ Accept an invitation. ```python import time import os -import equinix_metal -from equinix_metal.models.membership import Membership -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.membership import Membership +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -45,9 +45,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InvitationsApi(api_client) + api_instance = equinix_metal_t0mk.InvitationsApi(api_client) id = 'id_example' # str | Invitation UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -105,13 +105,13 @@ Decline an invitation. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -127,9 +127,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InvitationsApi(api_client) + api_instance = equinix_metal_t0mk.InvitationsApi(api_client) id = 'id_example' # str | Invitation UUID try: @@ -183,14 +183,14 @@ Returns a single invitation. (It include the `invitable` to maintain backward co ```python import time import os -import equinix_metal -from equinix_metal.models.invitation import Invitation -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invitation import Invitation +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -206,9 +206,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InvitationsApi(api_client) + api_instance = equinix_metal_t0mk.InvitationsApi(api_client) id = 'id_example' # str | Invitation UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) diff --git a/equinix_metal/docs/Invoice.md b/equinix_metal/docs/Invoice.md index 1c25b774..2946c6c7 100644 --- a/equinix_metal/docs/Invoice.md +++ b/equinix_metal/docs/Invoice.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.invoice import Invoice +from equinix_metal_t0mk.models.invoice import Invoice # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InvoiceList.md b/equinix_metal/docs/InvoiceList.md index 19aaff74..abd0deb0 100644 --- a/equinix_metal/docs/InvoiceList.md +++ b/equinix_metal/docs/InvoiceList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.invoice_list import InvoiceList +from equinix_metal_t0mk.models.invoice_list import InvoiceList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/InvoicesApi.md b/equinix_metal/docs/InvoicesApi.md index c3b9ed12..e56fa4c9 100644 --- a/equinix_metal/docs/InvoicesApi.md +++ b/equinix_metal/docs/InvoicesApi.md @@ -1,4 +1,4 @@ -# equinix_metal.InvoicesApi +# equinix_metal_t0mk.InvoicesApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -21,14 +21,14 @@ Returns all invoices for an organization ```python import time import os -import equinix_metal -from equinix_metal.models.invoice_list import InvoiceList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invoice_list import InvoiceList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -44,9 +44,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InvoicesApi(api_client) + api_instance = equinix_metal_t0mk.InvoicesApi(api_client) id = 'id_example' # str | Organization UUID page = 56 # int | page number (optional) per_page = 56 # int | per page (optional) @@ -107,14 +107,14 @@ Returns the invoice identified by the provided id ```python import time import os -import equinix_metal -from equinix_metal.models.invoice import Invoice -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invoice import Invoice +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -130,9 +130,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.InvoicesApi(api_client) + api_instance = equinix_metal_t0mk.InvoicesApi(api_client) id = 'id_example' # str | Invoice UUID try: diff --git a/equinix_metal/docs/License.md b/equinix_metal/docs/License.md index ccd75be6..cf455eeb 100644 --- a/equinix_metal/docs/License.md +++ b/equinix_metal/docs/License.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.license import License +from equinix_metal_t0mk.models.license import License # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/LicenseCreateInput.md b/equinix_metal/docs/LicenseCreateInput.md index 41afd3af..34d01e93 100644 --- a/equinix_metal/docs/LicenseCreateInput.md +++ b/equinix_metal/docs/LicenseCreateInput.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.license_create_input import LicenseCreateInput +from equinix_metal_t0mk.models.license_create_input import LicenseCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/LicenseList.md b/equinix_metal/docs/LicenseList.md index a90c8269..8d9f1079 100644 --- a/equinix_metal/docs/LicenseList.md +++ b/equinix_metal/docs/LicenseList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.license_list import LicenseList +from equinix_metal_t0mk.models.license_list import LicenseList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/LicenseUpdateInput.md b/equinix_metal/docs/LicenseUpdateInput.md index 9676efea..41e3c0c7 100644 --- a/equinix_metal/docs/LicenseUpdateInput.md +++ b/equinix_metal/docs/LicenseUpdateInput.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.license_update_input import LicenseUpdateInput +from equinix_metal_t0mk.models.license_update_input import LicenseUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/LicensesApi.md b/equinix_metal/docs/LicensesApi.md index 305c20f6..8b572804 100644 --- a/equinix_metal/docs/LicensesApi.md +++ b/equinix_metal/docs/LicensesApi.md @@ -1,4 +1,4 @@ -# equinix_metal.LicensesApi +# equinix_metal_t0mk.LicensesApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -24,15 +24,15 @@ Creates a new license for the given project ```python import time import os -import equinix_metal -from equinix_metal.models.license import License -from equinix_metal.models.license_create_input import LicenseCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.license import License +from equinix_metal_t0mk.models.license_create_input import LicenseCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -48,11 +48,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.LicensesApi(api_client) + api_instance = equinix_metal_t0mk.LicensesApi(api_client) id = 'id_example' # str | Project UUID - license_create_input = equinix_metal.LicenseCreateInput() # LicenseCreateInput | License to create + license_create_input = equinix_metal_t0mk.LicenseCreateInput() # LicenseCreateInput | License to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -113,13 +113,13 @@ Deletes a license. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -135,9 +135,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.LicensesApi(api_client) + api_instance = equinix_metal_t0mk.LicensesApi(api_client) id = 'id_example' # str | License UUID try: @@ -191,14 +191,14 @@ Returns a license ```python import time import os -import equinix_metal -from equinix_metal.models.license import License -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.license import License +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -214,9 +214,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.LicensesApi(api_client) + api_instance = equinix_metal_t0mk.LicensesApi(api_client) id = 'id_example' # str | License UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -276,14 +276,14 @@ Provides a collection of licenses for a given project. ```python import time import os -import equinix_metal -from equinix_metal.models.license_list import LicenseList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.license_list import LicenseList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -299,9 +299,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.LicensesApi(api_client) + api_instance = equinix_metal_t0mk.LicensesApi(api_client) id = 'id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -365,15 +365,15 @@ Updates the license. ```python import time import os -import equinix_metal -from equinix_metal.models.license import License -from equinix_metal.models.license_update_input import LicenseUpdateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.license import License +from equinix_metal_t0mk.models.license_update_input import LicenseUpdateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -389,11 +389,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.LicensesApi(api_client) + api_instance = equinix_metal_t0mk.LicensesApi(api_client) id = 'id_example' # str | License UUID - license_update_input = equinix_metal.LicenseUpdateInput() # LicenseUpdateInput | License to update + license_update_input = equinix_metal_t0mk.LicenseUpdateInput() # LicenseUpdateInput | License to update include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/LineItem.md b/equinix_metal/docs/LineItem.md index b8bafd1e..d411b3a3 100644 --- a/equinix_metal/docs/LineItem.md +++ b/equinix_metal/docs/LineItem.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.line_item import LineItem +from equinix_metal_t0mk.models.line_item import LineItem # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Membership.md b/equinix_metal/docs/Membership.md index b4d9b887..b6f79ea9 100644 --- a/equinix_metal/docs/Membership.md +++ b/equinix_metal/docs/Membership.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.membership import Membership +from equinix_metal_t0mk.models.membership import Membership # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MembershipInput.md b/equinix_metal/docs/MembershipInput.md index a921c3bd..35c38cc4 100644 --- a/equinix_metal/docs/MembershipInput.md +++ b/equinix_metal/docs/MembershipInput.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.membership_input import MembershipInput +from equinix_metal_t0mk.models.membership_input import MembershipInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MembershipList.md b/equinix_metal/docs/MembershipList.md index 7de41f68..55b6dca5 100644 --- a/equinix_metal/docs/MembershipList.md +++ b/equinix_metal/docs/MembershipList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.membership_list import MembershipList +from equinix_metal_t0mk.models.membership_list import MembershipList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MembershipsApi.md b/equinix_metal/docs/MembershipsApi.md index 7dfbb06b..dbcc666a 100644 --- a/equinix_metal/docs/MembershipsApi.md +++ b/equinix_metal/docs/MembershipsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.MembershipsApi +# equinix_metal_t0mk.MembershipsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -22,13 +22,13 @@ Deletes the membership. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -44,9 +44,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MembershipsApi(api_client) + api_instance = equinix_metal_t0mk.MembershipsApi(api_client) id = 'id_example' # str | Membership UUID try: @@ -100,14 +100,14 @@ Returns a single membership. ```python import time import os -import equinix_metal -from equinix_metal.models.membership import Membership -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.membership import Membership +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -123,9 +123,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MembershipsApi(api_client) + api_instance = equinix_metal_t0mk.MembershipsApi(api_client) id = 'id_example' # str | Membership UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -183,15 +183,15 @@ Updates the membership. ```python import time import os -import equinix_metal -from equinix_metal.models.membership import Membership -from equinix_metal.models.membership_input import MembershipInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.membership import Membership +from equinix_metal_t0mk.models.membership_input import MembershipInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -207,11 +207,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MembershipsApi(api_client) + api_instance = equinix_metal_t0mk.MembershipsApi(api_client) id = 'id_example' # str | Membership UUID - membership_input = equinix_metal.MembershipInput() # MembershipInput | Membership to update + membership_input = equinix_metal_t0mk.MembershipInput() # MembershipInput | Membership to update include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: diff --git a/equinix_metal/docs/Meta.md b/equinix_metal/docs/Meta.md index f03ead3f..6395c647 100644 --- a/equinix_metal/docs/Meta.md +++ b/equinix_metal/docs/Meta.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.meta import Meta +from equinix_metal_t0mk.models.meta import Meta # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Metadata.md b/equinix_metal/docs/Metadata.md index cd3935a1..5305fb50 100644 --- a/equinix_metal/docs/Metadata.md +++ b/equinix_metal/docs/Metadata.md @@ -27,7 +27,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metadata import Metadata +from equinix_metal_t0mk.models.metadata import Metadata # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetadataNetwork.md b/equinix_metal/docs/MetadataNetwork.md index 0b3fbd02..4064cf0d 100644 --- a/equinix_metal/docs/MetadataNetwork.md +++ b/equinix_metal/docs/MetadataNetwork.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metadata_network import MetadataNetwork +from equinix_metal_t0mk.models.metadata_network import MetadataNetwork # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetadataNetworkNetwork.md b/equinix_metal/docs/MetadataNetworkNetwork.md index 29a7e8d3..bc19f98b 100644 --- a/equinix_metal/docs/MetadataNetworkNetwork.md +++ b/equinix_metal/docs/MetadataNetworkNetwork.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metadata_network_network import MetadataNetworkNetwork +from equinix_metal_t0mk.models.metadata_network_network import MetadataNetworkNetwork # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetadataNetworkNetworkBonding.md b/equinix_metal/docs/MetadataNetworkNetworkBonding.md index 391db73a..187ce093 100644 --- a/equinix_metal/docs/MetadataNetworkNetworkBonding.md +++ b/equinix_metal/docs/MetadataNetworkNetworkBonding.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metadata_network_network_bonding import MetadataNetworkNetworkBonding +from equinix_metal_t0mk.models.metadata_network_network_bonding import MetadataNetworkNetworkBonding # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetalGateway.md b/equinix_metal/docs/MetalGateway.md index f3d68a6e..24b0ac5a 100644 --- a/equinix_metal/docs/MetalGateway.md +++ b/equinix_metal/docs/MetalGateway.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metal_gateway import MetalGateway +from equinix_metal_t0mk.models.metal_gateway import MetalGateway # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetalGatewayCreateInput.md b/equinix_metal/docs/MetalGatewayCreateInput.md index bcf180d4..51289eff 100644 --- a/equinix_metal/docs/MetalGatewayCreateInput.md +++ b/equinix_metal/docs/MetalGatewayCreateInput.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metal_gateway_create_input import MetalGatewayCreateInput +from equinix_metal_t0mk.models.metal_gateway_create_input import MetalGatewayCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetalGatewayElasticIpCreateInput.md b/equinix_metal/docs/MetalGatewayElasticIpCreateInput.md index 61192478..e0f556bb 100644 --- a/equinix_metal/docs/MetalGatewayElasticIpCreateInput.md +++ b/equinix_metal/docs/MetalGatewayElasticIpCreateInput.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput +from equinix_metal_t0mk.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetalGatewayList.md b/equinix_metal/docs/MetalGatewayList.md index 76cd4dde..139b13e6 100644 --- a/equinix_metal/docs/MetalGatewayList.md +++ b/equinix_metal/docs/MetalGatewayList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metal_gateway_list import MetalGatewayList +from equinix_metal_t0mk.models.metal_gateway_list import MetalGatewayList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetalGatewayListMetalGatewaysInner.md b/equinix_metal/docs/MetalGatewayListMetalGatewaysInner.md index c7d3edbf..d6da067c 100644 --- a/equinix_metal/docs/MetalGatewayListMetalGatewaysInner.md +++ b/equinix_metal/docs/MetalGatewayListMetalGatewaysInner.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metal_gateway_list_metal_gateways_inner import MetalGatewayListMetalGatewaysInner +from equinix_metal_t0mk.models.metal_gateway_list_metal_gateways_inner import MetalGatewayListMetalGatewaysInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetalGatewayLite.md b/equinix_metal/docs/MetalGatewayLite.md index 09293622..e6603d1f 100644 --- a/equinix_metal/docs/MetalGatewayLite.md +++ b/equinix_metal/docs/MetalGatewayLite.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metal_gateway_lite import MetalGatewayLite +from equinix_metal_t0mk.models.metal_gateway_lite import MetalGatewayLite # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetalGatewaysApi.md b/equinix_metal/docs/MetalGatewaysApi.md index 30b6c32f..57dc20ee 100644 --- a/equinix_metal/docs/MetalGatewaysApi.md +++ b/equinix_metal/docs/MetalGatewaysApi.md @@ -1,4 +1,4 @@ -# equinix_metal.MetalGatewaysApi +# equinix_metal_t0mk.MetalGatewaysApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -26,15 +26,15 @@ Create a metal gateway in a project ```python import time import os -import equinix_metal -from equinix_metal.models.create_metal_gateway_request import CreateMetalGatewayRequest -from equinix_metal.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_metal_gateway_request import CreateMetalGatewayRequest +from equinix_metal_t0mk.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -50,11 +50,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MetalGatewaysApi(api_client) + api_instance = equinix_metal_t0mk.MetalGatewaysApi(api_client) project_id = 'project_id_example' # str | Project UUID - create_metal_gateway_request = equinix_metal.CreateMetalGatewayRequest() # CreateMetalGatewayRequest | Metal Gateway to create + create_metal_gateway_request = equinix_metal_t0mk.CreateMetalGatewayRequest() # CreateMetalGatewayRequest | Metal Gateway to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) page = 1 # int | Page to return (optional) (default to 1) @@ -118,15 +118,15 @@ Create a new Elastic IP on this Metal Gateway. Assign an IPv4 range as an elast ```python import time import os -import equinix_metal -from equinix_metal.models.ip_assignment import IPAssignment -from equinix_metal.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_assignment import IPAssignment +from equinix_metal_t0mk.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -142,11 +142,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MetalGatewaysApi(api_client) + api_instance = equinix_metal_t0mk.MetalGatewaysApi(api_client) id = 'id_example' # str | Metal Gateway UUID - metal_gateway_elastic_ip_create_input = equinix_metal.MetalGatewayElasticIpCreateInput() # MetalGatewayElasticIpCreateInput | + metal_gateway_elastic_ip_create_input = equinix_metal_t0mk.MetalGatewayElasticIpCreateInput() # MetalGatewayElasticIpCreateInput | include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -207,14 +207,14 @@ Deletes a metal gateway and any elastic IP assignments associated with this meta ```python import time import os -import equinix_metal -from equinix_metal.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -230,9 +230,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MetalGatewaysApi(api_client) + api_instance = equinix_metal_t0mk.MetalGatewaysApi(api_client) id = 'id_example' # str | Metal Gateway UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -291,14 +291,14 @@ Returns a specific metal gateway ```python import time import os -import equinix_metal -from equinix_metal.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -314,9 +314,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MetalGatewaysApi(api_client) + api_instance = equinix_metal_t0mk.MetalGatewaysApi(api_client) id = 'id_example' # str | Metal Gateway UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -375,14 +375,14 @@ Return all metal gateways for a project ```python import time import os -import equinix_metal -from equinix_metal.models.metal_gateway_list import MetalGatewayList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metal_gateway_list import MetalGatewayList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -398,9 +398,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MetalGatewaysApi(api_client) + api_instance = equinix_metal_t0mk.MetalGatewaysApi(api_client) project_id = 'project_id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -468,14 +468,14 @@ Returns the list of Elastic IPs assigned to this Metal Gateway ```python import time import os -import equinix_metal -from equinix_metal.models.ip_assignment_list import IPAssignmentList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_assignment_list import IPAssignmentList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -491,9 +491,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MetalGatewaysApi(api_client) + api_instance = equinix_metal_t0mk.MetalGatewaysApi(api_client) id = 'id_example' # str | Metal Gateway UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/Metro.md b/equinix_metal/docs/Metro.md index e20db62e..aed026a2 100644 --- a/equinix_metal/docs/Metro.md +++ b/equinix_metal/docs/Metro.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metro import Metro +from equinix_metal_t0mk.models.metro import Metro # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetroInput.md b/equinix_metal/docs/MetroInput.md index 8c9e41f8..3ece2baf 100644 --- a/equinix_metal/docs/MetroInput.md +++ b/equinix_metal/docs/MetroInput.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metro_input import MetroInput +from equinix_metal_t0mk.models.metro_input import MetroInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetroList.md b/equinix_metal/docs/MetroList.md index 9835c78b..4b61b030 100644 --- a/equinix_metal/docs/MetroList.md +++ b/equinix_metal/docs/MetroList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.metro_list import MetroList +from equinix_metal_t0mk.models.metro_list import MetroList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MetrosApi.md b/equinix_metal/docs/MetrosApi.md index dceb1317..b1f04a70 100644 --- a/equinix_metal/docs/MetrosApi.md +++ b/equinix_metal/docs/MetrosApi.md @@ -1,4 +1,4 @@ -# equinix_metal.MetrosApi +# equinix_metal_t0mk.MetrosApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -21,14 +21,14 @@ Provides a listing of available metros ```python import time import os -import equinix_metal -from equinix_metal.models.metro_list import MetroList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metro_list import MetroList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -44,9 +44,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MetrosApi(api_client) + api_instance = equinix_metal_t0mk.MetrosApi(api_client) try: # Retrieve all metros @@ -96,14 +96,14 @@ Show the details for a metro, including name, code, and country. ```python import time import os -import equinix_metal -from equinix_metal.models.metro import Metro -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metro import Metro +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -119,9 +119,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.MetrosApi(api_client) + api_instance = equinix_metal_t0mk.MetrosApi(api_client) id = 'id_example' # str | Metro UUID try: diff --git a/equinix_metal/docs/Mount.md b/equinix_metal/docs/Mount.md index 7f06a4c8..d06f7bb0 100644 --- a/equinix_metal/docs/Mount.md +++ b/equinix_metal/docs/Mount.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.mount import Mount +from equinix_metal_t0mk.models.mount import Mount # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/MoveHardwareReservationRequest.md b/equinix_metal/docs/MoveHardwareReservationRequest.md index 61f7a8f1..5c887fb7 100644 --- a/equinix_metal/docs/MoveHardwareReservationRequest.md +++ b/equinix_metal/docs/MoveHardwareReservationRequest.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.move_hardware_reservation_request import MoveHardwareReservationRequest +from equinix_metal_t0mk.models.move_hardware_reservation_request import MoveHardwareReservationRequest # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/NewPassword.md b/equinix_metal/docs/NewPassword.md index ff5c4db0..47cc6b77 100644 --- a/equinix_metal/docs/NewPassword.md +++ b/equinix_metal/docs/NewPassword.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.new_password import NewPassword +from equinix_metal_t0mk.models.new_password import NewPassword # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/OTPsApi.md b/equinix_metal/docs/OTPsApi.md index d73b0bb2..944db52e 100644 --- a/equinix_metal/docs/OTPsApi.md +++ b/equinix_metal/docs/OTPsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.OTPsApi +# equinix_metal_t0mk.OTPsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -23,13 +23,13 @@ It verifies the user once a valid OTP is provided. It gives back a session token ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -45,9 +45,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OTPsApi(api_client) + api_instance = equinix_metal_t0mk.OTPsApi(api_client) otp = 'otp_example' # str | OTP try: @@ -100,14 +100,14 @@ Returns my recovery codes. ```python import time import os -import equinix_metal -from equinix_metal.models.recovery_code_list import RecoveryCodeList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.recovery_code_list import RecoveryCodeList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -123,9 +123,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OTPsApi(api_client) + api_instance = equinix_metal_t0mk.OTPsApi(api_client) try: # Retrieve my recovery codes @@ -177,13 +177,13 @@ Sends an OTP to the user's mobile phone. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -199,9 +199,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OTPsApi(api_client) + api_instance = equinix_metal_t0mk.OTPsApi(api_client) try: # Receive an OTP per sms @@ -252,14 +252,14 @@ Generate a new set of recovery codes. ```python import time import os -import equinix_metal -from equinix_metal.models.recovery_code_list import RecoveryCodeList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.recovery_code_list import RecoveryCodeList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -275,9 +275,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OTPsApi(api_client) + api_instance = equinix_metal_t0mk.OTPsApi(api_client) try: # Generate new recovery codes diff --git a/equinix_metal/docs/OperatingSystem.md b/equinix_metal/docs/OperatingSystem.md index 31485bdc..468adcec 100644 --- a/equinix_metal/docs/OperatingSystem.md +++ b/equinix_metal/docs/OperatingSystem.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.operating_system import OperatingSystem +from equinix_metal_t0mk.models.operating_system import OperatingSystem # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/OperatingSystemList.md b/equinix_metal/docs/OperatingSystemList.md index 1789f09d..e213e960 100644 --- a/equinix_metal/docs/OperatingSystemList.md +++ b/equinix_metal/docs/OperatingSystemList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.operating_system_list import OperatingSystemList +from equinix_metal_t0mk.models.operating_system_list import OperatingSystemList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/OperatingSystemsApi.md b/equinix_metal/docs/OperatingSystemsApi.md index 008ec9ac..224ab332 100644 --- a/equinix_metal/docs/OperatingSystemsApi.md +++ b/equinix_metal/docs/OperatingSystemsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.OperatingSystemsApi +# equinix_metal_t0mk.OperatingSystemsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -21,14 +21,14 @@ Provides a listing of available operating system versions. ```python import time import os -import equinix_metal -from equinix_metal.models.operating_system_list import OperatingSystemList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.operating_system_list import OperatingSystemList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -44,9 +44,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OperatingSystemsApi(api_client) + api_instance = equinix_metal_t0mk.OperatingSystemsApi(api_client) try: # Retrieve all operating system versions @@ -96,14 +96,14 @@ Provides a listing of available operating systems to provision your new device w ```python import time import os -import equinix_metal -from equinix_metal.models.operating_system_list import OperatingSystemList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.operating_system_list import OperatingSystemList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -119,9 +119,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OperatingSystemsApi(api_client) + api_instance = equinix_metal_t0mk.OperatingSystemsApi(api_client) try: # Retrieve all operating systems diff --git a/equinix_metal/docs/Organization.md b/equinix_metal/docs/Organization.md index a27bf6f3..6cdd31a5 100644 --- a/equinix_metal/docs/Organization.md +++ b/equinix_metal/docs/Organization.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.organization import Organization +from equinix_metal_t0mk.models.organization import Organization # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/OrganizationInput.md b/equinix_metal/docs/OrganizationInput.md index cb856e23..a5a354c3 100644 --- a/equinix_metal/docs/OrganizationInput.md +++ b/equinix_metal/docs/OrganizationInput.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.organization_input import OrganizationInput +from equinix_metal_t0mk.models.organization_input import OrganizationInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/OrganizationList.md b/equinix_metal/docs/OrganizationList.md index 3968a0cd..d19a6542 100644 --- a/equinix_metal/docs/OrganizationList.md +++ b/equinix_metal/docs/OrganizationList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.organization_list import OrganizationList +from equinix_metal_t0mk.models.organization_list import OrganizationList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/OrganizationsApi.md b/equinix_metal/docs/OrganizationsApi.md index ad91e0c2..5d381107 100644 --- a/equinix_metal/docs/OrganizationsApi.md +++ b/equinix_metal/docs/OrganizationsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.OrganizationsApi +# equinix_metal_t0mk.OrganizationsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -36,15 +36,15 @@ Creates an organization. ```python import time import os -import equinix_metal -from equinix_metal.models.organization import Organization -from equinix_metal.models.organization_input import OrganizationInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.organization import Organization +from equinix_metal_t0mk.models.organization_input import OrganizationInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -60,10 +60,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) - organization_input = equinix_metal.OrganizationInput() # OrganizationInput | Organization to create + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) + organization_input = equinix_metal_t0mk.OrganizationInput() # OrganizationInput | Organization to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -122,15 +122,15 @@ In order to add a user to an organization, they must first be invited. To invite ```python import time import os -import equinix_metal -from equinix_metal.models.invitation import Invitation -from equinix_metal.models.invitation_input import InvitationInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invitation import Invitation +from equinix_metal_t0mk.models.invitation_input import InvitationInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -146,11 +146,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID - invitation_input = equinix_metal.InvitationInput() # InvitationInput | Invitation to create + invitation_input = equinix_metal_t0mk.InvitationInput() # InvitationInput | Invitation to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -209,15 +209,15 @@ Creates a new project for the organization ```python import time import os -import equinix_metal -from equinix_metal.models.project import Project -from equinix_metal.models.project_create_input import ProjectCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.project_create_input import ProjectCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -233,11 +233,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID - project_create_input = equinix_metal.ProjectCreateInput() # ProjectCreateInput | Project to create + project_create_input = equinix_metal_t0mk.ProjectCreateInput() # ProjectCreateInput | Project to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -296,15 +296,15 @@ Creates a payment method. ```python import time import os -import equinix_metal -from equinix_metal.models.payment_method import PaymentMethod -from equinix_metal.models.payment_method_create_input import PaymentMethodCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.payment_method import PaymentMethod +from equinix_metal_t0mk.models.payment_method_create_input import PaymentMethodCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -320,11 +320,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID - payment_method_create_input = equinix_metal.PaymentMethodCreateInput() # PaymentMethodCreateInput | Payment Method to create + payment_method_create_input = equinix_metal_t0mk.PaymentMethodCreateInput() # PaymentMethodCreateInput | Payment Method to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -382,13 +382,13 @@ Deletes the organization. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -404,9 +404,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID try: @@ -459,14 +459,14 @@ Returns a listing of available operating systems for the given organization ```python import time import os -import equinix_metal -from equinix_metal.models.operating_system_list import OperatingSystemList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.operating_system_list import OperatingSystemList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -482,9 +482,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -542,14 +542,14 @@ Returns a single organization's details, if the user is authorized to view it. ```python import time import os -import equinix_metal -from equinix_metal.models.organization import Organization -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.organization import Organization +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -565,9 +565,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -627,13 +627,13 @@ Provides the custom metadata stored for this organization in json format ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -649,9 +649,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID try: @@ -705,14 +705,14 @@ Returns all invitations in an organization. ```python import time import os -import equinix_metal -from equinix_metal.models.invitation_list import InvitationList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invitation_list import InvitationList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -728,9 +728,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) page = 1 # int | Page to return (optional) (default to 1) @@ -792,14 +792,14 @@ Returns all payment methods of an organization. ```python import time import os -import equinix_metal -from equinix_metal.models.payment_method_list import PaymentMethodList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.payment_method_list import PaymentMethodList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -815,9 +815,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) page = 1 # int | Page to return (optional) (default to 1) @@ -878,14 +878,14 @@ Returns a collection of projects that belong to the organization. ```python import time import os -import equinix_metal -from equinix_metal.models.project_list import ProjectList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project_list import ProjectList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -901,9 +901,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID name = 'name_example' # str | Filter results by name. (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -972,14 +972,14 @@ Provides a collection of project transfer requests from or to the organization. ```python import time import os -import equinix_metal -from equinix_metal.models.transfer_request_list import TransferRequestList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.transfer_request_list import TransferRequestList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -995,9 +995,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -1054,14 +1054,14 @@ Returns a list of organizations that are accessible to the current user. ```python import time import os -import equinix_metal -from equinix_metal.models.organization_list import OrganizationList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.organization_list import OrganizationList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1077,9 +1077,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) personal = 'personal_example' # str | Include, exclude or show only personal organizations. (optional) without_projects = 'without_projects_example' # str | Include, exclude or show only organizations that have no projects. (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -1148,14 +1148,14 @@ Returns a listing of available plans for the given organization ```python import time import os -import equinix_metal -from equinix_metal.models.plan_list import PlanList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_list import PlanList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1171,9 +1171,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -1233,15 +1233,15 @@ Updates the organization. ```python import time import os -import equinix_metal -from equinix_metal.models.organization import Organization -from equinix_metal.models.organization_input import OrganizationInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.organization import Organization +from equinix_metal_t0mk.models.organization_input import OrganizationInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1257,11 +1257,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.OrganizationsApi(api_client) + api_instance = equinix_metal_t0mk.OrganizationsApi(api_client) id = 'id_example' # str | Organization UUID - organization_input = equinix_metal.OrganizationInput() # OrganizationInput | Organization to update + organization_input = equinix_metal_t0mk.OrganizationInput() # OrganizationInput | Organization to update include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/ParentBlock.md b/equinix_metal/docs/ParentBlock.md index 439aaa69..1465a7eb 100644 --- a/equinix_metal/docs/ParentBlock.md +++ b/equinix_metal/docs/ParentBlock.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.parent_block import ParentBlock +from equinix_metal_t0mk.models.parent_block import ParentBlock # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Partition.md b/equinix_metal/docs/Partition.md index f1c6797f..d1f90702 100644 --- a/equinix_metal/docs/Partition.md +++ b/equinix_metal/docs/Partition.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.partition import Partition +from equinix_metal_t0mk.models.partition import Partition # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PasswordResetTokensApi.md b/equinix_metal/docs/PasswordResetTokensApi.md index 35bae529..079b05c4 100644 --- a/equinix_metal/docs/PasswordResetTokensApi.md +++ b/equinix_metal/docs/PasswordResetTokensApi.md @@ -1,4 +1,4 @@ -# equinix_metal.PasswordResetTokensApi +# equinix_metal_t0mk.PasswordResetTokensApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -21,13 +21,13 @@ Creates a password reset token ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -43,9 +43,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PasswordResetTokensApi(api_client) + api_instance = equinix_metal_t0mk.PasswordResetTokensApi(api_client) email = 'email_example' # str | Email of user to create password reset token try: @@ -98,14 +98,14 @@ Resets current user password. ```python import time import os -import equinix_metal -from equinix_metal.models.new_password import NewPassword -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.new_password import NewPassword +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -121,9 +121,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PasswordResetTokensApi(api_client) + api_instance = equinix_metal_t0mk.PasswordResetTokensApi(api_client) try: # Reset current user password diff --git a/equinix_metal/docs/PaymentMethod.md b/equinix_metal/docs/PaymentMethod.md index 0020a18d..fa5b77a8 100644 --- a/equinix_metal/docs/PaymentMethod.md +++ b/equinix_metal/docs/PaymentMethod.md @@ -24,7 +24,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.payment_method import PaymentMethod +from equinix_metal_t0mk.models.payment_method import PaymentMethod # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PaymentMethodBillingAddress.md b/equinix_metal/docs/PaymentMethodBillingAddress.md index e46aedaa..e00cbaa4 100644 --- a/equinix_metal/docs/PaymentMethodBillingAddress.md +++ b/equinix_metal/docs/PaymentMethodBillingAddress.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.payment_method_billing_address import PaymentMethodBillingAddress +from equinix_metal_t0mk.models.payment_method_billing_address import PaymentMethodBillingAddress # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PaymentMethodCreateInput.md b/equinix_metal/docs/PaymentMethodCreateInput.md index bdae4bcf..51a69e8a 100644 --- a/equinix_metal/docs/PaymentMethodCreateInput.md +++ b/equinix_metal/docs/PaymentMethodCreateInput.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.payment_method_create_input import PaymentMethodCreateInput +from equinix_metal_t0mk.models.payment_method_create_input import PaymentMethodCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PaymentMethodList.md b/equinix_metal/docs/PaymentMethodList.md index 550b9b1c..a9df2060 100644 --- a/equinix_metal/docs/PaymentMethodList.md +++ b/equinix_metal/docs/PaymentMethodList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.payment_method_list import PaymentMethodList +from equinix_metal_t0mk.models.payment_method_list import PaymentMethodList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PaymentMethodUpdateInput.md b/equinix_metal/docs/PaymentMethodUpdateInput.md index 42875621..a93fe7c4 100644 --- a/equinix_metal/docs/PaymentMethodUpdateInput.md +++ b/equinix_metal/docs/PaymentMethodUpdateInput.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.payment_method_update_input import PaymentMethodUpdateInput +from equinix_metal_t0mk.models.payment_method_update_input import PaymentMethodUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PaymentMethodsApi.md b/equinix_metal/docs/PaymentMethodsApi.md index 51cb2f27..c5ad29c3 100644 --- a/equinix_metal/docs/PaymentMethodsApi.md +++ b/equinix_metal/docs/PaymentMethodsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.PaymentMethodsApi +# equinix_metal_t0mk.PaymentMethodsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -22,13 +22,13 @@ Deletes the payment method. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -44,9 +44,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PaymentMethodsApi(api_client) + api_instance = equinix_metal_t0mk.PaymentMethodsApi(api_client) id = 'id_example' # str | Payment Method UUID try: @@ -99,14 +99,14 @@ Returns a payment method ```python import time import os -import equinix_metal -from equinix_metal.models.payment_method import PaymentMethod -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.payment_method import PaymentMethod +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -122,9 +122,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PaymentMethodsApi(api_client) + api_instance = equinix_metal_t0mk.PaymentMethodsApi(api_client) id = 'id_example' # str | Payment Method UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -181,15 +181,15 @@ Updates the payment method. ```python import time import os -import equinix_metal -from equinix_metal.models.payment_method import PaymentMethod -from equinix_metal.models.payment_method_update_input import PaymentMethodUpdateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.payment_method import PaymentMethod +from equinix_metal_t0mk.models.payment_method_update_input import PaymentMethodUpdateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -205,11 +205,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PaymentMethodsApi(api_client) + api_instance = equinix_metal_t0mk.PaymentMethodsApi(api_client) id = 'id_example' # str | Payment Method UUID - payment_method_update_input = equinix_metal.PaymentMethodUpdateInput() # PaymentMethodUpdateInput | Payment Method to update + payment_method_update_input = equinix_metal_t0mk.PaymentMethodUpdateInput() # PaymentMethodUpdateInput | Payment Method to update include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: diff --git a/equinix_metal/docs/Plan.md b/equinix_metal/docs/Plan.md index e5729a50..7f38cf5e 100644 --- a/equinix_metal/docs/Plan.md +++ b/equinix_metal/docs/Plan.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan import Plan +from equinix_metal_t0mk.models.plan import Plan # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlanAvailableInInner.md b/equinix_metal/docs/PlanAvailableInInner.md index ac8ad39a..2b425b9f 100644 --- a/equinix_metal/docs/PlanAvailableInInner.md +++ b/equinix_metal/docs/PlanAvailableInInner.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan_available_in_inner import PlanAvailableInInner +from equinix_metal_t0mk.models.plan_available_in_inner import PlanAvailableInInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlanAvailableInInnerPrice.md b/equinix_metal/docs/PlanAvailableInInnerPrice.md index 2a102c86..e9ceeea0 100644 --- a/equinix_metal/docs/PlanAvailableInInnerPrice.md +++ b/equinix_metal/docs/PlanAvailableInInnerPrice.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan_available_in_inner_price import PlanAvailableInInnerPrice +from equinix_metal_t0mk.models.plan_available_in_inner_price import PlanAvailableInInnerPrice # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlanAvailableInMetrosInner.md b/equinix_metal/docs/PlanAvailableInMetrosInner.md index c9e10ae9..07c8f04e 100644 --- a/equinix_metal/docs/PlanAvailableInMetrosInner.md +++ b/equinix_metal/docs/PlanAvailableInMetrosInner.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan_available_in_metros_inner import PlanAvailableInMetrosInner +from equinix_metal_t0mk.models.plan_available_in_metros_inner import PlanAvailableInMetrosInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlanList.md b/equinix_metal/docs/PlanList.md index e7a05afa..947feee3 100644 --- a/equinix_metal/docs/PlanList.md +++ b/equinix_metal/docs/PlanList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan_list import PlanList +from equinix_metal_t0mk.models.plan_list import PlanList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlanSpecs.md b/equinix_metal/docs/PlanSpecs.md index c8e2a0c6..e10f852d 100644 --- a/equinix_metal/docs/PlanSpecs.md +++ b/equinix_metal/docs/PlanSpecs.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan_specs import PlanSpecs +from equinix_metal_t0mk.models.plan_specs import PlanSpecs # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlanSpecsCpusInner.md b/equinix_metal/docs/PlanSpecsCpusInner.md index f77371b7..d520e8dd 100644 --- a/equinix_metal/docs/PlanSpecsCpusInner.md +++ b/equinix_metal/docs/PlanSpecsCpusInner.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan_specs_cpus_inner import PlanSpecsCpusInner +from equinix_metal_t0mk.models.plan_specs_cpus_inner import PlanSpecsCpusInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlanSpecsDrivesInner.md b/equinix_metal/docs/PlanSpecsDrivesInner.md index fe00599a..be62a91b 100644 --- a/equinix_metal/docs/PlanSpecsDrivesInner.md +++ b/equinix_metal/docs/PlanSpecsDrivesInner.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan_specs_drives_inner import PlanSpecsDrivesInner +from equinix_metal_t0mk.models.plan_specs_drives_inner import PlanSpecsDrivesInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlanSpecsFeatures.md b/equinix_metal/docs/PlanSpecsFeatures.md index 9a84f84b..5d2b2e3b 100644 --- a/equinix_metal/docs/PlanSpecsFeatures.md +++ b/equinix_metal/docs/PlanSpecsFeatures.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan_specs_features import PlanSpecsFeatures +from equinix_metal_t0mk.models.plan_specs_features import PlanSpecsFeatures # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlanSpecsMemory.md b/equinix_metal/docs/PlanSpecsMemory.md index b65f6e16..9e5bd28c 100644 --- a/equinix_metal/docs/PlanSpecsMemory.md +++ b/equinix_metal/docs/PlanSpecsMemory.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan_specs_memory import PlanSpecsMemory +from equinix_metal_t0mk.models.plan_specs_memory import PlanSpecsMemory # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlanSpecsNicsInner.md b/equinix_metal/docs/PlanSpecsNicsInner.md index 613d217d..4e01e92b 100644 --- a/equinix_metal/docs/PlanSpecsNicsInner.md +++ b/equinix_metal/docs/PlanSpecsNicsInner.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.plan_specs_nics_inner import PlanSpecsNicsInner +from equinix_metal_t0mk.models.plan_specs_nics_inner import PlanSpecsNicsInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PlansApi.md b/equinix_metal/docs/PlansApi.md index e0ff7766..876a8217 100644 --- a/equinix_metal/docs/PlansApi.md +++ b/equinix_metal/docs/PlansApi.md @@ -1,4 +1,4 @@ -# equinix_metal.PlansApi +# equinix_metal_t0mk.PlansApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -21,14 +21,14 @@ Provides a listing of available plans to provision your device on. ```python import time import os -import equinix_metal -from equinix_metal.models.plan_list import PlanList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_list import PlanList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -44,9 +44,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PlansApi(api_client) + api_instance = equinix_metal_t0mk.PlansApi(api_client) categories = ['categories_example'] # List[str] | Filter plans by its category (optional) type = 'standard' # str | Filter plans by its plan type (optional) slug = 'c3.small.x86' # str | Filter plans by slug (optional) @@ -108,14 +108,14 @@ Returns a listing of available plans for the given project ```python import time import os -import equinix_metal -from equinix_metal.models.plan_list import PlanList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_list import PlanList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -131,9 +131,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PlansApi(api_client) + api_instance = equinix_metal_t0mk.PlansApi(api_client) id = 'id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/Port.md b/equinix_metal/docs/Port.md index b4fae0de..f275e4c0 100644 --- a/equinix_metal/docs/Port.md +++ b/equinix_metal/docs/Port.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port import Port +from equinix_metal_t0mk.models.port import Port # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortAssignInput.md b/equinix_metal/docs/PortAssignInput.md index 591d5a7d..832b0ea3 100644 --- a/equinix_metal/docs/PortAssignInput.md +++ b/equinix_metal/docs/PortAssignInput.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_assign_input import PortAssignInput +from equinix_metal_t0mk.models.port_assign_input import PortAssignInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortConvertLayer3Input.md b/equinix_metal/docs/PortConvertLayer3Input.md index 624c5e77..683ba3a8 100644 --- a/equinix_metal/docs/PortConvertLayer3Input.md +++ b/equinix_metal/docs/PortConvertLayer3Input.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_convert_layer3_input import PortConvertLayer3Input +from equinix_metal_t0mk.models.port_convert_layer3_input import PortConvertLayer3Input # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortConvertLayer3InputRequestIpsInner.md b/equinix_metal/docs/PortConvertLayer3InputRequestIpsInner.md index 42d68916..f054e387 100644 --- a/equinix_metal/docs/PortConvertLayer3InputRequestIpsInner.md +++ b/equinix_metal/docs/PortConvertLayer3InputRequestIpsInner.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_convert_layer3_input_request_ips_inner import PortConvertLayer3InputRequestIpsInner +from equinix_metal_t0mk.models.port_convert_layer3_input_request_ips_inner import PortConvertLayer3InputRequestIpsInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortData.md b/equinix_metal/docs/PortData.md index e6dab708..7d1c3d8f 100644 --- a/equinix_metal/docs/PortData.md +++ b/equinix_metal/docs/PortData.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_data import PortData +from equinix_metal_t0mk.models.port_data import PortData # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortVlanAssignment.md b/equinix_metal/docs/PortVlanAssignment.md index 24cca4d2..5efba70c 100644 --- a/equinix_metal/docs/PortVlanAssignment.md +++ b/equinix_metal/docs/PortVlanAssignment.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_vlan_assignment import PortVlanAssignment +from equinix_metal_t0mk.models.port_vlan_assignment import PortVlanAssignment # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortVlanAssignmentBatch.md b/equinix_metal/docs/PortVlanAssignmentBatch.md index 31b69d43..9a9f4faf 100644 --- a/equinix_metal/docs/PortVlanAssignmentBatch.md +++ b/equinix_metal/docs/PortVlanAssignmentBatch.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_vlan_assignment_batch import PortVlanAssignmentBatch +from equinix_metal_t0mk.models.port_vlan_assignment_batch import PortVlanAssignmentBatch # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortVlanAssignmentBatchCreateInput.md b/equinix_metal/docs/PortVlanAssignmentBatchCreateInput.md index f18572bd..d90e5181 100644 --- a/equinix_metal/docs/PortVlanAssignmentBatchCreateInput.md +++ b/equinix_metal/docs/PortVlanAssignmentBatchCreateInput.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortVlanAssignmentBatchCreateInputVlanAssignmentsInner.md b/equinix_metal/docs/PortVlanAssignmentBatchCreateInputVlanAssignmentsInner.md index 771a784d..1c3684f3 100644 --- a/equinix_metal/docs/PortVlanAssignmentBatchCreateInputVlanAssignmentsInner.md +++ b/equinix_metal/docs/PortVlanAssignmentBatchCreateInputVlanAssignmentsInner.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner import PortVlanAssignmentBatchCreateInputVlanAssignmentsInner +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner import PortVlanAssignmentBatchCreateInputVlanAssignmentsInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortVlanAssignmentBatchList.md b/equinix_metal/docs/PortVlanAssignmentBatchList.md index c63a1525..5d39085f 100644 --- a/equinix_metal/docs/PortVlanAssignmentBatchList.md +++ b/equinix_metal/docs/PortVlanAssignmentBatchList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList +from equinix_metal_t0mk.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortVlanAssignmentBatchVlanAssignmentsInner.md b/equinix_metal/docs/PortVlanAssignmentBatchVlanAssignmentsInner.md index 1a1ee424..8421c5c6 100644 --- a/equinix_metal/docs/PortVlanAssignmentBatchVlanAssignmentsInner.md +++ b/equinix_metal/docs/PortVlanAssignmentBatchVlanAssignmentsInner.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_vlan_assignment_batch_vlan_assignments_inner import PortVlanAssignmentBatchVlanAssignmentsInner +from equinix_metal_t0mk.models.port_vlan_assignment_batch_vlan_assignments_inner import PortVlanAssignmentBatchVlanAssignmentsInner # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortVlanAssignmentList.md b/equinix_metal/docs/PortVlanAssignmentList.md index cae26a1c..b2d7f88b 100644 --- a/equinix_metal/docs/PortVlanAssignmentList.md +++ b/equinix_metal/docs/PortVlanAssignmentList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.port_vlan_assignment_list import PortVlanAssignmentList +from equinix_metal_t0mk.models.port_vlan_assignment_list import PortVlanAssignmentList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/PortsApi.md b/equinix_metal/docs/PortsApi.md index 617907ce..461bb976 100644 --- a/equinix_metal/docs/PortsApi.md +++ b/equinix_metal/docs/PortsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.PortsApi +# equinix_metal_t0mk.PortsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -33,14 +33,14 @@ Sets a virtual network on this port as a \"native VLAN\". The VLAN must have alr ```python import time import os -import equinix_metal -from equinix_metal.models.port import Port -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -56,9 +56,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID vnid = 'vnid_example' # str | Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001'). include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -118,15 +118,15 @@ Assign a hardware port to a virtual network. ```python import time import os -import equinix_metal -from equinix_metal.models.port import Port -from equinix_metal.models.port_assign_input import PortAssignInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.models.port_assign_input import PortAssignInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -142,11 +142,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID - port_assign_input = equinix_metal.PortAssignInput() # PortAssignInput | Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001'). + port_assign_input = equinix_metal_t0mk.PortAssignInput() # PortAssignInput | Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001'). include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -205,14 +205,14 @@ Enabling bonding for one or all ports ```python import time import os -import equinix_metal -from equinix_metal.models.port import Port -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -228,9 +228,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID bulk_enable = True # bool | enable both ports (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -291,15 +291,15 @@ Converts a bond port to Layer 2. IP assignments of the port will be removed. ```python import time import os -import equinix_metal -from equinix_metal.models.port import Port -from equinix_metal.models.port_assign_input import PortAssignInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.models.port_assign_input import PortAssignInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -315,11 +315,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID - port_assign_input = equinix_metal.PortAssignInput() # PortAssignInput | Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001'). + port_assign_input = equinix_metal_t0mk.PortAssignInput() # PortAssignInput | Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001'). include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -378,15 +378,15 @@ Converts a bond port to Layer 3. VLANs must first be unassigned. ```python import time import os -import equinix_metal -from equinix_metal.models.port import Port -from equinix_metal.models.port_convert_layer3_input import PortConvertLayer3Input -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.models.port_convert_layer3_input import PortConvertLayer3Input +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -402,12 +402,12 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) - port_convert_layer3_input = equinix_metal.PortConvertLayer3Input() # PortConvertLayer3Input | IPs to request (optional) + port_convert_layer3_input = equinix_metal_t0mk.PortConvertLayer3Input() # PortConvertLayer3Input | IPs to request (optional) try: # Convert to Layer 3 @@ -465,15 +465,15 @@ Create a new asynchronous batch request which handles adding and/or removing the ```python import time import os -import equinix_metal -from equinix_metal.models.port_vlan_assignment_batch import PortVlanAssignmentBatch -from equinix_metal.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment_batch import PortVlanAssignmentBatch +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -489,11 +489,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID - port_vlan_assignment_batch_create_input = equinix_metal.PortVlanAssignmentBatchCreateInput() # PortVlanAssignmentBatchCreateInput | VLAN Assignment batch details + port_vlan_assignment_batch_create_input = equinix_metal_t0mk.PortVlanAssignmentBatchCreateInput() # PortVlanAssignmentBatchCreateInput | VLAN Assignment batch details include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -552,14 +552,14 @@ Removes the native VLAN from this port ```python import time import os -import equinix_metal -from equinix_metal.models.port import Port -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -575,9 +575,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -635,14 +635,14 @@ Disabling bonding for one or all ports ```python import time import os -import equinix_metal -from equinix_metal.models.port import Port -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -658,9 +658,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID bulk_disable = True # bool | disable both ports (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -721,14 +721,14 @@ Returns a port ```python import time import os -import equinix_metal -from equinix_metal.models.port import Port -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -744,9 +744,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -803,14 +803,14 @@ Returns the details of an existing Port-VLAN Assignment batch, including the lis ```python import time import os -import equinix_metal -from equinix_metal.models.port_vlan_assignment_batch import PortVlanAssignmentBatch -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment_batch import PortVlanAssignmentBatch +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -826,9 +826,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID batch_id = 'batch_id_example' # str | Batch ID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -888,14 +888,14 @@ Show all the VLAN assignment batches that have been created for managing this po ```python import time import os -import equinix_metal -from equinix_metal.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -911,9 +911,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID try: @@ -969,14 +969,14 @@ Show the details of a specific Port-VLAN assignment, including the current state ```python import time import os -import equinix_metal -from equinix_metal.models.port_vlan_assignment import PortVlanAssignment -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment import PortVlanAssignment +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -992,9 +992,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID assignment_id = 'assignment_id_example' # str | Assignment ID include = ["port","virtual_network"] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) (default to ["port","virtual_network"]) @@ -1054,14 +1054,14 @@ Show the port's current VLAN assignments, including if this VLAN is set as nativ ```python import time import os -import equinix_metal -from equinix_metal.models.port_vlan_assignment_list import PortVlanAssignmentList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment_list import PortVlanAssignmentList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1077,9 +1077,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID include = ["port","virtual_network"] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) (default to ["port","virtual_network"]) @@ -1137,15 +1137,15 @@ Unassign a port for a hardware. ```python import time import os -import equinix_metal -from equinix_metal.models.port import Port -from equinix_metal.models.port_assign_input import PortAssignInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.models.port_assign_input import PortAssignInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1161,11 +1161,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.PortsApi(api_client) + api_instance = equinix_metal_t0mk.PortsApi(api_client) id = 'id_example' # str | Port UUID - port_assign_input = equinix_metal.PortAssignInput() # PortAssignInput | Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001'). + port_assign_input = equinix_metal_t0mk.PortAssignInput() # PortAssignInput | Virtual Network ID. May be the UUID of the Virtual Network record, or the VLAN value itself (ex: '1001'). include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: diff --git a/equinix_metal/docs/Project.md b/equinix_metal/docs/Project.md index e3822b54..610e777a 100644 --- a/equinix_metal/docs/Project.md +++ b/equinix_metal/docs/Project.md @@ -28,7 +28,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.project import Project +from equinix_metal_t0mk.models.project import Project # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/ProjectCreateFromRootInput.md b/equinix_metal/docs/ProjectCreateFromRootInput.md index 20c7cfaa..daed9dd1 100644 --- a/equinix_metal/docs/ProjectCreateFromRootInput.md +++ b/equinix_metal/docs/ProjectCreateFromRootInput.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.project_create_from_root_input import ProjectCreateFromRootInput +from equinix_metal_t0mk.models.project_create_from_root_input import ProjectCreateFromRootInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/ProjectCreateInput.md b/equinix_metal/docs/ProjectCreateInput.md index 6778bebc..7e582070 100644 --- a/equinix_metal/docs/ProjectCreateInput.md +++ b/equinix_metal/docs/ProjectCreateInput.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.project_create_input import ProjectCreateInput +from equinix_metal_t0mk.models.project_create_input import ProjectCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/ProjectIdName.md b/equinix_metal/docs/ProjectIdName.md index c8d98fc3..1e40a62b 100644 --- a/equinix_metal/docs/ProjectIdName.md +++ b/equinix_metal/docs/ProjectIdName.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.project_id_name import ProjectIdName +from equinix_metal_t0mk.models.project_id_name import ProjectIdName # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/ProjectList.md b/equinix_metal/docs/ProjectList.md index a047b22e..aaf7a6be 100644 --- a/equinix_metal/docs/ProjectList.md +++ b/equinix_metal/docs/ProjectList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.project_list import ProjectList +from equinix_metal_t0mk.models.project_list import ProjectList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/ProjectUpdateInput.md b/equinix_metal/docs/ProjectUpdateInput.md index bf061262..10947be1 100644 --- a/equinix_metal/docs/ProjectUpdateInput.md +++ b/equinix_metal/docs/ProjectUpdateInput.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.project_update_input import ProjectUpdateInput +from equinix_metal_t0mk.models.project_update_input import ProjectUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/ProjectUsage.md b/equinix_metal/docs/ProjectUsage.md index 2981c1c9..7a7dad1d 100644 --- a/equinix_metal/docs/ProjectUsage.md +++ b/equinix_metal/docs/ProjectUsage.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.project_usage import ProjectUsage +from equinix_metal_t0mk.models.project_usage import ProjectUsage # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/ProjectUsageList.md b/equinix_metal/docs/ProjectUsageList.md index 5a7ae06c..0e5918c9 100644 --- a/equinix_metal/docs/ProjectUsageList.md +++ b/equinix_metal/docs/ProjectUsageList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.project_usage_list import ProjectUsageList +from equinix_metal_t0mk.models.project_usage_list import ProjectUsageList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/ProjectsApi.md b/equinix_metal/docs/ProjectsApi.md index f88079a5..ddf36167 100644 --- a/equinix_metal/docs/ProjectsApi.md +++ b/equinix_metal/docs/ProjectsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.ProjectsApi +# equinix_metal_t0mk.ProjectsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -31,15 +31,15 @@ Creates a new project for the user default organization. If the user don't have ```python import time import os -import equinix_metal -from equinix_metal.models.project import Project -from equinix_metal.models.project_create_from_root_input import ProjectCreateFromRootInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.project_create_from_root_input import ProjectCreateFromRootInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -55,10 +55,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) - project_create_from_root_input = equinix_metal.ProjectCreateFromRootInput() # ProjectCreateFromRootInput | Project to create + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) + project_create_from_root_input = equinix_metal_t0mk.ProjectCreateFromRootInput() # ProjectCreateFromRootInput | Project to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -116,15 +116,15 @@ In order to add a user to a project, they must first be invited. ```python import time import os -import equinix_metal -from equinix_metal.models.invitation import Invitation -from equinix_metal.models.invitation_input import InvitationInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invitation import Invitation +from equinix_metal_t0mk.models.invitation_input import InvitationInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -140,11 +140,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) project_id = 'project_id_example' # str | Project UUID - invitation_input = equinix_metal.InvitationInput() # InvitationInput | Invitation to create + invitation_input = equinix_metal_t0mk.InvitationInput() # InvitationInput | Invitation to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -203,15 +203,15 @@ Organization owners can transfer their projects to other organizations. ```python import time import os -import equinix_metal -from equinix_metal.models.transfer_request import TransferRequest -from equinix_metal.models.transfer_request_input import TransferRequestInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.transfer_request import TransferRequest +from equinix_metal_t0mk.models.transfer_request_input import TransferRequestInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -227,11 +227,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) id = 'id_example' # str | UUID of the project to be transferred - transfer_request_input = equinix_metal.TransferRequestInput() # TransferRequestInput | Transfer Request to create + transfer_request_input = equinix_metal_t0mk.TransferRequestInput() # TransferRequestInput | Transfer Request to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -290,13 +290,13 @@ Deletes the project. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -312,9 +312,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) id = 'id_example' # str | Project UUID try: @@ -368,13 +368,13 @@ Provides the custom metadata stored for this IP Reservation in json format ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -390,9 +390,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) project_id = 'project_id_example' # str | Project UUID id = 'id_example' # str | Ip Reservation UUID @@ -448,14 +448,14 @@ Returns a single project if the user has access ```python import time import os -import equinix_metal -from equinix_metal.models.project import Project -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -471,9 +471,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) id = 'id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -533,13 +533,13 @@ Provides the custom metadata stored for this project in json format ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -555,9 +555,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) id = 'id_example' # str | Project UUID try: @@ -611,14 +611,14 @@ Returns all invitations in a project. ```python import time import os -import equinix_metal -from equinix_metal.models.invitation_list import InvitationList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invitation_list import InvitationList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -634,9 +634,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) project_id = 'project_id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) page = 1 # int | Page to return (optional) (default to 1) @@ -698,14 +698,14 @@ Returns all memberships in a project. ```python import time import os -import equinix_metal -from equinix_metal.models.membership_list import MembershipList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.membership_list import MembershipList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -721,9 +721,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) project_id = 'project_id_example' # str | Project UUID search = 'search_example' # str | Search by member full name, id and email. (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -787,14 +787,14 @@ Returns a collection of projects that the current user is a member of. ```python import time import os -import equinix_metal -from equinix_metal.models.project_list import ProjectList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project_list import ProjectList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -810,9 +810,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) name = 'name_example' # str | Filter results by name. (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -879,15 +879,15 @@ Updates the project. ```python import time import os -import equinix_metal -from equinix_metal.models.project import Project -from equinix_metal.models.project_update_input import ProjectUpdateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.project_update_input import ProjectUpdateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -903,11 +903,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.ProjectsApi(api_client) + api_instance = equinix_metal_t0mk.ProjectsApi(api_client) id = 'id_example' # str | Project UUID - project_update_input = equinix_metal.ProjectUpdateInput() # ProjectUpdateInput | Project to update + project_update_input = equinix_metal_t0mk.ProjectUpdateInput() # ProjectUpdateInput | Project to update include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/Raid.md b/equinix_metal/docs/Raid.md index c8aec72b..64c5b78a 100644 --- a/equinix_metal/docs/Raid.md +++ b/equinix_metal/docs/Raid.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.raid import Raid +from equinix_metal_t0mk.models.raid import Raid # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/RecoveryCodeList.md b/equinix_metal/docs/RecoveryCodeList.md index bf5a5044..1ac5a67d 100644 --- a/equinix_metal/docs/RecoveryCodeList.md +++ b/equinix_metal/docs/RecoveryCodeList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.recovery_code_list import RecoveryCodeList +from equinix_metal_t0mk.models.recovery_code_list import RecoveryCodeList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/RequestIPReservation201Response.md b/equinix_metal/docs/RequestIPReservation201Response.md index ed305a1a..3f14ebc3 100644 --- a/equinix_metal/docs/RequestIPReservation201Response.md +++ b/equinix_metal/docs/RequestIPReservation201Response.md @@ -39,7 +39,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.request_ip_reservation201_response import RequestIPReservation201Response +from equinix_metal_t0mk.models.request_ip_reservation201_response import RequestIPReservation201Response # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/RequestIPReservationRequest.md b/equinix_metal/docs/RequestIPReservationRequest.md index 8516d43b..ae826b4a 100644 --- a/equinix_metal/docs/RequestIPReservationRequest.md +++ b/equinix_metal/docs/RequestIPReservationRequest.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.request_ip_reservation_request import RequestIPReservationRequest +from equinix_metal_t0mk.models.request_ip_reservation_request import RequestIPReservationRequest # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SSHKey.md b/equinix_metal/docs/SSHKey.md index cd713bc0..ea7e0bb5 100644 --- a/equinix_metal/docs/SSHKey.md +++ b/equinix_metal/docs/SSHKey.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ssh_key import SSHKey +from equinix_metal_t0mk.models.ssh_key import SSHKey # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SSHKeyCreateInput.md b/equinix_metal/docs/SSHKeyCreateInput.md index 5207e9b2..24083580 100644 --- a/equinix_metal/docs/SSHKeyCreateInput.md +++ b/equinix_metal/docs/SSHKeyCreateInput.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ssh_key_create_input import SSHKeyCreateInput +from equinix_metal_t0mk.models.ssh_key_create_input import SSHKeyCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SSHKeyInput.md b/equinix_metal/docs/SSHKeyInput.md index 555488e0..a27a70c3 100644 --- a/equinix_metal/docs/SSHKeyInput.md +++ b/equinix_metal/docs/SSHKeyInput.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ssh_key_input import SSHKeyInput +from equinix_metal_t0mk.models.ssh_key_input import SSHKeyInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SSHKeyList.md b/equinix_metal/docs/SSHKeyList.md index e7057bfa..10266ae2 100644 --- a/equinix_metal/docs/SSHKeyList.md +++ b/equinix_metal/docs/SSHKeyList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.ssh_key_list import SSHKeyList +from equinix_metal_t0mk.models.ssh_key_list import SSHKeyList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SSHKeysApi.md b/equinix_metal/docs/SSHKeysApi.md index 0aa567fc..f42321f1 100644 --- a/equinix_metal/docs/SSHKeysApi.md +++ b/equinix_metal/docs/SSHKeysApi.md @@ -1,4 +1,4 @@ -# equinix_metal.SSHKeysApi +# equinix_metal_t0mk.SSHKeysApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -27,15 +27,15 @@ Creates a ssh key. ```python import time import os -import equinix_metal -from equinix_metal.models.ssh_key import SSHKey -from equinix_metal.models.ssh_key_create_input import SSHKeyCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key import SSHKey +from equinix_metal_t0mk.models.ssh_key_create_input import SSHKeyCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -51,11 +51,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SSHKeysApi(api_client) + api_instance = equinix_metal_t0mk.SSHKeysApi(api_client) id = 'id_example' # str | Project UUID - ssh_key_create_input = equinix_metal.SSHKeyCreateInput() # SSHKeyCreateInput | ssh key to create + ssh_key_create_input = equinix_metal_t0mk.SSHKeyCreateInput() # SSHKeyCreateInput | ssh key to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -112,15 +112,15 @@ Creates a ssh key. ```python import time import os -import equinix_metal -from equinix_metal.models.ssh_key import SSHKey -from equinix_metal.models.ssh_key_create_input import SSHKeyCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key import SSHKey +from equinix_metal_t0mk.models.ssh_key_create_input import SSHKeyCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -136,10 +136,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SSHKeysApi(api_client) - ssh_key_create_input = equinix_metal.SSHKeyCreateInput() # SSHKeyCreateInput | ssh key to create + api_instance = equinix_metal_t0mk.SSHKeysApi(api_client) + ssh_key_create_input = equinix_metal_t0mk.SSHKeyCreateInput() # SSHKeyCreateInput | ssh key to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -195,13 +195,13 @@ Deletes the ssh key. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -217,9 +217,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SSHKeysApi(api_client) + api_instance = equinix_metal_t0mk.SSHKeysApi(api_client) id = 'id_example' # str | ssh key UUID try: @@ -273,14 +273,14 @@ Returns a collection of the device's ssh keys. ```python import time import os -import equinix_metal -from equinix_metal.models.ssh_key_list import SSHKeyList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key_list import SSHKeyList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -296,9 +296,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SSHKeysApi(api_client) + api_instance = equinix_metal_t0mk.SSHKeysApi(api_client) id = 'id_example' # str | Project UUID search_string = 'search_string_example' # str | Search by key, label, or fingerprint (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -356,14 +356,14 @@ Returns a collection of the project's ssh keys. ```python import time import os -import equinix_metal -from equinix_metal.models.ssh_key_list import SSHKeyList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key_list import SSHKeyList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -379,9 +379,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SSHKeysApi(api_client) + api_instance = equinix_metal_t0mk.SSHKeysApi(api_client) id = 'id_example' # str | Project UUID query = 'query_example' # str | Search by key, label, or fingerprint (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -439,14 +439,14 @@ Returns a single ssh key if the user has access ```python import time import os -import equinix_metal -from equinix_metal.models.ssh_key import SSHKey -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key import SSHKey +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -462,9 +462,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SSHKeysApi(api_client) + api_instance = equinix_metal_t0mk.SSHKeysApi(api_client) id = 'id_example' # str | SSH Key UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -522,14 +522,14 @@ Returns a collection of the user’s ssh keys. ```python import time import os -import equinix_metal -from equinix_metal.models.ssh_key_list import SSHKeyList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key_list import SSHKeyList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -545,9 +545,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SSHKeysApi(api_client) + api_instance = equinix_metal_t0mk.SSHKeysApi(api_client) search = 'search_example' # str | Search by key, label, or fingerprint (optional) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -603,15 +603,15 @@ Updates the ssh key. ```python import time import os -import equinix_metal -from equinix_metal.models.ssh_key import SSHKey -from equinix_metal.models.ssh_key_input import SSHKeyInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key import SSHKey +from equinix_metal_t0mk.models.ssh_key_input import SSHKeyInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -627,11 +627,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SSHKeysApi(api_client) + api_instance = equinix_metal_t0mk.SSHKeysApi(api_client) id = 'id_example' # str | SSH Key UUID - ssh_key_input = equinix_metal.SSHKeyInput() # SSHKeyInput | ssh key to update + ssh_key_input = equinix_metal_t0mk.SSHKeyInput() # SSHKeyInput | ssh key to update include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: diff --git a/equinix_metal/docs/SelfServiceReservationItemRequest.md b/equinix_metal/docs/SelfServiceReservationItemRequest.md index 6df69bc2..31f04306 100644 --- a/equinix_metal/docs/SelfServiceReservationItemRequest.md +++ b/equinix_metal/docs/SelfServiceReservationItemRequest.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.self_service_reservation_item_request import SelfServiceReservationItemRequest +from equinix_metal_t0mk.models.self_service_reservation_item_request import SelfServiceReservationItemRequest # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SelfServiceReservationItemResponse.md b/equinix_metal/docs/SelfServiceReservationItemResponse.md index 01379f60..bb8dccab 100644 --- a/equinix_metal/docs/SelfServiceReservationItemResponse.md +++ b/equinix_metal/docs/SelfServiceReservationItemResponse.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.self_service_reservation_item_response import SelfServiceReservationItemResponse +from equinix_metal_t0mk.models.self_service_reservation_item_response import SelfServiceReservationItemResponse # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SelfServiceReservationList.md b/equinix_metal/docs/SelfServiceReservationList.md index 86fb2c7f..9e3494ff 100644 --- a/equinix_metal/docs/SelfServiceReservationList.md +++ b/equinix_metal/docs/SelfServiceReservationList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.self_service_reservation_list import SelfServiceReservationList +from equinix_metal_t0mk.models.self_service_reservation_list import SelfServiceReservationList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SelfServiceReservationResponse.md b/equinix_metal/docs/SelfServiceReservationResponse.md index d0a79b63..4aac4b4e 100644 --- a/equinix_metal/docs/SelfServiceReservationResponse.md +++ b/equinix_metal/docs/SelfServiceReservationResponse.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.self_service_reservation_response import SelfServiceReservationResponse +from equinix_metal_t0mk.models.self_service_reservation_response import SelfServiceReservationResponse # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SelfServiceReservationsApi.md b/equinix_metal/docs/SelfServiceReservationsApi.md index 9ed29978..bd7f18e1 100644 --- a/equinix_metal/docs/SelfServiceReservationsApi.md +++ b/equinix_metal/docs/SelfServiceReservationsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.SelfServiceReservationsApi +# equinix_metal_t0mk.SelfServiceReservationsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -22,15 +22,15 @@ Creates a reservation. ```python import time import os -import equinix_metal -from equinix_metal.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest -from equinix_metal.models.self_service_reservation_response import SelfServiceReservationResponse -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest +from equinix_metal_t0mk.models.self_service_reservation_response import SelfServiceReservationResponse +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -46,11 +46,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SelfServiceReservationsApi(api_client) + api_instance = equinix_metal_t0mk.SelfServiceReservationsApi(api_client) project_id = 'project_id_example' # str | Project UUID - create_self_service_reservation_request = equinix_metal.CreateSelfServiceReservationRequest() # CreateSelfServiceReservationRequest | reservation to create + create_self_service_reservation_request = equinix_metal_t0mk.CreateSelfServiceReservationRequest() # CreateSelfServiceReservationRequest | reservation to create try: # Create a reservation @@ -105,14 +105,14 @@ Returns a reservation ```python import time import os -import equinix_metal -from equinix_metal.models.self_service_reservation_response import SelfServiceReservationResponse -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.self_service_reservation_response import SelfServiceReservationResponse +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -128,9 +128,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SelfServiceReservationsApi(api_client) + api_instance = equinix_metal_t0mk.SelfServiceReservationsApi(api_client) id = 'id_example' # str | Reservation short_id project_id = 'project_id_example' # str | Project UUID @@ -187,14 +187,14 @@ Returns all reservations. ```python import time import os -import equinix_metal -from equinix_metal.models.self_service_reservation_list import SelfServiceReservationList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.self_service_reservation_list import SelfServiceReservationList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -210,9 +210,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SelfServiceReservationsApi(api_client) + api_instance = equinix_metal_t0mk.SelfServiceReservationsApi(api_client) project_id = 'project_id_example' # str | Project UUID page = 1 # int | Page to return (optional) (default to 1) per_page = 10 # int | Items returned per page (optional) (default to 10) diff --git a/equinix_metal/docs/ServerInfo.md b/equinix_metal/docs/ServerInfo.md index 22902923..4165cad0 100644 --- a/equinix_metal/docs/ServerInfo.md +++ b/equinix_metal/docs/ServerInfo.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.server_info import ServerInfo +from equinix_metal_t0mk.models.server_info import ServerInfo # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotMarketApi.md b/equinix_metal/docs/SpotMarketApi.md index ca455c2e..2cc63068 100644 --- a/equinix_metal/docs/SpotMarketApi.md +++ b/equinix_metal/docs/SpotMarketApi.md @@ -1,4 +1,4 @@ -# equinix_metal.SpotMarketApi +# equinix_metal_t0mk.SpotMarketApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -26,15 +26,15 @@ Creates a new spot market request. Type-specific options (such as operating_sys ```python import time import os -import equinix_metal -from equinix_metal.models.spot_market_request import SpotMarketRequest -from equinix_metal.models.spot_market_request_create_input import SpotMarketRequestCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_request import SpotMarketRequest +from equinix_metal_t0mk.models.spot_market_request_create_input import SpotMarketRequestCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -50,11 +50,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SpotMarketApi(api_client) + api_instance = equinix_metal_t0mk.SpotMarketApi(api_client) id = 'id_example' # str | Project UUID - spot_market_request_create_input = equinix_metal.SpotMarketRequestCreateInput() # SpotMarketRequestCreateInput | Spot Market Request to create + spot_market_request_create_input = equinix_metal_t0mk.SpotMarketRequestCreateInput() # SpotMarketRequestCreateInput | Spot Market Request to create try: # Create a spot market request @@ -110,13 +110,13 @@ Deletes the spot market request. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -132,9 +132,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SpotMarketApi(api_client) + api_instance = equinix_metal_t0mk.SpotMarketApi(api_client) id = 'id_example' # str | SpotMarketRequest UUID force_termination = True # bool | Terminate associated spot instances (optional) @@ -190,14 +190,14 @@ Get Equinix Metal current spot market prices for all metros. ```python import time import os -import equinix_metal -from equinix_metal.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -213,9 +213,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SpotMarketApi(api_client) + api_instance = equinix_metal_t0mk.SpotMarketApi(api_client) metro = 'metro_example' # str | Metro to filter spot market prices (optional) plan = 'plan_example' # str | Plan to filter spot market prices (optional) @@ -272,14 +272,14 @@ Get Equinix Metal current spot market prices. ```python import time import os -import equinix_metal -from equinix_metal.models.spot_market_prices_list import SpotMarketPricesList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_prices_list import SpotMarketPricesList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -295,9 +295,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SpotMarketApi(api_client) + api_instance = equinix_metal_t0mk.SpotMarketApi(api_client) facility = 'facility_example' # str | Facility to check spot market prices (optional) plan = 'plan_example' # str | Plan to check spot market prices (optional) @@ -354,14 +354,14 @@ Get spot market prices for a given plan and facility in a fixed period of time ```python import time import os -import equinix_metal -from equinix_metal.models.spot_prices_history_report import SpotPricesHistoryReport -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_prices_history_report import SpotPricesHistoryReport +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -377,9 +377,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SpotMarketApi(api_client) + api_instance = equinix_metal_t0mk.SpotMarketApi(api_client) facility = 'facility_example' # str | Facility to check spot market prices plan = 'plan_example' # str | Plan to check spot market prices var_from = 'var_from_example' # str | Timestamp from range @@ -442,14 +442,14 @@ Returns a single spot market request ```python import time import os -import equinix_metal -from equinix_metal.models.spot_market_request import SpotMarketRequest -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_request import SpotMarketRequest +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -465,9 +465,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SpotMarketApi(api_client) + api_instance = equinix_metal_t0mk.SpotMarketApi(api_client) id = 'id_example' # str | SpotMarketRequest UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -525,14 +525,14 @@ View all spot market requests for a given project. ```python import time import os -import equinix_metal -from equinix_metal.models.spot_market_request_list import SpotMarketRequestList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_request_list import SpotMarketRequestList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -548,9 +548,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SpotMarketApi(api_client) + api_instance = equinix_metal_t0mk.SpotMarketApi(api_client) id = 'id_example' # str | Project UUID try: diff --git a/equinix_metal/docs/SpotMarketPricesList.md b/equinix_metal/docs/SpotMarketPricesList.md index 9d2f2ffc..32c60715 100644 --- a/equinix_metal/docs/SpotMarketPricesList.md +++ b/equinix_metal/docs/SpotMarketPricesList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_market_prices_list import SpotMarketPricesList +from equinix_metal_t0mk.models.spot_market_prices_list import SpotMarketPricesList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotMarketPricesPerMetroList.md b/equinix_metal/docs/SpotMarketPricesPerMetroList.md index b89e6c2a..c4ee7dd0 100644 --- a/equinix_metal/docs/SpotMarketPricesPerMetroList.md +++ b/equinix_metal/docs/SpotMarketPricesPerMetroList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList +from equinix_metal_t0mk.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotMarketPricesPerMetroReport.md b/equinix_metal/docs/SpotMarketPricesPerMetroReport.md index 2388e132..e6d05180 100644 --- a/equinix_metal/docs/SpotMarketPricesPerMetroReport.md +++ b/equinix_metal/docs/SpotMarketPricesPerMetroReport.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_market_prices_per_metro_report import SpotMarketPricesPerMetroReport +from equinix_metal_t0mk.models.spot_market_prices_per_metro_report import SpotMarketPricesPerMetroReport # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotMarketRequest.md b/equinix_metal/docs/SpotMarketRequest.md index 6c6adb80..bae86522 100644 --- a/equinix_metal/docs/SpotMarketRequest.md +++ b/equinix_metal/docs/SpotMarketRequest.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_market_request import SpotMarketRequest +from equinix_metal_t0mk.models.spot_market_request import SpotMarketRequest # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotMarketRequestCreateInput.md b/equinix_metal/docs/SpotMarketRequestCreateInput.md index e24a5eea..5ea6ae2f 100644 --- a/equinix_metal/docs/SpotMarketRequestCreateInput.md +++ b/equinix_metal/docs/SpotMarketRequestCreateInput.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_market_request_create_input import SpotMarketRequestCreateInput +from equinix_metal_t0mk.models.spot_market_request_create_input import SpotMarketRequestCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotMarketRequestCreateInputInstanceParameters.md b/equinix_metal/docs/SpotMarketRequestCreateInputInstanceParameters.md index 1b0cf4b4..d0ddf1c8 100644 --- a/equinix_metal/docs/SpotMarketRequestCreateInputInstanceParameters.md +++ b/equinix_metal/docs/SpotMarketRequestCreateInputInstanceParameters.md @@ -27,7 +27,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_market_request_create_input_instance_parameters import SpotMarketRequestCreateInputInstanceParameters +from equinix_metal_t0mk.models.spot_market_request_create_input_instance_parameters import SpotMarketRequestCreateInputInstanceParameters # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotMarketRequestList.md b/equinix_metal/docs/SpotMarketRequestList.md index 932907ee..cb486eb1 100644 --- a/equinix_metal/docs/SpotMarketRequestList.md +++ b/equinix_metal/docs/SpotMarketRequestList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_market_request_list import SpotMarketRequestList +from equinix_metal_t0mk.models.spot_market_request_list import SpotMarketRequestList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotMarketRequestMetro.md b/equinix_metal/docs/SpotMarketRequestMetro.md index 907f3a21..de42df92 100644 --- a/equinix_metal/docs/SpotMarketRequestMetro.md +++ b/equinix_metal/docs/SpotMarketRequestMetro.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_market_request_metro import SpotMarketRequestMetro +from equinix_metal_t0mk.models.spot_market_request_metro import SpotMarketRequestMetro # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotPricesDatapoints.md b/equinix_metal/docs/SpotPricesDatapoints.md index 5f2bafc9..6eb66751 100644 --- a/equinix_metal/docs/SpotPricesDatapoints.md +++ b/equinix_metal/docs/SpotPricesDatapoints.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_prices_datapoints import SpotPricesDatapoints +from equinix_metal_t0mk.models.spot_prices_datapoints import SpotPricesDatapoints # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotPricesHistoryReport.md b/equinix_metal/docs/SpotPricesHistoryReport.md index 02eac19a..92db0d4e 100644 --- a/equinix_metal/docs/SpotPricesHistoryReport.md +++ b/equinix_metal/docs/SpotPricesHistoryReport.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_prices_history_report import SpotPricesHistoryReport +from equinix_metal_t0mk.models.spot_prices_history_report import SpotPricesHistoryReport # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotPricesPerBaremetal.md b/equinix_metal/docs/SpotPricesPerBaremetal.md index 75238f9b..1999e7d2 100644 --- a/equinix_metal/docs/SpotPricesPerBaremetal.md +++ b/equinix_metal/docs/SpotPricesPerBaremetal.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_prices_per_baremetal import SpotPricesPerBaremetal +from equinix_metal_t0mk.models.spot_prices_per_baremetal import SpotPricesPerBaremetal # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotPricesPerFacility.md b/equinix_metal/docs/SpotPricesPerFacility.md index cecea574..f619ed97 100644 --- a/equinix_metal/docs/SpotPricesPerFacility.md +++ b/equinix_metal/docs/SpotPricesPerFacility.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_prices_per_facility import SpotPricesPerFacility +from equinix_metal_t0mk.models.spot_prices_per_facility import SpotPricesPerFacility # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotPricesPerNewFacility.md b/equinix_metal/docs/SpotPricesPerNewFacility.md index 62aeed78..85a7bbab 100644 --- a/equinix_metal/docs/SpotPricesPerNewFacility.md +++ b/equinix_metal/docs/SpotPricesPerNewFacility.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_prices_per_new_facility import SpotPricesPerNewFacility +from equinix_metal_t0mk.models.spot_prices_per_new_facility import SpotPricesPerNewFacility # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SpotPricesReport.md b/equinix_metal/docs/SpotPricesReport.md index 07fd0e5b..f3e37505 100644 --- a/equinix_metal/docs/SpotPricesReport.md +++ b/equinix_metal/docs/SpotPricesReport.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.spot_prices_report import SpotPricesReport +from equinix_metal_t0mk.models.spot_prices_report import SpotPricesReport # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Storage.md b/equinix_metal/docs/Storage.md index ba6b717d..a9e753d3 100644 --- a/equinix_metal/docs/Storage.md +++ b/equinix_metal/docs/Storage.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.storage import Storage +from equinix_metal_t0mk.models.storage import Storage # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/SupportRequestApi.md b/equinix_metal/docs/SupportRequestApi.md index c5062696..4df40ae7 100644 --- a/equinix_metal/docs/SupportRequestApi.md +++ b/equinix_metal/docs/SupportRequestApi.md @@ -1,4 +1,4 @@ -# equinix_metal.SupportRequestApi +# equinix_metal_t0mk.SupportRequestApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -20,14 +20,14 @@ Support Ticket. ```python import time import os -import equinix_metal -from equinix_metal.models.support_request_input import SupportRequestInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.support_request_input import SupportRequestInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -43,10 +43,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.SupportRequestApi(api_client) - support_request_input = equinix_metal.SupportRequestInput() # SupportRequestInput | Support Request to create + api_instance = equinix_metal_t0mk.SupportRequestApi(api_client) + support_request_input = equinix_metal_t0mk.SupportRequestInput() # SupportRequestInput | Support Request to create try: # Create a support ticket diff --git a/equinix_metal/docs/SupportRequestInput.md b/equinix_metal/docs/SupportRequestInput.md index f8ad747f..9afec22f 100644 --- a/equinix_metal/docs/SupportRequestInput.md +++ b/equinix_metal/docs/SupportRequestInput.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.support_request_input import SupportRequestInput +from equinix_metal_t0mk.models.support_request_input import SupportRequestInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/TransferRequest.md b/equinix_metal/docs/TransferRequest.md index 387925fa..555dfcbd 100644 --- a/equinix_metal/docs/TransferRequest.md +++ b/equinix_metal/docs/TransferRequest.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.transfer_request import TransferRequest +from equinix_metal_t0mk.models.transfer_request import TransferRequest # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/TransferRequestInput.md b/equinix_metal/docs/TransferRequestInput.md index fa91817b..88bd90a4 100644 --- a/equinix_metal/docs/TransferRequestInput.md +++ b/equinix_metal/docs/TransferRequestInput.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.transfer_request_input import TransferRequestInput +from equinix_metal_t0mk.models.transfer_request_input import TransferRequestInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/TransferRequestList.md b/equinix_metal/docs/TransferRequestList.md index e10f2782..c1a3e17d 100644 --- a/equinix_metal/docs/TransferRequestList.md +++ b/equinix_metal/docs/TransferRequestList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.transfer_request_list import TransferRequestList +from equinix_metal_t0mk.models.transfer_request_list import TransferRequestList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/TransferRequestsApi.md b/equinix_metal/docs/TransferRequestsApi.md index d510a945..d7925563 100644 --- a/equinix_metal/docs/TransferRequestsApi.md +++ b/equinix_metal/docs/TransferRequestsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.TransferRequestsApi +# equinix_metal_t0mk.TransferRequestsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -22,13 +22,13 @@ Accept a transfer request. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -44,9 +44,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.TransferRequestsApi(api_client) + api_instance = equinix_metal_t0mk.TransferRequestsApi(api_client) id = 'id_example' # str | Transfer request UUID try: @@ -100,13 +100,13 @@ Decline a transfer request. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -122,9 +122,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.TransferRequestsApi(api_client) + api_instance = equinix_metal_t0mk.TransferRequestsApi(api_client) id = 'id_example' # str | Transfer request UUID try: @@ -178,14 +178,14 @@ Returns a single transfer request. ```python import time import os -import equinix_metal -from equinix_metal.models.transfer_request import TransferRequest -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.transfer_request import TransferRequest +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -201,9 +201,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.TransferRequestsApi(api_client) + api_instance = equinix_metal_t0mk.TransferRequestsApi(api_client) id = 'id_example' # str | Transfer request UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) diff --git a/equinix_metal/docs/TwoFactorAuthApi.md b/equinix_metal/docs/TwoFactorAuthApi.md index f22318ed..d851dfee 100644 --- a/equinix_metal/docs/TwoFactorAuthApi.md +++ b/equinix_metal/docs/TwoFactorAuthApi.md @@ -1,4 +1,4 @@ -# equinix_metal.TwoFactorAuthApi +# equinix_metal_t0mk.TwoFactorAuthApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -23,13 +23,13 @@ Disables two factor authentication. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -45,9 +45,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.TwoFactorAuthApi(api_client) + api_instance = equinix_metal_t0mk.TwoFactorAuthApi(api_client) try: # Disable two factor authentication @@ -96,13 +96,13 @@ Disables two factor authentication. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -118,9 +118,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.TwoFactorAuthApi(api_client) + api_instance = equinix_metal_t0mk.TwoFactorAuthApi(api_client) try: # Disable two factor authentication @@ -169,13 +169,13 @@ Enables two factor authentication using authenticator app. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -191,9 +191,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.TwoFactorAuthApi(api_client) + api_instance = equinix_metal_t0mk.TwoFactorAuthApi(api_client) try: # Enable two factor auth using app @@ -241,13 +241,13 @@ Enables two factor authentication with sms. ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -263,9 +263,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.TwoFactorAuthApi(api_client) + api_instance = equinix_metal_t0mk.TwoFactorAuthApi(api_client) try: # Enable two factor auth using sms diff --git a/equinix_metal/docs/UpdateEmailInput.md b/equinix_metal/docs/UpdateEmailInput.md index e37e33cb..10e404a6 100644 --- a/equinix_metal/docs/UpdateEmailInput.md +++ b/equinix_metal/docs/UpdateEmailInput.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.update_email_input import UpdateEmailInput +from equinix_metal_t0mk.models.update_email_input import UpdateEmailInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/UsagesApi.md b/equinix_metal/docs/UsagesApi.md index fe72fdf9..d1b89ea8 100644 --- a/equinix_metal/docs/UsagesApi.md +++ b/equinix_metal/docs/UsagesApi.md @@ -1,4 +1,4 @@ -# equinix_metal.UsagesApi +# equinix_metal_t0mk.UsagesApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -21,14 +21,14 @@ Returns all usages for a device. ```python import time import os -import equinix_metal -from equinix_metal.models.device_usage_list import DeviceUsageList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_usage_list import DeviceUsageList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -44,9 +44,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UsagesApi(api_client) + api_instance = equinix_metal_t0mk.UsagesApi(api_client) id = 'id_example' # str | Device UUID created_after = 'created_after_example' # str | Filter usages created after this date (optional) created_before = 'created_before_example' # str | Filter usages created before this date (optional) @@ -105,14 +105,14 @@ Returns all usages for a project. ```python import time import os -import equinix_metal -from equinix_metal.models.project_usage_list import ProjectUsageList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project_usage_list import ProjectUsageList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -128,9 +128,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UsagesApi(api_client) + api_instance = equinix_metal_t0mk.UsagesApi(api_client) id = 'id_example' # str | Project UUID created_after = 'created_after_example' # str | Filter usages created after this date (optional) created_before = 'created_before_example' # str | Filter usages created before this date (optional) diff --git a/equinix_metal/docs/User.md b/equinix_metal/docs/User.md index aeca62fc..a7075fb9 100644 --- a/equinix_metal/docs/User.md +++ b/equinix_metal/docs/User.md @@ -30,7 +30,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.user import User +from equinix_metal_t0mk.models.user import User # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/UserCreateInput.md b/equinix_metal/docs/UserCreateInput.md index e3247842..5a6a6b4e 100644 --- a/equinix_metal/docs/UserCreateInput.md +++ b/equinix_metal/docs/UserCreateInput.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.user_create_input import UserCreateInput +from equinix_metal_t0mk.models.user_create_input import UserCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/UserLimited.md b/equinix_metal/docs/UserLimited.md index 4ef6fc4c..33671870 100644 --- a/equinix_metal/docs/UserLimited.md +++ b/equinix_metal/docs/UserLimited.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.user_limited import UserLimited +from equinix_metal_t0mk.models.user_limited import UserLimited # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/UserList.md b/equinix_metal/docs/UserList.md index 0874bd4f..7d9d2350 100644 --- a/equinix_metal/docs/UserList.md +++ b/equinix_metal/docs/UserList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.user_list import UserList +from equinix_metal_t0mk.models.user_list import UserList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/UserLite.md b/equinix_metal/docs/UserLite.md index e144fec1..f4d2f32b 100644 --- a/equinix_metal/docs/UserLite.md +++ b/equinix_metal/docs/UserLite.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.user_lite import UserLite +from equinix_metal_t0mk.models.user_lite import UserLite # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/UserUpdateInput.md b/equinix_metal/docs/UserUpdateInput.md index 9450249c..b50e0e64 100644 --- a/equinix_metal/docs/UserUpdateInput.md +++ b/equinix_metal/docs/UserUpdateInput.md @@ -15,7 +15,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.user_update_input import UserUpdateInput +from equinix_metal_t0mk.models.user_update_input import UserUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/UserVerificationTokensApi.md b/equinix_metal/docs/UserVerificationTokensApi.md index 6cbc5763..36ef70e5 100644 --- a/equinix_metal/docs/UserVerificationTokensApi.md +++ b/equinix_metal/docs/UserVerificationTokensApi.md @@ -1,4 +1,4 @@ -# equinix_metal.UserVerificationTokensApi +# equinix_metal_t0mk.UserVerificationTokensApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -21,14 +21,14 @@ Consumes an email verification token and verifies the user associated with it. ```python import time import os -import equinix_metal -from equinix_metal.models.verify_email import VerifyEmail -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.verify_email import VerifyEmail +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -44,10 +44,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UserVerificationTokensApi(api_client) - verify_email = equinix_metal.VerifyEmail() # VerifyEmail | Email to create + api_instance = equinix_metal_t0mk.UserVerificationTokensApi(api_client) + verify_email = equinix_metal_t0mk.VerifyEmail() # VerifyEmail | Email to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) try: @@ -101,13 +101,13 @@ Creates an email verification request ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -123,9 +123,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UserVerificationTokensApi(api_client) + api_instance = equinix_metal_t0mk.UserVerificationTokensApi(api_client) login = 'login_example' # str | Email for verification request include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) diff --git a/equinix_metal/docs/Userdata.md b/equinix_metal/docs/Userdata.md index f1bd8f35..ed545cf4 100644 --- a/equinix_metal/docs/Userdata.md +++ b/equinix_metal/docs/Userdata.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.userdata import Userdata +from equinix_metal_t0mk.models.userdata import Userdata # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/UserdataApi.md b/equinix_metal/docs/UserdataApi.md index 541cbfdb..56c715b1 100644 --- a/equinix_metal/docs/UserdataApi.md +++ b/equinix_metal/docs/UserdataApi.md @@ -1,4 +1,4 @@ -# equinix_metal.UserdataApi +# equinix_metal_t0mk.UserdataApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -20,13 +20,13 @@ Validates user data (Userdata) ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -42,9 +42,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UserdataApi(api_client) + api_instance = equinix_metal_t0mk.UserdataApi(api_client) userdata = 'userdata_example' # str | Userdata to validate (optional) try: diff --git a/equinix_metal/docs/UsersApi.md b/equinix_metal/docs/UsersApi.md index 96c8c4c8..83b27a51 100644 --- a/equinix_metal/docs/UsersApi.md +++ b/equinix_metal/docs/UsersApi.md @@ -1,4 +1,4 @@ -# equinix_metal.UsersApi +# equinix_metal_t0mk.UsersApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -27,15 +27,15 @@ Creates a user. ```python import time import os -import equinix_metal -from equinix_metal.models.user import User -from equinix_metal.models.user_create_input import UserCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user import User +from equinix_metal_t0mk.models.user_create_input import UserCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -51,10 +51,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UsersApi(api_client) - user_create_input = equinix_metal.UserCreateInput() # UserCreateInput | User to create + api_instance = equinix_metal_t0mk.UsersApi(api_client) + user_create_input = equinix_metal_t0mk.UserCreateInput() # UserCreateInput | User to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -112,14 +112,14 @@ Returns the user object for the currently logged-in user. ```python import time import os -import equinix_metal -from equinix_metal.models.user import User -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user import User +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -135,9 +135,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UsersApi(api_client) + api_instance = equinix_metal_t0mk.UsersApi(api_client) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -193,14 +193,14 @@ Returns all invitations in current user. ```python import time import os -import equinix_metal -from equinix_metal.models.invitation_list import InvitationList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invitation_list import InvitationList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -216,9 +216,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UsersApi(api_client) + api_instance = equinix_metal_t0mk.UsersApi(api_client) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) page = 1 # int | Page to return (optional) (default to 1) per_page = 10 # int | Items returned per page (optional) (default to 10) @@ -278,14 +278,14 @@ Returns a single user if the user has access ```python import time import os -import equinix_metal -from equinix_metal.models.user import User -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user import User +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -301,9 +301,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UsersApi(api_client) + api_instance = equinix_metal_t0mk.UsersApi(api_client) id = 'id_example' # str | User UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -363,13 +363,13 @@ Provides the custom metadata stored for this user in json format ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -385,9 +385,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UsersApi(api_client) + api_instance = equinix_metal_t0mk.UsersApi(api_client) id = 'id_example' # str | User UUID try: @@ -441,14 +441,14 @@ Returns a list of users that the are accessible to the current user (all users i ```python import time import os -import equinix_metal -from equinix_metal.models.user_list import UserList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user_list import UserList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -464,9 +464,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UsersApi(api_client) + api_instance = equinix_metal_t0mk.UsersApi(api_client) include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) page = 1 # int | Page to return (optional) (default to 1) @@ -531,15 +531,15 @@ Updates the currently logged-in user. ```python import time import os -import equinix_metal -from equinix_metal.models.user import User -from equinix_metal.models.user_update_input import UserUpdateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user import User +from equinix_metal_t0mk.models.user_update_input import UserUpdateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -555,10 +555,10 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.UsersApi(api_client) - user_update_input = equinix_metal.UserUpdateInput() # UserUpdateInput | User to update + api_instance = equinix_metal_t0mk.UsersApi(api_client) + user_update_input = equinix_metal_t0mk.UserUpdateInput() # UserUpdateInput | User to update include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/VLANsApi.md b/equinix_metal/docs/VLANsApi.md index 75f4e7bf..d0bf84bb 100644 --- a/equinix_metal/docs/VLANsApi.md +++ b/equinix_metal/docs/VLANsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.VLANsApi +# equinix_metal_t0mk.VLANsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -23,15 +23,15 @@ Creates an virtual network. ```python import time import os -import equinix_metal -from equinix_metal.models.virtual_network import VirtualNetwork -from equinix_metal.models.virtual_network_create_input import VirtualNetworkCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.models.virtual_network_create_input import VirtualNetworkCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -47,11 +47,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VLANsApi(api_client) + api_instance = equinix_metal_t0mk.VLANsApi(api_client) id = 'id_example' # str | Project UUID - virtual_network_create_input = equinix_metal.VirtualNetworkCreateInput() # VirtualNetworkCreateInput | Virtual Network to create + virtual_network_create_input = equinix_metal_t0mk.VirtualNetworkCreateInput() # VirtualNetworkCreateInput | Virtual Network to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -112,14 +112,14 @@ Deletes a virtual network. ```python import time import os -import equinix_metal -from equinix_metal.models.virtual_network import VirtualNetwork -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -135,9 +135,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VLANsApi(api_client) + api_instance = equinix_metal_t0mk.VLANsApi(api_client) id = 'id_example' # str | Virtual Network UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -198,14 +198,14 @@ Provides a list of virtual networks for a single project. ```python import time import os -import equinix_metal -from equinix_metal.models.virtual_network_list import VirtualNetworkList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_network_list import VirtualNetworkList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -221,9 +221,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VLANsApi(api_client) + api_instance = equinix_metal_t0mk.VLANsApi(api_client) id = 'id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -287,14 +287,14 @@ Get a virtual network. ```python import time import os -import equinix_metal -from equinix_metal.models.virtual_network import VirtualNetwork -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -310,9 +310,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VLANsApi(api_client) + api_instance = equinix_metal_t0mk.VLANsApi(api_client) id = 'id_example' # str | Virtual Network UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/VRFsApi.md b/equinix_metal/docs/VRFsApi.md index 33cdf288..9ffeb285 100644 --- a/equinix_metal/docs/VRFsApi.md +++ b/equinix_metal/docs/VRFsApi.md @@ -1,4 +1,4 @@ -# equinix_metal.VRFsApi +# equinix_metal_t0mk.VRFsApi All URIs are relative to *https://api.equinix.com/metal/v1* @@ -35,14 +35,14 @@ Return a single BGP Dynamic Neighbor resource ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_dynamic_neighbor import BgpDynamicNeighbor -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_dynamic_neighbor import BgpDynamicNeighbor +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -58,9 +58,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | BGP Dynamic Neighbor UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -119,15 +119,15 @@ Create a VRF BGP Dynamic Neighbor range. BGP Dynamic Neighbor records are limit ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_dynamic_neighbor import BgpDynamicNeighbor -from equinix_metal.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_dynamic_neighbor import BgpDynamicNeighbor +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -143,11 +143,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | Metal Gateway UUID - bgp_dynamic_neighbor_create_input = equinix_metal.BgpDynamicNeighborCreateInput() # BgpDynamicNeighborCreateInput | + bgp_dynamic_neighbor_create_input = equinix_metal_t0mk.BgpDynamicNeighborCreateInput() # BgpDynamicNeighborCreateInput | include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -208,15 +208,15 @@ Creates a new VRF in the specified project ```python import time import os -import equinix_metal -from equinix_metal.models.vrf import Vrf -from equinix_metal.models.vrf_create_input import VrfCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf import Vrf +from equinix_metal_t0mk.models.vrf_create_input import VrfCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -232,11 +232,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | Project UUID - vrf_create_input = equinix_metal.VrfCreateInput() # VrfCreateInput | VRF to create + vrf_create_input = equinix_metal_t0mk.VrfCreateInput() # VrfCreateInput | VRF to create include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -296,15 +296,15 @@ Create a route in a VRF. Currently only static default routes are supported. No ```python import time import os -import equinix_metal -from equinix_metal.models.vrf_route import VrfRoute -from equinix_metal.models.vrf_route_create_input import VrfRouteCreateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_route import VrfRoute +from equinix_metal_t0mk.models.vrf_route_create_input import VrfRouteCreateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -320,11 +320,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | VRF UUID - vrf_route_create_input = equinix_metal.VrfRouteCreateInput() # VrfRouteCreateInput | + vrf_route_create_input = equinix_metal_t0mk.VrfRouteCreateInput() # VrfRouteCreateInput | include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -385,14 +385,14 @@ Trigger the removal of a BGP Neighbor range from a VRF ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_dynamic_neighbor import BgpDynamicNeighbor -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_dynamic_neighbor import BgpDynamicNeighbor +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -408,9 +408,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | BGP Dynamic Neighbor UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -470,13 +470,13 @@ Deletes the VRF ```python import time import os -import equinix_metal -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -492,9 +492,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | VRF UUID try: @@ -548,14 +548,14 @@ Trigger the deletion of a VRF Route resource. The status of the route will updat ```python import time import os -import equinix_metal -from equinix_metal.models.vrf_route import VrfRoute -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_route import VrfRoute +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -571,9 +571,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | VRF Route UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -633,14 +633,14 @@ Returns a single VRF resource ```python import time import os -import equinix_metal -from equinix_metal.models.vrf import Vrf -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf import Vrf +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -656,9 +656,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | VRF UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -718,14 +718,14 @@ Returns the IP Reservation for the VRF. ```python import time import os -import equinix_metal -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -741,9 +741,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) vrf_id = 'vrf_id_example' # str | VRF UUID id = 'id_example' # str | IP UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) @@ -804,14 +804,14 @@ Returns the list of VRF IP Reservations for the VRF. ```python import time import os -import equinix_metal -from equinix_metal.models.vrf_ip_reservation_list import VrfIpReservationList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_ip_reservation_list import VrfIpReservationList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -827,9 +827,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | VRF UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -888,14 +888,14 @@ Returns a single VRF Route resource ```python import time import os -import equinix_metal -from equinix_metal.models.vrf_route import VrfRoute -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_route import VrfRoute +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -911,9 +911,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | VRF Route UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -972,14 +972,14 @@ Returns the list of VRFs for a single project. ```python import time import os -import equinix_metal -from equinix_metal.models.vrf_list import VrfList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_list import VrfList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -995,9 +995,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | Project UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -1058,14 +1058,14 @@ Returns the list of VRF BGP Dynamic Neighbors for this Metal Gateway ```python import time import os -import equinix_metal -from equinix_metal.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1081,9 +1081,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | Metal Gateway UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -1142,14 +1142,14 @@ Returns the list of routes for the VRF ```python import time import os -import equinix_metal -from equinix_metal.models.vrf_route_list import VrfRouteList -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_route_list import VrfRouteList +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1165,9 +1165,9 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | VRF UUID include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -1226,15 +1226,15 @@ Updates the VRF. ```python import time import os -import equinix_metal -from equinix_metal.models.vrf import Vrf -from equinix_metal.models.vrf_update_input import VrfUpdateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf import Vrf +from equinix_metal_t0mk.models.vrf_update_input import VrfUpdateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1250,11 +1250,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | VRF UUID - vrf_update_input = equinix_metal.VrfUpdateInput() # VrfUpdateInput | VRF to update + vrf_update_input = equinix_metal_t0mk.VrfUpdateInput() # VrfUpdateInput | VRF to update include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) @@ -1315,15 +1315,15 @@ Requests a VRF Route be redeployed across the network. Updating the prefix or ne ```python import time import os -import equinix_metal -from equinix_metal.models.vrf_route import VrfRoute -from equinix_metal.models.vrf_route_update_input import VrfRouteUpdateInput -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_route import VrfRoute +from equinix_metal_t0mk.models.vrf_route_update_input import VrfRouteUpdateInput +from equinix_metal_t0mk.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to https://api.equinix.com/metal/v1 # See configuration.py for a list of all supported configuration parameters. -configuration = equinix_metal.Configuration( +configuration = equinix_metal_t0mk.Configuration( host = "https://api.equinix.com/metal/v1" ) @@ -1339,11 +1339,11 @@ configuration.api_key['x_auth_token'] = os.environ["API_KEY"] # configuration.api_key_prefix['x_auth_token'] = 'Bearer' # Enter a context with an instance of the API client -with equinix_metal.ApiClient(configuration) as api_client: +with equinix_metal_t0mk.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = equinix_metal.VRFsApi(api_client) + api_instance = equinix_metal_t0mk.VRFsApi(api_client) id = 'id_example' # str | VRF Route UUID - vrf_route_update_input = equinix_metal.VrfRouteUpdateInput() # VrfRouteUpdateInput | + vrf_route_update_input = equinix_metal_t0mk.VrfRouteUpdateInput() # VrfRouteUpdateInput | include = ['include_example'] # List[str] | Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. (optional) exclude = ['exclude_example'] # List[str] | Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. (optional) diff --git a/equinix_metal/docs/VerifyEmail.md b/equinix_metal/docs/VerifyEmail.md index bc7cc025..33a85b85 100644 --- a/equinix_metal/docs/VerifyEmail.md +++ b/equinix_metal/docs/VerifyEmail.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.verify_email import VerifyEmail +from equinix_metal_t0mk.models.verify_email import VerifyEmail # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VirtualCircuit.md b/equinix_metal/docs/VirtualCircuit.md index 90f9f3cb..7adae92c 100644 --- a/equinix_metal/docs/VirtualCircuit.md +++ b/equinix_metal/docs/VirtualCircuit.md @@ -31,7 +31,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.virtual_circuit import VirtualCircuit +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VirtualCircuitCreateInput.md b/equinix_metal/docs/VirtualCircuitCreateInput.md index ece0a174..6b176861 100644 --- a/equinix_metal/docs/VirtualCircuitCreateInput.md +++ b/equinix_metal/docs/VirtualCircuitCreateInput.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.virtual_circuit_create_input import VirtualCircuitCreateInput +from equinix_metal_t0mk.models.virtual_circuit_create_input import VirtualCircuitCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VirtualCircuitList.md b/equinix_metal/docs/VirtualCircuitList.md index 764478cc..94356cb2 100644 --- a/equinix_metal/docs/VirtualCircuitList.md +++ b/equinix_metal/docs/VirtualCircuitList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.virtual_circuit_list import VirtualCircuitList +from equinix_metal_t0mk.models.virtual_circuit_list import VirtualCircuitList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VirtualCircuitUpdateInput.md b/equinix_metal/docs/VirtualCircuitUpdateInput.md index 9230b69c..08f31511 100644 --- a/equinix_metal/docs/VirtualCircuitUpdateInput.md +++ b/equinix_metal/docs/VirtualCircuitUpdateInput.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.virtual_circuit_update_input import VirtualCircuitUpdateInput +from equinix_metal_t0mk.models.virtual_circuit_update_input import VirtualCircuitUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VirtualNetwork.md b/equinix_metal/docs/VirtualNetwork.md index 208fe1f6..447fdc59 100644 --- a/equinix_metal/docs/VirtualNetwork.md +++ b/equinix_metal/docs/VirtualNetwork.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VirtualNetworkCreateInput.md b/equinix_metal/docs/VirtualNetworkCreateInput.md index c8101dd1..2898e034 100644 --- a/equinix_metal/docs/VirtualNetworkCreateInput.md +++ b/equinix_metal/docs/VirtualNetworkCreateInput.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.virtual_network_create_input import VirtualNetworkCreateInput +from equinix_metal_t0mk.models.virtual_network_create_input import VirtualNetworkCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VirtualNetworkList.md b/equinix_metal/docs/VirtualNetworkList.md index 522437fa..25ba8796 100644 --- a/equinix_metal/docs/VirtualNetworkList.md +++ b/equinix_metal/docs/VirtualNetworkList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.virtual_network_list import VirtualNetworkList +from equinix_metal_t0mk.models.virtual_network_list import VirtualNetworkList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VlanFabricVcCreateInput.md b/equinix_metal/docs/VlanFabricVcCreateInput.md index 7aef9326..edf7d597 100644 --- a/equinix_metal/docs/VlanFabricVcCreateInput.md +++ b/equinix_metal/docs/VlanFabricVcCreateInput.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vlan_fabric_vc_create_input import VlanFabricVcCreateInput +from equinix_metal_t0mk.models.vlan_fabric_vc_create_input import VlanFabricVcCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VlanVirtualCircuit.md b/equinix_metal/docs/VlanVirtualCircuit.md index ce1d9eb0..de2a0181 100644 --- a/equinix_metal/docs/VlanVirtualCircuit.md +++ b/equinix_metal/docs/VlanVirtualCircuit.md @@ -25,7 +25,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vlan_virtual_circuit import VlanVirtualCircuit +from equinix_metal_t0mk.models.vlan_virtual_circuit import VlanVirtualCircuit # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VlanVirtualCircuitCreateInput.md b/equinix_metal/docs/VlanVirtualCircuitCreateInput.md index 83099a1b..e0b381c5 100644 --- a/equinix_metal/docs/VlanVirtualCircuitCreateInput.md +++ b/equinix_metal/docs/VlanVirtualCircuitCreateInput.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vlan_virtual_circuit_create_input import VlanVirtualCircuitCreateInput +from equinix_metal_t0mk.models.vlan_virtual_circuit_create_input import VlanVirtualCircuitCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VlanVirtualCircuitUpdateInput.md b/equinix_metal/docs/VlanVirtualCircuitUpdateInput.md index 572eee0d..9e12d2b6 100644 --- a/equinix_metal/docs/VlanVirtualCircuitUpdateInput.md +++ b/equinix_metal/docs/VlanVirtualCircuitUpdateInput.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vlan_virtual_circuit_update_input import VlanVirtualCircuitUpdateInput +from equinix_metal_t0mk.models.vlan_virtual_circuit_update_input import VlanVirtualCircuitUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/Vrf.md b/equinix_metal/docs/Vrf.md index e0fdc6cf..92268b02 100644 --- a/equinix_metal/docs/Vrf.md +++ b/equinix_metal/docs/Vrf.md @@ -25,7 +25,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf import Vrf +from equinix_metal_t0mk.models.vrf import Vrf # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfCreateInput.md b/equinix_metal/docs/VrfCreateInput.md index 3581d269..e1c54820 100644 --- a/equinix_metal/docs/VrfCreateInput.md +++ b/equinix_metal/docs/VrfCreateInput.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_create_input import VrfCreateInput +from equinix_metal_t0mk.models.vrf_create_input import VrfCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfFabricVcCreateInput.md b/equinix_metal/docs/VrfFabricVcCreateInput.md index fde07286..7d7b70f8 100644 --- a/equinix_metal/docs/VrfFabricVcCreateInput.md +++ b/equinix_metal/docs/VrfFabricVcCreateInput.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_fabric_vc_create_input import VrfFabricVcCreateInput +from equinix_metal_t0mk.models.vrf_fabric_vc_create_input import VrfFabricVcCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfIpReservation.md b/equinix_metal/docs/VrfIpReservation.md index 58e3e36d..950faf64 100644 --- a/equinix_metal/docs/VrfIpReservation.md +++ b/equinix_metal/docs/VrfIpReservation.md @@ -32,7 +32,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfIpReservationCreateInput.md b/equinix_metal/docs/VrfIpReservationCreateInput.md index 0f3d2cb0..60218b79 100644 --- a/equinix_metal/docs/VrfIpReservationCreateInput.md +++ b/equinix_metal/docs/VrfIpReservationCreateInput.md @@ -16,7 +16,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_ip_reservation_create_input import VrfIpReservationCreateInput +from equinix_metal_t0mk.models.vrf_ip_reservation_create_input import VrfIpReservationCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfIpReservationList.md b/equinix_metal/docs/VrfIpReservationList.md index 1b89581e..bceb809f 100644 --- a/equinix_metal/docs/VrfIpReservationList.md +++ b/equinix_metal/docs/VrfIpReservationList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_ip_reservation_list import VrfIpReservationList +from equinix_metal_t0mk.models.vrf_ip_reservation_list import VrfIpReservationList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfList.md b/equinix_metal/docs/VrfList.md index d4c64686..5988770b 100644 --- a/equinix_metal/docs/VrfList.md +++ b/equinix_metal/docs/VrfList.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_list import VrfList +from equinix_metal_t0mk.models.vrf_list import VrfList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfMetalGateway.md b/equinix_metal/docs/VrfMetalGateway.md index 0d48f1fc..7fee5197 100644 --- a/equinix_metal/docs/VrfMetalGateway.md +++ b/equinix_metal/docs/VrfMetalGateway.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_metal_gateway import VrfMetalGateway +from equinix_metal_t0mk.models.vrf_metal_gateway import VrfMetalGateway # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfMetalGatewayCreateInput.md b/equinix_metal/docs/VrfMetalGatewayCreateInput.md index 4ffc0bd6..f1681618 100644 --- a/equinix_metal/docs/VrfMetalGatewayCreateInput.md +++ b/equinix_metal/docs/VrfMetalGatewayCreateInput.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_metal_gateway_create_input import VrfMetalGatewayCreateInput +from equinix_metal_t0mk.models.vrf_metal_gateway_create_input import VrfMetalGatewayCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfRoute.md b/equinix_metal/docs/VrfRoute.md index 9e48ec59..ee2d99e9 100644 --- a/equinix_metal/docs/VrfRoute.md +++ b/equinix_metal/docs/VrfRoute.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_route import VrfRoute +from equinix_metal_t0mk.models.vrf_route import VrfRoute # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfRouteCreateInput.md b/equinix_metal/docs/VrfRouteCreateInput.md index d77a9537..e5a8ff53 100644 --- a/equinix_metal/docs/VrfRouteCreateInput.md +++ b/equinix_metal/docs/VrfRouteCreateInput.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_route_create_input import VrfRouteCreateInput +from equinix_metal_t0mk.models.vrf_route_create_input import VrfRouteCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfRouteList.md b/equinix_metal/docs/VrfRouteList.md index 7f7d7cbb..b4d44881 100644 --- a/equinix_metal/docs/VrfRouteList.md +++ b/equinix_metal/docs/VrfRouteList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_route_list import VrfRouteList +from equinix_metal_t0mk.models.vrf_route_list import VrfRouteList # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfRouteUpdateInput.md b/equinix_metal/docs/VrfRouteUpdateInput.md index ae1cb4b8..d0a1f7f7 100644 --- a/equinix_metal/docs/VrfRouteUpdateInput.md +++ b/equinix_metal/docs/VrfRouteUpdateInput.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_route_update_input import VrfRouteUpdateInput +from equinix_metal_t0mk.models.vrf_route_update_input import VrfRouteUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfUpdateInput.md b/equinix_metal/docs/VrfUpdateInput.md index 9a88d63c..df1c262d 100644 --- a/equinix_metal/docs/VrfUpdateInput.md +++ b/equinix_metal/docs/VrfUpdateInput.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_update_input import VrfUpdateInput +from equinix_metal_t0mk.models.vrf_update_input import VrfUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfVirtualCircuit.md b/equinix_metal/docs/VrfVirtualCircuit.md index 6be1fa0c..a8c24cdd 100644 --- a/equinix_metal/docs/VrfVirtualCircuit.md +++ b/equinix_metal/docs/VrfVirtualCircuit.md @@ -27,7 +27,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_virtual_circuit import VrfVirtualCircuit +from equinix_metal_t0mk.models.vrf_virtual_circuit import VrfVirtualCircuit # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfVirtualCircuitCreateInput.md b/equinix_metal/docs/VrfVirtualCircuitCreateInput.md index 86a0eff3..0d40fc74 100644 --- a/equinix_metal/docs/VrfVirtualCircuitCreateInput.md +++ b/equinix_metal/docs/VrfVirtualCircuitCreateInput.md @@ -21,7 +21,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_virtual_circuit_create_input import VrfVirtualCircuitCreateInput +from equinix_metal_t0mk.models.vrf_virtual_circuit_create_input import VrfVirtualCircuitCreateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/docs/VrfVirtualCircuitUpdateInput.md b/equinix_metal/docs/VrfVirtualCircuitUpdateInput.md index 0aef7034..5e9ee0af 100644 --- a/equinix_metal/docs/VrfVirtualCircuitUpdateInput.md +++ b/equinix_metal/docs/VrfVirtualCircuitUpdateInput.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes ## Example ```python -from equinix_metal.models.vrf_virtual_circuit_update_input import VrfVirtualCircuitUpdateInput +from equinix_metal_t0mk.models.vrf_virtual_circuit_update_input import VrfVirtualCircuitUpdateInput # TODO update the JSON string below json = "{}" diff --git a/equinix_metal/equinix_metal/__init__.py b/equinix_metal/equinix_metal/__init__.py deleted file mode 100644 index 61685029..00000000 --- a/equinix_metal/equinix_metal/__init__.py +++ /dev/null @@ -1,312 +0,0 @@ -# coding: utf-8 - -# flake8: noqa - -""" - Metal API - - # Introduction Equinix Metal provides a RESTful HTTP API which can be reached at . This document describes the API and how to use it. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. Every feature of the Equinix Metal web interface is accessible through the API. The API docs are generated from the Equinix Metal OpenAPI specification and are officially hosted at . # Common Parameters The Equinix Metal API uses a few methods to minimize network traffic and improve throughput. These parameters are not used in all API calls, but are used often enough to warrant their own section. Look for these parameters in the documentation for the API calls that support them. ## Pagination Pagination is used to limit the number of results returned in a single request. The API will return a maximum of 100 results per page. To retrieve additional results, you can use the `page` and `per_page` query parameters. The `page` parameter is used to specify the page number. The first page is `1`. The `per_page` parameter is used to specify the number of results per page. The maximum number of results differs by resource type. ## Sorting Where offered, the API allows you to sort results by a specific field. To sort results use the `sort_by` query parameter with the root level field name as the value. The `sort_direction` parameter is used to specify the sort direction, either either `asc` (ascending) or `desc` (descending). ## Filtering Filtering is used to limit the results returned in a single request. The API supports filtering by certain fields in the response. To filter results, you can use the field as a query parameter. For example, to filter the IP list to only return public IPv4 addresses, you can filter by the `type` field, as in the following request: ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/projects/id/ips?type=public_ipv4 ``` Only IP addresses with the `type` field set to `public_ipv4` will be returned. ## Searching Searching is used to find matching resources using multiple field comparissons. The API supports searching in resources that define this behavior. Currently the search parameter is only available on devices, ssh_keys, api_keys and memberships endpoints. To search resources you can use the `search` query parameter. ## Include and Exclude For resources that contain references to other resources, sucha as a Device that refers to the Project it resides in, the Equinix Metal API will returns `href` values (API links) to the associated resource. ```json { ... \"project\": { \"href\": \"/metal/v1/projects/f3f131c8-f302-49ef-8c44-9405022dc6dd\" } } ``` If you're going need the project details, you can avoid a second API request. Specify the contained `href` resources and collections that you'd like to have included in the response using the `include` query parameter. For example: ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=projects ``` The `include` parameter is generally accepted in `GET`, `POST`, `PUT`, and `PATCH` requests where `href` resources are presented. To have multiple resources include, use a comma-separated list (e.g. `?include=emails,projects,memberships`). ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=emails,projects,memberships ``` You may also include nested associations up to three levels deep using dot notation (`?include=memberships.projects`): ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=memberships.projects ``` To exclude resources, and optimize response delivery, use the `exclude` query parameter. The `exclude` parameter is generally accepted in `GET`, `POST`, `PUT`, and `PATCH` requests for fields with nested object responses. When excluded, these fields will be replaced with an object that contains only an `href` field. - - The version of the OpenAPI document: 1.0.0 - Contact: support@equinixmetal.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -__version__ = "0.6.0" - -# import apis into sdk package -from equinix_metal.api.authentication_api import AuthenticationApi -from equinix_metal.api.bgp_api import BGPApi -from equinix_metal.api.batches_api import BatchesApi -from equinix_metal.api.capacity_api import CapacityApi -from equinix_metal.api.console_log_details_api import ConsoleLogDetailsApi -from equinix_metal.api.devices_api import DevicesApi -from equinix_metal.api.emails_api import EmailsApi -from equinix_metal.api.events_api import EventsApi -from equinix_metal.api.facilities_api import FacilitiesApi -from equinix_metal.api.firmware_sets_api import FirmwareSetsApi -from equinix_metal.api.hardware_reservations_api import HardwareReservationsApi -from equinix_metal.api.ip_addresses_api import IPAddressesApi -from equinix_metal.api.incidents_api import IncidentsApi -from equinix_metal.api.interconnections_api import InterconnectionsApi -from equinix_metal.api.invitations_api import InvitationsApi -from equinix_metal.api.invoices_api import InvoicesApi -from equinix_metal.api.licenses_api import LicensesApi -from equinix_metal.api.memberships_api import MembershipsApi -from equinix_metal.api.metal_gateways_api import MetalGatewaysApi -from equinix_metal.api.metros_api import MetrosApi -from equinix_metal.api.otps_api import OTPsApi -from equinix_metal.api.operating_systems_api import OperatingSystemsApi -from equinix_metal.api.organizations_api import OrganizationsApi -from equinix_metal.api.password_reset_tokens_api import PasswordResetTokensApi -from equinix_metal.api.payment_methods_api import PaymentMethodsApi -from equinix_metal.api.plans_api import PlansApi -from equinix_metal.api.ports_api import PortsApi -from equinix_metal.api.projects_api import ProjectsApi -from equinix_metal.api.ssh_keys_api import SSHKeysApi -from equinix_metal.api.self_service_reservations_api import SelfServiceReservationsApi -from equinix_metal.api.spot_market_api import SpotMarketApi -from equinix_metal.api.support_request_api import SupportRequestApi -from equinix_metal.api.transfer_requests_api import TransferRequestsApi -from equinix_metal.api.two_factor_auth_api import TwoFactorAuthApi -from equinix_metal.api.usages_api import UsagesApi -from equinix_metal.api.user_verification_tokens_api import UserVerificationTokensApi -from equinix_metal.api.userdata_api import UserdataApi -from equinix_metal.api.users_api import UsersApi -from equinix_metal.api.vlans_api import VLANsApi -from equinix_metal.api.vrfs_api import VRFsApi - -# import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.api_client import ApiClient -from equinix_metal.configuration import Configuration -from equinix_metal.exceptions import OpenApiException -from equinix_metal.exceptions import ApiTypeError -from equinix_metal.exceptions import ApiValueError -from equinix_metal.exceptions import ApiKeyError -from equinix_metal.exceptions import ApiAttributeError -from equinix_metal.exceptions import ApiException - -# import models into sdk package -from equinix_metal.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest -from equinix_metal.models.address import Address -from equinix_metal.models.attribute import Attribute -from equinix_metal.models.attribute_data import AttributeData -from equinix_metal.models.auth_token import AuthToken -from equinix_metal.models.auth_token_input import AuthTokenInput -from equinix_metal.models.auth_token_list import AuthTokenList -from equinix_metal.models.auth_token_project import AuthTokenProject -from equinix_metal.models.auth_token_user import AuthTokenUser -from equinix_metal.models.bgp_session_input import BGPSessionInput -from equinix_metal.models.batch import Batch -from equinix_metal.models.batches_list import BatchesList -from equinix_metal.models.bgp_config import BgpConfig -from equinix_metal.models.bgp_config_request_input import BgpConfigRequestInput -from equinix_metal.models.bgp_dynamic_neighbor import BgpDynamicNeighbor -from equinix_metal.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput -from equinix_metal.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList -from equinix_metal.models.bgp_neighbor_data import BgpNeighborData -from equinix_metal.models.bgp_route import BgpRoute -from equinix_metal.models.bgp_session import BgpSession -from equinix_metal.models.bgp_session_list import BgpSessionList -from equinix_metal.models.bgp_session_neighbors import BgpSessionNeighbors -from equinix_metal.models.bond_port_data import BondPortData -from equinix_metal.models.capacity_check_per_facility_info import CapacityCheckPerFacilityInfo -from equinix_metal.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList -from equinix_metal.models.capacity_check_per_metro_info import CapacityCheckPerMetroInfo -from equinix_metal.models.capacity_check_per_metro_list import CapacityCheckPerMetroList -from equinix_metal.models.capacity_input import CapacityInput -from equinix_metal.models.capacity_level_per_baremetal import CapacityLevelPerBaremetal -from equinix_metal.models.capacity_list import CapacityList -from equinix_metal.models.component import Component -from equinix_metal.models.coordinates import Coordinates -from equinix_metal.models.create_device_request import CreateDeviceRequest -from equinix_metal.models.create_email_input import CreateEmailInput -from equinix_metal.models.create_metal_gateway_request import CreateMetalGatewayRequest -from equinix_metal.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest -from equinix_metal.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest -from equinix_metal.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod -from equinix_metal.models.dedicated_port_create_input import DedicatedPortCreateInput -from equinix_metal.models.device import Device -from equinix_metal.models.device_action_input import DeviceActionInput -from equinix_metal.models.device_actions_inner import DeviceActionsInner -from equinix_metal.models.device_create_in_facility_input import DeviceCreateInFacilityInput -from equinix_metal.models.device_create_in_metro_input import DeviceCreateInMetroInput -from equinix_metal.models.device_create_input import DeviceCreateInput -from equinix_metal.models.device_created_by import DeviceCreatedBy -from equinix_metal.models.device_health_rollup import DeviceHealthRollup -from equinix_metal.models.device_list import DeviceList -from equinix_metal.models.device_metro import DeviceMetro -from equinix_metal.models.device_project_lite import DeviceProjectLite -from equinix_metal.models.device_update_input import DeviceUpdateInput -from equinix_metal.models.device_usage import DeviceUsage -from equinix_metal.models.device_usage_list import DeviceUsageList -from equinix_metal.models.disk import Disk -from equinix_metal.models.email import Email -from equinix_metal.models.email_input import EmailInput -from equinix_metal.models.entitlement import Entitlement -from equinix_metal.models.error import Error -from equinix_metal.models.event import Event -from equinix_metal.models.event_list import EventList -from equinix_metal.models.fabric_service_token import FabricServiceToken -from equinix_metal.models.facility import Facility -from equinix_metal.models.facility_input import FacilityInput -from equinix_metal.models.facility_input_facility import FacilityInputFacility -from equinix_metal.models.facility_list import FacilityList -from equinix_metal.models.filesystem import Filesystem -from equinix_metal.models.find_ip_address_by_id200_response import FindIPAddressById200Response -from equinix_metal.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response -from equinix_metal.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter -from equinix_metal.models.firmware_set import FirmwareSet -from equinix_metal.models.firmware_set_list_response import FirmwareSetListResponse -from equinix_metal.models.firmware_set_response import FirmwareSetResponse -from equinix_metal.models.global_bgp_range import GlobalBgpRange -from equinix_metal.models.global_bgp_range_list import GlobalBgpRangeList -from equinix_metal.models.hardware_reservation import HardwareReservation -from equinix_metal.models.hardware_reservation_list import HardwareReservationList -from equinix_metal.models.href import Href -from equinix_metal.models.ip_address import IPAddress -from equinix_metal.models.ip_assignment import IPAssignment -from equinix_metal.models.ip_assignment_input import IPAssignmentInput -from equinix_metal.models.ip_assignment_list import IPAssignmentList -from equinix_metal.models.ip_assignment_metro import IPAssignmentMetro -from equinix_metal.models.ip_assignment_update_input import IPAssignmentUpdateInput -from equinix_metal.models.ip_availabilities_list import IPAvailabilitiesList -from equinix_metal.models.ip_reservation import IPReservation -from equinix_metal.models.ip_reservation_facility import IPReservationFacility -from equinix_metal.models.ip_reservation_list import IPReservationList -from equinix_metal.models.ip_reservation_list_ip_addresses_inner import IPReservationListIpAddressesInner -from equinix_metal.models.ip_reservation_metro import IPReservationMetro -from equinix_metal.models.ip_reservation_request_input import IPReservationRequestInput -from equinix_metal.models.instances_batch_create_input import InstancesBatchCreateInput -from equinix_metal.models.instances_batch_create_input_batches_inner import InstancesBatchCreateInputBatchesInner -from equinix_metal.models.interconnection import Interconnection -from equinix_metal.models.interconnection_list import InterconnectionList -from equinix_metal.models.interconnection_port import InterconnectionPort -from equinix_metal.models.interconnection_port_list import InterconnectionPortList -from equinix_metal.models.interconnection_update_input import InterconnectionUpdateInput -from equinix_metal.models.invitation import Invitation -from equinix_metal.models.invitation_input import InvitationInput -from equinix_metal.models.invitation_list import InvitationList -from equinix_metal.models.invoice import Invoice -from equinix_metal.models.invoice_list import InvoiceList -from equinix_metal.models.license import License -from equinix_metal.models.license_create_input import LicenseCreateInput -from equinix_metal.models.license_list import LicenseList -from equinix_metal.models.license_update_input import LicenseUpdateInput -from equinix_metal.models.line_item import LineItem -from equinix_metal.models.membership import Membership -from equinix_metal.models.membership_input import MembershipInput -from equinix_metal.models.membership_list import MembershipList -from equinix_metal.models.meta import Meta -from equinix_metal.models.metadata import Metadata -from equinix_metal.models.metadata_network import MetadataNetwork -from equinix_metal.models.metadata_network_network import MetadataNetworkNetwork -from equinix_metal.models.metadata_network_network_bonding import MetadataNetworkNetworkBonding -from equinix_metal.models.metal_gateway import MetalGateway -from equinix_metal.models.metal_gateway_create_input import MetalGatewayCreateInput -from equinix_metal.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput -from equinix_metal.models.metal_gateway_list import MetalGatewayList -from equinix_metal.models.metal_gateway_list_metal_gateways_inner import MetalGatewayListMetalGatewaysInner -from equinix_metal.models.metal_gateway_lite import MetalGatewayLite -from equinix_metal.models.metro import Metro -from equinix_metal.models.metro_input import MetroInput -from equinix_metal.models.metro_list import MetroList -from equinix_metal.models.mount import Mount -from equinix_metal.models.move_hardware_reservation_request import MoveHardwareReservationRequest -from equinix_metal.models.new_password import NewPassword -from equinix_metal.models.operating_system import OperatingSystem -from equinix_metal.models.operating_system_list import OperatingSystemList -from equinix_metal.models.organization import Organization -from equinix_metal.models.organization_input import OrganizationInput -from equinix_metal.models.organization_list import OrganizationList -from equinix_metal.models.parent_block import ParentBlock -from equinix_metal.models.partition import Partition -from equinix_metal.models.payment_method import PaymentMethod -from equinix_metal.models.payment_method_billing_address import PaymentMethodBillingAddress -from equinix_metal.models.payment_method_create_input import PaymentMethodCreateInput -from equinix_metal.models.payment_method_list import PaymentMethodList -from equinix_metal.models.payment_method_update_input import PaymentMethodUpdateInput -from equinix_metal.models.plan import Plan -from equinix_metal.models.plan_available_in_inner import PlanAvailableInInner -from equinix_metal.models.plan_available_in_inner_price import PlanAvailableInInnerPrice -from equinix_metal.models.plan_available_in_metros_inner import PlanAvailableInMetrosInner -from equinix_metal.models.plan_list import PlanList -from equinix_metal.models.plan_specs import PlanSpecs -from equinix_metal.models.plan_specs_cpus_inner import PlanSpecsCpusInner -from equinix_metal.models.plan_specs_drives_inner import PlanSpecsDrivesInner -from equinix_metal.models.plan_specs_features import PlanSpecsFeatures -from equinix_metal.models.plan_specs_memory import PlanSpecsMemory -from equinix_metal.models.plan_specs_nics_inner import PlanSpecsNicsInner -from equinix_metal.models.port import Port -from equinix_metal.models.port_assign_input import PortAssignInput -from equinix_metal.models.port_convert_layer3_input import PortConvertLayer3Input -from equinix_metal.models.port_convert_layer3_input_request_ips_inner import PortConvertLayer3InputRequestIpsInner -from equinix_metal.models.port_data import PortData -from equinix_metal.models.port_vlan_assignment import PortVlanAssignment -from equinix_metal.models.port_vlan_assignment_batch import PortVlanAssignmentBatch -from equinix_metal.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput -from equinix_metal.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner import PortVlanAssignmentBatchCreateInputVlanAssignmentsInner -from equinix_metal.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList -from equinix_metal.models.port_vlan_assignment_batch_vlan_assignments_inner import PortVlanAssignmentBatchVlanAssignmentsInner -from equinix_metal.models.port_vlan_assignment_list import PortVlanAssignmentList -from equinix_metal.models.project import Project -from equinix_metal.models.project_create_from_root_input import ProjectCreateFromRootInput -from equinix_metal.models.project_create_input import ProjectCreateInput -from equinix_metal.models.project_id_name import ProjectIdName -from equinix_metal.models.project_list import ProjectList -from equinix_metal.models.project_update_input import ProjectUpdateInput -from equinix_metal.models.project_usage import ProjectUsage -from equinix_metal.models.project_usage_list import ProjectUsageList -from equinix_metal.models.raid import Raid -from equinix_metal.models.recovery_code_list import RecoveryCodeList -from equinix_metal.models.request_ip_reservation201_response import RequestIPReservation201Response -from equinix_metal.models.request_ip_reservation_request import RequestIPReservationRequest -from equinix_metal.models.ssh_key import SSHKey -from equinix_metal.models.ssh_key_create_input import SSHKeyCreateInput -from equinix_metal.models.ssh_key_input import SSHKeyInput -from equinix_metal.models.ssh_key_list import SSHKeyList -from equinix_metal.models.self_service_reservation_item_request import SelfServiceReservationItemRequest -from equinix_metal.models.self_service_reservation_item_response import SelfServiceReservationItemResponse -from equinix_metal.models.self_service_reservation_list import SelfServiceReservationList -from equinix_metal.models.self_service_reservation_response import SelfServiceReservationResponse -from equinix_metal.models.server_info import ServerInfo -from equinix_metal.models.spot_market_prices_list import SpotMarketPricesList -from equinix_metal.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList -from equinix_metal.models.spot_market_prices_per_metro_report import SpotMarketPricesPerMetroReport -from equinix_metal.models.spot_market_request import SpotMarketRequest -from equinix_metal.models.spot_market_request_create_input import SpotMarketRequestCreateInput -from equinix_metal.models.spot_market_request_create_input_instance_parameters import SpotMarketRequestCreateInputInstanceParameters -from equinix_metal.models.spot_market_request_list import SpotMarketRequestList -from equinix_metal.models.spot_market_request_metro import SpotMarketRequestMetro -from equinix_metal.models.spot_prices_datapoints import SpotPricesDatapoints -from equinix_metal.models.spot_prices_history_report import SpotPricesHistoryReport -from equinix_metal.models.spot_prices_per_baremetal import SpotPricesPerBaremetal -from equinix_metal.models.spot_prices_per_facility import SpotPricesPerFacility -from equinix_metal.models.spot_prices_per_new_facility import SpotPricesPerNewFacility -from equinix_metal.models.spot_prices_report import SpotPricesReport -from equinix_metal.models.storage import Storage -from equinix_metal.models.support_request_input import SupportRequestInput -from equinix_metal.models.transfer_request import TransferRequest -from equinix_metal.models.transfer_request_input import TransferRequestInput -from equinix_metal.models.transfer_request_list import TransferRequestList -from equinix_metal.models.update_email_input import UpdateEmailInput -from equinix_metal.models.user import User -from equinix_metal.models.user_create_input import UserCreateInput -from equinix_metal.models.user_limited import UserLimited -from equinix_metal.models.user_list import UserList -from equinix_metal.models.user_lite import UserLite -from equinix_metal.models.user_update_input import UserUpdateInput -from equinix_metal.models.userdata import Userdata -from equinix_metal.models.verify_email import VerifyEmail -from equinix_metal.models.virtual_circuit import VirtualCircuit -from equinix_metal.models.virtual_circuit_create_input import VirtualCircuitCreateInput -from equinix_metal.models.virtual_circuit_list import VirtualCircuitList -from equinix_metal.models.virtual_circuit_update_input import VirtualCircuitUpdateInput -from equinix_metal.models.virtual_network import VirtualNetwork -from equinix_metal.models.virtual_network_create_input import VirtualNetworkCreateInput -from equinix_metal.models.virtual_network_list import VirtualNetworkList -from equinix_metal.models.vlan_fabric_vc_create_input import VlanFabricVcCreateInput -from equinix_metal.models.vlan_virtual_circuit import VlanVirtualCircuit -from equinix_metal.models.vlan_virtual_circuit_create_input import VlanVirtualCircuitCreateInput -from equinix_metal.models.vlan_virtual_circuit_update_input import VlanVirtualCircuitUpdateInput -from equinix_metal.models.vrf import Vrf -from equinix_metal.models.vrf_create_input import VrfCreateInput -from equinix_metal.models.vrf_fabric_vc_create_input import VrfFabricVcCreateInput -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation -from equinix_metal.models.vrf_ip_reservation_create_input import VrfIpReservationCreateInput -from equinix_metal.models.vrf_ip_reservation_list import VrfIpReservationList -from equinix_metal.models.vrf_list import VrfList -from equinix_metal.models.vrf_metal_gateway import VrfMetalGateway -from equinix_metal.models.vrf_metal_gateway_create_input import VrfMetalGatewayCreateInput -from equinix_metal.models.vrf_route import VrfRoute -from equinix_metal.models.vrf_route_create_input import VrfRouteCreateInput -from equinix_metal.models.vrf_route_list import VrfRouteList -from equinix_metal.models.vrf_route_update_input import VrfRouteUpdateInput -from equinix_metal.models.vrf_update_input import VrfUpdateInput -from equinix_metal.models.vrf_virtual_circuit import VrfVirtualCircuit -from equinix_metal.models.vrf_virtual_circuit_create_input import VrfVirtualCircuitCreateInput -from equinix_metal.models.vrf_virtual_circuit_update_input import VrfVirtualCircuitUpdateInput diff --git a/equinix_metal/equinix_metal/api/__init__.py b/equinix_metal/equinix_metal/api/__init__.py deleted file mode 100644 index 2a6e9693..00000000 --- a/equinix_metal/equinix_metal/api/__init__.py +++ /dev/null @@ -1,44 +0,0 @@ -# flake8: noqa - -# import apis into api package -from equinix_metal.api.authentication_api import AuthenticationApi -from equinix_metal.api.bgp_api import BGPApi -from equinix_metal.api.batches_api import BatchesApi -from equinix_metal.api.capacity_api import CapacityApi -from equinix_metal.api.console_log_details_api import ConsoleLogDetailsApi -from equinix_metal.api.devices_api import DevicesApi -from equinix_metal.api.emails_api import EmailsApi -from equinix_metal.api.events_api import EventsApi -from equinix_metal.api.facilities_api import FacilitiesApi -from equinix_metal.api.firmware_sets_api import FirmwareSetsApi -from equinix_metal.api.hardware_reservations_api import HardwareReservationsApi -from equinix_metal.api.ip_addresses_api import IPAddressesApi -from equinix_metal.api.incidents_api import IncidentsApi -from equinix_metal.api.interconnections_api import InterconnectionsApi -from equinix_metal.api.invitations_api import InvitationsApi -from equinix_metal.api.invoices_api import InvoicesApi -from equinix_metal.api.licenses_api import LicensesApi -from equinix_metal.api.memberships_api import MembershipsApi -from equinix_metal.api.metal_gateways_api import MetalGatewaysApi -from equinix_metal.api.metros_api import MetrosApi -from equinix_metal.api.otps_api import OTPsApi -from equinix_metal.api.operating_systems_api import OperatingSystemsApi -from equinix_metal.api.organizations_api import OrganizationsApi -from equinix_metal.api.password_reset_tokens_api import PasswordResetTokensApi -from equinix_metal.api.payment_methods_api import PaymentMethodsApi -from equinix_metal.api.plans_api import PlansApi -from equinix_metal.api.ports_api import PortsApi -from equinix_metal.api.projects_api import ProjectsApi -from equinix_metal.api.ssh_keys_api import SSHKeysApi -from equinix_metal.api.self_service_reservations_api import SelfServiceReservationsApi -from equinix_metal.api.spot_market_api import SpotMarketApi -from equinix_metal.api.support_request_api import SupportRequestApi -from equinix_metal.api.transfer_requests_api import TransferRequestsApi -from equinix_metal.api.two_factor_auth_api import TwoFactorAuthApi -from equinix_metal.api.usages_api import UsagesApi -from equinix_metal.api.user_verification_tokens_api import UserVerificationTokensApi -from equinix_metal.api.userdata_api import UserdataApi -from equinix_metal.api.users_api import UsersApi -from equinix_metal.api.vlans_api import VLANsApi -from equinix_metal.api.vrfs_api import VRFsApi - diff --git a/equinix_metal/equinix_metal/models/__init__.py b/equinix_metal/equinix_metal/models/__init__.py deleted file mode 100644 index 7846a216..00000000 --- a/equinix_metal/equinix_metal/models/__init__.py +++ /dev/null @@ -1,256 +0,0 @@ -# coding: utf-8 - -# flake8: noqa -""" - Metal API - - # Introduction Equinix Metal provides a RESTful HTTP API which can be reached at . This document describes the API and how to use it. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. Every feature of the Equinix Metal web interface is accessible through the API. The API docs are generated from the Equinix Metal OpenAPI specification and are officially hosted at . # Common Parameters The Equinix Metal API uses a few methods to minimize network traffic and improve throughput. These parameters are not used in all API calls, but are used often enough to warrant their own section. Look for these parameters in the documentation for the API calls that support them. ## Pagination Pagination is used to limit the number of results returned in a single request. The API will return a maximum of 100 results per page. To retrieve additional results, you can use the `page` and `per_page` query parameters. The `page` parameter is used to specify the page number. The first page is `1`. The `per_page` parameter is used to specify the number of results per page. The maximum number of results differs by resource type. ## Sorting Where offered, the API allows you to sort results by a specific field. To sort results use the `sort_by` query parameter with the root level field name as the value. The `sort_direction` parameter is used to specify the sort direction, either either `asc` (ascending) or `desc` (descending). ## Filtering Filtering is used to limit the results returned in a single request. The API supports filtering by certain fields in the response. To filter results, you can use the field as a query parameter. For example, to filter the IP list to only return public IPv4 addresses, you can filter by the `type` field, as in the following request: ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/projects/id/ips?type=public_ipv4 ``` Only IP addresses with the `type` field set to `public_ipv4` will be returned. ## Searching Searching is used to find matching resources using multiple field comparissons. The API supports searching in resources that define this behavior. Currently the search parameter is only available on devices, ssh_keys, api_keys and memberships endpoints. To search resources you can use the `search` query parameter. ## Include and Exclude For resources that contain references to other resources, sucha as a Device that refers to the Project it resides in, the Equinix Metal API will returns `href` values (API links) to the associated resource. ```json { ... \"project\": { \"href\": \"/metal/v1/projects/f3f131c8-f302-49ef-8c44-9405022dc6dd\" } } ``` If you're going need the project details, you can avoid a second API request. Specify the contained `href` resources and collections that you'd like to have included in the response using the `include` query parameter. For example: ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=projects ``` The `include` parameter is generally accepted in `GET`, `POST`, `PUT`, and `PATCH` requests where `href` resources are presented. To have multiple resources include, use a comma-separated list (e.g. `?include=emails,projects,memberships`). ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=emails,projects,memberships ``` You may also include nested associations up to three levels deep using dot notation (`?include=memberships.projects`): ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=memberships.projects ``` To exclude resources, and optimize response delivery, use the `exclude` query parameter. The `exclude` parameter is generally accepted in `GET`, `POST`, `PUT`, and `PATCH` requests for fields with nested object responses. When excluded, these fields will be replaced with an object that contains only an `href` field. - - The version of the OpenAPI document: 1.0.0 - Contact: support@equinixmetal.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -# import models into model package -from equinix_metal.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest -from equinix_metal.models.address import Address -from equinix_metal.models.attribute import Attribute -from equinix_metal.models.attribute_data import AttributeData -from equinix_metal.models.auth_token import AuthToken -from equinix_metal.models.auth_token_input import AuthTokenInput -from equinix_metal.models.auth_token_list import AuthTokenList -from equinix_metal.models.auth_token_project import AuthTokenProject -from equinix_metal.models.auth_token_user import AuthTokenUser -from equinix_metal.models.bgp_session_input import BGPSessionInput -from equinix_metal.models.batch import Batch -from equinix_metal.models.batches_list import BatchesList -from equinix_metal.models.bgp_config import BgpConfig -from equinix_metal.models.bgp_config_request_input import BgpConfigRequestInput -from equinix_metal.models.bgp_dynamic_neighbor import BgpDynamicNeighbor -from equinix_metal.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput -from equinix_metal.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList -from equinix_metal.models.bgp_neighbor_data import BgpNeighborData -from equinix_metal.models.bgp_route import BgpRoute -from equinix_metal.models.bgp_session import BgpSession -from equinix_metal.models.bgp_session_list import BgpSessionList -from equinix_metal.models.bgp_session_neighbors import BgpSessionNeighbors -from equinix_metal.models.bond_port_data import BondPortData -from equinix_metal.models.capacity_check_per_facility_info import CapacityCheckPerFacilityInfo -from equinix_metal.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList -from equinix_metal.models.capacity_check_per_metro_info import CapacityCheckPerMetroInfo -from equinix_metal.models.capacity_check_per_metro_list import CapacityCheckPerMetroList -from equinix_metal.models.capacity_input import CapacityInput -from equinix_metal.models.capacity_level_per_baremetal import CapacityLevelPerBaremetal -from equinix_metal.models.capacity_list import CapacityList -from equinix_metal.models.component import Component -from equinix_metal.models.coordinates import Coordinates -from equinix_metal.models.create_device_request import CreateDeviceRequest -from equinix_metal.models.create_email_input import CreateEmailInput -from equinix_metal.models.create_metal_gateway_request import CreateMetalGatewayRequest -from equinix_metal.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest -from equinix_metal.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest -from equinix_metal.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod -from equinix_metal.models.dedicated_port_create_input import DedicatedPortCreateInput -from equinix_metal.models.device import Device -from equinix_metal.models.device_action_input import DeviceActionInput -from equinix_metal.models.device_actions_inner import DeviceActionsInner -from equinix_metal.models.device_create_in_facility_input import DeviceCreateInFacilityInput -from equinix_metal.models.device_create_in_metro_input import DeviceCreateInMetroInput -from equinix_metal.models.device_create_input import DeviceCreateInput -from equinix_metal.models.device_created_by import DeviceCreatedBy -from equinix_metal.models.device_health_rollup import DeviceHealthRollup -from equinix_metal.models.device_list import DeviceList -from equinix_metal.models.device_metro import DeviceMetro -from equinix_metal.models.device_project_lite import DeviceProjectLite -from equinix_metal.models.device_update_input import DeviceUpdateInput -from equinix_metal.models.device_usage import DeviceUsage -from equinix_metal.models.device_usage_list import DeviceUsageList -from equinix_metal.models.disk import Disk -from equinix_metal.models.email import Email -from equinix_metal.models.email_input import EmailInput -from equinix_metal.models.entitlement import Entitlement -from equinix_metal.models.error import Error -from equinix_metal.models.event import Event -from equinix_metal.models.event_list import EventList -from equinix_metal.models.fabric_service_token import FabricServiceToken -from equinix_metal.models.facility import Facility -from equinix_metal.models.facility_input import FacilityInput -from equinix_metal.models.facility_input_facility import FacilityInputFacility -from equinix_metal.models.facility_list import FacilityList -from equinix_metal.models.filesystem import Filesystem -from equinix_metal.models.find_ip_address_by_id200_response import FindIPAddressById200Response -from equinix_metal.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response -from equinix_metal.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter -from equinix_metal.models.firmware_set import FirmwareSet -from equinix_metal.models.firmware_set_list_response import FirmwareSetListResponse -from equinix_metal.models.firmware_set_response import FirmwareSetResponse -from equinix_metal.models.global_bgp_range import GlobalBgpRange -from equinix_metal.models.global_bgp_range_list import GlobalBgpRangeList -from equinix_metal.models.hardware_reservation import HardwareReservation -from equinix_metal.models.hardware_reservation_list import HardwareReservationList -from equinix_metal.models.href import Href -from equinix_metal.models.ip_address import IPAddress -from equinix_metal.models.ip_assignment import IPAssignment -from equinix_metal.models.ip_assignment_input import IPAssignmentInput -from equinix_metal.models.ip_assignment_list import IPAssignmentList -from equinix_metal.models.ip_assignment_metro import IPAssignmentMetro -from equinix_metal.models.ip_assignment_update_input import IPAssignmentUpdateInput -from equinix_metal.models.ip_availabilities_list import IPAvailabilitiesList -from equinix_metal.models.ip_reservation import IPReservation -from equinix_metal.models.ip_reservation_facility import IPReservationFacility -from equinix_metal.models.ip_reservation_list import IPReservationList -from equinix_metal.models.ip_reservation_list_ip_addresses_inner import IPReservationListIpAddressesInner -from equinix_metal.models.ip_reservation_metro import IPReservationMetro -from equinix_metal.models.ip_reservation_request_input import IPReservationRequestInput -from equinix_metal.models.instances_batch_create_input import InstancesBatchCreateInput -from equinix_metal.models.instances_batch_create_input_batches_inner import InstancesBatchCreateInputBatchesInner -from equinix_metal.models.interconnection import Interconnection -from equinix_metal.models.interconnection_list import InterconnectionList -from equinix_metal.models.interconnection_port import InterconnectionPort -from equinix_metal.models.interconnection_port_list import InterconnectionPortList -from equinix_metal.models.interconnection_update_input import InterconnectionUpdateInput -from equinix_metal.models.invitation import Invitation -from equinix_metal.models.invitation_input import InvitationInput -from equinix_metal.models.invitation_list import InvitationList -from equinix_metal.models.invoice import Invoice -from equinix_metal.models.invoice_list import InvoiceList -from equinix_metal.models.license import License -from equinix_metal.models.license_create_input import LicenseCreateInput -from equinix_metal.models.license_list import LicenseList -from equinix_metal.models.license_update_input import LicenseUpdateInput -from equinix_metal.models.line_item import LineItem -from equinix_metal.models.membership import Membership -from equinix_metal.models.membership_input import MembershipInput -from equinix_metal.models.membership_list import MembershipList -from equinix_metal.models.meta import Meta -from equinix_metal.models.metadata import Metadata -from equinix_metal.models.metadata_network import MetadataNetwork -from equinix_metal.models.metadata_network_network import MetadataNetworkNetwork -from equinix_metal.models.metadata_network_network_bonding import MetadataNetworkNetworkBonding -from equinix_metal.models.metal_gateway import MetalGateway -from equinix_metal.models.metal_gateway_create_input import MetalGatewayCreateInput -from equinix_metal.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput -from equinix_metal.models.metal_gateway_list import MetalGatewayList -from equinix_metal.models.metal_gateway_list_metal_gateways_inner import MetalGatewayListMetalGatewaysInner -from equinix_metal.models.metal_gateway_lite import MetalGatewayLite -from equinix_metal.models.metro import Metro -from equinix_metal.models.metro_input import MetroInput -from equinix_metal.models.metro_list import MetroList -from equinix_metal.models.mount import Mount -from equinix_metal.models.move_hardware_reservation_request import MoveHardwareReservationRequest -from equinix_metal.models.new_password import NewPassword -from equinix_metal.models.operating_system import OperatingSystem -from equinix_metal.models.operating_system_list import OperatingSystemList -from equinix_metal.models.organization import Organization -from equinix_metal.models.organization_input import OrganizationInput -from equinix_metal.models.organization_list import OrganizationList -from equinix_metal.models.parent_block import ParentBlock -from equinix_metal.models.partition import Partition -from equinix_metal.models.payment_method import PaymentMethod -from equinix_metal.models.payment_method_billing_address import PaymentMethodBillingAddress -from equinix_metal.models.payment_method_create_input import PaymentMethodCreateInput -from equinix_metal.models.payment_method_list import PaymentMethodList -from equinix_metal.models.payment_method_update_input import PaymentMethodUpdateInput -from equinix_metal.models.plan import Plan -from equinix_metal.models.plan_available_in_inner import PlanAvailableInInner -from equinix_metal.models.plan_available_in_inner_price import PlanAvailableInInnerPrice -from equinix_metal.models.plan_available_in_metros_inner import PlanAvailableInMetrosInner -from equinix_metal.models.plan_list import PlanList -from equinix_metal.models.plan_specs import PlanSpecs -from equinix_metal.models.plan_specs_cpus_inner import PlanSpecsCpusInner -from equinix_metal.models.plan_specs_drives_inner import PlanSpecsDrivesInner -from equinix_metal.models.plan_specs_features import PlanSpecsFeatures -from equinix_metal.models.plan_specs_memory import PlanSpecsMemory -from equinix_metal.models.plan_specs_nics_inner import PlanSpecsNicsInner -from equinix_metal.models.port import Port -from equinix_metal.models.port_assign_input import PortAssignInput -from equinix_metal.models.port_convert_layer3_input import PortConvertLayer3Input -from equinix_metal.models.port_convert_layer3_input_request_ips_inner import PortConvertLayer3InputRequestIpsInner -from equinix_metal.models.port_data import PortData -from equinix_metal.models.port_vlan_assignment import PortVlanAssignment -from equinix_metal.models.port_vlan_assignment_batch import PortVlanAssignmentBatch -from equinix_metal.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput -from equinix_metal.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner import PortVlanAssignmentBatchCreateInputVlanAssignmentsInner -from equinix_metal.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList -from equinix_metal.models.port_vlan_assignment_batch_vlan_assignments_inner import PortVlanAssignmentBatchVlanAssignmentsInner -from equinix_metal.models.port_vlan_assignment_list import PortVlanAssignmentList -from equinix_metal.models.project import Project -from equinix_metal.models.project_create_from_root_input import ProjectCreateFromRootInput -from equinix_metal.models.project_create_input import ProjectCreateInput -from equinix_metal.models.project_id_name import ProjectIdName -from equinix_metal.models.project_list import ProjectList -from equinix_metal.models.project_update_input import ProjectUpdateInput -from equinix_metal.models.project_usage import ProjectUsage -from equinix_metal.models.project_usage_list import ProjectUsageList -from equinix_metal.models.raid import Raid -from equinix_metal.models.recovery_code_list import RecoveryCodeList -from equinix_metal.models.request_ip_reservation201_response import RequestIPReservation201Response -from equinix_metal.models.request_ip_reservation_request import RequestIPReservationRequest -from equinix_metal.models.ssh_key import SSHKey -from equinix_metal.models.ssh_key_create_input import SSHKeyCreateInput -from equinix_metal.models.ssh_key_input import SSHKeyInput -from equinix_metal.models.ssh_key_list import SSHKeyList -from equinix_metal.models.self_service_reservation_item_request import SelfServiceReservationItemRequest -from equinix_metal.models.self_service_reservation_item_response import SelfServiceReservationItemResponse -from equinix_metal.models.self_service_reservation_list import SelfServiceReservationList -from equinix_metal.models.self_service_reservation_response import SelfServiceReservationResponse -from equinix_metal.models.server_info import ServerInfo -from equinix_metal.models.spot_market_prices_list import SpotMarketPricesList -from equinix_metal.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList -from equinix_metal.models.spot_market_prices_per_metro_report import SpotMarketPricesPerMetroReport -from equinix_metal.models.spot_market_request import SpotMarketRequest -from equinix_metal.models.spot_market_request_create_input import SpotMarketRequestCreateInput -from equinix_metal.models.spot_market_request_create_input_instance_parameters import SpotMarketRequestCreateInputInstanceParameters -from equinix_metal.models.spot_market_request_list import SpotMarketRequestList -from equinix_metal.models.spot_market_request_metro import SpotMarketRequestMetro -from equinix_metal.models.spot_prices_datapoints import SpotPricesDatapoints -from equinix_metal.models.spot_prices_history_report import SpotPricesHistoryReport -from equinix_metal.models.spot_prices_per_baremetal import SpotPricesPerBaremetal -from equinix_metal.models.spot_prices_per_facility import SpotPricesPerFacility -from equinix_metal.models.spot_prices_per_new_facility import SpotPricesPerNewFacility -from equinix_metal.models.spot_prices_report import SpotPricesReport -from equinix_metal.models.storage import Storage -from equinix_metal.models.support_request_input import SupportRequestInput -from equinix_metal.models.transfer_request import TransferRequest -from equinix_metal.models.transfer_request_input import TransferRequestInput -from equinix_metal.models.transfer_request_list import TransferRequestList -from equinix_metal.models.update_email_input import UpdateEmailInput -from equinix_metal.models.user import User -from equinix_metal.models.user_create_input import UserCreateInput -from equinix_metal.models.user_limited import UserLimited -from equinix_metal.models.user_list import UserList -from equinix_metal.models.user_lite import UserLite -from equinix_metal.models.user_update_input import UserUpdateInput -from equinix_metal.models.userdata import Userdata -from equinix_metal.models.verify_email import VerifyEmail -from equinix_metal.models.virtual_circuit import VirtualCircuit -from equinix_metal.models.virtual_circuit_create_input import VirtualCircuitCreateInput -from equinix_metal.models.virtual_circuit_list import VirtualCircuitList -from equinix_metal.models.virtual_circuit_update_input import VirtualCircuitUpdateInput -from equinix_metal.models.virtual_network import VirtualNetwork -from equinix_metal.models.virtual_network_create_input import VirtualNetworkCreateInput -from equinix_metal.models.virtual_network_list import VirtualNetworkList -from equinix_metal.models.vlan_fabric_vc_create_input import VlanFabricVcCreateInput -from equinix_metal.models.vlan_virtual_circuit import VlanVirtualCircuit -from equinix_metal.models.vlan_virtual_circuit_create_input import VlanVirtualCircuitCreateInput -from equinix_metal.models.vlan_virtual_circuit_update_input import VlanVirtualCircuitUpdateInput -from equinix_metal.models.vrf import Vrf -from equinix_metal.models.vrf_create_input import VrfCreateInput -from equinix_metal.models.vrf_fabric_vc_create_input import VrfFabricVcCreateInput -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation -from equinix_metal.models.vrf_ip_reservation_create_input import VrfIpReservationCreateInput -from equinix_metal.models.vrf_ip_reservation_list import VrfIpReservationList -from equinix_metal.models.vrf_list import VrfList -from equinix_metal.models.vrf_metal_gateway import VrfMetalGateway -from equinix_metal.models.vrf_metal_gateway_create_input import VrfMetalGatewayCreateInput -from equinix_metal.models.vrf_route import VrfRoute -from equinix_metal.models.vrf_route_create_input import VrfRouteCreateInput -from equinix_metal.models.vrf_route_list import VrfRouteList -from equinix_metal.models.vrf_route_update_input import VrfRouteUpdateInput -from equinix_metal.models.vrf_update_input import VrfUpdateInput -from equinix_metal.models.vrf_virtual_circuit import VrfVirtualCircuit -from equinix_metal.models.vrf_virtual_circuit_create_input import VrfVirtualCircuitCreateInput -from equinix_metal.models.vrf_virtual_circuit_update_input import VrfVirtualCircuitUpdateInput diff --git a/equinix_metal/equinix_metal_t0mk/__init__.py b/equinix_metal/equinix_metal_t0mk/__init__.py new file mode 100644 index 00000000..f7cbf42d --- /dev/null +++ b/equinix_metal/equinix_metal_t0mk/__init__.py @@ -0,0 +1,312 @@ +# coding: utf-8 + +# flake8: noqa + +""" + Metal API + + # Introduction Equinix Metal provides a RESTful HTTP API which can be reached at . This document describes the API and how to use it. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. Every feature of the Equinix Metal web interface is accessible through the API. The API docs are generated from the Equinix Metal OpenAPI specification and are officially hosted at . # Common Parameters The Equinix Metal API uses a few methods to minimize network traffic and improve throughput. These parameters are not used in all API calls, but are used often enough to warrant their own section. Look for these parameters in the documentation for the API calls that support them. ## Pagination Pagination is used to limit the number of results returned in a single request. The API will return a maximum of 100 results per page. To retrieve additional results, you can use the `page` and `per_page` query parameters. The `page` parameter is used to specify the page number. The first page is `1`. The `per_page` parameter is used to specify the number of results per page. The maximum number of results differs by resource type. ## Sorting Where offered, the API allows you to sort results by a specific field. To sort results use the `sort_by` query parameter with the root level field name as the value. The `sort_direction` parameter is used to specify the sort direction, either either `asc` (ascending) or `desc` (descending). ## Filtering Filtering is used to limit the results returned in a single request. The API supports filtering by certain fields in the response. To filter results, you can use the field as a query parameter. For example, to filter the IP list to only return public IPv4 addresses, you can filter by the `type` field, as in the following request: ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/projects/id/ips?type=public_ipv4 ``` Only IP addresses with the `type` field set to `public_ipv4` will be returned. ## Searching Searching is used to find matching resources using multiple field comparissons. The API supports searching in resources that define this behavior. Currently the search parameter is only available on devices, ssh_keys, api_keys and memberships endpoints. To search resources you can use the `search` query parameter. ## Include and Exclude For resources that contain references to other resources, sucha as a Device that refers to the Project it resides in, the Equinix Metal API will returns `href` values (API links) to the associated resource. ```json { ... \"project\": { \"href\": \"/metal/v1/projects/f3f131c8-f302-49ef-8c44-9405022dc6dd\" } } ``` If you're going need the project details, you can avoid a second API request. Specify the contained `href` resources and collections that you'd like to have included in the response using the `include` query parameter. For example: ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=projects ``` The `include` parameter is generally accepted in `GET`, `POST`, `PUT`, and `PATCH` requests where `href` resources are presented. To have multiple resources include, use a comma-separated list (e.g. `?include=emails,projects,memberships`). ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=emails,projects,memberships ``` You may also include nested associations up to three levels deep using dot notation (`?include=memberships.projects`): ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=memberships.projects ``` To exclude resources, and optimize response delivery, use the `exclude` query parameter. The `exclude` parameter is generally accepted in `GET`, `POST`, `PUT`, and `PATCH` requests for fields with nested object responses. When excluded, these fields will be replaced with an object that contains only an `href` field. + + The version of the OpenAPI document: 1.0.0 + Contact: support@equinixmetal.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +__version__ = "0.6.0" + +# import apis into sdk package +from equinix_metal_t0mk.api.authentication_api import AuthenticationApi +from equinix_metal_t0mk.api.bgp_api import BGPApi +from equinix_metal_t0mk.api.batches_api import BatchesApi +from equinix_metal_t0mk.api.capacity_api import CapacityApi +from equinix_metal_t0mk.api.console_log_details_api import ConsoleLogDetailsApi +from equinix_metal_t0mk.api.devices_api import DevicesApi +from equinix_metal_t0mk.api.emails_api import EmailsApi +from equinix_metal_t0mk.api.events_api import EventsApi +from equinix_metal_t0mk.api.facilities_api import FacilitiesApi +from equinix_metal_t0mk.api.firmware_sets_api import FirmwareSetsApi +from equinix_metal_t0mk.api.hardware_reservations_api import HardwareReservationsApi +from equinix_metal_t0mk.api.ip_addresses_api import IPAddressesApi +from equinix_metal_t0mk.api.incidents_api import IncidentsApi +from equinix_metal_t0mk.api.interconnections_api import InterconnectionsApi +from equinix_metal_t0mk.api.invitations_api import InvitationsApi +from equinix_metal_t0mk.api.invoices_api import InvoicesApi +from equinix_metal_t0mk.api.licenses_api import LicensesApi +from equinix_metal_t0mk.api.memberships_api import MembershipsApi +from equinix_metal_t0mk.api.metal_gateways_api import MetalGatewaysApi +from equinix_metal_t0mk.api.metros_api import MetrosApi +from equinix_metal_t0mk.api.otps_api import OTPsApi +from equinix_metal_t0mk.api.operating_systems_api import OperatingSystemsApi +from equinix_metal_t0mk.api.organizations_api import OrganizationsApi +from equinix_metal_t0mk.api.password_reset_tokens_api import PasswordResetTokensApi +from equinix_metal_t0mk.api.payment_methods_api import PaymentMethodsApi +from equinix_metal_t0mk.api.plans_api import PlansApi +from equinix_metal_t0mk.api.ports_api import PortsApi +from equinix_metal_t0mk.api.projects_api import ProjectsApi +from equinix_metal_t0mk.api.ssh_keys_api import SSHKeysApi +from equinix_metal_t0mk.api.self_service_reservations_api import SelfServiceReservationsApi +from equinix_metal_t0mk.api.spot_market_api import SpotMarketApi +from equinix_metal_t0mk.api.support_request_api import SupportRequestApi +from equinix_metal_t0mk.api.transfer_requests_api import TransferRequestsApi +from equinix_metal_t0mk.api.two_factor_auth_api import TwoFactorAuthApi +from equinix_metal_t0mk.api.usages_api import UsagesApi +from equinix_metal_t0mk.api.user_verification_tokens_api import UserVerificationTokensApi +from equinix_metal_t0mk.api.userdata_api import UserdataApi +from equinix_metal_t0mk.api.users_api import UsersApi +from equinix_metal_t0mk.api.vlans_api import VLANsApi +from equinix_metal_t0mk.api.vrfs_api import VRFsApi + +# import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.configuration import Configuration +from equinix_metal_t0mk.exceptions import OpenApiException +from equinix_metal_t0mk.exceptions import ApiTypeError +from equinix_metal_t0mk.exceptions import ApiValueError +from equinix_metal_t0mk.exceptions import ApiKeyError +from equinix_metal_t0mk.exceptions import ApiAttributeError +from equinix_metal_t0mk.exceptions import ApiException + +# import models into sdk package +from equinix_metal_t0mk.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest +from equinix_metal_t0mk.models.address import Address +from equinix_metal_t0mk.models.attribute import Attribute +from equinix_metal_t0mk.models.attribute_data import AttributeData +from equinix_metal_t0mk.models.auth_token import AuthToken +from equinix_metal_t0mk.models.auth_token_input import AuthTokenInput +from equinix_metal_t0mk.models.auth_token_list import AuthTokenList +from equinix_metal_t0mk.models.auth_token_project import AuthTokenProject +from equinix_metal_t0mk.models.auth_token_user import AuthTokenUser +from equinix_metal_t0mk.models.bgp_session_input import BGPSessionInput +from equinix_metal_t0mk.models.batch import Batch +from equinix_metal_t0mk.models.batches_list import BatchesList +from equinix_metal_t0mk.models.bgp_config import BgpConfig +from equinix_metal_t0mk.models.bgp_config_request_input import BgpConfigRequestInput +from equinix_metal_t0mk.models.bgp_dynamic_neighbor import BgpDynamicNeighbor +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList +from equinix_metal_t0mk.models.bgp_neighbor_data import BgpNeighborData +from equinix_metal_t0mk.models.bgp_route import BgpRoute +from equinix_metal_t0mk.models.bgp_session import BgpSession +from equinix_metal_t0mk.models.bgp_session_list import BgpSessionList +from equinix_metal_t0mk.models.bgp_session_neighbors import BgpSessionNeighbors +from equinix_metal_t0mk.models.bond_port_data import BondPortData +from equinix_metal_t0mk.models.capacity_check_per_facility_info import CapacityCheckPerFacilityInfo +from equinix_metal_t0mk.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList +from equinix_metal_t0mk.models.capacity_check_per_metro_info import CapacityCheckPerMetroInfo +from equinix_metal_t0mk.models.capacity_check_per_metro_list import CapacityCheckPerMetroList +from equinix_metal_t0mk.models.capacity_input import CapacityInput +from equinix_metal_t0mk.models.capacity_level_per_baremetal import CapacityLevelPerBaremetal +from equinix_metal_t0mk.models.capacity_list import CapacityList +from equinix_metal_t0mk.models.component import Component +from equinix_metal_t0mk.models.coordinates import Coordinates +from equinix_metal_t0mk.models.create_device_request import CreateDeviceRequest +from equinix_metal_t0mk.models.create_email_input import CreateEmailInput +from equinix_metal_t0mk.models.create_metal_gateway_request import CreateMetalGatewayRequest +from equinix_metal_t0mk.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest +from equinix_metal_t0mk.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest +from equinix_metal_t0mk.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod +from equinix_metal_t0mk.models.dedicated_port_create_input import DedicatedPortCreateInput +from equinix_metal_t0mk.models.device import Device +from equinix_metal_t0mk.models.device_action_input import DeviceActionInput +from equinix_metal_t0mk.models.device_actions_inner import DeviceActionsInner +from equinix_metal_t0mk.models.device_create_in_facility_input import DeviceCreateInFacilityInput +from equinix_metal_t0mk.models.device_create_in_metro_input import DeviceCreateInMetroInput +from equinix_metal_t0mk.models.device_create_input import DeviceCreateInput +from equinix_metal_t0mk.models.device_created_by import DeviceCreatedBy +from equinix_metal_t0mk.models.device_health_rollup import DeviceHealthRollup +from equinix_metal_t0mk.models.device_list import DeviceList +from equinix_metal_t0mk.models.device_metro import DeviceMetro +from equinix_metal_t0mk.models.device_project_lite import DeviceProjectLite +from equinix_metal_t0mk.models.device_update_input import DeviceUpdateInput +from equinix_metal_t0mk.models.device_usage import DeviceUsage +from equinix_metal_t0mk.models.device_usage_list import DeviceUsageList +from equinix_metal_t0mk.models.disk import Disk +from equinix_metal_t0mk.models.email import Email +from equinix_metal_t0mk.models.email_input import EmailInput +from equinix_metal_t0mk.models.entitlement import Entitlement +from equinix_metal_t0mk.models.error import Error +from equinix_metal_t0mk.models.event import Event +from equinix_metal_t0mk.models.event_list import EventList +from equinix_metal_t0mk.models.fabric_service_token import FabricServiceToken +from equinix_metal_t0mk.models.facility import Facility +from equinix_metal_t0mk.models.facility_input import FacilityInput +from equinix_metal_t0mk.models.facility_input_facility import FacilityInputFacility +from equinix_metal_t0mk.models.facility_list import FacilityList +from equinix_metal_t0mk.models.filesystem import Filesystem +from equinix_metal_t0mk.models.find_ip_address_by_id200_response import FindIPAddressById200Response +from equinix_metal_t0mk.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response +from equinix_metal_t0mk.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter +from equinix_metal_t0mk.models.firmware_set import FirmwareSet +from equinix_metal_t0mk.models.firmware_set_list_response import FirmwareSetListResponse +from equinix_metal_t0mk.models.firmware_set_response import FirmwareSetResponse +from equinix_metal_t0mk.models.global_bgp_range import GlobalBgpRange +from equinix_metal_t0mk.models.global_bgp_range_list import GlobalBgpRangeList +from equinix_metal_t0mk.models.hardware_reservation import HardwareReservation +from equinix_metal_t0mk.models.hardware_reservation_list import HardwareReservationList +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.ip_address import IPAddress +from equinix_metal_t0mk.models.ip_assignment import IPAssignment +from equinix_metal_t0mk.models.ip_assignment_input import IPAssignmentInput +from equinix_metal_t0mk.models.ip_assignment_list import IPAssignmentList +from equinix_metal_t0mk.models.ip_assignment_metro import IPAssignmentMetro +from equinix_metal_t0mk.models.ip_assignment_update_input import IPAssignmentUpdateInput +from equinix_metal_t0mk.models.ip_availabilities_list import IPAvailabilitiesList +from equinix_metal_t0mk.models.ip_reservation import IPReservation +from equinix_metal_t0mk.models.ip_reservation_facility import IPReservationFacility +from equinix_metal_t0mk.models.ip_reservation_list import IPReservationList +from equinix_metal_t0mk.models.ip_reservation_list_ip_addresses_inner import IPReservationListIpAddressesInner +from equinix_metal_t0mk.models.ip_reservation_metro import IPReservationMetro +from equinix_metal_t0mk.models.ip_reservation_request_input import IPReservationRequestInput +from equinix_metal_t0mk.models.instances_batch_create_input import InstancesBatchCreateInput +from equinix_metal_t0mk.models.instances_batch_create_input_batches_inner import InstancesBatchCreateInputBatchesInner +from equinix_metal_t0mk.models.interconnection import Interconnection +from equinix_metal_t0mk.models.interconnection_list import InterconnectionList +from equinix_metal_t0mk.models.interconnection_port import InterconnectionPort +from equinix_metal_t0mk.models.interconnection_port_list import InterconnectionPortList +from equinix_metal_t0mk.models.interconnection_update_input import InterconnectionUpdateInput +from equinix_metal_t0mk.models.invitation import Invitation +from equinix_metal_t0mk.models.invitation_input import InvitationInput +from equinix_metal_t0mk.models.invitation_list import InvitationList +from equinix_metal_t0mk.models.invoice import Invoice +from equinix_metal_t0mk.models.invoice_list import InvoiceList +from equinix_metal_t0mk.models.license import License +from equinix_metal_t0mk.models.license_create_input import LicenseCreateInput +from equinix_metal_t0mk.models.license_list import LicenseList +from equinix_metal_t0mk.models.license_update_input import LicenseUpdateInput +from equinix_metal_t0mk.models.line_item import LineItem +from equinix_metal_t0mk.models.membership import Membership +from equinix_metal_t0mk.models.membership_input import MembershipInput +from equinix_metal_t0mk.models.membership_list import MembershipList +from equinix_metal_t0mk.models.meta import Meta +from equinix_metal_t0mk.models.metadata import Metadata +from equinix_metal_t0mk.models.metadata_network import MetadataNetwork +from equinix_metal_t0mk.models.metadata_network_network import MetadataNetworkNetwork +from equinix_metal_t0mk.models.metadata_network_network_bonding import MetadataNetworkNetworkBonding +from equinix_metal_t0mk.models.metal_gateway import MetalGateway +from equinix_metal_t0mk.models.metal_gateway_create_input import MetalGatewayCreateInput +from equinix_metal_t0mk.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput +from equinix_metal_t0mk.models.metal_gateway_list import MetalGatewayList +from equinix_metal_t0mk.models.metal_gateway_list_metal_gateways_inner import MetalGatewayListMetalGatewaysInner +from equinix_metal_t0mk.models.metal_gateway_lite import MetalGatewayLite +from equinix_metal_t0mk.models.metro import Metro +from equinix_metal_t0mk.models.metro_input import MetroInput +from equinix_metal_t0mk.models.metro_list import MetroList +from equinix_metal_t0mk.models.mount import Mount +from equinix_metal_t0mk.models.move_hardware_reservation_request import MoveHardwareReservationRequest +from equinix_metal_t0mk.models.new_password import NewPassword +from equinix_metal_t0mk.models.operating_system import OperatingSystem +from equinix_metal_t0mk.models.operating_system_list import OperatingSystemList +from equinix_metal_t0mk.models.organization import Organization +from equinix_metal_t0mk.models.organization_input import OrganizationInput +from equinix_metal_t0mk.models.organization_list import OrganizationList +from equinix_metal_t0mk.models.parent_block import ParentBlock +from equinix_metal_t0mk.models.partition import Partition +from equinix_metal_t0mk.models.payment_method import PaymentMethod +from equinix_metal_t0mk.models.payment_method_billing_address import PaymentMethodBillingAddress +from equinix_metal_t0mk.models.payment_method_create_input import PaymentMethodCreateInput +from equinix_metal_t0mk.models.payment_method_list import PaymentMethodList +from equinix_metal_t0mk.models.payment_method_update_input import PaymentMethodUpdateInput +from equinix_metal_t0mk.models.plan import Plan +from equinix_metal_t0mk.models.plan_available_in_inner import PlanAvailableInInner +from equinix_metal_t0mk.models.plan_available_in_inner_price import PlanAvailableInInnerPrice +from equinix_metal_t0mk.models.plan_available_in_metros_inner import PlanAvailableInMetrosInner +from equinix_metal_t0mk.models.plan_list import PlanList +from equinix_metal_t0mk.models.plan_specs import PlanSpecs +from equinix_metal_t0mk.models.plan_specs_cpus_inner import PlanSpecsCpusInner +from equinix_metal_t0mk.models.plan_specs_drives_inner import PlanSpecsDrivesInner +from equinix_metal_t0mk.models.plan_specs_features import PlanSpecsFeatures +from equinix_metal_t0mk.models.plan_specs_memory import PlanSpecsMemory +from equinix_metal_t0mk.models.plan_specs_nics_inner import PlanSpecsNicsInner +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.models.port_assign_input import PortAssignInput +from equinix_metal_t0mk.models.port_convert_layer3_input import PortConvertLayer3Input +from equinix_metal_t0mk.models.port_convert_layer3_input_request_ips_inner import PortConvertLayer3InputRequestIpsInner +from equinix_metal_t0mk.models.port_data import PortData +from equinix_metal_t0mk.models.port_vlan_assignment import PortVlanAssignment +from equinix_metal_t0mk.models.port_vlan_assignment_batch import PortVlanAssignmentBatch +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner import PortVlanAssignmentBatchCreateInputVlanAssignmentsInner +from equinix_metal_t0mk.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList +from equinix_metal_t0mk.models.port_vlan_assignment_batch_vlan_assignments_inner import PortVlanAssignmentBatchVlanAssignmentsInner +from equinix_metal_t0mk.models.port_vlan_assignment_list import PortVlanAssignmentList +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.project_create_from_root_input import ProjectCreateFromRootInput +from equinix_metal_t0mk.models.project_create_input import ProjectCreateInput +from equinix_metal_t0mk.models.project_id_name import ProjectIdName +from equinix_metal_t0mk.models.project_list import ProjectList +from equinix_metal_t0mk.models.project_update_input import ProjectUpdateInput +from equinix_metal_t0mk.models.project_usage import ProjectUsage +from equinix_metal_t0mk.models.project_usage_list import ProjectUsageList +from equinix_metal_t0mk.models.raid import Raid +from equinix_metal_t0mk.models.recovery_code_list import RecoveryCodeList +from equinix_metal_t0mk.models.request_ip_reservation201_response import RequestIPReservation201Response +from equinix_metal_t0mk.models.request_ip_reservation_request import RequestIPReservationRequest +from equinix_metal_t0mk.models.ssh_key import SSHKey +from equinix_metal_t0mk.models.ssh_key_create_input import SSHKeyCreateInput +from equinix_metal_t0mk.models.ssh_key_input import SSHKeyInput +from equinix_metal_t0mk.models.ssh_key_list import SSHKeyList +from equinix_metal_t0mk.models.self_service_reservation_item_request import SelfServiceReservationItemRequest +from equinix_metal_t0mk.models.self_service_reservation_item_response import SelfServiceReservationItemResponse +from equinix_metal_t0mk.models.self_service_reservation_list import SelfServiceReservationList +from equinix_metal_t0mk.models.self_service_reservation_response import SelfServiceReservationResponse +from equinix_metal_t0mk.models.server_info import ServerInfo +from equinix_metal_t0mk.models.spot_market_prices_list import SpotMarketPricesList +from equinix_metal_t0mk.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList +from equinix_metal_t0mk.models.spot_market_prices_per_metro_report import SpotMarketPricesPerMetroReport +from equinix_metal_t0mk.models.spot_market_request import SpotMarketRequest +from equinix_metal_t0mk.models.spot_market_request_create_input import SpotMarketRequestCreateInput +from equinix_metal_t0mk.models.spot_market_request_create_input_instance_parameters import SpotMarketRequestCreateInputInstanceParameters +from equinix_metal_t0mk.models.spot_market_request_list import SpotMarketRequestList +from equinix_metal_t0mk.models.spot_market_request_metro import SpotMarketRequestMetro +from equinix_metal_t0mk.models.spot_prices_datapoints import SpotPricesDatapoints +from equinix_metal_t0mk.models.spot_prices_history_report import SpotPricesHistoryReport +from equinix_metal_t0mk.models.spot_prices_per_baremetal import SpotPricesPerBaremetal +from equinix_metal_t0mk.models.spot_prices_per_facility import SpotPricesPerFacility +from equinix_metal_t0mk.models.spot_prices_per_new_facility import SpotPricesPerNewFacility +from equinix_metal_t0mk.models.spot_prices_report import SpotPricesReport +from equinix_metal_t0mk.models.storage import Storage +from equinix_metal_t0mk.models.support_request_input import SupportRequestInput +from equinix_metal_t0mk.models.transfer_request import TransferRequest +from equinix_metal_t0mk.models.transfer_request_input import TransferRequestInput +from equinix_metal_t0mk.models.transfer_request_list import TransferRequestList +from equinix_metal_t0mk.models.update_email_input import UpdateEmailInput +from equinix_metal_t0mk.models.user import User +from equinix_metal_t0mk.models.user_create_input import UserCreateInput +from equinix_metal_t0mk.models.user_limited import UserLimited +from equinix_metal_t0mk.models.user_list import UserList +from equinix_metal_t0mk.models.user_lite import UserLite +from equinix_metal_t0mk.models.user_update_input import UserUpdateInput +from equinix_metal_t0mk.models.userdata import Userdata +from equinix_metal_t0mk.models.verify_email import VerifyEmail +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit +from equinix_metal_t0mk.models.virtual_circuit_create_input import VirtualCircuitCreateInput +from equinix_metal_t0mk.models.virtual_circuit_list import VirtualCircuitList +from equinix_metal_t0mk.models.virtual_circuit_update_input import VirtualCircuitUpdateInput +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.models.virtual_network_create_input import VirtualNetworkCreateInput +from equinix_metal_t0mk.models.virtual_network_list import VirtualNetworkList +from equinix_metal_t0mk.models.vlan_fabric_vc_create_input import VlanFabricVcCreateInput +from equinix_metal_t0mk.models.vlan_virtual_circuit import VlanVirtualCircuit +from equinix_metal_t0mk.models.vlan_virtual_circuit_create_input import VlanVirtualCircuitCreateInput +from equinix_metal_t0mk.models.vlan_virtual_circuit_update_input import VlanVirtualCircuitUpdateInput +from equinix_metal_t0mk.models.vrf import Vrf +from equinix_metal_t0mk.models.vrf_create_input import VrfCreateInput +from equinix_metal_t0mk.models.vrf_fabric_vc_create_input import VrfFabricVcCreateInput +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation +from equinix_metal_t0mk.models.vrf_ip_reservation_create_input import VrfIpReservationCreateInput +from equinix_metal_t0mk.models.vrf_ip_reservation_list import VrfIpReservationList +from equinix_metal_t0mk.models.vrf_list import VrfList +from equinix_metal_t0mk.models.vrf_metal_gateway import VrfMetalGateway +from equinix_metal_t0mk.models.vrf_metal_gateway_create_input import VrfMetalGatewayCreateInput +from equinix_metal_t0mk.models.vrf_route import VrfRoute +from equinix_metal_t0mk.models.vrf_route_create_input import VrfRouteCreateInput +from equinix_metal_t0mk.models.vrf_route_list import VrfRouteList +from equinix_metal_t0mk.models.vrf_route_update_input import VrfRouteUpdateInput +from equinix_metal_t0mk.models.vrf_update_input import VrfUpdateInput +from equinix_metal_t0mk.models.vrf_virtual_circuit import VrfVirtualCircuit +from equinix_metal_t0mk.models.vrf_virtual_circuit_create_input import VrfVirtualCircuitCreateInput +from equinix_metal_t0mk.models.vrf_virtual_circuit_update_input import VrfVirtualCircuitUpdateInput diff --git a/equinix_metal/equinix_metal_t0mk/api/__init__.py b/equinix_metal/equinix_metal_t0mk/api/__init__.py new file mode 100644 index 00000000..c9361ec6 --- /dev/null +++ b/equinix_metal/equinix_metal_t0mk/api/__init__.py @@ -0,0 +1,44 @@ +# flake8: noqa + +# import apis into api package +from equinix_metal_t0mk.api.authentication_api import AuthenticationApi +from equinix_metal_t0mk.api.bgp_api import BGPApi +from equinix_metal_t0mk.api.batches_api import BatchesApi +from equinix_metal_t0mk.api.capacity_api import CapacityApi +from equinix_metal_t0mk.api.console_log_details_api import ConsoleLogDetailsApi +from equinix_metal_t0mk.api.devices_api import DevicesApi +from equinix_metal_t0mk.api.emails_api import EmailsApi +from equinix_metal_t0mk.api.events_api import EventsApi +from equinix_metal_t0mk.api.facilities_api import FacilitiesApi +from equinix_metal_t0mk.api.firmware_sets_api import FirmwareSetsApi +from equinix_metal_t0mk.api.hardware_reservations_api import HardwareReservationsApi +from equinix_metal_t0mk.api.ip_addresses_api import IPAddressesApi +from equinix_metal_t0mk.api.incidents_api import IncidentsApi +from equinix_metal_t0mk.api.interconnections_api import InterconnectionsApi +from equinix_metal_t0mk.api.invitations_api import InvitationsApi +from equinix_metal_t0mk.api.invoices_api import InvoicesApi +from equinix_metal_t0mk.api.licenses_api import LicensesApi +from equinix_metal_t0mk.api.memberships_api import MembershipsApi +from equinix_metal_t0mk.api.metal_gateways_api import MetalGatewaysApi +from equinix_metal_t0mk.api.metros_api import MetrosApi +from equinix_metal_t0mk.api.otps_api import OTPsApi +from equinix_metal_t0mk.api.operating_systems_api import OperatingSystemsApi +from equinix_metal_t0mk.api.organizations_api import OrganizationsApi +from equinix_metal_t0mk.api.password_reset_tokens_api import PasswordResetTokensApi +from equinix_metal_t0mk.api.payment_methods_api import PaymentMethodsApi +from equinix_metal_t0mk.api.plans_api import PlansApi +from equinix_metal_t0mk.api.ports_api import PortsApi +from equinix_metal_t0mk.api.projects_api import ProjectsApi +from equinix_metal_t0mk.api.ssh_keys_api import SSHKeysApi +from equinix_metal_t0mk.api.self_service_reservations_api import SelfServiceReservationsApi +from equinix_metal_t0mk.api.spot_market_api import SpotMarketApi +from equinix_metal_t0mk.api.support_request_api import SupportRequestApi +from equinix_metal_t0mk.api.transfer_requests_api import TransferRequestsApi +from equinix_metal_t0mk.api.two_factor_auth_api import TwoFactorAuthApi +from equinix_metal_t0mk.api.usages_api import UsagesApi +from equinix_metal_t0mk.api.user_verification_tokens_api import UserVerificationTokensApi +from equinix_metal_t0mk.api.userdata_api import UserdataApi +from equinix_metal_t0mk.api.users_api import UsersApi +from equinix_metal_t0mk.api.vlans_api import VLANsApi +from equinix_metal_t0mk.api.vrfs_api import VRFsApi + diff --git a/equinix_metal/equinix_metal/api/authentication_api.py b/equinix_metal/equinix_metal_t0mk/api/authentication_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/authentication_api.py rename to equinix_metal/equinix_metal_t0mk/api/authentication_api.py index 69a183da..c6fc7150 100644 --- a/equinix_metal/equinix_metal/api/authentication_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/authentication_api.py @@ -24,13 +24,13 @@ from typing import Optional -from equinix_metal.models.auth_token import AuthToken -from equinix_metal.models.auth_token_input import AuthTokenInput -from equinix_metal.models.auth_token_list import AuthTokenList +from equinix_metal_t0mk.models.auth_token import AuthToken +from equinix_metal_t0mk.models.auth_token_input import AuthTokenInput +from equinix_metal_t0mk.models.auth_token_list import AuthTokenList -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/batches_api.py b/equinix_metal/equinix_metal_t0mk/api/batches_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/batches_api.py rename to equinix_metal/equinix_metal_t0mk/api/batches_api.py index 347dc1d8..178c4316 100644 --- a/equinix_metal/equinix_metal/api/batches_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/batches_api.py @@ -24,13 +24,13 @@ from typing import Optional -from equinix_metal.models.batch import Batch -from equinix_metal.models.batches_list import BatchesList -from equinix_metal.models.instances_batch_create_input import InstancesBatchCreateInput +from equinix_metal_t0mk.models.batch import Batch +from equinix_metal_t0mk.models.batches_list import BatchesList +from equinix_metal_t0mk.models.instances_batch_create_input import InstancesBatchCreateInput -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/bgp_api.py b/equinix_metal/equinix_metal_t0mk/api/bgp_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/bgp_api.py rename to equinix_metal/equinix_metal_t0mk/api/bgp_api.py index 7607c0db..44592b7c 100644 --- a/equinix_metal/equinix_metal/api/bgp_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/bgp_api.py @@ -24,15 +24,15 @@ from typing import Optional -from equinix_metal.models.bgp_config import BgpConfig -from equinix_metal.models.bgp_config_request_input import BgpConfigRequestInput -from equinix_metal.models.bgp_session import BgpSession -from equinix_metal.models.bgp_session_list import BgpSessionList -from equinix_metal.models.global_bgp_range_list import GlobalBgpRangeList - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.bgp_config import BgpConfig +from equinix_metal_t0mk.models.bgp_config_request_input import BgpConfigRequestInput +from equinix_metal_t0mk.models.bgp_session import BgpSession +from equinix_metal_t0mk.models.bgp_session_list import BgpSessionList +from equinix_metal_t0mk.models.global_bgp_range_list import GlobalBgpRangeList + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/capacity_api.py b/equinix_metal/equinix_metal_t0mk/api/capacity_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/capacity_api.py rename to equinix_metal/equinix_metal_t0mk/api/capacity_api.py index 34b0dd35..c4254f6e 100644 --- a/equinix_metal/equinix_metal/api/capacity_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/capacity_api.py @@ -22,14 +22,14 @@ from pydantic import Field, StrictStr -from equinix_metal.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList -from equinix_metal.models.capacity_check_per_metro_list import CapacityCheckPerMetroList -from equinix_metal.models.capacity_input import CapacityInput -from equinix_metal.models.capacity_list import CapacityList - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList +from equinix_metal_t0mk.models.capacity_check_per_metro_list import CapacityCheckPerMetroList +from equinix_metal_t0mk.models.capacity_input import CapacityInput +from equinix_metal_t0mk.models.capacity_list import CapacityList + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/console_log_details_api.py b/equinix_metal/equinix_metal_t0mk/api/console_log_details_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/console_log_details_api.py rename to equinix_metal/equinix_metal_t0mk/api/console_log_details_api.py index 307af156..1ee54fd9 100644 --- a/equinix_metal/equinix_metal/api/console_log_details_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/console_log_details_api.py @@ -25,9 +25,9 @@ from typing import Union -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/devices_api.py b/equinix_metal/equinix_metal_t0mk/api/devices_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/devices_api.py rename to equinix_metal/equinix_metal_t0mk/api/devices_api.py index 42866586..c0abe146 100644 --- a/equinix_metal/equinix_metal/api/devices_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/devices_api.py @@ -24,27 +24,27 @@ from typing import Optional -from equinix_metal.models.bgp_session_input import BGPSessionInput -from equinix_metal.models.bgp_session import BgpSession -from equinix_metal.models.bgp_session_list import BgpSessionList -from equinix_metal.models.bgp_session_neighbors import BgpSessionNeighbors -from equinix_metal.models.create_device_request import CreateDeviceRequest -from equinix_metal.models.device import Device -from equinix_metal.models.device_action_input import DeviceActionInput -from equinix_metal.models.device_health_rollup import DeviceHealthRollup -from equinix_metal.models.device_list import DeviceList -from equinix_metal.models.device_update_input import DeviceUpdateInput -from equinix_metal.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter -from equinix_metal.models.firmware_set_response import FirmwareSetResponse -from equinix_metal.models.ip_assignment import IPAssignment -from equinix_metal.models.ip_assignment_input import IPAssignmentInput -from equinix_metal.models.ip_assignment_list import IPAssignmentList -from equinix_metal.models.metadata import Metadata -from equinix_metal.models.userdata import Userdata - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.bgp_session_input import BGPSessionInput +from equinix_metal_t0mk.models.bgp_session import BgpSession +from equinix_metal_t0mk.models.bgp_session_list import BgpSessionList +from equinix_metal_t0mk.models.bgp_session_neighbors import BgpSessionNeighbors +from equinix_metal_t0mk.models.create_device_request import CreateDeviceRequest +from equinix_metal_t0mk.models.device import Device +from equinix_metal_t0mk.models.device_action_input import DeviceActionInput +from equinix_metal_t0mk.models.device_health_rollup import DeviceHealthRollup +from equinix_metal_t0mk.models.device_list import DeviceList +from equinix_metal_t0mk.models.device_update_input import DeviceUpdateInput +from equinix_metal_t0mk.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter +from equinix_metal_t0mk.models.firmware_set_response import FirmwareSetResponse +from equinix_metal_t0mk.models.ip_assignment import IPAssignment +from equinix_metal_t0mk.models.ip_assignment_input import IPAssignmentInput +from equinix_metal_t0mk.models.ip_assignment_list import IPAssignmentList +from equinix_metal_t0mk.models.metadata import Metadata +from equinix_metal_t0mk.models.userdata import Userdata + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/emails_api.py b/equinix_metal/equinix_metal_t0mk/api/emails_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/emails_api.py rename to equinix_metal/equinix_metal_t0mk/api/emails_api.py index 3187d624..08e63824 100644 --- a/equinix_metal/equinix_metal/api/emails_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/emails_api.py @@ -22,13 +22,13 @@ from pydantic import Field, StrictStr -from equinix_metal.models.create_email_input import CreateEmailInput -from equinix_metal.models.email import Email -from equinix_metal.models.update_email_input import UpdateEmailInput +from equinix_metal_t0mk.models.create_email_input import CreateEmailInput +from equinix_metal_t0mk.models.email import Email +from equinix_metal_t0mk.models.update_email_input import UpdateEmailInput -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/events_api.py b/equinix_metal/equinix_metal_t0mk/api/events_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/events_api.py rename to equinix_metal/equinix_metal_t0mk/api/events_api.py index a4456eca..0d60923f 100644 --- a/equinix_metal/equinix_metal/api/events_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/events_api.py @@ -24,12 +24,12 @@ from typing import Optional -from equinix_metal.models.event import Event -from equinix_metal.models.event_list import EventList +from equinix_metal_t0mk.models.event import Event +from equinix_metal_t0mk.models.event_list import EventList -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/facilities_api.py b/equinix_metal/equinix_metal_t0mk/api/facilities_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/facilities_api.py rename to equinix_metal/equinix_metal_t0mk/api/facilities_api.py index be1b0246..651d964e 100644 --- a/equinix_metal/equinix_metal/api/facilities_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/facilities_api.py @@ -24,11 +24,11 @@ from typing import Optional -from equinix_metal.models.facility_list import FacilityList +from equinix_metal_t0mk.models.facility_list import FacilityList -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/firmware_sets_api.py b/equinix_metal/equinix_metal_t0mk/api/firmware_sets_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/firmware_sets_api.py rename to equinix_metal/equinix_metal_t0mk/api/firmware_sets_api.py index 46553f50..ebbbab05 100644 --- a/equinix_metal/equinix_metal/api/firmware_sets_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/firmware_sets_api.py @@ -24,11 +24,11 @@ from typing import Optional -from equinix_metal.models.firmware_set_list_response import FirmwareSetListResponse +from equinix_metal_t0mk.models.firmware_set_list_response import FirmwareSetListResponse -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/hardware_reservations_api.py b/equinix_metal/equinix_metal_t0mk/api/hardware_reservations_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/hardware_reservations_api.py rename to equinix_metal/equinix_metal_t0mk/api/hardware_reservations_api.py index 4a1ff6dd..f813ca47 100644 --- a/equinix_metal/equinix_metal/api/hardware_reservations_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/hardware_reservations_api.py @@ -24,14 +24,14 @@ from typing import Optional -from equinix_metal.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest -from equinix_metal.models.hardware_reservation import HardwareReservation -from equinix_metal.models.hardware_reservation_list import HardwareReservationList -from equinix_metal.models.move_hardware_reservation_request import MoveHardwareReservationRequest - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest +from equinix_metal_t0mk.models.hardware_reservation import HardwareReservation +from equinix_metal_t0mk.models.hardware_reservation_list import HardwareReservationList +from equinix_metal_t0mk.models.move_hardware_reservation_request import MoveHardwareReservationRequest + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/incidents_api.py b/equinix_metal/equinix_metal_t0mk/api/incidents_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/incidents_api.py rename to equinix_metal/equinix_metal_t0mk/api/incidents_api.py index 334acc16..24149f7b 100644 --- a/equinix_metal/equinix_metal/api/incidents_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/incidents_api.py @@ -25,9 +25,9 @@ from typing import Optional -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/interconnections_api.py b/equinix_metal/equinix_metal_t0mk/api/interconnections_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/interconnections_api.py rename to equinix_metal/equinix_metal_t0mk/api/interconnections_api.py index 1f714cb2..3769e325 100644 --- a/equinix_metal/equinix_metal/api/interconnections_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/interconnections_api.py @@ -24,20 +24,20 @@ from typing import Optional -from equinix_metal.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest -from equinix_metal.models.interconnection import Interconnection -from equinix_metal.models.interconnection_list import InterconnectionList -from equinix_metal.models.interconnection_port import InterconnectionPort -from equinix_metal.models.interconnection_port_list import InterconnectionPortList -from equinix_metal.models.interconnection_update_input import InterconnectionUpdateInput -from equinix_metal.models.virtual_circuit import VirtualCircuit -from equinix_metal.models.virtual_circuit_create_input import VirtualCircuitCreateInput -from equinix_metal.models.virtual_circuit_list import VirtualCircuitList -from equinix_metal.models.virtual_circuit_update_input import VirtualCircuitUpdateInput - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest +from equinix_metal_t0mk.models.interconnection import Interconnection +from equinix_metal_t0mk.models.interconnection_list import InterconnectionList +from equinix_metal_t0mk.models.interconnection_port import InterconnectionPort +from equinix_metal_t0mk.models.interconnection_port_list import InterconnectionPortList +from equinix_metal_t0mk.models.interconnection_update_input import InterconnectionUpdateInput +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit +from equinix_metal_t0mk.models.virtual_circuit_create_input import VirtualCircuitCreateInput +from equinix_metal_t0mk.models.virtual_circuit_list import VirtualCircuitList +from equinix_metal_t0mk.models.virtual_circuit_update_input import VirtualCircuitUpdateInput + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/invitations_api.py b/equinix_metal/equinix_metal_t0mk/api/invitations_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/invitations_api.py rename to equinix_metal/equinix_metal_t0mk/api/invitations_api.py index 965affea..af0217af 100644 --- a/equinix_metal/equinix_metal/api/invitations_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/invitations_api.py @@ -24,12 +24,12 @@ from typing import Optional -from equinix_metal.models.invitation import Invitation -from equinix_metal.models.membership import Membership +from equinix_metal_t0mk.models.invitation import Invitation +from equinix_metal_t0mk.models.membership import Membership -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/invoices_api.py b/equinix_metal/equinix_metal_t0mk/api/invoices_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/invoices_api.py rename to equinix_metal/equinix_metal_t0mk/api/invoices_api.py index 130c7d8b..1797216c 100644 --- a/equinix_metal/equinix_metal/api/invoices_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/invoices_api.py @@ -24,12 +24,12 @@ from typing import Optional -from equinix_metal.models.invoice import Invoice -from equinix_metal.models.invoice_list import InvoiceList +from equinix_metal_t0mk.models.invoice import Invoice +from equinix_metal_t0mk.models.invoice_list import InvoiceList -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/ip_addresses_api.py b/equinix_metal/equinix_metal_t0mk/api/ip_addresses_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/ip_addresses_api.py rename to equinix_metal/equinix_metal_t0mk/api/ip_addresses_api.py index f8882418..f2915c04 100644 --- a/equinix_metal/equinix_metal/api/ip_addresses_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/ip_addresses_api.py @@ -24,16 +24,16 @@ from typing import Optional -from equinix_metal.models.find_ip_address_by_id200_response import FindIPAddressById200Response -from equinix_metal.models.ip_assignment_update_input import IPAssignmentUpdateInput -from equinix_metal.models.ip_availabilities_list import IPAvailabilitiesList -from equinix_metal.models.ip_reservation_list import IPReservationList -from equinix_metal.models.request_ip_reservation201_response import RequestIPReservation201Response -from equinix_metal.models.request_ip_reservation_request import RequestIPReservationRequest - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.find_ip_address_by_id200_response import FindIPAddressById200Response +from equinix_metal_t0mk.models.ip_assignment_update_input import IPAssignmentUpdateInput +from equinix_metal_t0mk.models.ip_availabilities_list import IPAvailabilitiesList +from equinix_metal_t0mk.models.ip_reservation_list import IPReservationList +from equinix_metal_t0mk.models.request_ip_reservation201_response import RequestIPReservation201Response +from equinix_metal_t0mk.models.request_ip_reservation_request import RequestIPReservationRequest + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/licenses_api.py b/equinix_metal/equinix_metal_t0mk/api/licenses_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/licenses_api.py rename to equinix_metal/equinix_metal_t0mk/api/licenses_api.py index 541f307e..aaea236f 100644 --- a/equinix_metal/equinix_metal/api/licenses_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/licenses_api.py @@ -24,14 +24,14 @@ from typing import Optional -from equinix_metal.models.license import License -from equinix_metal.models.license_create_input import LicenseCreateInput -from equinix_metal.models.license_list import LicenseList -from equinix_metal.models.license_update_input import LicenseUpdateInput - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.license import License +from equinix_metal_t0mk.models.license_create_input import LicenseCreateInput +from equinix_metal_t0mk.models.license_list import LicenseList +from equinix_metal_t0mk.models.license_update_input import LicenseUpdateInput + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/memberships_api.py b/equinix_metal/equinix_metal_t0mk/api/memberships_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/memberships_api.py rename to equinix_metal/equinix_metal_t0mk/api/memberships_api.py index 0bceea6c..fe7388f4 100644 --- a/equinix_metal/equinix_metal/api/memberships_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/memberships_api.py @@ -24,12 +24,12 @@ from typing import Optional -from equinix_metal.models.membership import Membership -from equinix_metal.models.membership_input import MembershipInput +from equinix_metal_t0mk.models.membership import Membership +from equinix_metal_t0mk.models.membership_input import MembershipInput -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/metal_gateways_api.py b/equinix_metal/equinix_metal_t0mk/api/metal_gateways_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/metal_gateways_api.py rename to equinix_metal/equinix_metal_t0mk/api/metal_gateways_api.py index 89721553..41fe30bb 100644 --- a/equinix_metal/equinix_metal/api/metal_gateways_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/metal_gateways_api.py @@ -24,16 +24,16 @@ from typing import Optional -from equinix_metal.models.create_metal_gateway_request import CreateMetalGatewayRequest -from equinix_metal.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response -from equinix_metal.models.ip_assignment import IPAssignment -from equinix_metal.models.ip_assignment_list import IPAssignmentList -from equinix_metal.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput -from equinix_metal.models.metal_gateway_list import MetalGatewayList - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.create_metal_gateway_request import CreateMetalGatewayRequest +from equinix_metal_t0mk.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response +from equinix_metal_t0mk.models.ip_assignment import IPAssignment +from equinix_metal_t0mk.models.ip_assignment_list import IPAssignmentList +from equinix_metal_t0mk.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput +from equinix_metal_t0mk.models.metal_gateway_list import MetalGatewayList + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/metros_api.py b/equinix_metal/equinix_metal_t0mk/api/metros_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/metros_api.py rename to equinix_metal/equinix_metal_t0mk/api/metros_api.py index 05887037..033e9bca 100644 --- a/equinix_metal/equinix_metal/api/metros_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/metros_api.py @@ -22,12 +22,12 @@ from pydantic import Field, StrictStr -from equinix_metal.models.metro import Metro -from equinix_metal.models.metro_list import MetroList +from equinix_metal_t0mk.models.metro import Metro +from equinix_metal_t0mk.models.metro_list import MetroList -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/operating_systems_api.py b/equinix_metal/equinix_metal_t0mk/api/operating_systems_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/operating_systems_api.py rename to equinix_metal/equinix_metal_t0mk/api/operating_systems_api.py index 0522e46b..50d580ed 100644 --- a/equinix_metal/equinix_metal/api/operating_systems_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/operating_systems_api.py @@ -20,11 +20,11 @@ from pydantic import validate_arguments, ValidationError from typing_extensions import Annotated -from equinix_metal.models.operating_system_list import OperatingSystemList +from equinix_metal_t0mk.models.operating_system_list import OperatingSystemList -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/organizations_api.py b/equinix_metal/equinix_metal_t0mk/api/organizations_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/organizations_api.py rename to equinix_metal/equinix_metal_t0mk/api/organizations_api.py index eb9bde07..4d58ca6d 100644 --- a/equinix_metal/equinix_metal/api/organizations_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/organizations_api.py @@ -24,25 +24,25 @@ from typing import Optional -from equinix_metal.models.invitation import Invitation -from equinix_metal.models.invitation_input import InvitationInput -from equinix_metal.models.invitation_list import InvitationList -from equinix_metal.models.operating_system_list import OperatingSystemList -from equinix_metal.models.organization import Organization -from equinix_metal.models.organization_input import OrganizationInput -from equinix_metal.models.organization_list import OrganizationList -from equinix_metal.models.payment_method import PaymentMethod -from equinix_metal.models.payment_method_create_input import PaymentMethodCreateInput -from equinix_metal.models.payment_method_list import PaymentMethodList -from equinix_metal.models.plan_list import PlanList -from equinix_metal.models.project import Project -from equinix_metal.models.project_create_input import ProjectCreateInput -from equinix_metal.models.project_list import ProjectList -from equinix_metal.models.transfer_request_list import TransferRequestList - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.invitation import Invitation +from equinix_metal_t0mk.models.invitation_input import InvitationInput +from equinix_metal_t0mk.models.invitation_list import InvitationList +from equinix_metal_t0mk.models.operating_system_list import OperatingSystemList +from equinix_metal_t0mk.models.organization import Organization +from equinix_metal_t0mk.models.organization_input import OrganizationInput +from equinix_metal_t0mk.models.organization_list import OrganizationList +from equinix_metal_t0mk.models.payment_method import PaymentMethod +from equinix_metal_t0mk.models.payment_method_create_input import PaymentMethodCreateInput +from equinix_metal_t0mk.models.payment_method_list import PaymentMethodList +from equinix_metal_t0mk.models.plan_list import PlanList +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.project_create_input import ProjectCreateInput +from equinix_metal_t0mk.models.project_list import ProjectList +from equinix_metal_t0mk.models.transfer_request_list import TransferRequestList + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/otps_api.py b/equinix_metal/equinix_metal_t0mk/api/otps_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/otps_api.py rename to equinix_metal/equinix_metal_t0mk/api/otps_api.py index bf4f663b..b1bfff9d 100644 --- a/equinix_metal/equinix_metal/api/otps_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/otps_api.py @@ -22,11 +22,11 @@ from pydantic import Field, StrictStr -from equinix_metal.models.recovery_code_list import RecoveryCodeList +from equinix_metal_t0mk.models.recovery_code_list import RecoveryCodeList -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/password_reset_tokens_api.py b/equinix_metal/equinix_metal_t0mk/api/password_reset_tokens_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/password_reset_tokens_api.py rename to equinix_metal/equinix_metal_t0mk/api/password_reset_tokens_api.py index 5a1accbe..61452216 100644 --- a/equinix_metal/equinix_metal/api/password_reset_tokens_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/password_reset_tokens_api.py @@ -22,11 +22,11 @@ from pydantic import Field, StrictStr -from equinix_metal.models.new_password import NewPassword +from equinix_metal_t0mk.models.new_password import NewPassword -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/payment_methods_api.py b/equinix_metal/equinix_metal_t0mk/api/payment_methods_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/payment_methods_api.py rename to equinix_metal/equinix_metal_t0mk/api/payment_methods_api.py index 2679d497..2758fcf8 100644 --- a/equinix_metal/equinix_metal/api/payment_methods_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/payment_methods_api.py @@ -24,12 +24,12 @@ from typing import Optional -from equinix_metal.models.payment_method import PaymentMethod -from equinix_metal.models.payment_method_update_input import PaymentMethodUpdateInput +from equinix_metal_t0mk.models.payment_method import PaymentMethod +from equinix_metal_t0mk.models.payment_method_update_input import PaymentMethodUpdateInput -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/plans_api.py b/equinix_metal/equinix_metal_t0mk/api/plans_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/plans_api.py rename to equinix_metal/equinix_metal_t0mk/api/plans_api.py index 5ed9b192..317bcb56 100644 --- a/equinix_metal/equinix_metal/api/plans_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/plans_api.py @@ -24,11 +24,11 @@ from typing import Optional -from equinix_metal.models.plan_list import PlanList +from equinix_metal_t0mk.models.plan_list import PlanList -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/ports_api.py b/equinix_metal/equinix_metal_t0mk/api/ports_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/ports_api.py rename to equinix_metal/equinix_metal_t0mk/api/ports_api.py index 0118a64d..eebbe10c 100644 --- a/equinix_metal/equinix_metal/api/ports_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/ports_api.py @@ -24,18 +24,18 @@ from typing import Optional -from equinix_metal.models.port import Port -from equinix_metal.models.port_assign_input import PortAssignInput -from equinix_metal.models.port_convert_layer3_input import PortConvertLayer3Input -from equinix_metal.models.port_vlan_assignment import PortVlanAssignment -from equinix_metal.models.port_vlan_assignment_batch import PortVlanAssignmentBatch -from equinix_metal.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput -from equinix_metal.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList -from equinix_metal.models.port_vlan_assignment_list import PortVlanAssignmentList - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.models.port_assign_input import PortAssignInput +from equinix_metal_t0mk.models.port_convert_layer3_input import PortConvertLayer3Input +from equinix_metal_t0mk.models.port_vlan_assignment import PortVlanAssignment +from equinix_metal_t0mk.models.port_vlan_assignment_batch import PortVlanAssignmentBatch +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput +from equinix_metal_t0mk.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList +from equinix_metal_t0mk.models.port_vlan_assignment_list import PortVlanAssignmentList + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/projects_api.py b/equinix_metal/equinix_metal_t0mk/api/projects_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/projects_api.py rename to equinix_metal/equinix_metal_t0mk/api/projects_api.py index e1ca7e3a..2d6a7ba3 100644 --- a/equinix_metal/equinix_metal/api/projects_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/projects_api.py @@ -24,20 +24,20 @@ from typing import Optional -from equinix_metal.models.invitation import Invitation -from equinix_metal.models.invitation_input import InvitationInput -from equinix_metal.models.invitation_list import InvitationList -from equinix_metal.models.membership_list import MembershipList -from equinix_metal.models.project import Project -from equinix_metal.models.project_create_from_root_input import ProjectCreateFromRootInput -from equinix_metal.models.project_list import ProjectList -from equinix_metal.models.project_update_input import ProjectUpdateInput -from equinix_metal.models.transfer_request import TransferRequest -from equinix_metal.models.transfer_request_input import TransferRequestInput - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.invitation import Invitation +from equinix_metal_t0mk.models.invitation_input import InvitationInput +from equinix_metal_t0mk.models.invitation_list import InvitationList +from equinix_metal_t0mk.models.membership_list import MembershipList +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.project_create_from_root_input import ProjectCreateFromRootInput +from equinix_metal_t0mk.models.project_list import ProjectList +from equinix_metal_t0mk.models.project_update_input import ProjectUpdateInput +from equinix_metal_t0mk.models.transfer_request import TransferRequest +from equinix_metal_t0mk.models.transfer_request_input import TransferRequestInput + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/self_service_reservations_api.py b/equinix_metal/equinix_metal_t0mk/api/self_service_reservations_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/self_service_reservations_api.py rename to equinix_metal/equinix_metal_t0mk/api/self_service_reservations_api.py index 484c8be7..24b7a4c6 100644 --- a/equinix_metal/equinix_metal/api/self_service_reservations_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/self_service_reservations_api.py @@ -24,13 +24,13 @@ from typing import Optional -from equinix_metal.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest -from equinix_metal.models.self_service_reservation_list import SelfServiceReservationList -from equinix_metal.models.self_service_reservation_response import SelfServiceReservationResponse +from equinix_metal_t0mk.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest +from equinix_metal_t0mk.models.self_service_reservation_list import SelfServiceReservationList +from equinix_metal_t0mk.models.self_service_reservation_response import SelfServiceReservationResponse -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/spot_market_api.py b/equinix_metal/equinix_metal_t0mk/api/spot_market_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/spot_market_api.py rename to equinix_metal/equinix_metal_t0mk/api/spot_market_api.py index 4223aacf..dc7f1be3 100644 --- a/equinix_metal/equinix_metal/api/spot_market_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/spot_market_api.py @@ -24,16 +24,16 @@ from typing import Optional -from equinix_metal.models.spot_market_prices_list import SpotMarketPricesList -from equinix_metal.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList -from equinix_metal.models.spot_market_request import SpotMarketRequest -from equinix_metal.models.spot_market_request_create_input import SpotMarketRequestCreateInput -from equinix_metal.models.spot_market_request_list import SpotMarketRequestList -from equinix_metal.models.spot_prices_history_report import SpotPricesHistoryReport - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.spot_market_prices_list import SpotMarketPricesList +from equinix_metal_t0mk.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList +from equinix_metal_t0mk.models.spot_market_request import SpotMarketRequest +from equinix_metal_t0mk.models.spot_market_request_create_input import SpotMarketRequestCreateInput +from equinix_metal_t0mk.models.spot_market_request_list import SpotMarketRequestList +from equinix_metal_t0mk.models.spot_prices_history_report import SpotPricesHistoryReport + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/ssh_keys_api.py b/equinix_metal/equinix_metal_t0mk/api/ssh_keys_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/ssh_keys_api.py rename to equinix_metal/equinix_metal_t0mk/api/ssh_keys_api.py index 84e3de47..3e4c8297 100644 --- a/equinix_metal/equinix_metal/api/ssh_keys_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/ssh_keys_api.py @@ -24,14 +24,14 @@ from typing import Optional -from equinix_metal.models.ssh_key import SSHKey -from equinix_metal.models.ssh_key_create_input import SSHKeyCreateInput -from equinix_metal.models.ssh_key_input import SSHKeyInput -from equinix_metal.models.ssh_key_list import SSHKeyList - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.ssh_key import SSHKey +from equinix_metal_t0mk.models.ssh_key_create_input import SSHKeyCreateInput +from equinix_metal_t0mk.models.ssh_key_input import SSHKeyInput +from equinix_metal_t0mk.models.ssh_key_list import SSHKeyList + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/support_request_api.py b/equinix_metal/equinix_metal_t0mk/api/support_request_api.py similarity index 97% rename from equinix_metal/equinix_metal/api/support_request_api.py rename to equinix_metal/equinix_metal_t0mk/api/support_request_api.py index 113490bd..bf8625a3 100644 --- a/equinix_metal/equinix_metal/api/support_request_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/support_request_api.py @@ -22,11 +22,11 @@ from pydantic import Field -from equinix_metal.models.support_request_input import SupportRequestInput +from equinix_metal_t0mk.models.support_request_input import SupportRequestInput -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/transfer_requests_api.py b/equinix_metal/equinix_metal_t0mk/api/transfer_requests_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/transfer_requests_api.py rename to equinix_metal/equinix_metal_t0mk/api/transfer_requests_api.py index 77744a29..bd3016c4 100644 --- a/equinix_metal/equinix_metal/api/transfer_requests_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/transfer_requests_api.py @@ -24,11 +24,11 @@ from typing import Optional -from equinix_metal.models.transfer_request import TransferRequest +from equinix_metal_t0mk.models.transfer_request import TransferRequest -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/two_factor_auth_api.py b/equinix_metal/equinix_metal_t0mk/api/two_factor_auth_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/two_factor_auth_api.py rename to equinix_metal/equinix_metal_t0mk/api/two_factor_auth_api.py index 0890d8c7..6fc55392 100644 --- a/equinix_metal/equinix_metal/api/two_factor_auth_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/two_factor_auth_api.py @@ -21,9 +21,9 @@ from typing_extensions import Annotated -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/usages_api.py b/equinix_metal/equinix_metal_t0mk/api/usages_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/usages_api.py rename to equinix_metal/equinix_metal_t0mk/api/usages_api.py index 3a6358df..de2f34e6 100644 --- a/equinix_metal/equinix_metal/api/usages_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/usages_api.py @@ -24,12 +24,12 @@ from typing import Optional -from equinix_metal.models.device_usage_list import DeviceUsageList -from equinix_metal.models.project_usage_list import ProjectUsageList +from equinix_metal_t0mk.models.device_usage_list import DeviceUsageList +from equinix_metal_t0mk.models.project_usage_list import ProjectUsageList -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/user_verification_tokens_api.py b/equinix_metal/equinix_metal_t0mk/api/user_verification_tokens_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/user_verification_tokens_api.py rename to equinix_metal/equinix_metal_t0mk/api/user_verification_tokens_api.py index f62bda9a..f0996b87 100644 --- a/equinix_metal/equinix_metal/api/user_verification_tokens_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/user_verification_tokens_api.py @@ -24,11 +24,11 @@ from typing import Optional -from equinix_metal.models.verify_email import VerifyEmail +from equinix_metal_t0mk.models.verify_email import VerifyEmail -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/userdata_api.py b/equinix_metal/equinix_metal_t0mk/api/userdata_api.py similarity index 98% rename from equinix_metal/equinix_metal/api/userdata_api.py rename to equinix_metal/equinix_metal_t0mk/api/userdata_api.py index d89ad956..96f51448 100644 --- a/equinix_metal/equinix_metal/api/userdata_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/userdata_api.py @@ -25,9 +25,9 @@ from typing import Optional -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/users_api.py b/equinix_metal/equinix_metal_t0mk/api/users_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/users_api.py rename to equinix_metal/equinix_metal_t0mk/api/users_api.py index ac365e50..014c66b9 100644 --- a/equinix_metal/equinix_metal/api/users_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/users_api.py @@ -24,15 +24,15 @@ from typing import Optional -from equinix_metal.models.invitation_list import InvitationList -from equinix_metal.models.user import User -from equinix_metal.models.user_create_input import UserCreateInput -from equinix_metal.models.user_list import UserList -from equinix_metal.models.user_update_input import UserUpdateInput - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.invitation_list import InvitationList +from equinix_metal_t0mk.models.user import User +from equinix_metal_t0mk.models.user_create_input import UserCreateInput +from equinix_metal_t0mk.models.user_list import UserList +from equinix_metal_t0mk.models.user_update_input import UserUpdateInput + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/vlans_api.py b/equinix_metal/equinix_metal_t0mk/api/vlans_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/vlans_api.py rename to equinix_metal/equinix_metal_t0mk/api/vlans_api.py index 048d8459..fcff96fc 100644 --- a/equinix_metal/equinix_metal/api/vlans_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/vlans_api.py @@ -24,13 +24,13 @@ from typing import Optional -from equinix_metal.models.virtual_network import VirtualNetwork -from equinix_metal.models.virtual_network_create_input import VirtualNetworkCreateInput -from equinix_metal.models.virtual_network_list import VirtualNetworkList +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.models.virtual_network_create_input import VirtualNetworkCreateInput +from equinix_metal_t0mk.models.virtual_network_list import VirtualNetworkList -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api/vrfs_api.py b/equinix_metal/equinix_metal_t0mk/api/vrfs_api.py similarity index 99% rename from equinix_metal/equinix_metal/api/vrfs_api.py rename to equinix_metal/equinix_metal_t0mk/api/vrfs_api.py index 750d4730..6206f9a8 100644 --- a/equinix_metal/equinix_metal/api/vrfs_api.py +++ b/equinix_metal/equinix_metal_t0mk/api/vrfs_api.py @@ -24,23 +24,23 @@ from typing import Optional -from equinix_metal.models.bgp_dynamic_neighbor import BgpDynamicNeighbor -from equinix_metal.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput -from equinix_metal.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList -from equinix_metal.models.vrf import Vrf -from equinix_metal.models.vrf_create_input import VrfCreateInput -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation -from equinix_metal.models.vrf_ip_reservation_list import VrfIpReservationList -from equinix_metal.models.vrf_list import VrfList -from equinix_metal.models.vrf_route import VrfRoute -from equinix_metal.models.vrf_route_create_input import VrfRouteCreateInput -from equinix_metal.models.vrf_route_list import VrfRouteList -from equinix_metal.models.vrf_route_update_input import VrfRouteUpdateInput -from equinix_metal.models.vrf_update_input import VrfUpdateInput - -from equinix_metal.api_client import ApiClient -from equinix_metal.api_response import ApiResponse -from equinix_metal.exceptions import ( # noqa: F401 +from equinix_metal_t0mk.models.bgp_dynamic_neighbor import BgpDynamicNeighbor +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList +from equinix_metal_t0mk.models.vrf import Vrf +from equinix_metal_t0mk.models.vrf_create_input import VrfCreateInput +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation +from equinix_metal_t0mk.models.vrf_ip_reservation_list import VrfIpReservationList +from equinix_metal_t0mk.models.vrf_list import VrfList +from equinix_metal_t0mk.models.vrf_route import VrfRoute +from equinix_metal_t0mk.models.vrf_route_create_input import VrfRouteCreateInput +from equinix_metal_t0mk.models.vrf_route_list import VrfRouteList +from equinix_metal_t0mk.models.vrf_route_update_input import VrfRouteUpdateInput +from equinix_metal_t0mk.models.vrf_update_input import VrfUpdateInput + +from equinix_metal_t0mk.api_client import ApiClient +from equinix_metal_t0mk.api_response import ApiResponse +from equinix_metal_t0mk.exceptions import ( # noqa: F401 ApiTypeError, ApiValueError ) diff --git a/equinix_metal/equinix_metal/api_client.py b/equinix_metal/equinix_metal_t0mk/api_client.py similarity index 99% rename from equinix_metal/equinix_metal/api_client.py rename to equinix_metal/equinix_metal_t0mk/api_client.py index ecefef4b..0caf6d3b 100644 --- a/equinix_metal/equinix_metal/api_client.py +++ b/equinix_metal/equinix_metal_t0mk/api_client.py @@ -25,11 +25,11 @@ from urllib.parse import quote -from equinix_metal.configuration import Configuration -from equinix_metal.api_response import ApiResponse -import equinix_metal.models -from equinix_metal import rest -from equinix_metal.exceptions import ApiValueError, ApiException +from equinix_metal_t0mk.configuration import Configuration +from equinix_metal_t0mk.api_response import ApiResponse +import equinix_metal_t0mk.models +from equinix_metal_t0mk import rest +from equinix_metal_t0mk.exceptions import ApiValueError, ApiException class ApiClient(object): @@ -342,7 +342,7 @@ def __deserialize(self, data, klass): if klass in self.NATIVE_TYPES_MAPPING: klass = self.NATIVE_TYPES_MAPPING[klass] else: - klass = getattr(equinix_metal.models, klass) + klass = getattr(equinix_metal_t0mk.models, klass) if klass in self.PRIMITIVE_TYPES: return self.__deserialize_primitive(data, klass) diff --git a/equinix_metal/equinix_metal/api_response.py b/equinix_metal/equinix_metal_t0mk/api_response.py similarity index 100% rename from equinix_metal/equinix_metal/api_response.py rename to equinix_metal/equinix_metal_t0mk/api_response.py diff --git a/equinix_metal/equinix_metal/configuration.py b/equinix_metal/equinix_metal_t0mk/configuration.py similarity index 99% rename from equinix_metal/equinix_metal/configuration.py rename to equinix_metal/equinix_metal_t0mk/configuration.py index d450911e..31fa0dfc 100644 --- a/equinix_metal/equinix_metal/configuration.py +++ b/equinix_metal/equinix_metal_t0mk/configuration.py @@ -20,7 +20,7 @@ import urllib3 import http.client as httplib -from equinix_metal.exceptions import ApiValueError +from equinix_metal_t0mk.exceptions import ApiValueError JSON_SCHEMA_VALIDATION_KEYWORDS = { 'multipleOf', 'maximum', 'exclusiveMaximum', @@ -67,7 +67,7 @@ class Configuration(object): You can programmatically set the cookie: -conf = equinix_metal.Configuration( +conf = equinix_metal_t0mk.Configuration( api_key={'cookieAuth': 'abc123'} api_key_prefix={'cookieAuth': 'JSESSIONID'} ) @@ -128,7 +128,7 @@ def __init__(self, host=None, self.logger = {} """Logging Settings """ - self.logger["package_logger"] = logging.getLogger("equinix_metal") + self.logger["package_logger"] = logging.getLogger("equinix_metal_t0mk") self.logger["urllib3_logger"] = logging.getLogger("urllib3") self.logger_format = '%(asctime)s %(levelname)s %(message)s' """Log format diff --git a/equinix_metal/equinix_metal/exceptions.py b/equinix_metal/equinix_metal_t0mk/exceptions.py similarity index 100% rename from equinix_metal/equinix_metal/exceptions.py rename to equinix_metal/equinix_metal_t0mk/exceptions.py diff --git a/equinix_metal/equinix_metal_t0mk/models/__init__.py b/equinix_metal/equinix_metal_t0mk/models/__init__.py new file mode 100644 index 00000000..484c5337 --- /dev/null +++ b/equinix_metal/equinix_metal_t0mk/models/__init__.py @@ -0,0 +1,256 @@ +# coding: utf-8 + +# flake8: noqa +""" + Metal API + + # Introduction Equinix Metal provides a RESTful HTTP API which can be reached at . This document describes the API and how to use it. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. Every feature of the Equinix Metal web interface is accessible through the API. The API docs are generated from the Equinix Metal OpenAPI specification and are officially hosted at . # Common Parameters The Equinix Metal API uses a few methods to minimize network traffic and improve throughput. These parameters are not used in all API calls, but are used often enough to warrant their own section. Look for these parameters in the documentation for the API calls that support them. ## Pagination Pagination is used to limit the number of results returned in a single request. The API will return a maximum of 100 results per page. To retrieve additional results, you can use the `page` and `per_page` query parameters. The `page` parameter is used to specify the page number. The first page is `1`. The `per_page` parameter is used to specify the number of results per page. The maximum number of results differs by resource type. ## Sorting Where offered, the API allows you to sort results by a specific field. To sort results use the `sort_by` query parameter with the root level field name as the value. The `sort_direction` parameter is used to specify the sort direction, either either `asc` (ascending) or `desc` (descending). ## Filtering Filtering is used to limit the results returned in a single request. The API supports filtering by certain fields in the response. To filter results, you can use the field as a query parameter. For example, to filter the IP list to only return public IPv4 addresses, you can filter by the `type` field, as in the following request: ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/projects/id/ips?type=public_ipv4 ``` Only IP addresses with the `type` field set to `public_ipv4` will be returned. ## Searching Searching is used to find matching resources using multiple field comparissons. The API supports searching in resources that define this behavior. Currently the search parameter is only available on devices, ssh_keys, api_keys and memberships endpoints. To search resources you can use the `search` query parameter. ## Include and Exclude For resources that contain references to other resources, sucha as a Device that refers to the Project it resides in, the Equinix Metal API will returns `href` values (API links) to the associated resource. ```json { ... \"project\": { \"href\": \"/metal/v1/projects/f3f131c8-f302-49ef-8c44-9405022dc6dd\" } } ``` If you're going need the project details, you can avoid a second API request. Specify the contained `href` resources and collections that you'd like to have included in the response using the `include` query parameter. For example: ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=projects ``` The `include` parameter is generally accepted in `GET`, `POST`, `PUT`, and `PATCH` requests where `href` resources are presented. To have multiple resources include, use a comma-separated list (e.g. `?include=emails,projects,memberships`). ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=emails,projects,memberships ``` You may also include nested associations up to three levels deep using dot notation (`?include=memberships.projects`): ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=memberships.projects ``` To exclude resources, and optimize response delivery, use the `exclude` query parameter. The `exclude` parameter is generally accepted in `GET`, `POST`, `PUT`, and `PATCH` requests for fields with nested object responses. When excluded, these fields will be replaced with an object that contains only an `href` field. + + The version of the OpenAPI document: 1.0.0 + Contact: support@equinixmetal.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +# import models into model package +from equinix_metal_t0mk.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest +from equinix_metal_t0mk.models.address import Address +from equinix_metal_t0mk.models.attribute import Attribute +from equinix_metal_t0mk.models.attribute_data import AttributeData +from equinix_metal_t0mk.models.auth_token import AuthToken +from equinix_metal_t0mk.models.auth_token_input import AuthTokenInput +from equinix_metal_t0mk.models.auth_token_list import AuthTokenList +from equinix_metal_t0mk.models.auth_token_project import AuthTokenProject +from equinix_metal_t0mk.models.auth_token_user import AuthTokenUser +from equinix_metal_t0mk.models.bgp_session_input import BGPSessionInput +from equinix_metal_t0mk.models.batch import Batch +from equinix_metal_t0mk.models.batches_list import BatchesList +from equinix_metal_t0mk.models.bgp_config import BgpConfig +from equinix_metal_t0mk.models.bgp_config_request_input import BgpConfigRequestInput +from equinix_metal_t0mk.models.bgp_dynamic_neighbor import BgpDynamicNeighbor +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList +from equinix_metal_t0mk.models.bgp_neighbor_data import BgpNeighborData +from equinix_metal_t0mk.models.bgp_route import BgpRoute +from equinix_metal_t0mk.models.bgp_session import BgpSession +from equinix_metal_t0mk.models.bgp_session_list import BgpSessionList +from equinix_metal_t0mk.models.bgp_session_neighbors import BgpSessionNeighbors +from equinix_metal_t0mk.models.bond_port_data import BondPortData +from equinix_metal_t0mk.models.capacity_check_per_facility_info import CapacityCheckPerFacilityInfo +from equinix_metal_t0mk.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList +from equinix_metal_t0mk.models.capacity_check_per_metro_info import CapacityCheckPerMetroInfo +from equinix_metal_t0mk.models.capacity_check_per_metro_list import CapacityCheckPerMetroList +from equinix_metal_t0mk.models.capacity_input import CapacityInput +from equinix_metal_t0mk.models.capacity_level_per_baremetal import CapacityLevelPerBaremetal +from equinix_metal_t0mk.models.capacity_list import CapacityList +from equinix_metal_t0mk.models.component import Component +from equinix_metal_t0mk.models.coordinates import Coordinates +from equinix_metal_t0mk.models.create_device_request import CreateDeviceRequest +from equinix_metal_t0mk.models.create_email_input import CreateEmailInput +from equinix_metal_t0mk.models.create_metal_gateway_request import CreateMetalGatewayRequest +from equinix_metal_t0mk.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest +from equinix_metal_t0mk.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest +from equinix_metal_t0mk.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod +from equinix_metal_t0mk.models.dedicated_port_create_input import DedicatedPortCreateInput +from equinix_metal_t0mk.models.device import Device +from equinix_metal_t0mk.models.device_action_input import DeviceActionInput +from equinix_metal_t0mk.models.device_actions_inner import DeviceActionsInner +from equinix_metal_t0mk.models.device_create_in_facility_input import DeviceCreateInFacilityInput +from equinix_metal_t0mk.models.device_create_in_metro_input import DeviceCreateInMetroInput +from equinix_metal_t0mk.models.device_create_input import DeviceCreateInput +from equinix_metal_t0mk.models.device_created_by import DeviceCreatedBy +from equinix_metal_t0mk.models.device_health_rollup import DeviceHealthRollup +from equinix_metal_t0mk.models.device_list import DeviceList +from equinix_metal_t0mk.models.device_metro import DeviceMetro +from equinix_metal_t0mk.models.device_project_lite import DeviceProjectLite +from equinix_metal_t0mk.models.device_update_input import DeviceUpdateInput +from equinix_metal_t0mk.models.device_usage import DeviceUsage +from equinix_metal_t0mk.models.device_usage_list import DeviceUsageList +from equinix_metal_t0mk.models.disk import Disk +from equinix_metal_t0mk.models.email import Email +from equinix_metal_t0mk.models.email_input import EmailInput +from equinix_metal_t0mk.models.entitlement import Entitlement +from equinix_metal_t0mk.models.error import Error +from equinix_metal_t0mk.models.event import Event +from equinix_metal_t0mk.models.event_list import EventList +from equinix_metal_t0mk.models.fabric_service_token import FabricServiceToken +from equinix_metal_t0mk.models.facility import Facility +from equinix_metal_t0mk.models.facility_input import FacilityInput +from equinix_metal_t0mk.models.facility_input_facility import FacilityInputFacility +from equinix_metal_t0mk.models.facility_list import FacilityList +from equinix_metal_t0mk.models.filesystem import Filesystem +from equinix_metal_t0mk.models.find_ip_address_by_id200_response import FindIPAddressById200Response +from equinix_metal_t0mk.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response +from equinix_metal_t0mk.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter +from equinix_metal_t0mk.models.firmware_set import FirmwareSet +from equinix_metal_t0mk.models.firmware_set_list_response import FirmwareSetListResponse +from equinix_metal_t0mk.models.firmware_set_response import FirmwareSetResponse +from equinix_metal_t0mk.models.global_bgp_range import GlobalBgpRange +from equinix_metal_t0mk.models.global_bgp_range_list import GlobalBgpRangeList +from equinix_metal_t0mk.models.hardware_reservation import HardwareReservation +from equinix_metal_t0mk.models.hardware_reservation_list import HardwareReservationList +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.ip_address import IPAddress +from equinix_metal_t0mk.models.ip_assignment import IPAssignment +from equinix_metal_t0mk.models.ip_assignment_input import IPAssignmentInput +from equinix_metal_t0mk.models.ip_assignment_list import IPAssignmentList +from equinix_metal_t0mk.models.ip_assignment_metro import IPAssignmentMetro +from equinix_metal_t0mk.models.ip_assignment_update_input import IPAssignmentUpdateInput +from equinix_metal_t0mk.models.ip_availabilities_list import IPAvailabilitiesList +from equinix_metal_t0mk.models.ip_reservation import IPReservation +from equinix_metal_t0mk.models.ip_reservation_facility import IPReservationFacility +from equinix_metal_t0mk.models.ip_reservation_list import IPReservationList +from equinix_metal_t0mk.models.ip_reservation_list_ip_addresses_inner import IPReservationListIpAddressesInner +from equinix_metal_t0mk.models.ip_reservation_metro import IPReservationMetro +from equinix_metal_t0mk.models.ip_reservation_request_input import IPReservationRequestInput +from equinix_metal_t0mk.models.instances_batch_create_input import InstancesBatchCreateInput +from equinix_metal_t0mk.models.instances_batch_create_input_batches_inner import InstancesBatchCreateInputBatchesInner +from equinix_metal_t0mk.models.interconnection import Interconnection +from equinix_metal_t0mk.models.interconnection_list import InterconnectionList +from equinix_metal_t0mk.models.interconnection_port import InterconnectionPort +from equinix_metal_t0mk.models.interconnection_port_list import InterconnectionPortList +from equinix_metal_t0mk.models.interconnection_update_input import InterconnectionUpdateInput +from equinix_metal_t0mk.models.invitation import Invitation +from equinix_metal_t0mk.models.invitation_input import InvitationInput +from equinix_metal_t0mk.models.invitation_list import InvitationList +from equinix_metal_t0mk.models.invoice import Invoice +from equinix_metal_t0mk.models.invoice_list import InvoiceList +from equinix_metal_t0mk.models.license import License +from equinix_metal_t0mk.models.license_create_input import LicenseCreateInput +from equinix_metal_t0mk.models.license_list import LicenseList +from equinix_metal_t0mk.models.license_update_input import LicenseUpdateInput +from equinix_metal_t0mk.models.line_item import LineItem +from equinix_metal_t0mk.models.membership import Membership +from equinix_metal_t0mk.models.membership_input import MembershipInput +from equinix_metal_t0mk.models.membership_list import MembershipList +from equinix_metal_t0mk.models.meta import Meta +from equinix_metal_t0mk.models.metadata import Metadata +from equinix_metal_t0mk.models.metadata_network import MetadataNetwork +from equinix_metal_t0mk.models.metadata_network_network import MetadataNetworkNetwork +from equinix_metal_t0mk.models.metadata_network_network_bonding import MetadataNetworkNetworkBonding +from equinix_metal_t0mk.models.metal_gateway import MetalGateway +from equinix_metal_t0mk.models.metal_gateway_create_input import MetalGatewayCreateInput +from equinix_metal_t0mk.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput +from equinix_metal_t0mk.models.metal_gateway_list import MetalGatewayList +from equinix_metal_t0mk.models.metal_gateway_list_metal_gateways_inner import MetalGatewayListMetalGatewaysInner +from equinix_metal_t0mk.models.metal_gateway_lite import MetalGatewayLite +from equinix_metal_t0mk.models.metro import Metro +from equinix_metal_t0mk.models.metro_input import MetroInput +from equinix_metal_t0mk.models.metro_list import MetroList +from equinix_metal_t0mk.models.mount import Mount +from equinix_metal_t0mk.models.move_hardware_reservation_request import MoveHardwareReservationRequest +from equinix_metal_t0mk.models.new_password import NewPassword +from equinix_metal_t0mk.models.operating_system import OperatingSystem +from equinix_metal_t0mk.models.operating_system_list import OperatingSystemList +from equinix_metal_t0mk.models.organization import Organization +from equinix_metal_t0mk.models.organization_input import OrganizationInput +from equinix_metal_t0mk.models.organization_list import OrganizationList +from equinix_metal_t0mk.models.parent_block import ParentBlock +from equinix_metal_t0mk.models.partition import Partition +from equinix_metal_t0mk.models.payment_method import PaymentMethod +from equinix_metal_t0mk.models.payment_method_billing_address import PaymentMethodBillingAddress +from equinix_metal_t0mk.models.payment_method_create_input import PaymentMethodCreateInput +from equinix_metal_t0mk.models.payment_method_list import PaymentMethodList +from equinix_metal_t0mk.models.payment_method_update_input import PaymentMethodUpdateInput +from equinix_metal_t0mk.models.plan import Plan +from equinix_metal_t0mk.models.plan_available_in_inner import PlanAvailableInInner +from equinix_metal_t0mk.models.plan_available_in_inner_price import PlanAvailableInInnerPrice +from equinix_metal_t0mk.models.plan_available_in_metros_inner import PlanAvailableInMetrosInner +from equinix_metal_t0mk.models.plan_list import PlanList +from equinix_metal_t0mk.models.plan_specs import PlanSpecs +from equinix_metal_t0mk.models.plan_specs_cpus_inner import PlanSpecsCpusInner +from equinix_metal_t0mk.models.plan_specs_drives_inner import PlanSpecsDrivesInner +from equinix_metal_t0mk.models.plan_specs_features import PlanSpecsFeatures +from equinix_metal_t0mk.models.plan_specs_memory import PlanSpecsMemory +from equinix_metal_t0mk.models.plan_specs_nics_inner import PlanSpecsNicsInner +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.models.port_assign_input import PortAssignInput +from equinix_metal_t0mk.models.port_convert_layer3_input import PortConvertLayer3Input +from equinix_metal_t0mk.models.port_convert_layer3_input_request_ips_inner import PortConvertLayer3InputRequestIpsInner +from equinix_metal_t0mk.models.port_data import PortData +from equinix_metal_t0mk.models.port_vlan_assignment import PortVlanAssignment +from equinix_metal_t0mk.models.port_vlan_assignment_batch import PortVlanAssignmentBatch +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner import PortVlanAssignmentBatchCreateInputVlanAssignmentsInner +from equinix_metal_t0mk.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList +from equinix_metal_t0mk.models.port_vlan_assignment_batch_vlan_assignments_inner import PortVlanAssignmentBatchVlanAssignmentsInner +from equinix_metal_t0mk.models.port_vlan_assignment_list import PortVlanAssignmentList +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.project_create_from_root_input import ProjectCreateFromRootInput +from equinix_metal_t0mk.models.project_create_input import ProjectCreateInput +from equinix_metal_t0mk.models.project_id_name import ProjectIdName +from equinix_metal_t0mk.models.project_list import ProjectList +from equinix_metal_t0mk.models.project_update_input import ProjectUpdateInput +from equinix_metal_t0mk.models.project_usage import ProjectUsage +from equinix_metal_t0mk.models.project_usage_list import ProjectUsageList +from equinix_metal_t0mk.models.raid import Raid +from equinix_metal_t0mk.models.recovery_code_list import RecoveryCodeList +from equinix_metal_t0mk.models.request_ip_reservation201_response import RequestIPReservation201Response +from equinix_metal_t0mk.models.request_ip_reservation_request import RequestIPReservationRequest +from equinix_metal_t0mk.models.ssh_key import SSHKey +from equinix_metal_t0mk.models.ssh_key_create_input import SSHKeyCreateInput +from equinix_metal_t0mk.models.ssh_key_input import SSHKeyInput +from equinix_metal_t0mk.models.ssh_key_list import SSHKeyList +from equinix_metal_t0mk.models.self_service_reservation_item_request import SelfServiceReservationItemRequest +from equinix_metal_t0mk.models.self_service_reservation_item_response import SelfServiceReservationItemResponse +from equinix_metal_t0mk.models.self_service_reservation_list import SelfServiceReservationList +from equinix_metal_t0mk.models.self_service_reservation_response import SelfServiceReservationResponse +from equinix_metal_t0mk.models.server_info import ServerInfo +from equinix_metal_t0mk.models.spot_market_prices_list import SpotMarketPricesList +from equinix_metal_t0mk.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList +from equinix_metal_t0mk.models.spot_market_prices_per_metro_report import SpotMarketPricesPerMetroReport +from equinix_metal_t0mk.models.spot_market_request import SpotMarketRequest +from equinix_metal_t0mk.models.spot_market_request_create_input import SpotMarketRequestCreateInput +from equinix_metal_t0mk.models.spot_market_request_create_input_instance_parameters import SpotMarketRequestCreateInputInstanceParameters +from equinix_metal_t0mk.models.spot_market_request_list import SpotMarketRequestList +from equinix_metal_t0mk.models.spot_market_request_metro import SpotMarketRequestMetro +from equinix_metal_t0mk.models.spot_prices_datapoints import SpotPricesDatapoints +from equinix_metal_t0mk.models.spot_prices_history_report import SpotPricesHistoryReport +from equinix_metal_t0mk.models.spot_prices_per_baremetal import SpotPricesPerBaremetal +from equinix_metal_t0mk.models.spot_prices_per_facility import SpotPricesPerFacility +from equinix_metal_t0mk.models.spot_prices_per_new_facility import SpotPricesPerNewFacility +from equinix_metal_t0mk.models.spot_prices_report import SpotPricesReport +from equinix_metal_t0mk.models.storage import Storage +from equinix_metal_t0mk.models.support_request_input import SupportRequestInput +from equinix_metal_t0mk.models.transfer_request import TransferRequest +from equinix_metal_t0mk.models.transfer_request_input import TransferRequestInput +from equinix_metal_t0mk.models.transfer_request_list import TransferRequestList +from equinix_metal_t0mk.models.update_email_input import UpdateEmailInput +from equinix_metal_t0mk.models.user import User +from equinix_metal_t0mk.models.user_create_input import UserCreateInput +from equinix_metal_t0mk.models.user_limited import UserLimited +from equinix_metal_t0mk.models.user_list import UserList +from equinix_metal_t0mk.models.user_lite import UserLite +from equinix_metal_t0mk.models.user_update_input import UserUpdateInput +from equinix_metal_t0mk.models.userdata import Userdata +from equinix_metal_t0mk.models.verify_email import VerifyEmail +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit +from equinix_metal_t0mk.models.virtual_circuit_create_input import VirtualCircuitCreateInput +from equinix_metal_t0mk.models.virtual_circuit_list import VirtualCircuitList +from equinix_metal_t0mk.models.virtual_circuit_update_input import VirtualCircuitUpdateInput +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.models.virtual_network_create_input import VirtualNetworkCreateInput +from equinix_metal_t0mk.models.virtual_network_list import VirtualNetworkList +from equinix_metal_t0mk.models.vlan_fabric_vc_create_input import VlanFabricVcCreateInput +from equinix_metal_t0mk.models.vlan_virtual_circuit import VlanVirtualCircuit +from equinix_metal_t0mk.models.vlan_virtual_circuit_create_input import VlanVirtualCircuitCreateInput +from equinix_metal_t0mk.models.vlan_virtual_circuit_update_input import VlanVirtualCircuitUpdateInput +from equinix_metal_t0mk.models.vrf import Vrf +from equinix_metal_t0mk.models.vrf_create_input import VrfCreateInput +from equinix_metal_t0mk.models.vrf_fabric_vc_create_input import VrfFabricVcCreateInput +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation +from equinix_metal_t0mk.models.vrf_ip_reservation_create_input import VrfIpReservationCreateInput +from equinix_metal_t0mk.models.vrf_ip_reservation_list import VrfIpReservationList +from equinix_metal_t0mk.models.vrf_list import VrfList +from equinix_metal_t0mk.models.vrf_metal_gateway import VrfMetalGateway +from equinix_metal_t0mk.models.vrf_metal_gateway_create_input import VrfMetalGatewayCreateInput +from equinix_metal_t0mk.models.vrf_route import VrfRoute +from equinix_metal_t0mk.models.vrf_route_create_input import VrfRouteCreateInput +from equinix_metal_t0mk.models.vrf_route_list import VrfRouteList +from equinix_metal_t0mk.models.vrf_route_update_input import VrfRouteUpdateInput +from equinix_metal_t0mk.models.vrf_update_input import VrfUpdateInput +from equinix_metal_t0mk.models.vrf_virtual_circuit import VrfVirtualCircuit +from equinix_metal_t0mk.models.vrf_virtual_circuit_create_input import VrfVirtualCircuitCreateInput +from equinix_metal_t0mk.models.vrf_virtual_circuit_update_input import VrfVirtualCircuitUpdateInput diff --git a/equinix_metal/equinix_metal/models/activate_hardware_reservation_request.py b/equinix_metal/equinix_metal_t0mk/models/activate_hardware_reservation_request.py similarity index 100% rename from equinix_metal/equinix_metal/models/activate_hardware_reservation_request.py rename to equinix_metal/equinix_metal_t0mk/models/activate_hardware_reservation_request.py diff --git a/equinix_metal/equinix_metal/models/address.py b/equinix_metal/equinix_metal_t0mk/models/address.py similarity index 99% rename from equinix_metal/equinix_metal/models/address.py rename to equinix_metal/equinix_metal_t0mk/models/address.py index f42388e2..120c27a7 100644 --- a/equinix_metal/equinix_metal/models/address.py +++ b/equinix_metal/equinix_metal_t0mk/models/address.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.coordinates import Coordinates +from equinix_metal_t0mk.models.coordinates import Coordinates class Address(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/attribute.py b/equinix_metal/equinix_metal_t0mk/models/attribute.py similarity index 99% rename from equinix_metal/equinix_metal/models/attribute.py rename to equinix_metal/equinix_metal_t0mk/models/attribute.py index 481d3f0f..45d5a75d 100644 --- a/equinix_metal/equinix_metal/models/attribute.py +++ b/equinix_metal/equinix_metal_t0mk/models/attribute.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import Optional from pydantic import BaseModel, Field, StrictStr -from equinix_metal.models.attribute_data import AttributeData +from equinix_metal_t0mk.models.attribute_data import AttributeData class Attribute(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/attribute_data.py b/equinix_metal/equinix_metal_t0mk/models/attribute_data.py similarity index 100% rename from equinix_metal/equinix_metal/models/attribute_data.py rename to equinix_metal/equinix_metal_t0mk/models/attribute_data.py diff --git a/equinix_metal/equinix_metal/models/auth_token.py b/equinix_metal/equinix_metal_t0mk/models/auth_token.py similarity index 98% rename from equinix_metal/equinix_metal/models/auth_token.py rename to equinix_metal/equinix_metal_t0mk/models/auth_token.py index 50834d67..ddb184ae 100644 --- a/equinix_metal/equinix_metal/models/auth_token.py +++ b/equinix_metal/equinix_metal_t0mk/models/auth_token.py @@ -21,8 +21,8 @@ from datetime import datetime from typing import Optional from pydantic import BaseModel, Field, StrictBool, StrictStr -from equinix_metal.models.auth_token_project import AuthTokenProject -from equinix_metal.models.auth_token_user import AuthTokenUser +from equinix_metal_t0mk.models.auth_token_project import AuthTokenProject +from equinix_metal_t0mk.models.auth_token_user import AuthTokenUser class AuthToken(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/auth_token_input.py b/equinix_metal/equinix_metal_t0mk/models/auth_token_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/auth_token_input.py rename to equinix_metal/equinix_metal_t0mk/models/auth_token_input.py diff --git a/equinix_metal/equinix_metal/models/auth_token_list.py b/equinix_metal/equinix_metal_t0mk/models/auth_token_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/auth_token_list.py rename to equinix_metal/equinix_metal_t0mk/models/auth_token_list.py index ca6b212a..eb1d98e0 100644 --- a/equinix_metal/equinix_metal/models/auth_token_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/auth_token_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.auth_token import AuthToken +from equinix_metal_t0mk.models.auth_token import AuthToken class AuthTokenList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/auth_token_project.py b/equinix_metal/equinix_metal_t0mk/models/auth_token_project.py similarity index 99% rename from equinix_metal/equinix_metal/models/auth_token_project.py rename to equinix_metal/equinix_metal_t0mk/models/auth_token_project.py index 2394f6dd..223f6da7 100644 --- a/equinix_metal/equinix_metal/models/auth_token_project.py +++ b/equinix_metal/equinix_metal_t0mk/models/auth_token_project.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import Any, Dict, List, Optional from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, constr, validator -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class AuthTokenProject(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/auth_token_user.py b/equinix_metal/equinix_metal_t0mk/models/auth_token_user.py similarity index 99% rename from equinix_metal/equinix_metal/models/auth_token_user.py rename to equinix_metal/equinix_metal_t0mk/models/auth_token_user.py index c5e382ca..29eb5ff3 100644 --- a/equinix_metal/equinix_metal/models/auth_token_user.py +++ b/equinix_metal/equinix_metal_t0mk/models/auth_token_user.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import Any, Dict, List, Optional from pydantic import BaseModel, StrictInt, StrictStr, conlist -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class AuthTokenUser(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/batch.py b/equinix_metal/equinix_metal_t0mk/models/batch.py similarity index 99% rename from equinix_metal/equinix_metal/models/batch.py rename to equinix_metal/equinix_metal_t0mk/models/batch.py index 7c7314b4..d2595312 100644 --- a/equinix_metal/equinix_metal/models/batch.py +++ b/equinix_metal/equinix_metal_t0mk/models/batch.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, StrictInt, StrictStr, conlist -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class Batch(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/batches_list.py b/equinix_metal/equinix_metal_t0mk/models/batches_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/batches_list.py rename to equinix_metal/equinix_metal_t0mk/models/batches_list.py index 0bbaee53..d6976bcd 100644 --- a/equinix_metal/equinix_metal/models/batches_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/batches_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.batch import Batch +from equinix_metal_t0mk.models.batch import Batch class BatchesList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/bgp_config.py b/equinix_metal/equinix_metal_t0mk/models/bgp_config.py similarity index 98% rename from equinix_metal/equinix_metal/models/bgp_config.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_config.py index be63c886..d7f79ab8 100644 --- a/equinix_metal/equinix_metal/models/bgp_config.py +++ b/equinix_metal/equinix_metal_t0mk/models/bgp_config.py @@ -21,9 +21,9 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, Field, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.bgp_session import BgpSession -from equinix_metal.models.global_bgp_range import GlobalBgpRange -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.bgp_session import BgpSession +from equinix_metal_t0mk.models.global_bgp_range import GlobalBgpRange +from equinix_metal_t0mk.models.href import Href class BgpConfig(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/bgp_config_request_input.py b/equinix_metal/equinix_metal_t0mk/models/bgp_config_request_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/bgp_config_request_input.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_config_request_input.py diff --git a/equinix_metal/equinix_metal/models/bgp_dynamic_neighbor.py b/equinix_metal/equinix_metal_t0mk/models/bgp_dynamic_neighbor.py similarity index 98% rename from equinix_metal/equinix_metal/models/bgp_dynamic_neighbor.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_dynamic_neighbor.py index 553a73a2..07bdadb5 100644 --- a/equinix_metal/equinix_metal/models/bgp_dynamic_neighbor.py +++ b/equinix_metal/equinix_metal_t0mk/models/bgp_dynamic_neighbor.py @@ -21,8 +21,8 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, Field, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.user_limited import UserLimited -from equinix_metal.models.vrf_metal_gateway import VrfMetalGateway +from equinix_metal_t0mk.models.user_limited import UserLimited +from equinix_metal_t0mk.models.vrf_metal_gateway import VrfMetalGateway class BgpDynamicNeighbor(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/bgp_dynamic_neighbor_create_input.py b/equinix_metal/equinix_metal_t0mk/models/bgp_dynamic_neighbor_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/bgp_dynamic_neighbor_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_dynamic_neighbor_create_input.py diff --git a/equinix_metal/equinix_metal/models/bgp_dynamic_neighbor_list.py b/equinix_metal/equinix_metal_t0mk/models/bgp_dynamic_neighbor_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/bgp_dynamic_neighbor_list.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_dynamic_neighbor_list.py index 6f09d8c2..88f123f4 100644 --- a/equinix_metal/equinix_metal/models/bgp_dynamic_neighbor_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/bgp_dynamic_neighbor_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.bgp_dynamic_neighbor import BgpDynamicNeighbor -from equinix_metal.models.meta import Meta +from equinix_metal_t0mk.models.bgp_dynamic_neighbor import BgpDynamicNeighbor +from equinix_metal_t0mk.models.meta import Meta class BgpDynamicNeighborList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/bgp_neighbor_data.py b/equinix_metal/equinix_metal_t0mk/models/bgp_neighbor_data.py similarity index 99% rename from equinix_metal/equinix_metal/models/bgp_neighbor_data.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_neighbor_data.py index c3975d82..6d45002b 100644 --- a/equinix_metal/equinix_metal/models/bgp_neighbor_data.py +++ b/equinix_metal/equinix_metal_t0mk/models/bgp_neighbor_data.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, conlist -from equinix_metal.models.bgp_route import BgpRoute +from equinix_metal_t0mk.models.bgp_route import BgpRoute class BgpNeighborData(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/bgp_route.py b/equinix_metal/equinix_metal_t0mk/models/bgp_route.py similarity index 100% rename from equinix_metal/equinix_metal/models/bgp_route.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_route.py diff --git a/equinix_metal/equinix_metal/models/bgp_session.py b/equinix_metal/equinix_metal_t0mk/models/bgp_session.py similarity index 99% rename from equinix_metal/equinix_metal/models/bgp_session.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_session.py index ae3272e1..8074a14c 100644 --- a/equinix_metal/equinix_metal/models/bgp_session.py +++ b/equinix_metal/equinix_metal_t0mk/models/bgp_session.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, validator -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class BgpSession(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/bgp_session_input.py b/equinix_metal/equinix_metal_t0mk/models/bgp_session_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/bgp_session_input.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_session_input.py diff --git a/equinix_metal/equinix_metal/models/bgp_session_list.py b/equinix_metal/equinix_metal_t0mk/models/bgp_session_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/bgp_session_list.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_session_list.py index 35ff7ab6..0c2633ab 100644 --- a/equinix_metal/equinix_metal/models/bgp_session_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/bgp_session_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.bgp_session import BgpSession +from equinix_metal_t0mk.models.bgp_session import BgpSession class BgpSessionList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/bgp_session_neighbors.py b/equinix_metal/equinix_metal_t0mk/models/bgp_session_neighbors.py similarity index 98% rename from equinix_metal/equinix_metal/models/bgp_session_neighbors.py rename to equinix_metal/equinix_metal_t0mk/models/bgp_session_neighbors.py index 6392a4f7..7759ef3c 100644 --- a/equinix_metal/equinix_metal/models/bgp_session_neighbors.py +++ b/equinix_metal/equinix_metal_t0mk/models/bgp_session_neighbors.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, Field, StrictStr, conlist -from equinix_metal.models.bgp_neighbor_data import BgpNeighborData +from equinix_metal_t0mk.models.bgp_neighbor_data import BgpNeighborData class BgpSessionNeighbors(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/bond_port_data.py b/equinix_metal/equinix_metal_t0mk/models/bond_port_data.py similarity index 100% rename from equinix_metal/equinix_metal/models/bond_port_data.py rename to equinix_metal/equinix_metal_t0mk/models/bond_port_data.py diff --git a/equinix_metal/equinix_metal/models/capacity_check_per_facility_info.py b/equinix_metal/equinix_metal_t0mk/models/capacity_check_per_facility_info.py similarity index 100% rename from equinix_metal/equinix_metal/models/capacity_check_per_facility_info.py rename to equinix_metal/equinix_metal_t0mk/models/capacity_check_per_facility_info.py diff --git a/equinix_metal/equinix_metal/models/capacity_check_per_facility_list.py b/equinix_metal/equinix_metal_t0mk/models/capacity_check_per_facility_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/capacity_check_per_facility_list.py rename to equinix_metal/equinix_metal_t0mk/models/capacity_check_per_facility_list.py index 78493eb0..65fb8966 100644 --- a/equinix_metal/equinix_metal/models/capacity_check_per_facility_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/capacity_check_per_facility_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.capacity_check_per_facility_info import CapacityCheckPerFacilityInfo +from equinix_metal_t0mk.models.capacity_check_per_facility_info import CapacityCheckPerFacilityInfo class CapacityCheckPerFacilityList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/capacity_check_per_metro_info.py b/equinix_metal/equinix_metal_t0mk/models/capacity_check_per_metro_info.py similarity index 100% rename from equinix_metal/equinix_metal/models/capacity_check_per_metro_info.py rename to equinix_metal/equinix_metal_t0mk/models/capacity_check_per_metro_info.py diff --git a/equinix_metal/equinix_metal/models/capacity_check_per_metro_list.py b/equinix_metal/equinix_metal_t0mk/models/capacity_check_per_metro_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/capacity_check_per_metro_list.py rename to equinix_metal/equinix_metal_t0mk/models/capacity_check_per_metro_list.py index 696ed0d0..1aff389d 100644 --- a/equinix_metal/equinix_metal/models/capacity_check_per_metro_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/capacity_check_per_metro_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.capacity_check_per_metro_info import CapacityCheckPerMetroInfo +from equinix_metal_t0mk.models.capacity_check_per_metro_info import CapacityCheckPerMetroInfo class CapacityCheckPerMetroList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/capacity_input.py b/equinix_metal/equinix_metal_t0mk/models/capacity_input.py similarity index 99% rename from equinix_metal/equinix_metal/models/capacity_input.py rename to equinix_metal/equinix_metal_t0mk/models/capacity_input.py index df425814..34c57845 100644 --- a/equinix_metal/equinix_metal/models/capacity_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/capacity_input.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.server_info import ServerInfo +from equinix_metal_t0mk.models.server_info import ServerInfo class CapacityInput(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/capacity_level_per_baremetal.py b/equinix_metal/equinix_metal_t0mk/models/capacity_level_per_baremetal.py similarity index 100% rename from equinix_metal/equinix_metal/models/capacity_level_per_baremetal.py rename to equinix_metal/equinix_metal_t0mk/models/capacity_level_per_baremetal.py diff --git a/equinix_metal/equinix_metal/models/capacity_list.py b/equinix_metal/equinix_metal_t0mk/models/capacity_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/capacity_list.py rename to equinix_metal/equinix_metal_t0mk/models/capacity_list.py index 300c94d4..3fd6c1b9 100644 --- a/equinix_metal/equinix_metal/models/capacity_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/capacity_list.py @@ -21,7 +21,7 @@ from typing import Dict, Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.capacity_level_per_baremetal import CapacityLevelPerBaremetal +from equinix_metal_t0mk.models.capacity_level_per_baremetal import CapacityLevelPerBaremetal class CapacityList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/component.py b/equinix_metal/equinix_metal_t0mk/models/component.py similarity index 100% rename from equinix_metal/equinix_metal/models/component.py rename to equinix_metal/equinix_metal_t0mk/models/component.py diff --git a/equinix_metal/equinix_metal/models/coordinates.py b/equinix_metal/equinix_metal_t0mk/models/coordinates.py similarity index 100% rename from equinix_metal/equinix_metal/models/coordinates.py rename to equinix_metal/equinix_metal_t0mk/models/coordinates.py diff --git a/equinix_metal/equinix_metal/models/create_device_request.py b/equinix_metal/equinix_metal_t0mk/models/create_device_request.py similarity index 98% rename from equinix_metal/equinix_metal/models/create_device_request.py rename to equinix_metal/equinix_metal_t0mk/models/create_device_request.py index 32d5d54c..06a5d497 100644 --- a/equinix_metal/equinix_metal/models/create_device_request.py +++ b/equinix_metal/equinix_metal_t0mk/models/create_device_request.py @@ -21,8 +21,8 @@ from typing import Any, List, Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.device_create_in_facility_input import DeviceCreateInFacilityInput -from equinix_metal.models.device_create_in_metro_input import DeviceCreateInMetroInput +from equinix_metal_t0mk.models.device_create_in_facility_input import DeviceCreateInFacilityInput +from equinix_metal_t0mk.models.device_create_in_metro_input import DeviceCreateInMetroInput from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/create_email_input.py b/equinix_metal/equinix_metal_t0mk/models/create_email_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/create_email_input.py rename to equinix_metal/equinix_metal_t0mk/models/create_email_input.py diff --git a/equinix_metal/equinix_metal/models/create_metal_gateway_request.py b/equinix_metal/equinix_metal_t0mk/models/create_metal_gateway_request.py similarity index 98% rename from equinix_metal/equinix_metal/models/create_metal_gateway_request.py rename to equinix_metal/equinix_metal_t0mk/models/create_metal_gateway_request.py index fbdea40d..d11b597f 100644 --- a/equinix_metal/equinix_metal/models/create_metal_gateway_request.py +++ b/equinix_metal/equinix_metal_t0mk/models/create_metal_gateway_request.py @@ -21,8 +21,8 @@ from typing import Any, List, Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.metal_gateway_create_input import MetalGatewayCreateInput -from equinix_metal.models.vrf_metal_gateway_create_input import VrfMetalGatewayCreateInput +from equinix_metal_t0mk.models.metal_gateway_create_input import MetalGatewayCreateInput +from equinix_metal_t0mk.models.vrf_metal_gateway_create_input import VrfMetalGatewayCreateInput from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/create_organization_interconnection_request.py b/equinix_metal/equinix_metal_t0mk/models/create_organization_interconnection_request.py similarity index 97% rename from equinix_metal/equinix_metal/models/create_organization_interconnection_request.py rename to equinix_metal/equinix_metal_t0mk/models/create_organization_interconnection_request.py index 009a8d93..d0fc44ae 100644 --- a/equinix_metal/equinix_metal/models/create_organization_interconnection_request.py +++ b/equinix_metal/equinix_metal_t0mk/models/create_organization_interconnection_request.py @@ -21,9 +21,9 @@ from typing import Any, List, Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.dedicated_port_create_input import DedicatedPortCreateInput -from equinix_metal.models.vlan_fabric_vc_create_input import VlanFabricVcCreateInput -from equinix_metal.models.vrf_fabric_vc_create_input import VrfFabricVcCreateInput +from equinix_metal_t0mk.models.dedicated_port_create_input import DedicatedPortCreateInput +from equinix_metal_t0mk.models.vlan_fabric_vc_create_input import VlanFabricVcCreateInput +from equinix_metal_t0mk.models.vrf_fabric_vc_create_input import VrfFabricVcCreateInput from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/create_self_service_reservation_request.py b/equinix_metal/equinix_metal_t0mk/models/create_self_service_reservation_request.py similarity index 96% rename from equinix_metal/equinix_metal/models/create_self_service_reservation_request.py rename to equinix_metal/equinix_metal_t0mk/models/create_self_service_reservation_request.py index 9ef71aba..d8788a69 100644 --- a/equinix_metal/equinix_metal/models/create_self_service_reservation_request.py +++ b/equinix_metal/equinix_metal_t0mk/models/create_self_service_reservation_request.py @@ -21,8 +21,8 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod -from equinix_metal.models.self_service_reservation_item_request import SelfServiceReservationItemRequest +from equinix_metal_t0mk.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod +from equinix_metal_t0mk.models.self_service_reservation_item_request import SelfServiceReservationItemRequest class CreateSelfServiceReservationRequest(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/create_self_service_reservation_request_period.py b/equinix_metal/equinix_metal_t0mk/models/create_self_service_reservation_request_period.py similarity index 100% rename from equinix_metal/equinix_metal/models/create_self_service_reservation_request_period.py rename to equinix_metal/equinix_metal_t0mk/models/create_self_service_reservation_request_period.py diff --git a/equinix_metal/equinix_metal/models/dedicated_port_create_input.py b/equinix_metal/equinix_metal_t0mk/models/dedicated_port_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/dedicated_port_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/dedicated_port_create_input.py diff --git a/equinix_metal/equinix_metal/models/device.py b/equinix_metal/equinix_metal_t0mk/models/device.py similarity index 95% rename from equinix_metal/equinix_metal/models/device.py rename to equinix_metal/equinix_metal_t0mk/models/device.py index 01a830b6..f8239918 100644 --- a/equinix_metal/equinix_metal/models/device.py +++ b/equinix_metal/equinix_metal_t0mk/models/device.py @@ -21,19 +21,19 @@ from datetime import datetime from typing import Any, Dict, List, Optional, Union from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.device_actions_inner import DeviceActionsInner -from equinix_metal.models.device_created_by import DeviceCreatedBy -from equinix_metal.models.device_metro import DeviceMetro -from equinix_metal.models.device_project_lite import DeviceProjectLite -from equinix_metal.models.event import Event -from equinix_metal.models.facility import Facility -from equinix_metal.models.href import Href -from equinix_metal.models.ip_assignment import IPAssignment -from equinix_metal.models.operating_system import OperatingSystem -from equinix_metal.models.plan import Plan -from equinix_metal.models.port import Port -from equinix_metal.models.project import Project -from equinix_metal.models.storage import Storage +from equinix_metal_t0mk.models.device_actions_inner import DeviceActionsInner +from equinix_metal_t0mk.models.device_created_by import DeviceCreatedBy +from equinix_metal_t0mk.models.device_metro import DeviceMetro +from equinix_metal_t0mk.models.device_project_lite import DeviceProjectLite +from equinix_metal_t0mk.models.event import Event +from equinix_metal_t0mk.models.facility import Facility +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.ip_assignment import IPAssignment +from equinix_metal_t0mk.models.operating_system import OperatingSystem +from equinix_metal_t0mk.models.plan import Plan +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.storage import Storage class Device(BaseModel): """ @@ -245,6 +245,6 @@ def from_dict(cls, obj: dict) -> Device: }) return _obj -from equinix_metal.models.hardware_reservation import HardwareReservation +from equinix_metal_t0mk.models.hardware_reservation import HardwareReservation Device.update_forward_refs() diff --git a/equinix_metal/equinix_metal/models/device_action_input.py b/equinix_metal/equinix_metal_t0mk/models/device_action_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/device_action_input.py rename to equinix_metal/equinix_metal_t0mk/models/device_action_input.py diff --git a/equinix_metal/equinix_metal/models/device_actions_inner.py b/equinix_metal/equinix_metal_t0mk/models/device_actions_inner.py similarity index 100% rename from equinix_metal/equinix_metal/models/device_actions_inner.py rename to equinix_metal/equinix_metal_t0mk/models/device_actions_inner.py diff --git a/equinix_metal/equinix_metal/models/device_create_in_facility_input.py b/equinix_metal/equinix_metal_t0mk/models/device_create_in_facility_input.py similarity index 98% rename from equinix_metal/equinix_metal/models/device_create_in_facility_input.py rename to equinix_metal/equinix_metal_t0mk/models/device_create_in_facility_input.py index bbc231df..503e3be4 100644 --- a/equinix_metal/equinix_metal/models/device_create_in_facility_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/device_create_in_facility_input.py @@ -21,10 +21,10 @@ from datetime import datetime from typing import Any, Dict, List, Optional, Union from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.facility_input_facility import FacilityInputFacility -from equinix_metal.models.ip_address import IPAddress -from equinix_metal.models.ssh_key_input import SSHKeyInput -from equinix_metal.models.storage import Storage +from equinix_metal_t0mk.models.facility_input_facility import FacilityInputFacility +from equinix_metal_t0mk.models.ip_address import IPAddress +from equinix_metal_t0mk.models.ssh_key_input import SSHKeyInput +from equinix_metal_t0mk.models.storage import Storage class DeviceCreateInFacilityInput(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/device_create_in_metro_input.py b/equinix_metal/equinix_metal_t0mk/models/device_create_in_metro_input.py similarity index 99% rename from equinix_metal/equinix_metal/models/device_create_in_metro_input.py rename to equinix_metal/equinix_metal_t0mk/models/device_create_in_metro_input.py index c1fd1252..2ee327ba 100644 --- a/equinix_metal/equinix_metal/models/device_create_in_metro_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/device_create_in_metro_input.py @@ -21,9 +21,9 @@ from datetime import datetime from typing import Any, Dict, List, Optional, Union from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.ip_address import IPAddress -from equinix_metal.models.ssh_key_input import SSHKeyInput -from equinix_metal.models.storage import Storage +from equinix_metal_t0mk.models.ip_address import IPAddress +from equinix_metal_t0mk.models.ssh_key_input import SSHKeyInput +from equinix_metal_t0mk.models.storage import Storage class DeviceCreateInMetroInput(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/device_create_input.py b/equinix_metal/equinix_metal_t0mk/models/device_create_input.py similarity index 98% rename from equinix_metal/equinix_metal/models/device_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/device_create_input.py index 71528a29..8c2a5844 100644 --- a/equinix_metal/equinix_metal/models/device_create_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/device_create_input.py @@ -21,9 +21,9 @@ from datetime import datetime from typing import Any, Dict, List, Optional, Union from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.ip_address import IPAddress -from equinix_metal.models.ssh_key_input import SSHKeyInput -from equinix_metal.models.storage import Storage +from equinix_metal_t0mk.models.ip_address import IPAddress +from equinix_metal_t0mk.models.ssh_key_input import SSHKeyInput +from equinix_metal_t0mk.models.storage import Storage class DeviceCreateInput(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/device_created_by.py b/equinix_metal/equinix_metal_t0mk/models/device_created_by.py similarity index 100% rename from equinix_metal/equinix_metal/models/device_created_by.py rename to equinix_metal/equinix_metal_t0mk/models/device_created_by.py diff --git a/equinix_metal/equinix_metal/models/device_health_rollup.py b/equinix_metal/equinix_metal_t0mk/models/device_health_rollup.py similarity index 100% rename from equinix_metal/equinix_metal/models/device_health_rollup.py rename to equinix_metal/equinix_metal_t0mk/models/device_health_rollup.py diff --git a/equinix_metal/equinix_metal/models/device_list.py b/equinix_metal/equinix_metal_t0mk/models/device_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/device_list.py rename to equinix_metal/equinix_metal_t0mk/models/device_list.py index 21200193..4ce40a6a 100644 --- a/equinix_metal/equinix_metal/models/device_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/device_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.device import Device -from equinix_metal.models.meta import Meta +from equinix_metal_t0mk.models.device import Device +from equinix_metal_t0mk.models.meta import Meta class DeviceList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/device_metro.py b/equinix_metal/equinix_metal_t0mk/models/device_metro.py similarity index 100% rename from equinix_metal/equinix_metal/models/device_metro.py rename to equinix_metal/equinix_metal_t0mk/models/device_metro.py diff --git a/equinix_metal/equinix_metal/models/device_project_lite.py b/equinix_metal/equinix_metal_t0mk/models/device_project_lite.py similarity index 100% rename from equinix_metal/equinix_metal/models/device_project_lite.py rename to equinix_metal/equinix_metal_t0mk/models/device_project_lite.py diff --git a/equinix_metal/equinix_metal/models/device_update_input.py b/equinix_metal/equinix_metal_t0mk/models/device_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/device_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/device_update_input.py diff --git a/equinix_metal/equinix_metal/models/device_usage.py b/equinix_metal/equinix_metal_t0mk/models/device_usage.py similarity index 100% rename from equinix_metal/equinix_metal/models/device_usage.py rename to equinix_metal/equinix_metal_t0mk/models/device_usage.py diff --git a/equinix_metal/equinix_metal/models/device_usage_list.py b/equinix_metal/equinix_metal_t0mk/models/device_usage_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/device_usage_list.py rename to equinix_metal/equinix_metal_t0mk/models/device_usage_list.py index d15801f7..8951c4b8 100644 --- a/equinix_metal/equinix_metal/models/device_usage_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/device_usage_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.device_usage import DeviceUsage +from equinix_metal_t0mk.models.device_usage import DeviceUsage class DeviceUsageList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/disk.py b/equinix_metal/equinix_metal_t0mk/models/disk.py similarity index 99% rename from equinix_metal/equinix_metal/models/disk.py rename to equinix_metal/equinix_metal_t0mk/models/disk.py index 3401f922..65688f27 100644 --- a/equinix_metal/equinix_metal/models/disk.py +++ b/equinix_metal/equinix_metal_t0mk/models/disk.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist -from equinix_metal.models.partition import Partition +from equinix_metal_t0mk.models.partition import Partition class Disk(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/email.py b/equinix_metal/equinix_metal_t0mk/models/email.py similarity index 100% rename from equinix_metal/equinix_metal/models/email.py rename to equinix_metal/equinix_metal_t0mk/models/email.py diff --git a/equinix_metal/equinix_metal/models/email_input.py b/equinix_metal/equinix_metal_t0mk/models/email_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/email_input.py rename to equinix_metal/equinix_metal_t0mk/models/email_input.py diff --git a/equinix_metal/equinix_metal/models/entitlement.py b/equinix_metal/equinix_metal_t0mk/models/entitlement.py similarity index 100% rename from equinix_metal/equinix_metal/models/entitlement.py rename to equinix_metal/equinix_metal_t0mk/models/entitlement.py diff --git a/equinix_metal/equinix_metal/models/error.py b/equinix_metal/equinix_metal_t0mk/models/error.py similarity index 100% rename from equinix_metal/equinix_metal/models/error.py rename to equinix_metal/equinix_metal_t0mk/models/error.py diff --git a/equinix_metal/equinix_metal/models/event.py b/equinix_metal/equinix_metal_t0mk/models/event.py similarity index 99% rename from equinix_metal/equinix_metal/models/event.py rename to equinix_metal/equinix_metal_t0mk/models/event.py index d03cf53e..4f5a783e 100644 --- a/equinix_metal/equinix_metal/models/event.py +++ b/equinix_metal/equinix_metal_t0mk/models/event.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import Any, Dict, List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class Event(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/event_list.py b/equinix_metal/equinix_metal_t0mk/models/event_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/event_list.py rename to equinix_metal/equinix_metal_t0mk/models/event_list.py index 370986c5..b040a3eb 100644 --- a/equinix_metal/equinix_metal/models/event_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/event_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.event import Event -from equinix_metal.models.meta import Meta +from equinix_metal_t0mk.models.event import Event +from equinix_metal_t0mk.models.meta import Meta class EventList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/fabric_service_token.py b/equinix_metal/equinix_metal_t0mk/models/fabric_service_token.py similarity index 100% rename from equinix_metal/equinix_metal/models/fabric_service_token.py rename to equinix_metal/equinix_metal_t0mk/models/fabric_service_token.py diff --git a/equinix_metal/equinix_metal/models/facility.py b/equinix_metal/equinix_metal_t0mk/models/facility.py similarity index 98% rename from equinix_metal/equinix_metal/models/facility.py rename to equinix_metal/equinix_metal_t0mk/models/facility.py index 2739d828..f2b94cf7 100644 --- a/equinix_metal/equinix_metal/models/facility.py +++ b/equinix_metal/equinix_metal_t0mk/models/facility.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, Field, StrictStr, conlist, validator -from equinix_metal.models.address import Address -from equinix_metal.models.device_metro import DeviceMetro +from equinix_metal_t0mk.models.address import Address +from equinix_metal_t0mk.models.device_metro import DeviceMetro class Facility(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/facility_input.py b/equinix_metal/equinix_metal_t0mk/models/facility_input.py similarity index 98% rename from equinix_metal/equinix_metal/models/facility_input.py rename to equinix_metal/equinix_metal_t0mk/models/facility_input.py index c5fa415d..8184d252 100644 --- a/equinix_metal/equinix_metal/models/facility_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/facility_input.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, Field, StrictStr -from equinix_metal.models.facility_input_facility import FacilityInputFacility +from equinix_metal_t0mk.models.facility_input_facility import FacilityInputFacility class FacilityInput(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/facility_input_facility.py b/equinix_metal/equinix_metal_t0mk/models/facility_input_facility.py similarity index 100% rename from equinix_metal/equinix_metal/models/facility_input_facility.py rename to equinix_metal/equinix_metal_t0mk/models/facility_input_facility.py diff --git a/equinix_metal/equinix_metal/models/facility_list.py b/equinix_metal/equinix_metal_t0mk/models/facility_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/facility_list.py rename to equinix_metal/equinix_metal_t0mk/models/facility_list.py index abe211ce..8f1cd8f7 100644 --- a/equinix_metal/equinix_metal/models/facility_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/facility_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.facility import Facility +from equinix_metal_t0mk.models.facility import Facility class FacilityList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/filesystem.py b/equinix_metal/equinix_metal_t0mk/models/filesystem.py similarity index 99% rename from equinix_metal/equinix_metal/models/filesystem.py rename to equinix_metal/equinix_metal_t0mk/models/filesystem.py index 26faa499..58e5869d 100644 --- a/equinix_metal/equinix_metal/models/filesystem.py +++ b/equinix_metal/equinix_metal_t0mk/models/filesystem.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.mount import Mount +from equinix_metal_t0mk.models.mount import Mount class Filesystem(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/find_ip_address_by_id200_response.py b/equinix_metal/equinix_metal_t0mk/models/find_ip_address_by_id200_response.py similarity index 97% rename from equinix_metal/equinix_metal/models/find_ip_address_by_id200_response.py rename to equinix_metal/equinix_metal_t0mk/models/find_ip_address_by_id200_response.py index e887295a..17d89dcd 100644 --- a/equinix_metal/equinix_metal/models/find_ip_address_by_id200_response.py +++ b/equinix_metal/equinix_metal_t0mk/models/find_ip_address_by_id200_response.py @@ -21,9 +21,9 @@ from typing import Any, List, Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.ip_assignment import IPAssignment -from equinix_metal.models.ip_reservation import IPReservation -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation +from equinix_metal_t0mk.models.ip_assignment import IPAssignment +from equinix_metal_t0mk.models.ip_reservation import IPReservation +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/find_metal_gateway_by_id200_response.py b/equinix_metal/equinix_metal_t0mk/models/find_metal_gateway_by_id200_response.py similarity index 98% rename from equinix_metal/equinix_metal/models/find_metal_gateway_by_id200_response.py rename to equinix_metal/equinix_metal_t0mk/models/find_metal_gateway_by_id200_response.py index 7a616278..f764219e 100644 --- a/equinix_metal/equinix_metal/models/find_metal_gateway_by_id200_response.py +++ b/equinix_metal/equinix_metal_t0mk/models/find_metal_gateway_by_id200_response.py @@ -21,8 +21,8 @@ from typing import Any, List, Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.metal_gateway import MetalGateway -from equinix_metal.models.vrf_metal_gateway import VrfMetalGateway +from equinix_metal_t0mk.models.metal_gateway import MetalGateway +from equinix_metal_t0mk.models.vrf_metal_gateway import VrfMetalGateway from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/find_traffic_timeframe_parameter.py b/equinix_metal/equinix_metal_t0mk/models/find_traffic_timeframe_parameter.py similarity index 100% rename from equinix_metal/equinix_metal/models/find_traffic_timeframe_parameter.py rename to equinix_metal/equinix_metal_t0mk/models/find_traffic_timeframe_parameter.py diff --git a/equinix_metal/equinix_metal/models/firmware_set.py b/equinix_metal/equinix_metal_t0mk/models/firmware_set.py similarity index 98% rename from equinix_metal/equinix_metal/models/firmware_set.py rename to equinix_metal/equinix_metal_t0mk/models/firmware_set.py index 704aadac..8c2bba8e 100644 --- a/equinix_metal/equinix_metal/models/firmware_set.py +++ b/equinix_metal/equinix_metal_t0mk/models/firmware_set.py @@ -21,8 +21,8 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, Field, StrictStr, conlist -from equinix_metal.models.attribute import Attribute -from equinix_metal.models.component import Component +from equinix_metal_t0mk.models.attribute import Attribute +from equinix_metal_t0mk.models.component import Component class FirmwareSet(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/firmware_set_list_response.py b/equinix_metal/equinix_metal_t0mk/models/firmware_set_list_response.py similarity index 99% rename from equinix_metal/equinix_metal/models/firmware_set_list_response.py rename to equinix_metal/equinix_metal_t0mk/models/firmware_set_list_response.py index a69c0e01..d4ab47db 100644 --- a/equinix_metal/equinix_metal/models/firmware_set_list_response.py +++ b/equinix_metal/equinix_metal_t0mk/models/firmware_set_list_response.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, Field, StrictInt, StrictStr, conlist -from equinix_metal.models.firmware_set import FirmwareSet +from equinix_metal_t0mk.models.firmware_set import FirmwareSet class FirmwareSetListResponse(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/firmware_set_response.py b/equinix_metal/equinix_metal_t0mk/models/firmware_set_response.py similarity index 99% rename from equinix_metal/equinix_metal/models/firmware_set_response.py rename to equinix_metal/equinix_metal_t0mk/models/firmware_set_response.py index c25e225a..58168f45 100644 --- a/equinix_metal/equinix_metal/models/firmware_set_response.py +++ b/equinix_metal/equinix_metal_t0mk/models/firmware_set_response.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.firmware_set import FirmwareSet +from equinix_metal_t0mk.models.firmware_set import FirmwareSet class FirmwareSetResponse(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/global_bgp_range.py b/equinix_metal/equinix_metal_t0mk/models/global_bgp_range.py similarity index 99% rename from equinix_metal/equinix_metal/models/global_bgp_range.py rename to equinix_metal/equinix_metal_t0mk/models/global_bgp_range.py index 2c0c914f..faad6d85 100644 --- a/equinix_metal/equinix_metal/models/global_bgp_range.py +++ b/equinix_metal/equinix_metal_t0mk/models/global_bgp_range.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, StrictInt, StrictStr -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class GlobalBgpRange(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/global_bgp_range_list.py b/equinix_metal/equinix_metal_t0mk/models/global_bgp_range_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/global_bgp_range_list.py rename to equinix_metal/equinix_metal_t0mk/models/global_bgp_range_list.py index 428ff11a..f23e0379 100644 --- a/equinix_metal/equinix_metal/models/global_bgp_range_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/global_bgp_range_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.global_bgp_range import GlobalBgpRange +from equinix_metal_t0mk.models.global_bgp_range import GlobalBgpRange class GlobalBgpRangeList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/hardware_reservation.py b/equinix_metal/equinix_metal_t0mk/models/hardware_reservation.py similarity index 97% rename from equinix_metal/equinix_metal/models/hardware_reservation.py rename to equinix_metal/equinix_metal_t0mk/models/hardware_reservation.py index 0a2deb64..c301415f 100644 --- a/equinix_metal/equinix_metal/models/hardware_reservation.py +++ b/equinix_metal/equinix_metal_t0mk/models/hardware_reservation.py @@ -21,9 +21,9 @@ from datetime import datetime from typing import Optional, Union from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr -from equinix_metal.models.facility import Facility -from equinix_metal.models.plan import Plan -from equinix_metal.models.project import Project +from equinix_metal_t0mk.models.facility import Facility +from equinix_metal_t0mk.models.plan import Plan +from equinix_metal_t0mk.models.project import Project class HardwareReservation(BaseModel): """ @@ -110,6 +110,6 @@ def from_dict(cls, obj: dict) -> HardwareReservation: }) return _obj -from equinix_metal.models.device import Device +from equinix_metal_t0mk.models.device import Device HardwareReservation.update_forward_refs() diff --git a/equinix_metal/equinix_metal/models/hardware_reservation_list.py b/equinix_metal/equinix_metal_t0mk/models/hardware_reservation_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/hardware_reservation_list.py rename to equinix_metal/equinix_metal_t0mk/models/hardware_reservation_list.py index ca429fd0..25e2c567 100644 --- a/equinix_metal/equinix_metal/models/hardware_reservation_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/hardware_reservation_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.hardware_reservation import HardwareReservation -from equinix_metal.models.meta import Meta +from equinix_metal_t0mk.models.hardware_reservation import HardwareReservation +from equinix_metal_t0mk.models.meta import Meta class HardwareReservationList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/href.py b/equinix_metal/equinix_metal_t0mk/models/href.py similarity index 100% rename from equinix_metal/equinix_metal/models/href.py rename to equinix_metal/equinix_metal_t0mk/models/href.py diff --git a/equinix_metal/equinix_metal/models/instances_batch_create_input.py b/equinix_metal/equinix_metal_t0mk/models/instances_batch_create_input.py similarity index 98% rename from equinix_metal/equinix_metal/models/instances_batch_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/instances_batch_create_input.py index ceeec998..74909d42 100644 --- a/equinix_metal/equinix_metal/models/instances_batch_create_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/instances_batch_create_input.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.instances_batch_create_input_batches_inner import InstancesBatchCreateInputBatchesInner +from equinix_metal_t0mk.models.instances_batch_create_input_batches_inner import InstancesBatchCreateInputBatchesInner class InstancesBatchCreateInput(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/instances_batch_create_input_batches_inner.py b/equinix_metal/equinix_metal_t0mk/models/instances_batch_create_input_batches_inner.py similarity index 98% rename from equinix_metal/equinix_metal/models/instances_batch_create_input_batches_inner.py rename to equinix_metal/equinix_metal_t0mk/models/instances_batch_create_input_batches_inner.py index ebb22c57..af1648c2 100644 --- a/equinix_metal/equinix_metal/models/instances_batch_create_input_batches_inner.py +++ b/equinix_metal/equinix_metal_t0mk/models/instances_batch_create_input_batches_inner.py @@ -21,10 +21,10 @@ from datetime import datetime from typing import Any, Dict, List, Optional, Union from pydantic import BaseModel, Field, StrictBool, StrictFloat, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.facility_input_facility import FacilityInputFacility -from equinix_metal.models.ip_address import IPAddress -from equinix_metal.models.ssh_key_input import SSHKeyInput -from equinix_metal.models.storage import Storage +from equinix_metal_t0mk.models.facility_input_facility import FacilityInputFacility +from equinix_metal_t0mk.models.ip_address import IPAddress +from equinix_metal_t0mk.models.ssh_key_input import SSHKeyInput +from equinix_metal_t0mk.models.storage import Storage class InstancesBatchCreateInputBatchesInner(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/interconnection.py b/equinix_metal/equinix_metal_t0mk/models/interconnection.py similarity index 98% rename from equinix_metal/equinix_metal/models/interconnection.py rename to equinix_metal/equinix_metal_t0mk/models/interconnection.py index ec8f3d8d..d45e6a1b 100644 --- a/equinix_metal/equinix_metal/models/interconnection.py +++ b/equinix_metal/equinix_metal_t0mk/models/interconnection.py @@ -21,10 +21,10 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, Field, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.fabric_service_token import FabricServiceToken -from equinix_metal.models.href import Href -from equinix_metal.models.interconnection_port import InterconnectionPort -from equinix_metal.models.metro import Metro +from equinix_metal_t0mk.models.fabric_service_token import FabricServiceToken +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.interconnection_port import InterconnectionPort +from equinix_metal_t0mk.models.metro import Metro class Interconnection(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/interconnection_list.py b/equinix_metal/equinix_metal_t0mk/models/interconnection_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/interconnection_list.py rename to equinix_metal/equinix_metal_t0mk/models/interconnection_list.py index 4fa2bfaf..e2ca7af8 100644 --- a/equinix_metal/equinix_metal/models/interconnection_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/interconnection_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.interconnection import Interconnection -from equinix_metal.models.meta import Meta +from equinix_metal_t0mk.models.interconnection import Interconnection +from equinix_metal_t0mk.models.meta import Meta class InterconnectionList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/interconnection_port.py b/equinix_metal/equinix_metal_t0mk/models/interconnection_port.py similarity index 98% rename from equinix_metal/equinix_metal/models/interconnection_port.py rename to equinix_metal/equinix_metal_t0mk/models/interconnection_port.py index b6c9d0e7..14427ae7 100644 --- a/equinix_metal/equinix_metal/models/interconnection_port.py +++ b/equinix_metal/equinix_metal_t0mk/models/interconnection_port.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, Field, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.href import Href -from equinix_metal.models.virtual_circuit import VirtualCircuit +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit class InterconnectionPort(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/interconnection_port_list.py b/equinix_metal/equinix_metal_t0mk/models/interconnection_port_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/interconnection_port_list.py rename to equinix_metal/equinix_metal_t0mk/models/interconnection_port_list.py index a0b1ee67..7296d86d 100644 --- a/equinix_metal/equinix_metal/models/interconnection_port_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/interconnection_port_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.interconnection_port import InterconnectionPort +from equinix_metal_t0mk.models.interconnection_port import InterconnectionPort class InterconnectionPortList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/interconnection_update_input.py b/equinix_metal/equinix_metal_t0mk/models/interconnection_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/interconnection_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/interconnection_update_input.py diff --git a/equinix_metal/equinix_metal/models/invitation.py b/equinix_metal/equinix_metal_t0mk/models/invitation.py similarity index 99% rename from equinix_metal/equinix_metal/models/invitation.py rename to equinix_metal/equinix_metal_t0mk/models/invitation.py index 556b2517..d6a80e40 100644 --- a/equinix_metal/equinix_metal/models/invitation.py +++ b/equinix_metal/equinix_metal_t0mk/models/invitation.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist, validator -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class Invitation(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/invitation_input.py b/equinix_metal/equinix_metal_t0mk/models/invitation_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/invitation_input.py rename to equinix_metal/equinix_metal_t0mk/models/invitation_input.py diff --git a/equinix_metal/equinix_metal/models/invitation_list.py b/equinix_metal/equinix_metal_t0mk/models/invitation_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/invitation_list.py rename to equinix_metal/equinix_metal_t0mk/models/invitation_list.py index 1a73d9a4..6ac51377 100644 --- a/equinix_metal/equinix_metal/models/invitation_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/invitation_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.membership import Membership +from equinix_metal_t0mk.models.membership import Membership class InvitationList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/invoice.py b/equinix_metal/equinix_metal_t0mk/models/invoice.py similarity index 98% rename from equinix_metal/equinix_metal/models/invoice.py rename to equinix_metal/equinix_metal_t0mk/models/invoice.py index 84056a4c..cc133e2b 100644 --- a/equinix_metal/equinix_metal/models/invoice.py +++ b/equinix_metal/equinix_metal_t0mk/models/invoice.py @@ -21,8 +21,8 @@ from datetime import date from typing import List, Optional, Union from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr, conlist -from equinix_metal.models.line_item import LineItem -from equinix_metal.models.project_id_name import ProjectIdName +from equinix_metal_t0mk.models.line_item import LineItem +from equinix_metal_t0mk.models.project_id_name import ProjectIdName class Invoice(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/invoice_list.py b/equinix_metal/equinix_metal_t0mk/models/invoice_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/invoice_list.py rename to equinix_metal/equinix_metal_t0mk/models/invoice_list.py index e2561596..1030a054 100644 --- a/equinix_metal/equinix_metal/models/invoice_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/invoice_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.invoice import Invoice +from equinix_metal_t0mk.models.invoice import Invoice class InvoiceList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/ip_address.py b/equinix_metal/equinix_metal_t0mk/models/ip_address.py similarity index 100% rename from equinix_metal/equinix_metal/models/ip_address.py rename to equinix_metal/equinix_metal_t0mk/models/ip_address.py diff --git a/equinix_metal/equinix_metal/models/ip_assignment.py b/equinix_metal/equinix_metal_t0mk/models/ip_assignment.py similarity index 98% rename from equinix_metal/equinix_metal/models/ip_assignment.py rename to equinix_metal/equinix_metal_t0mk/models/ip_assignment.py index 42a096ec..108cb46c 100644 --- a/equinix_metal/equinix_metal/models/ip_assignment.py +++ b/equinix_metal/equinix_metal_t0mk/models/ip_assignment.py @@ -21,9 +21,9 @@ from datetime import datetime from typing import Optional from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, validator -from equinix_metal.models.href import Href -from equinix_metal.models.ip_assignment_metro import IPAssignmentMetro -from equinix_metal.models.parent_block import ParentBlock +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.ip_assignment_metro import IPAssignmentMetro +from equinix_metal_t0mk.models.parent_block import ParentBlock class IPAssignment(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/ip_assignment_input.py b/equinix_metal/equinix_metal_t0mk/models/ip_assignment_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/ip_assignment_input.py rename to equinix_metal/equinix_metal_t0mk/models/ip_assignment_input.py diff --git a/equinix_metal/equinix_metal/models/ip_assignment_list.py b/equinix_metal/equinix_metal_t0mk/models/ip_assignment_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/ip_assignment_list.py rename to equinix_metal/equinix_metal_t0mk/models/ip_assignment_list.py index 91ba5d9c..c8e49b9d 100644 --- a/equinix_metal/equinix_metal/models/ip_assignment_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/ip_assignment_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.ip_assignment import IPAssignment +from equinix_metal_t0mk.models.ip_assignment import IPAssignment class IPAssignmentList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/ip_assignment_metro.py b/equinix_metal/equinix_metal_t0mk/models/ip_assignment_metro.py similarity index 100% rename from equinix_metal/equinix_metal/models/ip_assignment_metro.py rename to equinix_metal/equinix_metal_t0mk/models/ip_assignment_metro.py diff --git a/equinix_metal/equinix_metal/models/ip_assignment_update_input.py b/equinix_metal/equinix_metal_t0mk/models/ip_assignment_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/ip_assignment_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/ip_assignment_update_input.py diff --git a/equinix_metal/equinix_metal/models/ip_availabilities_list.py b/equinix_metal/equinix_metal_t0mk/models/ip_availabilities_list.py similarity index 100% rename from equinix_metal/equinix_metal/models/ip_availabilities_list.py rename to equinix_metal/equinix_metal_t0mk/models/ip_availabilities_list.py diff --git a/equinix_metal/equinix_metal/models/ip_reservation.py b/equinix_metal/equinix_metal_t0mk/models/ip_reservation.py similarity index 97% rename from equinix_metal/equinix_metal/models/ip_reservation.py rename to equinix_metal/equinix_metal_t0mk/models/ip_reservation.py index 9017fb89..f9645e9c 100644 --- a/equinix_metal/equinix_metal/models/ip_reservation.py +++ b/equinix_metal/equinix_metal_t0mk/models/ip_reservation.py @@ -21,11 +21,11 @@ from datetime import datetime from typing import Any, Dict, List, Optional from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.href import Href -from equinix_metal.models.ip_reservation_facility import IPReservationFacility -from equinix_metal.models.ip_reservation_metro import IPReservationMetro -from equinix_metal.models.metal_gateway_lite import MetalGatewayLite -from equinix_metal.models.project import Project +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.ip_reservation_facility import IPReservationFacility +from equinix_metal_t0mk.models.ip_reservation_metro import IPReservationMetro +from equinix_metal_t0mk.models.metal_gateway_lite import MetalGatewayLite +from equinix_metal_t0mk.models.project import Project class IPReservation(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/ip_reservation_facility.py b/equinix_metal/equinix_metal_t0mk/models/ip_reservation_facility.py similarity index 98% rename from equinix_metal/equinix_metal/models/ip_reservation_facility.py rename to equinix_metal/equinix_metal_t0mk/models/ip_reservation_facility.py index 1822ae3d..218d2392 100644 --- a/equinix_metal/equinix_metal/models/ip_reservation_facility.py +++ b/equinix_metal/equinix_metal_t0mk/models/ip_reservation_facility.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, Field, StrictStr, conlist, validator -from equinix_metal.models.address import Address -from equinix_metal.models.device_metro import DeviceMetro +from equinix_metal_t0mk.models.address import Address +from equinix_metal_t0mk.models.device_metro import DeviceMetro class IPReservationFacility(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/ip_reservation_list.py b/equinix_metal/equinix_metal_t0mk/models/ip_reservation_list.py similarity index 97% rename from equinix_metal/equinix_metal/models/ip_reservation_list.py rename to equinix_metal/equinix_metal_t0mk/models/ip_reservation_list.py index d03580f7..a2f00188 100644 --- a/equinix_metal/equinix_metal/models/ip_reservation_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/ip_reservation_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.ip_reservation_list_ip_addresses_inner import IPReservationListIpAddressesInner -from equinix_metal.models.meta import Meta +from equinix_metal_t0mk.models.ip_reservation_list_ip_addresses_inner import IPReservationListIpAddressesInner +from equinix_metal_t0mk.models.meta import Meta class IPReservationList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/ip_reservation_list_ip_addresses_inner.py b/equinix_metal/equinix_metal_t0mk/models/ip_reservation_list_ip_addresses_inner.py similarity index 98% rename from equinix_metal/equinix_metal/models/ip_reservation_list_ip_addresses_inner.py rename to equinix_metal/equinix_metal_t0mk/models/ip_reservation_list_ip_addresses_inner.py index dc830105..77d6c5e7 100644 --- a/equinix_metal/equinix_metal/models/ip_reservation_list_ip_addresses_inner.py +++ b/equinix_metal/equinix_metal_t0mk/models/ip_reservation_list_ip_addresses_inner.py @@ -21,8 +21,8 @@ from typing import Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.ip_reservation import IPReservation -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation +from equinix_metal_t0mk.models.ip_reservation import IPReservation +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/ip_reservation_metro.py b/equinix_metal/equinix_metal_t0mk/models/ip_reservation_metro.py similarity index 100% rename from equinix_metal/equinix_metal/models/ip_reservation_metro.py rename to equinix_metal/equinix_metal_t0mk/models/ip_reservation_metro.py diff --git a/equinix_metal/equinix_metal/models/ip_reservation_request_input.py b/equinix_metal/equinix_metal_t0mk/models/ip_reservation_request_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/ip_reservation_request_input.py rename to equinix_metal/equinix_metal_t0mk/models/ip_reservation_request_input.py diff --git a/equinix_metal/equinix_metal/models/license.py b/equinix_metal/equinix_metal_t0mk/models/license.py similarity index 99% rename from equinix_metal/equinix_metal/models/license.py rename to equinix_metal/equinix_metal_t0mk/models/license.py index ed909c53..cd01d49b 100644 --- a/equinix_metal/equinix_metal/models/license.py +++ b/equinix_metal/equinix_metal_t0mk/models/license.py @@ -21,7 +21,7 @@ from typing import Optional, Union from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class License(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/license_create_input.py b/equinix_metal/equinix_metal_t0mk/models/license_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/license_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/license_create_input.py diff --git a/equinix_metal/equinix_metal/models/license_list.py b/equinix_metal/equinix_metal_t0mk/models/license_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/license_list.py rename to equinix_metal/equinix_metal_t0mk/models/license_list.py index 3b1e49f0..e0356b62 100644 --- a/equinix_metal/equinix_metal/models/license_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/license_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.license import License +from equinix_metal_t0mk.models.license import License class LicenseList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/license_update_input.py b/equinix_metal/equinix_metal_t0mk/models/license_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/license_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/license_update_input.py diff --git a/equinix_metal/equinix_metal/models/line_item.py b/equinix_metal/equinix_metal_t0mk/models/line_item.py similarity index 99% rename from equinix_metal/equinix_metal/models/line_item.py rename to equinix_metal/equinix_metal_t0mk/models/line_item.py index b6edd591..896cc42d 100644 --- a/equinix_metal/equinix_metal/models/line_item.py +++ b/equinix_metal/equinix_metal_t0mk/models/line_item.py @@ -21,7 +21,7 @@ from typing import Optional, Union from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr -from equinix_metal.models.plan import Plan +from equinix_metal_t0mk.models.plan import Plan class LineItem(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/membership.py b/equinix_metal/equinix_metal_t0mk/models/membership.py similarity index 99% rename from equinix_metal/equinix_metal/models/membership.py rename to equinix_metal/equinix_metal_t0mk/models/membership.py index 2185e4a3..91e1fa44 100644 --- a/equinix_metal/equinix_metal/models/membership.py +++ b/equinix_metal/equinix_metal_t0mk/models/membership.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class Membership(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/membership_input.py b/equinix_metal/equinix_metal_t0mk/models/membership_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/membership_input.py rename to equinix_metal/equinix_metal_t0mk/models/membership_input.py diff --git a/equinix_metal/equinix_metal/models/membership_list.py b/equinix_metal/equinix_metal_t0mk/models/membership_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/membership_list.py rename to equinix_metal/equinix_metal_t0mk/models/membership_list.py index b990527a..52b41d0c 100644 --- a/equinix_metal/equinix_metal/models/membership_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/membership_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.membership import Membership +from equinix_metal_t0mk.models.membership import Membership class MembershipList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/meta.py b/equinix_metal/equinix_metal_t0mk/models/meta.py similarity index 99% rename from equinix_metal/equinix_metal/models/meta.py rename to equinix_metal/equinix_metal_t0mk/models/meta.py index e298cdec..a5c52aad 100644 --- a/equinix_metal/equinix_metal/models/meta.py +++ b/equinix_metal/equinix_metal_t0mk/models/meta.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, Field, StrictInt, StrictStr -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class Meta(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/metadata.py b/equinix_metal/equinix_metal_t0mk/models/metadata.py similarity index 99% rename from equinix_metal/equinix_metal/models/metadata.py rename to equinix_metal/equinix_metal_t0mk/models/metadata.py index a87d26b1..b8387889 100644 --- a/equinix_metal/equinix_metal/models/metadata.py +++ b/equinix_metal/equinix_metal_t0mk/models/metadata.py @@ -21,7 +21,7 @@ from typing import Any, Dict, List, Optional from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, validator -from equinix_metal.models.metadata_network import MetadataNetwork +from equinix_metal_t0mk.models.metadata_network import MetadataNetwork class Metadata(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/metadata_network.py b/equinix_metal/equinix_metal_t0mk/models/metadata_network.py similarity index 98% rename from equinix_metal/equinix_metal/models/metadata_network.py rename to equinix_metal/equinix_metal_t0mk/models/metadata_network.py index 02c6e012..ec7e75e6 100644 --- a/equinix_metal/equinix_metal/models/metadata_network.py +++ b/equinix_metal/equinix_metal_t0mk/models/metadata_network.py @@ -21,7 +21,7 @@ from typing import Any, Dict, List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.metadata_network_network import MetadataNetworkNetwork +from equinix_metal_t0mk.models.metadata_network_network import MetadataNetworkNetwork class MetadataNetwork(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/metadata_network_network.py b/equinix_metal/equinix_metal_t0mk/models/metadata_network_network.py similarity index 98% rename from equinix_metal/equinix_metal/models/metadata_network_network.py rename to equinix_metal/equinix_metal_t0mk/models/metadata_network_network.py index 1464acda..612e7f15 100644 --- a/equinix_metal/equinix_metal/models/metadata_network_network.py +++ b/equinix_metal/equinix_metal_t0mk/models/metadata_network_network.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.metadata_network_network_bonding import MetadataNetworkNetworkBonding +from equinix_metal_t0mk.models.metadata_network_network_bonding import MetadataNetworkNetworkBonding class MetadataNetworkNetwork(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/metadata_network_network_bonding.py b/equinix_metal/equinix_metal_t0mk/models/metadata_network_network_bonding.py similarity index 100% rename from equinix_metal/equinix_metal/models/metadata_network_network_bonding.py rename to equinix_metal/equinix_metal_t0mk/models/metadata_network_network_bonding.py diff --git a/equinix_metal/equinix_metal/models/metal_gateway.py b/equinix_metal/equinix_metal_t0mk/models/metal_gateway.py similarity index 97% rename from equinix_metal/equinix_metal/models/metal_gateway.py rename to equinix_metal/equinix_metal_t0mk/models/metal_gateway.py index a175148b..59573e7d 100644 --- a/equinix_metal/equinix_metal/models/metal_gateway.py +++ b/equinix_metal/equinix_metal_t0mk/models/metal_gateway.py @@ -21,10 +21,10 @@ from datetime import datetime from typing import Optional from pydantic import BaseModel, Field, StrictStr, validator -from equinix_metal.models.href import Href -from equinix_metal.models.ip_reservation import IPReservation -from equinix_metal.models.project import Project -from equinix_metal.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.ip_reservation import IPReservation +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork class MetalGateway(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/metal_gateway_create_input.py b/equinix_metal/equinix_metal_t0mk/models/metal_gateway_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/metal_gateway_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/metal_gateway_create_input.py diff --git a/equinix_metal/equinix_metal/models/metal_gateway_elastic_ip_create_input.py b/equinix_metal/equinix_metal_t0mk/models/metal_gateway_elastic_ip_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/metal_gateway_elastic_ip_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/metal_gateway_elastic_ip_create_input.py diff --git a/equinix_metal/equinix_metal/models/metal_gateway_list.py b/equinix_metal/equinix_metal_t0mk/models/metal_gateway_list.py similarity index 97% rename from equinix_metal/equinix_metal/models/metal_gateway_list.py rename to equinix_metal/equinix_metal_t0mk/models/metal_gateway_list.py index 7f5bd676..1e8bf879 100644 --- a/equinix_metal/equinix_metal/models/metal_gateway_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/metal_gateway_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.meta import Meta -from equinix_metal.models.metal_gateway_list_metal_gateways_inner import MetalGatewayListMetalGatewaysInner +from equinix_metal_t0mk.models.meta import Meta +from equinix_metal_t0mk.models.metal_gateway_list_metal_gateways_inner import MetalGatewayListMetalGatewaysInner class MetalGatewayList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/metal_gateway_list_metal_gateways_inner.py b/equinix_metal/equinix_metal_t0mk/models/metal_gateway_list_metal_gateways_inner.py similarity index 98% rename from equinix_metal/equinix_metal/models/metal_gateway_list_metal_gateways_inner.py rename to equinix_metal/equinix_metal_t0mk/models/metal_gateway_list_metal_gateways_inner.py index dd59b2f0..5aa02569 100644 --- a/equinix_metal/equinix_metal/models/metal_gateway_list_metal_gateways_inner.py +++ b/equinix_metal/equinix_metal_t0mk/models/metal_gateway_list_metal_gateways_inner.py @@ -21,8 +21,8 @@ from typing import Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.metal_gateway import MetalGateway -from equinix_metal.models.vrf_metal_gateway import VrfMetalGateway +from equinix_metal_t0mk.models.metal_gateway import MetalGateway +from equinix_metal_t0mk.models.vrf_metal_gateway import VrfMetalGateway from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/metal_gateway_lite.py b/equinix_metal/equinix_metal_t0mk/models/metal_gateway_lite.py similarity index 100% rename from equinix_metal/equinix_metal/models/metal_gateway_lite.py rename to equinix_metal/equinix_metal_t0mk/models/metal_gateway_lite.py diff --git a/equinix_metal/equinix_metal/models/metro.py b/equinix_metal/equinix_metal_t0mk/models/metro.py similarity index 100% rename from equinix_metal/equinix_metal/models/metro.py rename to equinix_metal/equinix_metal_t0mk/models/metro.py diff --git a/equinix_metal/equinix_metal/models/metro_input.py b/equinix_metal/equinix_metal_t0mk/models/metro_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/metro_input.py rename to equinix_metal/equinix_metal_t0mk/models/metro_input.py diff --git a/equinix_metal/equinix_metal/models/metro_list.py b/equinix_metal/equinix_metal_t0mk/models/metro_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/metro_list.py rename to equinix_metal/equinix_metal_t0mk/models/metro_list.py index 40e80867..41a06fad 100644 --- a/equinix_metal/equinix_metal/models/metro_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/metro_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.metro import Metro +from equinix_metal_t0mk.models.metro import Metro class MetroList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/mount.py b/equinix_metal/equinix_metal_t0mk/models/mount.py similarity index 100% rename from equinix_metal/equinix_metal/models/mount.py rename to equinix_metal/equinix_metal_t0mk/models/mount.py diff --git a/equinix_metal/equinix_metal/models/move_hardware_reservation_request.py b/equinix_metal/equinix_metal_t0mk/models/move_hardware_reservation_request.py similarity index 100% rename from equinix_metal/equinix_metal/models/move_hardware_reservation_request.py rename to equinix_metal/equinix_metal_t0mk/models/move_hardware_reservation_request.py diff --git a/equinix_metal/equinix_metal/models/new_password.py b/equinix_metal/equinix_metal_t0mk/models/new_password.py similarity index 100% rename from equinix_metal/equinix_metal/models/new_password.py rename to equinix_metal/equinix_metal_t0mk/models/new_password.py diff --git a/equinix_metal/equinix_metal/models/operating_system.py b/equinix_metal/equinix_metal_t0mk/models/operating_system.py similarity index 100% rename from equinix_metal/equinix_metal/models/operating_system.py rename to equinix_metal/equinix_metal_t0mk/models/operating_system.py diff --git a/equinix_metal/equinix_metal/models/operating_system_list.py b/equinix_metal/equinix_metal_t0mk/models/operating_system_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/operating_system_list.py rename to equinix_metal/equinix_metal_t0mk/models/operating_system_list.py index a23329ed..16b40892 100644 --- a/equinix_metal/equinix_metal/models/operating_system_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/operating_system_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.operating_system import OperatingSystem +from equinix_metal_t0mk.models.operating_system import OperatingSystem class OperatingSystemList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/organization.py b/equinix_metal/equinix_metal_t0mk/models/organization.py similarity index 98% rename from equinix_metal/equinix_metal/models/organization.py rename to equinix_metal/equinix_metal_t0mk/models/organization.py index 9d871766..a14b84ba 100644 --- a/equinix_metal/equinix_metal/models/organization.py +++ b/equinix_metal/equinix_metal_t0mk/models/organization.py @@ -21,8 +21,8 @@ from datetime import datetime from typing import Any, Dict, List, Optional, Union from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from equinix_metal.models.address import Address -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.address import Address +from equinix_metal_t0mk.models.href import Href class Organization(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/organization_input.py b/equinix_metal/equinix_metal_t0mk/models/organization_input.py similarity index 99% rename from equinix_metal/equinix_metal/models/organization_input.py rename to equinix_metal/equinix_metal_t0mk/models/organization_input.py index e7c10328..3b924621 100644 --- a/equinix_metal/equinix_metal/models/organization_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/organization_input.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import Any, Dict, Optional, Union from pydantic import BaseModel, Field, StrictBytes, StrictStr -from equinix_metal.models.address import Address +from equinix_metal_t0mk.models.address import Address class OrganizationInput(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/organization_list.py b/equinix_metal/equinix_metal_t0mk/models/organization_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/organization_list.py rename to equinix_metal/equinix_metal_t0mk/models/organization_list.py index 69a2f021..68e06a5e 100644 --- a/equinix_metal/equinix_metal/models/organization_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/organization_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.meta import Meta -from equinix_metal.models.organization import Organization +from equinix_metal_t0mk.models.meta import Meta +from equinix_metal_t0mk.models.organization import Organization class OrganizationList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/parent_block.py b/equinix_metal/equinix_metal_t0mk/models/parent_block.py similarity index 100% rename from equinix_metal/equinix_metal/models/parent_block.py rename to equinix_metal/equinix_metal_t0mk/models/parent_block.py diff --git a/equinix_metal/equinix_metal/models/partition.py b/equinix_metal/equinix_metal_t0mk/models/partition.py similarity index 100% rename from equinix_metal/equinix_metal/models/partition.py rename to equinix_metal/equinix_metal_t0mk/models/partition.py diff --git a/equinix_metal/equinix_metal/models/payment_method.py b/equinix_metal/equinix_metal_t0mk/models/payment_method.py similarity index 98% rename from equinix_metal/equinix_metal/models/payment_method.py rename to equinix_metal/equinix_metal_t0mk/models/payment_method.py index 59053276..ac41de16 100644 --- a/equinix_metal/equinix_metal/models/payment_method.py +++ b/equinix_metal/equinix_metal_t0mk/models/payment_method.py @@ -21,8 +21,8 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, StrictBool, StrictStr, conlist -from equinix_metal.models.href import Href -from equinix_metal.models.payment_method_billing_address import PaymentMethodBillingAddress +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.payment_method_billing_address import PaymentMethodBillingAddress class PaymentMethod(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/payment_method_billing_address.py b/equinix_metal/equinix_metal_t0mk/models/payment_method_billing_address.py similarity index 100% rename from equinix_metal/equinix_metal/models/payment_method_billing_address.py rename to equinix_metal/equinix_metal_t0mk/models/payment_method_billing_address.py diff --git a/equinix_metal/equinix_metal/models/payment_method_create_input.py b/equinix_metal/equinix_metal_t0mk/models/payment_method_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/payment_method_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/payment_method_create_input.py diff --git a/equinix_metal/equinix_metal/models/payment_method_list.py b/equinix_metal/equinix_metal_t0mk/models/payment_method_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/payment_method_list.py rename to equinix_metal/equinix_metal_t0mk/models/payment_method_list.py index f7388f5b..12e4cd4f 100644 --- a/equinix_metal/equinix_metal/models/payment_method_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/payment_method_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.payment_method import PaymentMethod +from equinix_metal_t0mk.models.payment_method import PaymentMethod class PaymentMethodList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/payment_method_update_input.py b/equinix_metal/equinix_metal_t0mk/models/payment_method_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/payment_method_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/payment_method_update_input.py diff --git a/equinix_metal/equinix_metal/models/plan.py b/equinix_metal/equinix_metal_t0mk/models/plan.py similarity index 97% rename from equinix_metal/equinix_metal/models/plan.py rename to equinix_metal/equinix_metal_t0mk/models/plan.py index 17705ab8..0212f735 100644 --- a/equinix_metal/equinix_metal/models/plan.py +++ b/equinix_metal/equinix_metal_t0mk/models/plan.py @@ -21,9 +21,9 @@ from typing import Any, Dict, List, Optional from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, validator -from equinix_metal.models.plan_available_in_inner import PlanAvailableInInner -from equinix_metal.models.plan_available_in_metros_inner import PlanAvailableInMetrosInner -from equinix_metal.models.plan_specs import PlanSpecs +from equinix_metal_t0mk.models.plan_available_in_inner import PlanAvailableInInner +from equinix_metal_t0mk.models.plan_available_in_metros_inner import PlanAvailableInMetrosInner +from equinix_metal_t0mk.models.plan_specs import PlanSpecs class Plan(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/plan_available_in_inner.py b/equinix_metal/equinix_metal_t0mk/models/plan_available_in_inner.py similarity index 98% rename from equinix_metal/equinix_metal/models/plan_available_in_inner.py rename to equinix_metal/equinix_metal_t0mk/models/plan_available_in_inner.py index 8cc57826..466442f2 100644 --- a/equinix_metal/equinix_metal/models/plan_available_in_inner.py +++ b/equinix_metal/equinix_metal_t0mk/models/plan_available_in_inner.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, Field, StrictStr -from equinix_metal.models.plan_available_in_inner_price import PlanAvailableInInnerPrice +from equinix_metal_t0mk.models.plan_available_in_inner_price import PlanAvailableInInnerPrice class PlanAvailableInInner(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/plan_available_in_inner_price.py b/equinix_metal/equinix_metal_t0mk/models/plan_available_in_inner_price.py similarity index 100% rename from equinix_metal/equinix_metal/models/plan_available_in_inner_price.py rename to equinix_metal/equinix_metal_t0mk/models/plan_available_in_inner_price.py diff --git a/equinix_metal/equinix_metal/models/plan_available_in_metros_inner.py b/equinix_metal/equinix_metal_t0mk/models/plan_available_in_metros_inner.py similarity index 98% rename from equinix_metal/equinix_metal/models/plan_available_in_metros_inner.py rename to equinix_metal/equinix_metal_t0mk/models/plan_available_in_metros_inner.py index 2ca866b7..a82ddaeb 100644 --- a/equinix_metal/equinix_metal/models/plan_available_in_metros_inner.py +++ b/equinix_metal/equinix_metal_t0mk/models/plan_available_in_metros_inner.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, Field, StrictStr -from equinix_metal.models.plan_available_in_inner_price import PlanAvailableInInnerPrice +from equinix_metal_t0mk.models.plan_available_in_inner_price import PlanAvailableInInnerPrice class PlanAvailableInMetrosInner(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/plan_list.py b/equinix_metal/equinix_metal_t0mk/models/plan_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/plan_list.py rename to equinix_metal/equinix_metal_t0mk/models/plan_list.py index c25081df..4c6bef92 100644 --- a/equinix_metal/equinix_metal/models/plan_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/plan_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.plan import Plan +from equinix_metal_t0mk.models.plan import Plan class PlanList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/plan_specs.py b/equinix_metal/equinix_metal_t0mk/models/plan_specs.py similarity index 95% rename from equinix_metal/equinix_metal/models/plan_specs.py rename to equinix_metal/equinix_metal_t0mk/models/plan_specs.py index c9221cfc..21731838 100644 --- a/equinix_metal/equinix_metal/models/plan_specs.py +++ b/equinix_metal/equinix_metal_t0mk/models/plan_specs.py @@ -21,11 +21,11 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.plan_specs_cpus_inner import PlanSpecsCpusInner -from equinix_metal.models.plan_specs_drives_inner import PlanSpecsDrivesInner -from equinix_metal.models.plan_specs_features import PlanSpecsFeatures -from equinix_metal.models.plan_specs_memory import PlanSpecsMemory -from equinix_metal.models.plan_specs_nics_inner import PlanSpecsNicsInner +from equinix_metal_t0mk.models.plan_specs_cpus_inner import PlanSpecsCpusInner +from equinix_metal_t0mk.models.plan_specs_drives_inner import PlanSpecsDrivesInner +from equinix_metal_t0mk.models.plan_specs_features import PlanSpecsFeatures +from equinix_metal_t0mk.models.plan_specs_memory import PlanSpecsMemory +from equinix_metal_t0mk.models.plan_specs_nics_inner import PlanSpecsNicsInner class PlanSpecs(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/plan_specs_cpus_inner.py b/equinix_metal/equinix_metal_t0mk/models/plan_specs_cpus_inner.py similarity index 100% rename from equinix_metal/equinix_metal/models/plan_specs_cpus_inner.py rename to equinix_metal/equinix_metal_t0mk/models/plan_specs_cpus_inner.py diff --git a/equinix_metal/equinix_metal/models/plan_specs_drives_inner.py b/equinix_metal/equinix_metal_t0mk/models/plan_specs_drives_inner.py similarity index 100% rename from equinix_metal/equinix_metal/models/plan_specs_drives_inner.py rename to equinix_metal/equinix_metal_t0mk/models/plan_specs_drives_inner.py diff --git a/equinix_metal/equinix_metal/models/plan_specs_features.py b/equinix_metal/equinix_metal_t0mk/models/plan_specs_features.py similarity index 100% rename from equinix_metal/equinix_metal/models/plan_specs_features.py rename to equinix_metal/equinix_metal_t0mk/models/plan_specs_features.py diff --git a/equinix_metal/equinix_metal/models/plan_specs_memory.py b/equinix_metal/equinix_metal_t0mk/models/plan_specs_memory.py similarity index 100% rename from equinix_metal/equinix_metal/models/plan_specs_memory.py rename to equinix_metal/equinix_metal_t0mk/models/plan_specs_memory.py diff --git a/equinix_metal/equinix_metal/models/plan_specs_nics_inner.py b/equinix_metal/equinix_metal_t0mk/models/plan_specs_nics_inner.py similarity index 100% rename from equinix_metal/equinix_metal/models/plan_specs_nics_inner.py rename to equinix_metal/equinix_metal_t0mk/models/plan_specs_nics_inner.py diff --git a/equinix_metal/equinix_metal/models/port.py b/equinix_metal/equinix_metal_t0mk/models/port.py similarity index 97% rename from equinix_metal/equinix_metal/models/port.py rename to equinix_metal/equinix_metal_t0mk/models/port.py index daa3776b..1688892b 100644 --- a/equinix_metal/equinix_metal/models/port.py +++ b/equinix_metal/equinix_metal_t0mk/models/port.py @@ -21,10 +21,10 @@ from typing import List, Optional from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, validator -from equinix_metal.models.bond_port_data import BondPortData -from equinix_metal.models.href import Href -from equinix_metal.models.port_data import PortData -from equinix_metal.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.models.bond_port_data import BondPortData +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.port_data import PortData +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork class Port(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/port_assign_input.py b/equinix_metal/equinix_metal_t0mk/models/port_assign_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/port_assign_input.py rename to equinix_metal/equinix_metal_t0mk/models/port_assign_input.py diff --git a/equinix_metal/equinix_metal/models/port_convert_layer3_input.py b/equinix_metal/equinix_metal_t0mk/models/port_convert_layer3_input.py similarity index 98% rename from equinix_metal/equinix_metal/models/port_convert_layer3_input.py rename to equinix_metal/equinix_metal_t0mk/models/port_convert_layer3_input.py index 48d04746..58196586 100644 --- a/equinix_metal/equinix_metal/models/port_convert_layer3_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/port_convert_layer3_input.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.port_convert_layer3_input_request_ips_inner import PortConvertLayer3InputRequestIpsInner +from equinix_metal_t0mk.models.port_convert_layer3_input_request_ips_inner import PortConvertLayer3InputRequestIpsInner class PortConvertLayer3Input(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/port_convert_layer3_input_request_ips_inner.py b/equinix_metal/equinix_metal_t0mk/models/port_convert_layer3_input_request_ips_inner.py similarity index 100% rename from equinix_metal/equinix_metal/models/port_convert_layer3_input_request_ips_inner.py rename to equinix_metal/equinix_metal_t0mk/models/port_convert_layer3_input_request_ips_inner.py diff --git a/equinix_metal/equinix_metal/models/port_data.py b/equinix_metal/equinix_metal_t0mk/models/port_data.py similarity index 100% rename from equinix_metal/equinix_metal/models/port_data.py rename to equinix_metal/equinix_metal_t0mk/models/port_data.py diff --git a/equinix_metal/equinix_metal/models/port_vlan_assignment.py b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment.py similarity index 99% rename from equinix_metal/equinix_metal/models/port_vlan_assignment.py rename to equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment.py index 7cc8aaf7..9de679b6 100644 --- a/equinix_metal/equinix_metal/models/port_vlan_assignment.py +++ b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import Optional from pydantic import BaseModel, StrictBool, StrictInt, StrictStr, validator -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class PortVlanAssignment(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/port_vlan_assignment_batch.py b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch.py similarity index 97% rename from equinix_metal/equinix_metal/models/port_vlan_assignment_batch.py rename to equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch.py index 0824e471..fd26285f 100644 --- a/equinix_metal/equinix_metal/models/port_vlan_assignment_batch.py +++ b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch.py @@ -21,9 +21,9 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.href import Href -from equinix_metal.models.port import Port -from equinix_metal.models.port_vlan_assignment_batch_vlan_assignments_inner import PortVlanAssignmentBatchVlanAssignmentsInner +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.port import Port +from equinix_metal_t0mk.models.port_vlan_assignment_batch_vlan_assignments_inner import PortVlanAssignmentBatchVlanAssignmentsInner class PortVlanAssignmentBatch(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/port_vlan_assignment_batch_create_input.py b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch_create_input.py similarity index 97% rename from equinix_metal/equinix_metal/models/port_vlan_assignment_batch_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch_create_input.py index 6a2729e2..e236aed0 100644 --- a/equinix_metal/equinix_metal/models/port_vlan_assignment_batch_create_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch_create_input.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner import PortVlanAssignmentBatchCreateInputVlanAssignmentsInner +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner import PortVlanAssignmentBatchCreateInputVlanAssignmentsInner class PortVlanAssignmentBatchCreateInput(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/port_vlan_assignment_batch_create_input_vlan_assignments_inner.py b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch_create_input_vlan_assignments_inner.py similarity index 100% rename from equinix_metal/equinix_metal/models/port_vlan_assignment_batch_create_input_vlan_assignments_inner.py rename to equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch_create_input_vlan_assignments_inner.py diff --git a/equinix_metal/equinix_metal/models/port_vlan_assignment_batch_list.py b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/port_vlan_assignment_batch_list.py rename to equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch_list.py index 818cda9b..e4cc8d85 100644 --- a/equinix_metal/equinix_metal/models/port_vlan_assignment_batch_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.port_vlan_assignment_batch import PortVlanAssignmentBatch +from equinix_metal_t0mk.models.port_vlan_assignment_batch import PortVlanAssignmentBatch class PortVlanAssignmentBatchList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/port_vlan_assignment_batch_vlan_assignments_inner.py b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch_vlan_assignments_inner.py similarity index 100% rename from equinix_metal/equinix_metal/models/port_vlan_assignment_batch_vlan_assignments_inner.py rename to equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_batch_vlan_assignments_inner.py diff --git a/equinix_metal/equinix_metal/models/port_vlan_assignment_list.py b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/port_vlan_assignment_list.py rename to equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_list.py index afd6d79f..2e84c451 100644 --- a/equinix_metal/equinix_metal/models/port_vlan_assignment_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/port_vlan_assignment_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.port_vlan_assignment import PortVlanAssignment +from equinix_metal_t0mk.models.port_vlan_assignment import PortVlanAssignment class PortVlanAssignmentList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/project.py b/equinix_metal/equinix_metal_t0mk/models/project.py similarity index 99% rename from equinix_metal/equinix_metal/models/project.py rename to equinix_metal/equinix_metal_t0mk/models/project.py index b583f071..2d7c6dde 100644 --- a/equinix_metal/equinix_metal/models/project.py +++ b/equinix_metal/equinix_metal_t0mk/models/project.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import Any, Dict, List, Optional from pydantic import BaseModel, Field, StrictBool, StrictStr, conlist, constr, validator -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class Project(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/project_create_from_root_input.py b/equinix_metal/equinix_metal_t0mk/models/project_create_from_root_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/project_create_from_root_input.py rename to equinix_metal/equinix_metal_t0mk/models/project_create_from_root_input.py diff --git a/equinix_metal/equinix_metal/models/project_create_input.py b/equinix_metal/equinix_metal_t0mk/models/project_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/project_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/project_create_input.py diff --git a/equinix_metal/equinix_metal/models/project_id_name.py b/equinix_metal/equinix_metal_t0mk/models/project_id_name.py similarity index 100% rename from equinix_metal/equinix_metal/models/project_id_name.py rename to equinix_metal/equinix_metal_t0mk/models/project_id_name.py diff --git a/equinix_metal/equinix_metal/models/project_list.py b/equinix_metal/equinix_metal_t0mk/models/project_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/project_list.py rename to equinix_metal/equinix_metal_t0mk/models/project_list.py index 61594389..7a42f1ca 100644 --- a/equinix_metal/equinix_metal/models/project_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/project_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.meta import Meta -from equinix_metal.models.project import Project +from equinix_metal_t0mk.models.meta import Meta +from equinix_metal_t0mk.models.project import Project class ProjectList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/project_update_input.py b/equinix_metal/equinix_metal_t0mk/models/project_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/project_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/project_update_input.py diff --git a/equinix_metal/equinix_metal/models/project_usage.py b/equinix_metal/equinix_metal_t0mk/models/project_usage.py similarity index 100% rename from equinix_metal/equinix_metal/models/project_usage.py rename to equinix_metal/equinix_metal_t0mk/models/project_usage.py diff --git a/equinix_metal/equinix_metal/models/project_usage_list.py b/equinix_metal/equinix_metal_t0mk/models/project_usage_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/project_usage_list.py rename to equinix_metal/equinix_metal_t0mk/models/project_usage_list.py index 34eb8a80..60794977 100644 --- a/equinix_metal/equinix_metal/models/project_usage_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/project_usage_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.project_usage import ProjectUsage +from equinix_metal_t0mk.models.project_usage import ProjectUsage class ProjectUsageList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/raid.py b/equinix_metal/equinix_metal_t0mk/models/raid.py similarity index 100% rename from equinix_metal/equinix_metal/models/raid.py rename to equinix_metal/equinix_metal_t0mk/models/raid.py diff --git a/equinix_metal/equinix_metal/models/recovery_code_list.py b/equinix_metal/equinix_metal_t0mk/models/recovery_code_list.py similarity index 100% rename from equinix_metal/equinix_metal/models/recovery_code_list.py rename to equinix_metal/equinix_metal_t0mk/models/recovery_code_list.py diff --git a/equinix_metal/equinix_metal/models/request_ip_reservation201_response.py b/equinix_metal/equinix_metal_t0mk/models/request_ip_reservation201_response.py similarity index 98% rename from equinix_metal/equinix_metal/models/request_ip_reservation201_response.py rename to equinix_metal/equinix_metal_t0mk/models/request_ip_reservation201_response.py index c2e4cd40..af57a945 100644 --- a/equinix_metal/equinix_metal/models/request_ip_reservation201_response.py +++ b/equinix_metal/equinix_metal_t0mk/models/request_ip_reservation201_response.py @@ -21,8 +21,8 @@ from typing import Any, List, Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.ip_reservation import IPReservation -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation +from equinix_metal_t0mk.models.ip_reservation import IPReservation +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/request_ip_reservation_request.py b/equinix_metal/equinix_metal_t0mk/models/request_ip_reservation_request.py similarity index 98% rename from equinix_metal/equinix_metal/models/request_ip_reservation_request.py rename to equinix_metal/equinix_metal_t0mk/models/request_ip_reservation_request.py index d5273e3e..2735a065 100644 --- a/equinix_metal/equinix_metal/models/request_ip_reservation_request.py +++ b/equinix_metal/equinix_metal_t0mk/models/request_ip_reservation_request.py @@ -21,8 +21,8 @@ from typing import Any, List, Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.ip_reservation_request_input import IPReservationRequestInput -from equinix_metal.models.vrf_ip_reservation_create_input import VrfIpReservationCreateInput +from equinix_metal_t0mk.models.ip_reservation_request_input import IPReservationRequestInput +from equinix_metal_t0mk.models.vrf_ip_reservation_create_input import VrfIpReservationCreateInput from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/self_service_reservation_item_request.py b/equinix_metal/equinix_metal_t0mk/models/self_service_reservation_item_request.py similarity index 100% rename from equinix_metal/equinix_metal/models/self_service_reservation_item_request.py rename to equinix_metal/equinix_metal_t0mk/models/self_service_reservation_item_request.py diff --git a/equinix_metal/equinix_metal/models/self_service_reservation_item_response.py b/equinix_metal/equinix_metal_t0mk/models/self_service_reservation_item_response.py similarity index 100% rename from equinix_metal/equinix_metal/models/self_service_reservation_item_response.py rename to equinix_metal/equinix_metal_t0mk/models/self_service_reservation_item_response.py diff --git a/equinix_metal/equinix_metal/models/self_service_reservation_list.py b/equinix_metal/equinix_metal_t0mk/models/self_service_reservation_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/self_service_reservation_list.py rename to equinix_metal/equinix_metal_t0mk/models/self_service_reservation_list.py index dfdae63d..6558ac13 100644 --- a/equinix_metal/equinix_metal/models/self_service_reservation_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/self_service_reservation_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.self_service_reservation_response import SelfServiceReservationResponse +from equinix_metal_t0mk.models.self_service_reservation_response import SelfServiceReservationResponse class SelfServiceReservationList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/self_service_reservation_response.py b/equinix_metal/equinix_metal_t0mk/models/self_service_reservation_response.py similarity index 97% rename from equinix_metal/equinix_metal/models/self_service_reservation_response.py rename to equinix_metal/equinix_metal_t0mk/models/self_service_reservation_response.py index 6b3f3a8e..f808206a 100644 --- a/equinix_metal/equinix_metal/models/self_service_reservation_response.py +++ b/equinix_metal/equinix_metal_t0mk/models/self_service_reservation_response.py @@ -21,8 +21,8 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, StrictInt, StrictStr, conlist -from equinix_metal.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod -from equinix_metal.models.self_service_reservation_item_response import SelfServiceReservationItemResponse +from equinix_metal_t0mk.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod +from equinix_metal_t0mk.models.self_service_reservation_item_response import SelfServiceReservationItemResponse class SelfServiceReservationResponse(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/server_info.py b/equinix_metal/equinix_metal_t0mk/models/server_info.py similarity index 100% rename from equinix_metal/equinix_metal/models/server_info.py rename to equinix_metal/equinix_metal_t0mk/models/server_info.py diff --git a/equinix_metal/equinix_metal/models/spot_market_prices_list.py b/equinix_metal/equinix_metal_t0mk/models/spot_market_prices_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/spot_market_prices_list.py rename to equinix_metal/equinix_metal_t0mk/models/spot_market_prices_list.py index 5ff894f8..d468a239 100644 --- a/equinix_metal/equinix_metal/models/spot_market_prices_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/spot_market_prices_list.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.spot_prices_report import SpotPricesReport +from equinix_metal_t0mk.models.spot_prices_report import SpotPricesReport class SpotMarketPricesList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/spot_market_prices_per_metro_list.py b/equinix_metal/equinix_metal_t0mk/models/spot_market_prices_per_metro_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/spot_market_prices_per_metro_list.py rename to equinix_metal/equinix_metal_t0mk/models/spot_market_prices_per_metro_list.py index b1d1ce8e..1a1fff52 100644 --- a/equinix_metal/equinix_metal/models/spot_market_prices_per_metro_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/spot_market_prices_per_metro_list.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.spot_market_prices_per_metro_report import SpotMarketPricesPerMetroReport +from equinix_metal_t0mk.models.spot_market_prices_per_metro_report import SpotMarketPricesPerMetroReport class SpotMarketPricesPerMetroList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/spot_market_prices_per_metro_report.py b/equinix_metal/equinix_metal_t0mk/models/spot_market_prices_per_metro_report.py similarity index 98% rename from equinix_metal/equinix_metal/models/spot_market_prices_per_metro_report.py rename to equinix_metal/equinix_metal_t0mk/models/spot_market_prices_per_metro_report.py index cfe3f9fa..29dec129 100644 --- a/equinix_metal/equinix_metal/models/spot_market_prices_per_metro_report.py +++ b/equinix_metal/equinix_metal_t0mk/models/spot_market_prices_per_metro_report.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.spot_prices_per_facility import SpotPricesPerFacility +from equinix_metal_t0mk.models.spot_prices_per_facility import SpotPricesPerFacility class SpotMarketPricesPerMetroReport(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/spot_market_request.py b/equinix_metal/equinix_metal_t0mk/models/spot_market_request.py similarity index 98% rename from equinix_metal/equinix_metal/models/spot_market_request.py rename to equinix_metal/equinix_metal_t0mk/models/spot_market_request.py index 59e6a311..ddc19727 100644 --- a/equinix_metal/equinix_metal/models/spot_market_request.py +++ b/equinix_metal/equinix_metal_t0mk/models/spot_market_request.py @@ -21,8 +21,8 @@ from datetime import datetime from typing import Optional, Union from pydantic import BaseModel, StrictFloat, StrictInt, StrictStr -from equinix_metal.models.href import Href -from equinix_metal.models.spot_market_request_metro import SpotMarketRequestMetro +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.spot_market_request_metro import SpotMarketRequestMetro class SpotMarketRequest(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/spot_market_request_create_input.py b/equinix_metal/equinix_metal_t0mk/models/spot_market_request_create_input.py similarity index 98% rename from equinix_metal/equinix_metal/models/spot_market_request_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/spot_market_request_create_input.py index 70158df7..4b35e7a1 100644 --- a/equinix_metal/equinix_metal/models/spot_market_request_create_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/spot_market_request_create_input.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import List, Optional, Union from pydantic import BaseModel, Field, StrictFloat, StrictInt, StrictStr, conlist -from equinix_metal.models.spot_market_request_create_input_instance_parameters import SpotMarketRequestCreateInputInstanceParameters +from equinix_metal_t0mk.models.spot_market_request_create_input_instance_parameters import SpotMarketRequestCreateInputInstanceParameters class SpotMarketRequestCreateInput(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/spot_market_request_create_input_instance_parameters.py b/equinix_metal/equinix_metal_t0mk/models/spot_market_request_create_input_instance_parameters.py similarity index 100% rename from equinix_metal/equinix_metal/models/spot_market_request_create_input_instance_parameters.py rename to equinix_metal/equinix_metal_t0mk/models/spot_market_request_create_input_instance_parameters.py diff --git a/equinix_metal/equinix_metal/models/spot_market_request_list.py b/equinix_metal/equinix_metal_t0mk/models/spot_market_request_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/spot_market_request_list.py rename to equinix_metal/equinix_metal_t0mk/models/spot_market_request_list.py index 6ad2bcb0..23f4d859 100644 --- a/equinix_metal/equinix_metal/models/spot_market_request_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/spot_market_request_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.spot_market_request import SpotMarketRequest +from equinix_metal_t0mk.models.spot_market_request import SpotMarketRequest class SpotMarketRequestList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/spot_market_request_metro.py b/equinix_metal/equinix_metal_t0mk/models/spot_market_request_metro.py similarity index 100% rename from equinix_metal/equinix_metal/models/spot_market_request_metro.py rename to equinix_metal/equinix_metal_t0mk/models/spot_market_request_metro.py diff --git a/equinix_metal/equinix_metal/models/spot_prices_datapoints.py b/equinix_metal/equinix_metal_t0mk/models/spot_prices_datapoints.py similarity index 100% rename from equinix_metal/equinix_metal/models/spot_prices_datapoints.py rename to equinix_metal/equinix_metal_t0mk/models/spot_prices_datapoints.py diff --git a/equinix_metal/equinix_metal/models/spot_prices_history_report.py b/equinix_metal/equinix_metal_t0mk/models/spot_prices_history_report.py similarity index 98% rename from equinix_metal/equinix_metal/models/spot_prices_history_report.py rename to equinix_metal/equinix_metal_t0mk/models/spot_prices_history_report.py index 01f75490..700d68f1 100644 --- a/equinix_metal/equinix_metal/models/spot_prices_history_report.py +++ b/equinix_metal/equinix_metal_t0mk/models/spot_prices_history_report.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.spot_prices_datapoints import SpotPricesDatapoints +from equinix_metal_t0mk.models.spot_prices_datapoints import SpotPricesDatapoints class SpotPricesHistoryReport(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/spot_prices_per_baremetal.py b/equinix_metal/equinix_metal_t0mk/models/spot_prices_per_baremetal.py similarity index 100% rename from equinix_metal/equinix_metal/models/spot_prices_per_baremetal.py rename to equinix_metal/equinix_metal_t0mk/models/spot_prices_per_baremetal.py diff --git a/equinix_metal/equinix_metal/models/spot_prices_per_facility.py b/equinix_metal/equinix_metal_t0mk/models/spot_prices_per_facility.py similarity index 99% rename from equinix_metal/equinix_metal/models/spot_prices_per_facility.py rename to equinix_metal/equinix_metal_t0mk/models/spot_prices_per_facility.py index 305e22e7..6397ffc3 100644 --- a/equinix_metal/equinix_metal/models/spot_prices_per_facility.py +++ b/equinix_metal/equinix_metal_t0mk/models/spot_prices_per_facility.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, Field, StrictStr -from equinix_metal.models.spot_prices_per_baremetal import SpotPricesPerBaremetal +from equinix_metal_t0mk.models.spot_prices_per_baremetal import SpotPricesPerBaremetal class SpotPricesPerFacility(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/spot_prices_per_new_facility.py b/equinix_metal/equinix_metal_t0mk/models/spot_prices_per_new_facility.py similarity index 98% rename from equinix_metal/equinix_metal/models/spot_prices_per_new_facility.py rename to equinix_metal/equinix_metal_t0mk/models/spot_prices_per_new_facility.py index d48120ab..6fe744f1 100644 --- a/equinix_metal/equinix_metal/models/spot_prices_per_new_facility.py +++ b/equinix_metal/equinix_metal_t0mk/models/spot_prices_per_new_facility.py @@ -21,7 +21,7 @@ from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.spot_prices_per_baremetal import SpotPricesPerBaremetal +from equinix_metal_t0mk.models.spot_prices_per_baremetal import SpotPricesPerBaremetal class SpotPricesPerNewFacility(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/spot_prices_report.py b/equinix_metal/equinix_metal_t0mk/models/spot_prices_report.py similarity index 98% rename from equinix_metal/equinix_metal/models/spot_prices_report.py rename to equinix_metal/equinix_metal_t0mk/models/spot_prices_report.py index 702748f1..8d895cb1 100644 --- a/equinix_metal/equinix_metal/models/spot_prices_report.py +++ b/equinix_metal/equinix_metal_t0mk/models/spot_prices_report.py @@ -21,8 +21,8 @@ from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.spot_prices_per_facility import SpotPricesPerFacility -from equinix_metal.models.spot_prices_per_new_facility import SpotPricesPerNewFacility +from equinix_metal_t0mk.models.spot_prices_per_facility import SpotPricesPerFacility +from equinix_metal_t0mk.models.spot_prices_per_new_facility import SpotPricesPerNewFacility class SpotPricesReport(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/ssh_key.py b/equinix_metal/equinix_metal_t0mk/models/ssh_key.py similarity index 99% rename from equinix_metal/equinix_metal/models/ssh_key.py rename to equinix_metal/equinix_metal_t0mk/models/ssh_key.py index 81cb19e0..10f5b8f4 100644 --- a/equinix_metal/equinix_metal/models/ssh_key.py +++ b/equinix_metal/equinix_metal_t0mk/models/ssh_key.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class SSHKey(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/ssh_key_create_input.py b/equinix_metal/equinix_metal_t0mk/models/ssh_key_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/ssh_key_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/ssh_key_create_input.py diff --git a/equinix_metal/equinix_metal/models/ssh_key_input.py b/equinix_metal/equinix_metal_t0mk/models/ssh_key_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/ssh_key_input.py rename to equinix_metal/equinix_metal_t0mk/models/ssh_key_input.py diff --git a/equinix_metal/equinix_metal/models/ssh_key_list.py b/equinix_metal/equinix_metal_t0mk/models/ssh_key_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/ssh_key_list.py rename to equinix_metal/equinix_metal_t0mk/models/ssh_key_list.py index c42ed127..fe24312f 100644 --- a/equinix_metal/equinix_metal/models/ssh_key_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/ssh_key_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.ssh_key import SSHKey +from equinix_metal_t0mk.models.ssh_key import SSHKey class SSHKeyList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/storage.py b/equinix_metal/equinix_metal_t0mk/models/storage.py similarity index 97% rename from equinix_metal/equinix_metal/models/storage.py rename to equinix_metal/equinix_metal_t0mk/models/storage.py index d373e34d..e9ea78bb 100644 --- a/equinix_metal/equinix_metal/models/storage.py +++ b/equinix_metal/equinix_metal_t0mk/models/storage.py @@ -21,9 +21,9 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.disk import Disk -from equinix_metal.models.filesystem import Filesystem -from equinix_metal.models.raid import Raid +from equinix_metal_t0mk.models.disk import Disk +from equinix_metal_t0mk.models.filesystem import Filesystem +from equinix_metal_t0mk.models.raid import Raid class Storage(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/support_request_input.py b/equinix_metal/equinix_metal_t0mk/models/support_request_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/support_request_input.py rename to equinix_metal/equinix_metal_t0mk/models/support_request_input.py diff --git a/equinix_metal/equinix_metal/models/transfer_request.py b/equinix_metal/equinix_metal_t0mk/models/transfer_request.py similarity index 99% rename from equinix_metal/equinix_metal/models/transfer_request.py rename to equinix_metal/equinix_metal_t0mk/models/transfer_request.py index 92c1742b..0e44a0f1 100644 --- a/equinix_metal/equinix_metal/models/transfer_request.py +++ b/equinix_metal/equinix_metal_t0mk/models/transfer_request.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import Optional from pydantic import BaseModel, StrictStr -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class TransferRequest(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/transfer_request_input.py b/equinix_metal/equinix_metal_t0mk/models/transfer_request_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/transfer_request_input.py rename to equinix_metal/equinix_metal_t0mk/models/transfer_request_input.py diff --git a/equinix_metal/equinix_metal/models/transfer_request_list.py b/equinix_metal/equinix_metal_t0mk/models/transfer_request_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/transfer_request_list.py rename to equinix_metal/equinix_metal_t0mk/models/transfer_request_list.py index 40ba6b18..b0478f65 100644 --- a/equinix_metal/equinix_metal/models/transfer_request_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/transfer_request_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.transfer_request import TransferRequest +from equinix_metal_t0mk.models.transfer_request import TransferRequest class TransferRequestList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/update_email_input.py b/equinix_metal/equinix_metal_t0mk/models/update_email_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/update_email_input.py rename to equinix_metal/equinix_metal_t0mk/models/update_email_input.py diff --git a/equinix_metal/equinix_metal/models/user.py b/equinix_metal/equinix_metal_t0mk/models/user.py similarity index 99% rename from equinix_metal/equinix_metal/models/user.py rename to equinix_metal/equinix_metal_t0mk/models/user.py index 42eb2a66..87c6e44a 100644 --- a/equinix_metal/equinix_metal/models/user.py +++ b/equinix_metal/equinix_metal_t0mk/models/user.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import Any, Dict, List, Optional from pydantic import BaseModel, StrictInt, StrictStr, conlist -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class User(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/user_create_input.py b/equinix_metal/equinix_metal_t0mk/models/user_create_input.py similarity index 99% rename from equinix_metal/equinix_metal/models/user_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/user_create_input.py index 7114ed52..4a756e2f 100644 --- a/equinix_metal/equinix_metal/models/user_create_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/user_create_input.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import Any, Dict, List, Optional, Union from pydantic import BaseModel, Field, StrictBytes, StrictStr, conlist -from equinix_metal.models.email_input import EmailInput +from equinix_metal_t0mk.models.email_input import EmailInput class UserCreateInput(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/user_limited.py b/equinix_metal/equinix_metal_t0mk/models/user_limited.py similarity index 100% rename from equinix_metal/equinix_metal/models/user_limited.py rename to equinix_metal/equinix_metal_t0mk/models/user_limited.py diff --git a/equinix_metal/equinix_metal/models/user_list.py b/equinix_metal/equinix_metal_t0mk/models/user_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/user_list.py rename to equinix_metal/equinix_metal_t0mk/models/user_list.py index 5d52b1a0..e466a2c9 100644 --- a/equinix_metal/equinix_metal/models/user_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/user_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.meta import Meta -from equinix_metal.models.user import User +from equinix_metal_t0mk.models.meta import Meta +from equinix_metal_t0mk.models.user import User class UserList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/user_lite.py b/equinix_metal/equinix_metal_t0mk/models/user_lite.py similarity index 100% rename from equinix_metal/equinix_metal/models/user_lite.py rename to equinix_metal/equinix_metal_t0mk/models/user_lite.py diff --git a/equinix_metal/equinix_metal/models/user_update_input.py b/equinix_metal/equinix_metal_t0mk/models/user_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/user_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/user_update_input.py diff --git a/equinix_metal/equinix_metal/models/userdata.py b/equinix_metal/equinix_metal_t0mk/models/userdata.py similarity index 100% rename from equinix_metal/equinix_metal/models/userdata.py rename to equinix_metal/equinix_metal_t0mk/models/userdata.py diff --git a/equinix_metal/equinix_metal/models/verify_email.py b/equinix_metal/equinix_metal_t0mk/models/verify_email.py similarity index 100% rename from equinix_metal/equinix_metal/models/verify_email.py rename to equinix_metal/equinix_metal_t0mk/models/verify_email.py diff --git a/equinix_metal/equinix_metal/models/virtual_circuit.py b/equinix_metal/equinix_metal_t0mk/models/virtual_circuit.py similarity index 98% rename from equinix_metal/equinix_metal/models/virtual_circuit.py rename to equinix_metal/equinix_metal_t0mk/models/virtual_circuit.py index 4f0c192f..27398557 100644 --- a/equinix_metal/equinix_metal/models/virtual_circuit.py +++ b/equinix_metal/equinix_metal_t0mk/models/virtual_circuit.py @@ -21,8 +21,8 @@ from typing import Any, List, Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.vlan_virtual_circuit import VlanVirtualCircuit -from equinix_metal.models.vrf_virtual_circuit import VrfVirtualCircuit +from equinix_metal_t0mk.models.vlan_virtual_circuit import VlanVirtualCircuit +from equinix_metal_t0mk.models.vrf_virtual_circuit import VrfVirtualCircuit from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/virtual_circuit_create_input.py b/equinix_metal/equinix_metal_t0mk/models/virtual_circuit_create_input.py similarity index 97% rename from equinix_metal/equinix_metal/models/virtual_circuit_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/virtual_circuit_create_input.py index aca97981..54addba8 100644 --- a/equinix_metal/equinix_metal/models/virtual_circuit_create_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/virtual_circuit_create_input.py @@ -21,8 +21,8 @@ from typing import Any, List, Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.vlan_virtual_circuit_create_input import VlanVirtualCircuitCreateInput -from equinix_metal.models.vrf_virtual_circuit_create_input import VrfVirtualCircuitCreateInput +from equinix_metal_t0mk.models.vlan_virtual_circuit_create_input import VlanVirtualCircuitCreateInput +from equinix_metal_t0mk.models.vrf_virtual_circuit_create_input import VrfVirtualCircuitCreateInput from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/virtual_circuit_list.py b/equinix_metal/equinix_metal_t0mk/models/virtual_circuit_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/virtual_circuit_list.py rename to equinix_metal/equinix_metal_t0mk/models/virtual_circuit_list.py index f206a293..d45bec6c 100644 --- a/equinix_metal/equinix_metal/models/virtual_circuit_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/virtual_circuit_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.virtual_circuit import VirtualCircuit +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit class VirtualCircuitList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/virtual_circuit_update_input.py b/equinix_metal/equinix_metal_t0mk/models/virtual_circuit_update_input.py similarity index 97% rename from equinix_metal/equinix_metal/models/virtual_circuit_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/virtual_circuit_update_input.py index 4bcf0c61..561a5308 100644 --- a/equinix_metal/equinix_metal/models/virtual_circuit_update_input.py +++ b/equinix_metal/equinix_metal_t0mk/models/virtual_circuit_update_input.py @@ -21,8 +21,8 @@ from typing import Any, List, Optional from pydantic import BaseModel, Field, StrictStr, ValidationError, validator -from equinix_metal.models.vlan_virtual_circuit_update_input import VlanVirtualCircuitUpdateInput -from equinix_metal.models.vrf_virtual_circuit_update_input import VrfVirtualCircuitUpdateInput +from equinix_metal_t0mk.models.vlan_virtual_circuit_update_input import VlanVirtualCircuitUpdateInput +from equinix_metal_t0mk.models.vrf_virtual_circuit_update_input import VrfVirtualCircuitUpdateInput from typing import Union, Any, List, TYPE_CHECKING from pydantic import StrictStr, Field diff --git a/equinix_metal/equinix_metal/models/virtual_network.py b/equinix_metal/equinix_metal_t0mk/models/virtual_network.py similarity index 98% rename from equinix_metal/equinix_metal/models/virtual_network.py rename to equinix_metal/equinix_metal_t0mk/models/virtual_network.py index 23441185..50ba9fe7 100644 --- a/equinix_metal/equinix_metal/models/virtual_network.py +++ b/equinix_metal/equinix_metal_t0mk/models/virtual_network.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, conlist -from equinix_metal.models.href import Href -from equinix_metal.models.metal_gateway_lite import MetalGatewayLite +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.metal_gateway_lite import MetalGatewayLite class VirtualNetwork(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/virtual_network_create_input.py b/equinix_metal/equinix_metal_t0mk/models/virtual_network_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/virtual_network_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/virtual_network_create_input.py diff --git a/equinix_metal/equinix_metal/models/virtual_network_list.py b/equinix_metal/equinix_metal_t0mk/models/virtual_network_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/virtual_network_list.py rename to equinix_metal/equinix_metal_t0mk/models/virtual_network_list.py index 4cf4e789..1c25194f 100644 --- a/equinix_metal/equinix_metal/models/virtual_network_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/virtual_network_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork class VirtualNetworkList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/vlan_fabric_vc_create_input.py b/equinix_metal/equinix_metal_t0mk/models/vlan_fabric_vc_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vlan_fabric_vc_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/vlan_fabric_vc_create_input.py diff --git a/equinix_metal/equinix_metal/models/vlan_virtual_circuit.py b/equinix_metal/equinix_metal_t0mk/models/vlan_virtual_circuit.py similarity index 99% rename from equinix_metal/equinix_metal/models/vlan_virtual_circuit.py rename to equinix_metal/equinix_metal_t0mk/models/vlan_virtual_circuit.py index 101cd8f5..67705c98 100644 --- a/equinix_metal/equinix_metal/models/vlan_virtual_circuit.py +++ b/equinix_metal/equinix_metal_t0mk/models/vlan_virtual_circuit.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class VlanVirtualCircuit(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/vlan_virtual_circuit_create_input.py b/equinix_metal/equinix_metal_t0mk/models/vlan_virtual_circuit_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vlan_virtual_circuit_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/vlan_virtual_circuit_create_input.py diff --git a/equinix_metal/equinix_metal/models/vlan_virtual_circuit_update_input.py b/equinix_metal/equinix_metal_t0mk/models/vlan_virtual_circuit_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vlan_virtual_circuit_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/vlan_virtual_circuit_update_input.py diff --git a/equinix_metal/equinix_metal/models/vrf.py b/equinix_metal/equinix_metal_t0mk/models/vrf.py similarity index 97% rename from equinix_metal/equinix_metal/models/vrf.py rename to equinix_metal/equinix_metal_t0mk/models/vrf.py index 0eed3cc9..165c0a72 100644 --- a/equinix_metal/equinix_metal/models/vrf.py +++ b/equinix_metal/equinix_metal_t0mk/models/vrf.py @@ -21,9 +21,9 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, conlist -from equinix_metal.models.metro import Metro -from equinix_metal.models.project import Project -from equinix_metal.models.user import User +from equinix_metal_t0mk.models.metro import Metro +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.user import User class Vrf(BaseModel): """ @@ -120,6 +120,6 @@ def from_dict(cls, obj: dict) -> Vrf: }) return _obj -from equinix_metal.models.vrf_virtual_circuit import VrfVirtualCircuit +from equinix_metal_t0mk.models.vrf_virtual_circuit import VrfVirtualCircuit Vrf.update_forward_refs() diff --git a/equinix_metal/equinix_metal/models/vrf_create_input.py b/equinix_metal/equinix_metal_t0mk/models/vrf_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vrf_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_create_input.py diff --git a/equinix_metal/equinix_metal/models/vrf_fabric_vc_create_input.py b/equinix_metal/equinix_metal_t0mk/models/vrf_fabric_vc_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vrf_fabric_vc_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_fabric_vc_create_input.py diff --git a/equinix_metal/equinix_metal/models/vrf_ip_reservation.py b/equinix_metal/equinix_metal_t0mk/models/vrf_ip_reservation.py similarity index 97% rename from equinix_metal/equinix_metal/models/vrf_ip_reservation.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_ip_reservation.py index 2644ab2a..735ba5ad 100644 --- a/equinix_metal/equinix_metal/models/vrf_ip_reservation.py +++ b/equinix_metal/equinix_metal_t0mk/models/vrf_ip_reservation.py @@ -21,11 +21,11 @@ from datetime import datetime from typing import Any, Dict, List, Optional from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.href import Href -from equinix_metal.models.metal_gateway_lite import MetalGatewayLite -from equinix_metal.models.metro import Metro -from equinix_metal.models.project import Project -from equinix_metal.models.vrf import Vrf +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.metal_gateway_lite import MetalGatewayLite +from equinix_metal_t0mk.models.metro import Metro +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.vrf import Vrf class VrfIpReservation(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/vrf_ip_reservation_create_input.py b/equinix_metal/equinix_metal_t0mk/models/vrf_ip_reservation_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vrf_ip_reservation_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_ip_reservation_create_input.py diff --git a/equinix_metal/equinix_metal/models/vrf_ip_reservation_list.py b/equinix_metal/equinix_metal_t0mk/models/vrf_ip_reservation_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/vrf_ip_reservation_list.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_ip_reservation_list.py index 88a80291..504aa6e0 100644 --- a/equinix_metal/equinix_metal/models/vrf_ip_reservation_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/vrf_ip_reservation_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation class VrfIpReservationList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/vrf_list.py b/equinix_metal/equinix_metal_t0mk/models/vrf_list.py similarity index 99% rename from equinix_metal/equinix_metal/models/vrf_list.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_list.py index 4027a005..f46b1bbe 100644 --- a/equinix_metal/equinix_metal/models/vrf_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/vrf_list.py @@ -21,7 +21,7 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.vrf import Vrf +from equinix_metal_t0mk.models.vrf import Vrf class VrfList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/vrf_metal_gateway.py b/equinix_metal/equinix_metal_t0mk/models/vrf_metal_gateway.py similarity index 96% rename from equinix_metal/equinix_metal/models/vrf_metal_gateway.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_metal_gateway.py index 8ce9a417..cb0181d4 100644 --- a/equinix_metal/equinix_metal/models/vrf_metal_gateway.py +++ b/equinix_metal/equinix_metal_t0mk/models/vrf_metal_gateway.py @@ -21,11 +21,11 @@ from datetime import datetime from typing import Optional from pydantic import BaseModel, Field, StrictStr, validator -from equinix_metal.models.href import Href -from equinix_metal.models.project import Project -from equinix_metal.models.virtual_network import VirtualNetwork -from equinix_metal.models.vrf import Vrf -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation +from equinix_metal_t0mk.models.href import Href +from equinix_metal_t0mk.models.project import Project +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.models.vrf import Vrf +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation class VrfMetalGateway(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/vrf_metal_gateway_create_input.py b/equinix_metal/equinix_metal_t0mk/models/vrf_metal_gateway_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vrf_metal_gateway_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_metal_gateway_create_input.py diff --git a/equinix_metal/equinix_metal/models/vrf_route.py b/equinix_metal/equinix_metal_t0mk/models/vrf_route.py similarity index 98% rename from equinix_metal/equinix_metal/models/vrf_route.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_route.py index a96b9ac5..171c6540 100644 --- a/equinix_metal/equinix_metal/models/vrf_route.py +++ b/equinix_metal/equinix_metal_t0mk/models/vrf_route.py @@ -21,9 +21,9 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, Field, StrictStr, conlist, validator -from equinix_metal.models.virtual_network import VirtualNetwork -from equinix_metal.models.vrf import Vrf -from equinix_metal.models.vrf_metal_gateway import VrfMetalGateway +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork +from equinix_metal_t0mk.models.vrf import Vrf +from equinix_metal_t0mk.models.vrf_metal_gateway import VrfMetalGateway class VrfRoute(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/vrf_route_create_input.py b/equinix_metal/equinix_metal_t0mk/models/vrf_route_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vrf_route_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_route_create_input.py diff --git a/equinix_metal/equinix_metal/models/vrf_route_list.py b/equinix_metal/equinix_metal_t0mk/models/vrf_route_list.py similarity index 98% rename from equinix_metal/equinix_metal/models/vrf_route_list.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_route_list.py index 8dcef23e..257aa92b 100644 --- a/equinix_metal/equinix_metal/models/vrf_route_list.py +++ b/equinix_metal/equinix_metal_t0mk/models/vrf_route_list.py @@ -21,8 +21,8 @@ from typing import List, Optional from pydantic import BaseModel, StrictStr, conlist -from equinix_metal.models.meta import Meta -from equinix_metal.models.vrf_route import VrfRoute +from equinix_metal_t0mk.models.meta import Meta +from equinix_metal_t0mk.models.vrf_route import VrfRoute class VrfRouteList(BaseModel): """ diff --git a/equinix_metal/equinix_metal/models/vrf_route_update_input.py b/equinix_metal/equinix_metal_t0mk/models/vrf_route_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vrf_route_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_route_update_input.py diff --git a/equinix_metal/equinix_metal/models/vrf_update_input.py b/equinix_metal/equinix_metal_t0mk/models/vrf_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vrf_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_update_input.py diff --git a/equinix_metal/equinix_metal/models/vrf_virtual_circuit.py b/equinix_metal/equinix_metal_t0mk/models/vrf_virtual_circuit.py similarity index 99% rename from equinix_metal/equinix_metal/models/vrf_virtual_circuit.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_virtual_circuit.py index 5cf0027d..14bafcee 100644 --- a/equinix_metal/equinix_metal/models/vrf_virtual_circuit.py +++ b/equinix_metal/equinix_metal_t0mk/models/vrf_virtual_circuit.py @@ -21,7 +21,7 @@ from datetime import datetime from typing import List, Optional from pydantic import BaseModel, Field, StrictInt, StrictStr, conlist, validator -from equinix_metal.models.href import Href +from equinix_metal_t0mk.models.href import Href class VrfVirtualCircuit(BaseModel): """ @@ -135,6 +135,6 @@ def from_dict(cls, obj: dict) -> VrfVirtualCircuit: }) return _obj -from equinix_metal.models.vrf import Vrf +from equinix_metal_t0mk.models.vrf import Vrf VrfVirtualCircuit.update_forward_refs() diff --git a/equinix_metal/equinix_metal/models/vrf_virtual_circuit_create_input.py b/equinix_metal/equinix_metal_t0mk/models/vrf_virtual_circuit_create_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vrf_virtual_circuit_create_input.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_virtual_circuit_create_input.py diff --git a/equinix_metal/equinix_metal/models/vrf_virtual_circuit_update_input.py b/equinix_metal/equinix_metal_t0mk/models/vrf_virtual_circuit_update_input.py similarity index 100% rename from equinix_metal/equinix_metal/models/vrf_virtual_circuit_update_input.py rename to equinix_metal/equinix_metal_t0mk/models/vrf_virtual_circuit_update_input.py diff --git a/equinix_metal/equinix_metal/py.typed b/equinix_metal/equinix_metal_t0mk/py.typed similarity index 100% rename from equinix_metal/equinix_metal/py.typed rename to equinix_metal/equinix_metal_t0mk/py.typed diff --git a/equinix_metal/equinix_metal/rest.py b/equinix_metal/equinix_metal_t0mk/rest.py similarity index 98% rename from equinix_metal/equinix_metal/rest.py rename to equinix_metal/equinix_metal_t0mk/rest.py index d28f9ed0..85e15702 100644 --- a/equinix_metal/equinix_metal/rest.py +++ b/equinix_metal/equinix_metal_t0mk/rest.py @@ -22,7 +22,7 @@ from urllib.parse import urlencode, quote_plus import urllib3 -from equinix_metal.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError, BadRequestException +from equinix_metal_t0mk.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError, BadRequestException logger = logging.getLogger(__name__) diff --git a/equinix_metal/pyproject.toml b/equinix_metal/pyproject.toml index 6edb65ed..a877004e 100644 --- a/equinix_metal/pyproject.toml +++ b/equinix_metal/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "equinix_metal" +name = "equinix_metal_t0mk" version = "0.6.0" description = "Metal API" authors = ["Equinix Metal API Team "] @@ -7,7 +7,7 @@ license = "Equinix Metal" readme = "README.md" repository = "https://github.com/equinix-labs/metal-python" keywords = ["OpenAPI", "OpenAPI-Generator", "Metal API"] -include = ["equinix_metal/py.typed"] +include = ["equinix_metal_t0mk/py.typed"] [tool.poetry.dependencies] python = "^3.7" diff --git a/equinix_metal/setup.py b/equinix_metal/setup.py index 222eb52d..23851c6b 100644 --- a/equinix_metal/setup.py +++ b/equinix_metal/setup.py @@ -21,7 +21,7 @@ # # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools -NAME = "equinix-metal" +NAME = "equinix-metal-t0mk" VERSION = "0.6.0" PYTHON_REQUIRES = ">=3.7" REQUIRES = [ @@ -47,5 +47,5 @@ long_description="""\ # Introduction Equinix Metal provides a RESTful HTTP API which can be reached at <https://api.equinix.com/metal/v1>. This document describes the API and how to use it. The API allows you to programmatically interact with all of your Equinix Metal resources, including devices, networks, addresses, organizations, projects, and your user account. Every feature of the Equinix Metal web interface is accessible through the API. The API docs are generated from the Equinix Metal OpenAPI specification and are officially hosted at <https://metal.equinix.com/developers/api>. # Common Parameters The Equinix Metal API uses a few methods to minimize network traffic and improve throughput. These parameters are not used in all API calls, but are used often enough to warrant their own section. Look for these parameters in the documentation for the API calls that support them. ## Pagination Pagination is used to limit the number of results returned in a single request. The API will return a maximum of 100 results per page. To retrieve additional results, you can use the `page` and `per_page` query parameters. The `page` parameter is used to specify the page number. The first page is `1`. The `per_page` parameter is used to specify the number of results per page. The maximum number of results differs by resource type. ## Sorting Where offered, the API allows you to sort results by a specific field. To sort results use the `sort_by` query parameter with the root level field name as the value. The `sort_direction` parameter is used to specify the sort direction, either either `asc` (ascending) or `desc` (descending). ## Filtering Filtering is used to limit the results returned in a single request. The API supports filtering by certain fields in the response. To filter results, you can use the field as a query parameter. For example, to filter the IP list to only return public IPv4 addresses, you can filter by the `type` field, as in the following request: ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/projects/id/ips?type=public_ipv4 ``` Only IP addresses with the `type` field set to `public_ipv4` will be returned. ## Searching Searching is used to find matching resources using multiple field comparissons. The API supports searching in resources that define this behavior. Currently the search parameter is only available on devices, ssh_keys, api_keys and memberships endpoints. To search resources you can use the `search` query parameter. ## Include and Exclude For resources that contain references to other resources, sucha as a Device that refers to the Project it resides in, the Equinix Metal API will returns `href` values (API links) to the associated resource. ```json { ... \"project\": { \"href\": \"/metal/v1/projects/f3f131c8-f302-49ef-8c44-9405022dc6dd\" } } ``` If you're going need the project details, you can avoid a second API request. Specify the contained `href` resources and collections that you'd like to have included in the response using the `include` query parameter. For example: ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=projects ``` The `include` parameter is generally accepted in `GET`, `POST`, `PUT`, and `PATCH` requests where `href` resources are presented. To have multiple resources include, use a comma-separated list (e.g. `?include=emails,projects,memberships`). ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=emails,projects,memberships ``` You may also include nested associations up to three levels deep using dot notation (`?include=memberships.projects`): ```sh curl -H 'X-Auth-Token: my_authentication_token' \\ https://api.equinix.com/metal/v1/user?include=memberships.projects ``` To exclude resources, and optimize response delivery, use the `exclude` query parameter. The `exclude` parameter is generally accepted in `GET`, `POST`, `PUT`, and `PATCH` requests for fields with nested object responses. When excluded, these fields will be replaced with an object that contains only an `href` field. """, # noqa: E501 - package_data={"equinix_metal": ["py.typed"]}, + package_data={"equinix_metal_t0mk": ["py.typed"]}, ) diff --git a/equinix_metal/test/test_activate_hardware_reservation_request.py b/equinix_metal/test/test_activate_hardware_reservation_request.py index 4e5df0a3..fcd795ef 100644 --- a/equinix_metal/test/test_activate_hardware_reservation_request.py +++ b/equinix_metal/test/test_activate_hardware_reservation_request.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.activate_hardware_reservation_request import ActivateHardwareReservationRequest # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestActivateHardwareReservationRequest(unittest.TestCase): """ActivateHardwareReservationRequest unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `ActivateHardwareReservationRequest` """ - model = equinix_metal.models.activate_hardware_reservation_request.ActivateHardwareReservationRequest() # noqa: E501 + model = equinix_metal_t0mk.models.activate_hardware_reservation_request.ActivateHardwareReservationRequest() # noqa: E501 if include_optional : return ActivateHardwareReservationRequest( description = '', diff --git a/equinix_metal/test/test_address.py b/equinix_metal/test/test_address.py index 2f10af95..2461b76e 100644 --- a/equinix_metal/test/test_address.py +++ b/equinix_metal/test/test_address.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.address import Address # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.address import Address # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestAddress(unittest.TestCase): """Address unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Address` """ - model = equinix_metal.models.address.Address() # noqa: E501 + model = equinix_metal_t0mk.models.address.Address() # noqa: E501 if include_optional : return Address( address = '', address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), diff --git a/equinix_metal/test/test_attribute.py b/equinix_metal/test/test_attribute.py index beb45904..12e8f4c1 100644 --- a/equinix_metal/test/test_attribute.py +++ b/equinix_metal/test/test_attribute.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.attribute import Attribute # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.attribute import Attribute # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestAttribute(unittest.TestCase): """Attribute unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Attribute` """ - model = equinix_metal.models.attribute.Attribute() # noqa: E501 + model = equinix_metal_t0mk.models.attribute.Attribute() # noqa: E501 if include_optional : return Attribute( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - data = equinix_metal.models.attribute_data.AttributeData( + data = equinix_metal_t0mk.models.attribute_data.AttributeData( href = '', latest = True, model = '', diff --git a/equinix_metal/test/test_attribute_data.py b/equinix_metal/test/test_attribute_data.py index e1ceb64f..30a15224 100644 --- a/equinix_metal/test/test_attribute_data.py +++ b/equinix_metal/test/test_attribute_data.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.attribute_data import AttributeData # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.attribute_data import AttributeData # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestAttributeData(unittest.TestCase): """AttributeData unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `AttributeData` """ - model = equinix_metal.models.attribute_data.AttributeData() # noqa: E501 + model = equinix_metal_t0mk.models.attribute_data.AttributeData() # noqa: E501 if include_optional : return AttributeData( href = '', diff --git a/equinix_metal/test/test_auth_token.py b/equinix_metal/test/test_auth_token.py index bd360261..c2f951f7 100644 --- a/equinix_metal/test/test_auth_token.py +++ b/equinix_metal/test/test_auth_token.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.auth_token import AuthToken # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.auth_token import AuthToken # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestAuthToken(unittest.TestCase): """AuthToken unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `AuthToken` """ - model = equinix_metal.models.auth_token.AuthToken() # noqa: E501 + model = equinix_metal_t0mk.models.auth_token.AuthToken() # noqa: E501 if include_optional : return AuthToken( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), diff --git a/equinix_metal/test/test_auth_token_input.py b/equinix_metal/test/test_auth_token_input.py index b4e89bd3..eeae7a86 100644 --- a/equinix_metal/test/test_auth_token_input.py +++ b/equinix_metal/test/test_auth_token_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.auth_token_input import AuthTokenInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.auth_token_input import AuthTokenInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestAuthTokenInput(unittest.TestCase): """AuthTokenInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `AuthTokenInput` """ - model = equinix_metal.models.auth_token_input.AuthTokenInput() # noqa: E501 + model = equinix_metal_t0mk.models.auth_token_input.AuthTokenInput() # noqa: E501 if include_optional : return AuthTokenInput( description = '', diff --git a/equinix_metal/test/test_auth_token_list.py b/equinix_metal/test/test_auth_token_list.py index 11cff84d..6d9d9630 100644 --- a/equinix_metal/test/test_auth_token_list.py +++ b/equinix_metal/test/test_auth_token_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.auth_token_list import AuthTokenList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.auth_token_list import AuthTokenList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestAuthTokenList(unittest.TestCase): """AuthTokenList unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `AuthTokenList` """ - model = equinix_metal.models.auth_token_list.AuthTokenList() # noqa: E501 + model = equinix_metal_t0mk.models.auth_token_list.AuthTokenList() # noqa: E501 if include_optional : return AuthTokenList( api_keys = [ - equinix_metal.models.auth_token.AuthToken( + equinix_metal_t0mk.models.auth_token.AuthToken( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), description = '', href = '', diff --git a/equinix_metal/test/test_auth_token_project.py b/equinix_metal/test/test_auth_token_project.py index d61cc024..16a00c00 100644 --- a/equinix_metal/test/test_auth_token_project.py +++ b/equinix_metal/test/test_auth_token_project.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.auth_token_project import AuthTokenProject # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.auth_token_project import AuthTokenProject # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestAuthTokenProject(unittest.TestCase): """AuthTokenProject unit test stubs""" @@ -36,41 +36,41 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `AuthTokenProject` """ - model = equinix_metal.models.auth_token_project.AuthTokenProject() # noqa: E501 + model = equinix_metal_t0mk.models.auth_token_project.AuthTokenProject() # noqa: E501 if include_optional : return AuthTokenProject( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', id = '', invitations = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], memberships = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), - organization = equinix_metal.models.href.Href( + network_status = equinix_metal_t0mk.models.network_status.network_status(), + organization = equinix_metal_t0mk.models.href.Href( href = '', ), - payment_method = equinix_metal.models.href.Href( + payment_method = equinix_metal_t0mk.models.href.Href( href = '', ), ssh_keys = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], tags = [ @@ -79,7 +79,7 @@ def make_instance(self, include_optional): type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), volumes = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ] ) diff --git a/equinix_metal/test/test_auth_token_user.py b/equinix_metal/test/test_auth_token_user.py index cb7c2983..7ef2365e 100644 --- a/equinix_metal/test/test_auth_token_user.py +++ b/equinix_metal/test/test_auth_token_user.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.auth_token_user import AuthTokenUser # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.auth_token_user import AuthTokenUser # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestAuthTokenUser(unittest.TestCase): """AuthTokenUser unit test stubs""" @@ -36,18 +36,18 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `AuthTokenUser` """ - model = equinix_metal.models.auth_token_user.AuthTokenUser() # noqa: E501 + model = equinix_metal_t0mk.models.auth_token_user.AuthTokenUser() # noqa: E501 if include_optional : return AuthTokenUser( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', diff --git a/equinix_metal/test/test_authentication_api.py b/equinix_metal/test/test_authentication_api.py index ad180a3f..0f3d12dd 100644 --- a/equinix_metal/test/test_authentication_api.py +++ b/equinix_metal/test/test_authentication_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.authentication_api import AuthenticationApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.authentication_api import AuthenticationApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestAuthenticationApi(unittest.TestCase): """AuthenticationApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.authentication_api.AuthenticationApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.authentication_api.AuthenticationApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_batch.py b/equinix_metal/test/test_batch.py index fdb6c225..a4903ad6 100644 --- a/equinix_metal/test/test_batch.py +++ b/equinix_metal/test/test_batch.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.batch import Batch # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.batch import Batch # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBatch(unittest.TestCase): """Batch unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Batch` """ - model = equinix_metal.models.batch.Batch() # noqa: E501 + model = equinix_metal_t0mk.models.batch.Batch() # noqa: E501 if include_optional : return Batch( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], error_messages = [ @@ -49,7 +49,7 @@ def make_instance(self, include_optional): ], href = '', id = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), quantity = 56, state = '', diff --git a/equinix_metal/test/test_batches_api.py b/equinix_metal/test/test_batches_api.py index f3ed1628..2d0b34d3 100644 --- a/equinix_metal/test/test_batches_api.py +++ b/equinix_metal/test/test_batches_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.batches_api import BatchesApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.batches_api import BatchesApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBatchesApi(unittest.TestCase): """BatchesApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.batches_api.BatchesApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.batches_api.BatchesApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_batches_list.py b/equinix_metal/test/test_batches_list.py index 2d8242c9..9ed00578 100644 --- a/equinix_metal/test/test_batches_list.py +++ b/equinix_metal/test/test_batches_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.batches_list import BatchesList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.batches_list import BatchesList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBatchesList(unittest.TestCase): """BatchesList unit test stubs""" @@ -36,14 +36,14 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BatchesList` """ - model = equinix_metal.models.batches_list.BatchesList() # noqa: E501 + model = equinix_metal_t0mk.models.batches_list.BatchesList() # noqa: E501 if include_optional : return BatchesList( batches = [ - equinix_metal.models.batch.Batch( + equinix_metal_t0mk.models.batch.Batch( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], error_messages = [ @@ -51,7 +51,7 @@ def make_instance(self, include_optional): ], href = '', id = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), quantity = 56, state = '', diff --git a/equinix_metal/test/test_bgp_api.py b/equinix_metal/test/test_bgp_api.py index 0af8a9f4..bac78fe6 100644 --- a/equinix_metal/test/test_bgp_api.py +++ b/equinix_metal/test/test_bgp_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.bgp_api import BGPApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.bgp_api import BGPApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBGPApi(unittest.TestCase): """BGPApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.bgp_api.BGPApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.bgp_api.BGPApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_bgp_config.py b/equinix_metal/test/test_bgp_config.py index f74a8fed..256e3d1b 100644 --- a/equinix_metal/test/test_bgp_config.py +++ b/equinix_metal/test/test_bgp_config.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_config import BgpConfig # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_config import BgpConfig # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBgpConfig(unittest.TestCase): """BgpConfig unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BgpConfig` """ - model = equinix_metal.models.bgp_config.BgpConfig() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_config.BgpConfig() # noqa: E501 if include_optional : return BgpConfig( asn = 65000, @@ -46,25 +46,25 @@ def make_instance(self, include_optional): id = '', max_prefix = 56, md5 = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), ranges = [ - equinix_metal.models.global_bgp_range.GlobalBgpRange( + equinix_metal_t0mk.models.global_bgp_range.GlobalBgpRange( address_family = 56, href = '', id = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), range = '', ) ], requested_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), route_object = '', sessions = [ - equinix_metal.models.bgp_session.BgpSession( + equinix_metal_t0mk.models.bgp_session.BgpSession( address_family = 'ipv4', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), default_route = True, - device = equinix_metal.models.href.Href( + device = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', diff --git a/equinix_metal/test/test_bgp_config_request_input.py b/equinix_metal/test/test_bgp_config_request_input.py index 3e688cc3..74c77071 100644 --- a/equinix_metal/test/test_bgp_config_request_input.py +++ b/equinix_metal/test/test_bgp_config_request_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_config_request_input import BgpConfigRequestInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_config_request_input import BgpConfigRequestInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBgpConfigRequestInput(unittest.TestCase): """BgpConfigRequestInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BgpConfigRequestInput` """ - model = equinix_metal.models.bgp_config_request_input.BgpConfigRequestInput() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_config_request_input.BgpConfigRequestInput() # noqa: E501 if include_optional : return BgpConfigRequestInput( asn = 65000, diff --git a/equinix_metal/test/test_bgp_dynamic_neighbor.py b/equinix_metal/test/test_bgp_dynamic_neighbor.py index a2c1b9a4..15cd4226 100644 --- a/equinix_metal/test/test_bgp_dynamic_neighbor.py +++ b/equinix_metal/test/test_bgp_dynamic_neighbor.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_dynamic_neighbor import BgpDynamicNeighbor # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_dynamic_neighbor import BgpDynamicNeighbor # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBgpDynamicNeighbor(unittest.TestCase): """BgpDynamicNeighbor unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BgpDynamicNeighbor` """ - model = equinix_metal.models.bgp_dynamic_neighbor.BgpDynamicNeighbor() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_dynamic_neighbor.BgpDynamicNeighbor() # noqa: E501 if include_optional : return BgpDynamicNeighbor( bgp_neighbor_asn = 12345, bgp_neighbor_range = '192.168.1.0/25', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user_limited.UserLimited( + created_by = equinix_metal_t0mk.models.user_limited.UserLimited( avatar_thumb_url = '', avatar_url = '', full_name = '', @@ -50,26 +50,26 @@ def make_instance(self, include_optional): id = '', ), href = '/bgp-dynamic-neighbors/aea82f16-57ec-412c-9523-b7f2b27635b2', id = 'aea82f16-57ec-412c-9523-b7f2b27635b2', - metal_gateway = equinix_metal.models.vrf_metal_gateway.VrfMetalGateway( + metal_gateway = equinix_metal_t0mk.models.vrf_metal_gateway.VrfMetalGateway( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', - ip_reservation = equinix_metal.models.vrf_ip_reservation.VrfIpReservation( + ip_reservation = equinix_metal_t0mk.models.vrf_ip_reservation.VrfIpReservation( address = '', address_family = 56, bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', gateway = '', href = '', id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -77,7 +77,7 @@ def make_instance(self, include_optional): state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ), - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -85,12 +85,12 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -99,7 +99,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -107,7 +107,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -121,15 +121,15 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), public = True, @@ -138,7 +138,7 @@ def make_instance(self, include_optional): '' ], type = 'vrf', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -154,7 +154,7 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -171,7 +171,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -187,7 +187,7 @@ def make_instance(self, include_optional): project = , state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( + virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( assigned_to = , assigned_to_virtual_circuit = True, description = '', @@ -198,7 +198,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', diff --git a/equinix_metal/test/test_bgp_dynamic_neighbor_create_input.py b/equinix_metal/test/test_bgp_dynamic_neighbor_create_input.py index 103565d3..ddef7912 100644 --- a/equinix_metal/test/test_bgp_dynamic_neighbor_create_input.py +++ b/equinix_metal/test/test_bgp_dynamic_neighbor_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_create_input import BgpDynamicNeighborCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBgpDynamicNeighborCreateInput(unittest.TestCase): """BgpDynamicNeighborCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BgpDynamicNeighborCreateInput` """ - model = equinix_metal.models.bgp_dynamic_neighbor_create_input.BgpDynamicNeighborCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_dynamic_neighbor_create_input.BgpDynamicNeighborCreateInput() # noqa: E501 if include_optional : return BgpDynamicNeighborCreateInput( bgp_neighbor_asn = 12345, diff --git a/equinix_metal/test/test_bgp_dynamic_neighbor_list.py b/equinix_metal/test/test_bgp_dynamic_neighbor_list.py index 915e0cec..03d1a485 100644 --- a/equinix_metal/test/test_bgp_dynamic_neighbor_list.py +++ b/equinix_metal/test/test_bgp_dynamic_neighbor_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_dynamic_neighbor_list import BgpDynamicNeighborList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBgpDynamicNeighborList(unittest.TestCase): """BgpDynamicNeighborList unit test stubs""" @@ -36,15 +36,15 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BgpDynamicNeighborList` """ - model = equinix_metal.models.bgp_dynamic_neighbor_list.BgpDynamicNeighborList() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_dynamic_neighbor_list.BgpDynamicNeighborList() # noqa: E501 if include_optional : return BgpDynamicNeighborList( bgp_dynamic_neighbors = [ - equinix_metal.models.bgp_dynamic_neighbor.BgpDynamicNeighbor( + equinix_metal_t0mk.models.bgp_dynamic_neighbor.BgpDynamicNeighbor( bgp_neighbor_asn = 12345, bgp_neighbor_range = '192.168.1.0/25', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user_limited.UserLimited( + created_by = equinix_metal_t0mk.models.user_limited.UserLimited( avatar_thumb_url = '', avatar_url = '', full_name = '', @@ -52,24 +52,24 @@ def make_instance(self, include_optional): id = '', ), href = '/bgp-dynamic-neighbors/aea82f16-57ec-412c-9523-b7f2b27635b2', id = 'aea82f16-57ec-412c-9523-b7f2b27635b2', - metal_gateway = equinix_metal.models.vrf_metal_gateway.VrfMetalGateway( + metal_gateway = equinix_metal_t0mk.models.vrf_metal_gateway.VrfMetalGateway( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - ip_reservation = equinix_metal.models.vrf_ip_reservation.VrfIpReservation( + ip_reservation = equinix_metal_t0mk.models.vrf_ip_reservation.VrfIpReservation( address = '', address_family = 56, bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', gateway = '', href = '', id = '', manageable = True, management = True, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -77,14 +77,14 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -92,7 +92,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -100,7 +100,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -114,15 +114,15 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), public = True, @@ -131,7 +131,7 @@ def make_instance(self, include_optional): '' ], type = 'vrf', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -147,7 +147,7 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -164,7 +164,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -180,7 +180,7 @@ def make_instance(self, include_optional): project = , state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( + virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( assigned_to = , assigned_to_virtual_circuit = True, description = '', @@ -191,7 +191,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -208,12 +208,12 @@ def make_instance(self, include_optional): updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) ], href = '', - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , diff --git a/equinix_metal/test/test_bgp_neighbor_data.py b/equinix_metal/test/test_bgp_neighbor_data.py index 964ea0d3..bd612337 100644 --- a/equinix_metal/test/test_bgp_neighbor_data.py +++ b/equinix_metal/test/test_bgp_neighbor_data.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_neighbor_data import BgpNeighborData # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_neighbor_data import BgpNeighborData # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBgpNeighborData(unittest.TestCase): """BgpNeighborData unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BgpNeighborData` """ - model = equinix_metal.models.bgp_neighbor_data.BgpNeighborData() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_neighbor_data.BgpNeighborData() # noqa: E501 if include_optional : return BgpNeighborData( address_family = 4, diff --git a/equinix_metal/test/test_bgp_route.py b/equinix_metal/test/test_bgp_route.py index cfdda898..73e64eba 100644 --- a/equinix_metal/test/test_bgp_route.py +++ b/equinix_metal/test/test_bgp_route.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_route import BgpRoute # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_route import BgpRoute # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBgpRoute(unittest.TestCase): """BgpRoute unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BgpRoute` """ - model = equinix_metal.models.bgp_route.BgpRoute() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_route.BgpRoute() # noqa: E501 if include_optional : return BgpRoute( exact = True, diff --git a/equinix_metal/test/test_bgp_session.py b/equinix_metal/test/test_bgp_session.py index 210dc764..8188d311 100644 --- a/equinix_metal/test/test_bgp_session.py +++ b/equinix_metal/test/test_bgp_session.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_session import BgpSession # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_session import BgpSession # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBgpSession(unittest.TestCase): """BgpSession unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BgpSession` """ - model = equinix_metal.models.bgp_session.BgpSession() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_session.BgpSession() # noqa: E501 if include_optional : return BgpSession( address_family = 'ipv4', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), default_route = True, - device = equinix_metal.models.href.Href( + device = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', diff --git a/equinix_metal/test/test_bgp_session_input.py b/equinix_metal/test/test_bgp_session_input.py index 5b5e0bfb..c9cd1f26 100644 --- a/equinix_metal/test/test_bgp_session_input.py +++ b/equinix_metal/test/test_bgp_session_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_session_input import BGPSessionInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_session_input import BGPSessionInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBGPSessionInput(unittest.TestCase): """BGPSessionInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BGPSessionInput` """ - model = equinix_metal.models.bgp_session_input.BGPSessionInput() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_session_input.BGPSessionInput() # noqa: E501 if include_optional : return BGPSessionInput( address_family = 'ipv4', diff --git a/equinix_metal/test/test_bgp_session_list.py b/equinix_metal/test/test_bgp_session_list.py index 1c9b5e18..d89a9d9e 100644 --- a/equinix_metal/test/test_bgp_session_list.py +++ b/equinix_metal/test/test_bgp_session_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_session_list import BgpSessionList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_session_list import BgpSessionList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBgpSessionList(unittest.TestCase): """BgpSessionList unit test stubs""" @@ -36,15 +36,15 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BgpSessionList` """ - model = equinix_metal.models.bgp_session_list.BgpSessionList() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_session_list.BgpSessionList() # noqa: E501 if include_optional : return BgpSessionList( bgp_sessions = [ - equinix_metal.models.bgp_session.BgpSession( + equinix_metal_t0mk.models.bgp_session.BgpSession( address_family = 'ipv4', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), default_route = True, - device = equinix_metal.models.href.Href( + device = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', diff --git a/equinix_metal/test/test_bgp_session_neighbors.py b/equinix_metal/test/test_bgp_session_neighbors.py index bd3b0ef3..31cf9b10 100644 --- a/equinix_metal/test/test_bgp_session_neighbors.py +++ b/equinix_metal/test/test_bgp_session_neighbors.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bgp_session_neighbors import BgpSessionNeighbors # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bgp_session_neighbors import BgpSessionNeighbors # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBgpSessionNeighbors(unittest.TestCase): """BgpSessionNeighbors unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BgpSessionNeighbors` """ - model = equinix_metal.models.bgp_session_neighbors.BgpSessionNeighbors() # noqa: E501 + model = equinix_metal_t0mk.models.bgp_session_neighbors.BgpSessionNeighbors() # noqa: E501 if include_optional : return BgpSessionNeighbors( bgp_neighbors = [ - equinix_metal.models.bgp_neighbor_data.BgpNeighborData( + equinix_metal_t0mk.models.bgp_neighbor_data.BgpNeighborData( address_family = 4, customer_as = 65000, customer_ip = '10.32.16.1 (IPv4) or 2604:1380:4111:2700::1 (IPv6)', diff --git a/equinix_metal/test/test_bond_port_data.py b/equinix_metal/test/test_bond_port_data.py index 8bbfd2d8..57e3a4e0 100644 --- a/equinix_metal/test/test_bond_port_data.py +++ b/equinix_metal/test/test_bond_port_data.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.bond_port_data import BondPortData # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.bond_port_data import BondPortData # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestBondPortData(unittest.TestCase): """BondPortData unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `BondPortData` """ - model = equinix_metal.models.bond_port_data.BondPortData() # noqa: E501 + model = equinix_metal_t0mk.models.bond_port_data.BondPortData() # noqa: E501 if include_optional : return BondPortData( href = '', diff --git a/equinix_metal/test/test_capacity_api.py b/equinix_metal/test/test_capacity_api.py index 8b85f43f..188a6fe8 100644 --- a/equinix_metal/test/test_capacity_api.py +++ b/equinix_metal/test/test_capacity_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.capacity_api import CapacityApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.capacity_api import CapacityApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCapacityApi(unittest.TestCase): """CapacityApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.capacity_api.CapacityApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.capacity_api.CapacityApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_capacity_check_per_facility_info.py b/equinix_metal/test/test_capacity_check_per_facility_info.py index 0ec3a050..3ac6c906 100644 --- a/equinix_metal/test/test_capacity_check_per_facility_info.py +++ b/equinix_metal/test/test_capacity_check_per_facility_info.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.capacity_check_per_facility_info import CapacityCheckPerFacilityInfo # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_check_per_facility_info import CapacityCheckPerFacilityInfo # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCapacityCheckPerFacilityInfo(unittest.TestCase): """CapacityCheckPerFacilityInfo unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CapacityCheckPerFacilityInfo` """ - model = equinix_metal.models.capacity_check_per_facility_info.CapacityCheckPerFacilityInfo() # noqa: E501 + model = equinix_metal_t0mk.models.capacity_check_per_facility_info.CapacityCheckPerFacilityInfo() # noqa: E501 if include_optional : return CapacityCheckPerFacilityInfo( available = True, diff --git a/equinix_metal/test/test_capacity_check_per_facility_list.py b/equinix_metal/test/test_capacity_check_per_facility_list.py index 6d582e9e..6e575441 100644 --- a/equinix_metal/test/test_capacity_check_per_facility_list.py +++ b/equinix_metal/test/test_capacity_check_per_facility_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_check_per_facility_list import CapacityCheckPerFacilityList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCapacityCheckPerFacilityList(unittest.TestCase): """CapacityCheckPerFacilityList unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CapacityCheckPerFacilityList` """ - model = equinix_metal.models.capacity_check_per_facility_list.CapacityCheckPerFacilityList() # noqa: E501 + model = equinix_metal_t0mk.models.capacity_check_per_facility_list.CapacityCheckPerFacilityList() # noqa: E501 if include_optional : return CapacityCheckPerFacilityList( href = '', servers = [ - equinix_metal.models.capacity_check_per_facility_info.CapacityCheckPerFacilityInfo( + equinix_metal_t0mk.models.capacity_check_per_facility_info.CapacityCheckPerFacilityInfo( available = True, facility = '', href = '', diff --git a/equinix_metal/test/test_capacity_check_per_metro_info.py b/equinix_metal/test/test_capacity_check_per_metro_info.py index 5c5aef30..6132f465 100644 --- a/equinix_metal/test/test_capacity_check_per_metro_info.py +++ b/equinix_metal/test/test_capacity_check_per_metro_info.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.capacity_check_per_metro_info import CapacityCheckPerMetroInfo # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_check_per_metro_info import CapacityCheckPerMetroInfo # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCapacityCheckPerMetroInfo(unittest.TestCase): """CapacityCheckPerMetroInfo unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CapacityCheckPerMetroInfo` """ - model = equinix_metal.models.capacity_check_per_metro_info.CapacityCheckPerMetroInfo() # noqa: E501 + model = equinix_metal_t0mk.models.capacity_check_per_metro_info.CapacityCheckPerMetroInfo() # noqa: E501 if include_optional : return CapacityCheckPerMetroInfo( available = True, diff --git a/equinix_metal/test/test_capacity_check_per_metro_list.py b/equinix_metal/test/test_capacity_check_per_metro_list.py index 07244f51..eb04986d 100644 --- a/equinix_metal/test/test_capacity_check_per_metro_list.py +++ b/equinix_metal/test/test_capacity_check_per_metro_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.capacity_check_per_metro_list import CapacityCheckPerMetroList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_check_per_metro_list import CapacityCheckPerMetroList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCapacityCheckPerMetroList(unittest.TestCase): """CapacityCheckPerMetroList unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CapacityCheckPerMetroList` """ - model = equinix_metal.models.capacity_check_per_metro_list.CapacityCheckPerMetroList() # noqa: E501 + model = equinix_metal_t0mk.models.capacity_check_per_metro_list.CapacityCheckPerMetroList() # noqa: E501 if include_optional : return CapacityCheckPerMetroList( href = '', servers = [ - equinix_metal.models.capacity_check_per_metro_info.CapacityCheckPerMetroInfo( + equinix_metal_t0mk.models.capacity_check_per_metro_info.CapacityCheckPerMetroInfo( available = True, href = '', metro = '', diff --git a/equinix_metal/test/test_capacity_input.py b/equinix_metal/test/test_capacity_input.py index f9849d53..7c1d8905 100644 --- a/equinix_metal/test/test_capacity_input.py +++ b/equinix_metal/test/test_capacity_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.capacity_input import CapacityInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_input import CapacityInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCapacityInput(unittest.TestCase): """CapacityInput unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CapacityInput` """ - model = equinix_metal.models.capacity_input.CapacityInput() # noqa: E501 + model = equinix_metal_t0mk.models.capacity_input.CapacityInput() # noqa: E501 if include_optional : return CapacityInput( href = '', servers = [ - equinix_metal.models.server_info.ServerInfo( + equinix_metal_t0mk.models.server_info.ServerInfo( facility = '', href = '', metro = '', diff --git a/equinix_metal/test/test_capacity_level_per_baremetal.py b/equinix_metal/test/test_capacity_level_per_baremetal.py index 0a75cfea..90a1fa31 100644 --- a/equinix_metal/test/test_capacity_level_per_baremetal.py +++ b/equinix_metal/test/test_capacity_level_per_baremetal.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.capacity_level_per_baremetal import CapacityLevelPerBaremetal # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_level_per_baremetal import CapacityLevelPerBaremetal # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCapacityLevelPerBaremetal(unittest.TestCase): """CapacityLevelPerBaremetal unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CapacityLevelPerBaremetal` """ - model = equinix_metal.models.capacity_level_per_baremetal.CapacityLevelPerBaremetal() # noqa: E501 + model = equinix_metal_t0mk.models.capacity_level_per_baremetal.CapacityLevelPerBaremetal() # noqa: E501 if include_optional : return CapacityLevelPerBaremetal( href = '', diff --git a/equinix_metal/test/test_capacity_list.py b/equinix_metal/test/test_capacity_list.py index 8ba73ff8..47f4bd91 100644 --- a/equinix_metal/test/test_capacity_list.py +++ b/equinix_metal/test/test_capacity_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.capacity_list import CapacityList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.capacity_list import CapacityList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCapacityList(unittest.TestCase): """CapacityList unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CapacityList` """ - model = equinix_metal.models.capacity_list.CapacityList() # noqa: E501 + model = equinix_metal_t0mk.models.capacity_list.CapacityList() # noqa: E501 if include_optional : return CapacityList( capacity = { 'key' : { - 'key' : equinix_metal.models.capacity_level_per_baremetal.CapacityLevelPerBaremetal( + 'key' : equinix_metal_t0mk.models.capacity_level_per_baremetal.CapacityLevelPerBaremetal( href = '', level = '', ) } diff --git a/equinix_metal/test/test_component.py b/equinix_metal/test/test_component.py index 33232ca3..bd26e7ae 100644 --- a/equinix_metal/test/test_component.py +++ b/equinix_metal/test/test_component.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.component import Component # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.component import Component # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestComponent(unittest.TestCase): """Component unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Component` """ - model = equinix_metal.models.component.Component() # noqa: E501 + model = equinix_metal_t0mk.models.component.Component() # noqa: E501 if include_optional : return Component( checksum = '', diff --git a/equinix_metal/test/test_console_log_details_api.py b/equinix_metal/test/test_console_log_details_api.py index 4436c13a..6c90eab5 100644 --- a/equinix_metal/test/test_console_log_details_api.py +++ b/equinix_metal/test/test_console_log_details_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.console_log_details_api import ConsoleLogDetailsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.console_log_details_api import ConsoleLogDetailsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestConsoleLogDetailsApi(unittest.TestCase): """ConsoleLogDetailsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.console_log_details_api.ConsoleLogDetailsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.console_log_details_api.ConsoleLogDetailsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_coordinates.py b/equinix_metal/test/test_coordinates.py index 2a5942ad..166d60c0 100644 --- a/equinix_metal/test/test_coordinates.py +++ b/equinix_metal/test/test_coordinates.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.coordinates import Coordinates # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.coordinates import Coordinates # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCoordinates(unittest.TestCase): """Coordinates unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Coordinates` """ - model = equinix_metal.models.coordinates.Coordinates() # noqa: E501 + model = equinix_metal_t0mk.models.coordinates.Coordinates() # noqa: E501 if include_optional : return Coordinates( href = '', diff --git a/equinix_metal/test/test_create_device_request.py b/equinix_metal/test/test_create_device_request.py index 53d324b8..79ecfc7a 100644 --- a/equinix_metal/test/test_create_device_request.py +++ b/equinix_metal/test/test_create_device_request.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.create_device_request import CreateDeviceRequest # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_device_request import CreateDeviceRequest # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCreateDeviceRequest(unittest.TestCase): """CreateDeviceRequest unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CreateDeviceRequest` """ - model = equinix_metal.models.create_device_request.CreateDeviceRequest() # noqa: E501 + model = equinix_metal_t0mk.models.create_device_request.CreateDeviceRequest() # noqa: E501 if include_optional : return CreateDeviceRequest( href = '', @@ -51,7 +51,7 @@ def make_instance(self, include_optional): hardware_reservation_id = 'next-available', hostname = '', ip_addresses = [ - equinix_metal.models.ip_address.IPAddress( + equinix_metal_t0mk.models.ip_address.IPAddress( address_family = 4, cidr = 28, href = '', @@ -74,7 +74,7 @@ def make_instance(self, include_optional): spot_instance = True, spot_price_max = 1.23, ssh_keys = [ - equinix_metal.models.ssh_key_input.SSHKeyInput( + equinix_metal_t0mk.models.ssh_key_input.SSHKeyInput( href = '', key = '', label = '', @@ -82,13 +82,13 @@ def make_instance(self, include_optional): '' ], ) ], - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( device = '', href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -97,9 +97,9 @@ def make_instance(self, include_optional): wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( device = '', format = '', href = '', @@ -110,7 +110,7 @@ def make_instance(self, include_optional): ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( devices = [ '' ], diff --git a/equinix_metal/test/test_create_email_input.py b/equinix_metal/test/test_create_email_input.py index 6f376afb..8103986c 100644 --- a/equinix_metal/test/test_create_email_input.py +++ b/equinix_metal/test/test_create_email_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.create_email_input import CreateEmailInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_email_input import CreateEmailInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCreateEmailInput(unittest.TestCase): """CreateEmailInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CreateEmailInput` """ - model = equinix_metal.models.create_email_input.CreateEmailInput() # noqa: E501 + model = equinix_metal_t0mk.models.create_email_input.CreateEmailInput() # noqa: E501 if include_optional : return CreateEmailInput( address = '', diff --git a/equinix_metal/test/test_create_metal_gateway_request.py b/equinix_metal/test/test_create_metal_gateway_request.py index d728c3eb..3c963ec1 100644 --- a/equinix_metal/test/test_create_metal_gateway_request.py +++ b/equinix_metal/test/test_create_metal_gateway_request.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.create_metal_gateway_request import CreateMetalGatewayRequest # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_metal_gateway_request import CreateMetalGatewayRequest # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCreateMetalGatewayRequest(unittest.TestCase): """CreateMetalGatewayRequest unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CreateMetalGatewayRequest` """ - model = equinix_metal.models.create_metal_gateway_request.CreateMetalGatewayRequest() # noqa: E501 + model = equinix_metal_t0mk.models.create_metal_gateway_request.CreateMetalGatewayRequest() # noqa: E501 if include_optional : return CreateMetalGatewayRequest( href = '', diff --git a/equinix_metal/test/test_create_organization_interconnection_request.py b/equinix_metal/test/test_create_organization_interconnection_request.py index 77a7fa69..dc488dd0 100644 --- a/equinix_metal/test/test_create_organization_interconnection_request.py +++ b/equinix_metal/test/test_create_organization_interconnection_request.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_organization_interconnection_request import CreateOrganizationInterconnectionRequest # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCreateOrganizationInterconnectionRequest(unittest.TestCase): """CreateOrganizationInterconnectionRequest unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CreateOrganizationInterconnectionRequest` """ - model = equinix_metal.models.create_organization_interconnection_request.CreateOrganizationInterconnectionRequest() # noqa: E501 + model = equinix_metal_t0mk.models.create_organization_interconnection_request.CreateOrganizationInterconnectionRequest() # noqa: E501 if include_optional : return CreateOrganizationInterconnectionRequest( billing_account_name = '', diff --git a/equinix_metal/test/test_create_self_service_reservation_request.py b/equinix_metal/test/test_create_self_service_reservation_request.py index cb0ff467..ffa7c933 100644 --- a/equinix_metal/test/test_create_self_service_reservation_request.py +++ b/equinix_metal/test/test_create_self_service_reservation_request.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_self_service_reservation_request import CreateSelfServiceReservationRequest # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCreateSelfServiceReservationRequest(unittest.TestCase): """CreateSelfServiceReservationRequest unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CreateSelfServiceReservationRequest` """ - model = equinix_metal.models.create_self_service_reservation_request.CreateSelfServiceReservationRequest() # noqa: E501 + model = equinix_metal_t0mk.models.create_self_service_reservation_request.CreateSelfServiceReservationRequest() # noqa: E501 if include_optional : return CreateSelfServiceReservationRequest( href = '', item = [ - equinix_metal.models.self_service_reservation_item_request.SelfServiceReservationItemRequest( + equinix_metal_t0mk.models.self_service_reservation_item_request.SelfServiceReservationItemRequest( amount = 1.337, href = '', metro_id = '', @@ -50,7 +50,7 @@ def make_instance(self, include_optional): term = '', ) ], notes = '', - period = equinix_metal.models.create_self_service_reservation_request_period.CreateSelfServiceReservationRequest_period( + period = equinix_metal_t0mk.models.create_self_service_reservation_request_period.CreateSelfServiceReservationRequest_period( count = 12, href = '', unit = 'monthly', ), diff --git a/equinix_metal/test/test_create_self_service_reservation_request_period.py b/equinix_metal/test/test_create_self_service_reservation_request_period.py index 32fbd905..0483d1a2 100644 --- a/equinix_metal/test/test_create_self_service_reservation_request_period.py +++ b/equinix_metal/test/test_create_self_service_reservation_request_period.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.create_self_service_reservation_request_period import CreateSelfServiceReservationRequestPeriod # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestCreateSelfServiceReservationRequestPeriod(unittest.TestCase): """CreateSelfServiceReservationRequestPeriod unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `CreateSelfServiceReservationRequestPeriod` """ - model = equinix_metal.models.create_self_service_reservation_request_period.CreateSelfServiceReservationRequestPeriod() # noqa: E501 + model = equinix_metal_t0mk.models.create_self_service_reservation_request_period.CreateSelfServiceReservationRequestPeriod() # noqa: E501 if include_optional : return CreateSelfServiceReservationRequestPeriod( count = 12, diff --git a/equinix_metal/test/test_dedicated_port_create_input.py b/equinix_metal/test/test_dedicated_port_create_input.py index 62b724e9..e191ed66 100644 --- a/equinix_metal/test/test_dedicated_port_create_input.py +++ b/equinix_metal/test/test_dedicated_port_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.dedicated_port_create_input import DedicatedPortCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.dedicated_port_create_input import DedicatedPortCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDedicatedPortCreateInput(unittest.TestCase): """DedicatedPortCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DedicatedPortCreateInput` """ - model = equinix_metal.models.dedicated_port_create_input.DedicatedPortCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.dedicated_port_create_input.DedicatedPortCreateInput() # noqa: E501 if include_optional : return DedicatedPortCreateInput( billing_account_name = '', diff --git a/equinix_metal/test/test_device.py b/equinix_metal/test/test_device.py index 98d6d2d4..dc9c8c81 100644 --- a/equinix_metal/test/test_device.py +++ b/equinix_metal/test/test_device.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device import Device # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device import Device # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDevice(unittest.TestCase): """Device unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Device` """ - model = equinix_metal.models.device.Device() # noqa: E501 + model = equinix_metal_t0mk.models.device.Device() # noqa: E501 if include_optional : return Device( actions = [ - equinix_metal.models.device_actions_inner.Device_actions_inner( + equinix_metal_t0mk.models.device_actions_inner.Device_actions_inner( href = '', name = '', type = '', ) @@ -52,11 +52,11 @@ def make_instance(self, include_optional): created_by = None, customdata = { }, description = '', - facility = equinix_metal.models.facility.Facility( - address = equinix_metal.models.address.Address( + facility = equinix_metal_t0mk.models.facility.Facility( + address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), @@ -72,12 +72,12 @@ def make_instance(self, include_optional): metro = null, name = '', ), firmware_set_id = '', - hardware_reservation = equinix_metal.models.hardware_reservation.HardwareReservation( + hardware_reservation = equinix_metal_t0mk.models.hardware_reservation.HardwareReservation( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), custom_rate = 1050.5, - device = equinix_metal.models.device.Device( + device = equinix_metal_t0mk.models.device.Device( actions = [ - equinix_metal.models.device_actions_inner.Device_actions_inner( + equinix_metal_t0mk.models.device_actions_inner.Device_actions_inner( href = '', name = '', type = '', ) @@ -89,11 +89,11 @@ def make_instance(self, include_optional): created_by = null, customdata = { }, description = '', - facility = equinix_metal.models.facility.Facility( - address = equinix_metal.models.address.Address( + facility = equinix_metal_t0mk.models.facility.Facility( + address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), @@ -109,22 +109,22 @@ def make_instance(self, include_optional): metro = null, name = '', ), firmware_set_id = '', - hardware_reservation = equinix_metal.models.hardware_reservation.HardwareReservation( + hardware_reservation = equinix_metal_t0mk.models.hardware_reservation.HardwareReservation( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), custom_rate = 1050.5, href = '', id = '', need_of_service = True, - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', ) ], categories = [ @@ -140,46 +140,46 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) ], ), type = 'standard', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -187,7 +187,7 @@ class = 'm3.large.x86', invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -195,7 +195,7 @@ class = 'm3.large.x86', ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -219,7 +219,7 @@ class = 'm3.large.x86', id = '', image_url = '', ip_addresses = [ - equinix_metal.models.ip_assignment.IPAssignment( + equinix_metal_t0mk.models.ip_assignment.IPAssignment( address_family = 56, assigned_to = , cidr = 56, @@ -234,7 +234,7 @@ class = 'm3.large.x86', netmask = '', network = '', next_hop = '', - parent_block = equinix_metal.models.parent_block.ParentBlock( + parent_block = equinix_metal_t0mk.models.parent_block.ParentBlock( cidr = 56, href = '', netmask = '', @@ -248,12 +248,12 @@ class = 'm3.large.x86', metro = null, network_frozen = True, network_ports = [ - equinix_metal.models.port.Port( - bond = equinix_metal.models.bond_port_data.BondPortData( + equinix_metal_t0mk.models.port.Port( + bond = equinix_metal_t0mk.models.bond_port_data.BondPortData( href = '', id = '', name = '', ), - data = equinix_metal.models.port_data.PortData( + data = equinix_metal_t0mk.models.port_data.PortData( bonded = True, href = '', mac = '', ), @@ -261,7 +261,7 @@ class = 'm3.large.x86', href = '', id = '', name = 'bond0', - native_virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( + native_virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( assigned_to_virtual_circuit = True, description = '', href = '', @@ -270,7 +270,7 @@ class = 'm3.large.x86', ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -287,7 +287,7 @@ class = 'm3.large.x86', ], ) ], - operating_system = equinix_metal.models.operating_system.OperatingSystem( + operating_system = equinix_metal_t0mk.models.operating_system.OperatingSystem( default_operating_system = True, distro = '', distro_label = '', @@ -296,13 +296,13 @@ class = 'm3.large.x86', licensed = True, name = '', preinstallable = True, - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), provisionable_on = [ '' ], slug = '', version = '', ), - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( class = 'm3.large.x86', description = '', href = '', @@ -310,29 +310,29 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', type = 'standard', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), project_lite = null, provisioning_events = [ - equinix_metal.models.event.Event( + equinix_metal_t0mk.models.event.Event( body = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', interpolated = '', ip = '', - modified_by = equinix_metal.models.modified_by.modified_by(), + modified_by = equinix_metal_t0mk.models.modified_by.modified_by(), relationships = [ ], @@ -349,12 +349,12 @@ class = 'm3.large.x86', ], state = 'queued', - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -363,9 +363,9 @@ class = 'm3.large.x86', wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( format = '', href = '', options = [ @@ -375,7 +375,7 @@ class = 'm3.large.x86', ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( href = '', level = '', name = '', ) @@ -391,7 +391,7 @@ class = 'm3.large.x86', volumes = [ ], ), - facility = equinix_metal.models.facility.Facility( + facility = equinix_metal_t0mk.models.facility.Facility( code = '', href = '', id = '', @@ -412,10 +412,10 @@ class = 'm3.large.x86', id = '', image_url = '', ip_addresses = [ - equinix_metal.models.ip_assignment.IPAssignment( + equinix_metal_t0mk.models.ip_assignment.IPAssignment( address = '', address_family = 56, - assigned_to = equinix_metal.models.href.Href( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), @@ -430,7 +430,7 @@ class = 'm3.large.x86', netmask = '', network = '', next_hop = '', - parent_block = equinix_metal.models.parent_block.ParentBlock( + parent_block = equinix_metal_t0mk.models.parent_block.ParentBlock( cidr = 56, href = '', netmask = '', @@ -444,12 +444,12 @@ class = 'm3.large.x86', metro = None, network_frozen = True, network_ports = [ - equinix_metal.models.port.Port( - bond = equinix_metal.models.bond_port_data.BondPortData( + equinix_metal_t0mk.models.port.Port( + bond = equinix_metal_t0mk.models.bond_port_data.BondPortData( href = '', id = '', name = '', ), - data = equinix_metal.models.port_data.PortData( + data = equinix_metal_t0mk.models.port_data.PortData( bonded = True, href = '', mac = '', ), @@ -457,12 +457,12 @@ class = 'm3.large.x86', href = '', id = '', name = 'bond0', - native_virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + native_virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', @@ -470,7 +470,7 @@ class = 'm3.large.x86', ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -491,7 +491,7 @@ class = 'm3.large.x86', ], ) ], - operating_system = equinix_metal.models.operating_system.OperatingSystem( + operating_system = equinix_metal_t0mk.models.operating_system.OperatingSystem( default_operating_system = True, distro = '', distro_label = '', @@ -500,22 +500,22 @@ class = 'm3.large.x86', licensed = True, name = '', preinstallable = True, - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), provisionable_on = [ '' ], slug = '', version = '', ), - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', ) ], categories = [ @@ -531,47 +531,47 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) ], ), type = 'standard', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -579,7 +579,7 @@ class = 'm3.large.x86', invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -587,7 +587,7 @@ class = 'm3.large.x86', ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -603,16 +603,16 @@ class = 'm3.large.x86', ], ), project_lite = None, provisioning_events = [ - equinix_metal.models.event.Event( + equinix_metal_t0mk.models.event.Event( body = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', interpolated = '', ip = '', - modified_by = equinix_metal.models.modified_by.modified_by(), + modified_by = equinix_metal_t0mk.models.modified_by.modified_by(), relationships = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], state = '', @@ -625,17 +625,17 @@ class = 'm3.large.x86', spot_instance = True, spot_price_max = 1.337, ssh_keys = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], state = 'queued', - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( device = '', href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -644,9 +644,9 @@ class = 'm3.large.x86', wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( device = '', format = '', href = '', @@ -657,7 +657,7 @@ class = 'm3.large.x86', ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( devices = [ '' ], @@ -674,7 +674,7 @@ class = 'm3.large.x86', user = '', userdata = '', volumes = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ] ) diff --git a/equinix_metal/test/test_device_action_input.py b/equinix_metal/test/test_device_action_input.py index 0ab82f0c..a787ee1b 100644 --- a/equinix_metal/test/test_device_action_input.py +++ b/equinix_metal/test/test_device_action_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_action_input import DeviceActionInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_action_input import DeviceActionInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceActionInput(unittest.TestCase): """DeviceActionInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceActionInput` """ - model = equinix_metal.models.device_action_input.DeviceActionInput() # noqa: E501 + model = equinix_metal_t0mk.models.device_action_input.DeviceActionInput() # noqa: E501 if include_optional : return DeviceActionInput( deprovision_fast = True, diff --git a/equinix_metal/test/test_device_actions_inner.py b/equinix_metal/test/test_device_actions_inner.py index 6dc4dd9a..144e3bf7 100644 --- a/equinix_metal/test/test_device_actions_inner.py +++ b/equinix_metal/test/test_device_actions_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_actions_inner import DeviceActionsInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_actions_inner import DeviceActionsInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceActionsInner(unittest.TestCase): """DeviceActionsInner unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceActionsInner` """ - model = equinix_metal.models.device_actions_inner.DeviceActionsInner() # noqa: E501 + model = equinix_metal_t0mk.models.device_actions_inner.DeviceActionsInner() # noqa: E501 if include_optional : return DeviceActionsInner( href = '', diff --git a/equinix_metal/test/test_device_create_in_facility_input.py b/equinix_metal/test/test_device_create_in_facility_input.py index 3991a90f..0067a85c 100644 --- a/equinix_metal/test/test_device_create_in_facility_input.py +++ b/equinix_metal/test/test_device_create_in_facility_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_create_in_facility_input import DeviceCreateInFacilityInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_create_in_facility_input import DeviceCreateInFacilityInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceCreateInFacilityInput(unittest.TestCase): """DeviceCreateInFacilityInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceCreateInFacilityInput` """ - model = equinix_metal.models.device_create_in_facility_input.DeviceCreateInFacilityInput() # noqa: E501 + model = equinix_metal_t0mk.models.device_create_in_facility_input.DeviceCreateInFacilityInput() # noqa: E501 if include_optional : return DeviceCreateInFacilityInput( facility = None, @@ -51,7 +51,7 @@ def make_instance(self, include_optional): hardware_reservation_id = 'next-available', hostname = '', ip_addresses = [ - equinix_metal.models.ip_address.IPAddress( + equinix_metal_t0mk.models.ip_address.IPAddress( address_family = 4, cidr = 28, href = '', @@ -74,7 +74,7 @@ def make_instance(self, include_optional): spot_instance = True, spot_price_max = 1.23, ssh_keys = [ - equinix_metal.models.ssh_key_input.SSHKeyInput( + equinix_metal_t0mk.models.ssh_key_input.SSHKeyInput( href = '', key = '', label = '', @@ -82,13 +82,13 @@ def make_instance(self, include_optional): '' ], ) ], - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( device = '', href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -97,9 +97,9 @@ def make_instance(self, include_optional): wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( device = '', format = '', href = '', @@ -110,7 +110,7 @@ def make_instance(self, include_optional): ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( devices = [ '' ], diff --git a/equinix_metal/test/test_device_create_in_metro_input.py b/equinix_metal/test/test_device_create_in_metro_input.py index 76ab9189..e0b2de3d 100644 --- a/equinix_metal/test/test_device_create_in_metro_input.py +++ b/equinix_metal/test/test_device_create_in_metro_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_create_in_metro_input import DeviceCreateInMetroInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_create_in_metro_input import DeviceCreateInMetroInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceCreateInMetroInput(unittest.TestCase): """DeviceCreateInMetroInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceCreateInMetroInput` """ - model = equinix_metal.models.device_create_in_metro_input.DeviceCreateInMetroInput() # noqa: E501 + model = equinix_metal_t0mk.models.device_create_in_metro_input.DeviceCreateInMetroInput() # noqa: E501 if include_optional : return DeviceCreateInMetroInput( href = '', @@ -51,7 +51,7 @@ def make_instance(self, include_optional): hardware_reservation_id = 'next-available', hostname = '', ip_addresses = [ - equinix_metal.models.ip_address.IPAddress( + equinix_metal_t0mk.models.ip_address.IPAddress( address_family = 4, cidr = 28, href = '', @@ -74,7 +74,7 @@ def make_instance(self, include_optional): spot_instance = True, spot_price_max = 1.23, ssh_keys = [ - equinix_metal.models.ssh_key_input.SSHKeyInput( + equinix_metal_t0mk.models.ssh_key_input.SSHKeyInput( href = '', key = '', label = '', @@ -82,13 +82,13 @@ def make_instance(self, include_optional): '' ], ) ], - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( device = '', href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -97,9 +97,9 @@ def make_instance(self, include_optional): wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( device = '', format = '', href = '', @@ -110,7 +110,7 @@ def make_instance(self, include_optional): ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( devices = [ '' ], diff --git a/equinix_metal/test/test_device_create_input.py b/equinix_metal/test/test_device_create_input.py index 22ebe053..1b6cc64e 100644 --- a/equinix_metal/test/test_device_create_input.py +++ b/equinix_metal/test/test_device_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_create_input import DeviceCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_create_input import DeviceCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceCreateInput(unittest.TestCase): """DeviceCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceCreateInput` """ - model = equinix_metal.models.device_create_input.DeviceCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.device_create_input.DeviceCreateInput() # noqa: E501 if include_optional : return DeviceCreateInput( always_pxe = True, @@ -50,7 +50,7 @@ def make_instance(self, include_optional): hostname = '', href = '', ip_addresses = [ - equinix_metal.models.ip_address.IPAddress( + equinix_metal_t0mk.models.ip_address.IPAddress( address_family = 4, cidr = 28, href = '', @@ -73,7 +73,7 @@ def make_instance(self, include_optional): spot_instance = True, spot_price_max = 1.23, ssh_keys = [ - equinix_metal.models.ssh_key_input.SSHKeyInput( + equinix_metal_t0mk.models.ssh_key_input.SSHKeyInput( href = '', key = '', label = '', @@ -81,13 +81,13 @@ def make_instance(self, include_optional): '' ], ) ], - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( device = '', href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -96,9 +96,9 @@ def make_instance(self, include_optional): wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( device = '', format = '', href = '', @@ -109,7 +109,7 @@ def make_instance(self, include_optional): ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( devices = [ '' ], diff --git a/equinix_metal/test/test_device_created_by.py b/equinix_metal/test/test_device_created_by.py index acaf5fa7..9adfbc99 100644 --- a/equinix_metal/test/test_device_created_by.py +++ b/equinix_metal/test/test_device_created_by.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_created_by import DeviceCreatedBy # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_created_by import DeviceCreatedBy # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceCreatedBy(unittest.TestCase): """DeviceCreatedBy unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceCreatedBy` """ - model = equinix_metal.models.device_created_by.DeviceCreatedBy() # noqa: E501 + model = equinix_metal_t0mk.models.device_created_by.DeviceCreatedBy() # noqa: E501 if include_optional : return DeviceCreatedBy( avatar_thumb_url = '', diff --git a/equinix_metal/test/test_device_health_rollup.py b/equinix_metal/test/test_device_health_rollup.py index af932657..a9d147bd 100644 --- a/equinix_metal/test/test_device_health_rollup.py +++ b/equinix_metal/test/test_device_health_rollup.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_health_rollup import DeviceHealthRollup # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_health_rollup import DeviceHealthRollup # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceHealthRollup(unittest.TestCase): """DeviceHealthRollup unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceHealthRollup` """ - model = equinix_metal.models.device_health_rollup.DeviceHealthRollup() # noqa: E501 + model = equinix_metal_t0mk.models.device_health_rollup.DeviceHealthRollup() # noqa: E501 if include_optional : return DeviceHealthRollup( health_rollup = 'ok', diff --git a/equinix_metal/test/test_device_list.py b/equinix_metal/test/test_device_list.py index 2d275f8a..362886ff 100644 --- a/equinix_metal/test/test_device_list.py +++ b/equinix_metal/test/test_device_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_list import DeviceList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_list import DeviceList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceList(unittest.TestCase): """DeviceList unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceList` """ - model = equinix_metal.models.device_list.DeviceList() # noqa: E501 + model = equinix_metal_t0mk.models.device_list.DeviceList() # noqa: E501 if include_optional : return DeviceList( devices = [ - equinix_metal.models.device.Device( + equinix_metal_t0mk.models.device.Device( actions = [ - equinix_metal.models.device_actions_inner.Device_actions_inner( + equinix_metal_t0mk.models.device_actions_inner.Device_actions_inner( href = '', name = '', type = '', ) @@ -54,11 +54,11 @@ def make_instance(self, include_optional): created_by = null, customdata = { }, description = '', - facility = equinix_metal.models.facility.Facility( - address = equinix_metal.models.address.Address( + facility = equinix_metal_t0mk.models.facility.Facility( + address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), @@ -74,10 +74,10 @@ def make_instance(self, include_optional): metro = null, name = '', ), firmware_set_id = '', - hardware_reservation = equinix_metal.models.hardware_reservation.HardwareReservation( + hardware_reservation = equinix_metal_t0mk.models.hardware_reservation.HardwareReservation( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), custom_rate = 1050.5, - device = equinix_metal.models.device.Device( + device = equinix_metal_t0mk.models.device.Device( always_pxe = True, billing_cycle = '', bonding_mode = 56, @@ -89,9 +89,9 @@ def make_instance(self, include_optional): id = '', image_url = '', ip_addresses = [ - equinix_metal.models.ip_assignment.IPAssignment( + equinix_metal_t0mk.models.ip_assignment.IPAssignment( address_family = 56, - assigned_to = equinix_metal.models.href.Href( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), @@ -105,7 +105,7 @@ def make_instance(self, include_optional): netmask = '', network = '', next_hop = '', - parent_block = equinix_metal.models.parent_block.ParentBlock( + parent_block = equinix_metal_t0mk.models.parent_block.ParentBlock( cidr = 56, href = '', netmask = '', @@ -118,12 +118,12 @@ def make_instance(self, include_optional): locked = True, network_frozen = True, network_ports = [ - equinix_metal.models.port.Port( - bond = equinix_metal.models.bond_port_data.BondPortData( + equinix_metal_t0mk.models.port.Port( + bond = equinix_metal_t0mk.models.bond_port_data.BondPortData( href = '', id = '', name = '', ), - data = equinix_metal.models.port_data.PortData( + data = equinix_metal_t0mk.models.port_data.PortData( bonded = True, href = '', mac = '', ), @@ -131,17 +131,17 @@ def make_instance(self, include_optional): href = '', id = '', name = 'bond0', - native_virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( + native_virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( assigned_to_virtual_circuit = True, description = '', href = '', id = '', instances = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -161,7 +161,7 @@ def make_instance(self, include_optional): ], ) ], - operating_system = equinix_metal.models.operating_system.OperatingSystem( + operating_system = equinix_metal_t0mk.models.operating_system.OperatingSystem( default_operating_system = True, distro = '', distro_label = '', @@ -170,22 +170,22 @@ def make_instance(self, include_optional): licensed = True, name = '', preinstallable = True, - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), provisionable_on = [ '' ], slug = '', version = '', ), - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', ) ], categories = [ @@ -201,40 +201,40 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) ], ), type = 'standard', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, bgp_config = , created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), @@ -246,7 +246,7 @@ class = 'm3.large.x86', invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -254,7 +254,7 @@ class = 'm3.large.x86', ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -267,14 +267,14 @@ class = 'm3.large.x86', ], ), project_lite = null, provisioning_events = [ - equinix_metal.models.event.Event( + equinix_metal_t0mk.models.event.Event( body = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', interpolated = '', ip = '', - modified_by = equinix_metal.models.modified_by.modified_by(), + modified_by = equinix_metal_t0mk.models.modified_by.modified_by(), relationships = [ ], @@ -291,12 +291,12 @@ class = 'm3.large.x86', ], state = 'queued', - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -305,9 +305,9 @@ class = 'm3.large.x86', wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( format = '', href = '', options = [ @@ -317,7 +317,7 @@ class = 'm3.large.x86', ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( href = '', level = '', name = '', ) @@ -336,7 +336,7 @@ class = 'm3.large.x86', href = '', id = '', need_of_service = True, - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( class = 'm3.large.x86', description = '', href = '', @@ -344,17 +344,17 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', type = 'standard', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), provisionable = True, @@ -367,7 +367,7 @@ class = 'm3.large.x86', id = '', image_url = '', ip_addresses = [ - equinix_metal.models.ip_assignment.IPAssignment( + equinix_metal_t0mk.models.ip_assignment.IPAssignment( address_family = 56, assigned_to = , cidr = 56, @@ -391,7 +391,7 @@ class = 'm3.large.x86', metro = null, network_frozen = True, network_ports = [ - equinix_metal.models.port.Port( + equinix_metal_t0mk.models.port.Port( disbond_operation_supported = True, href = '', id = '', @@ -399,7 +399,7 @@ class = 'm3.large.x86', network_type = 'layer2-bonded', type = 'NetworkPort', ) ], - operating_system = equinix_metal.models.operating_system.OperatingSystem( + operating_system = equinix_metal_t0mk.models.operating_system.OperatingSystem( default_operating_system = True, distro = '', distro_label = '', @@ -408,21 +408,21 @@ class = 'm3.large.x86', licensed = True, name = '', preinstallable = True, - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = '', version = '', ), plan = , project = , project_lite = null, provisioning_events = [ - equinix_metal.models.event.Event( + equinix_metal_t0mk.models.event.Event( body = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', interpolated = '', ip = '', - modified_by = equinix_metal.models.modified_by.modified_by(), + modified_by = equinix_metal_t0mk.models.modified_by.modified_by(), state = '', type = '', ) ], @@ -434,7 +434,7 @@ class = 'm3.large.x86', spot_price_max = 1.337, ssh_keys = , state = 'queued', - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( href = '', ), switch_uuid = '', tags = , @@ -445,12 +445,12 @@ class = 'm3.large.x86', volumes = , ) ], href = '', - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , diff --git a/equinix_metal/test/test_device_metro.py b/equinix_metal/test/test_device_metro.py index 83671378..255e05d4 100644 --- a/equinix_metal/test/test_device_metro.py +++ b/equinix_metal/test/test_device_metro.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_metro import DeviceMetro # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_metro import DeviceMetro # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceMetro(unittest.TestCase): """DeviceMetro unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceMetro` """ - model = equinix_metal.models.device_metro.DeviceMetro() # noqa: E501 + model = equinix_metal_t0mk.models.device_metro.DeviceMetro() # noqa: E501 if include_optional : return DeviceMetro( code = '', diff --git a/equinix_metal/test/test_device_project_lite.py b/equinix_metal/test/test_device_project_lite.py index 9709c857..5e1c5707 100644 --- a/equinix_metal/test/test_device_project_lite.py +++ b/equinix_metal/test/test_device_project_lite.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_project_lite import DeviceProjectLite # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_project_lite import DeviceProjectLite # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceProjectLite(unittest.TestCase): """DeviceProjectLite unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceProjectLite` """ - model = equinix_metal.models.device_project_lite.DeviceProjectLite() # noqa: E501 + model = equinix_metal_t0mk.models.device_project_lite.DeviceProjectLite() # noqa: E501 if include_optional : return DeviceProjectLite( href = '' diff --git a/equinix_metal/test/test_device_update_input.py b/equinix_metal/test/test_device_update_input.py index 8214ccf7..6ac2b3d1 100644 --- a/equinix_metal/test/test_device_update_input.py +++ b/equinix_metal/test/test_device_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_update_input import DeviceUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_update_input import DeviceUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceUpdateInput(unittest.TestCase): """DeviceUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceUpdateInput` """ - model = equinix_metal.models.device_update_input.DeviceUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.device_update_input.DeviceUpdateInput() # noqa: E501 if include_optional : return DeviceUpdateInput( always_pxe = True, diff --git a/equinix_metal/test/test_device_usage.py b/equinix_metal/test/test_device_usage.py index aa8b0bfc..ef156157 100644 --- a/equinix_metal/test/test_device_usage.py +++ b/equinix_metal/test/test_device_usage.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_usage import DeviceUsage # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_usage import DeviceUsage # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceUsage(unittest.TestCase): """DeviceUsage unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceUsage` """ - model = equinix_metal.models.device_usage.DeviceUsage() # noqa: E501 + model = equinix_metal_t0mk.models.device_usage.DeviceUsage() # noqa: E501 if include_optional : return DeviceUsage( href = '', diff --git a/equinix_metal/test/test_device_usage_list.py b/equinix_metal/test/test_device_usage_list.py index 8f6a9af8..d89ba4f9 100644 --- a/equinix_metal/test/test_device_usage_list.py +++ b/equinix_metal/test/test_device_usage_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.device_usage_list import DeviceUsageList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.device_usage_list import DeviceUsageList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDeviceUsageList(unittest.TestCase): """DeviceUsageList unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `DeviceUsageList` """ - model = equinix_metal.models.device_usage_list.DeviceUsageList() # noqa: E501 + model = equinix_metal_t0mk.models.device_usage_list.DeviceUsageList() # noqa: E501 if include_optional : return DeviceUsageList( href = '', usages = [ - equinix_metal.models.device_usage.DeviceUsage( + equinix_metal_t0mk.models.device_usage.DeviceUsage( href = '', quantity = '', total = '', diff --git a/equinix_metal/test/test_devices_api.py b/equinix_metal/test/test_devices_api.py index 46b18fd8..44f7f902 100644 --- a/equinix_metal/test/test_devices_api.py +++ b/equinix_metal/test/test_devices_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.devices_api import DevicesApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.devices_api import DevicesApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDevicesApi(unittest.TestCase): """DevicesApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.devices_api.DevicesApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.devices_api.DevicesApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_disk.py b/equinix_metal/test/test_disk.py index ddbba8a1..a7859691 100644 --- a/equinix_metal/test/test_disk.py +++ b/equinix_metal/test/test_disk.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.disk import Disk # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.disk import Disk # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestDisk(unittest.TestCase): """Disk unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Disk` """ - model = equinix_metal.models.disk.Disk() # noqa: E501 + model = equinix_metal_t0mk.models.disk.Disk() # noqa: E501 if include_optional : return Disk( device = '', href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, diff --git a/equinix_metal/test/test_email.py b/equinix_metal/test/test_email.py index 01c8d534..bf79fc05 100644 --- a/equinix_metal/test/test_email.py +++ b/equinix_metal/test/test_email.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.email import Email # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.email import Email # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestEmail(unittest.TestCase): """Email unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Email` """ - model = equinix_metal.models.email.Email() # noqa: E501 + model = equinix_metal_t0mk.models.email.Email() # noqa: E501 if include_optional : return Email( address = '', diff --git a/equinix_metal/test/test_email_input.py b/equinix_metal/test/test_email_input.py index ee7788e6..fd92633f 100644 --- a/equinix_metal/test/test_email_input.py +++ b/equinix_metal/test/test_email_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.email_input import EmailInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.email_input import EmailInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestEmailInput(unittest.TestCase): """EmailInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `EmailInput` """ - model = equinix_metal.models.email_input.EmailInput() # noqa: E501 + model = equinix_metal_t0mk.models.email_input.EmailInput() # noqa: E501 if include_optional : return EmailInput( address = '', diff --git a/equinix_metal/test/test_emails_api.py b/equinix_metal/test/test_emails_api.py index 7a6eecde..d2af1871 100644 --- a/equinix_metal/test/test_emails_api.py +++ b/equinix_metal/test/test_emails_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.emails_api import EmailsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.emails_api import EmailsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestEmailsApi(unittest.TestCase): """EmailsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.emails_api.EmailsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.emails_api.EmailsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_entitlement.py b/equinix_metal/test/test_entitlement.py index 07607ee2..ffa8c205 100644 --- a/equinix_metal/test/test_entitlement.py +++ b/equinix_metal/test/test_entitlement.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.entitlement import Entitlement # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.entitlement import Entitlement # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestEntitlement(unittest.TestCase): """Entitlement unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Entitlement` """ - model = equinix_metal.models.entitlement.Entitlement() # noqa: E501 + model = equinix_metal_t0mk.models.entitlement.Entitlement() # noqa: E501 if include_optional : return Entitlement( description = '', diff --git a/equinix_metal/test/test_error.py b/equinix_metal/test/test_error.py index 68ced86f..978571a0 100644 --- a/equinix_metal/test/test_error.py +++ b/equinix_metal/test/test_error.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.error import Error # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.error import Error # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestError(unittest.TestCase): """Error unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Error` """ - model = equinix_metal.models.error.Error() # noqa: E501 + model = equinix_metal_t0mk.models.error.Error() # noqa: E501 if include_optional : return Error( error = '', diff --git a/equinix_metal/test/test_event.py b/equinix_metal/test/test_event.py index 394dc661..34b74308 100644 --- a/equinix_metal/test/test_event.py +++ b/equinix_metal/test/test_event.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.event import Event # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event import Event # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestEvent(unittest.TestCase): """Event unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Event` """ - model = equinix_metal.models.event.Event() # noqa: E501 + model = equinix_metal_t0mk.models.event.Event() # noqa: E501 if include_optional : return Event( body = '', @@ -45,9 +45,9 @@ def make_instance(self, include_optional): id = '', interpolated = '', ip = '', - modified_by = equinix_metal.models.modified_by.modified_by(), + modified_by = equinix_metal_t0mk.models.modified_by.modified_by(), relationships = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], state = '', diff --git a/equinix_metal/test/test_event_list.py b/equinix_metal/test/test_event_list.py index 36b298ff..809a79b2 100644 --- a/equinix_metal/test/test_event_list.py +++ b/equinix_metal/test/test_event_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.event_list import EventList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.event_list import EventList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestEventList(unittest.TestCase): """EventList unit test stubs""" @@ -36,32 +36,32 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `EventList` """ - model = equinix_metal.models.event_list.EventList() # noqa: E501 + model = equinix_metal_t0mk.models.event_list.EventList() # noqa: E501 if include_optional : return EventList( events = [ - equinix_metal.models.event.Event( + equinix_metal_t0mk.models.event.Event( body = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', interpolated = '', ip = '', - modified_by = equinix_metal.models.modified_by.modified_by(), + modified_by = equinix_metal_t0mk.models.modified_by.modified_by(), relationships = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], state = '', type = '', ) ], href = '', - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , diff --git a/equinix_metal/test/test_events_api.py b/equinix_metal/test/test_events_api.py index 4a24a94f..4a81ffcb 100644 --- a/equinix_metal/test/test_events_api.py +++ b/equinix_metal/test/test_events_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.events_api import EventsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.events_api import EventsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestEventsApi(unittest.TestCase): """EventsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.events_api.EventsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.events_api.EventsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_fabric_service_token.py b/equinix_metal/test/test_fabric_service_token.py index db3b5d3d..5d10f5c2 100644 --- a/equinix_metal/test/test_fabric_service_token.py +++ b/equinix_metal/test/test_fabric_service_token.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.fabric_service_token import FabricServiceToken # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.fabric_service_token import FabricServiceToken # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFabricServiceToken(unittest.TestCase): """FabricServiceToken unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `FabricServiceToken` """ - model = equinix_metal.models.fabric_service_token.FabricServiceToken() # noqa: E501 + model = equinix_metal_t0mk.models.fabric_service_token.FabricServiceToken() # noqa: E501 if include_optional : return FabricServiceToken( expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), diff --git a/equinix_metal/test/test_facilities_api.py b/equinix_metal/test/test_facilities_api.py index 2a392e70..f711d3c5 100644 --- a/equinix_metal/test/test_facilities_api.py +++ b/equinix_metal/test/test_facilities_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.facilities_api import FacilitiesApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.facilities_api import FacilitiesApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFacilitiesApi(unittest.TestCase): """FacilitiesApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.facilities_api.FacilitiesApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.facilities_api.FacilitiesApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_facility.py b/equinix_metal/test/test_facility.py index b31ca530..34f95ad1 100644 --- a/equinix_metal/test/test_facility.py +++ b/equinix_metal/test/test_facility.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.facility import Facility # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.facility import Facility # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFacility(unittest.TestCase): """Facility unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Facility` """ - model = equinix_metal.models.facility.Facility() # noqa: E501 + model = equinix_metal_t0mk.models.facility.Facility() # noqa: E501 if include_optional : return Facility( - address = equinix_metal.models.address.Address( + address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), diff --git a/equinix_metal/test/test_facility_input.py b/equinix_metal/test/test_facility_input.py index 8302f26a..9118cbb5 100644 --- a/equinix_metal/test/test_facility_input.py +++ b/equinix_metal/test/test_facility_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.facility_input import FacilityInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.facility_input import FacilityInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFacilityInput(unittest.TestCase): """FacilityInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `FacilityInput` """ - model = equinix_metal.models.facility_input.FacilityInput() # noqa: E501 + model = equinix_metal_t0mk.models.facility_input.FacilityInput() # noqa: E501 if include_optional : return FacilityInput( facility = None, diff --git a/equinix_metal/test/test_facility_input_facility.py b/equinix_metal/test/test_facility_input_facility.py index 8ba04cf9..a61a401b 100644 --- a/equinix_metal/test/test_facility_input_facility.py +++ b/equinix_metal/test/test_facility_input_facility.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.facility_input_facility import FacilityInputFacility # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.facility_input_facility import FacilityInputFacility # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFacilityInputFacility(unittest.TestCase): """FacilityInputFacility unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `FacilityInputFacility` """ - model = equinix_metal.models.facility_input_facility.FacilityInputFacility() # noqa: E501 + model = equinix_metal_t0mk.models.facility_input_facility.FacilityInputFacility() # noqa: E501 if include_optional : return FacilityInputFacility( ) diff --git a/equinix_metal/test/test_facility_list.py b/equinix_metal/test/test_facility_list.py index f6d6ba33..cdf077c6 100644 --- a/equinix_metal/test/test_facility_list.py +++ b/equinix_metal/test/test_facility_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.facility_list import FacilityList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.facility_list import FacilityList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFacilityList(unittest.TestCase): """FacilityList unit test stubs""" @@ -36,15 +36,15 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `FacilityList` """ - model = equinix_metal.models.facility_list.FacilityList() # noqa: E501 + model = equinix_metal_t0mk.models.facility_list.FacilityList() # noqa: E501 if include_optional : return FacilityList( facilities = [ - equinix_metal.models.facility.Facility( - address = equinix_metal.models.address.Address( + equinix_metal_t0mk.models.facility.Facility( + address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), diff --git a/equinix_metal/test/test_filesystem.py b/equinix_metal/test/test_filesystem.py index b051f062..f2a305e1 100644 --- a/equinix_metal/test/test_filesystem.py +++ b/equinix_metal/test/test_filesystem.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.filesystem import Filesystem # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.filesystem import Filesystem # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFilesystem(unittest.TestCase): """Filesystem unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Filesystem` """ - model = equinix_metal.models.filesystem.Filesystem() # noqa: E501 + model = equinix_metal_t0mk.models.filesystem.Filesystem() # noqa: E501 if include_optional : return Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( device = '', format = '', href = '', diff --git a/equinix_metal/test/test_find_ip_address_by_id200_response.py b/equinix_metal/test/test_find_ip_address_by_id200_response.py index 24f1ef88..ec489837 100644 --- a/equinix_metal/test/test_find_ip_address_by_id200_response.py +++ b/equinix_metal/test/test_find_ip_address_by_id200_response.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.find_ip_address_by_id200_response import FindIPAddressById200Response # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.find_ip_address_by_id200_response import FindIPAddressById200Response # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFindIPAddressById200Response(unittest.TestCase): """FindIPAddressById200Response unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `FindIPAddressById200Response` """ - model = equinix_metal.models.find_ip_address_by_id200_response.FindIPAddressById200Response() # noqa: E501 + model = equinix_metal_t0mk.models.find_ip_address_by_id200_response.FindIPAddressById200Response() # noqa: E501 if include_optional : return FindIPAddressById200Response( address = '', address_family = 56, - assigned_to = equinix_metal.models.href.Href( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), @@ -52,7 +52,7 @@ def make_instance(self, include_optional): id = '', manageable = True, management = True, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -61,7 +61,7 @@ def make_instance(self, include_optional): netmask = '', network = '', next_hop = '', - parent_block = equinix_metal.models.parent_block.ParentBlock( + parent_block = equinix_metal_t0mk.models.parent_block.ParentBlock( cidr = 56, href = '', netmask = '', @@ -70,15 +70,15 @@ def make_instance(self, include_optional): state = '', addon = True, assignments = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], available = '', bill = True, - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', facility = None, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -86,14 +86,14 @@ def make_instance(self, include_optional): state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -101,7 +101,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -109,7 +109,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -123,14 +123,14 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -138,7 +138,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -146,7 +146,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -160,30 +160,30 @@ def make_instance(self, include_optional): volumes = [ ], ), - requested_by = equinix_metal.models.href.Href( + requested_by = equinix_metal_t0mk.models.href.Href( href = '', ), tags = [ '' ], type = 'global_ipv4', - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -207,19 +207,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -228,7 +228,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -236,7 +236,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -255,7 +255,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -272,7 +272,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -288,25 +288,25 @@ def make_instance(self, include_optional): ) else : return FindIPAddressById200Response( - assigned_to = equinix_metal.models.href.Href( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), type = 'global_ipv4', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -330,19 +330,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -351,7 +351,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -359,7 +359,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -378,7 +378,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -395,7 +395,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_find_metal_gateway_by_id200_response.py b/equinix_metal/test/test_find_metal_gateway_by_id200_response.py index 3d99dffe..ac8270a0 100644 --- a/equinix_metal/test/test_find_metal_gateway_by_id200_response.py +++ b/equinix_metal/test/test_find_metal_gateway_by_id200_response.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.find_metal_gateway_by_id200_response import FindMetalGatewayById200Response # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFindMetalGatewayById200Response(unittest.TestCase): """FindMetalGatewayById200Response unit test stubs""" @@ -36,30 +36,30 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `FindMetalGatewayById200Response` """ - model = equinix_metal.models.find_metal_gateway_by_id200_response.FindMetalGatewayById200Response() # noqa: E501 + model = equinix_metal_t0mk.models.find_metal_gateway_by_id200_response.FindMetalGatewayById200Response() # noqa: E501 if include_optional : return FindMetalGatewayById200Response( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', - ip_reservation = equinix_metal.models.vrf_ip_reservation.VrfIpReservation( + ip_reservation = equinix_metal_t0mk.models.vrf_ip_reservation.VrfIpReservation( address = '', address_family = 56, bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', gateway = '', href = '', id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -67,7 +67,7 @@ def make_instance(self, include_optional): state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ), - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -75,12 +75,12 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -89,7 +89,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -97,7 +97,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -111,15 +111,15 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), public = True, @@ -128,7 +128,7 @@ def make_instance(self, include_optional): '' ], type = 'vrf', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -144,7 +144,7 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -161,7 +161,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -174,14 +174,14 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) ], ), ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -189,7 +189,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -197,7 +197,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -213,12 +213,12 @@ def make_instance(self, include_optional): ], ), state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', @@ -226,7 +226,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -241,22 +241,22 @@ def make_instance(self, include_optional): '' ], vxlan = 56, ), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -280,19 +280,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -301,7 +301,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -309,7 +309,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -328,7 +328,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -345,7 +345,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_find_traffic_timeframe_parameter.py b/equinix_metal/test/test_find_traffic_timeframe_parameter.py index 11981043..bdafc72d 100644 --- a/equinix_metal/test/test_find_traffic_timeframe_parameter.py +++ b/equinix_metal/test/test_find_traffic_timeframe_parameter.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.find_traffic_timeframe_parameter import FindTrafficTimeframeParameter # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFindTrafficTimeframeParameter(unittest.TestCase): """FindTrafficTimeframeParameter unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `FindTrafficTimeframeParameter` """ - model = equinix_metal.models.find_traffic_timeframe_parameter.FindTrafficTimeframeParameter() # noqa: E501 + model = equinix_metal_t0mk.models.find_traffic_timeframe_parameter.FindTrafficTimeframeParameter() # noqa: E501 if include_optional : return FindTrafficTimeframeParameter( ended_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), diff --git a/equinix_metal/test/test_firmware_set.py b/equinix_metal/test/test_firmware_set.py index 4734d127..d13d9c02 100644 --- a/equinix_metal/test/test_firmware_set.py +++ b/equinix_metal/test/test_firmware_set.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.firmware_set import FirmwareSet # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.firmware_set import FirmwareSet # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFirmwareSet(unittest.TestCase): """FirmwareSet unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `FirmwareSet` """ - model = equinix_metal.models.firmware_set.FirmwareSet() # noqa: E501 + model = equinix_metal_t0mk.models.firmware_set.FirmwareSet() # noqa: E501 if include_optional : return FirmwareSet( attributes = [ - equinix_metal.models.attribute.Attribute( + equinix_metal_t0mk.models.attribute.Attribute( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - data = equinix_metal.models.attribute_data.AttributeData( + data = equinix_metal_t0mk.models.attribute_data.AttributeData( href = '', latest = True, model = '', @@ -53,7 +53,7 @@ def make_instance(self, include_optional): updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) ], component_firmware = [ - equinix_metal.models.component.Component( + equinix_metal_t0mk.models.component.Component( checksum = '', component = 'bmc', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), diff --git a/equinix_metal/test/test_firmware_set_list_response.py b/equinix_metal/test/test_firmware_set_list_response.py index 1dccfa91..d2d9aec6 100644 --- a/equinix_metal/test/test_firmware_set_list_response.py +++ b/equinix_metal/test/test_firmware_set_list_response.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.firmware_set_list_response import FirmwareSetListResponse # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.firmware_set_list_response import FirmwareSetListResponse # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFirmwareSetListResponse(unittest.TestCase): """FirmwareSetListResponse unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `FirmwareSetListResponse` """ - model = equinix_metal.models.firmware_set_list_response.FirmwareSetListResponse() # noqa: E501 + model = equinix_metal_t0mk.models.firmware_set_list_response.FirmwareSetListResponse() # noqa: E501 if include_optional : return FirmwareSetListResponse( href = '', @@ -44,11 +44,11 @@ def make_instance(self, include_optional): page_count = 56, page_size = 56, records = [ - equinix_metal.models.firmware_set.FirmwareSet( + equinix_metal_t0mk.models.firmware_set.FirmwareSet( attributes = [ - equinix_metal.models.attribute.Attribute( + equinix_metal_t0mk.models.attribute.Attribute( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - data = equinix_metal.models.attribute_data.AttributeData( + data = equinix_metal_t0mk.models.attribute_data.AttributeData( href = '', latest = True, model = '', @@ -59,7 +59,7 @@ def make_instance(self, include_optional): updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) ], component_firmware = [ - equinix_metal.models.component.Component( + equinix_metal_t0mk.models.component.Component( checksum = '', component = 'bmc', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), diff --git a/equinix_metal/test/test_firmware_set_response.py b/equinix_metal/test/test_firmware_set_response.py index a36908c9..c5b3ccc5 100644 --- a/equinix_metal/test/test_firmware_set_response.py +++ b/equinix_metal/test/test_firmware_set_response.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.firmware_set_response import FirmwareSetResponse # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.firmware_set_response import FirmwareSetResponse # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFirmwareSetResponse(unittest.TestCase): """FirmwareSetResponse unit test stubs""" @@ -36,15 +36,15 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `FirmwareSetResponse` """ - model = equinix_metal.models.firmware_set_response.FirmwareSetResponse() # noqa: E501 + model = equinix_metal_t0mk.models.firmware_set_response.FirmwareSetResponse() # noqa: E501 if include_optional : return FirmwareSetResponse( href = '', - record = equinix_metal.models.firmware_set.FirmwareSet( + record = equinix_metal_t0mk.models.firmware_set.FirmwareSet( attributes = [ - equinix_metal.models.attribute.Attribute( + equinix_metal_t0mk.models.attribute.Attribute( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - data = equinix_metal.models.attribute_data.AttributeData( + data = equinix_metal_t0mk.models.attribute_data.AttributeData( href = '', latest = True, model = '', @@ -55,7 +55,7 @@ def make_instance(self, include_optional): updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) ], component_firmware = [ - equinix_metal.models.component.Component( + equinix_metal_t0mk.models.component.Component( checksum = '', component = 'bmc', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), diff --git a/equinix_metal/test/test_firmware_sets_api.py b/equinix_metal/test/test_firmware_sets_api.py index 6da7305e..ec743af6 100644 --- a/equinix_metal/test/test_firmware_sets_api.py +++ b/equinix_metal/test/test_firmware_sets_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.firmware_sets_api import FirmwareSetsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.firmware_sets_api import FirmwareSetsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestFirmwareSetsApi(unittest.TestCase): """FirmwareSetsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.firmware_sets_api.FirmwareSetsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.firmware_sets_api.FirmwareSetsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_global_bgp_range.py b/equinix_metal/test/test_global_bgp_range.py index bde219d3..3e4531c6 100644 --- a/equinix_metal/test/test_global_bgp_range.py +++ b/equinix_metal/test/test_global_bgp_range.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.global_bgp_range import GlobalBgpRange # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.global_bgp_range import GlobalBgpRange # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestGlobalBgpRange(unittest.TestCase): """GlobalBgpRange unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `GlobalBgpRange` """ - model = equinix_metal.models.global_bgp_range.GlobalBgpRange() # noqa: E501 + model = equinix_metal_t0mk.models.global_bgp_range.GlobalBgpRange() # noqa: E501 if include_optional : return GlobalBgpRange( address_family = 56, href = '', id = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), range = '' ) diff --git a/equinix_metal/test/test_global_bgp_range_list.py b/equinix_metal/test/test_global_bgp_range_list.py index 57d2778e..11534b89 100644 --- a/equinix_metal/test/test_global_bgp_range_list.py +++ b/equinix_metal/test/test_global_bgp_range_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.global_bgp_range_list import GlobalBgpRangeList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.global_bgp_range_list import GlobalBgpRangeList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestGlobalBgpRangeList(unittest.TestCase): """GlobalBgpRangeList unit test stubs""" @@ -36,15 +36,15 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `GlobalBgpRangeList` """ - model = equinix_metal.models.global_bgp_range_list.GlobalBgpRangeList() # noqa: E501 + model = equinix_metal_t0mk.models.global_bgp_range_list.GlobalBgpRangeList() # noqa: E501 if include_optional : return GlobalBgpRangeList( global_bgp_ranges = [ - equinix_metal.models.global_bgp_range.GlobalBgpRange( + equinix_metal_t0mk.models.global_bgp_range.GlobalBgpRange( address_family = 56, href = '', id = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), range = '', ) ], diff --git a/equinix_metal/test/test_hardware_reservation.py b/equinix_metal/test/test_hardware_reservation.py index 4aaf1d57..c603eda2 100644 --- a/equinix_metal/test/test_hardware_reservation.py +++ b/equinix_metal/test/test_hardware_reservation.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.hardware_reservation import HardwareReservation # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.hardware_reservation import HardwareReservation # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestHardwareReservation(unittest.TestCase): """HardwareReservation unit test stubs""" @@ -36,14 +36,14 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `HardwareReservation` """ - model = equinix_metal.models.hardware_reservation.HardwareReservation() # noqa: E501 + model = equinix_metal_t0mk.models.hardware_reservation.HardwareReservation() # noqa: E501 if include_optional : return HardwareReservation( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), custom_rate = 1050.5, - device = equinix_metal.models.device.Device( + device = equinix_metal_t0mk.models.device.Device( actions = [ - equinix_metal.models.device_actions_inner.Device_actions_inner( + equinix_metal_t0mk.models.device_actions_inner.Device_actions_inner( href = '', name = '', type = '', ) @@ -55,11 +55,11 @@ def make_instance(self, include_optional): created_by = null, customdata = { }, description = '', - facility = equinix_metal.models.facility.Facility( - address = equinix_metal.models.address.Address( + facility = equinix_metal_t0mk.models.facility.Facility( + address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), @@ -75,22 +75,22 @@ def make_instance(self, include_optional): metro = null, name = '', ), firmware_set_id = '', - hardware_reservation = equinix_metal.models.hardware_reservation.HardwareReservation( + hardware_reservation = equinix_metal_t0mk.models.hardware_reservation.HardwareReservation( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), custom_rate = 1050.5, href = '', id = '', need_of_service = True, - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', ) ], categories = [ @@ -106,46 +106,46 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) ], ), type = 'standard', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -153,7 +153,7 @@ class = 'm3.large.x86', invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -161,7 +161,7 @@ class = 'm3.large.x86', ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -185,7 +185,7 @@ class = 'm3.large.x86', id = '', image_url = '', ip_addresses = [ - equinix_metal.models.ip_assignment.IPAssignment( + equinix_metal_t0mk.models.ip_assignment.IPAssignment( address_family = 56, assigned_to = , cidr = 56, @@ -200,7 +200,7 @@ class = 'm3.large.x86', netmask = '', network = '', next_hop = '', - parent_block = equinix_metal.models.parent_block.ParentBlock( + parent_block = equinix_metal_t0mk.models.parent_block.ParentBlock( cidr = 56, href = '', netmask = '', @@ -214,12 +214,12 @@ class = 'm3.large.x86', metro = null, network_frozen = True, network_ports = [ - equinix_metal.models.port.Port( - bond = equinix_metal.models.bond_port_data.BondPortData( + equinix_metal_t0mk.models.port.Port( + bond = equinix_metal_t0mk.models.bond_port_data.BondPortData( href = '', id = '', name = '', ), - data = equinix_metal.models.port_data.PortData( + data = equinix_metal_t0mk.models.port_data.PortData( bonded = True, href = '', mac = '', ), @@ -227,7 +227,7 @@ class = 'm3.large.x86', href = '', id = '', name = 'bond0', - native_virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( + native_virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( assigned_to_virtual_circuit = True, description = '', href = '', @@ -236,7 +236,7 @@ class = 'm3.large.x86', ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -253,7 +253,7 @@ class = 'm3.large.x86', ], ) ], - operating_system = equinix_metal.models.operating_system.OperatingSystem( + operating_system = equinix_metal_t0mk.models.operating_system.OperatingSystem( default_operating_system = True, distro = '', distro_label = '', @@ -262,13 +262,13 @@ class = 'm3.large.x86', licensed = True, name = '', preinstallable = True, - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), provisionable_on = [ '' ], slug = '', version = '', ), - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( class = 'm3.large.x86', description = '', href = '', @@ -276,29 +276,29 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', type = 'standard', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), project_lite = null, provisioning_events = [ - equinix_metal.models.event.Event( + equinix_metal_t0mk.models.event.Event( body = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', interpolated = '', ip = '', - modified_by = equinix_metal.models.modified_by.modified_by(), + modified_by = equinix_metal_t0mk.models.modified_by.modified_by(), relationships = [ ], @@ -315,12 +315,12 @@ class = 'm3.large.x86', ], state = 'queued', - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -329,9 +329,9 @@ class = 'm3.large.x86', wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( format = '', href = '', options = [ @@ -341,7 +341,7 @@ class = 'm3.large.x86', ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( href = '', level = '', name = '', ) @@ -357,11 +357,11 @@ class = 'm3.large.x86', volumes = [ ], ), - facility = equinix_metal.models.facility.Facility( - address = equinix_metal.models.address.Address( + facility = equinix_metal_t0mk.models.facility.Facility( + address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), @@ -379,16 +379,16 @@ class = 'm3.large.x86', href = '', id = '', need_of_service = True, - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', ) ], categories = [ @@ -404,47 +404,47 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) ], ), type = 'standard', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -452,7 +452,7 @@ class = 'm3.large.x86', invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -460,7 +460,7 @@ class = 'm3.large.x86', ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ diff --git a/equinix_metal/test/test_hardware_reservation_list.py b/equinix_metal/test/test_hardware_reservation_list.py index 761da476..d03b0dd1 100644 --- a/equinix_metal/test/test_hardware_reservation_list.py +++ b/equinix_metal/test/test_hardware_reservation_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.hardware_reservation_list import HardwareReservationList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.hardware_reservation_list import HardwareReservationList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestHardwareReservationList(unittest.TestCase): """HardwareReservationList unit test stubs""" @@ -36,16 +36,16 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `HardwareReservationList` """ - model = equinix_metal.models.hardware_reservation_list.HardwareReservationList() # noqa: E501 + model = equinix_metal_t0mk.models.hardware_reservation_list.HardwareReservationList() # noqa: E501 if include_optional : return HardwareReservationList( hardware_reservations = [ - equinix_metal.models.hardware_reservation.HardwareReservation( + equinix_metal_t0mk.models.hardware_reservation.HardwareReservation( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), custom_rate = 1050.5, - device = equinix_metal.models.device.Device( + device = equinix_metal_t0mk.models.device.Device( actions = [ - equinix_metal.models.device_actions_inner.Device_actions_inner( + equinix_metal_t0mk.models.device_actions_inner.Device_actions_inner( href = '', name = '', type = '', ) @@ -57,11 +57,11 @@ def make_instance(self, include_optional): created_by = null, customdata = { }, description = '', - facility = equinix_metal.models.facility.Facility( - address = equinix_metal.models.address.Address( + facility = equinix_metal_t0mk.models.facility.Facility( + address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), @@ -77,22 +77,22 @@ def make_instance(self, include_optional): metro = null, name = '', ), firmware_set_id = '', - hardware_reservation = equinix_metal.models.hardware_reservation.HardwareReservation( + hardware_reservation = equinix_metal_t0mk.models.hardware_reservation.HardwareReservation( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), custom_rate = 1050.5, href = '', id = '', need_of_service = True, - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', ) ], categories = [ @@ -108,46 +108,46 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) ], ), type = 'standard', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -155,7 +155,7 @@ class = 'm3.large.x86', invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -163,7 +163,7 @@ class = 'm3.large.x86', ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -187,7 +187,7 @@ class = 'm3.large.x86', id = '', image_url = '', ip_addresses = [ - equinix_metal.models.ip_assignment.IPAssignment( + equinix_metal_t0mk.models.ip_assignment.IPAssignment( address_family = 56, assigned_to = , cidr = 56, @@ -202,7 +202,7 @@ class = 'm3.large.x86', netmask = '', network = '', next_hop = '', - parent_block = equinix_metal.models.parent_block.ParentBlock( + parent_block = equinix_metal_t0mk.models.parent_block.ParentBlock( cidr = 56, href = '', netmask = '', @@ -216,12 +216,12 @@ class = 'm3.large.x86', metro = null, network_frozen = True, network_ports = [ - equinix_metal.models.port.Port( - bond = equinix_metal.models.bond_port_data.BondPortData( + equinix_metal_t0mk.models.port.Port( + bond = equinix_metal_t0mk.models.bond_port_data.BondPortData( href = '', id = '', name = '', ), - data = equinix_metal.models.port_data.PortData( + data = equinix_metal_t0mk.models.port_data.PortData( bonded = True, href = '', mac = '', ), @@ -229,7 +229,7 @@ class = 'm3.large.x86', href = '', id = '', name = 'bond0', - native_virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( + native_virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( assigned_to_virtual_circuit = True, description = '', href = '', @@ -238,7 +238,7 @@ class = 'm3.large.x86', ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -255,7 +255,7 @@ class = 'm3.large.x86', ], ) ], - operating_system = equinix_metal.models.operating_system.OperatingSystem( + operating_system = equinix_metal_t0mk.models.operating_system.OperatingSystem( default_operating_system = True, distro = '', distro_label = '', @@ -264,13 +264,13 @@ class = 'm3.large.x86', licensed = True, name = '', preinstallable = True, - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), provisionable_on = [ '' ], slug = '', version = '', ), - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( class = 'm3.large.x86', description = '', href = '', @@ -278,29 +278,29 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', type = 'standard', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), project_lite = null, provisioning_events = [ - equinix_metal.models.event.Event( + equinix_metal_t0mk.models.event.Event( body = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', interpolated = '', ip = '', - modified_by = equinix_metal.models.modified_by.modified_by(), + modified_by = equinix_metal_t0mk.models.modified_by.modified_by(), relationships = [ ], @@ -317,12 +317,12 @@ class = 'm3.large.x86', ], state = 'queued', - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -331,9 +331,9 @@ class = 'm3.large.x86', wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( format = '', href = '', options = [ @@ -343,7 +343,7 @@ class = 'm3.large.x86', ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( href = '', level = '', name = '', ) @@ -359,7 +359,7 @@ class = 'm3.large.x86', volumes = [ ], ), - facility = equinix_metal.models.facility.Facility( + facility = equinix_metal_t0mk.models.facility.Facility( code = '', href = '', id = '', @@ -377,12 +377,12 @@ class = 'm3.large.x86', termination_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) ], href = '', - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , diff --git a/equinix_metal/test/test_hardware_reservations_api.py b/equinix_metal/test/test_hardware_reservations_api.py index fe229711..3df4c27d 100644 --- a/equinix_metal/test/test_hardware_reservations_api.py +++ b/equinix_metal/test/test_hardware_reservations_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.hardware_reservations_api import HardwareReservationsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.hardware_reservations_api import HardwareReservationsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestHardwareReservationsApi(unittest.TestCase): """HardwareReservationsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.hardware_reservations_api.HardwareReservationsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.hardware_reservations_api.HardwareReservationsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_href.py b/equinix_metal/test/test_href.py index 027dd51b..262dbd6c 100644 --- a/equinix_metal/test/test_href.py +++ b/equinix_metal/test/test_href.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.href import Href # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.href import Href # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestHref(unittest.TestCase): """Href unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Href` """ - model = equinix_metal.models.href.Href() # noqa: E501 + model = equinix_metal_t0mk.models.href.Href() # noqa: E501 if include_optional : return Href( href = '' diff --git a/equinix_metal/test/test_incidents_api.py b/equinix_metal/test/test_incidents_api.py index 2a4f0fa7..355662c2 100644 --- a/equinix_metal/test/test_incidents_api.py +++ b/equinix_metal/test/test_incidents_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.incidents_api import IncidentsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.incidents_api import IncidentsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIncidentsApi(unittest.TestCase): """IncidentsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.incidents_api.IncidentsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.incidents_api.IncidentsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_instances_batch_create_input.py b/equinix_metal/test/test_instances_batch_create_input.py index 6308d381..4e79413b 100644 --- a/equinix_metal/test/test_instances_batch_create_input.py +++ b/equinix_metal/test/test_instances_batch_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.instances_batch_create_input import InstancesBatchCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.instances_batch_create_input import InstancesBatchCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInstancesBatchCreateInput(unittest.TestCase): """InstancesBatchCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `InstancesBatchCreateInput` """ - model = equinix_metal.models.instances_batch_create_input.InstancesBatchCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.instances_batch_create_input.InstancesBatchCreateInput() # noqa: E501 if include_optional : return InstancesBatchCreateInput( batches = [ diff --git a/equinix_metal/test/test_instances_batch_create_input_batches_inner.py b/equinix_metal/test/test_instances_batch_create_input_batches_inner.py index bb3568cc..9d557656 100644 --- a/equinix_metal/test/test_instances_batch_create_input_batches_inner.py +++ b/equinix_metal/test/test_instances_batch_create_input_batches_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.instances_batch_create_input_batches_inner import InstancesBatchCreateInputBatchesInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.instances_batch_create_input_batches_inner import InstancesBatchCreateInputBatchesInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInstancesBatchCreateInputBatchesInner(unittest.TestCase): """InstancesBatchCreateInputBatchesInner unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `InstancesBatchCreateInputBatchesInner` """ - model = equinix_metal.models.instances_batch_create_input_batches_inner.InstancesBatchCreateInputBatchesInner() # noqa: E501 + model = equinix_metal_t0mk.models.instances_batch_create_input_batches_inner.InstancesBatchCreateInputBatchesInner() # noqa: E501 if include_optional : return InstancesBatchCreateInputBatchesInner( hostnames = [ @@ -55,7 +55,7 @@ def make_instance(self, include_optional): hardware_reservation_id = 'next-available', hostname = '', ip_addresses = [ - equinix_metal.models.ip_address.IPAddress( + equinix_metal_t0mk.models.ip_address.IPAddress( address_family = 4, cidr = 28, href = '', @@ -78,7 +78,7 @@ def make_instance(self, include_optional): spot_instance = True, spot_price_max = 1.23, ssh_keys = [ - equinix_metal.models.ssh_key_input.SSHKeyInput( + equinix_metal_t0mk.models.ssh_key_input.SSHKeyInput( href = '', key = '', label = '', @@ -86,13 +86,13 @@ def make_instance(self, include_optional): '' ], ) ], - storage = equinix_metal.models.storage.Storage( + storage = equinix_metal_t0mk.models.storage.Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( device = '', href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -101,9 +101,9 @@ def make_instance(self, include_optional): wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( device = '', format = '', href = '', @@ -114,7 +114,7 @@ def make_instance(self, include_optional): ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( devices = [ '' ], diff --git a/equinix_metal/test/test_interconnection.py b/equinix_metal/test/test_interconnection.py index 63a84660..40611380 100644 --- a/equinix_metal/test/test_interconnection.py +++ b/equinix_metal/test/test_interconnection.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.interconnection import Interconnection # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection import Interconnection # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInterconnection(unittest.TestCase): """Interconnection unit test stubs""" @@ -36,17 +36,17 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Interconnection` """ - model = equinix_metal.models.interconnection.Interconnection() # noqa: E501 + model = equinix_metal_t0mk.models.interconnection.Interconnection() # noqa: E501 if include_optional : return Interconnection( contact_email = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -54,15 +54,15 @@ def make_instance(self, include_optional): name = '', ), mode = 'standard', name = '', - organization = equinix_metal.models.href.Href( + organization = equinix_metal_t0mk.models.href.Href( href = '', ), ports = [ - equinix_metal.models.interconnection_port.InterconnectionPort( + equinix_metal_t0mk.models.interconnection_port.InterconnectionPort( href = '', id = '', link_status = '', name = '', - organization = equinix_metal.models.href.Href( + organization = equinix_metal_t0mk.models.href.Href( href = '', ), role = 'primary', speed = 56, @@ -73,10 +73,10 @@ def make_instance(self, include_optional): ], ) ], redundancy = 'primary', - requested_by = equinix_metal.models.href.Href( + requested_by = equinix_metal_t0mk.models.href.Href( href = '', ), service_tokens = [ - equinix_metal.models.fabric_service_token.FabricServiceToken( + equinix_metal_t0mk.models.fabric_service_token.FabricServiceToken( expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', diff --git a/equinix_metal/test/test_interconnection_list.py b/equinix_metal/test/test_interconnection_list.py index 211afeeb..a23ed53f 100644 --- a/equinix_metal/test/test_interconnection_list.py +++ b/equinix_metal/test/test_interconnection_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.interconnection_list import InterconnectionList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection_list import InterconnectionList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInterconnectionList(unittest.TestCase): """InterconnectionList unit test stubs""" @@ -36,26 +36,26 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `InterconnectionList` """ - model = equinix_metal.models.interconnection_list.InterconnectionList() # noqa: E501 + model = equinix_metal_t0mk.models.interconnection_list.InterconnectionList() # noqa: E501 if include_optional : return InterconnectionList( href = '', interconnections = [ - equinix_metal.models.interconnection.Interconnection( + equinix_metal_t0mk.models.interconnection.Interconnection( contact_email = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', metro = null, mode = 'standard', name = '', - organization = equinix_metal.models.href.Href( + organization = equinix_metal_t0mk.models.href.Href( href = '', ), ports = [ - equinix_metal.models.interconnection_port.InterconnectionPort( + equinix_metal_t0mk.models.interconnection_port.InterconnectionPort( href = '', id = '', link_status = '', @@ -71,7 +71,7 @@ def make_instance(self, include_optional): redundancy = 'primary', requested_by = , service_tokens = [ - equinix_metal.models.fabric_service_token.FabricServiceToken( + equinix_metal_t0mk.models.fabric_service_token.FabricServiceToken( expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', @@ -89,12 +89,12 @@ def make_instance(self, include_optional): type = 'shared', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) ], - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , diff --git a/equinix_metal/test/test_interconnection_port.py b/equinix_metal/test/test_interconnection_port.py index 206834b1..adfc41cf 100644 --- a/equinix_metal/test/test_interconnection_port.py +++ b/equinix_metal/test/test_interconnection_port.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.interconnection_port import InterconnectionPort # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection_port import InterconnectionPort # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInterconnectionPort(unittest.TestCase): """InterconnectionPort unit test stubs""" @@ -36,14 +36,14 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `InterconnectionPort` """ - model = equinix_metal.models.interconnection_port.InterconnectionPort() # noqa: E501 + model = equinix_metal_t0mk.models.interconnection_port.InterconnectionPort() # noqa: E501 if include_optional : return InterconnectionPort( href = '', id = '', link_status = '', name = '', - organization = equinix_metal.models.href.Href( + organization = equinix_metal_t0mk.models.href.Href( href = '', ), role = 'primary', speed = 56, diff --git a/equinix_metal/test/test_interconnection_port_list.py b/equinix_metal/test/test_interconnection_port_list.py index 8e321dc4..7b8c61ef 100644 --- a/equinix_metal/test/test_interconnection_port_list.py +++ b/equinix_metal/test/test_interconnection_port_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.interconnection_port_list import InterconnectionPortList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection_port_list import InterconnectionPortList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInterconnectionPortList(unittest.TestCase): """InterconnectionPortList unit test stubs""" @@ -36,17 +36,17 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `InterconnectionPortList` """ - model = equinix_metal.models.interconnection_port_list.InterconnectionPortList() # noqa: E501 + model = equinix_metal_t0mk.models.interconnection_port_list.InterconnectionPortList() # noqa: E501 if include_optional : return InterconnectionPortList( href = '', ports = [ - equinix_metal.models.interconnection_port.InterconnectionPort( + equinix_metal_t0mk.models.interconnection_port.InterconnectionPort( href = '', id = '', link_status = '', name = '', - organization = equinix_metal.models.href.Href( + organization = equinix_metal_t0mk.models.href.Href( href = '', ), role = 'primary', speed = 56, diff --git a/equinix_metal/test/test_interconnection_update_input.py b/equinix_metal/test/test_interconnection_update_input.py index a7b5fbe9..ec0bd1c8 100644 --- a/equinix_metal/test/test_interconnection_update_input.py +++ b/equinix_metal/test/test_interconnection_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.interconnection_update_input import InterconnectionUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.interconnection_update_input import InterconnectionUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInterconnectionUpdateInput(unittest.TestCase): """InterconnectionUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `InterconnectionUpdateInput` """ - model = equinix_metal.models.interconnection_update_input.InterconnectionUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.interconnection_update_input.InterconnectionUpdateInput() # noqa: E501 if include_optional : return InterconnectionUpdateInput( contact_email = '', diff --git a/equinix_metal/test/test_interconnections_api.py b/equinix_metal/test/test_interconnections_api.py index 0b372c54..97d253e1 100644 --- a/equinix_metal/test/test_interconnections_api.py +++ b/equinix_metal/test/test_interconnections_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.interconnections_api import InterconnectionsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.interconnections_api import InterconnectionsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInterconnectionsApi(unittest.TestCase): """InterconnectionsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.interconnections_api.InterconnectionsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.interconnections_api.InterconnectionsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_invitation.py b/equinix_metal/test/test_invitation.py index 52d0f5e8..85fc4115 100644 --- a/equinix_metal/test/test_invitation.py +++ b/equinix_metal/test/test_invitation.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.invitation import Invitation # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invitation import Invitation # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInvitation(unittest.TestCase): """Invitation unit test stubs""" @@ -36,22 +36,22 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Invitation` """ - model = equinix_metal.models.invitation.Invitation() # noqa: E501 + model = equinix_metal_t0mk.models.invitation.Invitation() # noqa: E501 if include_optional : return Invitation( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - invitation = equinix_metal.models.href.Href( + invitation = equinix_metal_t0mk.models.href.Href( href = '', ), - invited_by = equinix_metal.models.href.Href( + invited_by = equinix_metal_t0mk.models.href.Href( href = '', ), invitee = '', nonce = '', - organization = equinix_metal.models.href.Href( + organization = equinix_metal_t0mk.models.href.Href( href = '', ), projects = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], roles = [ diff --git a/equinix_metal/test/test_invitation_input.py b/equinix_metal/test/test_invitation_input.py index c7a472c1..0c2a9526 100644 --- a/equinix_metal/test/test_invitation_input.py +++ b/equinix_metal/test/test_invitation_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.invitation_input import InvitationInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invitation_input import InvitationInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInvitationInput(unittest.TestCase): """InvitationInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `InvitationInput` """ - model = equinix_metal.models.invitation_input.InvitationInput() # noqa: E501 + model = equinix_metal_t0mk.models.invitation_input.InvitationInput() # noqa: E501 if include_optional : return InvitationInput( href = '', diff --git a/equinix_metal/test/test_invitation_list.py b/equinix_metal/test/test_invitation_list.py index e19cbee5..5e260d8d 100644 --- a/equinix_metal/test/test_invitation_list.py +++ b/equinix_metal/test/test_invitation_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.invitation_list import InvitationList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invitation_list import InvitationList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInvitationList(unittest.TestCase): """InvitationList unit test stubs""" @@ -36,22 +36,22 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `InvitationList` """ - model = equinix_metal.models.invitation_list.InvitationList() # noqa: E501 + model = equinix_metal_t0mk.models.invitation_list.InvitationList() # noqa: E501 if include_optional : return InvitationList( href = '', invitations = [ - equinix_metal.models.membership.Membership( + equinix_metal_t0mk.models.membership.Membership( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), roles = [ '' ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user = equinix_metal.models.href.Href( + user = equinix_metal_t0mk.models.href.Href( href = '', ), ) ] ) diff --git a/equinix_metal/test/test_invitations_api.py b/equinix_metal/test/test_invitations_api.py index 6f7d582b..9061e601 100644 --- a/equinix_metal/test/test_invitations_api.py +++ b/equinix_metal/test/test_invitations_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.invitations_api import InvitationsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.invitations_api import InvitationsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInvitationsApi(unittest.TestCase): """InvitationsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.invitations_api.InvitationsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.invitations_api.InvitationsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_invoice.py b/equinix_metal/test/test_invoice.py index 2f3a1af7..eb810091 100644 --- a/equinix_metal/test/test_invoice.py +++ b/equinix_metal/test/test_invoice.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.invoice import Invoice # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invoice import Invoice # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInvoice(unittest.TestCase): """Invoice unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Invoice` """ - model = equinix_metal.models.invoice.Invoice() # noqa: E501 + model = equinix_metal_t0mk.models.invoice.Invoice() # noqa: E501 if include_optional : return Invoice( amount = 1.337, @@ -49,22 +49,22 @@ def make_instance(self, include_optional): href = '', id = '', items = [ - equinix_metal.models.line_item.LineItem( + equinix_metal_t0mk.models.line_item.LineItem( amount = 1.337, currency = '', description = '', details = '', href = '', - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', ) ], categories = [ @@ -80,34 +80,34 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) @@ -117,7 +117,7 @@ class = 'm3.large.x86', unit_price = 1.337, ) ], number = '', - project = equinix_metal.models.project_id_name.ProjectIdName( + project = equinix_metal_t0mk.models.project_id_name.ProjectIdName( href = '', id = '', name = '', ), diff --git a/equinix_metal/test/test_invoice_list.py b/equinix_metal/test/test_invoice_list.py index 10121c71..b9fdb7e3 100644 --- a/equinix_metal/test/test_invoice_list.py +++ b/equinix_metal/test/test_invoice_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.invoice_list import InvoiceList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.invoice_list import InvoiceList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInvoiceList(unittest.TestCase): """InvoiceList unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `InvoiceList` """ - model = equinix_metal.models.invoice_list.InvoiceList() # noqa: E501 + model = equinix_metal_t0mk.models.invoice_list.InvoiceList() # noqa: E501 if include_optional : return InvoiceList( href = '', invoices = [ - equinix_metal.models.invoice.Invoice( + equinix_metal_t0mk.models.invoice.Invoice( amount = 1.337, balance = 1.337, created_on = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(), @@ -52,22 +52,22 @@ def make_instance(self, include_optional): href = '', id = '', items = [ - equinix_metal.models.line_item.LineItem( + equinix_metal_t0mk.models.line_item.LineItem( amount = 1.337, currency = '', description = '', details = '', href = '', - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', ) ], categories = [ @@ -83,34 +83,34 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) @@ -120,7 +120,7 @@ class = 'm3.large.x86', unit_price = 1.337, ) ], number = '', - project = equinix_metal.models.project_id_name.ProjectIdName( + project = equinix_metal_t0mk.models.project_id_name.ProjectIdName( href = '', id = '', name = '', ), diff --git a/equinix_metal/test/test_invoices_api.py b/equinix_metal/test/test_invoices_api.py index d3666447..e522da5c 100644 --- a/equinix_metal/test/test_invoices_api.py +++ b/equinix_metal/test/test_invoices_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.invoices_api import InvoicesApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.invoices_api import InvoicesApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestInvoicesApi(unittest.TestCase): """InvoicesApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.invoices_api.InvoicesApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.invoices_api.InvoicesApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_ip_address.py b/equinix_metal/test/test_ip_address.py index 568e8d85..899dd612 100644 --- a/equinix_metal/test/test_ip_address.py +++ b/equinix_metal/test/test_ip_address.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_address import IPAddress # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_address import IPAddress # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPAddress(unittest.TestCase): """IPAddress unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPAddress` """ - model = equinix_metal.models.ip_address.IPAddress() # noqa: E501 + model = equinix_metal_t0mk.models.ip_address.IPAddress() # noqa: E501 if include_optional : return IPAddress( address_family = 4, diff --git a/equinix_metal/test/test_ip_addresses_api.py b/equinix_metal/test/test_ip_addresses_api.py index 8c3e5d26..302b1e91 100644 --- a/equinix_metal/test/test_ip_addresses_api.py +++ b/equinix_metal/test/test_ip_addresses_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.ip_addresses_api import IPAddressesApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.ip_addresses_api import IPAddressesApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPAddressesApi(unittest.TestCase): """IPAddressesApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.ip_addresses_api.IPAddressesApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.ip_addresses_api.IPAddressesApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_ip_assignment.py b/equinix_metal/test/test_ip_assignment.py index 718f983a..a41a9c12 100644 --- a/equinix_metal/test/test_ip_assignment.py +++ b/equinix_metal/test/test_ip_assignment.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_assignment import IPAssignment # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_assignment import IPAssignment # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPAssignment(unittest.TestCase): """IPAssignment unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPAssignment` """ - model = equinix_metal.models.ip_assignment.IPAssignment() # noqa: E501 + model = equinix_metal_t0mk.models.ip_assignment.IPAssignment() # noqa: E501 if include_optional : return IPAssignment( address = '', address_family = 56, - assigned_to = equinix_metal.models.href.Href( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), @@ -56,7 +56,7 @@ def make_instance(self, include_optional): netmask = '', network = '', next_hop = '', - parent_block = equinix_metal.models.parent_block.ParentBlock( + parent_block = equinix_metal_t0mk.models.parent_block.ParentBlock( cidr = 56, href = '', netmask = '', @@ -66,7 +66,7 @@ def make_instance(self, include_optional): ) else : return IPAssignment( - assigned_to = equinix_metal.models.href.Href( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), ) """ diff --git a/equinix_metal/test/test_ip_assignment_input.py b/equinix_metal/test/test_ip_assignment_input.py index 39ad3573..6aebc86a 100644 --- a/equinix_metal/test/test_ip_assignment_input.py +++ b/equinix_metal/test/test_ip_assignment_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_assignment_input import IPAssignmentInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_assignment_input import IPAssignmentInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPAssignmentInput(unittest.TestCase): """IPAssignmentInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPAssignmentInput` """ - model = equinix_metal.models.ip_assignment_input.IPAssignmentInput() # noqa: E501 + model = equinix_metal_t0mk.models.ip_assignment_input.IPAssignmentInput() # noqa: E501 if include_optional : return IPAssignmentInput( address = '', diff --git a/equinix_metal/test/test_ip_assignment_list.py b/equinix_metal/test/test_ip_assignment_list.py index 07a02d41..dee6f4d1 100644 --- a/equinix_metal/test/test_ip_assignment_list.py +++ b/equinix_metal/test/test_ip_assignment_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_assignment_list import IPAssignmentList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_assignment_list import IPAssignmentList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPAssignmentList(unittest.TestCase): """IPAssignmentList unit test stubs""" @@ -36,15 +36,15 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPAssignmentList` """ - model = equinix_metal.models.ip_assignment_list.IPAssignmentList() # noqa: E501 + model = equinix_metal_t0mk.models.ip_assignment_list.IPAssignmentList() # noqa: E501 if include_optional : return IPAssignmentList( href = '', ip_addresses = [ - equinix_metal.models.ip_assignment.IPAssignment( + equinix_metal_t0mk.models.ip_assignment.IPAssignment( address = '', address_family = 56, - assigned_to = equinix_metal.models.href.Href( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), @@ -59,7 +59,7 @@ def make_instance(self, include_optional): netmask = '', network = '', next_hop = '', - parent_block = equinix_metal.models.parent_block.ParentBlock( + parent_block = equinix_metal_t0mk.models.parent_block.ParentBlock( cidr = 56, href = '', netmask = '', diff --git a/equinix_metal/test/test_ip_assignment_metro.py b/equinix_metal/test/test_ip_assignment_metro.py index fe981572..3371650d 100644 --- a/equinix_metal/test/test_ip_assignment_metro.py +++ b/equinix_metal/test/test_ip_assignment_metro.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_assignment_metro import IPAssignmentMetro # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_assignment_metro import IPAssignmentMetro # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPAssignmentMetro(unittest.TestCase): """IPAssignmentMetro unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPAssignmentMetro` """ - model = equinix_metal.models.ip_assignment_metro.IPAssignmentMetro() # noqa: E501 + model = equinix_metal_t0mk.models.ip_assignment_metro.IPAssignmentMetro() # noqa: E501 if include_optional : return IPAssignmentMetro( code = '', diff --git a/equinix_metal/test/test_ip_assignment_update_input.py b/equinix_metal/test/test_ip_assignment_update_input.py index 9f885e22..10227c8a 100644 --- a/equinix_metal/test/test_ip_assignment_update_input.py +++ b/equinix_metal/test/test_ip_assignment_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_assignment_update_input import IPAssignmentUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_assignment_update_input import IPAssignmentUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPAssignmentUpdateInput(unittest.TestCase): """IPAssignmentUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPAssignmentUpdateInput` """ - model = equinix_metal.models.ip_assignment_update_input.IPAssignmentUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.ip_assignment_update_input.IPAssignmentUpdateInput() # noqa: E501 if include_optional : return IPAssignmentUpdateInput( customdata = None, diff --git a/equinix_metal/test/test_ip_availabilities_list.py b/equinix_metal/test/test_ip_availabilities_list.py index 1b7aa00a..3162bb04 100644 --- a/equinix_metal/test/test_ip_availabilities_list.py +++ b/equinix_metal/test/test_ip_availabilities_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_availabilities_list import IPAvailabilitiesList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_availabilities_list import IPAvailabilitiesList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPAvailabilitiesList(unittest.TestCase): """IPAvailabilitiesList unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPAvailabilitiesList` """ - model = equinix_metal.models.ip_availabilities_list.IPAvailabilitiesList() # noqa: E501 + model = equinix_metal_t0mk.models.ip_availabilities_list.IPAvailabilitiesList() # noqa: E501 if include_optional : return IPAvailabilitiesList( available = [ diff --git a/equinix_metal/test/test_ip_reservation.py b/equinix_metal/test/test_ip_reservation.py index 12606567..c0874157 100644 --- a/equinix_metal/test/test_ip_reservation.py +++ b/equinix_metal/test/test_ip_reservation.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_reservation import IPReservation # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_reservation import IPReservation # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPReservation(unittest.TestCase): """IPReservation unit test stubs""" @@ -36,14 +36,14 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPReservation` """ - model = equinix_metal.models.ip_reservation.IPReservation() # noqa: E501 + model = equinix_metal_t0mk.models.ip_reservation.IPReservation() # noqa: E501 if include_optional : return IPReservation( addon = True, address = '', address_family = 56, assignments = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], available = '', @@ -60,7 +60,7 @@ def make_instance(self, include_optional): id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -71,14 +71,14 @@ def make_instance(self, include_optional): metro = None, netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -86,7 +86,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -94,7 +94,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -108,10 +108,10 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.href.Href( + project_lite = equinix_metal_t0mk.models.href.Href( href = '', ), public = True, - requested_by = equinix_metal.models.href.Href( + requested_by = equinix_metal_t0mk.models.href.Href( href = '', ), state = '', tags = [ diff --git a/equinix_metal/test/test_ip_reservation_facility.py b/equinix_metal/test/test_ip_reservation_facility.py index 3a9e03af..8af41d2a 100644 --- a/equinix_metal/test/test_ip_reservation_facility.py +++ b/equinix_metal/test/test_ip_reservation_facility.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_reservation_facility import IPReservationFacility # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_reservation_facility import IPReservationFacility # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPReservationFacility(unittest.TestCase): """IPReservationFacility unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPReservationFacility` """ - model = equinix_metal.models.ip_reservation_facility.IPReservationFacility() # noqa: E501 + model = equinix_metal_t0mk.models.ip_reservation_facility.IPReservationFacility() # noqa: E501 if include_optional : return IPReservationFacility( - address = equinix_metal.models.address.Address( + address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), diff --git a/equinix_metal/test/test_ip_reservation_list.py b/equinix_metal/test/test_ip_reservation_list.py index c4c570ee..88071469 100644 --- a/equinix_metal/test/test_ip_reservation_list.py +++ b/equinix_metal/test/test_ip_reservation_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_reservation_list import IPReservationList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_reservation_list import IPReservationList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPReservationList(unittest.TestCase): """IPReservationList unit test stubs""" @@ -36,19 +36,19 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPReservationList` """ - model = equinix_metal.models.ip_reservation_list.IPReservationList() # noqa: E501 + model = equinix_metal_t0mk.models.ip_reservation_list.IPReservationList() # noqa: E501 if include_optional : return IPReservationList( href = '', ip_addresses = [ null ], - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , diff --git a/equinix_metal/test/test_ip_reservation_list_ip_addresses_inner.py b/equinix_metal/test/test_ip_reservation_list_ip_addresses_inner.py index 38386df4..71efc3b8 100644 --- a/equinix_metal/test/test_ip_reservation_list_ip_addresses_inner.py +++ b/equinix_metal/test/test_ip_reservation_list_ip_addresses_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_reservation_list_ip_addresses_inner import IPReservationListIpAddressesInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_reservation_list_ip_addresses_inner import IPReservationListIpAddressesInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPReservationListIpAddressesInner(unittest.TestCase): """IPReservationListIpAddressesInner unit test stubs""" @@ -36,21 +36,21 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPReservationListIpAddressesInner` """ - model = equinix_metal.models.ip_reservation_list_ip_addresses_inner.IPReservationListIpAddressesInner() # noqa: E501 + model = equinix_metal_t0mk.models.ip_reservation_list_ip_addresses_inner.IPReservationListIpAddressesInner() # noqa: E501 if include_optional : return IPReservationListIpAddressesInner( addon = True, address = '', address_family = 56, assignments = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], available = '', bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', enabled = True, facility = None, @@ -60,7 +60,7 @@ def make_instance(self, include_optional): id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -68,7 +68,7 @@ def make_instance(self, include_optional): state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ), - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -76,14 +76,14 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -91,7 +91,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -99,7 +99,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -113,14 +113,14 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -128,7 +128,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -136,7 +136,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -151,31 +151,31 @@ def make_instance(self, include_optional): ], ), public = True, - requested_by = equinix_metal.models.href.Href( + requested_by = equinix_metal_t0mk.models.href.Href( href = '', ), state = '', tags = [ '' ], type = 'global_ipv4', - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -199,19 +199,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -220,7 +220,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -228,7 +228,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -247,7 +247,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -264,7 +264,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -281,22 +281,22 @@ def make_instance(self, include_optional): else : return IPReservationListIpAddressesInner( type = 'global_ipv4', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -320,19 +320,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -341,7 +341,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -349,7 +349,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -368,7 +368,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -385,7 +385,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_ip_reservation_metro.py b/equinix_metal/test/test_ip_reservation_metro.py index 82bbf898..7289325a 100644 --- a/equinix_metal/test/test_ip_reservation_metro.py +++ b/equinix_metal/test/test_ip_reservation_metro.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_reservation_metro import IPReservationMetro # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_reservation_metro import IPReservationMetro # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPReservationMetro(unittest.TestCase): """IPReservationMetro unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPReservationMetro` """ - model = equinix_metal.models.ip_reservation_metro.IPReservationMetro() # noqa: E501 + model = equinix_metal_t0mk.models.ip_reservation_metro.IPReservationMetro() # noqa: E501 if include_optional : return IPReservationMetro( code = '', diff --git a/equinix_metal/test/test_ip_reservation_request_input.py b/equinix_metal/test/test_ip_reservation_request_input.py index bbc7954b..a60c4442 100644 --- a/equinix_metal/test/test_ip_reservation_request_input.py +++ b/equinix_metal/test/test_ip_reservation_request_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ip_reservation_request_input import IPReservationRequestInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ip_reservation_request_input import IPReservationRequestInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestIPReservationRequestInput(unittest.TestCase): """IPReservationRequestInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `IPReservationRequestInput` """ - model = equinix_metal.models.ip_reservation_request_input.IPReservationRequestInput() # noqa: E501 + model = equinix_metal_t0mk.models.ip_reservation_request_input.IPReservationRequestInput() # noqa: E501 if include_optional : return IPReservationRequestInput( comments = '', diff --git a/equinix_metal/test/test_license.py b/equinix_metal/test/test_license.py index add0c229..4a54e0df 100644 --- a/equinix_metal/test/test_license.py +++ b/equinix_metal/test/test_license.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.license import License # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.license import License # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestLicense(unittest.TestCase): """License unit test stubs""" @@ -36,16 +36,16 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `License` """ - model = equinix_metal.models.license.License() # noqa: E501 + model = equinix_metal_t0mk.models.license.License() # noqa: E501 if include_optional : return License( description = '', href = '', id = '', license_key = '', - licensee_product = equinix_metal.models.href.Href( + licensee_product = equinix_metal_t0mk.models.href.Href( href = '', ), - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), size = 1.337 ) diff --git a/equinix_metal/test/test_license_create_input.py b/equinix_metal/test/test_license_create_input.py index 7bff7cc7..8efac196 100644 --- a/equinix_metal/test/test_license_create_input.py +++ b/equinix_metal/test/test_license_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.license_create_input import LicenseCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.license_create_input import LicenseCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestLicenseCreateInput(unittest.TestCase): """LicenseCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `LicenseCreateInput` """ - model = equinix_metal.models.license_create_input.LicenseCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.license_create_input.LicenseCreateInput() # noqa: E501 if include_optional : return LicenseCreateInput( description = '', diff --git a/equinix_metal/test/test_license_list.py b/equinix_metal/test/test_license_list.py index f66f3e90..14c632a2 100644 --- a/equinix_metal/test/test_license_list.py +++ b/equinix_metal/test/test_license_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.license_list import LicenseList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.license_list import LicenseList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestLicenseList(unittest.TestCase): """LicenseList unit test stubs""" @@ -36,19 +36,19 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `LicenseList` """ - model = equinix_metal.models.license_list.LicenseList() # noqa: E501 + model = equinix_metal_t0mk.models.license_list.LicenseList() # noqa: E501 if include_optional : return LicenseList( href = '', licenses = [ - equinix_metal.models.license.License( + equinix_metal_t0mk.models.license.License( description = '', href = '', id = '', license_key = '', - licensee_product = equinix_metal.models.href.Href( + licensee_product = equinix_metal_t0mk.models.href.Href( href = '', ), - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), size = 1.337, ) ] diff --git a/equinix_metal/test/test_license_update_input.py b/equinix_metal/test/test_license_update_input.py index cb2792df..0c45b599 100644 --- a/equinix_metal/test/test_license_update_input.py +++ b/equinix_metal/test/test_license_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.license_update_input import LicenseUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.license_update_input import LicenseUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestLicenseUpdateInput(unittest.TestCase): """LicenseUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `LicenseUpdateInput` """ - model = equinix_metal.models.license_update_input.LicenseUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.license_update_input.LicenseUpdateInput() # noqa: E501 if include_optional : return LicenseUpdateInput( description = '', diff --git a/equinix_metal/test/test_licenses_api.py b/equinix_metal/test/test_licenses_api.py index 06333a01..6f7644c5 100644 --- a/equinix_metal/test/test_licenses_api.py +++ b/equinix_metal/test/test_licenses_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.licenses_api import LicensesApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.licenses_api import LicensesApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestLicensesApi(unittest.TestCase): """LicensesApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.licenses_api.LicensesApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.licenses_api.LicensesApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_line_item.py b/equinix_metal/test/test_line_item.py index 388ccc41..33de31f5 100644 --- a/equinix_metal/test/test_line_item.py +++ b/equinix_metal/test/test_line_item.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.line_item import LineItem # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.line_item import LineItem # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestLineItem(unittest.TestCase): """LineItem unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `LineItem` """ - model = equinix_metal.models.line_item.LineItem() # noqa: E501 + model = equinix_metal_t0mk.models.line_item.LineItem() # noqa: E501 if include_optional : return LineItem( amount = 1.337, @@ -44,16 +44,16 @@ def make_instance(self, include_optional): description = '', details = '', href = '', - plan = equinix_metal.models.plan.Plan( + plan = equinix_metal_t0mk.models.plan.Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', ) ], categories = [ @@ -69,34 +69,34 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) diff --git a/equinix_metal/test/test_membership.py b/equinix_metal/test/test_membership.py index 6a4e3830..a4806d06 100644 --- a/equinix_metal/test/test_membership.py +++ b/equinix_metal/test/test_membership.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.membership import Membership # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.membership import Membership # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMembership(unittest.TestCase): """Membership unit test stubs""" @@ -36,19 +36,19 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Membership` """ - model = equinix_metal.models.membership.Membership() # noqa: E501 + model = equinix_metal_t0mk.models.membership.Membership() # noqa: E501 if include_optional : return Membership( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), roles = [ '' ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user = equinix_metal.models.href.Href( + user = equinix_metal_t0mk.models.href.Href( href = '', ) ) else : diff --git a/equinix_metal/test/test_membership_input.py b/equinix_metal/test/test_membership_input.py index f4ae0f45..9d2f941a 100644 --- a/equinix_metal/test/test_membership_input.py +++ b/equinix_metal/test/test_membership_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.membership_input import MembershipInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.membership_input import MembershipInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMembershipInput(unittest.TestCase): """MembershipInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MembershipInput` """ - model = equinix_metal.models.membership_input.MembershipInput() # noqa: E501 + model = equinix_metal_t0mk.models.membership_input.MembershipInput() # noqa: E501 if include_optional : return MembershipInput( href = '', diff --git a/equinix_metal/test/test_membership_list.py b/equinix_metal/test/test_membership_list.py index c2512bc7..5ec2d438 100644 --- a/equinix_metal/test/test_membership_list.py +++ b/equinix_metal/test/test_membership_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.membership_list import MembershipList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.membership_list import MembershipList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMembershipList(unittest.TestCase): """MembershipList unit test stubs""" @@ -36,22 +36,22 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MembershipList` """ - model = equinix_metal.models.membership_list.MembershipList() # noqa: E501 + model = equinix_metal_t0mk.models.membership_list.MembershipList() # noqa: E501 if include_optional : return MembershipList( href = '', memberships = [ - equinix_metal.models.membership.Membership( + equinix_metal_t0mk.models.membership.Membership( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), roles = [ '' ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - user = equinix_metal.models.href.Href( + user = equinix_metal_t0mk.models.href.Href( href = '', ), ) ] ) diff --git a/equinix_metal/test/test_memberships_api.py b/equinix_metal/test/test_memberships_api.py index d32e5121..43573054 100644 --- a/equinix_metal/test/test_memberships_api.py +++ b/equinix_metal/test/test_memberships_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.memberships_api import MembershipsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.memberships_api import MembershipsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMembershipsApi(unittest.TestCase): """MembershipsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.memberships_api.MembershipsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.memberships_api.MembershipsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_meta.py b/equinix_metal/test/test_meta.py index dd325326..0a5a2f0a 100644 --- a/equinix_metal/test/test_meta.py +++ b/equinix_metal/test/test_meta.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.meta import Meta # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.meta import Meta # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMeta(unittest.TestCase): """Meta unit test stubs""" @@ -36,21 +36,21 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Meta` """ - model = equinix_metal.models.meta.Meta() # noqa: E501 + model = equinix_metal_t0mk.models.meta.Meta() # noqa: E501 if include_optional : return Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, - next = equinix_metal.models.href.Href( + next = equinix_metal_t0mk.models.href.Href( href = '', ), - previous = equinix_metal.models.href.Href( + previous = equinix_metal_t0mk.models.href.Href( href = '', ), - var_self = equinix_metal.models.href.Href( + var_self = equinix_metal_t0mk.models.href.Href( href = '', ), total = 56 ) diff --git a/equinix_metal/test/test_metadata.py b/equinix_metal/test/test_metadata.py index 22655ed7..fe0cde0c 100644 --- a/equinix_metal/test/test_metadata.py +++ b/equinix_metal/test/test_metadata.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metadata import Metadata # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metadata import Metadata # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetadata(unittest.TestCase): """Metadata unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Metadata` """ - model = equinix_metal.models.metadata.Metadata() # noqa: E501 + model = equinix_metal_t0mk.models.metadata.Metadata() # noqa: E501 if include_optional : return Metadata( var_class = '', @@ -47,7 +47,7 @@ def make_instance(self, include_optional): id = '', iqn = '', metro = '', - network = equinix_metal.models.metadata_network.Metadata_network( + network = equinix_metal_t0mk.models.metadata_network.Metadata_network( addresses = [ '' ], @@ -55,8 +55,8 @@ def make_instance(self, include_optional): interfaces = [ None ], - network = equinix_metal.models.metadata_network_network.Metadata_network_network( - bonding = equinix_metal.models.metadata_network_network_bonding.Metadata_network_network_bonding( + network = equinix_metal_t0mk.models.metadata_network_network.Metadata_network_network( + bonding = equinix_metal_t0mk.models.metadata_network_network_bonding.Metadata_network_network_bonding( href = '', link_aggregation = '', mac = '', diff --git a/equinix_metal/test/test_metadata_network.py b/equinix_metal/test/test_metadata_network.py index 5a04bbaa..29c120d3 100644 --- a/equinix_metal/test/test_metadata_network.py +++ b/equinix_metal/test/test_metadata_network.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metadata_network import MetadataNetwork # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metadata_network import MetadataNetwork # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetadataNetwork(unittest.TestCase): """MetadataNetwork unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetadataNetwork` """ - model = equinix_metal.models.metadata_network.MetadataNetwork() # noqa: E501 + model = equinix_metal_t0mk.models.metadata_network.MetadataNetwork() # noqa: E501 if include_optional : return MetadataNetwork( addresses = [ @@ -46,8 +46,8 @@ def make_instance(self, include_optional): interfaces = [ None ], - network = equinix_metal.models.metadata_network_network.Metadata_network_network( - bonding = equinix_metal.models.metadata_network_network_bonding.Metadata_network_network_bonding( + network = equinix_metal_t0mk.models.metadata_network_network.Metadata_network_network( + bonding = equinix_metal_t0mk.models.metadata_network_network_bonding.Metadata_network_network_bonding( href = '', link_aggregation = '', mac = '', diff --git a/equinix_metal/test/test_metadata_network_network.py b/equinix_metal/test/test_metadata_network_network.py index 25a35ba6..7faa494e 100644 --- a/equinix_metal/test/test_metadata_network_network.py +++ b/equinix_metal/test/test_metadata_network_network.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metadata_network_network import MetadataNetworkNetwork # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metadata_network_network import MetadataNetworkNetwork # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetadataNetworkNetwork(unittest.TestCase): """MetadataNetworkNetwork unit test stubs""" @@ -36,10 +36,10 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetadataNetworkNetwork` """ - model = equinix_metal.models.metadata_network_network.MetadataNetworkNetwork() # noqa: E501 + model = equinix_metal_t0mk.models.metadata_network_network.MetadataNetworkNetwork() # noqa: E501 if include_optional : return MetadataNetworkNetwork( - bonding = equinix_metal.models.metadata_network_network_bonding.Metadata_network_network_bonding( + bonding = equinix_metal_t0mk.models.metadata_network_network_bonding.Metadata_network_network_bonding( href = '', link_aggregation = '', mac = '', diff --git a/equinix_metal/test/test_metadata_network_network_bonding.py b/equinix_metal/test/test_metadata_network_network_bonding.py index d0b5a18b..2399d758 100644 --- a/equinix_metal/test/test_metadata_network_network_bonding.py +++ b/equinix_metal/test/test_metadata_network_network_bonding.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metadata_network_network_bonding import MetadataNetworkNetworkBonding # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metadata_network_network_bonding import MetadataNetworkNetworkBonding # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetadataNetworkNetworkBonding(unittest.TestCase): """MetadataNetworkNetworkBonding unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetadataNetworkNetworkBonding` """ - model = equinix_metal.models.metadata_network_network_bonding.MetadataNetworkNetworkBonding() # noqa: E501 + model = equinix_metal_t0mk.models.metadata_network_network_bonding.MetadataNetworkNetworkBonding() # noqa: E501 if include_optional : return MetadataNetworkNetworkBonding( href = '', diff --git a/equinix_metal/test/test_metal_gateway.py b/equinix_metal/test/test_metal_gateway.py index 77d8eca9..7c9daffb 100644 --- a/equinix_metal/test/test_metal_gateway.py +++ b/equinix_metal/test/test_metal_gateway.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metal_gateway import MetalGateway # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metal_gateway import MetalGateway # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetalGateway(unittest.TestCase): """MetalGateway unit test stubs""" @@ -36,27 +36,27 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetalGateway` """ - model = equinix_metal.models.metal_gateway.MetalGateway() # noqa: E501 + model = equinix_metal_t0mk.models.metal_gateway.MetalGateway() # noqa: E501 if include_optional : return MetalGateway( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', - ip_reservation = equinix_metal.models.ip_reservation.IPReservation( + ip_reservation = equinix_metal_t0mk.models.ip_reservation.IPReservation( addon = True, address = '', address_family = 56, assignments = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], available = '', bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', enabled = True, facility = null, @@ -66,7 +66,7 @@ def make_instance(self, include_optional): id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -77,12 +77,12 @@ def make_instance(self, include_optional): metro = null, netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -91,7 +91,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -99,7 +99,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -121,14 +121,14 @@ def make_instance(self, include_optional): '' ], type = 'global_ipv4', ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -136,7 +136,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -144,7 +144,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -160,12 +160,12 @@ def make_instance(self, include_optional): ], ), state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', @@ -173,7 +173,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', diff --git a/equinix_metal/test/test_metal_gateway_create_input.py b/equinix_metal/test/test_metal_gateway_create_input.py index 9eaeeac8..13f3614a 100644 --- a/equinix_metal/test/test_metal_gateway_create_input.py +++ b/equinix_metal/test/test_metal_gateway_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metal_gateway_create_input import MetalGatewayCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metal_gateway_create_input import MetalGatewayCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetalGatewayCreateInput(unittest.TestCase): """MetalGatewayCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetalGatewayCreateInput` """ - model = equinix_metal.models.metal_gateway_create_input.MetalGatewayCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.metal_gateway_create_input.MetalGatewayCreateInput() # noqa: E501 if include_optional : return MetalGatewayCreateInput( href = '', diff --git a/equinix_metal/test/test_metal_gateway_elastic_ip_create_input.py b/equinix_metal/test/test_metal_gateway_elastic_ip_create_input.py index 72a02e52..4adbe837 100644 --- a/equinix_metal/test/test_metal_gateway_elastic_ip_create_input.py +++ b/equinix_metal/test/test_metal_gateway_elastic_ip_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metal_gateway_elastic_ip_create_input import MetalGatewayElasticIpCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetalGatewayElasticIpCreateInput(unittest.TestCase): """MetalGatewayElasticIpCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetalGatewayElasticIpCreateInput` """ - model = equinix_metal.models.metal_gateway_elastic_ip_create_input.MetalGatewayElasticIpCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.metal_gateway_elastic_ip_create_input.MetalGatewayElasticIpCreateInput() # noqa: E501 if include_optional : return MetalGatewayElasticIpCreateInput( address = '147.75.234.8/31', diff --git a/equinix_metal/test/test_metal_gateway_list.py b/equinix_metal/test/test_metal_gateway_list.py index 2b6887ca..78a2f0db 100644 --- a/equinix_metal/test/test_metal_gateway_list.py +++ b/equinix_metal/test/test_metal_gateway_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metal_gateway_list import MetalGatewayList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metal_gateway_list import MetalGatewayList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetalGatewayList(unittest.TestCase): """MetalGatewayList unit test stubs""" @@ -36,16 +36,16 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetalGatewayList` """ - model = equinix_metal.models.metal_gateway_list.MetalGatewayList() # noqa: E501 + model = equinix_metal_t0mk.models.metal_gateway_list.MetalGatewayList() # noqa: E501 if include_optional : return MetalGatewayList( href = '', - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , diff --git a/equinix_metal/test/test_metal_gateway_list_metal_gateways_inner.py b/equinix_metal/test/test_metal_gateway_list_metal_gateways_inner.py index 258aa5f2..8d2e27f3 100644 --- a/equinix_metal/test/test_metal_gateway_list_metal_gateways_inner.py +++ b/equinix_metal/test/test_metal_gateway_list_metal_gateways_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metal_gateway_list_metal_gateways_inner import MetalGatewayListMetalGatewaysInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metal_gateway_list_metal_gateways_inner import MetalGatewayListMetalGatewaysInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetalGatewayListMetalGatewaysInner(unittest.TestCase): """MetalGatewayListMetalGatewaysInner unit test stubs""" @@ -36,30 +36,30 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetalGatewayListMetalGatewaysInner` """ - model = equinix_metal.models.metal_gateway_list_metal_gateways_inner.MetalGatewayListMetalGatewaysInner() # noqa: E501 + model = equinix_metal_t0mk.models.metal_gateway_list_metal_gateways_inner.MetalGatewayListMetalGatewaysInner() # noqa: E501 if include_optional : return MetalGatewayListMetalGatewaysInner( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', - ip_reservation = equinix_metal.models.vrf_ip_reservation.VrfIpReservation( + ip_reservation = equinix_metal_t0mk.models.vrf_ip_reservation.VrfIpReservation( address = '', address_family = 56, bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', gateway = '', href = '', id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -67,7 +67,7 @@ def make_instance(self, include_optional): state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ), - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -75,12 +75,12 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -89,7 +89,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -97,7 +97,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -111,15 +111,15 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), public = True, @@ -128,7 +128,7 @@ def make_instance(self, include_optional): '' ], type = 'vrf', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -144,7 +144,7 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -161,7 +161,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -174,14 +174,14 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) ], ), ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -189,7 +189,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -197,7 +197,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -213,12 +213,12 @@ def make_instance(self, include_optional): ], ), state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', @@ -226,7 +226,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -241,22 +241,22 @@ def make_instance(self, include_optional): '' ], vxlan = 56, ), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -280,19 +280,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -301,7 +301,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -309,7 +309,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -328,7 +328,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -345,7 +345,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_metal_gateway_lite.py b/equinix_metal/test/test_metal_gateway_lite.py index 6c2e1e6c..f73d0bbd 100644 --- a/equinix_metal/test/test_metal_gateway_lite.py +++ b/equinix_metal/test/test_metal_gateway_lite.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metal_gateway_lite import MetalGatewayLite # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metal_gateway_lite import MetalGatewayLite # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetalGatewayLite(unittest.TestCase): """MetalGatewayLite unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetalGatewayLite` """ - model = equinix_metal.models.metal_gateway_lite.MetalGatewayLite() # noqa: E501 + model = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite() # noqa: E501 if include_optional : return MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), diff --git a/equinix_metal/test/test_metal_gateways_api.py b/equinix_metal/test/test_metal_gateways_api.py index c198986d..b676a8c7 100644 --- a/equinix_metal/test/test_metal_gateways_api.py +++ b/equinix_metal/test/test_metal_gateways_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.metal_gateways_api import MetalGatewaysApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.metal_gateways_api import MetalGatewaysApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetalGatewaysApi(unittest.TestCase): """MetalGatewaysApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.metal_gateways_api.MetalGatewaysApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.metal_gateways_api.MetalGatewaysApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_metro.py b/equinix_metal/test/test_metro.py index f4df6683..d64f2749 100644 --- a/equinix_metal/test/test_metro.py +++ b/equinix_metal/test/test_metro.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metro import Metro # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metro import Metro # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetro(unittest.TestCase): """Metro unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Metro` """ - model = equinix_metal.models.metro.Metro() # noqa: E501 + model = equinix_metal_t0mk.models.metro.Metro() # noqa: E501 if include_optional : return Metro( code = '', diff --git a/equinix_metal/test/test_metro_input.py b/equinix_metal/test/test_metro_input.py index 69d3b50f..ecf03608 100644 --- a/equinix_metal/test/test_metro_input.py +++ b/equinix_metal/test/test_metro_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metro_input import MetroInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metro_input import MetroInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetroInput(unittest.TestCase): """MetroInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetroInput` """ - model = equinix_metal.models.metro_input.MetroInput() # noqa: E501 + model = equinix_metal_t0mk.models.metro_input.MetroInput() # noqa: E501 if include_optional : return MetroInput( href = '', diff --git a/equinix_metal/test/test_metro_list.py b/equinix_metal/test/test_metro_list.py index e228a8bc..ca9353f0 100644 --- a/equinix_metal/test/test_metro_list.py +++ b/equinix_metal/test/test_metro_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.metro_list import MetroList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.metro_list import MetroList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetroList(unittest.TestCase): """MetroList unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MetroList` """ - model = equinix_metal.models.metro_list.MetroList() # noqa: E501 + model = equinix_metal_t0mk.models.metro_list.MetroList() # noqa: E501 if include_optional : return MetroList( href = '', metros = [ - equinix_metal.models.metro.Metro( + equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', diff --git a/equinix_metal/test/test_metros_api.py b/equinix_metal/test/test_metros_api.py index 4e78e568..9d3c4315 100644 --- a/equinix_metal/test/test_metros_api.py +++ b/equinix_metal/test/test_metros_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.metros_api import MetrosApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.metros_api import MetrosApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMetrosApi(unittest.TestCase): """MetrosApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.metros_api.MetrosApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.metros_api.MetrosApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_mount.py b/equinix_metal/test/test_mount.py index d836e9e7..1361296f 100644 --- a/equinix_metal/test/test_mount.py +++ b/equinix_metal/test/test_mount.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.mount import Mount # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.mount import Mount # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMount(unittest.TestCase): """Mount unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Mount` """ - model = equinix_metal.models.mount.Mount() # noqa: E501 + model = equinix_metal_t0mk.models.mount.Mount() # noqa: E501 if include_optional : return Mount( device = '', diff --git a/equinix_metal/test/test_move_hardware_reservation_request.py b/equinix_metal/test/test_move_hardware_reservation_request.py index 96c74bf1..187e6455 100644 --- a/equinix_metal/test/test_move_hardware_reservation_request.py +++ b/equinix_metal/test/test_move_hardware_reservation_request.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.move_hardware_reservation_request import MoveHardwareReservationRequest # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.move_hardware_reservation_request import MoveHardwareReservationRequest # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestMoveHardwareReservationRequest(unittest.TestCase): """MoveHardwareReservationRequest unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `MoveHardwareReservationRequest` """ - model = equinix_metal.models.move_hardware_reservation_request.MoveHardwareReservationRequest() # noqa: E501 + model = equinix_metal_t0mk.models.move_hardware_reservation_request.MoveHardwareReservationRequest() # noqa: E501 if include_optional : return MoveHardwareReservationRequest( href = '', diff --git a/equinix_metal/test/test_new_password.py b/equinix_metal/test/test_new_password.py index e675f7fb..8de4437a 100644 --- a/equinix_metal/test/test_new_password.py +++ b/equinix_metal/test/test_new_password.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.new_password import NewPassword # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.new_password import NewPassword # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestNewPassword(unittest.TestCase): """NewPassword unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `NewPassword` """ - model = equinix_metal.models.new_password.NewPassword() # noqa: E501 + model = equinix_metal_t0mk.models.new_password.NewPassword() # noqa: E501 if include_optional : return NewPassword( href = '', diff --git a/equinix_metal/test/test_operating_system.py b/equinix_metal/test/test_operating_system.py index 73313a4d..9fdf5cfc 100644 --- a/equinix_metal/test/test_operating_system.py +++ b/equinix_metal/test/test_operating_system.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.operating_system import OperatingSystem # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.operating_system import OperatingSystem # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestOperatingSystem(unittest.TestCase): """OperatingSystem unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `OperatingSystem` """ - model = equinix_metal.models.operating_system.OperatingSystem() # noqa: E501 + model = equinix_metal_t0mk.models.operating_system.OperatingSystem() # noqa: E501 if include_optional : return OperatingSystem( default_operating_system = True, @@ -47,7 +47,7 @@ def make_instance(self, include_optional): licensed = True, name = '', preinstallable = True, - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), provisionable_on = [ '' ], diff --git a/equinix_metal/test/test_operating_system_list.py b/equinix_metal/test/test_operating_system_list.py index 83be70f6..25416c52 100644 --- a/equinix_metal/test/test_operating_system_list.py +++ b/equinix_metal/test/test_operating_system_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.operating_system_list import OperatingSystemList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.operating_system_list import OperatingSystemList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestOperatingSystemList(unittest.TestCase): """OperatingSystemList unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `OperatingSystemList` """ - model = equinix_metal.models.operating_system_list.OperatingSystemList() # noqa: E501 + model = equinix_metal_t0mk.models.operating_system_list.OperatingSystemList() # noqa: E501 if include_optional : return OperatingSystemList( href = '', operating_systems = [ - equinix_metal.models.operating_system.OperatingSystem( + equinix_metal_t0mk.models.operating_system.OperatingSystem( default_operating_system = True, distro = '', distro_label = '', @@ -50,7 +50,7 @@ def make_instance(self, include_optional): licensed = True, name = '', preinstallable = True, - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), provisionable_on = [ '' ], diff --git a/equinix_metal/test/test_operating_systems_api.py b/equinix_metal/test/test_operating_systems_api.py index 54276e4f..719f5449 100644 --- a/equinix_metal/test/test_operating_systems_api.py +++ b/equinix_metal/test/test_operating_systems_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.operating_systems_api import OperatingSystemsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.operating_systems_api import OperatingSystemsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestOperatingSystemsApi(unittest.TestCase): """OperatingSystemsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.operating_systems_api.OperatingSystemsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.operating_systems_api.OperatingSystemsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_organization.py b/equinix_metal/test/test_organization.py index a249e980..8c0b9407 100644 --- a/equinix_metal/test/test_organization.py +++ b/equinix_metal/test/test_organization.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.organization import Organization # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.organization import Organization # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestOrganization(unittest.TestCase): """Organization unit test stubs""" @@ -36,14 +36,14 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Organization` """ - model = equinix_metal.models.organization.Organization() # noqa: E501 + model = equinix_metal_t0mk.models.organization.Organization() # noqa: E501 if include_optional : return Organization( - address = equinix_metal.models.address.Address( + address = equinix_metal_t0mk.models.address.Address( address = '', address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), @@ -51,11 +51,11 @@ def make_instance(self, include_optional): href = '', state = '', zip_code = '', ), - billing_address = equinix_metal.models.address.Address( + billing_address = equinix_metal_t0mk.models.address.Address( address = '', address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), @@ -72,16 +72,16 @@ def make_instance(self, include_optional): id = '', logo = '', members = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], memberships = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], name = '', projects = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], terms = 56, diff --git a/equinix_metal/test/test_organization_input.py b/equinix_metal/test/test_organization_input.py index da8bdd64..1d467dcb 100644 --- a/equinix_metal/test/test_organization_input.py +++ b/equinix_metal/test/test_organization_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.organization_input import OrganizationInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.organization_input import OrganizationInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestOrganizationInput(unittest.TestCase): """OrganizationInput unit test stubs""" @@ -36,14 +36,14 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `OrganizationInput` """ - model = equinix_metal.models.organization_input.OrganizationInput() # noqa: E501 + model = equinix_metal_t0mk.models.organization_input.OrganizationInput() # noqa: E501 if include_optional : return OrganizationInput( - address = equinix_metal.models.address.Address( + address = equinix_metal_t0mk.models.address.Address( address = '', address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), @@ -51,11 +51,11 @@ def make_instance(self, include_optional): href = '', state = '', zip_code = '', ), - billing_address = equinix_metal.models.address.Address( + billing_address = equinix_metal_t0mk.models.address.Address( address = '', address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), diff --git a/equinix_metal/test/test_organization_list.py b/equinix_metal/test/test_organization_list.py index 7a75b291..7a805de3 100644 --- a/equinix_metal/test/test_organization_list.py +++ b/equinix_metal/test/test_organization_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.organization_list import OrganizationList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.organization_list import OrganizationList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestOrganizationList(unittest.TestCase): """OrganizationList unit test stubs""" @@ -36,16 +36,16 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `OrganizationList` """ - model = equinix_metal.models.organization_list.OrganizationList() # noqa: E501 + model = equinix_metal_t0mk.models.organization_list.OrganizationList() # noqa: E501 if include_optional : return OrganizationList( href = '', - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , @@ -53,11 +53,11 @@ def make_instance(self, include_optional): self = , total = 56, ), organizations = [ - equinix_metal.models.organization.Organization( - address = equinix_metal.models.address.Address( + equinix_metal_t0mk.models.organization.Organization( + address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', - coordinates = equinix_metal.models.coordinates.Coordinates( + coordinates = equinix_metal_t0mk.models.coordinates.Coordinates( href = '', latitude = '', longitude = '', ), @@ -65,7 +65,7 @@ def make_instance(self, include_optional): href = '', state = '', zip_code = '', ), - billing_address = equinix_metal.models.address.Address( + billing_address = equinix_metal_t0mk.models.address.Address( address2 = '', city = '', country = '', @@ -74,18 +74,18 @@ def make_instance(self, include_optional): zip_code = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), credit_amount = 1.337, - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), description = '', enforce_2fa_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', logo = '', members = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], memberships = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], name = '', diff --git a/equinix_metal/test/test_organizations_api.py b/equinix_metal/test/test_organizations_api.py index 8fb86fe1..b4a85b81 100644 --- a/equinix_metal/test/test_organizations_api.py +++ b/equinix_metal/test/test_organizations_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.organizations_api import OrganizationsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.organizations_api import OrganizationsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestOrganizationsApi(unittest.TestCase): """OrganizationsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.organizations_api.OrganizationsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.organizations_api.OrganizationsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_otps_api.py b/equinix_metal/test/test_otps_api.py index 9da9dc92..306cb7a6 100644 --- a/equinix_metal/test/test_otps_api.py +++ b/equinix_metal/test/test_otps_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.otps_api import OTPsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.otps_api import OTPsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestOTPsApi(unittest.TestCase): """OTPsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.otps_api.OTPsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.otps_api.OTPsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_parent_block.py b/equinix_metal/test/test_parent_block.py index e1af4a18..8e7536e3 100644 --- a/equinix_metal/test/test_parent_block.py +++ b/equinix_metal/test/test_parent_block.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.parent_block import ParentBlock # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.parent_block import ParentBlock # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestParentBlock(unittest.TestCase): """ParentBlock unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `ParentBlock` """ - model = equinix_metal.models.parent_block.ParentBlock() # noqa: E501 + model = equinix_metal_t0mk.models.parent_block.ParentBlock() # noqa: E501 if include_optional : return ParentBlock( cidr = 56, diff --git a/equinix_metal/test/test_partition.py b/equinix_metal/test/test_partition.py index 88ac268c..c8e5f387 100644 --- a/equinix_metal/test/test_partition.py +++ b/equinix_metal/test/test_partition.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.partition import Partition # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.partition import Partition # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPartition(unittest.TestCase): """Partition unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Partition` """ - model = equinix_metal.models.partition.Partition() # noqa: E501 + model = equinix_metal_t0mk.models.partition.Partition() # noqa: E501 if include_optional : return Partition( href = '', diff --git a/equinix_metal/test/test_password_reset_tokens_api.py b/equinix_metal/test/test_password_reset_tokens_api.py index 90ef38f0..a6057fc8 100644 --- a/equinix_metal/test/test_password_reset_tokens_api.py +++ b/equinix_metal/test/test_password_reset_tokens_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.password_reset_tokens_api import PasswordResetTokensApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.password_reset_tokens_api import PasswordResetTokensApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPasswordResetTokensApi(unittest.TestCase): """PasswordResetTokensApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.password_reset_tokens_api.PasswordResetTokensApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.password_reset_tokens_api.PasswordResetTokensApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_payment_method.py b/equinix_metal/test/test_payment_method.py index 1e3b926d..fdb55ad6 100644 --- a/equinix_metal/test/test_payment_method.py +++ b/equinix_metal/test/test_payment_method.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.payment_method import PaymentMethod # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.payment_method import PaymentMethod # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPaymentMethod(unittest.TestCase): """PaymentMethod unit test stubs""" @@ -36,10 +36,10 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PaymentMethod` """ - model = equinix_metal.models.payment_method.PaymentMethod() # noqa: E501 + model = equinix_metal_t0mk.models.payment_method.PaymentMethod() # noqa: E501 if include_optional : return PaymentMethod( - billing_address = equinix_metal.models.payment_method_billing_address.PaymentMethodBillingAddress( + billing_address = equinix_metal_t0mk.models.payment_method_billing_address.PaymentMethodBillingAddress( country_code_alpha2 = '', href = '', postal_code = '', @@ -47,7 +47,7 @@ def make_instance(self, include_optional): card_type = '', cardholder_name = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by_user = equinix_metal.models.href.Href( + created_by_user = equinix_metal_t0mk.models.href.Href( href = '', ), default = True, email = '', @@ -56,10 +56,10 @@ def make_instance(self, include_optional): href = '', id = '', name = '', - organization = equinix_metal.models.href.Href( + organization = equinix_metal_t0mk.models.href.Href( href = '', ), projects = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], type = '', diff --git a/equinix_metal/test/test_payment_method_billing_address.py b/equinix_metal/test/test_payment_method_billing_address.py index 100539fb..c3b85b1b 100644 --- a/equinix_metal/test/test_payment_method_billing_address.py +++ b/equinix_metal/test/test_payment_method_billing_address.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.payment_method_billing_address import PaymentMethodBillingAddress # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.payment_method_billing_address import PaymentMethodBillingAddress # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPaymentMethodBillingAddress(unittest.TestCase): """PaymentMethodBillingAddress unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PaymentMethodBillingAddress` """ - model = equinix_metal.models.payment_method_billing_address.PaymentMethodBillingAddress() # noqa: E501 + model = equinix_metal_t0mk.models.payment_method_billing_address.PaymentMethodBillingAddress() # noqa: E501 if include_optional : return PaymentMethodBillingAddress( country_code_alpha2 = '', diff --git a/equinix_metal/test/test_payment_method_create_input.py b/equinix_metal/test/test_payment_method_create_input.py index 1aeb4f27..4d7bb30d 100644 --- a/equinix_metal/test/test_payment_method_create_input.py +++ b/equinix_metal/test/test_payment_method_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.payment_method_create_input import PaymentMethodCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.payment_method_create_input import PaymentMethodCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPaymentMethodCreateInput(unittest.TestCase): """PaymentMethodCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PaymentMethodCreateInput` """ - model = equinix_metal.models.payment_method_create_input.PaymentMethodCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.payment_method_create_input.PaymentMethodCreateInput() # noqa: E501 if include_optional : return PaymentMethodCreateInput( default = True, diff --git a/equinix_metal/test/test_payment_method_list.py b/equinix_metal/test/test_payment_method_list.py index d12832c9..7d5b7bf9 100644 --- a/equinix_metal/test/test_payment_method_list.py +++ b/equinix_metal/test/test_payment_method_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.payment_method_list import PaymentMethodList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.payment_method_list import PaymentMethodList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPaymentMethodList(unittest.TestCase): """PaymentMethodList unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PaymentMethodList` """ - model = equinix_metal.models.payment_method_list.PaymentMethodList() # noqa: E501 + model = equinix_metal_t0mk.models.payment_method_list.PaymentMethodList() # noqa: E501 if include_optional : return PaymentMethodList( href = '', payment_methods = [ - equinix_metal.models.payment_method.PaymentMethod( - billing_address = equinix_metal.models.payment_method_billing_address.PaymentMethodBillingAddress( + equinix_metal_t0mk.models.payment_method.PaymentMethod( + billing_address = equinix_metal_t0mk.models.payment_method_billing_address.PaymentMethodBillingAddress( country_code_alpha2 = '', href = '', postal_code = '', @@ -50,7 +50,7 @@ def make_instance(self, include_optional): card_type = '', cardholder_name = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by_user = equinix_metal.models.href.Href( + created_by_user = equinix_metal_t0mk.models.href.Href( href = '', ), default = True, email = '', @@ -59,7 +59,7 @@ def make_instance(self, include_optional): href = '', id = '', name = '', - organization = equinix_metal.models.href.Href( + organization = equinix_metal_t0mk.models.href.Href( href = '', ), projects = [ diff --git a/equinix_metal/test/test_payment_method_update_input.py b/equinix_metal/test/test_payment_method_update_input.py index 45b4aebf..62171fbb 100644 --- a/equinix_metal/test/test_payment_method_update_input.py +++ b/equinix_metal/test/test_payment_method_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.payment_method_update_input import PaymentMethodUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.payment_method_update_input import PaymentMethodUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPaymentMethodUpdateInput(unittest.TestCase): """PaymentMethodUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PaymentMethodUpdateInput` """ - model = equinix_metal.models.payment_method_update_input.PaymentMethodUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.payment_method_update_input.PaymentMethodUpdateInput() # noqa: E501 if include_optional : return PaymentMethodUpdateInput( billing_address = None, diff --git a/equinix_metal/test/test_payment_methods_api.py b/equinix_metal/test/test_payment_methods_api.py index 46473214..0b058c38 100644 --- a/equinix_metal/test/test_payment_methods_api.py +++ b/equinix_metal/test/test_payment_methods_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.payment_methods_api import PaymentMethodsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.payment_methods_api import PaymentMethodsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPaymentMethodsApi(unittest.TestCase): """PaymentMethodsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.payment_methods_api.PaymentMethodsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.payment_methods_api.PaymentMethodsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_plan.py b/equinix_metal/test/test_plan.py index 150e347a..a45eb999 100644 --- a/equinix_metal/test/test_plan.py +++ b/equinix_metal/test/test_plan.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan import Plan # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan import Plan # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlan(unittest.TestCase): """Plan unit test stubs""" @@ -36,20 +36,20 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Plan` """ - model = equinix_metal.models.plan.Plan() # noqa: E501 + model = equinix_metal_t0mk.models.plan.Plan() # noqa: E501 if include_optional : return Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], @@ -66,34 +66,34 @@ def make_instance(self, include_optional): legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) diff --git a/equinix_metal/test/test_plan_available_in_inner.py b/equinix_metal/test/test_plan_available_in_inner.py index 3383245d..c0841675 100644 --- a/equinix_metal/test/test_plan_available_in_inner.py +++ b/equinix_metal/test/test_plan_available_in_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan_available_in_inner import PlanAvailableInInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_available_in_inner import PlanAvailableInInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlanAvailableInInner(unittest.TestCase): """PlanAvailableInInner unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PlanAvailableInInner` """ - model = equinix_metal.models.plan_available_in_inner.PlanAvailableInInner() # noqa: E501 + model = equinix_metal_t0mk.models.plan_available_in_inner.PlanAvailableInInner() # noqa: E501 if include_optional : return PlanAvailableInInner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ) ) diff --git a/equinix_metal/test/test_plan_available_in_inner_price.py b/equinix_metal/test/test_plan_available_in_inner_price.py index df7d1476..1118cc2e 100644 --- a/equinix_metal/test/test_plan_available_in_inner_price.py +++ b/equinix_metal/test/test_plan_available_in_inner_price.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan_available_in_inner_price import PlanAvailableInInnerPrice # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_available_in_inner_price import PlanAvailableInInnerPrice # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlanAvailableInInnerPrice(unittest.TestCase): """PlanAvailableInInnerPrice unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PlanAvailableInInnerPrice` """ - model = equinix_metal.models.plan_available_in_inner_price.PlanAvailableInInnerPrice() # noqa: E501 + model = equinix_metal_t0mk.models.plan_available_in_inner_price.PlanAvailableInInnerPrice() # noqa: E501 if include_optional : return PlanAvailableInInnerPrice( hour = 1.23, diff --git a/equinix_metal/test/test_plan_available_in_metros_inner.py b/equinix_metal/test/test_plan_available_in_metros_inner.py index e9758dbb..e5a8fece 100644 --- a/equinix_metal/test/test_plan_available_in_metros_inner.py +++ b/equinix_metal/test/test_plan_available_in_metros_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan_available_in_metros_inner import PlanAvailableInMetrosInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_available_in_metros_inner import PlanAvailableInMetrosInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlanAvailableInMetrosInner(unittest.TestCase): """PlanAvailableInMetrosInner unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PlanAvailableInMetrosInner` """ - model = equinix_metal.models.plan_available_in_metros_inner.PlanAvailableInMetrosInner() # noqa: E501 + model = equinix_metal_t0mk.models.plan_available_in_metros_inner.PlanAvailableInMetrosInner() # noqa: E501 if include_optional : return PlanAvailableInMetrosInner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ) ) diff --git a/equinix_metal/test/test_plan_list.py b/equinix_metal/test/test_plan_list.py index 58921d4b..0e8736eb 100644 --- a/equinix_metal/test/test_plan_list.py +++ b/equinix_metal/test/test_plan_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan_list import PlanList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_list import PlanList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlanList(unittest.TestCase): """PlanList unit test stubs""" @@ -36,21 +36,21 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PlanList` """ - model = equinix_metal.models.plan_list.PlanList() # noqa: E501 + model = equinix_metal_t0mk.models.plan_list.PlanList() # noqa: E501 if include_optional : return PlanList( href = '', plans = [ - equinix_metal.models.plan.Plan( + equinix_metal_t0mk.models.plan.Plan( available_in = [ - equinix_metal.models.plan_available_in_inner.Plan_available_in_inner( + equinix_metal_t0mk.models.plan_available_in_inner.Plan_available_in_inner( href = '', - price = equinix_metal.models.plan_available_in_inner_price.Plan_available_in_inner_price( + price = equinix_metal_t0mk.models.plan_available_in_inner_price.Plan_available_in_inner_price( hour = 1.23, href = '', ), ) ], available_in_metros = [ - equinix_metal.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( + equinix_metal_t0mk.models.plan_available_in_metros_inner.Plan_available_in_metros_inner( href = '', ) ], categories = [ @@ -66,34 +66,34 @@ class = 'm3.large.x86', legacy = True, line = '', name = '', - pricing = equinix_metal.models.pricing.pricing(), + pricing = equinix_metal_t0mk.models.pricing.pricing(), slug = 'm3.large.x86', - specs = equinix_metal.models.plan_specs.Plan_specs( + specs = equinix_metal_t0mk.models.plan_specs.Plan_specs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) diff --git a/equinix_metal/test/test_plan_specs.py b/equinix_metal/test/test_plan_specs.py index bf93161f..56f18d41 100644 --- a/equinix_metal/test/test_plan_specs.py +++ b/equinix_metal/test/test_plan_specs.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan_specs import PlanSpecs # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_specs import PlanSpecs # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlanSpecs(unittest.TestCase): """PlanSpecs unit test stubs""" @@ -36,34 +36,34 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PlanSpecs` """ - model = equinix_metal.models.plan_specs.PlanSpecs() # noqa: E501 + model = equinix_metal_t0mk.models.plan_specs.PlanSpecs() # noqa: E501 if include_optional : return PlanSpecs( cpus = [ - equinix_metal.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( + equinix_metal_t0mk.models.plan_specs_cpus_inner.Plan_specs_cpus_inner( count = 56, href = '', type = '', ) ], drives = [ - equinix_metal.models.plan_specs_drives_inner.Plan_specs_drives_inner( + equinix_metal_t0mk.models.plan_specs_drives_inner.Plan_specs_drives_inner( category = 'boot', count = 56, href = '', size = '3.84TB', type = '', ) ], - features = equinix_metal.models.plan_specs_features.Plan_specs_features( + features = equinix_metal_t0mk.models.plan_specs_features.Plan_specs_features( href = '', raid = True, txt = True, uefi = True, ), href = '', - memory = equinix_metal.models.plan_specs_memory.Plan_specs_memory( + memory = equinix_metal_t0mk.models.plan_specs_memory.Plan_specs_memory( href = '', total = '', ), nics = [ - equinix_metal.models.plan_specs_nics_inner.Plan_specs_nics_inner( + equinix_metal_t0mk.models.plan_specs_nics_inner.Plan_specs_nics_inner( count = 2, href = '', type = '', ) diff --git a/equinix_metal/test/test_plan_specs_cpus_inner.py b/equinix_metal/test/test_plan_specs_cpus_inner.py index 1f3ca2bf..536bad2b 100644 --- a/equinix_metal/test/test_plan_specs_cpus_inner.py +++ b/equinix_metal/test/test_plan_specs_cpus_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan_specs_cpus_inner import PlanSpecsCpusInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_specs_cpus_inner import PlanSpecsCpusInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlanSpecsCpusInner(unittest.TestCase): """PlanSpecsCpusInner unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PlanSpecsCpusInner` """ - model = equinix_metal.models.plan_specs_cpus_inner.PlanSpecsCpusInner() # noqa: E501 + model = equinix_metal_t0mk.models.plan_specs_cpus_inner.PlanSpecsCpusInner() # noqa: E501 if include_optional : return PlanSpecsCpusInner( count = 56, diff --git a/equinix_metal/test/test_plan_specs_drives_inner.py b/equinix_metal/test/test_plan_specs_drives_inner.py index 262c90e3..50c771cd 100644 --- a/equinix_metal/test/test_plan_specs_drives_inner.py +++ b/equinix_metal/test/test_plan_specs_drives_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan_specs_drives_inner import PlanSpecsDrivesInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_specs_drives_inner import PlanSpecsDrivesInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlanSpecsDrivesInner(unittest.TestCase): """PlanSpecsDrivesInner unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PlanSpecsDrivesInner` """ - model = equinix_metal.models.plan_specs_drives_inner.PlanSpecsDrivesInner() # noqa: E501 + model = equinix_metal_t0mk.models.plan_specs_drives_inner.PlanSpecsDrivesInner() # noqa: E501 if include_optional : return PlanSpecsDrivesInner( category = 'boot', diff --git a/equinix_metal/test/test_plan_specs_features.py b/equinix_metal/test/test_plan_specs_features.py index 6ca1d90e..06906c6e 100644 --- a/equinix_metal/test/test_plan_specs_features.py +++ b/equinix_metal/test/test_plan_specs_features.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan_specs_features import PlanSpecsFeatures # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_specs_features import PlanSpecsFeatures # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlanSpecsFeatures(unittest.TestCase): """PlanSpecsFeatures unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PlanSpecsFeatures` """ - model = equinix_metal.models.plan_specs_features.PlanSpecsFeatures() # noqa: E501 + model = equinix_metal_t0mk.models.plan_specs_features.PlanSpecsFeatures() # noqa: E501 if include_optional : return PlanSpecsFeatures( href = '', diff --git a/equinix_metal/test/test_plan_specs_memory.py b/equinix_metal/test/test_plan_specs_memory.py index 220ca91c..bc2d5854 100644 --- a/equinix_metal/test/test_plan_specs_memory.py +++ b/equinix_metal/test/test_plan_specs_memory.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan_specs_memory import PlanSpecsMemory # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_specs_memory import PlanSpecsMemory # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlanSpecsMemory(unittest.TestCase): """PlanSpecsMemory unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PlanSpecsMemory` """ - model = equinix_metal.models.plan_specs_memory.PlanSpecsMemory() # noqa: E501 + model = equinix_metal_t0mk.models.plan_specs_memory.PlanSpecsMemory() # noqa: E501 if include_optional : return PlanSpecsMemory( href = '', diff --git a/equinix_metal/test/test_plan_specs_nics_inner.py b/equinix_metal/test/test_plan_specs_nics_inner.py index bf419ec6..d5cad308 100644 --- a/equinix_metal/test/test_plan_specs_nics_inner.py +++ b/equinix_metal/test/test_plan_specs_nics_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.plan_specs_nics_inner import PlanSpecsNicsInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.plan_specs_nics_inner import PlanSpecsNicsInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlanSpecsNicsInner(unittest.TestCase): """PlanSpecsNicsInner unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PlanSpecsNicsInner` """ - model = equinix_metal.models.plan_specs_nics_inner.PlanSpecsNicsInner() # noqa: E501 + model = equinix_metal_t0mk.models.plan_specs_nics_inner.PlanSpecsNicsInner() # noqa: E501 if include_optional : return PlanSpecsNicsInner( count = 2, diff --git a/equinix_metal/test/test_plans_api.py b/equinix_metal/test/test_plans_api.py index ffb39cf5..1c1a0420 100644 --- a/equinix_metal/test/test_plans_api.py +++ b/equinix_metal/test/test_plans_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.plans_api import PlansApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.plans_api import PlansApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPlansApi(unittest.TestCase): """PlansApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.plans_api.PlansApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.plans_api.PlansApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_port.py b/equinix_metal/test/test_port.py index 63a0a00c..ce7f13cb 100644 --- a/equinix_metal/test/test_port.py +++ b/equinix_metal/test/test_port.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port import Port # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port import Port # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPort(unittest.TestCase): """Port unit test stubs""" @@ -36,14 +36,14 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Port` """ - model = equinix_metal.models.port.Port() # noqa: E501 + model = equinix_metal_t0mk.models.port.Port() # noqa: E501 if include_optional : return Port( - bond = equinix_metal.models.bond_port_data.BondPortData( + bond = equinix_metal_t0mk.models.bond_port_data.BondPortData( href = '', id = '', name = '', ), - data = equinix_metal.models.port_data.PortData( + data = equinix_metal_t0mk.models.port_data.PortData( bonded = True, href = '', mac = '', ), @@ -51,12 +51,12 @@ def make_instance(self, include_optional): href = '', id = '', name = 'bond0', - native_virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + native_virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', @@ -64,7 +64,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -82,7 +82,7 @@ def make_instance(self, include_optional): network_type = 'layer2-bonded', type = 'NetworkPort', virtual_networks = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ] ) diff --git a/equinix_metal/test/test_port_assign_input.py b/equinix_metal/test/test_port_assign_input.py index 238dece4..b3b902a8 100644 --- a/equinix_metal/test/test_port_assign_input.py +++ b/equinix_metal/test/test_port_assign_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_assign_input import PortAssignInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_assign_input import PortAssignInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortAssignInput(unittest.TestCase): """PortAssignInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortAssignInput` """ - model = equinix_metal.models.port_assign_input.PortAssignInput() # noqa: E501 + model = equinix_metal_t0mk.models.port_assign_input.PortAssignInput() # noqa: E501 if include_optional : return PortAssignInput( href = '', diff --git a/equinix_metal/test/test_port_convert_layer3_input.py b/equinix_metal/test/test_port_convert_layer3_input.py index 9bca0c60..99ff9c8a 100644 --- a/equinix_metal/test/test_port_convert_layer3_input.py +++ b/equinix_metal/test/test_port_convert_layer3_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_convert_layer3_input import PortConvertLayer3Input # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_convert_layer3_input import PortConvertLayer3Input # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortConvertLayer3Input(unittest.TestCase): """PortConvertLayer3Input unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortConvertLayer3Input` """ - model = equinix_metal.models.port_convert_layer3_input.PortConvertLayer3Input() # noqa: E501 + model = equinix_metal_t0mk.models.port_convert_layer3_input.PortConvertLayer3Input() # noqa: E501 if include_optional : return PortConvertLayer3Input( href = '', request_ips = [ - equinix_metal.models.port_convert_layer3_input_request_ips_inner.PortConvertLayer3Input_request_ips_inner( + equinix_metal_t0mk.models.port_convert_layer3_input_request_ips_inner.PortConvertLayer3Input_request_ips_inner( address_family = 56, href = '', public = True, ) diff --git a/equinix_metal/test/test_port_convert_layer3_input_request_ips_inner.py b/equinix_metal/test/test_port_convert_layer3_input_request_ips_inner.py index 97b5cb8a..142e97ab 100644 --- a/equinix_metal/test/test_port_convert_layer3_input_request_ips_inner.py +++ b/equinix_metal/test/test_port_convert_layer3_input_request_ips_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_convert_layer3_input_request_ips_inner import PortConvertLayer3InputRequestIpsInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_convert_layer3_input_request_ips_inner import PortConvertLayer3InputRequestIpsInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortConvertLayer3InputRequestIpsInner(unittest.TestCase): """PortConvertLayer3InputRequestIpsInner unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortConvertLayer3InputRequestIpsInner` """ - model = equinix_metal.models.port_convert_layer3_input_request_ips_inner.PortConvertLayer3InputRequestIpsInner() # noqa: E501 + model = equinix_metal_t0mk.models.port_convert_layer3_input_request_ips_inner.PortConvertLayer3InputRequestIpsInner() # noqa: E501 if include_optional : return PortConvertLayer3InputRequestIpsInner( address_family = 56, diff --git a/equinix_metal/test/test_port_data.py b/equinix_metal/test/test_port_data.py index 5fe09acb..94f923c1 100644 --- a/equinix_metal/test/test_port_data.py +++ b/equinix_metal/test/test_port_data.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_data import PortData # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_data import PortData # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortData(unittest.TestCase): """PortData unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortData` """ - model = equinix_metal.models.port_data.PortData() # noqa: E501 + model = equinix_metal_t0mk.models.port_data.PortData() # noqa: E501 if include_optional : return PortData( bonded = True, diff --git a/equinix_metal/test/test_port_vlan_assignment.py b/equinix_metal/test/test_port_vlan_assignment.py index efc536a0..98f60fb8 100644 --- a/equinix_metal/test/test_port_vlan_assignment.py +++ b/equinix_metal/test/test_port_vlan_assignment.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_vlan_assignment import PortVlanAssignment # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment import PortVlanAssignment # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortVlanAssignment(unittest.TestCase): """PortVlanAssignment unit test stubs""" @@ -36,18 +36,18 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortVlanAssignment` """ - model = equinix_metal.models.port_vlan_assignment.PortVlanAssignment() # noqa: E501 + model = equinix_metal_t0mk.models.port_vlan_assignment.PortVlanAssignment() # noqa: E501 if include_optional : return PortVlanAssignment( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', native = True, - port = equinix_metal.models.href.Href( + port = equinix_metal_t0mk.models.href.Href( href = '', ), state = 'assigned', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.href.Href( + virtual_network = equinix_metal_t0mk.models.href.Href( href = '', ), vlan = 56 ) diff --git a/equinix_metal/test/test_port_vlan_assignment_batch.py b/equinix_metal/test/test_port_vlan_assignment_batch.py index 06874e86..14ab87a7 100644 --- a/equinix_metal/test/test_port_vlan_assignment_batch.py +++ b/equinix_metal/test/test_port_vlan_assignment_batch.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_vlan_assignment_batch import PortVlanAssignmentBatch # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment_batch import PortVlanAssignmentBatch # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortVlanAssignmentBatch(unittest.TestCase): """PortVlanAssignmentBatch unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortVlanAssignmentBatch` """ - model = equinix_metal.models.port_vlan_assignment_batch.PortVlanAssignmentBatch() # noqa: E501 + model = equinix_metal_t0mk.models.port_vlan_assignment_batch.PortVlanAssignmentBatch() # noqa: E501 if include_optional : return PortVlanAssignmentBatch( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), @@ -45,12 +45,12 @@ def make_instance(self, include_optional): ], href = '', id = '', - port = equinix_metal.models.port.Port( - bond = equinix_metal.models.bond_port_data.BondPortData( + port = equinix_metal_t0mk.models.port.Port( + bond = equinix_metal_t0mk.models.bond_port_data.BondPortData( href = '', id = '', name = '', ), - data = equinix_metal.models.port_data.PortData( + data = equinix_metal_t0mk.models.port_data.PortData( bonded = True, href = '', mac = '', ), @@ -58,12 +58,12 @@ def make_instance(self, include_optional): href = '', id = '', name = 'bond0', - native_virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + native_virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', @@ -71,7 +71,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -91,13 +91,13 @@ def make_instance(self, include_optional): virtual_networks = [ ], ), - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), quantity = 56, state = 'queued', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan_assignments = [ - equinix_metal.models.port_vlan_assignment_batch_vlan_assignments_inner.PortVlanAssignmentBatch_vlan_assignments_inner( + equinix_metal_t0mk.models.port_vlan_assignment_batch_vlan_assignments_inner.PortVlanAssignmentBatch_vlan_assignments_inner( href = '', id = '', native = True, diff --git a/equinix_metal/test/test_port_vlan_assignment_batch_create_input.py b/equinix_metal/test/test_port_vlan_assignment_batch_create_input.py index 57f07cbd..37b7c6fd 100644 --- a/equinix_metal/test/test_port_vlan_assignment_batch_create_input.py +++ b/equinix_metal/test/test_port_vlan_assignment_batch_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input import PortVlanAssignmentBatchCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortVlanAssignmentBatchCreateInput(unittest.TestCase): """PortVlanAssignmentBatchCreateInput unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortVlanAssignmentBatchCreateInput` """ - model = equinix_metal.models.port_vlan_assignment_batch_create_input.PortVlanAssignmentBatchCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input.PortVlanAssignmentBatchCreateInput() # noqa: E501 if include_optional : return PortVlanAssignmentBatchCreateInput( href = '', vlan_assignments = [ - equinix_metal.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner.PortVlanAssignmentBatchCreateInput_vlan_assignments_inner( + equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner.PortVlanAssignmentBatchCreateInput_vlan_assignments_inner( href = '', native = True, state = 'assigned', diff --git a/equinix_metal/test/test_port_vlan_assignment_batch_create_input_vlan_assignments_inner.py b/equinix_metal/test/test_port_vlan_assignment_batch_create_input_vlan_assignments_inner.py index f06a0751..da3aea8a 100644 --- a/equinix_metal/test/test_port_vlan_assignment_batch_create_input_vlan_assignments_inner.py +++ b/equinix_metal/test/test_port_vlan_assignment_batch_create_input_vlan_assignments_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner import PortVlanAssignmentBatchCreateInputVlanAssignmentsInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner import PortVlanAssignmentBatchCreateInputVlanAssignmentsInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortVlanAssignmentBatchCreateInputVlanAssignmentsInner(unittest.TestCase): """PortVlanAssignmentBatchCreateInputVlanAssignmentsInner unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortVlanAssignmentBatchCreateInputVlanAssignmentsInner` """ - model = equinix_metal.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner.PortVlanAssignmentBatchCreateInputVlanAssignmentsInner() # noqa: E501 + model = equinix_metal_t0mk.models.port_vlan_assignment_batch_create_input_vlan_assignments_inner.PortVlanAssignmentBatchCreateInputVlanAssignmentsInner() # noqa: E501 if include_optional : return PortVlanAssignmentBatchCreateInputVlanAssignmentsInner( href = '', diff --git a/equinix_metal/test/test_port_vlan_assignment_batch_list.py b/equinix_metal/test/test_port_vlan_assignment_batch_list.py index 7cebf4ce..88a417a5 100644 --- a/equinix_metal/test/test_port_vlan_assignment_batch_list.py +++ b/equinix_metal/test/test_port_vlan_assignment_batch_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment_batch_list import PortVlanAssignmentBatchList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortVlanAssignmentBatchList(unittest.TestCase): """PortVlanAssignmentBatchList unit test stubs""" @@ -36,23 +36,23 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortVlanAssignmentBatchList` """ - model = equinix_metal.models.port_vlan_assignment_batch_list.PortVlanAssignmentBatchList() # noqa: E501 + model = equinix_metal_t0mk.models.port_vlan_assignment_batch_list.PortVlanAssignmentBatchList() # noqa: E501 if include_optional : return PortVlanAssignmentBatchList( batches = [ - equinix_metal.models.port_vlan_assignment_batch.PortVlanAssignmentBatch( + equinix_metal_t0mk.models.port_vlan_assignment_batch.PortVlanAssignmentBatch( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), error_messages = [ '' ], href = '', id = '', - port = equinix_metal.models.port.Port( - bond = equinix_metal.models.bond_port_data.BondPortData( + port = equinix_metal_t0mk.models.port.Port( + bond = equinix_metal_t0mk.models.bond_port_data.BondPortData( href = '', id = '', name = '', ), - data = equinix_metal.models.port_data.PortData( + data = equinix_metal_t0mk.models.port_data.PortData( bonded = True, href = '', mac = '', ), @@ -60,12 +60,12 @@ def make_instance(self, include_optional): href = '', id = '', name = 'bond0', - native_virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + native_virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', @@ -73,7 +73,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -98,7 +98,7 @@ def make_instance(self, include_optional): state = 'queued', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan_assignments = [ - equinix_metal.models.port_vlan_assignment_batch_vlan_assignments_inner.PortVlanAssignmentBatch_vlan_assignments_inner( + equinix_metal_t0mk.models.port_vlan_assignment_batch_vlan_assignments_inner.PortVlanAssignmentBatch_vlan_assignments_inner( href = '', id = '', native = True, diff --git a/equinix_metal/test/test_port_vlan_assignment_batch_vlan_assignments_inner.py b/equinix_metal/test/test_port_vlan_assignment_batch_vlan_assignments_inner.py index c9ecd862..2feef6ca 100644 --- a/equinix_metal/test/test_port_vlan_assignment_batch_vlan_assignments_inner.py +++ b/equinix_metal/test/test_port_vlan_assignment_batch_vlan_assignments_inner.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_vlan_assignment_batch_vlan_assignments_inner import PortVlanAssignmentBatchVlanAssignmentsInner # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment_batch_vlan_assignments_inner import PortVlanAssignmentBatchVlanAssignmentsInner # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortVlanAssignmentBatchVlanAssignmentsInner(unittest.TestCase): """PortVlanAssignmentBatchVlanAssignmentsInner unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortVlanAssignmentBatchVlanAssignmentsInner` """ - model = equinix_metal.models.port_vlan_assignment_batch_vlan_assignments_inner.PortVlanAssignmentBatchVlanAssignmentsInner() # noqa: E501 + model = equinix_metal_t0mk.models.port_vlan_assignment_batch_vlan_assignments_inner.PortVlanAssignmentBatchVlanAssignmentsInner() # noqa: E501 if include_optional : return PortVlanAssignmentBatchVlanAssignmentsInner( href = '', diff --git a/equinix_metal/test/test_port_vlan_assignment_list.py b/equinix_metal/test/test_port_vlan_assignment_list.py index 2ba02a27..e4f3c205 100644 --- a/equinix_metal/test/test_port_vlan_assignment_list.py +++ b/equinix_metal/test/test_port_vlan_assignment_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.port_vlan_assignment_list import PortVlanAssignmentList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.port_vlan_assignment_list import PortVlanAssignmentList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortVlanAssignmentList(unittest.TestCase): """PortVlanAssignmentList unit test stubs""" @@ -36,21 +36,21 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `PortVlanAssignmentList` """ - model = equinix_metal.models.port_vlan_assignment_list.PortVlanAssignmentList() # noqa: E501 + model = equinix_metal_t0mk.models.port_vlan_assignment_list.PortVlanAssignmentList() # noqa: E501 if include_optional : return PortVlanAssignmentList( href = '', vlan_assignments = [ - equinix_metal.models.port_vlan_assignment.PortVlanAssignment( + equinix_metal_t0mk.models.port_vlan_assignment.PortVlanAssignment( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', native = True, - port = equinix_metal.models.href.Href( + port = equinix_metal_t0mk.models.href.Href( href = '', ), state = 'assigned', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.href.Href( + virtual_network = equinix_metal_t0mk.models.href.Href( href = '', ), vlan = 56, ) ] diff --git a/equinix_metal/test/test_ports_api.py b/equinix_metal/test/test_ports_api.py index 53c66bba..382c23bb 100644 --- a/equinix_metal/test/test_ports_api.py +++ b/equinix_metal/test/test_ports_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.ports_api import PortsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.ports_api import PortsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestPortsApi(unittest.TestCase): """PortsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.ports_api.PortsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.ports_api.PortsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_project.py b/equinix_metal/test/test_project.py index 0c5e42f2..9b5122ac 100644 --- a/equinix_metal/test/test_project.py +++ b/equinix_metal/test/test_project.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.project import Project # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project import Project # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestProject(unittest.TestCase): """Project unit test stubs""" @@ -36,41 +36,41 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Project` """ - model = equinix_metal.models.project.Project() # noqa: E501 + model = equinix_metal_t0mk.models.project.Project() # noqa: E501 if include_optional : return Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', id = '', invitations = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], memberships = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), - organization = equinix_metal.models.href.Href( + network_status = equinix_metal_t0mk.models.network_status.network_status(), + organization = equinix_metal_t0mk.models.href.Href( href = '', ), - payment_method = equinix_metal.models.href.Href( + payment_method = equinix_metal_t0mk.models.href.Href( href = '', ), ssh_keys = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], tags = [ @@ -79,7 +79,7 @@ def make_instance(self, include_optional): type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), volumes = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ] ) diff --git a/equinix_metal/test/test_project_create_from_root_input.py b/equinix_metal/test/test_project_create_from_root_input.py index 6ef14ba6..f197b142 100644 --- a/equinix_metal/test/test_project_create_from_root_input.py +++ b/equinix_metal/test/test_project_create_from_root_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.project_create_from_root_input import ProjectCreateFromRootInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project_create_from_root_input import ProjectCreateFromRootInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestProjectCreateFromRootInput(unittest.TestCase): """ProjectCreateFromRootInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `ProjectCreateFromRootInput` """ - model = equinix_metal.models.project_create_from_root_input.ProjectCreateFromRootInput() # noqa: E501 + model = equinix_metal_t0mk.models.project_create_from_root_input.ProjectCreateFromRootInput() # noqa: E501 if include_optional : return ProjectCreateFromRootInput( customdata = None, diff --git a/equinix_metal/test/test_project_create_input.py b/equinix_metal/test/test_project_create_input.py index e0bd1bcb..11634ee8 100644 --- a/equinix_metal/test/test_project_create_input.py +++ b/equinix_metal/test/test_project_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.project_create_input import ProjectCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project_create_input import ProjectCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestProjectCreateInput(unittest.TestCase): """ProjectCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `ProjectCreateInput` """ - model = equinix_metal.models.project_create_input.ProjectCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.project_create_input.ProjectCreateInput() # noqa: E501 if include_optional : return ProjectCreateInput( customdata = None, diff --git a/equinix_metal/test/test_project_id_name.py b/equinix_metal/test/test_project_id_name.py index 63823346..0dd4d3fb 100644 --- a/equinix_metal/test/test_project_id_name.py +++ b/equinix_metal/test/test_project_id_name.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.project_id_name import ProjectIdName # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project_id_name import ProjectIdName # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestProjectIdName(unittest.TestCase): """ProjectIdName unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `ProjectIdName` """ - model = equinix_metal.models.project_id_name.ProjectIdName() # noqa: E501 + model = equinix_metal_t0mk.models.project_id_name.ProjectIdName() # noqa: E501 if include_optional : return ProjectIdName( href = '', diff --git a/equinix_metal/test/test_project_list.py b/equinix_metal/test/test_project_list.py index ee9fab3f..63cf9b11 100644 --- a/equinix_metal/test/test_project_list.py +++ b/equinix_metal/test/test_project_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.project_list import ProjectList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project_list import ProjectList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestProjectList(unittest.TestCase): """ProjectList unit test stubs""" @@ -36,16 +36,16 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `ProjectList` """ - model = equinix_metal.models.project_list.ProjectList() # noqa: E501 + model = equinix_metal_t0mk.models.project_list.ProjectList() # noqa: E501 if include_optional : return ProjectList( href = '', - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , @@ -53,14 +53,14 @@ def make_instance(self, include_optional): self = , total = 56, ), projects = [ - equinix_metal.models.project.Project( + equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -68,7 +68,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -76,7 +76,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ diff --git a/equinix_metal/test/test_project_update_input.py b/equinix_metal/test/test_project_update_input.py index bdc69204..5bee948b 100644 --- a/equinix_metal/test/test_project_update_input.py +++ b/equinix_metal/test/test_project_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.project_update_input import ProjectUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project_update_input import ProjectUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestProjectUpdateInput(unittest.TestCase): """ProjectUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `ProjectUpdateInput` """ - model = equinix_metal.models.project_update_input.ProjectUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.project_update_input.ProjectUpdateInput() # noqa: E501 if include_optional : return ProjectUpdateInput( backend_transfer_enabled = True, diff --git a/equinix_metal/test/test_project_usage.py b/equinix_metal/test/test_project_usage.py index cdc3b5e7..c8cb394c 100644 --- a/equinix_metal/test/test_project_usage.py +++ b/equinix_metal/test/test_project_usage.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.project_usage import ProjectUsage # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project_usage import ProjectUsage # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestProjectUsage(unittest.TestCase): """ProjectUsage unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `ProjectUsage` """ - model = equinix_metal.models.project_usage.ProjectUsage() # noqa: E501 + model = equinix_metal_t0mk.models.project_usage.ProjectUsage() # noqa: E501 if include_optional : return ProjectUsage( facility = '', diff --git a/equinix_metal/test/test_project_usage_list.py b/equinix_metal/test/test_project_usage_list.py index 776bd6ae..2d82451b 100644 --- a/equinix_metal/test/test_project_usage_list.py +++ b/equinix_metal/test/test_project_usage_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.project_usage_list import ProjectUsageList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.project_usage_list import ProjectUsageList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestProjectUsageList(unittest.TestCase): """ProjectUsageList unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `ProjectUsageList` """ - model = equinix_metal.models.project_usage_list.ProjectUsageList() # noqa: E501 + model = equinix_metal_t0mk.models.project_usage_list.ProjectUsageList() # noqa: E501 if include_optional : return ProjectUsageList( href = '', usages = [ - equinix_metal.models.project_usage.ProjectUsage( + equinix_metal_t0mk.models.project_usage.ProjectUsage( facility = '', href = '', name = '', diff --git a/equinix_metal/test/test_projects_api.py b/equinix_metal/test/test_projects_api.py index ec93c0d7..fb235e26 100644 --- a/equinix_metal/test/test_projects_api.py +++ b/equinix_metal/test/test_projects_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.projects_api import ProjectsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.projects_api import ProjectsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestProjectsApi(unittest.TestCase): """ProjectsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.projects_api.ProjectsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.projects_api.ProjectsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_raid.py b/equinix_metal/test/test_raid.py index 544d8d40..22988f2b 100644 --- a/equinix_metal/test/test_raid.py +++ b/equinix_metal/test/test_raid.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.raid import Raid # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.raid import Raid # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestRaid(unittest.TestCase): """Raid unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Raid` """ - model = equinix_metal.models.raid.Raid() # noqa: E501 + model = equinix_metal_t0mk.models.raid.Raid() # noqa: E501 if include_optional : return Raid( devices = [ diff --git a/equinix_metal/test/test_recovery_code_list.py b/equinix_metal/test/test_recovery_code_list.py index f7bb1560..91332933 100644 --- a/equinix_metal/test/test_recovery_code_list.py +++ b/equinix_metal/test/test_recovery_code_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.recovery_code_list import RecoveryCodeList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.recovery_code_list import RecoveryCodeList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestRecoveryCodeList(unittest.TestCase): """RecoveryCodeList unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `RecoveryCodeList` """ - model = equinix_metal.models.recovery_code_list.RecoveryCodeList() # noqa: E501 + model = equinix_metal_t0mk.models.recovery_code_list.RecoveryCodeList() # noqa: E501 if include_optional : return RecoveryCodeList( href = '', diff --git a/equinix_metal/test/test_request_ip_reservation201_response.py b/equinix_metal/test/test_request_ip_reservation201_response.py index ce605d09..79f17fb1 100644 --- a/equinix_metal/test/test_request_ip_reservation201_response.py +++ b/equinix_metal/test/test_request_ip_reservation201_response.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.request_ip_reservation201_response import RequestIPReservation201Response # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.request_ip_reservation201_response import RequestIPReservation201Response # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestRequestIPReservation201Response(unittest.TestCase): """RequestIPReservation201Response unit test stubs""" @@ -36,21 +36,21 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `RequestIPReservation201Response` """ - model = equinix_metal.models.request_ip_reservation201_response.RequestIPReservation201Response() # noqa: E501 + model = equinix_metal_t0mk.models.request_ip_reservation201_response.RequestIPReservation201Response() # noqa: E501 if include_optional : return RequestIPReservation201Response( addon = True, address = '', address_family = 56, assignments = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], available = '', bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', enabled = True, facility = None, @@ -60,7 +60,7 @@ def make_instance(self, include_optional): id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -68,7 +68,7 @@ def make_instance(self, include_optional): state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ), - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -76,14 +76,14 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -91,7 +91,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -99,7 +99,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -113,14 +113,14 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -128,7 +128,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -136,7 +136,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -151,31 +151,31 @@ def make_instance(self, include_optional): ], ), public = True, - requested_by = equinix_metal.models.href.Href( + requested_by = equinix_metal_t0mk.models.href.Href( href = '', ), state = '', tags = [ '' ], type = 'global_ipv4', - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -199,19 +199,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -220,7 +220,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -228,7 +228,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -247,7 +247,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -264,7 +264,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -281,22 +281,22 @@ def make_instance(self, include_optional): else : return RequestIPReservation201Response( type = 'global_ipv4', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -320,19 +320,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -341,7 +341,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -349,7 +349,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -368,7 +368,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -385,7 +385,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_request_ip_reservation_request.py b/equinix_metal/test/test_request_ip_reservation_request.py index 00161b3d..10475afc 100644 --- a/equinix_metal/test/test_request_ip_reservation_request.py +++ b/equinix_metal/test/test_request_ip_reservation_request.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.request_ip_reservation_request import RequestIPReservationRequest # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.request_ip_reservation_request import RequestIPReservationRequest # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestRequestIPReservationRequest(unittest.TestCase): """RequestIPReservationRequest unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `RequestIPReservationRequest` """ - model = equinix_metal.models.request_ip_reservation_request.RequestIPReservationRequest() # noqa: E501 + model = equinix_metal_t0mk.models.request_ip_reservation_request.RequestIPReservationRequest() # noqa: E501 if include_optional : return RequestIPReservationRequest( comments = '', - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', facility = '', fail_on_approval_required = True, diff --git a/equinix_metal/test/test_self_service_reservation_item_request.py b/equinix_metal/test/test_self_service_reservation_item_request.py index 904b78b8..4880ac2c 100644 --- a/equinix_metal/test/test_self_service_reservation_item_request.py +++ b/equinix_metal/test/test_self_service_reservation_item_request.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.self_service_reservation_item_request import SelfServiceReservationItemRequest # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.self_service_reservation_item_request import SelfServiceReservationItemRequest # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSelfServiceReservationItemRequest(unittest.TestCase): """SelfServiceReservationItemRequest unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SelfServiceReservationItemRequest` """ - model = equinix_metal.models.self_service_reservation_item_request.SelfServiceReservationItemRequest() # noqa: E501 + model = equinix_metal_t0mk.models.self_service_reservation_item_request.SelfServiceReservationItemRequest() # noqa: E501 if include_optional : return SelfServiceReservationItemRequest( amount = 1.337, diff --git a/equinix_metal/test/test_self_service_reservation_item_response.py b/equinix_metal/test/test_self_service_reservation_item_response.py index 31e2b7f2..6c075e0d 100644 --- a/equinix_metal/test/test_self_service_reservation_item_response.py +++ b/equinix_metal/test/test_self_service_reservation_item_response.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.self_service_reservation_item_response import SelfServiceReservationItemResponse # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.self_service_reservation_item_response import SelfServiceReservationItemResponse # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSelfServiceReservationItemResponse(unittest.TestCase): """SelfServiceReservationItemResponse unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SelfServiceReservationItemResponse` """ - model = equinix_metal.models.self_service_reservation_item_response.SelfServiceReservationItemResponse() # noqa: E501 + model = equinix_metal_t0mk.models.self_service_reservation_item_response.SelfServiceReservationItemResponse() # noqa: E501 if include_optional : return SelfServiceReservationItemResponse( amount = 1.337, diff --git a/equinix_metal/test/test_self_service_reservation_list.py b/equinix_metal/test/test_self_service_reservation_list.py index 1b3adb2f..4f073b1f 100644 --- a/equinix_metal/test/test_self_service_reservation_list.py +++ b/equinix_metal/test/test_self_service_reservation_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.self_service_reservation_list import SelfServiceReservationList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.self_service_reservation_list import SelfServiceReservationList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSelfServiceReservationList(unittest.TestCase): """SelfServiceReservationList unit test stubs""" @@ -36,16 +36,16 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SelfServiceReservationList` """ - model = equinix_metal.models.self_service_reservation_list.SelfServiceReservationList() # noqa: E501 + model = equinix_metal_t0mk.models.self_service_reservation_list.SelfServiceReservationList() # noqa: E501 if include_optional : return SelfServiceReservationList( href = '', reservations = [ - equinix_metal.models.self_service_reservation_response.SelfServiceReservationResponse( + equinix_metal_t0mk.models.self_service_reservation_response.SelfServiceReservationResponse( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', item = [ - equinix_metal.models.self_service_reservation_item_response.SelfServiceReservationItemResponse( + equinix_metal_t0mk.models.self_service_reservation_item_response.SelfServiceReservationItemResponse( amount = 1.337, href = '', id = '', @@ -64,7 +64,7 @@ def make_instance(self, include_optional): notes = '', organization = '', organization_id = '', - period = equinix_metal.models.create_self_service_reservation_request_period.CreateSelfServiceReservationRequest_period( + period = equinix_metal_t0mk.models.create_self_service_reservation_request_period.CreateSelfServiceReservationRequest_period( count = 12, href = '', unit = 'monthly', ), diff --git a/equinix_metal/test/test_self_service_reservation_response.py b/equinix_metal/test/test_self_service_reservation_response.py index 8577157b..efd491b9 100644 --- a/equinix_metal/test/test_self_service_reservation_response.py +++ b/equinix_metal/test/test_self_service_reservation_response.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.self_service_reservation_response import SelfServiceReservationResponse # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.self_service_reservation_response import SelfServiceReservationResponse # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSelfServiceReservationResponse(unittest.TestCase): """SelfServiceReservationResponse unit test stubs""" @@ -36,13 +36,13 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SelfServiceReservationResponse` """ - model = equinix_metal.models.self_service_reservation_response.SelfServiceReservationResponse() # noqa: E501 + model = equinix_metal_t0mk.models.self_service_reservation_response.SelfServiceReservationResponse() # noqa: E501 if include_optional : return SelfServiceReservationResponse( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', item = [ - equinix_metal.models.self_service_reservation_item_response.SelfServiceReservationItemResponse( + equinix_metal_t0mk.models.self_service_reservation_item_response.SelfServiceReservationItemResponse( amount = 1.337, href = '', id = '', @@ -61,7 +61,7 @@ def make_instance(self, include_optional): notes = '', organization = '', organization_id = '', - period = equinix_metal.models.create_self_service_reservation_request_period.CreateSelfServiceReservationRequest_period( + period = equinix_metal_t0mk.models.create_self_service_reservation_request_period.CreateSelfServiceReservationRequest_period( count = 12, href = '', unit = 'monthly', ), diff --git a/equinix_metal/test/test_self_service_reservations_api.py b/equinix_metal/test/test_self_service_reservations_api.py index 23f7400c..e5cad197 100644 --- a/equinix_metal/test/test_self_service_reservations_api.py +++ b/equinix_metal/test/test_self_service_reservations_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.self_service_reservations_api import SelfServiceReservationsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.self_service_reservations_api import SelfServiceReservationsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSelfServiceReservationsApi(unittest.TestCase): """SelfServiceReservationsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.self_service_reservations_api.SelfServiceReservationsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.self_service_reservations_api.SelfServiceReservationsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_server_info.py b/equinix_metal/test/test_server_info.py index e5dffa4f..dfef55f9 100644 --- a/equinix_metal/test/test_server_info.py +++ b/equinix_metal/test/test_server_info.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.server_info import ServerInfo # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.server_info import ServerInfo # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestServerInfo(unittest.TestCase): """ServerInfo unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `ServerInfo` """ - model = equinix_metal.models.server_info.ServerInfo() # noqa: E501 + model = equinix_metal_t0mk.models.server_info.ServerInfo() # noqa: E501 if include_optional : return ServerInfo( facility = '', diff --git a/equinix_metal/test/test_spot_market_api.py b/equinix_metal/test/test_spot_market_api.py index 8fe0fc50..20455f84 100644 --- a/equinix_metal/test/test_spot_market_api.py +++ b/equinix_metal/test/test_spot_market_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.spot_market_api import SpotMarketApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.spot_market_api import SpotMarketApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotMarketApi(unittest.TestCase): """SpotMarketApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.spot_market_api.SpotMarketApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.spot_market_api.SpotMarketApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_spot_market_prices_list.py b/equinix_metal/test/test_spot_market_prices_list.py index 4f4c6038..6f98b83b 100644 --- a/equinix_metal/test/test_spot_market_prices_list.py +++ b/equinix_metal/test/test_spot_market_prices_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_market_prices_list import SpotMarketPricesList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_prices_list import SpotMarketPricesList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotMarketPricesList(unittest.TestCase): """SpotMarketPricesList unit test stubs""" @@ -36,16 +36,16 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotMarketPricesList` """ - model = equinix_metal.models.spot_market_prices_list.SpotMarketPricesList() # noqa: E501 + model = equinix_metal_t0mk.models.spot_market_prices_list.SpotMarketPricesList() # noqa: E501 if include_optional : return SpotMarketPricesList( href = '', - spot_market_prices = equinix_metal.models.spot_prices_report.SpotPricesReport( - ams1 = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + spot_market_prices = equinix_metal_t0mk.models.spot_prices_report.SpotPricesReport( + ams1 = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -56,12 +56,12 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - atl1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + atl1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( baremetal_1e = , href = '', ), - dfw1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + dfw1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( href = '', ), - ewr1 = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( + ewr1 = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( href = '', ), fra1 = , href = '', diff --git a/equinix_metal/test/test_spot_market_prices_per_metro_list.py b/equinix_metal/test/test_spot_market_prices_per_metro_list.py index 520f2dca..6b9b4eea 100644 --- a/equinix_metal/test/test_spot_market_prices_per_metro_list.py +++ b/equinix_metal/test/test_spot_market_prices_per_metro_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_prices_per_metro_list import SpotMarketPricesPerMetroList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotMarketPricesPerMetroList(unittest.TestCase): """SpotMarketPricesPerMetroList unit test stubs""" @@ -36,16 +36,16 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotMarketPricesPerMetroList` """ - model = equinix_metal.models.spot_market_prices_per_metro_list.SpotMarketPricesPerMetroList() # noqa: E501 + model = equinix_metal_t0mk.models.spot_market_prices_per_metro_list.SpotMarketPricesPerMetroList() # noqa: E501 if include_optional : return SpotMarketPricesPerMetroList( href = '', - spot_market_prices = equinix_metal.models.spot_market_prices_per_metro_report.SpotMarketPricesPerMetroReport( - am = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + spot_market_prices = equinix_metal_t0mk.models.spot_market_prices_per_metro_report.SpotMarketPricesPerMetroReport( + am = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -56,7 +56,7 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - ch = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( + ch = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( href = '', ), da = , href = '', diff --git a/equinix_metal/test/test_spot_market_prices_per_metro_report.py b/equinix_metal/test/test_spot_market_prices_per_metro_report.py index 713f1c5e..efd0aff9 100644 --- a/equinix_metal/test/test_spot_market_prices_per_metro_report.py +++ b/equinix_metal/test/test_spot_market_prices_per_metro_report.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_market_prices_per_metro_report import SpotMarketPricesPerMetroReport # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_prices_per_metro_report import SpotMarketPricesPerMetroReport # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotMarketPricesPerMetroReport(unittest.TestCase): """SpotMarketPricesPerMetroReport unit test stubs""" @@ -36,14 +36,14 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotMarketPricesPerMetroReport` """ - model = equinix_metal.models.spot_market_prices_per_metro_report.SpotMarketPricesPerMetroReport() # noqa: E501 + model = equinix_metal_t0mk.models.spot_market_prices_per_metro_report.SpotMarketPricesPerMetroReport() # noqa: E501 if include_optional : return SpotMarketPricesPerMetroReport( - am = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + am = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -54,11 +54,11 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - ch = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + ch = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -69,11 +69,11 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - da = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + da = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -85,11 +85,11 @@ def make_instance(self, include_optional): href = '', m2/xlarge/x86 = , ), href = '', - la = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + la = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -100,11 +100,11 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - ny = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + ny = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -115,11 +115,11 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - sg = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + sg = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -130,11 +130,11 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - sv = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + sv = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , diff --git a/equinix_metal/test/test_spot_market_request.py b/equinix_metal/test/test_spot_market_request.py index 8844c51b..16879f10 100644 --- a/equinix_metal/test/test_spot_market_request.py +++ b/equinix_metal/test/test_spot_market_request.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_market_request import SpotMarketRequest # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_request import SpotMarketRequest # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotMarketRequest(unittest.TestCase): """SpotMarketRequest unit test stubs""" @@ -36,22 +36,22 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotMarketRequest` """ - model = equinix_metal.models.spot_market_request.SpotMarketRequest() # noqa: E501 + model = equinix_metal_t0mk.models.spot_market_request.SpotMarketRequest() # noqa: E501 if include_optional : return SpotMarketRequest( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), devices_max = 56, devices_min = 56, end_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - facilities = equinix_metal.models.href.Href( + facilities = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', - instances = equinix_metal.models.href.Href( + instances = equinix_metal_t0mk.models.href.Href( href = '', ), max_bid_price = 1.337, metro = None, - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ) ) else : diff --git a/equinix_metal/test/test_spot_market_request_create_input.py b/equinix_metal/test/test_spot_market_request_create_input.py index 4006c516..92cae512 100644 --- a/equinix_metal/test/test_spot_market_request_create_input.py +++ b/equinix_metal/test/test_spot_market_request_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_market_request_create_input import SpotMarketRequestCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_request_create_input import SpotMarketRequestCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotMarketRequestCreateInput(unittest.TestCase): """SpotMarketRequestCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotMarketRequestCreateInput` """ - model = equinix_metal.models.spot_market_request_create_input.SpotMarketRequestCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.spot_market_request_create_input.SpotMarketRequestCreateInput() # noqa: E501 if include_optional : return SpotMarketRequestCreateInput( devices_max = 56, @@ -46,10 +46,10 @@ def make_instance(self, include_optional): '' ], href = '', - instance_parameters = equinix_metal.models.spot_market_request_create_input_instance_parameters.SpotMarketRequestCreateInput_instance_parameters( + instance_parameters = equinix_metal_t0mk.models.spot_market_request_create_input_instance_parameters.SpotMarketRequestCreateInput_instance_parameters( always_pxe = True, billing_cycle = '', - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), description = '', features = [ '' diff --git a/equinix_metal/test/test_spot_market_request_create_input_instance_parameters.py b/equinix_metal/test/test_spot_market_request_create_input_instance_parameters.py index 5fbcfd65..f7b00d50 100644 --- a/equinix_metal/test/test_spot_market_request_create_input_instance_parameters.py +++ b/equinix_metal/test/test_spot_market_request_create_input_instance_parameters.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_market_request_create_input_instance_parameters import SpotMarketRequestCreateInputInstanceParameters # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_request_create_input_instance_parameters import SpotMarketRequestCreateInputInstanceParameters # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotMarketRequestCreateInputInstanceParameters(unittest.TestCase): """SpotMarketRequestCreateInputInstanceParameters unit test stubs""" @@ -36,12 +36,12 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotMarketRequestCreateInputInstanceParameters` """ - model = equinix_metal.models.spot_market_request_create_input_instance_parameters.SpotMarketRequestCreateInputInstanceParameters() # noqa: E501 + model = equinix_metal_t0mk.models.spot_market_request_create_input_instance_parameters.SpotMarketRequestCreateInputInstanceParameters() # noqa: E501 if include_optional : return SpotMarketRequestCreateInputInstanceParameters( always_pxe = True, billing_cycle = '', - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), description = '', features = [ '' diff --git a/equinix_metal/test/test_spot_market_request_list.py b/equinix_metal/test/test_spot_market_request_list.py index fc7be432..11bd8be2 100644 --- a/equinix_metal/test/test_spot_market_request_list.py +++ b/equinix_metal/test/test_spot_market_request_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_market_request_list import SpotMarketRequestList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_request_list import SpotMarketRequestList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotMarketRequestList(unittest.TestCase): """SpotMarketRequestList unit test stubs""" @@ -36,21 +36,21 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotMarketRequestList` """ - model = equinix_metal.models.spot_market_request_list.SpotMarketRequestList() # noqa: E501 + model = equinix_metal_t0mk.models.spot_market_request_list.SpotMarketRequestList() # noqa: E501 if include_optional : return SpotMarketRequestList( href = '', spot_market_requests = [ - equinix_metal.models.spot_market_request.SpotMarketRequest( + equinix_metal_t0mk.models.spot_market_request.SpotMarketRequest( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), devices_max = 56, devices_min = 56, end_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - facilities = equinix_metal.models.href.Href( + facilities = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', - instances = equinix_metal.models.href.Href( + instances = equinix_metal_t0mk.models.href.Href( href = '', ), max_bid_price = 1.337, metro = null, diff --git a/equinix_metal/test/test_spot_market_request_metro.py b/equinix_metal/test/test_spot_market_request_metro.py index 71ecd12f..68e3e749 100644 --- a/equinix_metal/test/test_spot_market_request_metro.py +++ b/equinix_metal/test/test_spot_market_request_metro.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_market_request_metro import SpotMarketRequestMetro # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_market_request_metro import SpotMarketRequestMetro # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotMarketRequestMetro(unittest.TestCase): """SpotMarketRequestMetro unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotMarketRequestMetro` """ - model = equinix_metal.models.spot_market_request_metro.SpotMarketRequestMetro() # noqa: E501 + model = equinix_metal_t0mk.models.spot_market_request_metro.SpotMarketRequestMetro() # noqa: E501 if include_optional : return SpotMarketRequestMetro( code = '', diff --git a/equinix_metal/test/test_spot_prices_datapoints.py b/equinix_metal/test/test_spot_prices_datapoints.py index 8201b40f..fa7cebf2 100644 --- a/equinix_metal/test/test_spot_prices_datapoints.py +++ b/equinix_metal/test/test_spot_prices_datapoints.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_prices_datapoints import SpotPricesDatapoints # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_prices_datapoints import SpotPricesDatapoints # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotPricesDatapoints(unittest.TestCase): """SpotPricesDatapoints unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotPricesDatapoints` """ - model = equinix_metal.models.spot_prices_datapoints.SpotPricesDatapoints() # noqa: E501 + model = equinix_metal_t0mk.models.spot_prices_datapoints.SpotPricesDatapoints() # noqa: E501 if include_optional : return SpotPricesDatapoints( datapoints = [ diff --git a/equinix_metal/test/test_spot_prices_history_report.py b/equinix_metal/test/test_spot_prices_history_report.py index ee9f1fc9..1a000854 100644 --- a/equinix_metal/test/test_spot_prices_history_report.py +++ b/equinix_metal/test/test_spot_prices_history_report.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_prices_history_report import SpotPricesHistoryReport # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_prices_history_report import SpotPricesHistoryReport # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotPricesHistoryReport(unittest.TestCase): """SpotPricesHistoryReport unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotPricesHistoryReport` """ - model = equinix_metal.models.spot_prices_history_report.SpotPricesHistoryReport() # noqa: E501 + model = equinix_metal_t0mk.models.spot_prices_history_report.SpotPricesHistoryReport() # noqa: E501 if include_optional : return SpotPricesHistoryReport( href = '', - prices_history = equinix_metal.models.spot_prices_datapoints.SpotPricesDatapoints( + prices_history = equinix_metal_t0mk.models.spot_prices_datapoints.SpotPricesDatapoints( datapoints = [ [ 1.337 diff --git a/equinix_metal/test/test_spot_prices_per_baremetal.py b/equinix_metal/test/test_spot_prices_per_baremetal.py index 0179d4d0..53814965 100644 --- a/equinix_metal/test/test_spot_prices_per_baremetal.py +++ b/equinix_metal/test/test_spot_prices_per_baremetal.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_prices_per_baremetal import SpotPricesPerBaremetal # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_prices_per_baremetal import SpotPricesPerBaremetal # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotPricesPerBaremetal(unittest.TestCase): """SpotPricesPerBaremetal unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotPricesPerBaremetal` """ - model = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal() # noqa: E501 + model = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal() # noqa: E501 if include_optional : return SpotPricesPerBaremetal( href = '', diff --git a/equinix_metal/test/test_spot_prices_per_facility.py b/equinix_metal/test/test_spot_prices_per_facility.py index 28cc7644..a8b2e371 100644 --- a/equinix_metal/test/test_spot_prices_per_facility.py +++ b/equinix_metal/test/test_spot_prices_per_facility.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_prices_per_facility import SpotPricesPerFacility # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_prices_per_facility import SpotPricesPerFacility # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotPricesPerFacility(unittest.TestCase): """SpotPricesPerFacility unit test stubs""" @@ -36,35 +36,35 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotPricesPerFacility` """ - model = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility() # noqa: E501 + model = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility() # noqa: E501 if include_optional : return SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_2 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_2 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_2a = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_2a = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_2a2 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_2a2 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_3 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_3 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_s = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_s = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - c2_medium_x86 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + c2_medium_x86 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', - m2_xlarge_x86 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + m2_xlarge_x86 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ) ) diff --git a/equinix_metal/test/test_spot_prices_per_new_facility.py b/equinix_metal/test/test_spot_prices_per_new_facility.py index fa775929..b02fb030 100644 --- a/equinix_metal/test/test_spot_prices_per_new_facility.py +++ b/equinix_metal/test/test_spot_prices_per_new_facility.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_prices_per_new_facility import SpotPricesPerNewFacility # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_prices_per_new_facility import SpotPricesPerNewFacility # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotPricesPerNewFacility(unittest.TestCase): """SpotPricesPerNewFacility unit test stubs""" @@ -36,10 +36,10 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotPricesPerNewFacility` """ - model = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility() # noqa: E501 + model = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility() # noqa: E501 if include_optional : return SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '' diff --git a/equinix_metal/test/test_spot_prices_report.py b/equinix_metal/test/test_spot_prices_report.py index b49832b8..ae571fd6 100644 --- a/equinix_metal/test/test_spot_prices_report.py +++ b/equinix_metal/test/test_spot_prices_report.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.spot_prices_report import SpotPricesReport # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.spot_prices_report import SpotPricesReport # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSpotPricesReport(unittest.TestCase): """SpotPricesReport unit test stubs""" @@ -36,14 +36,14 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SpotPricesReport` """ - model = equinix_metal.models.spot_prices_report.SpotPricesReport() # noqa: E501 + model = equinix_metal_t0mk.models.spot_prices_report.SpotPricesReport() # noqa: E501 if include_optional : return SpotPricesReport( - ams1 = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + ams1 = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -54,21 +54,21 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - atl1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + atl1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', ), - dfw1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + dfw1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', ), - ewr1 = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + ewr1 = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -79,27 +79,27 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - fra1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + fra1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', ), href = '', - iad1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + iad1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', ), - lax1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + lax1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', ), - nrt1 = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + nrt1 = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -110,26 +110,26 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - ord1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + ord1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', ), - sea1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + sea1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', ), - sin1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + sin1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', ), - sjc1 = equinix_metal.models.spot_prices_per_facility.SpotPricesPerFacility( - baremetal_0 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + sjc1 = equinix_metal_t0mk.models.spot_prices_per_facility.SpotPricesPerFacility( + baremetal_0 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), - baremetal_1 = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + baremetal_1 = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), baremetal_2 = , @@ -140,13 +140,13 @@ def make_instance(self, include_optional): c2/medium/x86 = , href = '', m2/xlarge/x86 = , ), - syd1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + syd1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', ), - yyz1 = equinix_metal.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( - baremetal_1e = equinix_metal.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( + yyz1 = equinix_metal_t0mk.models.spot_prices_per_new_facility.SpotPricesPerNewFacility( + baremetal_1e = equinix_metal_t0mk.models.spot_prices_per_baremetal.SpotPricesPerBaremetal( href = '', price = 1.337, ), href = '', ) diff --git a/equinix_metal/test/test_ssh_key.py b/equinix_metal/test/test_ssh_key.py index 53f224cd..0f9ae682 100644 --- a/equinix_metal/test/test_ssh_key.py +++ b/equinix_metal/test/test_ssh_key.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ssh_key import SSHKey # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key import SSHKey # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSSHKey(unittest.TestCase): """SSHKey unit test stubs""" @@ -36,11 +36,11 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SSHKey` """ - model = equinix_metal.models.ssh_key.SSHKey() # noqa: E501 + model = equinix_metal_t0mk.models.ssh_key.SSHKey() # noqa: E501 if include_optional : return SSHKey( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - entity = equinix_metal.models.href.Href( + entity = equinix_metal_t0mk.models.href.Href( href = '', ), fingerprint = '', href = '', diff --git a/equinix_metal/test/test_ssh_key_create_input.py b/equinix_metal/test/test_ssh_key_create_input.py index 8df3c9d8..19d54c1c 100644 --- a/equinix_metal/test/test_ssh_key_create_input.py +++ b/equinix_metal/test/test_ssh_key_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ssh_key_create_input import SSHKeyCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key_create_input import SSHKeyCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSSHKeyCreateInput(unittest.TestCase): """SSHKeyCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SSHKeyCreateInput` """ - model = equinix_metal.models.ssh_key_create_input.SSHKeyCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.ssh_key_create_input.SSHKeyCreateInput() # noqa: E501 if include_optional : return SSHKeyCreateInput( href = '', diff --git a/equinix_metal/test/test_ssh_key_input.py b/equinix_metal/test/test_ssh_key_input.py index 65e754aa..9eb7028a 100644 --- a/equinix_metal/test/test_ssh_key_input.py +++ b/equinix_metal/test/test_ssh_key_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ssh_key_input import SSHKeyInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key_input import SSHKeyInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSSHKeyInput(unittest.TestCase): """SSHKeyInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SSHKeyInput` """ - model = equinix_metal.models.ssh_key_input.SSHKeyInput() # noqa: E501 + model = equinix_metal_t0mk.models.ssh_key_input.SSHKeyInput() # noqa: E501 if include_optional : return SSHKeyInput( href = '', diff --git a/equinix_metal/test/test_ssh_key_list.py b/equinix_metal/test/test_ssh_key_list.py index f0ea3548..4ea7ab6c 100644 --- a/equinix_metal/test/test_ssh_key_list.py +++ b/equinix_metal/test/test_ssh_key_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.ssh_key_list import SSHKeyList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.ssh_key_list import SSHKeyList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSSHKeyList(unittest.TestCase): """SSHKeyList unit test stubs""" @@ -36,14 +36,14 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SSHKeyList` """ - model = equinix_metal.models.ssh_key_list.SSHKeyList() # noqa: E501 + model = equinix_metal_t0mk.models.ssh_key_list.SSHKeyList() # noqa: E501 if include_optional : return SSHKeyList( href = '', ssh_keys = [ - equinix_metal.models.ssh_key.SSHKey( + equinix_metal_t0mk.models.ssh_key.SSHKey( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - entity = equinix_metal.models.href.Href( + entity = equinix_metal_t0mk.models.href.Href( href = '', ), fingerprint = '', href = '', diff --git a/equinix_metal/test/test_ssh_keys_api.py b/equinix_metal/test/test_ssh_keys_api.py index ac2427f7..3710b4c3 100644 --- a/equinix_metal/test/test_ssh_keys_api.py +++ b/equinix_metal/test/test_ssh_keys_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.ssh_keys_api import SSHKeysApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.ssh_keys_api import SSHKeysApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSSHKeysApi(unittest.TestCase): """SSHKeysApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.ssh_keys_api.SSHKeysApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.ssh_keys_api.SSHKeysApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_storage.py b/equinix_metal/test/test_storage.py index 96063bf6..eed951cd 100644 --- a/equinix_metal/test/test_storage.py +++ b/equinix_metal/test/test_storage.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.storage import Storage # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.storage import Storage # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestStorage(unittest.TestCase): """Storage unit test stubs""" @@ -36,15 +36,15 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Storage` """ - model = equinix_metal.models.storage.Storage() # noqa: E501 + model = equinix_metal_t0mk.models.storage.Storage() # noqa: E501 if include_optional : return Storage( disks = [ - equinix_metal.models.disk.Disk( + equinix_metal_t0mk.models.disk.Disk( device = '', href = '', partitions = [ - equinix_metal.models.partition.Partition( + equinix_metal_t0mk.models.partition.Partition( href = '', label = '', number = 56, @@ -53,9 +53,9 @@ def make_instance(self, include_optional): wipe_table = True, ) ], filesystems = [ - equinix_metal.models.filesystem.Filesystem( + equinix_metal_t0mk.models.filesystem.Filesystem( href = '', - mount = equinix_metal.models.mount.Mount( + mount = equinix_metal_t0mk.models.mount.Mount( device = '', format = '', href = '', @@ -66,7 +66,7 @@ def make_instance(self, include_optional): ], href = '', raid = [ - equinix_metal.models.raid.Raid( + equinix_metal_t0mk.models.raid.Raid( devices = [ '' ], diff --git a/equinix_metal/test/test_support_request_api.py b/equinix_metal/test/test_support_request_api.py index 35b4fc70..f9e93a81 100644 --- a/equinix_metal/test/test_support_request_api.py +++ b/equinix_metal/test/test_support_request_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.support_request_api import SupportRequestApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.support_request_api import SupportRequestApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSupportRequestApi(unittest.TestCase): """SupportRequestApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.support_request_api.SupportRequestApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.support_request_api.SupportRequestApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_support_request_input.py b/equinix_metal/test/test_support_request_input.py index 9b186ece..fe486533 100644 --- a/equinix_metal/test/test_support_request_input.py +++ b/equinix_metal/test/test_support_request_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.support_request_input import SupportRequestInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.support_request_input import SupportRequestInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestSupportRequestInput(unittest.TestCase): """SupportRequestInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `SupportRequestInput` """ - model = equinix_metal.models.support_request_input.SupportRequestInput() # noqa: E501 + model = equinix_metal_t0mk.models.support_request_input.SupportRequestInput() # noqa: E501 if include_optional : return SupportRequestInput( device_id = '', diff --git a/equinix_metal/test/test_transfer_request.py b/equinix_metal/test/test_transfer_request.py index 9e4ed5d3..f3a713d7 100644 --- a/equinix_metal/test/test_transfer_request.py +++ b/equinix_metal/test/test_transfer_request.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.transfer_request import TransferRequest # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.transfer_request import TransferRequest # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestTransferRequest(unittest.TestCase): """TransferRequest unit test stubs""" @@ -36,15 +36,15 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `TransferRequest` """ - model = equinix_metal.models.transfer_request.TransferRequest() # noqa: E501 + model = equinix_metal_t0mk.models.transfer_request.TransferRequest() # noqa: E501 if include_optional : return TransferRequest( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), - target_organization = equinix_metal.models.href.Href( + target_organization = equinix_metal_t0mk.models.href.Href( href = '', ), updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') ) diff --git a/equinix_metal/test/test_transfer_request_input.py b/equinix_metal/test/test_transfer_request_input.py index e7df9f74..109e62c7 100644 --- a/equinix_metal/test/test_transfer_request_input.py +++ b/equinix_metal/test/test_transfer_request_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.transfer_request_input import TransferRequestInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.transfer_request_input import TransferRequestInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestTransferRequestInput(unittest.TestCase): """TransferRequestInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `TransferRequestInput` """ - model = equinix_metal.models.transfer_request_input.TransferRequestInput() # noqa: E501 + model = equinix_metal_t0mk.models.transfer_request_input.TransferRequestInput() # noqa: E501 if include_optional : return TransferRequestInput( href = '', diff --git a/equinix_metal/test/test_transfer_request_list.py b/equinix_metal/test/test_transfer_request_list.py index 9627c11d..db7734cf 100644 --- a/equinix_metal/test/test_transfer_request_list.py +++ b/equinix_metal/test/test_transfer_request_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.transfer_request_list import TransferRequestList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.transfer_request_list import TransferRequestList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestTransferRequestList(unittest.TestCase): """TransferRequestList unit test stubs""" @@ -36,18 +36,18 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `TransferRequestList` """ - model = equinix_metal.models.transfer_request_list.TransferRequestList() # noqa: E501 + model = equinix_metal_t0mk.models.transfer_request_list.TransferRequestList() # noqa: E501 if include_optional : return TransferRequestList( href = '', transfers = [ - equinix_metal.models.transfer_request.TransferRequest( + equinix_metal_t0mk.models.transfer_request.TransferRequest( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '', id = '', - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), - target_organization = equinix_metal.models.href.Href( + target_organization = equinix_metal_t0mk.models.href.Href( href = '', ), updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) ] diff --git a/equinix_metal/test/test_transfer_requests_api.py b/equinix_metal/test/test_transfer_requests_api.py index 6a6b9734..16476904 100644 --- a/equinix_metal/test/test_transfer_requests_api.py +++ b/equinix_metal/test/test_transfer_requests_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.transfer_requests_api import TransferRequestsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.transfer_requests_api import TransferRequestsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestTransferRequestsApi(unittest.TestCase): """TransferRequestsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.transfer_requests_api.TransferRequestsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.transfer_requests_api.TransferRequestsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_two_factor_auth_api.py b/equinix_metal/test/test_two_factor_auth_api.py index d7472b4b..2a7ccb8d 100644 --- a/equinix_metal/test/test_two_factor_auth_api.py +++ b/equinix_metal/test/test_two_factor_auth_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.two_factor_auth_api import TwoFactorAuthApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.two_factor_auth_api import TwoFactorAuthApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestTwoFactorAuthApi(unittest.TestCase): """TwoFactorAuthApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.two_factor_auth_api.TwoFactorAuthApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.two_factor_auth_api.TwoFactorAuthApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_update_email_input.py b/equinix_metal/test/test_update_email_input.py index 4146ce98..d4e08e47 100644 --- a/equinix_metal/test/test_update_email_input.py +++ b/equinix_metal/test/test_update_email_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.update_email_input import UpdateEmailInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.update_email_input import UpdateEmailInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUpdateEmailInput(unittest.TestCase): """UpdateEmailInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `UpdateEmailInput` """ - model = equinix_metal.models.update_email_input.UpdateEmailInput() # noqa: E501 + model = equinix_metal_t0mk.models.update_email_input.UpdateEmailInput() # noqa: E501 if include_optional : return UpdateEmailInput( default = True, diff --git a/equinix_metal/test/test_usages_api.py b/equinix_metal/test/test_usages_api.py index 06adbe50..8d04c6d5 100644 --- a/equinix_metal/test/test_usages_api.py +++ b/equinix_metal/test/test_usages_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.usages_api import UsagesApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.usages_api import UsagesApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUsagesApi(unittest.TestCase): """UsagesApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.usages_api.UsagesApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.usages_api.UsagesApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_user.py b/equinix_metal/test/test_user.py index fe7ed5a3..5f703133 100644 --- a/equinix_metal/test/test_user.py +++ b/equinix_metal/test/test_user.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.user import User # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user import User # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUser(unittest.TestCase): """User unit test stubs""" @@ -36,18 +36,18 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `User` """ - model = equinix_metal.models.user.User() # noqa: E501 + model = equinix_metal_t0mk.models.user.User() # noqa: E501 if include_optional : return User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', diff --git a/equinix_metal/test/test_user_create_input.py b/equinix_metal/test/test_user_create_input.py index 040d8adb..f75a71ac 100644 --- a/equinix_metal/test/test_user_create_input.py +++ b/equinix_metal/test/test_user_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.user_create_input import UserCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user_create_input import UserCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUserCreateInput(unittest.TestCase): """UserCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `UserCreateInput` """ - model = equinix_metal.models.user_create_input.UserCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.user_create_input.UserCreateInput() # noqa: E501 if include_optional : return UserCreateInput( avatar = bytes(b'blah'), @@ -44,7 +44,7 @@ def make_instance(self, include_optional): company_url = '', customdata = None, emails = [ - equinix_metal.models.email_input.EmailInput( + equinix_metal_t0mk.models.email_input.EmailInput( address = '', default = True, href = '', ) @@ -66,7 +66,7 @@ def make_instance(self, include_optional): else : return UserCreateInput( emails = [ - equinix_metal.models.email_input.EmailInput( + equinix_metal_t0mk.models.email_input.EmailInput( address = '', default = True, href = '', ) diff --git a/equinix_metal/test/test_user_limited.py b/equinix_metal/test/test_user_limited.py index bc3bc0bf..3d65e074 100644 --- a/equinix_metal/test/test_user_limited.py +++ b/equinix_metal/test/test_user_limited.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.user_limited import UserLimited # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user_limited import UserLimited # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUserLimited(unittest.TestCase): """UserLimited unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `UserLimited` """ - model = equinix_metal.models.user_limited.UserLimited() # noqa: E501 + model = equinix_metal_t0mk.models.user_limited.UserLimited() # noqa: E501 if include_optional : return UserLimited( avatar_thumb_url = '', diff --git a/equinix_metal/test/test_user_list.py b/equinix_metal/test/test_user_list.py index 7b37995b..ca128a12 100644 --- a/equinix_metal/test/test_user_list.py +++ b/equinix_metal/test/test_user_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.user_list import UserList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user_list import UserList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUserList(unittest.TestCase): """UserList unit test stubs""" @@ -36,16 +36,16 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `UserList` """ - model = equinix_metal.models.user_list.UserList() # noqa: E501 + model = equinix_metal_t0mk.models.user_list.UserList() # noqa: E501 if include_optional : return UserList( href = '', - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , @@ -53,16 +53,16 @@ def make_instance(self, include_optional): self = , total = 56, ), users = [ - equinix_metal.models.user.User( + equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', diff --git a/equinix_metal/test/test_user_lite.py b/equinix_metal/test/test_user_lite.py index 7bf255fa..9273d93c 100644 --- a/equinix_metal/test/test_user_lite.py +++ b/equinix_metal/test/test_user_lite.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.user_lite import UserLite # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user_lite import UserLite # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUserLite(unittest.TestCase): """UserLite unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `UserLite` """ - model = equinix_metal.models.user_lite.UserLite() # noqa: E501 + model = equinix_metal_t0mk.models.user_lite.UserLite() # noqa: E501 if include_optional : return UserLite( avatar_thumb_url = '', diff --git a/equinix_metal/test/test_user_update_input.py b/equinix_metal/test/test_user_update_input.py index ed397048..e484e579 100644 --- a/equinix_metal/test/test_user_update_input.py +++ b/equinix_metal/test/test_user_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.user_update_input import UserUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.user_update_input import UserUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUserUpdateInput(unittest.TestCase): """UserUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `UserUpdateInput` """ - model = equinix_metal.models.user_update_input.UserUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.user_update_input.UserUpdateInput() # noqa: E501 if include_optional : return UserUpdateInput( customdata = None, diff --git a/equinix_metal/test/test_user_verification_tokens_api.py b/equinix_metal/test/test_user_verification_tokens_api.py index 4b2f1f95..1b7711a8 100644 --- a/equinix_metal/test/test_user_verification_tokens_api.py +++ b/equinix_metal/test/test_user_verification_tokens_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.user_verification_tokens_api import UserVerificationTokensApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.user_verification_tokens_api import UserVerificationTokensApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUserVerificationTokensApi(unittest.TestCase): """UserVerificationTokensApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.user_verification_tokens_api.UserVerificationTokensApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.user_verification_tokens_api.UserVerificationTokensApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_userdata.py b/equinix_metal/test/test_userdata.py index b1de0010..8ad00afd 100644 --- a/equinix_metal/test/test_userdata.py +++ b/equinix_metal/test/test_userdata.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.userdata import Userdata # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.userdata import Userdata # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUserdata(unittest.TestCase): """Userdata unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Userdata` """ - model = equinix_metal.models.userdata.Userdata() # noqa: E501 + model = equinix_metal_t0mk.models.userdata.Userdata() # noqa: E501 if include_optional : return Userdata( href = '', diff --git a/equinix_metal/test/test_userdata_api.py b/equinix_metal/test/test_userdata_api.py index ed5c1e16..9864e06f 100644 --- a/equinix_metal/test/test_userdata_api.py +++ b/equinix_metal/test/test_userdata_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.userdata_api import UserdataApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.userdata_api import UserdataApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUserdataApi(unittest.TestCase): """UserdataApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.userdata_api.UserdataApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.userdata_api.UserdataApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_users_api.py b/equinix_metal/test/test_users_api.py index 24c0c97f..bda23801 100644 --- a/equinix_metal/test/test_users_api.py +++ b/equinix_metal/test/test_users_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.users_api import UsersApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.users_api import UsersApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestUsersApi(unittest.TestCase): """UsersApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.users_api.UsersApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.users_api.UsersApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_verify_email.py b/equinix_metal/test/test_verify_email.py index b9f85dfe..edb6c6a5 100644 --- a/equinix_metal/test/test_verify_email.py +++ b/equinix_metal/test/test_verify_email.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.verify_email import VerifyEmail # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.verify_email import VerifyEmail # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVerifyEmail(unittest.TestCase): """VerifyEmail unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VerifyEmail` """ - model = equinix_metal.models.verify_email.VerifyEmail() # noqa: E501 + model = equinix_metal_t0mk.models.verify_email.VerifyEmail() # noqa: E501 if include_optional : return VerifyEmail( href = '', diff --git a/equinix_metal/test/test_virtual_circuit.py b/equinix_metal/test/test_virtual_circuit.py index 9986dc12..41e9f19d 100644 --- a/equinix_metal/test/test_virtual_circuit.py +++ b/equinix_metal/test/test_virtual_circuit.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.virtual_circuit import VirtualCircuit # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_circuit import VirtualCircuit # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVirtualCircuit(unittest.TestCase): """VirtualCircuit unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VirtualCircuit` """ - model = equinix_metal.models.virtual_circuit.VirtualCircuit() # noqa: E501 + model = equinix_metal_t0mk.models.virtual_circuit.VirtualCircuit() # noqa: E501 if include_optional : return VirtualCircuit( bill = True, @@ -47,9 +47,9 @@ def make_instance(self, include_optional): id = '', name = '', nni_vlan = 56, - port = equinix_metal.models.href.Href( + port = equinix_metal_t0mk.models.href.Href( href = '', ), - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), speed = 56, status = 'pending', @@ -58,7 +58,7 @@ def make_instance(self, include_optional): ], type = 'vlan', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.href.Href( + virtual_network = equinix_metal_t0mk.models.href.Href( href = '', ), vnid = 56, customer_ip = '12.0.0.2', @@ -66,22 +66,22 @@ def make_instance(self, include_optional): metal_ip = '12.0.0.1', peer_asn = 56, subnet = '12.0.0.0/30', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -105,19 +105,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -126,7 +126,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -134,7 +134,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -153,7 +153,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -170,7 +170,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -186,22 +186,22 @@ def make_instance(self, include_optional): ) else : return VirtualCircuit( - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -225,19 +225,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -246,7 +246,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -254,7 +254,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -273,7 +273,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -290,7 +290,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_virtual_circuit_create_input.py b/equinix_metal/test/test_virtual_circuit_create_input.py index b4eb6471..b2f63fa4 100644 --- a/equinix_metal/test/test_virtual_circuit_create_input.py +++ b/equinix_metal/test/test_virtual_circuit_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.virtual_circuit_create_input import VirtualCircuitCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_circuit_create_input import VirtualCircuitCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVirtualCircuitCreateInput(unittest.TestCase): """VirtualCircuitCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VirtualCircuitCreateInput` """ - model = equinix_metal.models.virtual_circuit_create_input.VirtualCircuitCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.virtual_circuit_create_input.VirtualCircuitCreateInput() # noqa: E501 if include_optional : return VirtualCircuitCreateInput( description = '', diff --git a/equinix_metal/test/test_virtual_circuit_list.py b/equinix_metal/test/test_virtual_circuit_list.py index 6cf4f566..8f1a0189 100644 --- a/equinix_metal/test/test_virtual_circuit_list.py +++ b/equinix_metal/test/test_virtual_circuit_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.virtual_circuit_list import VirtualCircuitList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_circuit_list import VirtualCircuitList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVirtualCircuitList(unittest.TestCase): """VirtualCircuitList unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VirtualCircuitList` """ - model = equinix_metal.models.virtual_circuit_list.VirtualCircuitList() # noqa: E501 + model = equinix_metal_t0mk.models.virtual_circuit_list.VirtualCircuitList() # noqa: E501 if include_optional : return VirtualCircuitList( href = '', diff --git a/equinix_metal/test/test_virtual_circuit_update_input.py b/equinix_metal/test/test_virtual_circuit_update_input.py index 85a0d9bc..f6b2f4b6 100644 --- a/equinix_metal/test/test_virtual_circuit_update_input.py +++ b/equinix_metal/test/test_virtual_circuit_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.virtual_circuit_update_input import VirtualCircuitUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_circuit_update_input import VirtualCircuitUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVirtualCircuitUpdateInput(unittest.TestCase): """VirtualCircuitUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VirtualCircuitUpdateInput` """ - model = equinix_metal.models.virtual_circuit_update_input.VirtualCircuitUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.virtual_circuit_update_input.VirtualCircuitUpdateInput() # noqa: E501 if include_optional : return VirtualCircuitUpdateInput( description = '', diff --git a/equinix_metal/test/test_virtual_network.py b/equinix_metal/test/test_virtual_network.py index f07d85d0..046730fc 100644 --- a/equinix_metal/test/test_virtual_network.py +++ b/equinix_metal/test/test_virtual_network.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.virtual_network import VirtualNetwork # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_network import VirtualNetwork # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVirtualNetwork(unittest.TestCase): """VirtualNetwork unit test stubs""" @@ -36,23 +36,23 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VirtualNetwork` """ - model = equinix_metal.models.virtual_network.VirtualNetwork() # noqa: E501 + model = equinix_metal_t0mk.models.virtual_network.VirtualNetwork() # noqa: E501 if include_optional : return VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', instances = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -61,7 +61,7 @@ def make_instance(self, include_optional): updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ) ], - metro = equinix_metal.models.href.Href( + metro = equinix_metal_t0mk.models.href.Href( href = '', ), metro_code = '', tags = [ diff --git a/equinix_metal/test/test_virtual_network_create_input.py b/equinix_metal/test/test_virtual_network_create_input.py index 8380baff..987fa457 100644 --- a/equinix_metal/test/test_virtual_network_create_input.py +++ b/equinix_metal/test/test_virtual_network_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.virtual_network_create_input import VirtualNetworkCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_network_create_input import VirtualNetworkCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVirtualNetworkCreateInput(unittest.TestCase): """VirtualNetworkCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VirtualNetworkCreateInput` """ - model = equinix_metal.models.virtual_network_create_input.VirtualNetworkCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.virtual_network_create_input.VirtualNetworkCreateInput() # noqa: E501 if include_optional : return VirtualNetworkCreateInput( description = '', diff --git a/equinix_metal/test/test_virtual_network_list.py b/equinix_metal/test/test_virtual_network_list.py index 6b06cd5a..dd1ceab7 100644 --- a/equinix_metal/test/test_virtual_network_list.py +++ b/equinix_metal/test/test_virtual_network_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.virtual_network_list import VirtualNetworkList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.virtual_network_list import VirtualNetworkList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVirtualNetworkList(unittest.TestCase): """VirtualNetworkList unit test stubs""" @@ -36,17 +36,17 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VirtualNetworkList` """ - model = equinix_metal.models.virtual_network_list.VirtualNetworkList() # noqa: E501 + model = equinix_metal_t0mk.models.virtual_network_list.VirtualNetworkList() # noqa: E501 if include_optional : return VirtualNetworkList( href = '', virtual_networks = [ - equinix_metal.models.virtual_network.VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + equinix_metal_t0mk.models.virtual_network.VirtualNetwork( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', @@ -54,7 +54,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', diff --git a/equinix_metal/test/test_vlan_fabric_vc_create_input.py b/equinix_metal/test/test_vlan_fabric_vc_create_input.py index aecbb090..1f1f77ea 100644 --- a/equinix_metal/test/test_vlan_fabric_vc_create_input.py +++ b/equinix_metal/test/test_vlan_fabric_vc_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vlan_fabric_vc_create_input import VlanFabricVcCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vlan_fabric_vc_create_input import VlanFabricVcCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVlanFabricVcCreateInput(unittest.TestCase): """VlanFabricVcCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VlanFabricVcCreateInput` """ - model = equinix_metal.models.vlan_fabric_vc_create_input.VlanFabricVcCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vlan_fabric_vc_create_input.VlanFabricVcCreateInput() # noqa: E501 if include_optional : return VlanFabricVcCreateInput( contact_email = '', diff --git a/equinix_metal/test/test_vlan_virtual_circuit.py b/equinix_metal/test/test_vlan_virtual_circuit.py index 5505ea3a..45affe4a 100644 --- a/equinix_metal/test/test_vlan_virtual_circuit.py +++ b/equinix_metal/test/test_vlan_virtual_circuit.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vlan_virtual_circuit import VlanVirtualCircuit # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vlan_virtual_circuit import VlanVirtualCircuit # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVlanVirtualCircuit(unittest.TestCase): """VlanVirtualCircuit unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VlanVirtualCircuit` """ - model = equinix_metal.models.vlan_virtual_circuit.VlanVirtualCircuit() # noqa: E501 + model = equinix_metal_t0mk.models.vlan_virtual_circuit.VlanVirtualCircuit() # noqa: E501 if include_optional : return VlanVirtualCircuit( bill = True, @@ -47,9 +47,9 @@ def make_instance(self, include_optional): id = '', name = '', nni_vlan = 56, - port = equinix_metal.models.href.Href( + port = equinix_metal_t0mk.models.href.Href( href = '', ), - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), speed = 56, status = 'pending', @@ -58,7 +58,7 @@ def make_instance(self, include_optional): ], type = 'vlan', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.href.Href( + virtual_network = equinix_metal_t0mk.models.href.Href( href = '', ), vnid = 56 ) diff --git a/equinix_metal/test/test_vlan_virtual_circuit_create_input.py b/equinix_metal/test/test_vlan_virtual_circuit_create_input.py index d751e6e5..a9e2bddc 100644 --- a/equinix_metal/test/test_vlan_virtual_circuit_create_input.py +++ b/equinix_metal/test/test_vlan_virtual_circuit_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vlan_virtual_circuit_create_input import VlanVirtualCircuitCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vlan_virtual_circuit_create_input import VlanVirtualCircuitCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVlanVirtualCircuitCreateInput(unittest.TestCase): """VlanVirtualCircuitCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VlanVirtualCircuitCreateInput` """ - model = equinix_metal.models.vlan_virtual_circuit_create_input.VlanVirtualCircuitCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vlan_virtual_circuit_create_input.VlanVirtualCircuitCreateInput() # noqa: E501 if include_optional : return VlanVirtualCircuitCreateInput( description = '', diff --git a/equinix_metal/test/test_vlan_virtual_circuit_update_input.py b/equinix_metal/test/test_vlan_virtual_circuit_update_input.py index 0ef9af1a..4598708d 100644 --- a/equinix_metal/test/test_vlan_virtual_circuit_update_input.py +++ b/equinix_metal/test/test_vlan_virtual_circuit_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vlan_virtual_circuit_update_input import VlanVirtualCircuitUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vlan_virtual_circuit_update_input import VlanVirtualCircuitUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVlanVirtualCircuitUpdateInput(unittest.TestCase): """VlanVirtualCircuitUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VlanVirtualCircuitUpdateInput` """ - model = equinix_metal.models.vlan_virtual_circuit_update_input.VlanVirtualCircuitUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vlan_virtual_circuit_update_input.VlanVirtualCircuitUpdateInput() # noqa: E501 if include_optional : return VlanVirtualCircuitUpdateInput( description = '', diff --git a/equinix_metal/test/test_vlans_api.py b/equinix_metal/test/test_vlans_api.py index 8a4b5fcf..da8721f6 100644 --- a/equinix_metal/test/test_vlans_api.py +++ b/equinix_metal/test/test_vlans_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.vlans_api import VLANsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.vlans_api import VLANsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVLANsApi(unittest.TestCase): """VLANsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.vlans_api.VLANsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.vlans_api.VLANsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/test/test_vrf.py b/equinix_metal/test/test_vrf.py index a394f553..d786329f 100644 --- a/equinix_metal/test/test_vrf.py +++ b/equinix_metal/test/test_vrf.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf import Vrf # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf import Vrf # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrf(unittest.TestCase): """Vrf unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `Vrf` """ - model = equinix_metal.models.vrf.Vrf() # noqa: E501 + model = equinix_metal_t0mk.models.vrf.Vrf() # noqa: E501 if include_optional : return Vrf( bgp_dynamic_neighbors_bfd_enabled = True, @@ -44,16 +44,16 @@ def make_instance(self, include_optional): bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -77,21 +77,21 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -99,7 +99,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -107,7 +107,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -126,7 +126,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -137,9 +137,9 @@ def make_instance(self, include_optional): name = '', nni_vlan = 56, peer_asn = 56, - port = equinix_metal.models.href.Href( + port = equinix_metal_t0mk.models.href.Href( href = '', ), - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), speed = 56, status = 'pending', @@ -149,17 +149,17 @@ def make_instance(self, include_optional): ], type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', @@ -187,7 +187,7 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', diff --git a/equinix_metal/test/test_vrf_create_input.py b/equinix_metal/test/test_vrf_create_input.py index 84dd41ea..2ee8e5ee 100644 --- a/equinix_metal/test/test_vrf_create_input.py +++ b/equinix_metal/test/test_vrf_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_create_input import VrfCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_create_input import VrfCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfCreateInput(unittest.TestCase): """VrfCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfCreateInput` """ - model = equinix_metal.models.vrf_create_input.VrfCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_create_input.VrfCreateInput() # noqa: E501 if include_optional : return VrfCreateInput( bgp_dynamic_neighbors_bfd_enabled = True, diff --git a/equinix_metal/test/test_vrf_fabric_vc_create_input.py b/equinix_metal/test/test_vrf_fabric_vc_create_input.py index 80f06f3c..77775dd2 100644 --- a/equinix_metal/test/test_vrf_fabric_vc_create_input.py +++ b/equinix_metal/test/test_vrf_fabric_vc_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_fabric_vc_create_input import VrfFabricVcCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_fabric_vc_create_input import VrfFabricVcCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfFabricVcCreateInput(unittest.TestCase): """VrfFabricVcCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfFabricVcCreateInput` """ - model = equinix_metal.models.vrf_fabric_vc_create_input.VrfFabricVcCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_fabric_vc_create_input.VrfFabricVcCreateInput() # noqa: E501 if include_optional : return VrfFabricVcCreateInput( contact_email = '', diff --git a/equinix_metal/test/test_vrf_ip_reservation.py b/equinix_metal/test/test_vrf_ip_reservation.py index a95c1b7d..60bae6f8 100644 --- a/equinix_metal/test/test_vrf_ip_reservation.py +++ b/equinix_metal/test/test_vrf_ip_reservation.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_ip_reservation import VrfIpReservation # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_ip_reservation import VrfIpReservation # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfIpReservation(unittest.TestCase): """VrfIpReservation unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfIpReservation` """ - model = equinix_metal.models.vrf_ip_reservation.VrfIpReservation() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_ip_reservation.VrfIpReservation() # noqa: E501 if include_optional : return VrfIpReservation( address = '', @@ -44,16 +44,16 @@ def make_instance(self, include_optional): bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', gateway = '', href = '', id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -61,7 +61,7 @@ def make_instance(self, include_optional): state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ), - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -69,14 +69,14 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -84,7 +84,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -92,7 +92,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -106,14 +106,14 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -121,7 +121,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -129,7 +129,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -149,22 +149,22 @@ def make_instance(self, include_optional): '' ], type = 'vrf', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -188,19 +188,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -209,7 +209,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -217,7 +217,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -236,7 +236,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -253,7 +253,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -270,22 +270,22 @@ def make_instance(self, include_optional): else : return VrfIpReservation( type = 'vrf', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -309,19 +309,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -330,7 +330,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -338,7 +338,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -357,7 +357,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -374,7 +374,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_vrf_ip_reservation_create_input.py b/equinix_metal/test/test_vrf_ip_reservation_create_input.py index d17409a7..cad8d3ba 100644 --- a/equinix_metal/test/test_vrf_ip_reservation_create_input.py +++ b/equinix_metal/test/test_vrf_ip_reservation_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_ip_reservation_create_input import VrfIpReservationCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_ip_reservation_create_input import VrfIpReservationCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfIpReservationCreateInput(unittest.TestCase): """VrfIpReservationCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfIpReservationCreateInput` """ - model = equinix_metal.models.vrf_ip_reservation_create_input.VrfIpReservationCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_ip_reservation_create_input.VrfIpReservationCreateInput() # noqa: E501 if include_optional : return VrfIpReservationCreateInput( cidr = 16, diff --git a/equinix_metal/test/test_vrf_ip_reservation_list.py b/equinix_metal/test/test_vrf_ip_reservation_list.py index a6fa1608..6e219321 100644 --- a/equinix_metal/test/test_vrf_ip_reservation_list.py +++ b/equinix_metal/test/test_vrf_ip_reservation_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_ip_reservation_list import VrfIpReservationList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_ip_reservation_list import VrfIpReservationList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfIpReservationList(unittest.TestCase): """VrfIpReservationList unit test stubs""" @@ -36,27 +36,27 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfIpReservationList` """ - model = equinix_metal.models.vrf_ip_reservation_list.VrfIpReservationList() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_ip_reservation_list.VrfIpReservationList() # noqa: E501 if include_optional : return VrfIpReservationList( href = '', ip_addresses = [ - equinix_metal.models.vrf_ip_reservation.VrfIpReservation( + equinix_metal_t0mk.models.vrf_ip_reservation.VrfIpReservation( address = '', address_family = 56, bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', gateway = '', href = '', id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -64,7 +64,7 @@ def make_instance(self, include_optional): state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ), - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -72,12 +72,12 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -86,7 +86,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -94,7 +94,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -108,15 +108,15 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), public = True, @@ -125,7 +125,7 @@ def make_instance(self, include_optional): '' ], type = 'vrf', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -141,7 +141,7 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -158,7 +158,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_vrf_list.py b/equinix_metal/test/test_vrf_list.py index 902e5b03..a52f5b09 100644 --- a/equinix_metal/test/test_vrf_list.py +++ b/equinix_metal/test/test_vrf_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_list import VrfList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_list import VrfList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfList(unittest.TestCase): """VrfList unit test stubs""" @@ -36,27 +36,27 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfList` """ - model = equinix_metal.models.vrf_list.VrfList() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_list.VrfList() # noqa: E501 if include_optional : return VrfList( href = '', vrfs = [ - equinix_metal.models.vrf.Vrf( + equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -80,19 +80,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -101,7 +101,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -109,7 +109,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -128,7 +128,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -145,7 +145,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_vrf_metal_gateway.py b/equinix_metal/test/test_vrf_metal_gateway.py index 26aedd99..bfed2b5a 100644 --- a/equinix_metal/test/test_vrf_metal_gateway.py +++ b/equinix_metal/test/test_vrf_metal_gateway.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_metal_gateway import VrfMetalGateway # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_metal_gateway import VrfMetalGateway # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfMetalGateway(unittest.TestCase): """VrfMetalGateway unit test stubs""" @@ -36,30 +36,30 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfMetalGateway` """ - model = equinix_metal.models.vrf_metal_gateway.VrfMetalGateway() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_metal_gateway.VrfMetalGateway() # noqa: E501 if include_optional : return VrfMetalGateway( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', - ip_reservation = equinix_metal.models.vrf_ip_reservation.VrfIpReservation( + ip_reservation = equinix_metal_t0mk.models.vrf_ip_reservation.VrfIpReservation( address = '', address_family = 56, bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', gateway = '', href = '', id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -67,7 +67,7 @@ def make_instance(self, include_optional): state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ), - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -75,12 +75,12 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -89,7 +89,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -97,7 +97,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -111,15 +111,15 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), public = True, @@ -128,7 +128,7 @@ def make_instance(self, include_optional): '' ], type = 'vrf', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -144,7 +144,7 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -161,7 +161,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -174,14 +174,14 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) ], ), ), - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], href = '', @@ -189,7 +189,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -197,7 +197,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -213,12 +213,12 @@ def make_instance(self, include_optional): ], ), state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', @@ -226,7 +226,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -241,22 +241,22 @@ def make_instance(self, include_optional): '' ], vxlan = 56, ), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -280,19 +280,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -301,7 +301,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -309,7 +309,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -328,7 +328,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -345,7 +345,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_vrf_metal_gateway_create_input.py b/equinix_metal/test/test_vrf_metal_gateway_create_input.py index 8c6f4e6d..012f6b2a 100644 --- a/equinix_metal/test/test_vrf_metal_gateway_create_input.py +++ b/equinix_metal/test/test_vrf_metal_gateway_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_metal_gateway_create_input import VrfMetalGatewayCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_metal_gateway_create_input import VrfMetalGatewayCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfMetalGatewayCreateInput(unittest.TestCase): """VrfMetalGatewayCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfMetalGatewayCreateInput` """ - model = equinix_metal.models.vrf_metal_gateway_create_input.VrfMetalGatewayCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_metal_gateway_create_input.VrfMetalGatewayCreateInput() # noqa: E501 if include_optional : return VrfMetalGatewayCreateInput( href = '', diff --git a/equinix_metal/test/test_vrf_route.py b/equinix_metal/test/test_vrf_route.py index a3e361b1..abde215e 100644 --- a/equinix_metal/test/test_vrf_route.py +++ b/equinix_metal/test/test_vrf_route.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_route import VrfRoute # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_route import VrfRoute # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfRoute(unittest.TestCase): """VrfRoute unit test stubs""" @@ -36,32 +36,32 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfRoute` """ - model = equinix_metal.models.vrf_route.VrfRoute() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_route.VrfRoute() # noqa: E501 if include_optional : return VrfRoute( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '/routes/e1ff9c2b-051a-4688-965f-153e274f77e0', id = 'e1ff9c2b-051a-4688-965f-153e274f77e0', - metal_gateway = equinix_metal.models.vrf_metal_gateway.VrfMetalGateway( + metal_gateway = equinix_metal_t0mk.models.vrf_metal_gateway.VrfMetalGateway( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', - ip_reservation = equinix_metal.models.vrf_ip_reservation.VrfIpReservation( + ip_reservation = equinix_metal_t0mk.models.vrf_ip_reservation.VrfIpReservation( address = '', address_family = 56, bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', gateway = '', href = '', id = '', manageable = True, management = True, - metal_gateway = equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + metal_gateway = equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -69,7 +69,7 @@ def make_instance(self, include_optional): state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), vlan = 1001, ), - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -77,12 +77,12 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -91,7 +91,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -99,7 +99,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -113,15 +113,15 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), public = True, @@ -130,7 +130,7 @@ def make_instance(self, include_optional): '' ], type = 'vrf', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -146,7 +146,7 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -163,7 +163,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -179,7 +179,7 @@ def make_instance(self, include_optional): project = , state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( + virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( assigned_to = , assigned_to_virtual_circuit = True, description = '', @@ -190,7 +190,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -210,12 +210,12 @@ def make_instance(self, include_optional): ], type = 'static', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( - assigned_to = equinix_metal.models.href.Href( + virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( + assigned_to = equinix_metal_t0mk.models.href.Href( href = '', ), assigned_to_virtual_circuit = True, description = '', - facility = equinix_metal.models.href.Href( + facility = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', @@ -223,7 +223,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -238,22 +238,22 @@ def make_instance(self, include_optional): '' ], vxlan = 56, ), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -277,19 +277,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -298,7 +298,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -306,7 +306,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -325,7 +325,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -342,7 +342,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_vrf_route_create_input.py b/equinix_metal/test/test_vrf_route_create_input.py index 0546cf6f..7fd97b84 100644 --- a/equinix_metal/test/test_vrf_route_create_input.py +++ b/equinix_metal/test/test_vrf_route_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_route_create_input import VrfRouteCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_route_create_input import VrfRouteCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfRouteCreateInput(unittest.TestCase): """VrfRouteCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfRouteCreateInput` """ - model = equinix_metal.models.vrf_route_create_input.VrfRouteCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_route_create_input.VrfRouteCreateInput() # noqa: E501 if include_optional : return VrfRouteCreateInput( href = '', diff --git a/equinix_metal/test/test_vrf_route_list.py b/equinix_metal/test/test_vrf_route_list.py index 48e57ab2..9251bf29 100644 --- a/equinix_metal/test/test_vrf_route_list.py +++ b/equinix_metal/test/test_vrf_route_list.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_route_list import VrfRouteList # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_route_list import VrfRouteList # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfRouteList(unittest.TestCase): """VrfRouteList unit test stubs""" @@ -36,16 +36,16 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfRouteList` """ - model = equinix_metal.models.vrf_route_list.VrfRouteList() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_route_list.VrfRouteList() # noqa: E501 if include_optional : return VrfRouteList( href = '', - meta = equinix_metal.models.meta.Meta( + meta = equinix_metal_t0mk.models.meta.Meta( current_page = 56, - first = equinix_metal.models.href.Href( + first = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', - last = equinix_metal.models.href.Href( + last = equinix_metal_t0mk.models.href.Href( href = '', ), last_page = 56, next = , @@ -53,30 +53,30 @@ def make_instance(self, include_optional): self = , total = 56, ), routes = [ - equinix_metal.models.vrf_route.VrfRoute( + equinix_metal_t0mk.models.vrf_route.VrfRoute( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), href = '/routes/e1ff9c2b-051a-4688-965f-153e274f77e0', id = 'e1ff9c2b-051a-4688-965f-153e274f77e0', - metal_gateway = equinix_metal.models.vrf_metal_gateway.VrfMetalGateway( + metal_gateway = equinix_metal_t0mk.models.vrf_metal_gateway.VrfMetalGateway( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.href.Href( + created_by = equinix_metal_t0mk.models.href.Href( href = '', ), href = '', id = '', - ip_reservation = equinix_metal.models.vrf_ip_reservation.VrfIpReservation( + ip_reservation = equinix_metal_t0mk.models.vrf_ip_reservation.VrfIpReservation( address = '', address_family = 56, bill = True, cidr = 56, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), details = '', gateway = '', href = '', id = '', manageable = True, management = True, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', @@ -84,12 +84,12 @@ def make_instance(self, include_optional): name = '', ), netmask = '', network = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -98,7 +98,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -106,7 +106,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -120,15 +120,15 @@ def make_instance(self, include_optional): volumes = [ ], ), - project_lite = equinix_metal.models.project.Project( + project_lite = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), href = '', id = '', - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), type = 'default', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), public = True, @@ -137,7 +137,7 @@ def make_instance(self, include_optional): '' ], type = 'vrf', - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -153,7 +153,7 @@ def make_instance(self, include_optional): name = '', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -170,7 +170,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -186,7 +186,7 @@ def make_instance(self, include_optional): project = , state = 'ready', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( + virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( assigned_to = , assigned_to_virtual_circuit = True, description = '', @@ -197,7 +197,7 @@ def make_instance(self, include_optional): ], metal_gateways = [ - equinix_metal.models.metal_gateway_lite.MetalGatewayLite( + equinix_metal_t0mk.models.metal_gateway_lite.MetalGatewayLite( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), gateway_address = '10.1.2.1/27', href = '', @@ -215,7 +215,7 @@ def make_instance(self, include_optional): tags = , type = 'static', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - virtual_network = equinix_metal.models.virtual_network.VirtualNetwork( + virtual_network = equinix_metal_t0mk.models.virtual_network.VirtualNetwork( assigned_to_virtual_circuit = True, description = '', href = '', diff --git a/equinix_metal/test/test_vrf_route_update_input.py b/equinix_metal/test/test_vrf_route_update_input.py index 9c0ab4de..2d532563 100644 --- a/equinix_metal/test/test_vrf_route_update_input.py +++ b/equinix_metal/test/test_vrf_route_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_route_update_input import VrfRouteUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_route_update_input import VrfRouteUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfRouteUpdateInput(unittest.TestCase): """VrfRouteUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfRouteUpdateInput` """ - model = equinix_metal.models.vrf_route_update_input.VrfRouteUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_route_update_input.VrfRouteUpdateInput() # noqa: E501 if include_optional : return VrfRouteUpdateInput( href = '', diff --git a/equinix_metal/test/test_vrf_update_input.py b/equinix_metal/test/test_vrf_update_input.py index 581614d5..c331f884 100644 --- a/equinix_metal/test/test_vrf_update_input.py +++ b/equinix_metal/test/test_vrf_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_update_input import VrfUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_update_input import VrfUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfUpdateInput(unittest.TestCase): """VrfUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfUpdateInput` """ - model = equinix_metal.models.vrf_update_input.VrfUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_update_input.VrfUpdateInput() # noqa: E501 if include_optional : return VrfUpdateInput( bgp_dynamic_neighbors_bfd_enabled = True, diff --git a/equinix_metal/test/test_vrf_virtual_circuit.py b/equinix_metal/test/test_vrf_virtual_circuit.py index 7ca51a04..557f3980 100644 --- a/equinix_metal/test/test_vrf_virtual_circuit.py +++ b/equinix_metal/test/test_vrf_virtual_circuit.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_virtual_circuit import VrfVirtualCircuit # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_virtual_circuit import VrfVirtualCircuit # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfVirtualCircuit(unittest.TestCase): """VrfVirtualCircuit unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfVirtualCircuit` """ - model = equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit() # noqa: E501 if include_optional : return VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), @@ -49,9 +49,9 @@ def make_instance(self, include_optional): name = '', nni_vlan = 56, peer_asn = 56, - port = equinix_metal.models.href.Href( + port = equinix_metal_t0mk.models.href.Href( href = '', ), - project = equinix_metal.models.href.Href( + project = equinix_metal_t0mk.models.href.Href( href = '', ), speed = 56, status = 'pending', @@ -61,22 +61,22 @@ def make_instance(self, include_optional): ], type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -100,19 +100,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -121,7 +121,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -129,7 +129,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -148,7 +148,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -165,7 +165,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, @@ -181,22 +181,22 @@ def make_instance(self, include_optional): ) else : return VrfVirtualCircuit( - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, bill = True, created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - created_by = equinix_metal.models.user.User( + created_by = equinix_metal_t0mk.models.user.User( avatar_thumb_url = '', avatar_url = '', created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), default_organization_id = '', default_project_id = '', email = '', emails = [ - equinix_metal.models.href.Href( + equinix_metal_t0mk.models.href.Href( href = '', ) ], first_name = '', @@ -220,19 +220,19 @@ def make_instance(self, include_optional): '' ], local_asn = 56, - metro = equinix_metal.models.metro.Metro( + metro = equinix_metal_t0mk.models.metro.Metro( code = '', country = '', href = '', id = '', name = '', ), name = '', - project = equinix_metal.models.project.Project( + project = equinix_metal_t0mk.models.project.Project( backend_transfer_enabled = True, - bgp_config = equinix_metal.models.href.Href( + bgp_config = equinix_metal_t0mk.models.href.Href( href = '', ), created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - customdata = equinix_metal.models.customdata.customdata(), + customdata = equinix_metal_t0mk.models.customdata.customdata(), devices = [ ], @@ -241,7 +241,7 @@ def make_instance(self, include_optional): invitations = [ ], - max_devices = equinix_metal.models.max_devices.max_devices(), + max_devices = equinix_metal_t0mk.models.max_devices.max_devices(), members = [ ], @@ -249,7 +249,7 @@ def make_instance(self, include_optional): ], name = '0', - network_status = equinix_metal.models.network_status.network_status(), + network_status = equinix_metal_t0mk.models.network_status.network_status(), organization = , payment_method = , ssh_keys = [ @@ -268,7 +268,7 @@ def make_instance(self, include_optional): ], updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), virtual_circuits = [ - equinix_metal.models.vrf_virtual_circuit.VrfVirtualCircuit( + equinix_metal_t0mk.models.vrf_virtual_circuit.VrfVirtualCircuit( created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), customer_ip = '12.0.0.2', description = '', @@ -285,7 +285,7 @@ def make_instance(self, include_optional): subnet = '12.0.0.0/30', type = 'vrf', updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - vrf = equinix_metal.models.vrf.Vrf( + vrf = equinix_metal_t0mk.models.vrf.Vrf( bgp_dynamic_neighbors_bfd_enabled = True, bgp_dynamic_neighbors_enabled = True, bgp_dynamic_neighbors_export_route_map = True, diff --git a/equinix_metal/test/test_vrf_virtual_circuit_create_input.py b/equinix_metal/test/test_vrf_virtual_circuit_create_input.py index c1d15068..99bfdbe4 100644 --- a/equinix_metal/test/test_vrf_virtual_circuit_create_input.py +++ b/equinix_metal/test/test_vrf_virtual_circuit_create_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_virtual_circuit_create_input import VrfVirtualCircuitCreateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_virtual_circuit_create_input import VrfVirtualCircuitCreateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfVirtualCircuitCreateInput(unittest.TestCase): """VrfVirtualCircuitCreateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfVirtualCircuitCreateInput` """ - model = equinix_metal.models.vrf_virtual_circuit_create_input.VrfVirtualCircuitCreateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_virtual_circuit_create_input.VrfVirtualCircuitCreateInput() # noqa: E501 if include_optional : return VrfVirtualCircuitCreateInput( customer_ip = '12.0.0.2', diff --git a/equinix_metal/test/test_vrf_virtual_circuit_update_input.py b/equinix_metal/test/test_vrf_virtual_circuit_update_input.py index 84d2633a..8d1d6989 100644 --- a/equinix_metal/test/test_vrf_virtual_circuit_update_input.py +++ b/equinix_metal/test/test_vrf_virtual_circuit_update_input.py @@ -16,9 +16,9 @@ import unittest import datetime -import equinix_metal -from equinix_metal.models.vrf_virtual_circuit_update_input import VrfVirtualCircuitUpdateInput # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.models.vrf_virtual_circuit_update_input import VrfVirtualCircuitUpdateInput # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVrfVirtualCircuitUpdateInput(unittest.TestCase): """VrfVirtualCircuitUpdateInput unit test stubs""" @@ -36,7 +36,7 @@ def make_instance(self, include_optional): optional params are included """ # uncomment below to create an instance of `VrfVirtualCircuitUpdateInput` """ - model = equinix_metal.models.vrf_virtual_circuit_update_input.VrfVirtualCircuitUpdateInput() # noqa: E501 + model = equinix_metal_t0mk.models.vrf_virtual_circuit_update_input.VrfVirtualCircuitUpdateInput() # noqa: E501 if include_optional : return VrfVirtualCircuitUpdateInput( customer_ip = '12.0.0.2', diff --git a/equinix_metal/test/test_vrfs_api.py b/equinix_metal/test/test_vrfs_api.py index 04ca68af..e439b0d6 100644 --- a/equinix_metal/test/test_vrfs_api.py +++ b/equinix_metal/test/test_vrfs_api.py @@ -15,16 +15,16 @@ import unittest -import equinix_metal -from equinix_metal.api.vrfs_api import VRFsApi # noqa: E501 -from equinix_metal.rest import ApiException +import equinix_metal_t0mk +from equinix_metal_t0mk.api.vrfs_api import VRFsApi # noqa: E501 +from equinix_metal_t0mk.rest import ApiException class TestVRFsApi(unittest.TestCase): """VRFsApi unit test stubs""" def setUp(self): - self.api = equinix_metal.api.vrfs_api.VRFsApi() # noqa: E501 + self.api = equinix_metal_t0mk.api.vrfs_api.VRFsApi() # noqa: E501 def tearDown(self): pass diff --git a/equinix_metal/tox.ini b/equinix_metal/tox.ini index 0a188ac5..2034308a 100644 --- a/equinix_metal/tox.ini +++ b/equinix_metal/tox.ini @@ -6,4 +6,4 @@ deps=-r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands= - pytest --cov=equinix_metal + pytest --cov=equinix_metal_t0mk diff --git a/version b/version new file mode 100644 index 00000000..a918a2aa --- /dev/null +++ b/version @@ -0,0 +1 @@ +0.6.0 From de0f0e6a4adb601bd58fc6ca349e39a6f8e994f1 Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Thu, 1 Feb 2024 15:37:53 +0100 Subject: [PATCH 02/12] ff --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d914cb25..3c611443 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,13 +1,13 @@ name: Do GitHub release and publish to PyPI on: - workflow_dispatch: + workflow_dispatch: null env: PACKAGE_DIR: equinix_metal DIST_DIR: equinix_metal/dist PYTHON_VERSION: 3.8 jobs: - build: + release: name: Build and publish package runs-on: ubuntu-latest From f18fb142fdcb498f0f6f9d8bcf0644747a4e81e3 Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Thu, 1 Feb 2024 16:16:33 +0100 Subject: [PATCH 03/12] fix --- .github/workflows/release.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c611443..fa5a1eb8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,18 +40,18 @@ jobs: packages-dir: ${{ env.DIST_DIR }} - name: Do GitHub release - uses: cycjimmy/semantic-release-action@v4 - with: - semantic_version: 19.0.5 - extra_plugins: | - @semantic-release/exec@6.0.3 - @semantic-release/git@10.0.0 - conventional-changelog-conventionalcommits@4.6.3 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GIT_AUTHOR_NAME: equinix-labs@auto-commit-workflow - GIT_AUTHOR_EMAIL: bot@equinix.noreply.github.com - GIT_COMMITTER_NAME: equinix-labs@auto-commit-workflow - GIT_COMMITTER_EMAIL: bot@equinix.noreply.github.com + uses: cycjimmy/semantic-release-action@v4 + with: + semantic_version: 19.0.5 + extra_plugins: | + @semantic-release/exec@6.0.3 + @semantic-release/git@10.0.0 + conventional-changelog-conventionalcommits@4.6.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GIT_AUTHOR_NAME: equinix-labs@auto-commit-workflow + GIT_AUTHOR_EMAIL: bot@equinix.noreply.github.com + GIT_COMMITTER_NAME: equinix-labs@auto-commit-workflow + GIT_COMMITTER_EMAIL: bot@equinix.noreply.github.com From 7e75d64a6ce189b0a3a4ffd035e78b7a94683bc9 Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Thu, 1 Feb 2024 16:26:20 +0100 Subject: [PATCH 04/12] fix --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa5a1eb8..95618187 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,11 @@ jobs: run: | python -m pip install --upgrade build + - name: Install dependencies + working-directory: ${{ env.PACKAGE_DIR }} + run: | + python -m pip install pyaml + - name: Build package working-directory: ${{ env.PACKAGE_DIR }} run: | From fb483a997edb1b78b3d39768151618cec0c67984 Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Fri, 2 Feb 2024 13:16:48 +0100 Subject: [PATCH 05/12] 0.7.0 --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index a918a2aa..faef31a4 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.6.0 +0.7.0 From 3e1219412e4d23e5235a4012fb20cf39d94d9e02 Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Fri, 2 Feb 2024 15:01:15 +0100 Subject: [PATCH 06/12] ff --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index faef31a4..a918a2aa 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.7.0 +0.6.0 From c6f2f5facea81850054c096a8331795b2fbbe41a Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Fri, 2 Feb 2024 15:31:07 +0100 Subject: [PATCH 07/12] test --- .github/workflows/release.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95618187..1074b689 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,18 +32,6 @@ jobs: run: | python -m pip install pyaml - - name: Build package - working-directory: ${{ env.PACKAGE_DIR }} - run: | - python -m build --sdist --wheel --outdir dist/ . - - - name: Upload to PyPi - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} - packages-dir: ${{ env.DIST_DIR }} - - name: Do GitHub release uses: cycjimmy/semantic-release-action@v4 with: @@ -59,4 +47,15 @@ jobs: GIT_COMMITTER_NAME: equinix-labs@auto-commit-workflow GIT_COMMITTER_EMAIL: bot@equinix.noreply.github.com + - name: Build package + working-directory: ${{ env.PACKAGE_DIR }} + run: | + python -m build --sdist --wheel --outdir dist/ . + + - name: Upload to PyPi + uses: pypa/gh-action-pypi-publish@release/v1 + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }} + packages-dir: ${{ env.DIST_DIR }} From 2deea7eb3272b8d87d0fa4f8891c4c3bc0c55e2f Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Fri, 2 Feb 2024 15:31:34 +0100 Subject: [PATCH 08/12] fix: added deltfile --- deltfile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 deltfile diff --git a/deltfile b/deltfile new file mode 100644 index 00000000..3ef0ce75 --- /dev/null +++ b/deltfile @@ -0,0 +1,5 @@ +fdsf +sdf +dsf +dsf +sdf From 47782a18a38ee640760cf99a1fd593ac17b5d2bc Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Fri, 2 Feb 2024 15:31:49 +0100 Subject: [PATCH 09/12] feat: something --- deltfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deltfile b/deltfile index 3ef0ce75..853992f8 100644 --- a/deltfile +++ b/deltfile @@ -1,4 +1,10 @@ -fdsf +fdsfSF +sf +dsf +sdf +dsf +s +f sdf dsf dsf From eb0de9bd450b06806ee97d3ab7e7d669fae02f05 Mon Sep 17 00:00:00 2001 From: "equinix-labs@auto-commit-workflow" Date: Fri, 2 Feb 2024 14:37:18 +0000 Subject: [PATCH 10/12] ci: regenerate code for version 1.0.0 triggered by --- equinix_metal/README.md | 2 +- equinix_metal/equinix_metal_t0mk/__init__.py | 2 +- equinix_metal/equinix_metal_t0mk/api_client.py | 2 +- equinix_metal/equinix_metal_t0mk/configuration.py | 2 +- equinix_metal/pyproject.toml | 2 +- equinix_metal/setup.py | 2 +- version | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/equinix_metal/README.md b/equinix_metal/README.md index 25d4de82..edde57b8 100644 --- a/equinix_metal/README.md +++ b/equinix_metal/README.md @@ -85,7 +85,7 @@ To exclude resources, and optimize response delivery, use the `exclude` query pa This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- Package version: 0.6.0 +- Package version: 1.0.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/equinix_metal/equinix_metal_t0mk/__init__.py b/equinix_metal/equinix_metal_t0mk/__init__.py index f7cbf42d..62fbde9d 100644 --- a/equinix_metal/equinix_metal_t0mk/__init__.py +++ b/equinix_metal/equinix_metal_t0mk/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "0.6.0" +__version__ = "1.0.0" # import apis into sdk package from equinix_metal_t0mk.api.authentication_api import AuthenticationApi diff --git a/equinix_metal/equinix_metal_t0mk/api_client.py b/equinix_metal/equinix_metal_t0mk/api_client.py index 0caf6d3b..e6143f33 100644 --- a/equinix_metal/equinix_metal_t0mk/api_client.py +++ b/equinix_metal/equinix_metal_t0mk/api_client.py @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'metal-python/0.6.0' + self.user_agent = 'metal-python/1.0.0' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/equinix_metal/equinix_metal_t0mk/configuration.py b/equinix_metal/equinix_metal_t0mk/configuration.py index 31fa0dfc..a09c869f 100644 --- a/equinix_metal/equinix_metal_t0mk/configuration.py +++ b/equinix_metal/equinix_metal_t0mk/configuration.py @@ -398,7 +398,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.0\n"\ - "SDK Package Version: 0.6.0".\ + "SDK Package Version: 1.0.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/equinix_metal/pyproject.toml b/equinix_metal/pyproject.toml index a877004e..fe76fefe 100644 --- a/equinix_metal/pyproject.toml +++ b/equinix_metal/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "equinix_metal_t0mk" -version = "0.6.0" +version = "1.0.0" description = "Metal API" authors = ["Equinix Metal API Team "] license = "Equinix Metal" diff --git a/equinix_metal/setup.py b/equinix_metal/setup.py index 23851c6b..df63c713 100644 --- a/equinix_metal/setup.py +++ b/equinix_metal/setup.py @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "equinix-metal-t0mk" -VERSION = "0.6.0" +VERSION = "1.0.0" PYTHON_REQUIRES = ">=3.7" REQUIRES = [ "urllib3 >= 1.25.3, < 2.1.0", diff --git a/version b/version index a918a2aa..afaf360d 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.6.0 +1.0.0 \ No newline at end of file From bafdc7e152d8b0ece683c988d9cf2ec6701096cb Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Thu, 8 Feb 2024 11:29:09 +0100 Subject: [PATCH 11/12] rm version --- version | 1 - 1 file changed, 1 deletion(-) delete mode 100644 version diff --git a/version b/version deleted file mode 100644 index afaf360d..00000000 --- a/version +++ /dev/null @@ -1 +0,0 @@ -1.0.0 \ No newline at end of file From b11c5c795168ecc32177f2bcec1dde78e3bd72dc Mon Sep 17 00:00:00 2001 From: Tomas Karasek Date: Thu, 8 Feb 2024 12:38:14 +0100 Subject: [PATCH 12/12] fix11 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 46fdeb69..3501aba7 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ VERSION_FILE=version PACKAGE_VERSION := $(shell cat ${VERSION_FILE}) SPEC_PATCHED_FILE=./metal_openapi.fixed.yaml + OPENAPI_CODEGEN_TAG=v7.0.0 OPENAPI_CODEGEN_IMAGE=openapitools/openapi-generator-cli:${OPENAPI_CODEGEN_TAG} CURRENT_UID := $(shell id -u)